1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
Commit graph

65 commits

Author SHA1 Message Date
jules
a586966c65 Added lambda callback methods to ListenerList. Its old method-invocation callbacks were refactored to use variadic templates instead of the old awful macros they used in the past, but please move your code to use the new lambda functions, as the one stuff will eventually be deprecated! 2017-11-28 16:18:40 +00:00
jules
2e9bd44006 Added a unit-test for ValueTree::readFromGZIPData 2017-11-27 16:56:32 +00:00
jules
babea0885b Added a method ValueTree::appendChild(). Also tidied up a lot of the ValueTree comments, which were a bit scrappy. 2017-11-11 14:17:48 +00:00
jules
4d375d0bc2 Added a parameter to ValueTree::getPropertyAsValue() to allow synchronous updates 2017-10-31 12:17:00 +00:00
tpoole
3cb185fcc3 A minor code cleanup 2017-10-12 12:31:55 +01:00
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 2017-09-08 08:59:55 +01:00
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. 2017-07-20 17:24:05 +01:00
tpoole
2a189100d7 Made ListenerList.callExcluding take a pointer argument 2017-05-02 22:09:39 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
jules
74004cbbe2 Did a bit of comment and code cleanup in ValueTree 2017-04-10 09:44:10 +01:00
hogliux
9f3fb1c0a6 Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated 2017-02-01 17:18:06 +00:00
jules
7eb534ae88 Added method ValueTree::getRoot() 2017-01-01 11:58:29 +00:00
tpoole
d438fa59e8 Fixed issues with AudioProcessorValueTreeState parameter synchronization 2016-11-14 12:37:01 +00:00
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. 2016-09-16 12:03:02 +01:00
jules
1942e3d0c1 Added begin/end iterator methods for ValueTree, for handy range-based-for loops over its children 2016-08-23 09:39:12 +01:00
jules
45e2b00b6c Added a method ValueTree::getPropertyPointer() 2016-04-19 09:39:11 +01:00
jules
705e7f6110 Added method XmlElement::isValidXmlName() and implemented standard-compliant checking for XML name validity 2015-10-27 16:50:31 +00:00
jules
f640c6f556 Made ValueTree::fromXml more resilient if given data containing text elements. 2015-09-24 20:03:59 -07:00
jules
64f36624ec Added a few missing override and noexcept keywords to ValueTree 2015-08-23 12:08:04 +01:00
jules
88ca15e6f2 Added override specifiers to unit test classes 2015-08-10 16:21:16 +01:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
jules
e018192de2 Performance optimisations to the way that Identifier objects are passed into var, ValueTree and NamedValueSet. The Identifer class used to be light enough to pass by value but now contains a String so is better passed by reference. 2015-06-21 18:54:08 +01:00
jules
06c1a15496 Added some missing 'override' decorators 2015-05-15 12:54:44 +01:00
jules
1c19301b1f Avoided a possible crash in ValueTree::readFromStream when loading corrupt data. 2015-05-11 15:06:35 +01:00
jules
7037b7243e Tweaked handling of corrupted data in ValueTree::readFromStream 2015-04-20 18:06:10 +01:00
jules
6bc4d7627f Modified the ValueTree::Listener::valueTreeChildRemoved() and ValueTree::Listener::valueTreeChildOrderChanged() methods to include some extra parameters that give more detailed info about exactly what changed. 2015-02-25 17:38:22 +00:00
jules
b998308ccd Whitespace. 2015-02-18 11:01:05 +00:00
jules
7e1afbb0a5 Added an explanatory assertion to ValueTree 2014-06-12 22:53:35 +01:00
jules
5587c16d78 Added a method ValueTree::getReferenceCount() 2014-06-11 16:30:28 +01:00
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. 2014-05-27 17:02:34 +01:00
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. 2013-12-02 09:44:17 +00:00
jules
2edec00b55 Removed a few more uses of String::empty. 2013-12-01 23:28:31 +00:00
jules
61ed92ee51 Added a method XmlElement::prependChildElement(), and used this for a few optimisations. 2013-10-25 12:52:19 +01:00
jules
6074c0c4cc Tweaked the ValueTree listener behaviour to avoid duplicate change callbacks. 2013-09-22 10:52:44 +01:00
jules
6cd2f43afa Tidied up some ValueTree code. 2013-09-19 11:21:46 +01:00
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. 2013-09-11 10:29:48 +01:00
jules
03c2801f3f Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3 2013-06-13 13:17:12 +01:00
jules
c7506df13f Changed some pass-by-references to pass-by-value to improve compiler optimisation. 2013-05-22 23:05:53 -06:00
jules
522fd40e46 Minor clean-ups. 2013-03-09 18:05:51 +00:00
jules
136041daa7 Fixed a couple of base-class copying typos and prevented copying of ReferenceCountedObject bases. 2013-03-08 15:13:07 +00:00
jules
d0135d9efc Worked around a GCC compiler bug. Also tidied up a bunch of GCC warnings. 2013-03-08 14:07:51 +00:00
jules
22b98217d8 Introjucer: fix for android not using external libraries setting. 2013-03-06 20:30:13 +00:00
jules
5d35a31f2e Minor clean-ups and documentation fixes. 2012-12-20 21:26:12 +00:00
jules
0ceeb573d8 Minor changes to avoid pedantic compiler warnings. 2012-12-04 21:39:15 +00:00
jules
48ffccb8b8 Minor cleanups. 2012-11-08 16:35:56 +00:00
jules
66ecd6bc7c Performance improvement for Value change notifications. 2012-11-08 11:27:02 +00:00
jules
e73b49e220 ValueTree::toXmlString method. 2012-08-12 16:56:28 +01:00
jules
66cd90e4af Added some assertions to ValueTree 2012-07-16 13:58:41 +01:00
jules
c586e91c7f ValueTree constness tweak. 2012-07-15 16:15:01 +01:00
jules
b6965d2fe5 New method: ValueTree::copyPropertiesFrom() 2012-07-12 15:55:34 +01:00