1
0
mirror of https://github.com/OlafvdSpek/ctemplate.git synced 2025-10-12 20:19:04 +08:00
Commit Graph

127 Commits

Author SHA1 Message Date
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
csilvers+ctemplate@google.com
9d273bd04c 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
0c906ac48b 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
7ca595b99d 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
fce2652a84 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
99173c6338 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
0b5d642d46 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
csilvers+ctemplate@google.com
c30005d910 A user reported a bug that configure should die when g++ isn't
installed, but wasn't:
http://code.google.com/p/google-perftools/issues/detail?id=217

This turned out to be a bug in autoconf:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357378

The workaround is simple: check for CXX before checking for
CC.  This means that if g++ is installed but gcc isn't, we
won't die (at cc-checking time), but I tested, and the
configure script dies later.  In any case, it seems unlikely
someone would have a c++ compiler installed but not a c
compiler.

This fixes the 4 opensource projects I work on that are
susceptible to this.

R=iant
DELTA=1437  (694 added, 694 deleted, 49 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=3221
2011-09-10 11:33:35 +00:00
csilvers
da5ccf2737 Tag for ctemplate 1.0 2011-08-26 21:21:21 +00:00
csilvers
688d580269 Fri Aug 26 13:10:46 2011 Google Inc. <opensource@google.com>
* ctemplate: version 1.0 release
	* No changes since 1.0rc2
2011-08-26 21:21:15 +00:00
csilvers
d74d5e889f Tag for ctemplate 1.0rc2 2011-07-30 03:00:10 +00:00
csilvers+ctemplate@google.com
6acca1cff2 Ready to release ctemplate 1.0rc2 :-/
* ctemplate: version 1.0rc2 release
* BUGFIX: removed #includes of non-installed headers from installed ones
* BUGFIX: Make compile-test test against an install

R=jad
DELTA=30  (26 added, 0 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=2822
2011-07-29 20:00:44 +00:00