154 Commits (cdbefa3b51e2084b51e7ec506984f263708f8537)

Author SHA1 Message Date
  ed b9542ccc4c Update code to use C++14 [[deprecated]] attribute 3 years ago
  reuk 31a7c62baf
Windows: Fix and suppress some analysis warnings 4 years ago
  reuk 3baaad8b5b
XmlElement: Update loops to use new iterators 4 years ago
  ed 009d685179 Updated all license headers 4 years ago
  Tom Poole 894e7d2bd2 Updated all license headers 5 years ago
  ed c2e3dcd8bf Updated the documentation of some methods which now return std::unique_ptr instead of raw pointers to remove references to deleting the returned object 5 years ago
  Tom Poole 2d16374b14 Updated all license headers 5 years ago
  reuk 327f817b9b Copyrights: Update commercial/gpl headers to be gpl-only 5 years ago
  ed 59a058fdc6 Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough 5 years ago
  ed c2c98d3fdb Updated some incorrect documentation in ValueWithDefault 5 years ago
  ed e36736e0ec Fixed some typos 5 years ago
  jules 49fa0f73e4 Added an overload to ValueTree::fromXml() which can take an XML string and parse it 6 years ago
  jules 2e2cfb5f6c Made a lot of the functions that used to return a raw XmlElement* instead return a std::unique_ptr<XmlElement> to make it safer and more concise to capture them. Also added new methods to XmlElement for generating text, and deprecated the old ones 6 years ago
  ed 497a1b3fb7 Added juce_UnitTestCategories.h to replace raw strings used for test categories 6 years ago
  ed f3af250ff7 Tidied up unit test code layout 6 years ago
  ed c96bf71488 Removed some empty ValueTree::Listener methods that are no longer needed 6 years ago
  ed 20864a2f5f Made all of the ValueTree::Listener methods no longer pure virtual 6 years ago
  Tom Poole ce6339f332 Added a trailing decimal when serialising integer valued doubles 6 years ago
  Tom Poole 0d019acd1c Added a trailing decimal when serialising integer valued doubles 6 years ago
  Tom Poole 4700dd9773 Serialise doubles into more human friendly XML and JSON 6 years ago
  Tom Poole bbe49f6b36 Serialise doubles into more human friendly XML and JSON 6 years ago
  Tom Poole 306e7e4360 Fixed a few more places where doubles were not serialised to full accuracy 6 years ago
  ed 3913269620 Revert commit 49359df and e5204ba to ensure that ValueWithDefault objects can be set to non-default empty strings 6 years ago
  ed a234721110 Added various clang-tidy modernize-* fixes 6 years ago
  jules da2b10ada6 Got rid of some methods which had inexplicably ended up marked both 'virtual' and 'override'. 6 years ago
  jules cadac817c6 Enabled some more warning flags in Xcode, and fixed the problems they caused 6 years ago
  ed 665f1fbedf Fixed an incorrect return value from ValueWithDefault::isUsingDefault() 6 years ago
  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 717cc49382 Added the JUCE_DECLARE_WEAK_REFERENCEABLE macro to ValueWithDefault and fixed some places which were potentially accessing a deleted ValueWithDefault object 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() 6 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