Commit graph

2045 commits

Author SHA1 Message Date
Niels Lohmann 5b71bf09a1 Merge pull request #708 from theodelrieu/fix/from_json_tuple_pair
fix from_json implementation for pair/tuple
2017-08-24 12:40:16 +02:00
Théo DELRIEU bb1b4c934e
fix from_json implementation for pair/tuple
Introduced by 6e4910d5c5

Fixes #707
2017-08-23 10:05:43 +02:00
Niels Lohmann e45eaf6e30
Revert "👷 using libc++ with Clang"
This reverts commit 41b2c69bdb.
2017-08-23 08:39:19 +02:00
Niels Lohmann 0b5e8f859b
🔨 cleanup
Fixed some warning in Clion.
2017-08-23 00:42:15 +02:00
Niels Lohmann 9fd031b6f4
🐛 re-added support for std::valarray #702 2017-08-22 23:28:23 +02:00
Niels Lohmann 41b2c69bdb
👷 using libc++ with Clang 2017-08-22 22:04:38 +02:00
Niels Lohmann cd53790993
👷 using Clang 5.0 2017-08-21 20:03:24 +02:00
Niels Lohmann e569b9736b
👷 trying to fix build error
See http://help.appveyor.com/discussions/problems/7450-build-error-on-vs-2017-image-suddenly.
2017-08-21 17:31:14 +02:00
Niels Lohmann ba5d37ba4b
👷 added Clang 5.0 (see https://docs.travis-ci.com/user/languages/cpp/#clang) 2017-08-21 17:27:35 +02:00
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