75 Commits (a88fb32b59ccbb22a48f6cc96196c73e732c411d)

Author SHA1 Message Date
  jules d4762f1d9a 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
  jules b86b95b980 Fixed a bug in the ValueTree move constructor that could leave listeners pointing to a moved-from object 7 years ago
  Tom Poole 4c44d96fdf Added an initialiser list based ValueTree constructor 7 years ago
  jules 1a60fa9765 More ScopedPointer/unique_ptr compatibility work 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 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
  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 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
  tpoole d438fa59e8 Fixed issues with AudioProcessorValueTreeState parameter synchronization 8 years ago
  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. 8 years ago
  jules 1942e3d0c1 Added begin/end iterator methods for ValueTree, for handy range-based-for loops over its children 8 years ago
  jules 45e2b00b6c Added a method ValueTree::getPropertyPointer() 9 years ago
  jules 705e7f6110 Added method XmlElement::isValidXmlName() and implemented standard-compliant checking for XML name validity 9 years ago
  jules f640c6f556 Made ValueTree::fromXml more resilient if given data containing text elements. 9 years ago
  jules 64f36624ec Added a few missing override and noexcept keywords to ValueTree 9 years ago
  jules 88ca15e6f2 Added override specifiers to unit test classes 9 years ago
  hogliux c7b8e77031 Update copyright notice 10 years ago
  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. 10 years ago
  jules 06c1a15496 Added some missing 'override' decorators 10 years ago
  jules 1c19301b1f Avoided a possible crash in ValueTree::readFromStream when loading corrupt data. 10 years ago
  jules 7037b7243e Tweaked handling of corrupted data in ValueTree::readFromStream 10 years ago
  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. 10 years ago
  jules b998308ccd Whitespace. 10 years ago
  jules 7e1afbb0a5 Added an explanatory assertion to ValueTree 11 years ago
  jules 5587c16d78 Added a method ValueTree::getReferenceCount() 11 years ago
  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 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 2edec00b55 Removed a few more uses of String::empty. 11 years ago
  jules 61ed92ee51 Added a method XmlElement::prependChildElement(), and used this for a few optimisations. 11 years ago
  jules 6074c0c4cc Tweaked the ValueTree listener behaviour to avoid duplicate change callbacks. 11 years ago
  jules 6cd2f43afa Tidied up some ValueTree code. 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 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 c7506df13f Changed some pass-by-references to pass-by-value to improve compiler optimisation. 12 years ago
  jules 522fd40e46 Minor clean-ups. 12 years ago
  jules 136041daa7 Fixed a couple of base-class copying typos and prevented copying of ReferenceCountedObject bases. 12 years ago