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

157 Commits

Author SHA1 Message Date
Olaf van der Spek
88d87b6a72
Merge pull request #148 from mbrukman/patch-2
Simplify and cleanup Markdown formatting
2022-05-14 09:38:55 +02:00
Misha Brukman
aa8db3bc29
Simplify and cleanup Markdown formatting
Replace underlines with heading prefixes: it's cleaner.
Fix comment block format.
Add space between text and commands.
Minor spelling fix.
2022-05-13 19:53:51 -04:00
Olaf van der Spek
1c397b63e6
Merge pull request #143 from poelmanc/patch-1
C++20 / gcc10 fix: remove hint, removed typedef
2020-05-12 07:56:27 +02:00
Conrad Poelman
5aa5a00e74
C++20 / gcc10 fix: remove hint, removed typedef
C++17 deprecated, and C++20 fully removed, the std::allocator<T>::const_pointer typedef (https://en.cppreference.com/w/cpp/memory/allocator). So gcc10 fails to compile this file.

The selected fix was to completely remove the hint argument because (a) it was ignored anyway, and (b) std::allocator's allocate() function also chose to remove its hint argument in C++20 (https://en.cppreference.com/w/cpp/memory/allocator/allocate).
2020-05-11 21:55:00 -04:00
Olaf van der Spek
20933752f7
Merge pull request #141 from tinytrashbin/master
Fixed compilation error - string doesn't name a type
2020-04-13 11:48:36 +02:00
Mohit Saini
03ce09ed74
Fixed compilation error - string doesn't name a type
Replaced 'string' -> 'std::string' in template-converter.
2020-04-11 10:31:16 +05:30
Olaf van der Spek
00c18636c1 Update MSVC project files 2020-03-08 18:24:17 +01:00
Olaf van der Spek
25c570cdb5 Sun Mar 08 18:00:14 2020 Olaf van der Spek <olafvdspek@gmail.com>
* ctemplate: version 2.4 release
        * Switch to Python 3
2020-03-08 18:08:06 +01:00
Olaf van der Spek
9a1ef5f8a1
Merge pull request #139 from pinotree/switch-to-python3
Switch to Python 3
2020-01-22 19:59:14 +01:00
Pino Toscano
c0a7f4a9b5 Switch generate_fsm_test.sh to Python 3
Switch the non-default Python versions to Python 3 too, using Python 3.5
as minimum version (older Python 3 versions are already EOL).
2019-12-29 11:35:09 +01:00
Pino Toscano
ee11ba100a Switch Python scripts to Python 3
The scripts had already the majority of the work needed for Python 3,
and Python 2 is EOL since Jan 1st 2020, so just the scripts to Python 3.

The last change required is to fix the repr() on chars, due to the text
vs data changes in Python 3: repr() prints more Unicode representations
now, breaking the C output (e.g. \r now is lterally printed as such,
removing all the content in the line before that). As fix, use the
workaround proposed in PEP-3138 [1]. This fixes the generate_fsm_test_sh
test.

[1] https://www.python.org/dev/peps/pep-3138/#id10
2019-12-29 11:05:34 +01:00
Pino Toscano
c6002f3f52 Remove Python shebang from fsm_config.py
This is not a Python script but a Python module, so never run directly.
To avoid confusion on the Python version required, drop the shebang
entirely.
2019-12-29 11:03:59 +01:00
Olaf van der Spek
4b7e6c52dc Python 3 support 2017-08-27 17:31:42 +02:00
Olaf van der Spek
ce1b8fe617 Partial Python 3 support 2017-08-27 17:20:09 +02:00
Olaf van der Spek
91f5147cc7 Preprocess 2017-08-27 14:50:21 +02:00
Olaf van der Spek
44b7c5b918 Remove ac_cv_cxx_hash_map_class 2017-01-30 14:45:48 +01:00
Olaf van der Spek
02259b0928 Use unordered_map/set 2017-01-30 13:36:32 +01:00
Olaf van der Spek
298a9b45ac Update README.md 2017-01-30 12:55:11 +01:00
Olaf van der Spek
9003fbc9b2 Delete m4/namespaces.m4 2017-01-30 12:11:16 +01:00
Olaf van der Spek
75f4aa677c Delete m4/google_namespace.m4 and m4/stl_namespace.m4 2017-01-30 11:59:37 +01:00
Olaf van der Spek
9625c49465 Remove GOOGLE_NAMESPACE 2017-01-30 11:43:52 +01:00
Olaf van der Spek
65f080f2b4 Use <cstdint> 2017-01-30 11:26:45 +01:00
Olaf van der Spek
dfc73bec45 Use uint32_t and uint64_t 2017-01-30 11:05:09 +01:00
Olaf van der Spek
dce932e90e Merge branch 'SoapGentoo-master' 2017-01-29 11:04:10 +01:00
Olaf van der Spek
865d2ac046 Update autostuff 2017-01-29 11:03:37 +01:00
David Seifert
2e97ad7c33
Modernise Autotools build system
* Remove Autotools cruft (`ltmain.sh` and friends) and add to
  .gitignore
* No need to add `INSTALL` and `COPYING` to the `doc_DATA` targets.
  These files shouldn't be installed, and there is no need to add
  them to `doc_DATA`, as Automake will still add them to the tarball.
* Use `AX_PTHREAD`, which is the modern replacement for `ACX_PTHREAD`.
* Do not override `$(docdir)`, which is a user flag and shouldn't
  be modified according to GNU conventions.
* Install html files into `$(htmldir)` and not `$(docdir)`.
* Only build tests when they are requested, that is, test targets
  should be prefixed with `check_` and not `noinst_`.
* Copy the `.cc` file to `.c` instead of using `$(LN_S)` which breaks
  `VPATH` (out-of-source builds).
2017-01-27 23:29:15 +01:00
Olaf van der Spek
b7e2606d9c Unversion generated files 2017-01-25 14:54:33 +01:00
Olaf van der Spek
4b8476e7c2 MSVC supports std::unordered_map KeyEqual 2017-01-22 14:41:04 +01:00
Olaf van der Spek
1ba73fa183 MSVC supports mutable on structs 2017-01-22 14:39:02 +01:00
Olaf van der Spek
cd8dc4a228 Remove automatically generated files from version control 2017-01-04 12:04:04 +01:00
Olaf van der Spek
0d0901ec95 Remove GOOGLE_NAMESPACE 2017-01-04 11:57:36 +01:00
Olaf van der Spek
936d6937a8 Remove GOOGLE_NAMESPACE 2017-01-04 11:19:53 +01:00
Olaf van der Spek
431ff86a40 Remove automatically generated files from version control. 2017-01-04 09:58:23 +01:00
Olaf van der Spek
171838a0ac Disable EditAndContinue on Windows due to conflict with SafeESH 2017-01-04 09:43:23 +01:00
Olaf van der Spek
c9e35b0a80 Enable HAVE_UNORDERED_MAP on Windows 2017-01-04 09:41:33 +01:00
Olaf van der Spek
69d054da6b Upgrade project files to VS2015 2016-06-04 16:11:39 +02:00
Olaf van der Spek
03c821dd58 Remove auto-generated files 2016-06-04 16:06:54 +02:00
Olaf van der Spek
0f8696333b Merge branch 'master' of https://github.com/OlafvdSpek/ctemplate 2016-06-04 15:53:24 +02:00
Olaf van der Spek
266054e62a Delete .vcproj files 2016-06-04 15:50:42 +02:00
Olaf van der Spek
068cfb353b Merge pull request #121 from janstilow/master
Fix to build with python2 by default
2016-06-04 15:44:16 +02:00
Jan Stilow
01a5302032 Fix to build with python2 by default
I used python2.7 first, however after looking through issue #104 and the python2.patch I switched using python2 instead because python2 seems to be more generic.
2016-06-03 21:03:21 +02:00
Olaf van der Spek
d17dd5d192 Use std::unordered_map 2016-05-29 21:22:39 +02:00
Olaf van der Spek
057f80ddfc Update Windows files 2016-05-29 18:47:32 +02:00
Olaf van der Spek
b890ce2f55 Don't define snprintf and va_copy for VS2015. 2016-05-29 12:14:20 +02:00
Olaf van der Spek
f63420c39f Upgrade project files to VS2015. 2016-05-29 12:01:13 +02:00
Olaf van der Spek
cb94b41423 Merge pull request #118 from dragotin/master
New github friendly README file with links to the html docs.
2015-10-07 14:39:29 +02:00
Klaas Freitag
9cbb259817 New github friendly README file with links to the html docs. 2015-09-04 16:04:56 +02:00
olafvdspek
6742f6233d Enable subdir-objects 2015-02-15 14:07:34 +00:00
olafvdspek
17b91bdeb2 Remove HTMLPARSER_NAMESPACE 2015-02-15 13:47:56 +00:00
olafvdspek
e2ac58a0d2 Remove _START_GOOGLE_NAMESPACE_ 2015-02-15 00:45:50 +00:00