Skip to content
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

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open

new features & code modernization #19

wants to merge 34 commits into from

Commits on Apr 20, 2021

  1. first iteration of code modernization

    Robert Gaggl committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    d50c466 View commit details
    Browse the repository at this point in the history
  2. ringo's generator implementation appearently breaks the prototype cha…

    …in, so use a custom cycle iterator instead
    Robert Gaggl committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    98e048c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1caa746 View commit details
    Browse the repository at this point in the history
  4. output the test case name if assertion fails

    Robert Gaggl committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    8d5e29b View commit details
    Browse the repository at this point in the history
  5. next step in code modernization, tests pass

    Robert Gaggl committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    5b32508 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2021

  1. Configuration menu
    Copy the full SHA
    26fa09c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2bde25b View commit details
    Browse the repository at this point in the history
  3. code modernization

    Robert Gaggl committed Apr 21, 2021
    Configuration menu
    Copy the full SHA
    fd7f780 View commit details
    Browse the repository at this point in the history
  4. fixed check

    Robert Gaggl committed Apr 21, 2021
    Configuration menu
    Copy the full SHA
    9f86f4b View commit details
    Browse the repository at this point in the history
  5. pass the environment to loader.loadTemplateSource

    the environment is required for template compilation in caching loader
    Robert Gaggl committed Apr 21, 2021
    Configuration menu
    Copy the full SHA
    9b429a8 View commit details
    Browse the repository at this point in the history
  6. use destructuring assignment

    Robert Gaggl committed Apr 21, 2021
    Configuration menu
    Copy the full SHA
    af7b230 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2021

  1. used arrow functions in various places

    Robert Gaggl committed Apr 26, 2021
    Configuration menu
    Copy the full SHA
    2b5231f View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2021

  1. fixed error template

    Robert Gaggl committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    ad0ac94 View commit details
    Browse the repository at this point in the history
  2. minor jsdoc fixes

    Robert Gaggl committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    d872ce6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    107a0af View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2021

  1. Configuration menu
    Copy the full SHA
    f94fe9e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0fe25e7 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2021

  1. removed noop functions from parser

    Robert Gaggl committed May 1, 2021
    2 Configuration menu
    Copy the full SHA
    dc50416 View commit details
    Browse the repository at this point in the history
  2. simplified loadTemplateSource

    Robert Gaggl committed May 1, 2021
    Configuration menu
    Copy the full SHA
    95604b6 View commit details
    Browse the repository at this point in the history
  3. modified safeJoin to use java.nio.Path(s)

    Robert Gaggl committed May 1, 2021
    Configuration menu
    Copy the full SHA
    dbce4a8 View commit details
    Browse the repository at this point in the history
  4. simplified filter expression regex and tuned parsing

    Robert Gaggl committed May 1, 2021
    Configuration menu
    Copy the full SHA
    ad9e0b9 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2021

  1. simplified FilterExpression.prototype.resolve()

    Robert Gaggl committed May 3, 2021
    Configuration menu
    Copy the full SHA
    004c02d View commit details
    Browse the repository at this point in the history
  2. simplified regex used in splitContents

    Robert Gaggl committed May 3, 2021
    Configuration menu
    Copy the full SHA
    528b021 View commit details
    Browse the repository at this point in the history
  3. removed unused split function

    Robert Gaggl committed May 3, 2021
    Configuration menu
    Copy the full SHA
    26272d5 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2021

  1. 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 committed May 5, 2021
    Configuration menu
    Copy the full SHA
    8dd214f View commit details
    Browse the repository at this point in the history

Commits on May 6, 2021

  1. 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 committed May 6, 2021
    Configuration menu
    Copy the full SHA
    15858b9 View commit details
    Browse the repository at this point in the history
  2. cache include templates in the toplevel render context

    this avoids re-parsing included templates in for loops
    Robert Gaggl committed May 6, 2021
    2 Configuration menu
    Copy the full SHA
    f2c9a25 View commit details
    Browse the repository at this point in the history
  3. 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 committed May 6, 2021
    Configuration menu
    Copy the full SHA
    ef7fcb2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    25d4b09 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2021

  1. fixed regression introduced in 25d4b09

    Robert Gaggl committed May 10, 2021
    Configuration menu
    Copy the full SHA
    77f505a View commit details
    Browse the repository at this point in the history
  2. 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 committed May 10, 2021
    Configuration menu
    Copy the full SHA
    a144828 View commit details
    Browse the repository at this point in the history
  3. enabled some more tests, these now pass too

    Robert Gaggl committed May 10, 2021
    Configuration menu
    Copy the full SHA
    83abbbf View commit details
    Browse the repository at this point in the history
  4. simplified check if in verbatim node

    Robert Gaggl committed May 10, 2021
    Configuration menu
    Copy the full SHA
    9c9be43 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2021

  1. Configuration menu
    Copy the full SHA
    090ebd2 View commit details
    Browse the repository at this point in the history