Commit Graph

  • e2bb2cec7b Fix comparison operators for JsonObject and JsonObjectConst Benoit Blanchon 2022-06-10 09:53:25 +02:00
  • ff4e837df5 Fix comparison operators for JsonArray and JsonArrayConst Benoit Blanchon 2022-06-09 21:06:32 +02:00
  • fb904033d3 Replace serializeJson()'s template parameter with JsonVariantConst Benoit Blanchon 2022-06-02 20:36:32 +02:00
  • e6cd16aec4 Add missing const specifiers in serializers Benoit Blanchon 2022-05-23 19:20:15 +02:00
  • ee74c3bb1c Inline variantAccept() Benoit Blanchon 2022-05-22 17:07:16 +02:00
  • 37faa7ce13 Merge definitions of VariantConstRef::accept() and VariantRef::accept() Benoit Blanchon 2022-05-22 17:03:09 +02:00
  • 3d6c328a4f Add JsonVariant::link() (resolves #1343) Benoit Blanchon 2022-04-27 15:06:58 +02:00
  • 5577d18377 JsonVariant: add tests for size() Benoit Blanchon 2022-04-27 15:00:27 +02:00
  • 1d103a1528 MemberProxy: move tests for createNestedArray() and createNestedObject() Benoit Blanchon 2022-04-27 14:58:37 +02:00
  • 7b19a4b6e7 Add getMemberConst() and getElementConst() Benoit Blanchon 2022-03-31 11:59:00 +02:00
  • ac1d29fac0 Add meta function ConverterNeedsWriteableRef<T> Benoit Blanchon 2022-03-31 11:23:24 +02:00
  • 98037e5742 Move several functions from VariantImpl.hpp to VariantRef.hpp Benoit Blanchon 2022-04-14 14:05:33 +02:00
  • d0e3808dd0 Move declaration of VariantConstRef above VariantRef Benoit Blanchon 2022-04-13 18:13:28 +02:00
  • 3760a643cb Implement comparison out of VariantData Benoit Blanchon 2022-04-07 21:37:00 +02:00
  • fc9d8aa31e Implement nesting() out of VariantData Benoit Blanchon 2022-03-29 13:03:07 +02:00
  • ccfbb5fd1d Fix 9.22337e+18 outside range of representable values of type 'long' Benoit Blanchon 2022-04-07 20:58:54 +02:00
  • c9fbc5e40a README: remove utm_source/utm_medium to make links more readable (#1735) Benoit Blanchon 2022-04-07 18:49:39 +02:00
  • 67b6797b6d Set version to 6.19.4 v6.19.4 Benoit Blanchon 2022-04-05 10:53:11 +02:00
  • 8d9504239b Fix comparisons operators with const JsonDocument& Benoit Blanchon 2022-04-05 10:12:17 +02:00
  • bf5d0c790c Add implicit conversion from JsonDocument to JsonVariant Benoit Blanchon 2022-03-23 16:00:24 +01:00
  • f4379f97ae Format code with clang-format Benoit Blanchon 2022-03-23 17:17:09 +01:00
  • 3dc67c5663 Add memoryUsage() to ElementProxy and MemberProxy (fixes #1730) Benoit Blanchon 2022-03-19 12:11:40 +01:00
  • 47f90b02c3 CI: run apt-get update before installing g++-multilib Benoit Blanchon 2022-03-09 08:33:26 +01:00
  • 27c924746b CI: run apt-get update before installing valgrind Benoit Blanchon 2022-03-08 19:09:56 +01:00
  • 7abf875071 Set version to 6.19.3 v6.19.3 Benoit Blanchon 2022-03-08 17:24:14 +01:00
  • e3e375f5cd MessagePack: serialize round floats as integers (fixes #1718) Benoit Blanchon 2022-02-28 18:00:43 +01:00
  • ff06292d74 Fix -Wsign-conversion -funsigned-char (fixes #1715) Benoit Blanchon 2022-02-28 10:00:12 +01:00
  • c1278797f2 CI: use -funsigned-char in one GCC build (issue #1715) Benoit Blanchon 2022-02-28 09:50:32 +01:00
  • 421ecec0dd Tests: trim trailing white spaces Benoit Blanchon 2022-02-25 09:28:26 +01:00
  • 89ed54362b Fix -Wsign-conversion on GCC 8 (fixes #1715) Benoit Blanchon 2022-02-25 09:23:51 +01:00
  • 986f77fa15 Tests: link with -static on MinGW Benoit Blanchon 2022-02-25 10:28:22 +01:00
  • f831ed395d Fix JsonString operator == and != for non-zero-terminated string Benoit Blanchon 2022-02-17 11:16:05 +01:00
  • a880614a75 Fix call of overloaded 'String(const char*, int)' is ambiguous Benoit Blanchon 2022-02-17 10:47:42 +01:00
  • ef8379df1b Set version to 6.19.2 v6.19.2 Benoit Blanchon 2022-02-14 09:06:06 +01:00
  • 702f8c2e2f Fix cannot convert 'pgm_p' to 'const void*' (fixes #1707) Benoit Blanchon 2022-02-06 11:14:23 +01:00
  • 6806393285 Wandbox: update compiler version Benoit Blanchon 2022-01-14 09:23:12 +01:00
  • dea8387586 Publish script: don't stop if wandbox fails Benoit Blanchon 2022-01-14 09:22:55 +01:00
  • 6ea2815341 Set version to 6.19.1 v6.19.1 Benoit Blanchon 2022-01-14 08:49:57 +01:00
  • 3c145f1782 Add assertions to comfort Clang-Tidy Benoit Blanchon 2022-01-13 18:44:57 +01:00
  • 21b2c76524 Fix filter not working in zero-copy mode (fixes #1697) Benoit Blanchon 2022-01-13 16:12:56 +01:00
  • 4f6244eef4 Replace CopiedString and LinkedString with JsonString Benoit Blanchon 2022-01-13 16:15:53 +01:00
  • 973858b835 Remove unused CopiedString in MemoryPool Benoit Blanchon 2022-01-13 15:19:46 +01:00
  • ee12155617 Fix crash when adding an object member in a too small JsonDocument Benoit Blanchon 2022-01-13 11:52:29 +01:00
  • 4b4c68df5f Changelog: remove empty line Benoit Blanchon 2022-01-13 11:52:42 +01:00
  • fcae33d574 Publish script: fix change log extraction code Benoit Blanchon 2022-01-08 17:59:07 +01:00
  • 896f50eeb9 Publish script: check that all required commands are available Benoit Blanchon 2022-01-08 16:40:21 +01:00
  • 9693fd2d74 Set version to 6.19.0 v6.19.0 Benoit Blanchon 2022-01-08 16:21:29 +01:00
  • 37f1c87338 Publish script: check that all changes are committed Benoit Blanchon 2022-01-08 16:21:09 +01:00
  • 4977de38fc Remove .devcontainer/ Benoit Blanchon 2022-01-05 12:08:30 +01:00
  • 9f4750637b Add PlatformIO badge to README Benoit Blanchon 2022-01-05 12:08:18 +01:00
  • 0c65e13aa3 Add LGTM grade badge to README Benoit Blanchon 2021-12-20 19:47:13 +01:00
  • af18994deb Update copyright notice Benoit Blanchon 2022-01-01 10:00:54 +01:00
  • 8f9599cd19 Format appveyor.yml Benoit Blanchon 2022-01-01 09:51:44 +01:00
  • 78660c6e07 Fix support of long long in catch Benoit Blanchon 2021-12-31 17:49:22 +01:00
  • 4f786db82d CI: build on multiple versions of MinGW Benoit Blanchon 2022-01-01 09:51:05 +01:00
  • ad7b749dec CI: build with arduino-cli Benoit Blanchon 2021-12-30 13:15:44 +01:00
  • 29ba744d64 Add a polyfill for pgm_read_ptr() (issue #1433) Benoit Blanchon 2021-12-31 13:09:53 +01:00
  • a2e1021d7d Use pgm_read_dword() instead of pgm_read_float() (issue #1433) Benoit Blanchon 2021-12-30 10:02:21 +01:00
  • d20c3c65c8 Add a polyfill for pgm_read_dword() (issue #1433) Benoit Blanchon 2021-12-31 13:13:51 +01:00
  • 8f029e6096 Fix Visual Studio command line error D9025 https://stackoverflow.com/a/58711983/1164966 Benoit Blanchon 2021-12-29 10:51:30 +01:00
  • 91ed68b4a6 Fix conflicting definition of ARDUINOJSON_DEFINE_STATIC_ARRAY() Benoit Blanchon 2021-12-31 13:55:51 +01:00
  • 67fc2d9897 Assume PROGMEM is available as soon as ARDUINO is defined (#1693) Benoit Blanchon 2021-12-29 10:29:30 +01:00
  • 055304bf01 Ignore Visual Studio's /out/ folder Benoit Blanchon 2021-12-29 10:23:15 +01:00
  • c2800ace32 Include Arduino.h before stdlib.h to avoid conflict (closes #1693) Benoit Blanchon 2021-12-26 18:42:54 +01:00
  • ec7ffa20f2 Avoid Arduino.h when all its features are disabled (fixes #1692) Paulo Cabral Sanz 2021-12-26 18:19:35 +01:00
  • ada1f2a894 Add support for char[][] in copyArray() Benoit Blanchon 2021-12-20 13:18:31 +01:00
  • 184a7c4fbd Add support for arbitrary array rank in copyArray() Benoit Blanchon 2021-12-20 17:51:27 +01:00
  • 84e9447f12 Remove redundant copy constructor of AllocatorOwner Benoit Blanchon 2021-12-19 12:52:40 +01:00
  • ca073fda46 Remove version 5 from change log Benoit Blanchon 2021-12-16 14:56:28 +01:00
  • 0f529a3587 Renamed undocumented function isUndefined() to isUnbound() Benoit Blanchon 2021-12-16 14:55:26 +01:00
  • e16767af92 Avoid pool reallocation in BasicJsonDocument's copy assignment Benoit Blanchon 2021-12-16 14:42:54 +01:00
  • 3166356484 Test capacity after calling BasicJsonDocument's copy assignment Benoit Blanchon 2021-12-16 14:28:30 +01:00
  • abdd9d81db Reorder lines in changelog Benoit Blanchon 2021-12-14 10:42:01 +01:00
  • 3bf47761c8 Fix return type of StaticJsonDocument::operator= Benoit Blanchon 2021-12-14 10:41:25 +01:00
  • f39d8f548f CI: Add Visual Studio 2022 Benoit Blanchon 2021-12-12 15:48:51 +01:00
  • 90d750e4d9 Increase coverage Benoit Blanchon 2021-11-21 15:07:56 +01:00
  • ca24ed48f5 Separate string adapter from storage policy Benoit Blanchon 2021-11-21 15:07:56 +01:00
  • 51937778dd Add operator<<(std::ostream&, const JsonString&) Benoit Blanchon 2021-11-21 15:07:56 +01:00
  • be70f6ddd7 Support NUL inside string values (issue #1646) Benoit Blanchon 2021-11-21 15:07:56 +01:00
  • a27398e445 Check for NUL terminator in MemoryPool::findString() Benoit Blanchon 2021-11-20 20:30:24 +01:00
  • 43b2e2e774 Append terminator in saveStringFromFreeZone() Benoit Blanchon 2021-11-20 20:29:09 +01:00
  • 62f9b94ab1 Add CopiedString and LinkedString Benoit Blanchon 2021-11-22 09:40:20 +01:00
  • b06bbd9d2a Fix inconsistent pool size in BasicJsonDocument's copy constructor Benoit Blanchon 2021-11-23 10:49:35 +01:00
  • 2df1bc7d4f Fix call of overloaded 'swap(...)' is ambiguous (fixes #1678) Benoit Blanchon 2021-11-23 10:47:31 +01:00
  • 599e927590 Fix JsonVariant::memoryUsage() for raw strings Benoit Blanchon 2021-11-12 16:55:41 +01:00
  • 0429016ff1 Remove IsWriteableString Benoit Blanchon 2021-11-12 15:28:33 +01:00
  • bd42b9638a README: add sponsors section Benoit Blanchon 2021-11-11 09:38:25 +01:00
  • b1a826b03a README: remove empty lines between the badges Benoit Blanchon 2021-11-11 09:23:58 +01:00
  • 5ed5f3687b Improve test coverage Benoit Blanchon 2021-10-23 18:50:53 +02:00
  • 943a902a0b Remove DeserializationError == bool and DeserializationError != bool Benoit Blanchon 2021-10-23 16:12:58 +02:00
  • a7873389c6 Change VariantData::asString() return type to JsonString Benoit Blanchon 2021-10-24 09:55:28 +02:00
  • acfa174333 Add safe bool idiom in JsonString Benoit Blanchon 2021-10-22 17:19:14 +02:00
  • 8418845c8d Add is<JsonString>() Benoit Blanchon 2021-10-24 09:58:20 +02:00
  • df4a4b9e1d Add as<JsonString>() Benoit Blanchon 2021-10-24 09:58:13 +02:00
  • 7f5497db55 VSCode: exclude catch/ from search Benoit Blanchon 2021-10-22 14:11:50 +02:00
  • e4658e963f Change the default of ARDUINOJSON_USE_LONG_LONG to 1 on 32-bit platforms Benoit Blanchon 2021-10-18 16:23:59 +02:00
  • 7764515f56 Change the default of ARDUINOJSON_USE_DOUBLE to 1 Benoit Blanchon 2021-10-19 20:10:47 +02:00
  • 7046c38c84 Remove ARDUINOJSON_EMBEDDED_MODE Benoit Blanchon 2021-10-18 15:24:45 +02:00
  • 9e9bb30a57 CI: Test ArduinoJson's configuration Benoit Blanchon 2021-10-18 16:43:47 +02:00
  • 41d1be24cc Update GitHub issue templates Benoit Blanchon 2021-10-11 15:08:37 +02:00