소스 검색

Updated copyright year from 2016 to 2017

Benoit Blanchon 9 년 전
부모
커밋
671329a3e9
100개의 변경된 파일207개의 추가작업 그리고 145개의 파일을 삭제
  1. 1 1
      ArduinoJson.h
  2. 1 1
      CMakeLists.txt
  3. 1 1
      LICENSE.md
  4. 1 1
      examples/IndentedPrintExample/IndentedPrintExample.ino
  5. 1 1
      examples/JsonGeneratorExample/JsonGeneratorExample.ino
  6. 1 1
      examples/JsonHttpClient/JsonHttpClient.ino
  7. 1 1
      examples/JsonParserExample/JsonParserExample.ino
  8. 3 3
      examples/JsonUdpBeacon/JsonUdpBeacon.ino
  9. 1 1
      examples/ProgmemExample/ProgmemExample.ino
  10. 1 1
      examples/StringExample/StringExample.ino
  11. 1 1
      include/ArduinoJson.h
  12. 1 1
      include/ArduinoJson.hpp
  13. 1 1
      include/ArduinoJson/Configuration.hpp
  14. 1 1
      include/ArduinoJson/Data/Encoding.hpp
  15. 2 2
      include/ArduinoJson/Data/JsonBufferAllocated.hpp
  16. 1 1
      include/ArduinoJson/Data/JsonFloat.hpp
  17. 1 1
      include/ArduinoJson/Data/JsonInteger.hpp
  18. 1 1
      include/ArduinoJson/Data/JsonVariantAs.hpp
  19. 1 1
      include/ArduinoJson/Data/JsonVariantContent.hpp
  20. 1 1
      include/ArduinoJson/Data/JsonVariantDefault.hpp
  21. 1 1
      include/ArduinoJson/Data/JsonVariantType.hpp
  22. 1 1
      include/ArduinoJson/Data/List.hpp
  23. 7 3
      include/ArduinoJson/Data/ListConstIterator.hpp
  24. 11 5
      include/ArduinoJson/Data/ListIterator.hpp
  25. 1 1
      include/ArduinoJson/Data/ListNode.hpp
  26. 1 1
      include/ArduinoJson/Data/Parse.hpp
  27. 4 2
      include/ArduinoJson/Data/ReferenceType.hpp
  28. 1 1
      include/ArduinoJson/Data/ValueSetter.hpp
  29. 1 1
      include/ArduinoJson/Deserialization/Comments.hpp
  30. 1 1
      include/ArduinoJson/Deserialization/JsonParser.hpp
  31. 1 1
      include/ArduinoJson/Deserialization/JsonParserImpl.hpp
  32. 1 1
      include/ArduinoJson/Deserialization/StringReader.hpp
  33. 1 1
      include/ArduinoJson/Deserialization/StringWriter.hpp
  34. 1 1
      include/ArduinoJson/DynamicJsonBuffer.hpp
  35. 1 1
      include/ArduinoJson/JsonArray.hpp
  36. 1 1
      include/ArduinoJson/JsonArrayImpl.hpp
  37. 1 1
      include/ArduinoJson/JsonArraySubscript.hpp
  38. 1 1
      include/ArduinoJson/JsonBuffer.hpp
  39. 1 1
      include/ArduinoJson/JsonBufferBase.hpp
  40. 1 1
      include/ArduinoJson/JsonBufferImpl.hpp
  41. 1 1
      include/ArduinoJson/JsonObject.hpp
  42. 1 1
      include/ArduinoJson/JsonObjectImpl.hpp
  43. 1 1
      include/ArduinoJson/JsonObjectSubscript.hpp
  44. 1 1
      include/ArduinoJson/JsonPair.hpp
  45. 1 1
      include/ArduinoJson/JsonVariant.hpp
  46. 1 1
      include/ArduinoJson/JsonVariantBase.hpp
  47. 1 1
      include/ArduinoJson/JsonVariantComparisons.hpp
  48. 1 1
      include/ArduinoJson/JsonVariantImpl.hpp
  49. 1 1
      include/ArduinoJson/Polyfills/attributes.hpp
  50. 1 1
      include/ArduinoJson/Polyfills/math.hpp
  51. 1 1
      include/ArduinoJson/Polyfills/normalize.hpp
  52. 1 1
      include/ArduinoJson/Print.hpp
  53. 1 1
      include/ArduinoJson/RawJson.hpp
  54. 4 2
      include/ArduinoJson/Serialization/DummyPrint.hpp
  55. 1 1
      include/ArduinoJson/Serialization/DynamicStringBuilder.hpp
  56. 1 1
      include/ArduinoJson/Serialization/IndentedPrint.hpp
  57. 1 1
      include/ArduinoJson/Serialization/JsonPrintable.hpp
  58. 1 1
      include/ArduinoJson/Serialization/JsonSerializer.hpp
  59. 1 1
      include/ArduinoJson/Serialization/JsonSerializerImpl.hpp
  60. 1 1
      include/ArduinoJson/Serialization/JsonWriter.hpp
  61. 1 1
      include/ArduinoJson/Serialization/Prettyfier.hpp
  62. 1 1
      include/ArduinoJson/Serialization/StaticStringBuilder.hpp
  63. 1 1
      include/ArduinoJson/Serialization/StreamPrintAdapter.hpp
  64. 1 1
      include/ArduinoJson/StaticJsonBuffer.hpp
  65. 1 1
      include/ArduinoJson/StringTraits/ArduinoStream.hpp
  66. 1 1
      include/ArduinoJson/StringTraits/CharPointer.hpp
  67. 1 1
      include/ArduinoJson/StringTraits/FlashString.hpp
  68. 1 1
      include/ArduinoJson/StringTraits/StdStream.hpp
  69. 1 1
      include/ArduinoJson/StringTraits/StdString.hpp
  70. 1 1
      include/ArduinoJson/StringTraits/StringTraits.hpp
  71. 1 1
      include/ArduinoJson/TypeTraits/ConstRefOrConstPtr.hpp
  72. 1 1
      include/ArduinoJson/TypeTraits/EnableIf.hpp
  73. 1 1
      include/ArduinoJson/TypeTraits/IsBaseOf.hpp
  74. 1 1
      include/ArduinoJson/TypeTraits/IsFloatingPoint.hpp
  75. 1 1
      include/ArduinoJson/TypeTraits/IsIntegral.hpp
  76. 1 1
      include/ArduinoJson/TypeTraits/IsSame.hpp
  77. 1 1
      include/ArduinoJson/TypeTraits/IsSignedIntegral.hpp
  78. 1 1
      include/ArduinoJson/TypeTraits/IsUnsignedIntegral.hpp
  79. 1 1
      include/ArduinoJson/TypeTraits/RemoveConst.hpp
  80. 1 1
      include/ArduinoJson/TypeTraits/RemoveReference.hpp
  81. 1 1
      test/CMakeLists.txt
  82. 2 2
      test/DynamicJsonBuffer_Array_Tests.cpp
  83. 1 1
      test/DynamicJsonBuffer_Basic_Tests.cpp
  84. 1 1
      test/DynamicJsonBuffer_NoMemory_Tests.cpp
  85. 2 2
      test/DynamicJsonBuffer_Object_Tests.cpp
  86. 1 1
      test/DynamicJsonBuffer_String_Tests.cpp
  87. 38 14
      test/GbathreeBug.cpp
  88. 2 2
      test/IntegrationTests.cpp
  89. 2 2
      test/Issue10.cpp
  90. 1 1
      test/Issue214.cpp
  91. 26 10
      test/Issue34.cpp
  92. 13 5
      test/Issue90.cpp
  93. 2 2
      test/JsonArray_Add_Tests.cpp
  94. 2 2
      test/JsonArray_Basic_Tests.cpp
  95. 1 1
      test/JsonArray_CopyFrom_Tests.cpp
  96. 1 1
      test/JsonArray_CopyTo_Tests.cpp
  97. 2 2
      test/JsonArray_Invalid_Tests.cpp
  98. 2 2
      test/JsonArray_Iterator_Tests.cpp
  99. 1 1
      test/JsonArray_PrettyPrintTo_Tests.cpp
  100. 1 1
      test/JsonArray_PrintTo_Tests.cpp

