-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new features & code modernization #19
base: master
Are you sure you want to change the base?
Commits on Apr 20, 2021
-
first iteration of code modernization
Robert Gaggl committedApr 20, 2021 Configuration menu - View commit details
-
Copy full SHA for d50c466 - Browse repository at this point
Copy the full SHA d50c466View commit details -
ringo's generator implementation appearently breaks the prototype cha…
…in, so use a custom cycle iterator instead
Robert Gaggl committedApr 20, 2021 Configuration menu - View commit details
-
Copy full SHA for 98e048c - Browse repository at this point
Copy the full SHA 98e048cView commit details -
use custom generator implemention, the former doesn't work in ringo v3.x
Robert Gaggl committedApr 20, 2021 Configuration menu - View commit details
-
Copy full SHA for 1caa746 - Browse repository at this point
Copy the full SHA 1caa746View commit details -
output the test case name if assertion fails
Robert Gaggl committedApr 20, 2021 Configuration menu - View commit details
-
Copy full SHA for 8d5e29b - Browse repository at this point
Copy the full SHA 8d5e29bView commit details -
next step in code modernization, tests pass
Robert Gaggl committedApr 20, 2021 Configuration menu - View commit details
-
Copy full SHA for 5b32508 - Browse repository at this point
Copy the full SHA 5b32508View commit details
Commits on Apr 21, 2021
-
replaced forEach callbacks with arrow functions (saves re-scoping)
Robert Gaggl committedApr 21, 2021 Configuration menu - View commit details
-
Copy full SHA for 26fa09c - Browse repository at this point
Copy the full SHA 26fa09cView commit details -
fixed some regressions, replaced "in" checks with hasOwnProperty
Robert Gaggl committedApr 21, 2021 Configuration menu - View commit details
-
Copy full SHA for 2bde25b - Browse repository at this point
Copy the full SHA 2bde25bView commit details -
Robert Gaggl committed
Apr 21, 2021 Configuration menu - View commit details
-
Copy full SHA for fd7f780 - Browse repository at this point
Copy the full SHA fd7f780View commit details -
Robert Gaggl committed
Apr 21, 2021 Configuration menu - View commit details
-
Copy full SHA for 9f86f4b - Browse repository at this point
Copy the full SHA 9f86f4bView commit details -
pass the environment to loader.loadTemplateSource
the environment is required for template compilation in caching loader
Robert Gaggl committedApr 21, 2021 Configuration menu - View commit details
-
Copy full SHA for 9b429a8 - Browse repository at this point
Copy the full SHA 9b429a8View commit details -
Robert Gaggl committed
Apr 21, 2021 Configuration menu - View commit details
-
Copy full SHA for af7b230 - Browse repository at this point
Copy the full SHA af7b230View commit details
Commits on Apr 26, 2021
-
used arrow functions in various places
Robert Gaggl committedApr 26, 2021 Configuration menu - View commit details
-
Copy full SHA for 2b5231f - Browse repository at this point
Copy the full SHA 2b5231fView commit details
Commits on Apr 27, 2021
-
Robert Gaggl committed
Apr 27, 2021 Configuration menu - View commit details
-
Copy full SHA for ad0ac94 - Browse repository at this point
Copy the full SHA ad0ac94View commit details -
Robert Gaggl committed
Apr 27, 2021 Configuration menu - View commit details
-
Copy full SHA for d872ce6 - Browse repository at this point
Copy the full SHA d872ce6View commit details -
use arrow functions where possible, fixed some minor warnings
Robert Gaggl committedApr 27, 2021 Configuration menu - View commit details
-
Copy full SHA for 107a0af - Browse repository at this point
Copy the full SHA 107a0afView commit details
Commits on Apr 30, 2021
-
use native string.startsWith instead of strings module version
Robert Gaggl committedApr 30, 2021 Configuration menu - View commit details
-
Copy full SHA for f94fe9e - Browse repository at this point
Copy the full SHA f94fe9eView commit details -
slightly simplified retrieving block content in createToken
Robert Gaggl committedApr 30, 2021 Configuration menu - View commit details
-
Copy full SHA for 0fe25e7 - Browse repository at this point
Copy the full SHA 0fe25e7View commit details
Commits on May 1, 2021
-
removed noop functions from parser
Robert Gaggl committedMay 1, 2021 2Configuration menu - View commit details
-
Copy full SHA for dc50416 - Browse repository at this point
Copy the full SHA dc50416View commit details -
Robert Gaggl committed
May 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 95604b6 - Browse repository at this point
Copy the full SHA 95604b6View commit details -
modified safeJoin to use java.nio.Path(s)
Robert Gaggl committedMay 1, 2021 Configuration menu - View commit details
-
Copy full SHA for dbce4a8 - Browse repository at this point
Copy the full SHA dbce4a8View commit details -
simplified filter expression regex and tuned parsing
Robert Gaggl committedMay 1, 2021 Configuration menu - View commit details
-
Copy full SHA for ad9e0b9 - Browse repository at this point
Copy the full SHA ad9e0b9View commit details
Commits on May 3, 2021
-
simplified FilterExpression.prototype.resolve()
Robert Gaggl committedMay 3, 2021 Configuration menu - View commit details
-
Copy full SHA for 004c02d - Browse repository at this point
Copy the full SHA 004c02dView commit details -
simplified regex used in splitContents
Robert Gaggl committedMay 3, 2021 Configuration menu - View commit details
-
Copy full SHA for 528b021 - Browse repository at this point
Copy the full SHA 528b021View commit details -
Robert Gaggl committed
May 3, 2021 Configuration menu - View commit details
-
Copy full SHA for 26272d5 - Browse repository at this point
Copy the full SHA 26272d5View commit details
Commits on May 5, 2021
-
allow relative paths in include and extends nodes
this required passing the origin to the non-debug parser too (i dunno why this wasn't done before).
Robert Gaggl committedMay 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 8dd214f - Browse repository at this point
Copy the full SHA 8dd214fView commit details
Commits on May 6, 2021
-
filesystem origin now contains the absolute file path
the loader directories stored in origin until this change weren't used anywhere, and are still accessible in origin.loader.templateDirs - but the absolute file path wasn't stored anywhere, but will be necessary for an upcoming change: skipping the template containing an extends tag from extending itself.
Robert Gaggl committedMay 6, 2021 Configuration menu - View commit details
-
Copy full SHA for 15858b9 - Browse repository at this point
Copy the full SHA 15858b9View commit details -
cache include templates in the toplevel render context
this avoids re-parsing included templates in for loops
Robert Gaggl committedMay 6, 2021 2Configuration menu - View commit details
-
Copy full SHA for f2c9a25 - Browse repository at this point
Copy the full SHA f2c9a25View commit details -
prevent circular and self extends
added a history array to context that contains the absolute paths of all _extending_ templates. loaders need to check against this array and exclude already used templates.
Robert Gaggl committedMay 6, 2021 Configuration menu - View commit details
-
Copy full SHA for ef7fcb2 - Browse repository at this point
Copy the full SHA ef7fcb2View commit details -
re-added parser noop-functions - these are implemented by DebugParser
Robert Gaggl committedMay 6, 2021 Configuration menu - View commit details
-
Copy full SHA for 25d4b09 - Browse repository at this point
Copy the full SHA 25d4b09View commit details
Commits on May 10, 2021
-
fixed regression introduced in 25d4b09
Robert Gaggl committedMay 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 77f505a - Browse repository at this point
Copy the full SHA 77f505aView commit details -
fixed token content replacements
using a regex instead of a string as first argument to replace, since using a string would only replace the first occurrence
Robert Gaggl committedMay 10, 2021 Configuration menu - View commit details
-
Copy full SHA for a144828 - Browse repository at this point
Copy the full SHA a144828View commit details -
enabled some more tests, these now pass too
Robert Gaggl committedMay 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 83abbbf - Browse repository at this point
Copy the full SHA 83abbbfView commit details -
simplified check if in verbatim node
Robert Gaggl committedMay 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 9c9be43 - Browse repository at this point
Copy the full SHA 9c9be43View commit details
Commits on Aug 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 090ebd2 - Browse repository at this point
Copy the full SHA 090ebd2View commit details