1
0
mirror of https://github.com/OlafvdSpek/ctemplate.git synced 2025-10-05 19:16:54 +08:00
Commit Graph

143 Commits

Author SHA1 Message Date
csilvers
786b26a268 Tag for ctemplate 0.95 2009-06-13 00:32:19 +00:00
csilvers
fcfb32dcf4 Fri Jun 12 08:13:35 2009 Google Inc. <opensource@google.com>
* ctemplate: version 0.95 release
	* Change default namespace from google to ctemplate
	* Rename include directory from google to ctemplate
	* Remove deprecated code: template_from_string.{h,cc}
	* Remove deprecated code: modifiers in TemplateDictionary class
	* Remove last arg from StringToTemplate; use autoescape pragma instead
	* Remove template_modifiers namespace
	* Provide a script to help convert namespaces and #includes
	* TemplateDictionary constructor takes TemplateString, not string
2009-06-13 00:30:27 +00:00
csilvers
22c754e555 Tag for ctemplate 0.94 2009-05-07 15:35:14 +00:00
csilvers
9a045ae812 Thu May 7 11:27:28 2009 Google Inc. <opensource@google.com>
* ctemplate: version 0.94 release
	* Use arena for all memory allocations: 3-4% speedup (csilvers)
	* Add the ability to hook the annotation system (ryoji)
	* Expose Expand(ExpandEmitter*,...) to allow custom emitters (csilvers)
	* Add RemoveStringFromTemplateCache (csilvers)
	* Add new :url_escape_with_arg=css modifier for urls in CSS (jad)
	* Support tr1's unordered_map in preference to hash_map (csilvers)
	* Use Murmurhash for all string hashing, rather than hash<> (csilvers)
	* Better parsing of meta tags and dangling < for auto-escape (falmeida)
	* Add AddXssSafeModifier (jad)
	* Allow disabling auto-escape for 'trusted' vars (jad)
	* BUGFIX: resolve possible memory-leaks in CopyDictionary (csilvers)
	* BUGFIX: fix bug when reloading with AUTOESCAPE pragma (jad)
	* Updated autoconf version to 2.61 and libtool version to 1.5.26
2009-05-07 15:35:04 +00:00
csilvers
49cd279ee4 Tag for ctemplate 0.93 2009-02-03 00:11:44 +00:00
csilvers
f2d3a1a376 Mon Feb 2 13:51:33 2009 Google Inc. <opensource@google.com>
* ctemplate: version 0.93 release
	* New AUTOESCAPE pragma: alternative to GetTemplateWithAutoescaping (jad)
	* Improve autoescape for CSS template and more (jad)
	* Replace RegisterStringAsTemplate with TemplateToString (csilvers)
	* Speed up template code by hashing and cacheing template strings (jcrim)
	* Add StaticTemplateString to make hashing/cacheing even faster
	* Autogenerate parser files from .config files (falmeida)
	* TESTING: new compile_test to test end-to-end compilation (csilvers)
	* Fix Mutex class to allow expanding template before main() (csilvers)
2009-02-03 00:11:03 +00:00
csilvers
0f32e1a960 Tag for ctemplate 0.92 2008-11-12 21:32:40 +00:00
csilvers
694b12caba Wed Nov 12 11:24:33 2008 Google Inc. <opensource@google.com>
* ctemplate: version 0.92 release
	* BUG FIX: affecting an included string-template with autoescaping (jad)
	* BUG FIX: long-name cmdline flag in diff_tpl_auto_escape (jad)
	* Do include-template indenting after applying modifiers (jad)
	* Add human-readable error messages to the html parser (falmeida)
	* Create an abstract base class for TemplateDictionary (williasr)
	* PORTING: Be more careful about Windows #defines and types (csilvers)
	* PORTING: Make unittest scripts more sh-compatible (falmeida)
	* Show missing includes in annotated output (ribrdb)
	* Improvements to javascript escaping (escape \f) (jad)
	* Improvements to json escaping (escape <>&) (jad)
	* Avoid raciness by preferring cached to new template-strings (csilvers)
