Commit Graph

463 Commits

Author SHA1 Message Date
pantor c2ad85db6d fix msvc conversion warning 2023-05-16 07:37:17 +02:00
pantor 6b7b9f1604 ci update envs 2023-05-16 07:31:09 +02:00
pantor c0f7d91723 fix extra ';' in single include 2023-05-14 12:11:51 +02:00
Yaraslau f7160c405a fix extra ‘;’ after in-class function definition (#268) 2023-05-14 12:10:42 +02:00
Martin Hierholzer 9e92a7c0fa fix: cmake does not find embedded json (#266) 2023-04-06 09:16:29 +02:00
Mai-Lapyst 3741c73ba7 Fixes the json exception when using "\\" inside a string; closes #257 (#264) 2023-03-19 20:00:22 +01:00
alex-kuzza-aaa 8e22d8e668 c++17 support starts from gcc8 (#260)
Co-authored-by: Alex Smith <alx.kuzza@gmail.com>
2023-02-07 19:59:02 +01:00
pantor 1709ee170e build documentation from latest release 2023-01-29 14:00:11 +01:00
pantor 02ffca28a5 modernize github pages deployment 2023-01-29 13:55:16 +01:00
pantor 7487559dd5 ci fix docs upload 2023-01-29 13:43:04 +01:00
pantor 2671c9bbed modernize ci and docs 2023-01-29 13:41:04 +01:00
pantor aeb43b44f1 update copyright year 2023-01-29 13:24:00 +01:00
pantor b2276440be bump to v3.4.0 v3.4.0 2023-01-29 13:10:03 +01:00
pantor ea47bb14dc improve meson build 2023-01-28 13:15:58 +01:00
Benedikt Bastin 44b23f2ce7 fix: Add option to disable tests and benchmarks with Meson (#216)
Co-authored-by: Benedikt Bastin <benedikt@benedikt-bastin.de>
2023-01-28 13:06:50 +01:00
Kubo Takehiro d462b9f829 Fix issue 246 (#247)
* Add `parse_expression` with one argument in preparation to fix #246.

* Fix issue #246: `func(n1 + n2, n3)` runs as if `func(n1, n2 + n3)`

* Simplify parser for an expression enclosed by parentheses.
2022-12-04 11:28:04 +01:00
pantor edc17798b3 Merge branch 'master' of github.com:pantor/inja 2022-07-10 13:46:36 +02:00
pantor 9f923b3677 add check for too few arguments in operator parser 2022-07-10 13:46:33 +02:00
Mihai Stan 17a59c0b78 fix warnings with VS2019, W4, c++20 (#230)
* fix warnings with VS2019, W4, c++20

* update single include

Co-authored-by: Berscheid <1885260+pantor@users.noreply.github.com>
Co-authored-by: pantor <lars.berscheid@online.de>
2022-06-20 12:06:28 +02:00
pantor 72f90122a2 fix tests 2022-06-20 11:44:50 +02:00
pantor 771e47f6da fix search directory for string templates 2022-06-20 11:43:45 +02:00
pantor 4526fb4007 remove const from static cast 2022-06-20 11:02:47 +02:00
pantor a9ce204b3b use json data types in renderer 2022-06-20 10:57:20 +02:00
pantor 59933e5e6f update dependencies 2022-06-20 10:39:56 +02:00
Berscheid 8ce4d8efaf Update CI (#244)
* test new ci

* update ci
2022-06-20 10:29:42 +02:00
pantor b2874f7816 fix ci 2022-05-30 07:34:22 +02:00
pantor defee6fdf8 make environment paths protected 2022-05-29 15:42:32 +02:00
Alexander Kraus 4566a20f9a Fixed exports for submodule builds with external nlohmann json parser. (#237) 2022-05-17 08:21:29 +02:00
pantor 88bd611257 fix tests 2021-11-17 12:15:35 +01:00
pantor b2c0dddafe improve lexing of numbers 2021-11-17 12:13:22 +01:00
pantor b41524f129 fix loop variables 2021-11-17 11:14:46 +01:00
pantor 79ded2ecf1 patch json throw in nlohmann/json 2021-11-17 10:48:14 +01:00
pantor 80005c19b5 disable implicit conversions in test 2021-11-17 10:42:45 +01:00
pantor ab6d006443 works with JSON_NO_IO 2021-11-17 10:39:53 +01:00
pantor dc3451173f revert to nlohmann json 3.9.1 2021-11-17 10:39:30 +01:00
pantor 54a2606885 bump to nlohmann/json 3.10.4 2021-11-17 10:11:20 +01:00
pantor eb04bfc7d3 clang-format 2021-11-12 08:35:56 +01:00
pantor 81cfa140e4 init LiteralNode with string view, code cleaning 2021-11-12 08:13:42 +01:00
pantor 2da715a12a parse_filename without json 2021-11-12 08:06:56 +01:00
pantor 623c267383 make_result and code cleaning 2021-11-11 22:05:21 +01:00
pantor 120691339d rename json -> data 2021-11-10 12:53:27 +01:00
pantor d38c07ec5b clang 5 minimum 2021-11-10 12:35:03 +01:00
pantor a067a8b06e make all tests C++17 2021-11-10 12:28:06 +01:00
pantor 098de66b4e inja_test C++17 2021-11-10 12:24:24 +01:00
pantor 173c1f5f7d fix C++17 2021-11-10 12:17:26 +01:00
pantor 2239e231bc remove string view polyfill 2021-11-10 12:14:54 +01:00
pantor fb55f2e5fe update minimum compiler 2021-11-10 12:03:54 +01:00
pantor 751d27d341 fix MIT license 2021-10-26 14:42:56 +02:00
pantor 635e1fb183 change readme example 2021-09-07 10:08:28 +02:00
pantor 5a4ac92137 update single include 2021-09-07 10:01:52 +02:00