From cb6b91785d6b219f118636e4fe950f6a187ab046 Mon Sep 17 00:00:00 2001 From: Hauke D Date: Tue, 14 Aug 2018 14:35:47 +0200 Subject: [PATCH] Documentation updates --- Changes.md | 1 + ToDo.md | 17 +++++++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Changes.md b/Changes.md index e48447e..85d64d1 100644 --- a/Changes.md +++ b/Changes.md @@ -10,6 +10,7 @@ Not yet released: v0.03-beta where JS objects were not being converted properly. - Added AJAX demo - Added WebPerl autoloading for script tags +- Various small changes and enhancements (not user-visible) - ... diff --git a/ToDo.md b/ToDo.md index 1b14e22..4a73f98 100644 --- a/ToDo.md +++ b/ToDo.md @@ -6,26 +6,27 @@ WebPerl TODOs 1. Documentation (Website) - - Using WebPerl - - the user must explicitly "unregister" anonymous Perl subs (or show alternatives) to prevent %CodeTable from growing too large - - the user shouldn't mess with the symbol table (delete subs, redefine them, etc.) - - - - Building WebPerl - - test out perl -Mlazy to install all the deps (and if it works well, document) + - Check if intra-page links work 2. Testing - Continue work on `WebPerl.t` - More tests for Unicode support (Perl/JS interface, Perl.eval(), plus Emscripten's virtual FS) - - I should focus on getting the tests running in the browser instead of node.js - - How to package tests? How does `make test` find&handle all the various modules' `t`s? + - Focus on getting the tests running in the browser instead of node.js + - How to best package tests? + - If possible, a separate bundle, so that it can be loaded optionally and we don't need to rebuild + - How does `make test` find and handle all the various modules' `t`s? - How to best disable individual tests that we know won't work? (qx etc.) - How to handle the many tests that call an external Perl? - patching t/test.pl's runperl() seems easiest at the moment, and we can use the iframe method from the IDE 3. Misc + - If Perl writes a file to `/mnt/idb`, is it automatically `sync`ed + or do we need to provide a function for that? - Test if a CDN would work + - Optimization: When `js()` is called in void context, we don't need to + return anything from JS (except errors) or set up GlueTable entries See also: "TODO" tags in code (use `findtodo.sh`)