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

273 Commits

Author SHA1 Message Date
Mateusz Łoskot
63db19bfcc GA: Tidy up 2020-03-18 19:03:14 +01:00
Mateusz Łoskot
5c8c7e1d21 GA: Add checkout of submodules
Change missing from #56
2020-03-17 17:46:27 -07:00
Mateusz Łoskot
831cab9a00 Add GitHub Actions for three of all supported build scenarios
Two build scenarios need to be tested and configured for GitHub Actions:
- CMake build as part of Boost superproject
- CMake build as out-of-tree, non-standalone build
  - this one is unclear, seems equivalent to BOOST_JSON_FIND_BOOST mode
2020-03-17 14:00:45 -07:00
Mateusz Łoskot
7eefbd85ef Always build tests if BUILD_TESTING=ON
CMake build as part of Boost superproject is still experimental
- added comments where things needs to be clarified
- call boost_install for Boost superproject mode
- do not build bench and example, just test
2020-03-17 14:00:45 -07:00
Mateusz Łoskot
bbfb09b26c CMake project version depends on BOOST_SUPERPROJECT_VERSION
Current Boost-wide convention is to call project with BOOST_SUPERPROJECT_VERSION
2020-03-17 14:00:45 -07:00
Mateusz Łoskot
11e7252b28 Ignore additional CMake build directories (e.g. _build32, _build64) 2020-03-17 14:00:45 -07:00
Mateusz Łoskot
f0092321f3 Update CMakeLists.txt comments to clarify supported build scenarios 2020-03-17 14:00:45 -07:00
Vinnie Falco
4dc3cb152a Update badges 2020-03-17 13:57:52 -07:00
Mateusz Łoskot
47bbedcd1c Fix bench test using name of existing json-tests
The referred executable `json-tests` was also non-existent.
2020-03-17 11:46:45 -07:00
Mateusz Łoskot
8d0fd62ff4 Add missing include(CTest) which calls enable_testing() 2020-03-17 11:46:41 -07:00
Mateusz Łoskot
0252c6f3e9 Use explicit NAME and COMMAND arguments of add_test 2020-03-14 13:33:17 -07:00
Krystian Stasiowski
66553d1baa Improve string exposition 2020-03-14 13:32:25 -07:00
Vinnie Falco
8d13f6feeb Faster number parsing 2020-03-11 09:44:07 -07:00
Vinnie Falco
7db53b439d Refactor number parsing 2020-03-11 08:26:32 -07:00
Vinnie Falco
421be917b2 Update rapidjson 2020-03-11 08:26:32 -07:00
Krystian Stasiowski
27f8b5d1e9 Fix move construction of value from object 2020-03-08 16:53:14 -07:00
Krystian Stasiowski
427f9fbf75 Add moving of strings from value_ref 2020-03-08 16:53:14 -07:00
Mateusz Łoskot
f63bf17f17 Ignore Visual Studio Code workspace settings directory 2020-03-07 16:01:58 -08:00
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