Commit graph

91 commits

Author SHA1 Message Date
Gered dac1f31616 add test 2014-03-05 18:26:20 -05:00
Gered 852bd519c0 add 'dump_table' function 2014-03-05 18:26:12 -05:00
Gered 8f47565e0a update standard function names to be more consistent with the others 2014-03-05 18:14:30 -05:00
Gered King 2a22d77a12 Update README.md 2014-03-04 22:58:39 -05:00
Gered King 9f7f838a4b Update README.md 2014-03-04 22:58:11 -05:00
Gered 43401abcf3 update README.md 2014-03-04 22:54:43 -05:00
Gered bdaed33842 no sense in continually needing to update both README.md files... 2014-03-04 22:43:13 -05:00
Gered 1f9354cdb0 update README.md 2014-03-04 22:38:03 -05:00
Gered d9c079451d Merge branch 'master' into java6 2014-03-04 19:00:23 -05:00
Gered f431c88696 update README.md 2014-03-04 19:00:08 -05:00
Gered 9400b70bdc Merge branch 'master' into java6
Conflicts:
	project.clj
2014-03-04 16:56:44 -05:00
Gered 17caf40f2a bump version 2014-03-04 16:55:36 -05:00
Gered 8d6eba99b0 update namespace doc comment 2014-03-04 16:46:00 -05:00
Gered d4ec61b306 add more type hints 2014-03-04 16:42:44 -05:00
Gered 3cca389e8b formatting 2014-03-04 14:42:52 -05:00
Gered 0624425e61 add tests for template function aliases 2014-03-04 14:41:46 -05:00
Gered fdcd0d74d3 add alias for "blankIfNull" 2014-03-04 14:37:48 -05:00
Gered 5f54d25c41 Merge branch 'master' into java6
Conflicts:
	project.clj
2014-03-04 14:33:46 -05:00
Gered 1595d54041 update version 2014-03-04 14:28:39 -05:00
Gered c3d1f15af4 add more standard function tests 2014-03-04 14:27:45 -05:00
Gered 70bc766fa7 move template function tests into a separate namespace. add std fn tests 2014-03-04 14:00:13 -05:00
Gered 559936b839 add no-alias arg overload for add-function!. update some doc comments 2014-03-04 13:59:23 -05:00
Gered a7e6b70ea4 standard function now defined in a map which can be easily reloaded 2014-03-04 13:25:58 -05:00
Gered f71272a8a5 typo 2014-03-04 12:42:38 -05:00
Gered 8041c4cae3 pprint isn't really a 'core' function i guess, so we should have a :use
tests failed to run, complaining about pprint being undefined until this
was added anyway
2014-03-04 12:14:10 -05:00
Gered 880dd02e91 add standard functions (those not already provided by jtwig) 2014-03-04 12:11:53 -05:00
Gered bd6b5962cb add support for template function aliases 2014-03-04 12:10:43 -05:00
Gered f879a59b72 get rid of debug println 2014-03-04 10:54:14 -05:00
Gered 1e46b1f207 allow redefining template functions. wrap exceptions in FunctionException 2014-03-04 10:53:23 -05:00
Gered 6128447121 move code to manage twig template functions into separate namespace 2014-03-04 08:40:26 -05:00
Gered 117e7cb079 don't actually need the sonatype repository listed for this now 2014-03-03 13:51:10 -05:00
Gered 6216266abc update project.clj with specifics for the java6 compatible version 2014-03-03 13:47:52 -05:00
Gered 7532d61008 update to jtwig 2.1.1 2014-03-03 09:38:52 -05:00
Gered 4a2f236876 java6 compatible dependency 2014-03-03 09:38:14 -05:00
Gered c11475d112 change function name 2014-03-02 15:47:50 -05:00
Gered 0bf32bdd67 add comments to document the options. add missing option toggle function 2014-03-02 15:42:00 -05:00
Gered 050cb114f4 rename option keyword 2014-03-02 15:32:17 -05:00
Gered 826fdb3832 implement support for the new :skip-file-modification-check option 2014-03-02 15:30:49 -05:00
Gered aaced50b76 add option to skip file modification date checks if it is cached already 2014-03-02 14:58:22 -05:00
Gered 22ea7b35ab remove debug println 2014-03-02 14:43:15 -05:00
Gered a5878fab54 always clear the cache when toggling it on/off 2014-03-02 14:35:18 -05:00
Gered 428adddb65 update a comment 2014-03-02 14:33:16 -05:00
Gered e1b53036ed add toggle control to turn template caching on/off 2014-03-02 14:28:39 -05:00
Gered c64a826a12 add options atom 2014-03-02 14:28:24 -05:00
Gered 2fd58cb392 add function to reset the compiled template cache 2014-03-02 14:17:43 -05:00
Gered e423a658b3 rename cache related functions to better indicate they have side-effects 2014-03-02 14:14:47 -05:00
Gered 7b949c176f update get-compiled-template to use caching instead of always compiling 2014-03-02 13:54:45 -05:00
Gered d38be15c27 add function to return cached compiled templates or caching a new one 2014-03-02 13:53:38 -05:00
Gered 4fad49fa3f add helper function to test if a file is newer then a given timestamp 2014-03-02 13:52:30 -05:00
Gered 6427dc19bc add helper functions we'll need for file modification date/time testing 2014-03-02 13:52:05 -05:00