Commit Graph

  • f4cfa40c2b Added a "standards mode" based on patches from mrdon. In standards mode, we do not search parent contexts for name bindings, nor do we support compound keys. Also added support for {{.}} which has the same semantics as {{this}}. I must have missed this when reading the Mustache spec. Michael Bayne 2011-02-28 11:52:40 -08:00
  • c271e7df12 I need to eradicate the word simply from my vocabulary. Michael Bayne 2010-11-02 14:29:31 -07:00
  • 0c3b9b9337 Make it more obvious how to download/add JMustache to your project. Michael Bayne 2010-11-02 14:28:34 -07:00
  • 2aa990d239 Fixed link to prebuilt jar. Michael Bayne 2010-11-02 14:26:59 -07:00
  • 773e1c5c6e Bah, let's just have the copyright in the LICENSE file. If that doesn't hold up in a court of law, oh well. My sense of aesthetics trumps all! Michael Bayne 2010-11-02 14:19:33 -07:00
  • 84691b7ac3 Let's have a license and a proper source header. (Thanks Dave!) Michael Bayne 2010-11-02 14:18:16 -07:00
  • 50cd98346b Missed a spot in Markdown conversion. Michael Bayne 2010-10-24 09:51:15 -07:00
  • 9282db1db0 Formatting tweaks. Michael Bayne 2010-10-24 09:49:27 -07:00
  • 97c106defd Update POM with Github URLs. Michael Bayne 2010-10-24 09:47:49 -07:00
  • c6eab5f1c5 Reference MustacheTest.java at its new location. Michael Bayne 2010-10-24 09:41:19 -07:00
  • 24d355bd03 A README with explanations. Michael Bayne 2010-10-24 09:40:09 -07:00
  • 7ec57412fa A patch from Charlie to provide line numbers when reporting variable related errors during execution. Michael Bayne 2010-10-23 16:35:38 +00:00
  • 4f5b3d772d [maven-release-plugin] prepare for next development iteration Michael Bayne 2010-10-22 06:07:52 +00:00
  • e3dcf153b6 [maven-release-plugin] prepare release jmustache-1.0 Michael Bayne 2010-10-22 06:07:19 +00:00
  • 00113a5a36 Added -index special variable. Michael Bayne 2010-10-22 05:29:31 +00:00
  • 0b9b01dab6 Fixed some bugs with newline skipping. Improved error handling when a tag is not closed properly and another tag follows it on the same line. Added support for -first and -last special variables. Fixed problem with resolving outermost component of a compound key in parent contexts. Michael Bayne 2010-10-22 05:02:09 +00:00
  • 5932123d79 Added support for nesting contexts, which allows us to resolve variables in parent contexts if they're not available in our current context. Michael Bayne 2010-10-22 01:06:06 +00:00
  • eb225b0b48 Added skipping of newlines immediately following section open and close tags. Michael Bayne 2010-10-21 23:19:10 +00:00
  • 0bef6a06e5 Added support for composite keys, e.g. foo.bar.baz, which extracts foo from the context, then extracts bar from that object, then extracts baz from that. Michael Bayne 2010-10-21 23:06:15 +00:00
  • 134a22bcfd Added support for "this" variable which refers to the context itself rather than a member of the context. Michael Bayne 2010-10-21 21:28:06 +00:00
  • 3bad793de9 Fixed dropped character on partial delimiter match. Michael Bayne 2010-10-21 21:13:09 +00:00
  • 5042cc69fa Let's escape HTML by default so as to avoid confusion. Michael Bayne 2010-10-21 21:03:52 +00:00
  • 5a5dd17296 Javadoc improvements. Michael Bayne 2010-10-21 20:57:38 +00:00
  • 89c1590ec1 No escaping of HTML by default. Added Compiler builder mechanism to specify default HTML escaping behavior. Possibly pattern overkill, but if we add any other options later, this will scale nicely. Michael Bayne 2010-10-21 20:49:53 +00:00
  • a7984b1594 Javadoc fixes, properly skip void methods. Michael Bayne 2010-10-21 19:42:38 +00:00
  • 3f42f0bb49 We're not yet version 1.0. Michael Bayne 2010-10-21 19:31:55 +00:00
  • 1e89b87cb0 Added support for obtaining variable values from fields and methods. Added a template-local variable fetching cache that avoids reresolving the source of a variable when it remains monomorphic (e.g. it's always a field of class Foo.class or always a method named getFoo(), etc.). Michael Bayne 2010-10-21 19:26:40 +00:00
  • 3eea40d1d4 Basic implementation and some tests. Michael Bayne 2010-10-21 18:08:07 +00:00
  • 5640791b4b Earnest beginnings. Michael Bayne 2010-10-21 06:32:37 +00:00
  • 12c7860e91 Initial directory structure. Michael Bayne 2010-10-21 06:14:49 +00:00