12 Commits

Author SHA1 Message Date
Huang Rui
ca53920be2 Initialize missing fields in Lexer constructor (#304)
* Initialize missing fields in Lexer constructor

- Add tok_start and pos initialization to Lexer constructor
- Fix clang-tidy uninitialized fields warning

Signed-off-by: Huang Rui <vowstar@gmail.com>

* Fix argument type mismatch for load_file and load_json methods

- Use .string() method for path objects in benchmark file loading
- Apply same path conversion in test cases for consistency

Signed-off-by: Huang Rui <vowstar@gmail.com>

* Fix and cleanup mismatch error in windows test case

- Use .string() method for path objects in benchmark file loading
- Fix test case failure introduced in 65aa8a669d

Signed-off-by: Huang Rui <vowstar@gmail.com>

---------

Signed-off-by: Huang Rui <vowstar@gmail.com>
2025-04-13 11:16:44 +02:00
pantor
65aa8a669d move tests to std::filesystem::path 2025-03-31 23:22:36 +02:00
pantor
fddbfce5a3 fix benchmark includes, resolves #286 2024-10-05 10:03:29 +02:00
pantor
eb04bfc7d3 clang-format 2021-11-12 08:35:56 +01:00
pantor
12a2c9bbf2 unify json data type 2021-09-01 16:40:43 +02:00
pantor
a570837703 remove iostream header, update year 2020-08-08 11:14:49 +02:00
Lars Berscheid
59d1d6b577 update benchmark 2020-07-13 14:36:30 +02:00
pantor
d25a4de54f show location for render errors 2020-06-27 17:05:56 +02:00
pantor
5cc3e30b66 add clang-format 2020-06-16 18:53:41 +02:00
craigpepper
c85f9a3837 Performance improvement for large data (#146)
* move to json v3.8.0

* Use loop context instead of copying input data

Co-authored-by: Craig Pepper <craig.a.pepper@boeing.com>
2020-06-16 18:47:06 +02:00
pantor
258def7bf0 little bit more code style 2019-09-14 12:28:55 +02:00
pantor
699c207c8c Inja v2 (#67)
* inja2

* header only

* reduce dependencies

* code cleaning

* c++17

* use stdc++

* code cleaning

* infrastructure

* header only

* add infrastructure

* fix tests

* use minimum clang 6

* code cleaning, polyfill for c++11

* fix some file tests

* fix readme

* update appveyor

* fix polyfill and ci

* fix polyfill

* fix ci?

* test msvc __cplusplus

* add doxygen

* activate all tests

* code cleaning

* add coveralls, set default to dot notation

* add html test

* add doxygen comments

* test single_include file

* change build folder in appveyor

* correct make arguments in appveyor

* fix appveyor arguments
2018-12-23 16:13:15 +01:00