2008-11-12 21:32:29 +00:00
csilvers
6f67ee04f6 Tag for ctemplate 0.91 2008-08-21 00:54:40 +00:00
csilvers
986831ab9b Tue Aug 19 16:20:27 2008 Google Inc. <opensource@google.com>
* ctemplate: version 0.91 release
	* NEW FEATURE: "separator" sections (csilvers)
	* NEW FEATURE: changing the markup separator via {{=XXX YYY=}} (csilvers)
	* NEW FEATURE: Add an Expand modifier to template dictionary (turnidge)
	* TemplateAsString class -> Template::RegisterStringAsTemplate (edwardcu)
	* TemplateModifier class -> PerExpandData class (csilvers)
	* Store more data in the arena, shrinking TemplateDictionary (csilvers)
	* Use TemplateString more widely internally; small speedup (adamk)
	* Lazily initialize hash-maps, saving time and space (csilvers)
	* Make template annotations more efficient (turnidge)
	* PORTABILITY: Fixed a testing script to run on solaris x86 (csilvers)
	* Fix namespaces to start with :: (csilvers)
	* Improve html parser in various ways (falmeida)
2008-08-21 00:54:27 +00:00
csilvers
33e6e05d03 Tag for ctemplate 0.90 2008-04-28 22:58:47 +00:00
csilvers
137fd86753 Sun Apr 27 15:06:15 2008 Google Inc. <opensource@google.com>
* ctemplate: version 0.90 release
	* MAJOR NEW FEATURE: New "auto-escape" mode (jad, falmeida, mughda)
	* New tool, diff_tpl_auto_escape, to convert templates to auto-escaping
	* Fixed make install to install test datafiles (csilvers)
	* Add a new modifier: javascript_escape_with_arg=number (jad)
	* Javascript modifier now escapes all js newlines (msamuel)
2008-04-28 22:58:33 +00:00
csilvers
865794bfb9 Tag for ctemplate 0.9 2008-01-25 20:28:04 +00:00
csilvers
896bd2ef9c Thu Jan 24 16:09:43 2008 Google Inc. <opensource@google.com>
* ctemplate: version 0.9 release
	* Bugfix: now we honor "preserve newlines in javacript" (ktl)
	* Fix indentation of included templates (csilvers)
	* Deprecate the SetEscaped* methods in favor of modifiers (csilvers)
	* Revamp the way template modifiers are registered (csilvers)
	* Change the psuedo-name of main section from __MAIN__ to __{{MAIN}}__
	* Fix types to quiet windows compiler (csilvers)
	* Allow infile and outfile for template-converter (ambrose)
	* Some doc fixes
2008-01-25 20:27:55 +00:00
csilvers
bb570c29d4 Tag for ctemplate 0.8 2007-08-22 22:30:49 +00:00
csilvers
1fd1c01fb9 * ctemplate: version 0.8 release
* Add the ability to dynamically add modifiers (ribrdb)
        * Support per-Expand() data for template modifiers (ribrdb)
        * New commandline flag -f for make_tpl_varnames_h (herbertc)
        * Windows: give debug dll and release dll different names (csilvers)
        * A few fixups of Windows includes, based on user reports (csilvers)
2007-08-22 21:59:12 +00:00
csilvers
22c514995e Tag for ctemplate 0.7 2007-07-09 17:01:59 +00:00
csilvers
ec56bdfef4 Tue Jul 3 12:46:59 2007 Google Inc. <opensource@google.com>
* ctemplate: version 0.7 release
	* Bugfix: another lock hygiene fix, for recursive includes (csilvers)
	* Minor type-hygiene improvements: size_t for int, etc. (csilvers)
	* Porting improvements: tests pass on OS X, FreeBSD, Solaris (csilvers)
	* Windows port! -- VS solution provided for all unittests (csilvers)
