2
0
mirror of https://github.com/boostorg/json.git synced 2026-02-18 14:12:14 +00:00
Commit Graph

255 Commits

Author SHA1 Message Date
Mateusz Łoskot
c86f998f23 Add minimal CONTRIBUTING.md 2020-03-07 16:01:22 -08:00
Mateusz Łoskot
c4ed3a0e2e Fix warning:
unused variable ‘init’ [-Wunused-variable]
2020-03-07 16:01:09 -08:00
Mateusz Łoskot
f737e6f6e7 Fix typos in .qbk files of documentation 2020-03-07 16:00:56 -08:00
Mateusz Łoskot
129b10ad9d Avoid redefinition of BOOST_JSON_SOURCE macro 2020-03-07 16:00:50 -08:00
Vinnie Falco
37d0a09242 Refactor some tests 2020-02-27 19:36:04 -08:00
Vinnie Falco
66246351ac Add BOOST_TEST_CHECKPOINT 2020-02-27 19:36:03 -08:00
Krystian Stasiowski
a38c4247fa Improve coverage 2020-02-23 17:11:30 -08:00
Vinnie Falco
f39934684a Add test for issue 45 2020-02-23 16:44:40 -08:00
m8mble
18e0abc156 Fix warning when compiling with -Wsign-compare 2020-02-23 16:33:38 -08:00
Krystian Stasiowski
b2fef3d067 Add style guide 2020-02-14 11:21:11 -08:00
Richard Hodges
6e1960a3e8 Fix surrogate conversion error
fix #38, close #40
2020-02-13 17:46:35 -08:00
Abdel Younes
8abf010034 Add cmake option to build standalone library:
close #29

This adds BOOST_JSON_STANDALONE as a cmake option to
enable compilation of boost::json as a linkable
library without any dependency. The examples are
also compiled the examples.

In the standalone mode, C+17 or later is required.
2020-02-13 17:41:50 -08:00
Richard Hodges
c93ab62f13 Fix segfault in bench:
fixes #30
2020-02-13 17:39:44 -08:00
Richard Hodges
725c4f2f8d allow CML to find boost with flag 2020-02-13 17:37:48 -08:00
Krystian Stasiowski
75528587ff Refactor string 2020-02-08 19:41:33 -05:00
Krystian Stasiowski
87d13bcf2c Doc work 2020-02-08 18:41:37 -05:00
Richard Hodges
5aae31dc74 number parser work
close #33
2020-01-14 13:43:07 -08:00
Vinnie Falco
dda9d88bac Check for superproject cmake builds 2020-01-07 10:36:44 -08:00
Vinnie Falco
1e0fbdbb3d Set BOOST_JSON_SOURCE as needed 2020-01-07 06:27:30 -08:00
Alexej Harm
bc95b55c35 Refactor CMake support:
* Add VS CMake integration config
* add cmake 3.10.0 support
* fix compiler and linker flags
* disable verbose build output
* added cmake policy
* Fix source groups
* Group folder related settings
* Add support for the boost superproject and cmake 3.16
* Remove library headers from executable projects
* Fix boost superproject compatibility
2019-12-29 10:49:25 -08:00
Vinnie Falco
61a0691583 Use move in value_ref 2019-12-19 16:26:36 -08:00
Vinnie Falco
846266c09c Add value::operator= overload 2019-12-19 16:23:18 -08:00
Vinnie Falco
e8acc21a2f VS2015 is not supported 2019-12-19 11:09:44 -08:00
Vinnie Falco
35c6d9a52d Use raise to throw exceptions 2019-12-19 11:09:44 -08:00
Vinnie Falco
148e6c65a8 AzP uses macOS-10.14 2019-12-19 09:10:56 -08:00
Vinnie Falco
3f81189f8d Fix bool conversion warning 2019-12-19 07:25:54 -08:00
Vinnie Falco
bd7fd2ff57 Refactor exceptions 2019-12-18 21:12:19 -08:00
Vinnie Falco
cabbb853db Tidy up config 2019-12-18 08:56:01 -08:00
Vinnie Falco
2d579c440c Add value::at overloads 2019-12-15 18:23:53 -08:00
Vinnie Falco
3328558266 Doc work and fixes 2019-12-15 15:33:06 -08:00
Vinnie Falco
9d4f8160b4 Refactor value_ref 2019-12-15 13:34:22 -08:00
Vinnie Falco
94647c341d Refactor value conversions 2019-12-15 04:24:54 -08:00
Vinnie Falco
d4a2392009 MacOS clang uses libc++ 2019-12-12 11:01:19 -08:00
Vinnie Falco
369e63cbd7 Silence some warnings 2019-12-12 11:01:19 -08:00
Vinnie Falco
21ed476b0e Don't require <ostream> in string.hpp 2019-12-12 05:33:19 -08:00
Vinnie Falco
07246e2909 Add standalone test_suite 2019-12-11 18:34:39 -08:00
Vinnie Falco
3844c0eb09 Add value_ref for initializer lists 2019-12-09 20:08:40 -08:00
Vinnie Falco
2a651d9002 Fix number_cast test for 32-bit 2019-12-09 08:48:57 -08:00
Vinnie Falco
5e8a65d94a Add BOOST_JSON_REQUIRE_CONST_INIT config macro 2019-12-08 19:29:34 -08:00
Vinnie Falco
0346f55e25 Use superproject docca 2019-12-07 13:14:28 -08:00
Vinnie Falco
62da38aaa5 Tidy up throws 2019-12-04 04:53:42 -08:00
Vinnie Falco
4a149d4cc2 Add number_cast:
close #17

number_cast<> provides a simple way to cast a value to a number.
2019-12-03 20:05:38 -08:00
Vinnie Falco
08dcc28218 Don't overflow temp buffer during parse
fix #20
2019-12-03 19:49:17 -08:00
Vinnie Falco
5c43f97e2f Coverage and tidy 2019-12-03 07:16:38 -08:00
Vinnie Falco
d406424962 Add parser::reserve:
Close #16
2019-12-02 20:00:07 -08:00
Vinnie Falco
7ce1a70d4c Fix integer parsing
fix #15
2019-12-02 19:32:35 -08:00
Vinnie Falco
c08721906d Don't parse past the input
Fix #13
2019-12-02 08:59:59 -08:00
Vinnie Falco
58ca09eab8 Add validate test:
For issue 13
2019-12-02 08:11:33 -08:00
Vinnie Falco
18ad267b70 Standalone doesn't include boost 2019-12-02 03:34:44 -08:00
Vinnie Falco
cdd6d769bf Clean up goto in example 2019-11-30 15:09:54 -08:00