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
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
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
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
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
* 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
mingw fixes:
1) mingw needs an #include to have access to mkdir.
2) It needs to always #include port.h (this is an identical
bit of code, in configure.ac, that I have in other opensource
projects for mingw support.)
3) I moved some code from port.cc to port.h, so I didn't have
to add logic to link in port.cc for mingw.
Last change before new release! (*knock on wood*) Submitting
TBR so I can get the release out today. This isn't exactly a
trivial change, so I'm chary to submit TBR, but it's pretty
isolated to windows and mingw, and I've tested on those
platforms to make sure they compile and all tests pass.
DELTA=70 (37 added, 30 deleted, 3 changed)
Change on 2011-07-29 12:21:55-07:00 by csilvers
Small change to get tests passing on mingw -- using /tmp is
causing problems with our diffs, since sometimes it follows
the /tmp (built-in msys) symlink, and sometimes it doesn't.
R=jad
DELTA=10 (8 added, 0 deleted, 2 changed)
Revision created by MOE tool push_codebase.
MOE_MIGRATION=2821
http://code.google.com/p/google-ctemplate/issues/detail?id=79
:
The installed header files were #including header files that
were not installed. The build could not function as a result.
In one case I could resolve the problem by forward-declaring
(better anyway).
In another case, I just commented out all the relevant code for
the opensource version. The code was for thread-safety
analysis, which is a noop in opensource-land anyway, so it's
pretty safe (albeit ugly) to remove it.
R=ribrdb
DELTA=48 (22 added, 4 deleted, 22 changed)
Revision created by MOE tool push_codebase.
MOE_MIGRATION=2768
a good reason not to, and it's making it hard to
forward-declare Mutex otherwise.
Note that with this change, Mutex is not available from the
global namespace (which it was before due to the using
statement), which I think is a good thing.
R=ribrdb
DELTA=16 (1 added, 9 deleted, 6 changed)
Revision created by MOE tool push_codebase.
MOE_MIGRATION=2767
the main ctemplate source tree, it had access to files that
weren't going to be installed, when the whole point it to test
this can compile against the installed ctemplate.
To resolve this, I added a new rule that's executed at install
time (or the 'install' done during 'make distcheck'). I've
verified that this finds the problems with the current
ctemplate distribution that compile_test was supposed to
capture, and that are reported in
http://code.google.com/p/google-ctemplate/issues/detail?id=79
While in the area, add a few files that aren't in the dist
tarball but should be. MOE noticed these.
R=jad
DELTA=11 (10 added, 0 deleted, 1 changed)
Revision created by MOE tool push_codebase.
MOE_MIGRATION=2766
we silently continue in that case, but we run sh -e, which
causes the script to abort on error, even if the error is
inside backticks (``). So we make sure the dpkg command never
gives an error, even when it's not installed.
Reported in
http://code.google.com/p/google-ctemplate/issues/detail?id=79
to keep them in sync with the .config files they're generated from.
This means that you will need python to build ctemplate from source
via svn. We'll still include these files in the dist tarball, so
python isn't needed for that.
* 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)
* Fix xml encoding to handle form feed properly (ghurley)
* Better alignment in manual_constructor (nlewycky)
* Allow template specialization for Aligner (edk)
* Create ALIGN_BY_TYPE for manual_constructor (nlewycky)
* Add 5-param constructor to manual_constructor (herb)
* Remove a redundant c_str() call (qrczak)
* Add cstddef to get ptrdiff_t in global ns (csilvers)
* Add missing documentation to the tarball (csilvers)
* Replace 0x00-0x1F with space in xml_escape (alexvod)
* 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
* Optimize javascript template escaping (blount)
* Allow <span dir=...> inside :H=snippet modifiers (jdtang)
* Bug fix for ReloadAllIfChanged() with path (panicker)
* make_tpl_varnames can write multiple tpls to one file (jad)
* Add proper libarry version numbers for ctemplate libraries (csilvers)
* Replace tr with the more portable sed in tests (csilvers)
* Add a few escaping modifier equivalences (jad)
* BUGFIX: fix recounting to avoid accessing freed memory (panicker)
* Performance improvements for small_map (wonchun)
* PORTING: Avoid SIGBUS on sparc by better aligning memory (csilvers)
* Allow lowercase words in pragma contexts (csilvers)
* BUGFIX: Fix a C++ conformance bug involving const (chandlerc)
* Enable full word matching for tpl filenames (aneeshnaman)
* Use ascii_is*() to avoid langtype issues (csilvers)
* Fix 'class not properly dll-exported' warnings (csilvers)
* mv README.windows to windows-friendly README-windows.txt (csilvers)
* Update README.windows to emphasize $IncludeDir a bit more (csilvers)
* Add :I=html, :I=css image URL modifiers (jshneier)
* Document the new image URL modifier (dougy)
* Update NEWS file to be non-empty (csilvers)
* Speed up template modifiers (turnidge)
* PORTING: improve generate_fsm_test on windows (csilvers)
* PORTING: get ctmplate (mostly) working on mingw (csilvers)
* Changes to AC_RWLOCK to support the most recent autoconf (csilvers)
* 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
* 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
* 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
* 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)
* 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)
* 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)
* 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)
* 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
* 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)