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

101 Commits

Author SHA1 Message Date
olafvdspek@gmail.com
b57b6c37da Autoreconf 2013-08-09 08:36:12 +00:00
olafvdspek@gmail.com
57ceae85ea Use find_ptr 2012-12-19 08:23:28 +00:00
olafvdspek@gmail.com
c758930da8 Use count instead of find 2012-12-19 08:07:45 +00:00
olafvdspek@gmail.com
df11656259 Use ULL instead of LLU 2012-12-19 07:55:13 +00:00
olafvdspek@gmail.com
92208e0adf make_tpl_varnames_h.cc 2012-12-19 07:49:16 +00:00
olafvdspek@gmail.com
d44f73fa42 Remove deprecated Template::SetEscapedValueAndShowSection() 2012-08-25 16:04:21 +00:00
olafvdspek@gmail.com
e664a3f8cf Remove Template::ReloadIfChanged() 2012-08-25 13:55:42 +00:00
olafvdspek@gmail.com
1baad884af Drop const from size_t 2012-05-31 14:09:19 +00:00
olafvdspek@gmail.com
8f667d33ae Rebuild Makefile.in 2012-05-21 22:13:53 +00:00
olafvdspek@gmail.com
8293b3e1c3 Add -no-undefined 2012-05-21 21:53:01 +00:00
olafvdspek@gmail.com
2250aaa9db Fix G++ 4.7 issues 2012-05-21 21:52:04 +00:00
olafvdspek@gmail.com
2fa3b2c937 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
2012-04-18 21:55:40 +00:00
olafvdspek@gmail.com
bc838ba7c3 Fix G++ 4.7 issues 2012-03-23 14:41:17 +00:00
olafvdspek@gmail.com
b44faf9896 Fix G++ 4.7 issues 2012-03-23 14:07:56 +00:00
olafvdspek@gmail.com
ac6fce4caf Thu Mar 22 00:29:09 2012 Olaf van der Spek <olafvdspek@gmail.com> 2012-03-21 23:35:25 +00:00
olafvdspek@gmail.com
9060230767 Don't dereference begin() when range is empty 2012-03-20 17:30:24 +00:00
olafvdspek@gmail.com
356d7dfac9 Add preprocessed headers for Windows 2012-03-19 23:55:11 +00:00
olafvdspek@gmail.com
8d74ba6858 Preprocess 2012-03-19 23:40:45 +00:00
olafvdspek@gmail.com
21c10669c1 Don't dereference end() 2012-03-19 23:40:29 +00:00
olafvdspek@gmail.com
39d196d348 Add operator[] to TemplateDictionary 2012-03-14 16:58:16 +00:00
olafvdspek@gmail.com
160f14cc82 Autoreconf 2012-03-14 14:51:49 +00:00
olafvdspek@gmail.com
eff1069f1b Enable AM_SILENT_RULES 2012-03-13 21:29:30 +00:00
olafvdspek@gmail.com
97a9457e81 Use find_ptr 2012-03-13 18:45:13 +00:00
olafvdspek@gmail.com
e56f3c1297 Autoreconf 2012-03-13 17:18:06 +00:00
olafvdspek@gmail.com
88ac9cb2d5 Add find_ptr 2012-03-13 16:26:17 +00:00
olafvdspek@gmail.com
1f0e145e15 Add find_ptr 2012-03-13 14:50:58 +00:00
olafvdspek@gmail.com
13219be215 Refactor TemplateDictionary 2012-03-13 14:18:31 +00:00
olafvdspek@gmail.com
9bfe775524 Remove StaticTemplateString::ToString() 2012-02-29 16:37:03 +00:00
olafvdspek@gmail.com
74d2631351 Rename google-ctemplate.sln to ctemplate.sln 2012-02-29 16:25:46 +00:00
olafvdspek@gmail.com
99a5f9dfc1 Use data() and size() 2012-02-25 17:36:12 +00:00
olafvdspek@gmail.com
6e5ac274c9 Use data() and size() 2012-02-25 17:14:52 +00:00
olafvdspek@gmail.com
60be3f041b Refactor Refactor template_string.h 2012-02-25 16:43:33 +00:00
olafvdspek@gmail.com
9f7baaec47 Add begin(), end(), data() and size() to TemplateString 2012-02-25 16:28:13 +00:00
olafvdspek@gmail.com
9c4e28e06f Refactor template_string.h 2012-02-14 14:52:29 +00:00
csilvers
57b0f4407c Fix an incorrect email address. 2012-02-02 22:44:16 +00:00
csilvers
6f7d6f6754 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
2012-01-25 01:28:24 +00:00
csilvers
48312e9ad3 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
2011-12-22 22:40:30 +00:00
csilvers+ctemplate@google.com
d400edea99 ctemplate defines a dummy version of LOG() in
util.h.  We need to override that version with a 'real' (but
simplistic) version in template.cc.  The other option would be
to have a 'real' definition everywhere, but that's not
necessary at this juncture.

