Permalink
Commits on Jan 20, 2017
  1. (README: Some addition to IDE setup)

    ddekany committed Jan 20, 2017
  2. Fixed some minor oversights related to logging.

    ddekany committed Jan 20, 2017
  3. (README: IDE setup Save action)

    ddekany committed Jan 20, 2017
  4. Build: "ide-dependencies" depends on "jar"

    ddekany committed Jan 20, 2017
Commits on Jan 19, 2017
  1. (Missing copyright header)

    ddekany committed Jan 19, 2017
  2. (Organize imports)

    ddekany committed Jan 19, 2017
  3. Further cleanup in NodeModel static methods. Improved NodeModel and N…

    …odeListModel JavaDoc.
    ddekany committed Jan 19, 2017
Commits on Jan 18, 2017
  1. (Organize imports)

    ddekany committed Jan 18, 2017
  2. Improvements related to NodeModel static convenience methods:

    - Bug fixed: NodeModel.mergeAdjacentText(Node) didn't merged all adjacent text nodes, only pairs of adjacent text nodes. (Luckily this method is hardly ever used, and the more often used NodeModel.simplify(Node) was working correctly.)
    - Performance improvements in the static utility methods of NodeModel: simplify(Node), mergeAdjacentText(Node), removeComments(Node), removePIs(Node).
    - Added warning to the JavaDoc of NodeModel.parse methods to inform users about the possibility of XML External Entity (XXE) attacks if the source XML (not a template) comes from untrusted source. This is just an XML fact (i.e., that in an XML you can have external entities and they can be exploited), and has no much to do with FreeMarker. Also note that FreeMarker itself never calls NodeModel.parse; these are merely convenience methods that some applications directly call themselves to create a NodeModel from an XML file. As this method encapsulates the call to the platform XML parser, we thought it's better to point this risk out.
    ddekany committed Jan 15, 2017
Commits on Jan 15, 2017
  1. FREEMARKER-27: Move some entries from the NOTICE to the LICENSE

    Also changed the NOTICES files to refer to the project as "Apache FreeMarker (incubating)" instead of just "Apache FreeMarker"
    ddekany committed Jan 15, 2017
Commits on Jan 14, 2017
  1. FREEMARKER-17: Removed web-... DTD-s, to simplify license/notices. We…

    … operate with dummy 0 length DTD-s instead; it should work, as the real DTD-s don't define any default attributes or entities.
    ddekany committed Jan 14, 2017
Commits on Jan 13, 2017
  1. Rather don't cache the sibling nodes in NodeModel; they are usually o…

    …nly traversed once
    ddekany committed Jan 13, 2017
Commits on Jan 12, 2017
  1. Manual: Documented node sibling related features

    ddekany committed Jan 12, 2017
  2. Added some more @@..._sibling_element tests.

    ddekany committed Jan 12, 2017
  3. Moved DOM sibling tests to the proper package

    ddekany committed Jan 12, 2017
  4. - Changed @@..._significant to @@..._sibling_element. This differs fr…

    …om @@..._significant in that if the sibling is not an element, it won't return it at all (because the sibling is not an element, there's simply no sibling element)
    
    - ElementModel.isSignificantNode fixes
    ddekany committed Jan 12, 2017
Commits on Jan 10, 2017
  1. Better error messages when someone tries to get an invalid @@... subv…

    …ariable of an XML DOM node (now it's not issued by the XPath implementation, which just sees it as a syntactical error). Some optimizations and cleanups regarding the matching of special keys (@@... and some more) in freemarker.ext.dom.
    ddekany committed Jan 10, 2017
Commits on Jan 9, 2017
Commits on Jan 8, 2017
  1. Adjustments to PR #9 "Sibling related changes"

    ddekany committed Jan 8, 2017
  2. Merge commit 'refs/pull/9/head' of https://github.com/apache/incubato…

    …r-freemarker into 2.3-gae
    
    Summary: Added TemplateNodeModelEx to support getting the previous and next sibling node. Added ?previous_sibling and ?next_sibling. Added @@previous_significant and @@next_significant to XML element nodes.
    ddekany committed Jan 8, 2017
Commits on Jan 6, 2017
  1. Merge commit 'refs/pull/17/head' of https://github.com/apache/incubat…

    …or-freemarker into 2.3-gae
    
    Updated copyright year to 2017
    ddekany committed Jan 6, 2017
  2. closes apache/incubator-freemarker#12: Can't modernize this API in 2.…

    …3.x due to backward compatibility constarints. Closed PR without merging.
    ddekany committed Jan 6, 2017
  3. closes apache/incubator-freemarker#14: I wasn't sure if the contribut…

    …or has a CLA at Apache, and as it's only a one word typo fix in the Manual, I have interpreted the PR as a bug report and fixed the typo myself instead of merging. Vinicius, thanks for reporting this!
    ddekany committed Jan 6, 2017
  4. Fixed typo in the Manual

    ddekany committed Jan 6, 2017
  5. closes apache/incubator-freemarker#10: I guess this PR was meant to b…

    …e a question. Closed PR without merging.
    ddekany committed Jan 6, 2017
  6. closes apache/incubator-freemarker#3: .gitignore was extended since t…

    …hen, and it seems to cover these cases
    ddekany committed Jan 6, 2017
  7. Adjusted gitignore to match some more files

    ddekany committed Jan 6, 2017
  8. closes apache/incubator-freemarker#11 *Closing certainly accidental P…

    …R without merging*
    ddekany committed Jan 6, 2017
  9. Added trademark notes to the copyright header.

    ddekany committed Jan 6, 2017
Commits on Jan 5, 2017
  1. (Addition to editors-readme.txt)

    ddekany committed Jan 5, 2017
Commits on Jan 4, 2017
  1. Added META-INF/DO-NOT-EDIT.txt to prevent confusion (some may tries t…

    …o edit METAINF.MF here). Also, excluded the legal files.
    ddekany committed Jan 4, 2017