136 Commits

Author SHA1 Message Date
Joao Paulo Magalhaes
d44a9b9d5f [chore] update c4core 2022-07-25 12:44:54 +02:00
Joao Paulo Magalhaes
ab3751e69a [fix] add missing #define for the include guard of the amalgamated header
re #246
2022-04-12 10:34:52 +01:00
Joao Paulo Magalhaes
3de2af60d5 [fix] char constants may be unsigned 2022-02-23 14:22:34 +01:00
Fargier Sylvain
f18b0b649e 🔧 gcc-4.8.5 support
- fix missing initializer for member [-Werror=missing-field-initializers]
 - fix ISO C++ forbids casting between pointer-to-function and pointer-to-object [-Werror=pedantic]
 - add gcc-4.8 tests
 - ubuntu has less patches than CentOS7 on gcc, some old bugs are not
   - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55971
   - https://sourceware.org/bugzilla/show_bug.cgi?id=25399
 - compat.cmake
   - disable some features with old compilers
2022-02-23 09:45:52 +01:00
Joao Paulo Magalhaes
ee2a174511 [chore] update c4core 2022-02-12 22:17:22 +00:00
Joao Paulo Magalhaes
1d5a6b7698 [refac] do not use snprintf for debug logging and error messaging -
refactored the message building for error reporting, and all the
parser error logging to use the new dump facilities in c4core.

This avoids any risk of stack overflow from long file-names or long
source lines, which could happen because it was using a local stack
buffer. The new dump facilities bypass this problem because they:

  - are safer for building the error message since the overflow checks
    are part of the dump API
  - are safer for debug logging because:
      - arguments are dumped separately, without needing to serialize
        the full phrase into staging buffer
      - only non-string arguments use the staging buffer, and one
        at a time
