Commit Graph

  • 8ce84460fd Merge changes from master master rexy712 2022-06-22 16:32:41 -07:00
  • 25d7c6c0fc Update to newer rexylib rexy712 2022-06-22 16:30:34 -07:00
  • a017b589cb Update to new rexylb rexy712 2022-06-19 13:37:21 -07:00
  • 69fca74d3c Update to C++20 rexy712 2022-05-24 17:32:46 -07:00
  • d0473cd136 Fix pkg-config files rexy712 2022-05-23 18:16:28 -07:00
  • 4581f8da8d Update CMake to use pkg-config to find librexy rexy712 2022-05-23 17:55:36 -07:00
  • 67469cc575 Update version v1.1.0 rexy712 2022-05-22 15:17:49 -07:00
  • 01f48a394d Update rexylib rexy712 2022-05-21 12:36:26 -07:00
  • 5c261ed7ed Update to new librexy rexy712 2022-05-21 09:58:26 -07:00
  • a3ea13fc03 Update to newer rexylib rexy712 2022-03-20 14:17:04 -07:00
  • 0d9cebedc0 Remove broken rjp::cast and rjp::convert. Added const iterator access to object and array rexy712 2022-03-19 10:37:57 -07:00
  • f763438c47 Add object and array size queries to rjp++ rexy712 2021-04-11 14:51:54 -07:00
  • cceb4eda7a Change shared library SOVERSION rexy712 2021-04-04 09:30:16 -07:00
  • 47da1d454d #include cleanups rexy712 2021-04-04 09:08:51 -07:00
  • 451e6f2710 Update version v1.0.0 rexy712 2021-01-03 10:15:52 -08:00
  • d2af423057 Work with rexylib after small string optimization rexy712 2020-08-03 17:39:27 -07:00
  • d1a7c3cf9c changed all rexy::string_base and rexy::static_strings to templated types rexy712 2020-08-01 01:29:46 -07:00
  • 0d226f3148 Update to work with new librexy allocators rexy712 2020-07-28 09:08:05 -07:00
  • e77d20cae4 Add _c API functions to allow custom allocation/deallocation functions rexy712 2020-07-20 03:16:21 -07:00
  • bf098ac96a Add escape functionality to rjp++ rexy712 2020-07-19 08:48:10 -07:00
  • ad2138ba5d Allow rjp++ assignment of values containing nullptr. Makes user interface flow nicer rexy712 2020-05-16 15:14:14 -07:00
  • 924558c8c9 Merge branch 'master' of ssh://rexy712.chickenkiller.com:1995/var/git/repos/rexy712/rjp rexy712 2020-05-16 13:47:47 -07:00
  • 2cbc47a6bf Fix rjp.hpp not including parse.hpp rexy712 2020-05-16 13:47:41 -07:00
  • 8a6b323fec Remove explicit constructors from rjp++. Might regret this later rexy712 2020-05-02 14:05:24 -07:00
  • 034917177b Fix rjp++ not being able to be built against rexy712 2020-04-11 07:10:11 -07:00
  • bb62727333 Fix CMakeLists.txt files to define the project before including GNUInstallDirs rexy712 2020-04-09 15:19:28 -07:00
  • ecb3222605 Update API doc rexy712 2020-04-09 14:53:18 -07:00
  • df95db7882 Change RJP_PARSE_NONE to RJP_PARSE_NO_EXT to better clarify its purpose rexy712 2020-04-09 14:53:05 -07:00
  • 6813cfc9ea Update TODO rexy712 2020-04-09 13:25:49 -07:00
  • 92704ae8f0 Add parse error handling to rjp++ rexy712 2020-04-09 13:06:53 -07:00
  • d76252d473 Fix const correctness of error to string rexy712 2020-04-09 13:03:29 -07:00
  • a309b9e772 Fix clang warnings rexy712 2020-04-09 03:12:37 -07:00
  • 0b32905cb8 Add to todo rexy712 2020-04-08 16:44:01 -07:00
  • d7e8c5ccbb Change error output to be in the hands of the library user instead of the library rexy712 2020-04-08 16:20:18 -07:00
  • 1b649fb582 Cleanup macro checks in rjp.h rexy712 2020-04-07 13:07:14 -07:00
  • a64e0e86ee Add license disclaimer to rjp++ files rexy712 2020-04-07 12:43:48 -07:00
  • 44b4bd8b19 Add middleman functions to prevent needing to also link rjp when linking against rjp++ rexy712 2020-04-07 12:21:59 -07:00
  • 662f24ef9a Add null check in member search as suggested by atlas moon rexy712 2020-04-06 17:46:41 -07:00
  • 040e5a5df9 Add output test cases for strings in rjp and rjp++ rexy712 2020-04-06 17:11:37 -07:00
  • 95b5b2cb83 Remove some uses of sprintf to improve speed a tiny bit rexy712 2020-04-06 16:55:44 -07:00
  • fd09eb3b20 Make static analyzer happy rexy712 2020-04-06 15:09:49 -07:00
  • 7b643ff5c6 Separate rjp format flags into multiple for slightly more control over output formatting rexy712 2020-04-06 12:35:47 -07:00
  • e6950db87c Disallow changing member key to empty string rexy712 2020-04-06 11:07:07 -07:00
  • 7395f41ccc Fix missing NULL check in rjp object key setting. Fix allowing empty key in object member addition rexy712 2020-04-06 06:43:46 -07:00
  • 16bb20a09f Add test cases for empty string values rexy712 2020-04-05 10:50:00 -07:00
  • e708952c05 Allow empty string values. Disallow empty key strings rexy712 2020-04-05 10:47:12 -07:00
  • 06cfc1d0b6 Add default dispatch handling for generic case of 'const rjp::value&'. Will cause compilation error if return type is not void rexy712 2020-03-27 21:28:05 -07:00
  • 4bf41e8b42 Add dispatch test for rjp++ rexy712 2020-03-27 14:59:58 -07:00
  • 5bebbe1d33 Added rjp++ dispatcher and proxy type for get operations. Makes it easier to make generic programs around. rexy712 2020-03-27 12:40:37 -07:00
  • ee0a1d48da Add rjp::cast specialization for rvalue To type. Acts as a std::move equivalent rexy712 2020-03-26 19:40:01 -07:00
  • ed6e15db6e Update rjp++ libflags to work with new template layout rexy712 2020-03-26 19:22:45 -07:00
  • 295c27029b Rearrange some rjp++ files. Also realized that subobject return does not qualify for nrvo, so that's a problem. rexy712 2020-03-26 18:38:01 -07:00
  • 7121f8a26e Fix uninitialized value access rexy712 2020-03-26 18:23:11 -07:00
  • ccfb2a91ec Add rjp++ tests rexy712 2020-03-26 16:20:55 -07:00
  • f03495756f Turn off c++ build by default until librexy is released rexy712 2020-03-26 13:15:09 -07:00
  • e82e469356 Add makefile to examples rexy712 2020-03-26 13:12:35 -07:00
  • 23dc0814a5 Removed comments in rjp.h. Moved API documentation to doc/api rexy712 2020-03-26 12:49:05 -07:00
  • 01b014f88e Null key check r0nk 2020-03-26 12:47:11 -05:00
  • 50137406e0 Fix incorrect comments in rjp.h rexy712 2020-03-26 09:14:42 -07:00
  • 79f0430d2c Fix parse example rexy712 2020-03-26 09:12:57 -07:00
  • c42ee430c9 Add 2 basic examples rexy712 2020-03-26 09:09:00 -07:00
  • 4c94e11ff3 Decided to change rjp_set_member and related functions to default to allocation and copy since i kept getting them mixed up rexy712 2020-03-26 08:56:06 -07:00
  • 44fb59f602 Add ordered/unordered object conversion tests rexy712 2020-03-26 08:13:35 -07:00
  • a4d1a98a0e Reworked rjp++ element/member addition rexy712 2020-03-24 16:34:07 -07:00
  • 86de4d2bb3 Add testing targets to cmake. Improve output test rexy712 2020-03-24 14:53:02 -07:00
  • 437d6f7bd0 Add additional test and make it easier to add more in the future rexy712 2020-03-23 17:34:57 -07:00
  • 330b3956e5 Fix small output bugs. Add ability to add member to object/array in one function call. rexy712 2020-03-23 17:28:12 -07:00
  • 968e74b182 Fix null pointer access in array iterator operations rexy712 2020-03-23 11:55:10 -07:00
  • 7177386801 Cleanup unneeded functions and includes rexy712 2020-03-23 10:58:56 -07:00
  • eaa02d5ab4 Cleanup rjp++ includes rexy712 2020-03-23 10:38:39 -07:00
  • caaf29842d Add callback based parsing to rjp++ rexy712 2020-03-22 19:08:26 -07:00
  • 32db7680d7 Cleanup and comment a bit more of the source rexy712 2020-03-22 16:07:52 -07:00
  • d6213cfe1b Cleanup rjp.h rexy712 2020-03-22 14:46:57 -07:00
  • f88bb0c4f2 Add callback based reading, essentially making chunked reading redundant rexy712 2020-03-22 11:14:10 -07:00
  • 841c179c24 Update .gitignore for new makefile rexy712 2020-03-22 11:12:32 -07:00
  • 52963dce22 Fix warning generated during release build rexy712 2020-03-19 18:55:58 -07:00
  • 6c526fc77c Update gitignore rexy712 2020-03-17 16:54:39 -07:00
  • a345dbbff3 Add license disclaimer to rjp_lex files rexy712 2020-03-17 16:02:44 -07:00
  • 4387f9d39a Rename *_yacc_* to *_parse_* rexy712 2020-03-17 16:01:41 -07:00
  • 8e454b3d5a Separated lexing logic further. Added file for lexical analysis functions rexy712 2020-03-17 15:59:51 -07:00
  • 21e4583827 Separate tokenizing logic from loop rexy712 2020-03-16 18:28:28 -07:00
  • e38245261e Remove parsing dependance on null terminator rexy712 2020-03-14 09:21:57 -07:00
  • cc372b2941 Separated parsing loop and parsing logic rexy712 2020-03-13 12:29:52 -07:00
  • e3d16e2112 Fix rjp_parse signature rexy712 2020-03-12 17:51:12 -07:00
  • dd76bc9253 Change comment/excess comma support to runtime behavior rexy712 2020-03-11 12:55:30 -07:00
  • e947976340 Remove array functions from rjp++ that should have been removed previously rexy712 2020-03-10 15:16:52 -07:00
  • f2e4593847 Fix typo in parsing with trailing commas enabled rexy712 2020-03-10 15:07:16 -07:00
  • bfd1777fef Add block comments and make RJP_yacc_target stack dynamically resize rexy712 2020-03-10 12:56:17 -07:00
  • d6a5d3009b More TODO rexy712 2020-03-10 08:28:03 -07:00
  • be11a8e482 Update todo rexy712 2020-03-09 17:36:57 -07:00
  • 466168f8a2 Add a couple more utf testes rexy712 2020-03-09 17:36:28 -07:00
  • b60cfce6fc Add utf escapes to test program rexy712 2020-03-09 16:03:05 -07:00
  • 46e86e248b Fix utf escape support rexy712 2020-03-09 16:02:48 -07:00
  • a8ba1cc2fb Update readme rexy712 2020-03-09 15:08:10 -07:00
  • d27e8a8879 Update TODO rexy712 2020-03-09 15:00:18 -07:00
  • a17e19bbc0 Updated parsing. Fixes many different sources of segfaults, simplifies modification, and (finally) adds support for scientific notation. Along with a handful of other small parsing changes/fixes. rexy712 2020-03-09 15:00:08 -07:00
  • b5002db578 Fix rjp_internal to use newer configure option rexy712 2020-03-09 14:40:04 -07:00
  • 821ca95610 Update rjp++ CMake project to match rjp's rexy712 2020-03-09 14:39:37 -07:00
  • 67036521d3 Add more configure options to CMake project. rexy712 2020-03-09 14:39:17 -07:00
  • c2f4131b63 Add test source file rexy712 2020-03-09 14:38:33 -07:00