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

340 Commits

Author SHA1 Message Date
sdarwin
ec44f5ce32 Adjust asan container permissions for Drone CI 2020-11-28 02:47:24 -08:00
Vinnie Falco
49e6a8cf56 Update supported compilers 2020-11-27 11:58:45 -08:00
Vinnie Falco
499ef7d4b1 Revert "Add value::is_integral"
This reverts commit 099a82957a.
2020-11-17 11:44:10 -08:00
Vinnie Falco
099a82957a Add value::is_integral 2020-11-16 10:18:48 -08:00
Vinnie Falco
f8d2c7617e Disable unreachable code warning 2020-11-16 09:16:40 -08:00
Vinnie Falco
8453a2980e Use safe sprintf on win targets 2020-10-30 10:50:15 -07:00
Vinnie Falco
52f1d0b30b Small object uses linear search 2020-10-27 14:42:36 -07:00
Krystian Stasiowski
2b074ee053 value_to/from don't use user-provided conversion functions 2020-10-27 14:03:52 -07:00
Krystian Stasiowski
99a013818a tag_invoke exposition
fix #411
2020-10-27 14:03:52 -07:00
Peter Dimov
2d4bea29bd Add tests for 1e-326..1e+309 2020-10-24 12:12:48 -07:00
Richard Hodges
bfc8665d6d Fix visit for const values 2020-10-22 20:53:43 +02:00
Richard Hodges
3f2fb68be5 Improved tests for string to double
close #447
2020-10-21 11:39:30 -07:00
Krystian Stasiowski
6a7d34117c C++11 is required
fix #451, close #452
2020-10-21 10:50:19 -07:00
Krystian Stasiowski
a09d596781 Use is_same over is_same_v 2020-10-21 09:54:42 -07:00
Vinnie Falco
844851c6ab Refactor object 2020-10-09 10:15:02 -07:00
Richard Hodges
ff6a090680 Fix parsing of double with >16 mantissa digits 2020-10-08 14:01:59 -07:00
Vinnie Falco
0a905acf9d Tidy up pilfering 2020-10-06 11:59:58 -07:00
Vinnie Falco
dd338e299e Update natvis 2020-10-06 11:38:58 -07:00
Vinnie Falco
ca9e94c490 Tidy up to_number 2020-10-05 16:16:48 -07:00
Vinnie Falco
2032232f9e value::to_number replaces number_cast 2020-10-05 13:17:13 -07:00
Vinnie Falco
592783499e Tidy up value and tests 2020-10-05 11:44:13 -07:00
Vinnie Falco
94d11a74e6 Refactor storage_ptr (API Change) 2020-10-04 19:07:58 -07:00
Vinnie Falco
6f895a79cc Refactor basic_parser includes
fix #424
2020-10-04 18:30:22 -07:00
Vinnie Falco
e1140a9847 Better construction of keys
fix #426
2020-10-04 18:26:25 -07:00
Vinnie Falco
f2efd9b66a Tidy up CMakeLists.txt for superproject 2020-10-04 17:33:43 -07:00
Vinnie Falco
996c8958fe Add visit
fix #207
2020-10-04 11:22:29 -07:00
Vinnie Falco
a2c1b7e9e5 monotonic_resource has an upstream
fix #365
2020-10-04 11:21:55 -07:00
Vinnie Falco
1b73c77822 static and monotonic resource tests, fixes:
fix #419

* monotonic_resource::release correctly resets
  the buffer list.
2020-10-04 11:21:55 -07:00
Vinnie Falco
0fd1d1a9a7 basic_parser::depth is private
fix #430
2020-10-04 11:21:55 -07:00
Vinnie Falco
b95be4fd15 8-bit integers are supported
fix #433
2020-10-04 11:21:55 -07:00
Vinnie Falco
531287af2b long double is not a fundamental type:
fix #432

Users have to opt-in to the narrowing conversion
by using static_cast.
2020-10-04 11:21:55 -07:00
Vinnie Falco
9b86962fbc Add metadata and update repo links 2020-10-04 11:06:25 -07:00
Vinnie Falco
a4d2983c4f Doc work 2020-10-03 18:55:53 -07:00
Vinnie Falco
a0983f788b Add test file for doubles 2020-10-02 14:04:07 -07:00
Vinnie Falco
08dd10b5f5 stream_parser docs, test, and tidy 2020-09-27 20:26:57 -07:00
Vinnie Falco
7882ccf866 parser docs, test, and tidy 2020-09-27 20:00:29 -07:00
Vinnie Falco
47fdfb0840 basic_parser has no undefined behavior 2020-09-27 18:37:15 -07:00
Vinnie Falco
c92461baf3 Add parser 2020-09-26 18:09:54 -07:00
Vinnie Falco
d026d5daed Rename to stream_parser 2020-09-26 17:57:00 -07:00
Vinnie Falco
3fbc6b3017 Add boost/json/fwd.hpp
fix #416
2020-09-25 12:59:16 -07:00
Vinnie Falco
7cb4ad1884 Rename to basic_parser::write_some (API Change)
fix #394

basic_parser::write is now called write_some
2020-09-24 10:39:25 -07:00
Vinnie Falco
fa6a6fbd55 kind is streamable
fix #405
2020-09-24 10:39:25 -07:00
Krystian Stasiowski
14c514f4ea value_to is idiomatic for number conversions
fix #367, close #375
2020-09-26 16:39:25 -07:00
Krystian Stasiowski
d817a91fbb Show use of designated initializers for parse_options
fix #368, close #374
2020-09-26 16:39:03 -07:00
Vinnie Falco
50b5c52b32 Refactor array 2020-09-20 13:00:08 -07:00
Vinnie Falco
c113849f59 Tidy up assignment and swap
fix #357
2020-09-17 16:09:29 -07:00
Vinnie Falco
a2917e736a null_resource is a singleton 2020-09-16 17:13:21 -07:00
Vinnie Falco
360b611612 Roll back value kind interface changes:
fix #339

* value::is_array, et. al. return bool
* value::if_array returns a pointer
* array::if_contains replaces contains
* object::if_contains replaces contains
* object::contains returns bool
2020-09-15 18:10:33 -07:00
Vinnie Falco
e0b7b2b4f9 Tidy up dtor exception specs and docs
fix #309
2020-09-15 17:43:10 -07:00
Vinnie Falco
2d0bef633d Small buffer is 10 chars on 32-bit
fix #335
2020-09-14 12:22:51 -07:00