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
|
d909b5aa2a
|
Added some base class initialisers to keep gcc 4.8.2 happy
|
11 years ago |
jules
|
f38dc2fe3a
|
Added a DynamicObject::cloneAllProperties() method.
|
11 years ago |
jules
|
174e04b766
|
Added a copy constructor for DynamicObject
|
11 years ago |
jules
|
a7df25f860
|
Added methods var::clone() and DynamicObject::clone() for deep-copying objects.
|
11 years ago |
jules
|
1a2aff80a7
|
Moved some JSON formatting logic into DynamicObject::writeAsJSON
|
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
|
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
|
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
|
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
|
0853a9b686
|
Removed const-ness from some return types to take advantage of future c++0x advantages.
|
14 years ago |
Julian Storer
|
67e22bbb56
|
Added selection to treeview persistent state. Minor optimisations to AudioThumbnail. Added FTP password support for win32 networking. Cleaned up some file dependencies and altered some return value types to allow better c++0x forwarding behaviour.
|
14 years ago |
Julian Storer
|
a9b1676028
|
Fixed for OpenGL, DropShadower, Linux midi, VST resizing + mouse wheel hooks.
|
14 years ago |
Julian Storer
|
f04309f44a
|
Added fake placeholder versions of the new c++0x 'noexcept' and 'nullptr' keywords, and altered the library classes to use these instead of 'throw()' and '0'. This shouldn't make any difference at all to existing code, but will enable better static checking with future c++0x compilers.
|
14 years ago |
Julian Storer
|
5d98779f19
|
Updated the date in the copyright notice.
|
14 years ago |
Julian Storer
|
377b9ff2c4
|
Added a couple of useful constructors to some stream classes. Replaced some old static functions with anonymous namespaces.
|
14 years ago |
Julian Storer
|
b46e94cffd
|
New class StringPool. Removed the class var::identifier from its parent class, and renamed it "Identifier" - I've left a typedef in var to allow old code to still work, but I'll remove this at some point, so please switch to using the new classname directly. Jucer development.
|
15 years ago |
Julian Storer
|
27506c2120
|
Copyright notice update.
|
15 years ago |
Julian Storer
|
63d3d8a77e
|
New class: NamedValueSet, which is a simple container for named var objects. Removed the clunky get/setComponentProperty methods and replaced them a single method Component::getProperties(), which returns a NamedValueSet for that component - if you've used component properties in your code you might need to change your syntax, but this is a cleaner solution, and using var objects for the data is more powerful than the old, string-based implementation. Also fixed a Mac image rendering bug.
|
15 years ago |