reuk
|
224c4f706b
|
JSON: Add new JSON::Formatter for configuring JSON output
This also fixes an issue where MIDI CI header data could contain spaces,
which is not allowed according to the spec.
|
1 year ago |
Tom Poole
|
6bf9bb9a2e
|
Add final specifiers in implementation files
|
1 year ago |
Tom Poole
|
4153d59e39
|
Formatting
|
1 year ago |
Tom Poole
|
dea3fe60e4
|
Update copyright banners
|
3 years ago |
Tom Poole
|
894e7d2bd2
|
Updated all license headers
|
5 years ago |
Tom Poole
|
2d16374b14
|
Updated all license headers
|
5 years ago |
ed
|
59a058fdc6
|
Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough
|
5 years ago |
jules
|
e5f8937082
|
Workaround for VS warning
|
5 years ago |
jules
|
002dc803a1
|
Refactored the JSON parser to produce error messages which contain the line + column
|
5 years ago |
ed
|
497a1b3fb7
|
Added juce_UnitTestCategories.h to replace raw strings used for test categories
|
6 years ago |
ed
|
f3af250ff7
|
Tidied up unit test code layout
|
6 years ago |
Tom Poole
|
ce6339f332
|
Added a trailing decimal when serialising integer valued doubles
|
6 years ago |
Tom Poole
|
0d019acd1c
|
Added a trailing decimal when serialising integer valued doubles
|
6 years ago |
Tom Poole
|
4700dd9773
|
Serialise doubles into more human friendly XML and JSON
|
6 years ago |
Tom Poole
|
bbe49f6b36
|
Serialise doubles into more human friendly XML and JSON
|
6 years ago |
Tom Poole
|
865eabd434
|
Fixed a bug writing doubles to XML and JSON
|
6 years ago |
ed
|
3ba771507d
|
Avoid unnecessary zeros when writing double values to XML or JSON
|
6 years ago |
jules
|
d5034083cb
|
Fix for JSON stringification of INF and NaN double values
|
6 years ago |
jules
|
3d7c777238
|
Some light modernisation of a bunch of old code
|
7 years ago |
jules
|
eda613c6db
|
Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools
|
7 years ago |
tpoole
|
5b6e482a0d
|
JSON: Added the ability to limit the number of decimal places when serialising floating point numbers
|
7 years ago |
tpoole
|
db1e79601e
|
Fixed an intermittent JSON parsing test failure
|
7 years ago |
ed
|
6bfcd820b4
|
Unit tests: Added an optional argument to the UnitTest constructor to specify a category and methods to get and run unit tests in a specified category. Updated the built-in JUCE unit tests and Demo project to use categories.
|
7 years ago |
hogliux
|
b5afccc37c
|
Updated file headers and the README with the JUCE 5 license
|
8 years ago |
jules
|
8ed41ed14b
|
Fixed some whitespace style and cleaned up some code using C++11
|
8 years ago |
hogliux
|
6559b3e185
|
Fixed multiple harmless warnings in Android builds
|
8 years ago |
tpoole
|
2e84129479
|
Updated the juce_audio_basics, juce_audio_devices, juce_blocks_basics, juce_core and juce_events modules to a new ISC license
|
8 years ago |
jules
|
9fa0d49be7
|
Added an option JUCE_ALLOW_STATIC_NULL_VARIABLES that can be used to turn off dangerous statics like String::empty, var::null, etc.
|
8 years ago |
jules
|
0d96a8b47f
|
Avoided some false negatives in the JSON unit tests
|
9 years ago |
jules
|
d9e3cdac16
|
Removed a few references to var::null
|
9 years ago |
jules
|
88ca15e6f2
|
Added override specifiers to unit test classes
|
9 years ago |
hogliux
|
c7b8e77031
|
Update copyright notice
|
9 years ago |
jules
|
efb40313b4
|
Avoided a false alarm unit test failure.
|
10 years ago |
jules
|
710aec4503
|
Fixed a couple of broken unit tests
|
10 years ago |
jules
|
4317f60173
|
Refactored the StringPool and Identifier classes to store the identifiers as Strings, so that they can be shared with other classes like XmlElement without creating temporary or copied String objects. Also added garbage collection for the pooled strings, and changed XmlElement to pool all of the strings it uses, to reduce memory footprint in large XML trees with many identical names. Also refactored NamedValueSet to use an array instead of a linked list.
|
11 years ago |
jules
|
0530b6b01a
|
Added a JSON::fromString method.
|
11 years ago |
jules
|
a316bd5f6f
|
Removed a few more places where static objects could cause problems for people who do unwise amounts of work in their static constructors.
|
11 years ago |
jules
|
6c5c461d73
|
New class: JavascriptEngine!
|
11 years ago |
jules
|
1a2aff80a7
|
Moved some JSON formatting logic into DynamicObject::writeAsJSON
|
11 years ago |
jules
|
97823b3085
|
Added a method JSON::parseQuotedString
|
11 years ago |
jules
|
03ab2a2c3c
|
Modifications to the var class to make it more javascript-compatible. Changed the handling of array types to be a shared, ref-counted array rather than being copy-by-value. Added an "undefined" type. Updated the native method invocation functions to be static (the old version used class methods) and to provide a 'this' object which may be different from the DynamicObject on which it's being invoked (this is to deal with derived classes)
|
11 years ago |
jules
|
15424753c3
|
Added method JSON::escapeString
|
11 years ago |
jules
|
435089e89b
|
Updated the UnitTest class to provide a shared, reproducible random seed for each run, to allow failures to be re-created. Also converted a few Strings to StringRefs.
|
11 years ago |
jules
|
2fccfccbc0
|
Misc performance tweaks.
|
11 years ago |
jules
|
03c2801f3f
|
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
|
12 years ago |
jules
|
ed03b30c01
|
JSON parsing fix.
|
12 years ago |
jules
|
dde56bab6a
|
Added a binary data type to the var class.
|
12 years ago |
jules
|
c48aab2e9e
|
Added export flag to JSON class.
|
12 years ago |
jules
|
bfd9350bed
|
Changed some types from int to size_t where appropriate. Fixed a CoreMidi build problem in 64-bit mode.
|
12 years ago |
jules
|
bdd778332d
|
Removed some unused android code. Refactored some messaging code.
|
13 years ago |