+ 1 - 1
ArduinoJson.h

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
CMakeLists.txt

@@ -1,4 +1,4 @@
-# Copyright Benoit Blanchon 2014-2016
+# Copyright Benoit Blanchon 2014-2017
 # MIT License
 # 
 # Arduino JSON library

+ 1 - 1
LICENSE.md

@@ -1,7 +1,7 @@
 The MIT License (MIT)
 ---------------------
 
-Copyright © 2014-2016 Benoit BLANCHON
+Copyright © 2014-2017 Benoit BLANCHON
 
 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
 

+ 1 - 1
examples/IndentedPrintExample/IndentedPrintExample.ino

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
examples/JsonGeneratorExample/JsonGeneratorExample.ino

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
examples/JsonHttpClient/JsonHttpClient.ino

@@ -1,7 +1,7 @@
 // Sample Arduino Json Web Client
 // Downloads and parse http://jsonplaceholder.typicode.com/users/1
 //
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
examples/JsonParserExample/JsonParserExample.ino

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 3 - 3
examples/JsonUdpBeacon/JsonUdpBeacon.ino

@@ -3,11 +3,11 @@
 // You can easily test this program with netcat:
 // $ nc -ulp 8888
 //
-// by Benoit Blanchon, MIT License 2015-2016
+// by Benoit Blanchon, MIT License 2015-2017
 
