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

138 Commits

Author SHA1 Message Date
olafvdspek@gmail.com
d2cd46bcd0 Use find_ptr 2012-12-19 08:23:28 +00:00
olafvdspek@gmail.com
2f56697ca6 Use count instead of find 2012-12-19 08:07:45 +00:00
olafvdspek@gmail.com
eecb4dd43e Use ULL instead of LLU 2012-12-19 07:55:13 +00:00
olafvdspek@gmail.com
3dd81d338f make_tpl_varnames_h.cc 2012-12-19 07:49:16 +00:00
olafvdspek@gmail.com
02be85d731 Remove deprecated Template::SetEscapedValueAndShowSection() 2012-08-25 16:04:21 +00:00
olafvdspek@gmail.com
4537ad8352 Remove Template::ReloadIfChanged() 2012-08-25 13:55:42 +00:00
olafvdspek@gmail.com
2e7fe6d50c Drop const from size_t 2012-05-31 14:09:19 +00:00
olafvdspek@gmail.com
a5139f6638 Rebuild Makefile.in 2012-05-21 22:13:53 +00:00
olafvdspek@gmail.com
90396155e3 Add -no-undefined 2012-05-21 21:53:01 +00:00
olafvdspek@gmail.com
52674e3fa6 Fix G++ 4.7 issues 2012-05-21 21:52:04 +00:00
olafvdspek@gmail.com
e731b811e8 Tag for ctemplate 2.2 2012-04-18 21:56:20 +00:00
olafvdspek@gmail.com
f2dd83ad5a 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
9a34e76229 Fix G++ 4.7 issues 2012-03-23 14:41:17 +00:00
olafvdspek@gmail.com
77362cfced Fix G++ 4.7 issues 2012-03-23 14:07:56 +00:00
olafvdspek@gmail.com
e39fab2278 Tag for ctemplate 2.1 2012-03-21 23:35:56 +00:00
olafvdspek@gmail.com
3a9fc75ace 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
f1944c73da Don't dereference begin() when range is empty 2012-03-20 17:30:24 +00:00
olafvdspek@gmail.com
bec0d85fe8 Add preprocessed headers for Windows 2012-03-19 23:55:11 +00:00
olafvdspek@gmail.com
1e78b01966 Preprocess 2012-03-19 23:40:45 +00:00
olafvdspek@gmail.com
7c24807bcc Don't dereference end() 2012-03-19 23:40:29 +00:00
olafvdspek@gmail.com
9f04771e9b Add operator[] to TemplateDictionary 2012-03-14 16:58:16 +00:00
olafvdspek@gmail.com
f4149b9db8 Autoreconf 2012-03-14 14:51:49 +00:00
olafvdspek@gmail.com
8a628ab7a6 Enable AM_SILENT_RULES 2012-03-13 21:29:30 +00:00
olafvdspek@gmail.com
468740f512 Use find_ptr 2012-03-13 18:45:13 +00:00
olafvdspek@gmail.com
922bdb31f2 Autoreconf 2012-03-13 17:18:06 +00:00
olafvdspek@gmail.com
be7debd247 Add find_ptr 2012-03-13 16:26:17 +00:00
olafvdspek@gmail.com
fef14ea3d1 Add find_ptr 2012-03-13 14:50:58 +00:00
olafvdspek@gmail.com
e9081de898 Refactor TemplateDictionary 2012-03-13 14:18:31 +00:00
olafvdspek@gmail.com
7eaa68a5e3 Remove StaticTemplateString::ToString() 2012-02-29 16:37:03 +00:00
olafvdspek@gmail.com
a2fdbe8e69 Rename google-ctemplate.sln to ctemplate.sln 2012-02-29 16:25:46 +00:00
olafvdspek@gmail.com
4498b78261 Use data() and size() 2012-02-25 17:36:12 +00:00
olafvdspek@gmail.com
384fba0729 Use data() and size() 2012-02-25 17:14:52 +00:00
olafvdspek@gmail.com
cc736c5183 Refactor Refactor template_string.h 2012-02-25 16:43:33 +00:00
olafvdspek@gmail.com
f3ff78444d Add begin(), end(), data() and size() to TemplateString 2012-02-25 16:28:13 +00:00
olafvdspek@gmail.com
8172266966 Refactor template_string.h 2012-02-14 14:52:29 +00:00
csilvers
f3ab0cbda9 Fix an incorrect email address. 2012-02-02 22:44:16 +00:00
csilvers
551796a858 Tag for ctemplate 2.0 2012-01-25 01:29:38 +00:00
csilvers
cfdec32792 Oops, committed this too soon. Will commit the real tag in a moment. 2012-01-25 01:29:22 +00:00
csilvers
8deeef9a2c 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
6929c58b0b Tag for ctemplate 2.0 2012-01-25 01:21:34 +00:00
csilvers
f68daa71f8 Tag for ctemplate 1.1 2011-12-22 22:40:46 +00:00
csilvers
fa7db32e93 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
752b26c3ea Get rid of empty directories, and a vsprojects test directory that is
no longer active.  These were just lying around svn for some reason.
2011-12-22 22:15:17 +00:00
csilvers+ctemplate@google.com
3f1076054a 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
deac110779 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
59d0e7543c 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
2b91a0538c 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
616d9f3c10 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
810f5bae1b 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
97a29a5a2c 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