2022-02-09 02:30:03 +00:00
Joao Paulo Magalhaes
81d73215a0 [test] events: fix some edge cases 2022-01-27 00:41:58 +00:00
Joao Paulo Magalhaes
56d3a9407f [chore] re #193: update c4core: remove time files, update fastfloat 2022-01-21 02:31:55 +00:00
Joao Paulo Magalhaes
2707b25d79 [fix] null values now are pointing at the source buffer, but len==0 2022-01-16 23:10:24 +00:00
Joao Paulo Magalhaes
4c1203633d [fix] fix performance regression for plain+squoted+dquoted scalars
avoid calling a function if it is not needed. This regression was
introduced with the recent work in scalar filtering.
2022-01-16 01:02:38 +00:00
Joao Paulo Magalhaes
e005196e76 [doc] add documentation for location tracking 2022-01-05 17:22:15 +00:00
Joao Paulo Magalhaes
4d042274dc [impl] improve location of containers 2022-01-05 17:22:15 +00:00
Joao Paulo Magalhaes
91130dab95 [fix] re #185: compilation failure in Xcode 12 and earlier 2022-01-03 03:29:59 +00:00
Joao Paulo Magalhaes
8013655b33 [fix] avoid conflict in tests with older c4core from c4fs 2022-01-02 20:01:04 +00:00
Joao Paulo Magalhaes
dc111c8a6b [fix] re #184: accept infinity and nan as float values 2022-01-02 03:31:00 +00:00
Joao Paulo Magalhaes
a0096cf17b [fix] re #182: add missing exports, fix symbols 2021-12-29 18:44:36 +00:00
Joao Paulo Magalhaes
ee581f8570 v0.3.0 2021-12-28 17:18:42 +00:00
Joao Paulo Magalhaes
1558853a63 [impl] add amalgamation into single header file 2021-12-28 11:46:27 +00:00
Joao Paulo Magalhaes
d6e451b0ed [fix] re biojppm/c4core#53: add install exports 2021-12-26 22:59:29 +00:00
Joao Paulo Magalhaes
dd997ec08d [impl] update c4core: add support for compilation from emscripten
see biojppm/c4core#52
2021-12-25 12:11:52 +00:00
Joao Paulo Magalhaes
f7fae524b9 [fix] re biojppm/rapidyaml#173 : add project-prefixed alias targets
[ci skip]
2021-12-22 23:36:24 +00:00
Joao Paulo Magalhaes
ec2c13c250 [chore] update c4core 2021-12-09 10:07:02 +00:00
Joao Paulo Magalhaes
cf902dc49c [chore] update c4core 2021-12-04 16:42:16 +00:00
Joao Paulo Magalhaes
7d90b184e6 [chore] update c4core to 0.1.7 2021-11-04 14:19:29 +00:00
Moritz Baumann
d1410c392d [fix] update c4core to fix build with C4CORE_NO_FAST_FLOAT 2021-10-20 16:44:32 +02:00
Joao Paulo Magalhaes
d1ee564378 [chore] update c4core to 0.1.5 2021-09-26 19:53:48 +01:00
Joao Paulo Magalhaes
df51ad7bd4 [chore] update c4core to 0.1.4 2021-09-25 19:47:42 +01:00
Joao Paulo Magalhaes
7e473868c0 [chore] update c4core 2021-09-25 15:52:57 +01:00
Joao Paulo Magalhaes
a035301384 [fix] ensure that predefined CPU macros are forwarded to SWIG 2021-09-25 14:52:14 +01:00
Joao Paulo Magalhaes
aefb504ca9 [chore] update c4core 2021-09-25 02:16:47 +01:00
Joao Paulo Magalhaes
a15548b374 [impl] add callbacks tests 2021-07-19 15:08:34 +01:00
Joao Paulo Magalhaes
dedcf0f281 [chore] update c4core: fix error macros to be single-statement 2021-07-19 15:08:34 +01:00
Joao Paulo Magalhaes
9f0e0fb184 v0.2.0 2021-07-09 20:36:56 +01:00
Joao Paulo Magalhaes
7a491832e1 [chore] update c4core 2021-07-07 23:04:17 +01:00
Joao Paulo Magalhaes
b887efa7f0 [chore] update c4core to first release v0.1.0 2021-07-04 13:17:16 +01:00
Joao Paulo Magalhaes
b75dd186c7 [impl] quickstart: add formatting examples 2021-07-03 20:00:28 +01:00
Joao Paulo Magalhaes
68c4ed1a58 [wip] base64 sample 2021-07-03 03:01:55 +01:00
Joao Paulo Magalhaes
64595abdeb [chore] update c4core 2021-06-26 02:20:43 +01:00
Joao Paulo Magalhaes
92766c5a8c [chore] require gtest 1.11 2021-06-24 22:21:28 +01:00
Joao Paulo Magalhaes
eee7e155fa [chore] update c4core 2021-06-24 12:13:37 +01:00
Joao Paulo Magalhaes
207a6a178c [chore] update c4core 2021-01-14 22:41:31 +00:00
Joao Paulo Magalhaes
13b70df568 fix: update fastfloat
re #100
2020-12-26 15:30:00 +00:00
Joao Paulo Magalhaes
f8a5c8a509 fix: update ci build script 2020-12-06 00:57:21 +00:00
Joao Paulo Magalhaes
058e28f895 chg: minor changes in example tests 2020-12-05 22:42:07 +00:00
Joao Paulo Magalhaes
ebb31e8316 chg: update c4core:
* substr::contains() -> is_super()
* fmt API cleanup
* charconv cleanup
* documentation cleanup
2020-12-05 22:18:07 +00:00
Joao Paulo Magalhaes
74df6c39d0 re #40: use fast_float to read real numbers; sscanf no longer needed 2020-11-22 16:48:11 +00:00
Joao Paulo Magalhaes
c694863610 fix: usr: re #90 update c4core to avoid ignore of CMAKE_CXX_STANDARD 2020-11-22 10:29:11 +01:00
Joao Paulo Magalhaes
664fc3fe63 [chore] create and publish release in the github action 2020-11-02 23:00:45 +00:00
Joao Paulo Magalhaes
aa40845dcb [chore] update c4core
addresses #74 : deserialization of boolean strings
addresses #75 : cannot compile or install on MacOS
2020-10-25 19:24:36 +00:00
Joao Paulo Magalhaes
3699a632ab update c4core 2020-10-07 10:01:15 +01:00