-#include <SPI.h>
-#include <Ethernet.h>
 #include <ArduinoJson.h>
+#include <Ethernet.h>
+#include <SPI.h>
 
 byte mac[] = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED};
 IPAddress localIp(192, 168, 0, 177);

+ 1 - 1
examples/ProgmemExample/ProgmemExample.ino

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
examples/StringExample/StringExample.ino

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson.h

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Configuration.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Data/Encoding.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 2 - 2
include/ArduinoJson/Data/JsonBufferAllocated.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library
@@ -19,7 +19,7 @@ class JsonBufferAllocated {
     return jsonBuffer->alloc(n);
   }
 
-  void operator delete(void *, JsonBuffer *) throw() {}
+  void operator delete(void *, JsonBuffer *)throw() {}
 };
 }
 }

+ 1 - 1
include/ArduinoJson/Data/JsonFloat.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Data/JsonInteger.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Data/JsonVariantAs.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Data/JsonVariantContent.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Data/JsonVariantDefault.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Data/JsonVariantType.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Data/List.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 7 - 3
include/ArduinoJson/Data/ListConstIterator.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library
@@ -18,8 +18,12 @@ class ListConstIterator {
  public:
   explicit ListConstIterator(const ListNode<T> *node = NULL) : _node(node) {}
 
-  const T &operator*() const { return _node->content; }
-  const T *operator->() { return &_node->content; }
+  const T &operator*() const {
+    return _node->content;
+  }
+  const T *operator->() {
+    return &_node->content;
+  }
 
   bool operator==(const ListConstIterator<T> &other) const {
     return _node == other._node;

+ 11 - 5
include/ArduinoJson/Data/ListIterator.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library
@@ -7,8 +7,8 @@
 
 #pragma once
 
-#include "ListNode.hpp"
 #include "ListConstIterator.hpp"
+#include "ListNode.hpp"
 
 namespace ArduinoJson {
 namespace Internals {
@@ -19,8 +19,12 @@ class ListIterator {
  public:
   explicit ListIterator(ListNode<T> *node = NULL) : _node(node) {}
 
-  T &operator*() const { return _node->content; }
-  T *operator->() { return &_node->content; }
+  T &operator*() const {
+    return _node->content;
+  }
+  T *operator->() {
+    return &_node->content;
+  }
 
   bool operator==(const ListIterator<T> &other) const {
     return _node == other._node;
@@ -35,7 +39,9 @@ class ListIterator {
     return *this;
   }
 
-  operator ListConstIterator<T>() const { return ListConstIterator<T>(_node); }
+  operator ListConstIterator<T>() const {
+    return ListConstIterator<T>(_node);
+  }
 
  private:
   ListNode<T> *_node;

+ 1 - 1
include/ArduinoJson/Data/ListNode.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Data/Parse.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 4 - 2
include/ArduinoJson/Data/ReferenceType.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library
@@ -19,7 +19,9 @@ class ReferenceType {
     return this == &other;
   }
 
-  bool operator!=(const ReferenceType& other) const { return this != &other; }
+  bool operator!=(const ReferenceType& other) const {
+    return this != &other;
+  }
 
  protected:
   ReferenceType() {}

+ 1 - 1
include/ArduinoJson/Data/ValueSetter.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Deserialization/Comments.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Deserialization/JsonParser.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Deserialization/JsonParserImpl.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Deserialization/StringReader.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Deserialization/StringWriter.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/DynamicJsonBuffer.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/JsonArray.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/JsonArrayImpl.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/JsonArraySubscript.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/JsonBuffer.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/JsonBufferBase.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/JsonBufferImpl.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/JsonObject.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/JsonObjectImpl.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/JsonObjectSubscript.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/JsonPair.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/JsonVariant.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/JsonVariantBase.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/JsonVariantComparisons.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/JsonVariantImpl.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Polyfills/attributes.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Polyfills/math.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Polyfills/normalize.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Print.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/RawJson.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 4 - 2
include/ArduinoJson/Serialization/DummyPrint.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library
@@ -15,7 +15,9 @@ namespace Internals {
 // A dummy Print implementation used in JsonPrintable::measureLength()
 class DummyPrint : public Print {
  public:
-  virtual size_t write(uint8_t) { return 1; }
+  virtual size_t write(uint8_t) {
+    return 1;
+  }
 };
 }
 }

+ 1 - 1
include/ArduinoJson/Serialization/DynamicStringBuilder.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Serialization/IndentedPrint.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Serialization/JsonPrintable.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Serialization/JsonSerializer.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Serialization/JsonSerializerImpl.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Serialization/JsonWriter.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Serialization/Prettyfier.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Serialization/StaticStringBuilder.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/Serialization/StreamPrintAdapter.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/StaticJsonBuffer.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/StringTraits/ArduinoStream.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/StringTraits/CharPointer.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/StringTraits/FlashString.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/StringTraits/StdStream.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/StringTraits/StdString.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/StringTraits/StringTraits.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/TypeTraits/ConstRefOrConstPtr.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/TypeTraits/EnableIf.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/TypeTraits/IsBaseOf.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/TypeTraits/IsFloatingPoint.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/TypeTraits/IsIntegral.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/TypeTraits/IsSame.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/TypeTraits/IsSignedIntegral.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/TypeTraits/IsUnsignedIntegral.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/TypeTraits/RemoveConst.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
include/ArduinoJson/TypeTraits/RemoveReference.hpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
test/CMakeLists.txt

@@ -1,4 +1,4 @@
-# Copyright Benoit Blanchon 2014-2016
+# Copyright Benoit Blanchon 2014-2017
 # MIT License
 #
 # Arduino JSON library

+ 2 - 2
test/DynamicJsonBuffer_Array_Tests.cpp

@@ -1,12 +1,12 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library
 // https://github.com/bblanchon/ArduinoJson
 // If you like this project, please add a star!
 
-#include <gtest/gtest.h>
 #include <ArduinoJson.h>
+#include <gtest/gtest.h>
 
 TEST(DynamicJsonBuffer_Array_Tests, GrowsWithArray) {
   DynamicJsonBuffer jsonBuffer;

+ 1 - 1
test/DynamicJsonBuffer_Basic_Tests.cpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
test/DynamicJsonBuffer_NoMemory_Tests.cpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 2 - 2
test/DynamicJsonBuffer_Object_Tests.cpp

@@ -1,12 +1,12 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library
 // https://github.com/bblanchon/ArduinoJson
 // If you like this project, please add a star!
 
-#include <gtest/gtest.h>
 #include <ArduinoJson.h>
+#include <gtest/gtest.h>
 
 TEST(DynamicJsonBuffer_Object_Tests, GrowsWithObject) {
   DynamicJsonBuffer json;

+ 1 - 1
test/DynamicJsonBuffer_String_Tests.cpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 38 - 14
test/GbathreeBug.cpp

@@ -1,12 +1,12 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library
 // https://github.com/bblanchon/ArduinoJson
 // If you like this project, please add a star!
 
-#include <gtest/gtest.h>
 #include <ArduinoJson.h>
+#include <gtest/gtest.h>
 
 class GbathreeBug : public testing::Test {
  public:
@@ -34,37 +34,61 @@ class GbathreeBug : public testing::Test {
   }
 };
 
-TEST_F(GbathreeBug, Success) { EXPECT_TRUE(_object.success()); }
+TEST_F(GbathreeBug, Success) {
+  EXPECT_TRUE(_object.success());
+}
 
 TEST_F(GbathreeBug, ProtocolName) {
   EXPECT_STREQ("fluorescence", _object["protocol_name"]);
 }
 
-TEST_F(GbathreeBug, Repeats) { EXPECT_EQ(1, _object["repeats"]); }
+TEST_F(GbathreeBug, Repeats) {
+  EXPECT_EQ(1, _object["repeats"]);
+}
 
-TEST_F(GbathreeBug, Wait) { EXPECT_EQ(0, _object["wait"]); }
+TEST_F(GbathreeBug, Wait) {
+  EXPECT_EQ(0, _object["wait"]);
+}
 
-TEST_F(GbathreeBug, Measurements) { EXPECT_EQ(3, _object["measurements"]); }
+TEST_F(GbathreeBug, Measurements) {
+  EXPECT_EQ(3, _object["measurements"]);
+}
 
-TEST_F(GbathreeBug, Meas2_Light) { EXPECT_EQ(15, _object["meas2_light"]); }
+TEST_F(GbathreeBug, Meas2_Light) {
+  EXPECT_EQ(15, _object["meas2_light"]);
+}
 
-TEST_F(GbathreeBug, Meas1_Baseline) { EXPECT_EQ(0, _object["meas1_baseline"]); }
+TEST_F(GbathreeBug, Meas1_Baseline) {
+  EXPECT_EQ(0, _object["meas1_baseline"]);
+}
 
-TEST_F(GbathreeBug, Act_Light) { EXPECT_EQ(20, _object["act_light"]); }
+TEST_F(GbathreeBug, Act_Light) {
+  EXPECT_EQ(20, _object["act_light"]);
+}
 
-TEST_F(GbathreeBug, Pulsesize) { EXPECT_EQ(25, _object["pulsesize"]); }
+TEST_F(GbathreeBug, Pulsesize) {
+  EXPECT_EQ(25, _object["pulsesize"]);
+}
 
 TEST_F(GbathreeBug, Pulsedistance) {
   EXPECT_EQ(10000, _object["pulsedistance"]);
 }
 
-TEST_F(GbathreeBug, Actintensity1) { EXPECT_EQ(50, _object["actintensity1"]); }
+TEST_F(GbathreeBug, Actintensity1) {
+  EXPECT_EQ(50, _object["actintensity1"]);
+}
 
-TEST_F(GbathreeBug, Actintensity2) { EXPECT_EQ(255, _object["actintensity2"]); }
+TEST_F(GbathreeBug, Actintensity2) {
+  EXPECT_EQ(255, _object["actintensity2"]);
+}
 
-TEST_F(GbathreeBug, Measintensity) { EXPECT_EQ(255, _object["measintensity"]); }
+TEST_F(GbathreeBug, Measintensity) {
+  EXPECT_EQ(255, _object["measintensity"]);
+}
 
-TEST_F(GbathreeBug, Calintensity) { EXPECT_EQ(255, _object["calintensity"]); }
+TEST_F(GbathreeBug, Calintensity) {
+  EXPECT_EQ(255, _object["calintensity"]);
+}
 
 TEST_F(GbathreeBug, Pulses) {
   // "pulses":[50,50,50]

+ 2 - 2
test/IntegrationTests.cpp

@@ -1,12 +1,12 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library
 // https://github.com/bblanchon/ArduinoJson
 // If you like this project, please add a star!
 
-#include <gtest/gtest.h>
 #include <ArduinoJson.h>
+#include <gtest/gtest.h>
 
 class IntegrationTests : public testing::TestWithParam<const char*> {
   static const size_t MAX_JSON_SIZE = 10000;

+ 2 - 2
test/Issue10.cpp

@@ -1,12 +1,12 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library
 // https://github.com/bblanchon/ArduinoJson
 // If you like this project, please add a star!
 
-#include <gtest/gtest.h>
 #include <ArduinoJson.h>
+#include <gtest/gtest.h>
 
 struct Person {
   int id;

+ 1 - 1
test/Issue214.cpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 26 - 10
test/Issue34.cpp

@@ -1,12 +1,12 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library
 // https://github.com/bblanchon/ArduinoJson
 // If you like this project, please add a star!
 
-#include <gtest/gtest.h>
 #include <ArduinoJson.h>
+#include <gtest/gtest.h>
 
 class Issue34 : public testing::Test {
  protected:
@@ -23,18 +23,34 @@ class Issue34 : public testing::Test {
   }
 };
 
-TEST_F(Issue34, int8_t) { test_with_value<int8_t>(1); }
+TEST_F(Issue34, int8_t) {
+  test_with_value<int8_t>(1);
+}
 
-TEST_F(Issue34, uint8_t) { test_with_value<uint8_t>(2); }
+TEST_F(Issue34, uint8_t) {
+  test_with_value<uint8_t>(2);
+}
 
-TEST_F(Issue34, int16_t) { test_with_value<int16_t>(3); }
+TEST_F(Issue34, int16_t) {
+  test_with_value<int16_t>(3);
+}
 
-TEST_F(Issue34, uint16_t) { test_with_value<uint16_t>(4); }
+TEST_F(Issue34, uint16_t) {
+  test_with_value<uint16_t>(4);
+}
 
-TEST_F(Issue34, int32_t) { test_with_value<int32_t>(5); }
+TEST_F(Issue34, int32_t) {
+  test_with_value<int32_t>(5);
+}
 
-TEST_F(Issue34, uint32_t) { test_with_value<uint32_t>(6); }
+TEST_F(Issue34, uint32_t) {
+  test_with_value<uint32_t>(6);
+}
 
-TEST_F(Issue34, float) { test_with_value<float>(7); }
+TEST_F(Issue34, float) {
+  test_with_value<float>(7);
+}
 
-TEST_F(Issue34, double) { test_with_value<double>(8); }
+TEST_F(Issue34, double) {
+  test_with_value<double>(8);
+}

+ 13 - 5
test/Issue90.cpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library
@@ -20,10 +20,18 @@ static const char* superLong =
 
 static const JsonVariant variant = RawJson(superLong);
 
-TEST(SUITE, IsNotALong) { ASSERT_FALSE(variant.is<long>()); }
+TEST(SUITE, IsNotALong) {
+  ASSERT_FALSE(variant.is<long>());
+}
 
-TEST(SUITE, AsLong) { ASSERT_EQ(LONG_MAX, variant.as<long>()); }
+TEST(SUITE, AsLong) {
+  ASSERT_EQ(LONG_MAX, variant.as<long>());
+}
 
-TEST(SUITE, IsAString) { ASSERT_FALSE(variant.is<const char*>()); }
+TEST(SUITE, IsAString) {
+  ASSERT_FALSE(variant.is<const char*>());
+}
 
-TEST(SUITE, AsString) { ASSERT_STREQ(superLong, variant.as<const char*>()); }
+TEST(SUITE, AsString) {
+  ASSERT_STREQ(superLong, variant.as<const char*>());
+}

+ 2 - 2
test/JsonArray_Add_Tests.cpp

@@ -1,12 +1,12 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library
 // https://github.com/bblanchon/ArduinoJson
 // If you like this project, please add a star!
 
-#include <gtest/gtest.h>
 #include <ArduinoJson.h>
+#include <gtest/gtest.h>
 
 class JsonArray_Add_Tests : public ::testing::Test {
  protected:

+ 2 - 2
test/JsonArray_Basic_Tests.cpp

@@ -1,12 +1,12 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library
 // https://github.com/bblanchon/ArduinoJson
 // If you like this project, please add a star!
 
-#include <gtest/gtest.h>
 #include <ArduinoJson.h>
+#include <gtest/gtest.h>
 
 #define TEST_(name) TEST(JsonArray_Basic_Tests, name)
 

+ 1 - 1
test/JsonArray_CopyFrom_Tests.cpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
test/JsonArray_CopyTo_Tests.cpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 2 - 2
test/JsonArray_Invalid_Tests.cpp

@@ -1,12 +1,12 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library
 // https://github.com/bblanchon/ArduinoJson
 // If you like this project, please add a star!
 
-#include <gtest/gtest.h>
 #include <ArduinoJson.h>
+#include <gtest/gtest.h>
 
 TEST(JsonArray_Invalid_Tests, SubscriptFails) {
   ASSERT_FALSE(JsonArray::invalid()[0].success());

+ 2 - 2
test/JsonArray_Iterator_Tests.cpp

@@ -1,12 +1,12 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library
 // https://github.com/bblanchon/ArduinoJson
 // If you like this project, please add a star!
 
-#include <gtest/gtest.h>
 #include <ArduinoJson.h>
+#include <gtest/gtest.h>
 
 template <typename TIterator>
 static void run_iterator_test() {

+ 1 - 1
test/JsonArray_PrettyPrintTo_Tests.cpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

+ 1 - 1
test/JsonArray_PrintTo_Tests.cpp

@@ -1,4 +1,4 @@
-// Copyright Benoit Blanchon 2014-2016
+// Copyright Benoit Blanchon 2014-2017
 // MIT License
 //
 // Arduino JSON library

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.