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 |
jules
|
56bbab1537
|
(automated whitespace clean-up)
|
13 years ago |
jules
|
295d125142
|
Stopped using the old BEGIN_JUCE_NAMESPACE macros, and just used hard-coded namespaces where necessary instead. The macro definitions are still there, so this shouldn't affect anyone's code.
|
13 years ago |
Julian Storer
|
dce7cd9cd1
|
Added a unit-test, and removed constness from a couple more return types.
|
13 years ago |
Julian Storer
|
b70e0a28d2
|
First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum..
|
13 years ago |
Julian Storer
|
2009753eac
|
Cleaned up some obscure compiler warnings and added some JSON unit tests.
|
14 years ago |
Julian Storer
|
796247483a
|
Added a JSON parser/formatter class. Extended the var class to hold arrays, to make it compatible with the structure of JSON data.
|
14 years ago |