187 Commits

Author SHA1 Message Date
a3ea13fc03 Update to newer rexylib 2022-03-20 14:17:04 -07:00
0d9cebedc0 Remove broken rjp::cast and rjp::convert. Added const iterator access to object and array 2022-03-19 10:37:57 -07:00
f763438c47 Add object and array size queries to rjp++ 2021-04-11 14:51:54 -07:00
cceb4eda7a Change shared library SOVERSION 2021-04-04 09:30:16 -07:00
47da1d454d #include cleanups 2021-04-04 09:08:51 -07:00
rexy712
451e6f2710 Update version v1.0.0 2021-01-03 10:15:52 -08:00
rexy712
d2af423057 Work with rexylib after small string optimization 2020-08-03 17:39:27 -07:00
rexy712
d1a7c3cf9c changed all rexy::string_base and rexy::static_strings to templated types 2020-08-01 01:29:46 -07:00
rexy712
0d226f3148 Update to work with new librexy allocators 2020-07-28 09:08:05 -07:00
rexy712
e77d20cae4 Add _c API functions to allow custom allocation/deallocation functions 2020-07-20 03:16:21 -07:00
rexy712
bf098ac96a Add escape functionality to rjp++ 2020-07-19 08:48:10 -07:00
rexy712
ad2138ba5d Allow rjp++ assignment of values containing nullptr. Makes user interface flow nicer 2020-05-16 15:14:14 -07:00
rexy712
924558c8c9 Merge branch 'master' of ssh://rexy712.chickenkiller.com:1995/var/git/repos/rexy712/rjp 2020-05-16 13:47:47 -07:00
rexy712
2cbc47a6bf Fix rjp.hpp not including parse.hpp 2020-05-16 13:47:41 -07:00
rexy712
8a6b323fec Remove explicit constructors from rjp++. Might regret this later 2020-05-02 14:05:24 -07:00
rexy712
034917177b Fix rjp++ not being able to be built against 2020-04-11 07:10:11 -07:00
rexy712
bb62727333 Fix CMakeLists.txt files to define the project before including GNUInstallDirs 2020-04-09 15:19:28 -07:00
rexy712
ecb3222605 Update API doc 2020-04-09 14:53:18 -07:00
rexy712
df95db7882 Change RJP_PARSE_NONE to RJP_PARSE_NO_EXT to better clarify its purpose 2020-04-09 14:53:05 -07:00
rexy712
6813cfc9ea Update TODO 2020-04-09 13:25:49 -07:00
rexy712
92704ae8f0 Add parse error handling to rjp++ 2020-04-09 13:06:53 -07:00
rexy712
d76252d473 Fix const correctness of error to string 2020-04-09 13:03:29 -07:00
rexy712
a309b9e772 Fix clang warnings 2020-04-09 03:12:37 -07:00
rexy712
0b32905cb8 Add to todo 2020-04-08 16:44:01 -07:00
rexy712
d7e8c5ccbb Change error output to be in the hands of the library user instead of the library 2020-04-08 16:20:18 -07:00
rexy712
1b649fb582 Cleanup macro checks in rjp.h 2020-04-07 13:07:14 -07:00
rexy712
a64e0e86ee Add license disclaimer to rjp++ files 2020-04-07 12:43:48 -07:00
rexy712
44b4bd8b19 Add middleman functions to prevent needing to also link rjp when linking against rjp++ 2020-04-07 12:21:59 -07:00
rexy712
662f24ef9a Add null check in member search as suggested by atlas moon 2020-04-06 17:46:41 -07:00
rexy712
040e5a5df9 Add output test cases for strings in rjp and rjp++ 2020-04-06 17:11:37 -07:00
rexy712
95b5b2cb83 Remove some uses of sprintf to improve speed a tiny bit 2020-04-06 16:55:44 -07:00
rexy712
fd09eb3b20 Make static analyzer happy 2020-04-06 15:09:49 -07:00
rexy712
7b643ff5c6 Separate rjp format flags into multiple for slightly more control over output formatting 2020-04-06 12:35:47 -07:00
rexy712
e6950db87c Disallow changing member key to empty string 2020-04-06 11:07:07 -07:00
rexy712
7395f41ccc Fix missing NULL check in rjp object key setting. Fix allowing empty key in object member addition 2020-04-06 06:43:46 -07:00
rexy712
16bb20a09f Add test cases for empty string values 2020-04-05 10:50:00 -07:00
rexy712
e708952c05 Allow empty string values. Disallow empty key strings 2020-04-05 10:47:12 -07:00
rexy712
06cfc1d0b6 Add default dispatch handling for generic case of 'const rjp::value&'. Will cause compilation error if return type is not void 2020-03-27 21:28:05 -07:00
rexy712
4bf41e8b42 Add dispatch test for rjp++ 2020-03-27 14:59:58 -07:00
rexy712
5bebbe1d33 Added rjp++ dispatcher and proxy type for get operations. Makes it easier to make generic programs around. 2020-03-27 12:40:37 -07:00
rexy712
ee0a1d48da Add rjp::cast specialization for rvalue To type. Acts as a std::move equivalent 2020-03-26 19:40:01 -07:00
rexy712
ed6e15db6e Update rjp++ libflags to work with new template layout 2020-03-26 19:22:45 -07:00
rexy712
295c27029b Rearrange some rjp++ files. Also realized that subobject return does not qualify for nrvo, so that's a problem. 2020-03-26 18:38:01 -07:00
rexy712
7121f8a26e Fix uninitialized value access 2020-03-26 18:23:11 -07:00
rexy712
ccfb2a91ec Add rjp++ tests 2020-03-26 16:20:55 -07:00
rexy712
f03495756f Turn off c++ build by default until librexy is released 2020-03-26 13:15:09 -07:00
rexy712
e82e469356 Add makefile to examples 2020-03-26 13:12:35 -07:00
rexy712
23dc0814a5 Removed comments in rjp.h. Moved API documentation to doc/api 2020-03-26 12:49:05 -07:00
r0nk
01b014f88e Null key check 2020-03-26 12:47:11 -05:00
rexy712
50137406e0 Fix incorrect comments in rjp.h 2020-03-26 09:14:42 -07:00