130 Commits (55ccb3f1d5b6d102aedb797dcd547fe767678b10)

Author SHA1 Message Date
  ed e5204bafe9 Fixed some incorrect documentation in ValueWithDefault and added some unit tests to the class 6 years ago
  ed c29eea44e3 Added a getUndoManager() method to CachedValue and ValueWithDefault and made CachedValue weak referenceable 6 years ago
  ed eaf0f990d4 Replaced all uses of static_cast<Type&&> with std::move 6 years ago
  ed 35890478a3 Added the JUCE_DECLARE_WEAK_REFERENCEABLE macro to ValueWithDefault and fixed some places which were potentially accessing a deleted ValueWithDefault object 6 years ago
  jules 8166b0018d Reverted the change to ValueTree::toXmlString(), as omitting the XML header could break existing code (will address this differently in a future commit) 6 years ago
  jules e07782ff38 Tweaked ValueTree::toXmlString() to make it return a bare document without the XML header 6 years ago
  jules ab8202f04d Fixed a documentation typo 6 years ago
  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. 6 years ago
  ed a725f4e2b3 Fixed a bug in ValueTree::getSibling() + some misc cleanup 6 years ago
  jules 4d753ed9e4 Added missing ValueTree::Iterator::operator== 6 years ago
  jules 95a3f0b039 Whitespace 6 years ago
  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 6 years ago
  jules 3a6ec3e56b Fixed a mistake in ValueTree::AddOrRemoveChildAction 6 years ago
  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 6 years ago
  jules eb093411fc Added method ValueTree::copyPropertiesAndChildrenFrom() 7 years ago
  jules e2427065e0 Added a handy initialiser-list based constructor for NamedValueSet 7 years ago
  jules d4762f1d9a Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0 7 years ago
  jules 30f6206be9 Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0 7 years ago
  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! 7 years ago
  jules 38295f332b Converted some old typedefs to using declarations 7 years ago
  Tom Poole ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 7 years ago
  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 7 years ago
  ed 08e87599d3 Removed a newline in juce_ValueTree.cpp 7 years ago
  ed 11ad96d0c8 Added some methods to ValueWithDefault for converting between Array<var> and a delimited string so that it can be written to XML 7 years ago
  ed a9283f48fa Added a lambda callback to ValueWithDefault that will be called when the default value is changed 7 years ago
  ed cdbc28c18b Add documentation tags 7 years ago
  jules b86b95b980 Fixed a bug in the ValueTree move constructor that could leave listeners pointing to a moved-from object 7 years ago
  jules 5a6f33b987 Added some missing types to the ValueTree::Iterator class 7 years ago
  Tom Poole 4c44d96fdf Added an initialiser list based ValueTree constructor 7 years ago
  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 7 years ago
  jules 1a60fa9765 More ScopedPointer/unique_ptr compatibility work 7 years ago
  ed 1d5c75546f Added a new ValueWithDefault class to juce_data_structures and extended ChoicePropertyComponent and TextPropertyComponent to use this class 7 years ago
  jules a7e3339f86 Got rid of some very old legacy VC6 workaround typedefs 7 years ago
  jules 85f74ca7d3 Clarified comments around the JUCE_ALLOW_STATIC_NULL_VARIABLES items to make clear that they're deprecated 7 years ago
  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! 7 years ago
  jules 2e9bd44006 Added a unit-test for ValueTree::readFromGZIPData 7 years ago
  jules babea0885b Added a method ValueTree::appendChild(). Also tidied up a lot of the ValueTree comments, which were a bit scrappy. 7 years ago
  jules 4d375d0bc2 Added a parameter to ValueTree::getPropertyAsValue() to allow synchronous updates 7 years ago
  tpoole 3cb185fcc3 A minor code cleanup 7 years ago
  jules 970eda679e Added 'final' keyword to a lot of classes from which you really shouldn't be inheriting! 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
  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
  jules f55cbf3724 Fixed an unused variable warning 8 years ago
  jules e38643b2a9 Added support for removing parameters to ValueTreeSynchroniser 8 years ago
  tpoole 2a189100d7 Made ListenerList.callExcluding take a pointer argument 8 years ago
  hogliux b5afccc37c Updated file headers and the README with the JUCE 5 license 8 years ago
  jules 74004cbbe2 Did a bit of comment and code cleanup in ValueTree 8 years ago
  hogliux 2da1bc5f41 Replace include guards with "#pragma once" 8 years ago
  hogliux 9f3fb1c0a6 Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated 8 years ago
  jules 7eb534ae88 Added method ValueTree::getRoot() 8 years ago