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

175 commits

Author SHA1 Message Date
jules
e07782ff38 Tweaked ValueTree::toXmlString() to make it return a bare document without the XML header 2018-10-15 17:47:07 +01:00
jules
ab8202f04d Fixed a documentation typo 2018-09-10 11:45:24 +01:00
jules
e26049f141 Added assertions to Array to catch situations where a reference to a member is passed into an add() method. Also changed the form of StringArray method params to avoid this problem. 2018-08-13 10:22:23 +01:00
ed
a725f4e2b3 Fixed a bug in ValueTree::getSibling() + some misc cleanup 2018-08-02 08:52:21 +01:00
jules
4d753ed9e4 Added missing ValueTree::Iterator::operator== 2018-07-19 09:51:18 +01:00
jules
95a3f0b039 Whitespace 2018-07-03 11:51:36 +01:00
jules
1e6bbb8da9 Added some methods to allow ReferenceCountedObjectPtrs to be constructed or copied from references as well as pointers - as well as increasing safety, this actually makes things a bit more efficient as it skips a nullptr check. Updated lots of places in the code that could take advantage of this 2018-07-03 11:51:13 +01:00
jules
3a6ec3e56b Fixed a mistake in ValueTree::AddOrRemoveChildAction 2018-07-02 17:47:44 +01:00
jules
49aa9c9db4 Added flag JUCE_STRICT_REFCOUNTEDPOINTER which is recommended to avoid accidental leaks when using ref-counted pointers. Enabled this flag in the demo projects, and used it to help tidy up some dubious smart-pointer use 2018-06-26 14:06:52 +01:00
jules
eb093411fc Added method ValueTree::copyPropertiesAndChildrenFrom() 2018-06-25 17:06:41 +01:00
jules
e2427065e0 Added a handy initialiser-list based constructor for NamedValueSet 2018-06-18 10:24:51 +01:00
jules
30f6206be9 Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0 2018-05-10 09:10:09 +01:00
jules
8c38c6f57f Marked as deprecated: String::empty, var::null, File::nonexistent, ValueTree::invalid and other problematic statically-initialised null values. Please just use the default constructor for these classes! 2018-05-09 08:08:46 +01:00
jules
38295f332b Converted some old typedefs to using declarations 2018-05-03 09:59:05 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
Tom Poole
c7c26fa9f0 Removed the OS X 10.5 and 10.6 deployment target options from the Projucer and enabled more C++11 features across all platforms 2018-04-17 18:46:55 +01:00
ed
08e87599d3 Removed a newline in juce_ValueTree.cpp 2018-04-11 09:42:06 +01:00
ed
11ad96d0c8 Added some methods to ValueWithDefault for converting between Array<var> and a delimited string so that it can be written to XML 2018-03-28 15:55:40 +01:00
ed
a9283f48fa Added a lambda callback to ValueWithDefault that will be called when the default value is changed 2018-03-23 16:19:16 +00:00
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00:00
jules
b86b95b980 Fixed a bug in the ValueTree move constructor that could leave listeners pointing to a moved-from object 2018-02-14 12:17:58 +00:00
jules
5a6f33b987 Added some missing types to the ValueTree::Iterator class 2018-02-05 10:07:03 +00:00
Tom Poole
4c44d96fdf Added an initialiser list based ValueTree constructor 2018-01-19 16:22:15 +00:00
jules
8d09eaadb6 Removed some defunct code from the C++1 feature detection macros, and simplified code which no longer needs to test for feature availability 2018-01-11 09:08:51 +00:00
jules
1a60fa9765 More ScopedPointer/unique_ptr compatibility work 2018-01-10 17:35:08 +00:00
ed
1d5c75546f Added a new ValueWithDefault class to juce_data_structures and extended ChoicePropertyComponent and TextPropertyComponent to use this class 2018-01-05 14:50:05 +00:00
jules
a7e3339f86 Got rid of some very old legacy VC6 workaround typedefs 2018-01-03 09:25:19 +00:00
jules
85f74ca7d3 Clarified comments around the JUCE_ALLOW_STATIC_NULL_VARIABLES items to make clear that they're deprecated 2017-12-31 10:49:33 +00:00
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
970eda679e Added 'final' keyword to a lot of classes from which you really shouldn't be inheriting! 2017-10-09 12:38:06 +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
jules
f55cbf3724 Fixed an unused variable warning 2017-05-03 11:23:27 +01:00
jules
e38643b2a9 Added support for removing parameters to ValueTreeSynchroniser 2017-05-03 11:16:22 +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
2da1bc5f41 Replace include guards with "#pragma once" 2017-02-01 17:18:07 +00: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
Timur Doumler
56c5c8e8ac Fixed an issue in CachedValue where setValue would not actually set the property if it's equal to the default. 2016-10-27 15:38:27 +01: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
hogliux
ebb60c71d9 Add missing new line at end of file 2016-07-12 08:44:58 +01:00
jules
05f90010f5 Fixed some MSVC warnings in CachedValue 2016-04-19 16:11:05 +01:00