2007-07-09 17:01:41 +00:00
csilvers
98d0e8af39 Tag for ctemplate 0.6.1 2007-06-22 00:58:21 +00:00
csilvers
4d8512e358 Thu Jun 21 14:02:32 2007 Google Inc. <opensource@google.com>
* ctemplate: version 0.6.1 release
	* Bugfix: data corruption bug with >2 template modifiers (jmacgill)
	* Bugfix: syntax error in template-namelist: configure-bug (csilvers)
	* Bugfix: improve lock hygenie to avoid potential deadlock (csilvers)
2007-06-22 00:58:05 +00:00
csilvers
fa669e6a3f Tag for ctemplate 0.6 2007-06-11 19:33:54 +00:00
csilvers
24783507b9 Sat Jun 9 22:34:52 2007 Google Inc. <opensource@google.com>
* ctemplate: version 0.6 release
	* Use computed includes for hash_map/set: easier config (csilvers)
	* Added all used .m4 templates to the distribution (csilvers)
	* Beefed-up and revamped modifier code (csilvers)
	* New modifiers for url-escaping, attribute-cleansing, etc (ribrdb)
	* Annotations now include modifier information (csilvers)
	* Support embedded NULs in template names and values (csilvers)
2007-06-11 19:33:28 +00:00
csilvers
730a257008 Tag for ctemplate 0.5 2007-05-15 06:31:22 +00:00
csilvers
422d6f7443 Mon May 14 17:27:10 2007 Google Inc. <opensource@google.com>
* ctemplate: version 0.5 release
	* Add new MakeCopy() method to copy template dictionaries (csilvers)
	* Add JSON-escaping (mikepurvis)
	* Internal change that should ease thread-handling a bit (csilvers)
	* Fix url_query_escape to avoid stack overflow (csilvers)
2007-05-15 06:31:08 +00:00
csilvers
73dd30e487 docs/ directory is now called doc/, to keep consistent with the p4 tree 2007-03-21 23:25:48 +00:00
csilvers
655e5211ac Tag for ctemplate 0.4 2007-03-21 23:23:08 +00:00
csilvers
3c603bd981 ctemplate 0.4 2007-03-21 23:22:48 +00:00
csilvers
bc99017b0e Tag for ctemplate 0.3 2007-03-21 23:21:18 +00:00
csilvers
14d041d16d ctemplate 0.3 2007-03-21 23:20:57 +00:00
csilvers
187110dc1a Tag for ctemplate 0.2 2007-03-21 23:19:41 +00:00
csilvers
c279d677a1 ctemplate 0.2 2007-03-21 23:19:16 +00:00
csilvers
9f8313ff4d Tag for ctemplate 0.1 2007-03-21 23:14:28 +00:00
csilvers
77782fa61b ctemplate 0.1 2007-03-21 23:06:14 +00:00
trowbridge.jon
fc02f5cb82 Deleted wiki page. 2007-01-25 23:19:04 +00:00
trowbridge.jon
7330810ec6 Edited wiki page through web user interface. 2007-01-25 23:16:16 +00:00
trowbridge.jon
3d7c94fdcf Oops, I forgot the style sheet... 2007-01-25 23:10:15 +00:00
trowbridge.jon
bb460917a2 Set mime-types to text/html. 2007-01-25 23:08:20 +00:00
trowbridge.jon
1ca0c2d2b5 Edited wiki page through web user interface. 2007-01-25 23:06:38 +00:00
trowbridge.jon
fc7135f48f Edited wiki page through web user interface. 2007-01-25 23:06:18 +00:00
trowbridge.jon
e3b2abb66d Importing Ctemplate documentation. 2007-01-25 23:02:31 +00:00
trowbridge.jon
710c26421f Edited wiki page through web user interface. 2007-01-25 22:55:27 +00:00
trowbridge.jon
bf967d01fb Created wiki page through web user interface. 2007-01-25 22:54:08 +00:00
nobody
295df5e3c0 Initial directory structure. 2006-07-27 00:55:45 +00:00