forked from OlafvdSpek/ctemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
287 lines (232 loc) · 13.2 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
Wed Mar 19 20:02:51 2014 Olaf van der Spek <olafvdspek@gmail.com>
* ctemplate: version 2.3 release
* Fixed some more C++11 issues.
* Removed deprecated Template::SetEscapedValueAndShowSection()
* and Template::ReloadIfChanged().
Wed Apr 18 23:36:08 2012 Olaf van der Spek <olafvdspek@gmail.com>
* ctemplate: version 2.2 release
* Fixed several issues reported by G++ 4.7
Thu Mar 22 00:29:09 2012 Olaf van der Spek <olafvdspek@gmail.com>
* ctemplate: version 2.1 release
* Added operator[] to TemplateDictionary
* Added begin(), end(), data() and size() to TemplateString
* Refactored code
Tue Jan 24 16:00:51 2012 Google Inc. <google-ctemplate@googlegroups.com>
* ctemplate: version 2.0 release
* Changed the 'official' ctemplate email in setup.py/etc
* Rewrote docs to refer to Ctemplate, not Google Template
* Renamed google-ctemplate.sln to ctemplate.sln
* Changed copyright text to reflect Google's relinquished ownership
Thu Dec 22 14:03:27 2011 Google Inc. <opensource@google.com>
* ctemplate: version 1.1 release
* Make reloads always prefer files earlier on the search patch (ssas)
* PORTING: Add a default BSWAP32, needed for AIX (csilvers)
* Die at configure-time when g++ isn't installed
Fri Aug 26 13:10:46 2011 Google Inc. <opensource@google.com>
* ctemplate: version 1.0 release
* No changes since 1.0rc2
Fri Jul 29 12:19:50 2011 Google Inc. <opensource@google.com>
* ctemplate: version 1.0rc2 release
* BUGFIX: removed #includes of non-installed headers from installed ones
* BUGFIX: Make compile-test test against an install
Fri Jul 22 15:31:05 2011 Google Inc. <opensource@google.com>
* ctemplate: version 1.0rc1 release
* BUGFIX: Dumpers were ignoring a tpl-string 'length' (csilvers)
* BUGFIX: Add a needed $(top_srcdir) to Makefile.am
* Replace 0x00-0x1F with space in xml_escape (alexvod)
* Fix xml encoding to handle form-feed properly (ghurley)
* DOCUMENTATION: Wer missing some docs in the tarball (csilvers)
* BUILD: Update acx_pthread.m4 for nostdlib (Kacper)
* BUGFIX: Make CreateSectionIterator check tpl-globals (williasr)
* PORTING: Fix solaris build by getting rid of PATH_MAX (csilvers)
Mon Jan 24 15:38:31 2011 Google Inc. <opensource@google.com>
* ctemplate: version 0.99 release
* Accept . as part of tag/attr names when autoescaping (falmeida)
* Optimize javascript template escaping (blount)
* Allow <span dir=...> inside :H=snippet modifiers (jdtang)
* make_tpl_varnames can write multiple tpls to one file (jad)
* Add a few escaping modifier equivalences (jad)
* BUGFIX: Fix ReloadAllIfChanged() with path (panicker)
* PORTING: Relace tr with more portable sed, in tests (csilvers)
* Updated from autoconf 2.64 to autoconf 2.65
Fri Sep 24 11:38:27 2010 Google Inc. <opensource@google.com>
* ctemplate: version 0.98 release
* Add new image URL modifier: :I=html, :I=css, etc (jshneier, dougy)
* Allow lowercase words in pragma contexts (csilvers)
* Enable full-word matching for tpl filenames (aneeshnaman)
* Performance improvements for small_map (wonchun)
* Avoid some compiler warnings (mac)
* Fix a c++ conformance bug involving const (chandlerc)
* BUGFIX: never reload string templates (panicker)
* BUGFIX: Fix refcounting to avoid accessing freed memory (panicker)
* PORTING: Avoid SIBGUS on sparc by aligning memory more (csilvers)
* PORTING: Use isascii_is*() to avoid langtype issues (csilvers)
* PORTING: Fix 'class not properly dll-epxorted' warnings (csilvers)
* PORTING: Rename README.windows to README_windows.txt (csilvers)
* Made NEWS file non-empty.
* Added ctemplate.pc + ctemplate_nothreads.pc for pkg-config (csilvers)
Mon Apr 19 15:55:23 2010 Google Inc. <opensource@google.com>
* ctemplate: version 0.97 release
* Major API revamp: +TemplateCache, -Template (panicker, csilvers)
* Major documentation revamp: howto -> guide + reference (csilvers)
* Protect auto-generated #include files with header guard (dnovillo)
* Allow ftp:// in ValidateUrl modifier (martone)
* Speed up template modifiers (turnidge)
* BUGFIX: Fix a dnagling pointer in template-modifiers (csilvers)
* PORTING: cygwin/mingw now compile (due to autoconf macros) (csilvers)
* PORTING: improve generate_fs_test on windows (csilvers)
Mon Oct 19 11:42:57 2009 Google Inc. <opensource@google.com>
* ctemplate: version 0.96 release
* Support multiple template root directories (williasr)
* Remove TemplateContext from TemplateToString (jad)
* Remove programmatic auto-escape code (jad)
* Speedup: use linker to detect immutable TemplateStrings (csilvers)
* Implement ShowTemplateGlobalSection (williasr)
* Change SetIntValue to accept longs (omoikane)
* Allow TemplateDictionary c'tor to take a TemplateString (csilvers)
* Make Mutex safer to run during global destructors (csilvers)
* BUILD: don't set TMPDIR when building; ar reads it (csilvers)
* BUILD: fix compiling of C (as opposed to C++) test file (csilvers)
* BUILD: remove bash-specific 'test x == y' from configure.ac (csilvers)
* BUGFIX: use AllocAligned when allocating non-char objects (csilvers)
* PORTING: remove obsolete MSVC Detect64BitPortabilityProblems (csilvers)
* Updated from autoconf 2.61 to 2.62
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
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
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)
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)
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)
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)
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
Thu Aug 16 21:42:55 2007 Google Inc. <opensource@google.com>
* 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)
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)
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 hygiene to avoid potential deadlock (csilvers)
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)
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)
Mon Jan 15 14:10:42 2007 Google Inc. <opensource@google.com>
* ctemplate: version 0.4 release
* Improve html-escaping by adding single-quote (bdangelo)
* Improve javascript-escaping by adding more characters too (smknappy)
* Add url-escaping, for url query parameters (dcoker)
* Add support for "pre" escaping, which preserves whitespace (dboswell)
* Typo fixes in documentation (csilvers)
* Expand() returns false if a template file failed to load (jmittleman)
Mon Aug 21 17:44:32 2006 Google Inc. <opensource@google.com>
* ctemplate: version 0.3 release
* New contrib/ directory entry: vi syntax highlighting (patlac)
* New contrib/ directory entry: emacs syntax highlighting (tonyg)
* Allow escape-modifiers to affect includes, not just vars (csilvers)
separating logic from presentation.
* Add JSON escape-functor (majewski)
Wed Jun 14 14:56:04 2006 Google Inc. <opensource@google.com>
* ctemplate: version 0.2 release
* API CHANGE: new typedefs (and types) for namelist functions (csilvers)
* carry annotation status through to child templates/sections (ehamon)
* Support registering templates after global construct time (njain)
* Add pthread-rwlock support for darwin (csilvers)
* SetTemplateGlobalValue(): new variable type with new scoping (ehamon)
* Export a nothreads version of the ctemplate library (csilvers)
* Got rid of scandir call, which should improve portability (csilvers)
Mon Mar 13 22:20:46 2006 Google Inc. <opensource@google.com>
* ctemplate: initial release:
The ctemplate package contains a library implementing a simple
but powerful template language for C++. It emphasizes