Skip to content

Commit

Permalink
Merge branch '4.0'
Browse files Browse the repository at this point in the history
Conflicts:
	JsonGenerator.cpp
	JsonGenerator.h
	JsonGenerator/EscapedString.cpp
	JsonGenerator/EscapedString.h
	JsonGenerator/IndentedPrint.cpp
	JsonGenerator/IndentedPrint.h
	JsonGenerator/JsonArray.h
	JsonGenerator/JsonArrayBase.cpp
	JsonGenerator/JsonArrayBase.h
	JsonGenerator/JsonObject.h
	JsonGenerator/JsonObjectBase.cpp
	JsonGenerator/JsonObjectBase.h
	JsonGenerator/JsonPrettyPrint.cpp
	JsonGenerator/JsonPrettyPrint.h
	JsonGenerator/JsonPrintable.cpp
	JsonGenerator/JsonPrintable.h
	JsonGenerator/JsonValue.cpp
	JsonGenerator/JsonValue.h
	JsonGenerator/Print.cpp
	JsonGenerator/Print.h
	JsonGenerator/Printable.h
	JsonGenerator/StringBuilder.cpp
	JsonGenerator/StringBuilder.h
	JsonGeneratorTests/EscapedStringTests.cpp
	JsonGeneratorTests/Issue10.cpp
	JsonGeneratorTests/JsonArrayTests.cpp
	JsonGeneratorTests/JsonObject_Indexer_Tests.cpp
	JsonGeneratorTests/JsonObject_PrintTo_Tests.cpp
	JsonGeneratorTests/JsonValue_Cast_Tests.cpp
	JsonGeneratorTests/JsonValue_PrintTo_Tests.cpp
	JsonGeneratorTests/PrettyPrint_Array_Tests.cpp
	JsonGeneratorTests/PrettyPrint_Object_Tests.cpp
	JsonGeneratorTests/PrettyPrint_String_Tests.cpp
	JsonGeneratorTests/StringBuilderTests.cpp
	JsonParser.cpp
	JsonParser.h
	JsonParser/JsonArray.cpp
	JsonParser/JsonArray.h
	JsonParser/JsonArrayIterator.h
	JsonParser/JsonObject.cpp
	JsonParser/JsonObject.h
	JsonParser/JsonObjectIterator.h
	JsonParser/JsonPair.h
	JsonParser/JsonParser.h
	JsonParser/JsonParserBase.cpp
	JsonParser/JsonParserBase.h
	JsonParser/JsonToken.cpp
	JsonParser/JsonToken.h
	JsonParser/JsonValue.cpp
	JsonParser/JsonValue.h
	JsonParser/README.md
	JsonParserTests/GbathreeBug.cpp
	JsonParserTests/JsonArrayIteratorTests.cpp
	JsonParserTests/JsonArrayTests.cpp
	JsonParserTests/JsonObjectIteratorTests.cpp
	JsonParserTests/JsonObjectTests.cpp
	JsonParserTests/JsonStringTests.cpp
	JsonParserTests/TestHashGenerator.cpp
	README.md
	library.json
  • Loading branch information
bblanchon committed Nov 29, 2014
2 parents 3dc533f + 69f6967 commit 348357e
Show file tree
Hide file tree
Showing 346 changed files with 150,151 additions and 5,519 deletions.
11 changes: 5 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
*.sdf
*.user
*.suo
Debug
ipch
*.opensdf
.DS_Store
/.idea
/build
/bin
/lib
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
language: c++
compiler:
- gcc
- clang
before_script: cmake .
script: make && make test
40 changes: 0 additions & 40 deletions ArduinoJson.sln

This file was deleted.

13 changes: 0 additions & 13 deletions BuildArduinoPackage.sh

This file was deleted.

9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Arduino JSON: change log
========================

v4.0
----

* Unified parser and generator API (issue #23)
* Updated library layout, now requires Arduino 1.0.6 or newer

**BREAKING CHANGE**: API changed significantly, see `doc/Migrating to the new API.md`.


v3.4
----

Expand Down
15 changes: 15 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
cmake_minimum_required(VERSION 2.8.4)
project(ArduinoJson)

enable_testing()

set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)

if(MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS -W4)
endif()

add_subdirectory(src)
add_subdirectory(test)
1 change: 0 additions & 1 deletion FixEndOfFile.sh

This file was deleted.

15 changes: 0 additions & 15 deletions JsonGenerator.cpp

This file was deleted.

7 changes: 0 additions & 7 deletions JsonGenerator.h

This file was deleted.

45 changes: 0 additions & 45 deletions JsonGenerator/EscapedString.cpp

This file was deleted.

20 changes: 0 additions & 20 deletions JsonGenerator/EscapedString.h

This file was deleted.

45 changes: 0 additions & 45 deletions JsonGenerator/IndentedPrint.cpp

This file was deleted.

53 changes: 0 additions & 53 deletions JsonGenerator/IndentedPrint.h

This file was deleted.

28 changes: 0 additions & 28 deletions JsonGenerator/JsonArray.h

This file was deleted.

34 changes: 0 additions & 34 deletions JsonGenerator/JsonArrayBase.cpp

This file was deleted.

Loading

0 comments on commit 348357e

Please sign in to comment.