Commit Graph

  • 3dc67c5663 Add memoryUsage() to ElementProxy and MemberProxy (fixes #1730) Benoit Blanchon 2022-03-19 12:11:40 +01:00
  • 6617185962 Fix addElement() issue1343 Benoit Blanchon 2022-03-15 16:59:23 +01:00
  • 8a3b3cfeec Element proxy Benoit Blanchon 2022-03-15 11:36:08 +01:00
  • 0cd588c249 MemberProxy.link() Benoit Blanchon 2022-03-14 19:44:57 +01:00
  • b02d979ceb Test null Benoit Blanchon 2022-03-14 19:40:05 +01:00
  • 022eed7977 size() Benoit Blanchon 2022-03-14 19:31:34 +01:00
  • c68bd7fb95 remove() Benoit Blanchon 2022-03-13 20:51:13 +01:00
  • a4307f5cd1 as<bool>() Benoit Blanchon 2022-03-11 18:54:51 +01:00
  • 8b1d38f92a as<double>, as<string> Benoit Blanchon 2022-03-11 18:53:00 +01:00
  • 6691c5170b as<int>() Benoit Blanchon 2022-03-11 18:49:34 +01:00
  • 6a23b014dc nesting Benoit Blanchon 2022-03-11 18:39:05 +01:00
  • cf56a7de2a isNull() Benoit Blanchon 2022-03-11 18:28:37 +01:00
  • 45c77b5558 createNested... Benoit Blanchon 2022-03-11 17:38:40 +01:00
  • 1ce762c1ab Test copy Benoit Blanchon 2022-03-11 17:24:47 +01:00
  • 7f61838b4b containsKey() Benoit Blanchon 2022-03-11 14:53:54 +01:00
  • e3d7d7462d Comparisons Benoit Blanchon 2022-03-11 14:46:01 +01:00
  • ca12e8c202 clear() Benoit Blanchon 2022-03-11 14:38:35 +01:00
  • 09e4fbaa1a JsonVariant::as Benoit Blanchon 2022-03-11 14:36:09 +01:00
  • e80c604843 Test array subscript Benoit Blanchon 2022-03-10 19:00:24 +01:00
  • b04471c7a8 Test add() on linked array Benoit Blanchon 2022-03-10 18:52:08 +01:00
  • a215d70af6 Test JsonVariantConst as well Benoit Blanchon 2022-03-10 18:49:21 +01:00
  • 412ca3e5fa Move get set tests Benoit Blanchon 2022-03-10 18:48:17 +01:00
  • cf1d19fec5 is<array>() Benoit Blanchon 2022-03-10 18:45:02 +01:00
  • e9963f1656 Move is object tests Benoit Blanchon 2022-03-10 18:38:48 +01:00
  • cae6b76096 Move size test Benoit Blanchon 2022-03-10 18:36:36 +01:00
  • a04c3f0189 Ignore write to member Benoit Blanchon 2022-03-10 18:31:54 +01:00
  • 9d427982cc Fix is<object>() and getMember() Benoit Blanchon 2022-03-10 18:26:37 +01:00
  • 781928a588 WIP: is requires a loop Benoit Blanchon 2022-03-10 15:16:37 +01:00
  • a673f14943 Fix size() Benoit Blanchon 2022-03-10 14:54:34 +01:00
  • a2b5fbab19 Test MemberProxy and ElementProxy Benoit Blanchon 2022-03-10 14:47:37 +01:00
  • 0b2eebeabc link() takes a JsonVariantConst Benoit Blanchon 2022-03-10 14:45:50 +01:00
  • 2dc0600bd4 Replace with JsonVariant::link() Benoit Blanchon 2022-03-10 14:35:12 +01:00
  • 328d72c8ac Test set() instead of add() Benoit Blanchon 2022-03-10 14:02:13 +01:00
  • fcc28b1355 Test memoryUsage() Benoit Blanchon 2022-03-10 13:54:13 +01:00
  • 0bcf14bb89 Support JsonDocument* Benoit Blanchon 2022-03-10 13:50:33 +01:00
  • c584966520 Update accept() Benoit Blanchon 2022-03-10 13:50:15 +01:00
  • 97935e6b1e Add VALUE_IS_POINTER Benoit Blanchon 2022-03-10 13:50:01 +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