Commit graph

2611 commits

Author SHA1 Message Date
Niels Lohmann
64ef100ebf
Revert "💥 changed iterators to andom_access_iterator #593"
This reverts commit c77a0be5f3.
2017-08-20 20:44:44 +02:00
Niels Lohmann
8acaf5bdbc
🚨 fixing two compiler warnings 2017-08-20 19:31:07 +02:00
Niels Lohmann
c77a0be5f3
💥 changed iterators to andom_access_iterator #593
This commit changes the iterator category to andom_access_iterator and allows offsets and subscript operators for object iterators.
2017-08-16 21:35:22 +02:00
Niels Lohmann
aba8b58492
🔨 approach to un-break the changes for #462 2017-08-16 20:11:05 +02:00
Niels Lohmann
22b59693f1
💥 CBOR/MessagePack input must end with EOF #505
The CBOR and MessagePack parsers now expect the input to be read until the end. Unless the new parameter "strict" is set to false (it is true by default), an exception is raised if the parser ends prematurely. This is a breaking change as the parsers ignored unread input so far.

Furthermore, the offset/startIndex paramter introduced in #462 was removed as this behavior can be mimicked with an iterator range. For instance, instead of calling "from_cbor(vec, 5);", you can write "from_cbor({vec.begin()+5, vec.end()});".
2017-08-16 14:48:23 +02:00
Niels Lohmann
1f31a5b808
⬆️ Catch v1.9.7 2017-08-16 10:23:39 +02:00
Niels Lohmann
f5a53de845
👷 running sanitizer job in parallel 2017-08-16 09:21:20 +02:00
Niels Lohmann
21726d8d8f
👷 run sanitizer after tests 2017-08-16 08:11:02 +02:00
Niels Lohmann
df572aca79
👷 set sanitizer to clang4 2017-08-16 07:42:57 +02:00
Niels Lohmann
4391bf5615
Merge branch 'feature/update' into develop 2017-08-16 07:39:30 +02:00
Niels Lohmann
1e360bb32b
🔨 preparation for #505
Added a parameter to control whether parsing CBOR and MessagePack must completely consume the input.
2017-08-16 07:39:11 +02:00
Niels Lohmann
002410410f
Merge branch 'develop' into feature/update 2017-08-15 21:42:58 +02:00
Niels Lohmann
72afe53fa0
📝 updated documentation for update() function #661 2017-08-15 21:42:50 +02:00
Niels Lohmann
76123fab76
📝 added note wrt. #667 2017-08-15 20:49:18 +02:00
Niels Lohmann
fdff42bc3d
👷 forgot to install Cmake on OSX 2017-08-15 20:30:01 +02:00
Niels Lohmann
039e2f03bc
Merge branch 'develop' into feature/update 2017-08-15 19:54:22 +02:00
Niels Lohmann
7f4722a75d
Merge branch 'feature/travis_clang' into develop 2017-08-15 19:52:47 +02:00
Niels Lohmann
08805f7f14
🔨 cleanup 2017-08-13 20:57:27 +02:00
Niels Lohmann
988077e046
Merge branch 'develop' into feature/travis_clang 2017-08-13 20:27:27 +02:00
Niels Lohmann
7d19aed567
🔨 cleanup 2017-08-13 19:02:58 +02:00
Niels Lohmann
569c00eb18
👷 changed c++17 to c++1z 2017-08-10 23:41:12 +02:00
Niels Lohmann
6151b056eb
🔨 cleanup 2017-08-10 23:40:30 +02:00
Niels Lohmann
bade3b3e6c
👷 cleanup 2017-08-10 21:17:40 +02:00
Niels Lohmann
76b195d7d1
👷 fix for coverity + clang-5.0 2017-08-10 20:54:59 +02:00
Niels Lohmann
cd34358e7c
👷 removing clang from source 2017-08-10 20:37:23 +02:00
Niels Lohmann
5eb9f5fd4f
👷 clang-3.4 2017-08-10 20:31:59 +02:00
Niels Lohmann
f49356e703
👷 clang-3.4 2017-08-10 20:26:49 +02:00
Niels Lohmann
e0f8eb1710
👷 clang-4.0 2017-08-10 20:21:41 +02:00
Niels Lohmann
6dc89e47fc
👷 clang-3.9 2017-08-10 20:16:35 +02:00
Niels Lohmann
8de710bbe7
👷 added source for gcc 2017-08-10 20:12:27 +02:00
Niels Lohmann
195d773bc5
👷 added gcc 2017-08-10 20:09:39 +02:00
Niels Lohmann
e7f2d2646a
👷 removed gcc 2017-08-10 20:06:47 +02:00
Niels Lohmann
6b20f6d1ef
👷 clang-3.8 2017-08-10 20:04:36 +02:00
Niels Lohmann
82cd8c8d02
👷 another try 2017-08-10 19:59:00 +02:00
Niels Lohmann
f256587c4f
👷 clang-3.4 2017-08-10 19:56:09 +02:00
Niels Lohmann
c06b5c5c10
👷 clang-3.5 2017-08-10 19:50:36 +02:00
Niels Lohmann
3283352db3
👷 using clang++ 2017-08-10 19:45:33 +02:00
Niels Lohmann
c20dd7522f
👷 another try 2017-08-10 19:40:09 +02:00
Niels Lohmann
94dfecd487
👷 removed g++ 2017-08-10 19:31:43 +02:00
Niels Lohmann
8963aae57d
👷 clang-3.6 2017-08-10 19:24:36 +02:00
Niels Lohmann
5aceb0e029
👷 clang-3.6 2017-08-10 19:23:55 +02:00
Niels Lohmann
e7a7e4f81f
👷 fixed compiler 2017-08-10 19:18:45 +02:00
Niels Lohmann
e333562633
👷 different source 2017-08-10 19:15:16 +02:00
Niels Lohmann
eb6de822bb
👷 clang-3.7 2017-08-10 19:12:04 +02:00
Niels Lohmann
c1642affaa
👷 clang-3.8 2017-08-10 19:03:35 +02:00
Niels Lohmann
a46afd4008 Merge pull request #679 from traits/patch-1
Digraph warning
2017-08-10 11:39:13 +02:00
traits
54c67dcfec Update json.hpp 2017-08-10 09:05:00 +02:00
Niels Lohmann
99ea12f304
📝 acknowledgements for #674, #678, #682, #685, and #686 2017-08-10 06:50:34 +02:00
Niels Lohmann
d26b3f1fe5 Merge pull request #686 from WebProdPP/patch-1
Update json.hpp
2017-08-10 06:44:59 +02:00
Niels Lohmann
345846b514 Merge pull request #685 from daixtrose/patch-1
Remove duplicate word
2017-08-09 15:32:33 +02:00