Commit graph

  • dac1f31616 add test Gered 2014-03-05 18:26:20 -0500
  • 852bd519c0 add 'dump_table' function Gered 2014-03-05 18:26:12 -0500
  • 8f47565e0a update standard function names to be more consistent with the others Gered 2014-03-05 18:14:30 -0500
  • 2a22d77a12 Update README.md Gered King 2014-03-04 22:58:39 -0500
  • 9f7f838a4b Update README.md Gered King 2014-03-04 22:58:11 -0500
  • 43401abcf3 update README.md Gered 2014-03-04 22:54:43 -0500
  • bdaed33842 no sense in continually needing to update both README.md files... Gered 2014-03-04 22:43:13 -0500
  • 1f9354cdb0 update README.md Gered 2014-03-04 22:38:03 -0500
  • d9c079451d Merge branch 'master' into java6 Gered 2014-03-04 19:00:23 -0500
  • f431c88696 update README.md Gered 2014-03-04 19:00:08 -0500
  • 9400b70bdc Merge branch 'master' into java6 Gered 2014-03-04 16:56:44 -0500
  • 17caf40f2a bump version Gered 2014-03-04 16:55:36 -0500
  • 8d6eba99b0 update namespace doc comment Gered 2014-03-04 16:46:00 -0500
  • d4ec61b306 add more type hints Gered 2014-03-04 16:42:44 -0500
  • 3cca389e8b formatting Gered 2014-03-04 14:42:52 -0500
  • 0624425e61 add tests for template function aliases Gered 2014-03-04 14:41:46 -0500
  • fdcd0d74d3 add alias for "blankIfNull" Gered 2014-03-04 14:37:48 -0500
  • 5f54d25c41 Merge branch 'master' into java6 Gered 2014-03-04 14:33:46 -0500
  • 1595d54041 update version Gered 2014-03-04 14:28:39 -0500
  • c3d1f15af4 add more standard function tests Gered 2014-03-04 14:27:45 -0500
  • 70bc766fa7 move template function tests into a separate namespace. add std fn tests Gered 2014-03-04 14:00:13 -0500
  • 559936b839 add no-alias arg overload for add-function!. update some doc comments Gered 2014-03-04 13:59:23 -0500
  • a7e6b70ea4 standard function now defined in a map which can be easily reloaded Gered 2014-03-04 13:25:58 -0500
  • f71272a8a5 typo Gered 2014-03-04 12:42:38 -0500
  • 8041c4cae3 pprint isn't really a 'core' function i guess, so we should have a :use Gered 2014-03-04 12:14:10 -0500
  • 880dd02e91 add standard functions (those not already provided by jtwig) Gered 2014-03-04 12:11:53 -0500
  • bd6b5962cb add support for template function aliases Gered 2014-03-04 12:10:43 -0500
  • f879a59b72 get rid of debug println Gered 2014-03-04 10:54:14 -0500
  • 1e46b1f207 allow redefining template functions. wrap exceptions in FunctionException Gered 2014-03-04 10:53:23 -0500
  • 6128447121 move code to manage twig template functions into separate namespace Gered 2014-03-04 08:40:26 -0500
  • 117e7cb079 don't actually need the sonatype repository listed for this now Gered 2014-03-03 13:51:10 -0500
  • 6216266abc update project.clj with specifics for the java6 compatible version Gered 2014-03-03 13:47:52 -0500
  • 7532d61008 update to jtwig 2.1.1 Gered 2014-03-03 09:38:52 -0500
  • 4a2f236876 java6 compatible dependency Gered 2014-03-03 09:38:14 -0500
  • c11475d112 change function name Gered 2014-03-02 15:47:50 -0500
  • 0bf32bdd67 add comments to document the options. add missing option toggle function Gered 2014-03-02 15:42:00 -0500
  • 050cb114f4 rename option keyword Gered 2014-03-02 15:32:17 -0500
  • 826fdb3832 implement support for the new :skip-file-modification-check option Gered 2014-03-02 15:30:49 -0500
  • aaced50b76 add option to skip file modification date checks if it is cached already Gered 2014-03-02 14:58:22 -0500
  • 22ea7b35ab remove debug println Gered 2014-03-02 14:43:15 -0500
  • a5878fab54 always clear the cache when toggling it on/off Gered 2014-03-02 14:35:18 -0500
  • 428adddb65 update a comment Gered 2014-03-02 14:33:16 -0500
  • e1b53036ed add toggle control to turn template caching on/off Gered 2014-03-02 14:28:39 -0500
  • c64a826a12 add options atom Gered 2014-03-02 14:28:24 -0500
  • 2fd58cb392 add function to reset the compiled template cache Gered 2014-03-02 14:17:43 -0500
  • e423a658b3 rename cache related functions to better indicate they have side-effects Gered 2014-03-02 14:14:47 -0500
  • 7b949c176f update get-compiled-template to use caching instead of always compiling Gered 2014-03-02 13:54:45 -0500
  • d38be15c27 add function to return cached compiled templates or caching a new one Gered 2014-03-02 13:53:38 -0500
  • 4fad49fa3f add helper function to test if a file is newer then a given timestamp Gered 2014-03-02 13:52:30 -0500
  • 6427dc19bc add helper functions we'll need for file modification date/time testing Gered 2014-03-02 13:52:05 -0500
  • 5bf4dcaf98 some type hints Gered 2014-03-02 13:04:44 -0500
  • eba793d31e update doc comment for render function to indicate it doesn't use caching Gered 2014-03-02 13:02:04 -0500
  • 128a84dfcb update render-* functions to use compiled template objects Gered 2014-03-02 13:00:26 -0500
  • 65109bccc5 add helper functions for compiling a template from a string or file Gered 2014-03-02 12:59:27 -0500
  • feefe82a30 add get-compiled-template function Gered 2014-03-02 12:47:49 -0500
  • 0ad83ccb51 add compiled templates atom Gered 2014-03-02 12:39:07 -0500
  • 0f450b36b3 split up JtwigModelMap creation from JtwigContext creation Gered 2014-03-02 11:14:24 -0500
  • cfa047ad18 nitpicky cleanup ftw Gered 2014-03-02 11:13:54 -0500
  • ab8c748916 ns comment Gered 2014-03-02 10:48:35 -0500
  • 47fb37733b use doall to force full evaluation of java collections when converting Gered 2014-03-02 10:46:25 -0500
  • 56d966429d todo comments regarding testing hashmap values Gered 2014-03-02 10:36:20 -0500
  • 12d72afa5a update tests Gered 2014-03-02 10:34:29 -0500
  • 512fcfa31c perform proper clojure/java conversions on function args / return value Gered 2014-03-02 10:34:16 -0500
  • f2a864b2e1 to be consistent, we should be converting keys this way here too Gered 2014-03-02 10:21:11 -0500
  • ce93336731 ns comment Gered 2014-03-02 10:17:42 -0500
  • 3770f16ebd minor reorganizing Gered 2014-03-02 10:16:57 -0500
  • b010bda2d1 add tests for clojure-to-java conversions Gered 2014-03-02 10:14:57 -0500
  • 7d4465fe52 add clojure-to-java conversions Gered 2014-03-02 09:59:23 -0500
  • 384c3926ee change the method name Gered 2014-03-02 09:26:13 -0500
  • b3fb3d6e58 add tests for java-to-clojure conversions Gered 2014-03-02 09:19:23 -0500
  • 762bc94046 add java-to-clojure conversions Gered 2014-03-02 09:08:29 -0500
  • 4bd38636b5 remove unused require Gered 2014-03-02 07:52:41 -0500
  • 8efdee0319 update function tests Gered 2014-03-02 07:52:06 -0500
  • 8ff0d555c6 split up deftwigfn so bulk of logic is inside a separate function Gered 2014-03-02 07:51:31 -0500
  • b6bffefb1d lots of custom template function related tests Gered 2014-03-01 19:55:02 -0500
  • b02142ab47 change visiblity/name of the fn to check if a template fn has been added Gered 2014-03-01 17:58:36 -0500
  • 15c230f0ad add functions to allow resetting of the jtwig function repository Gered 2014-03-01 17:49:27 -0500
  • b892b82221 move jtwig context related option handling to make-context Gered 2014-03-01 16:48:18 -0500
  • 7bb21bbeef add doc comments and minor cleanup Gered 2014-03-01 16:35:30 -0500
  • 746cce94f0 pass in our JTwig functions repo object in to all new context objects Gered 2014-03-01 16:13:01 -0500
  • 8baf4e6045 add macro for defining custom JTwig functions Gered 2014-03-01 16:12:14 -0500
  • ad57995af2 add helper function to check if a twig function has already been defined Gered 2014-03-01 15:37:25 -0500
  • a124170760 add shared jtwig function repository object Gered 2014-03-01 15:36:28 -0500
  • 9cd705f858 add tests for rendering from a file Gered 2014-03-01 14:43:40 -0500
  • a44b176139 add explicit check to see if the template file exists Gered 2014-03-01 14:43:11 -0500
  • bef3836026 oops, forgot that this was changed back to how it was before Gered 2014-03-01 14:28:34 -0500
  • 451e3c739e add support for rendering templates from files Gered 2014-03-01 14:25:01 -0500
  • d24ecdca24 add some initial tests Gered 2014-03-01 13:01:34 -0500
  • 52ddbefe1d change options parameter Gered 2014-03-01 11:32:14 -0500
  • abc0d93722 add simple render function Gered 2014-03-01 10:32:21 -0500
  • 45c4417e41 initial commit, complete with "hello world" ... woohoo! Gered 2014-03-01 09:08:20 -0500