R=jad
DELTA=2  (1 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=3980
2011-12-15 19:07:50 +00:00
csilvers+ctemplate@google.com
37db0db4ac Rid the Makefile of a mention of a file that no longer
exists.

R=jad
DELTA=1  (0 added, 1 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=3979
2011-12-15 19:07:00 +00:00
csilvers+ctemplate@google.com
d251759a40 Add a 0-parameter construct() overload for C++11-compatibility,
using the default constructor of T.

Tested:
blaze test //base/...
blaze test --compiler=gcc-4.6.x-cxx0x //base/...

R=csilvers
DELTA=3  (3 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=3961
2011-12-14 21:34:40 +00:00
csilvers+ctemplate@google.com
5dd3eb8ace Fixed the example code (example.cc) to match the one at
http://code.google.com/p/google-ctemplate/
c.f.
http://code.google.com/p/google-ctemplate/issues/detail?id=83


Revision created by MOE tool push_codebase.
MOE_MIGRATION=3960
2011-12-14 21:33:32 +00:00
csilvers+ctemplate@google.com
760d83b13a Change the behavior of template cache so that it reloads the template if
another template has been added with the same name earlier in the search path,
even if the original file is NOT updated(touched, updated, deleted etc).

Tested:
blaze test template:all

R=panicker,csilvers
DELTA=45  (6 added, 24 deleted, 15 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=3885
2011-12-01 17:54:59 +00:00
csilvers+ctemplate@google.com
ba3cc774b8 LOG(FATAL) << "message" is preferred over CHECK("message" == NULL).
See http://wiki/Main/LogFatalVsCheckFalse for details. While I'm here,
fix a couple of cases of CHECK("message" != NULL) and remove some dead
code that our compilers are now smart enough to not need.

R=falmeida
DELTA=5  (0 added, 2 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=3617
2011-11-05 11:34:19 +00:00
csilvers+ctemplate@google.com
17339f2f43 Add a default BSWAP32, at the request of
http://code.google.com/p/google-ctemplate/issues/detail?id=76
(needed for AIX)

R=jad
DELTA=19  (13 added, 6 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=3513
2011-10-26 11:35:23 +00:00
csilvers+ctemplate@google.com
ee80fa44b9 Move ALIGNED_CHAR_ARRAY from a separate file to ManualConstructor.
R=jrosenstock
DELTA=113  (13 added, 99 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=3440
2011-10-12 11:33:24 +00:00
csilvers+ctemplate@google.com
44c56df8eb Noop, it looks like.
Revision created by MOE tool push_codebase.
MOE_MIGRATION=3428
2011-10-07 21:30:27 +00:00
csilvers+ctemplate@google.com
f89df1dacd Noop, it looks like.
Revision created by MOE tool push_codebase.
MOE_MIGRATION=3427
2011-10-07 21:29:48 +00:00
csilvers+ctemplate@google.com
640ca19b46 Moving aligned_char_array into manual_constructor.
Revision created by MOE tool push_codebase.
MOE_MIGRATION=3426
2011-10-07 21:28:23 +00:00
csilvers+ctemplate@google.com
008949d389 Now that arena has moved from CHECK(0) to LOG(FATAL), change
the opensource shims to be able to compile that.  This is a
bit of a hack.

R=chandlerc
DELTA=5  (5 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=3313
2011-09-23 17:06:24 +00:00
csilvers+ctemplate@google.com
703d401961 Replace all uses of '[DQ]?CHECK(false)' with more idiomatic 'D?LOG(Q?FATAL)',
which properly indicates a no-return point in the CFG. This should have no
functional change.

R=csilvers
DELTA=16  (0 added, 0 deleted, 16 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=3300
2011-09-23 17:03:56 +00:00