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

269 commits

Author SHA1 Message Date
Tom Poole
bbe49f6b36 Serialise doubles into more human friendly XML and JSON 2019-02-27 17:59:24 +00:00
ed
6722194260 Bump version number to 5.4.3 2019-02-21 15:25:51 +00:00
Tom Poole
306e7e4360 Fixed a few more places where doubles were not serialised to full accuracy 2019-02-11 14:44:19 +00:00
ed
3913269620 Revert commit 49359df and e5204ba to ensure that ValueWithDefault objects can be set to non-default empty strings 2019-02-08 17:26:44 +00:00
Tom Poole
e3ebe5aed1 Bump version number to 5.4.2 2019-02-07 10:02:17 +00:00
ed
a234721110 Added various clang-tidy modernize-* fixes 2019-01-31 15:15:31 +00:00
jules
da2b10ada6 Got rid of some methods which had inexplicably ended up marked both 'virtual' and 'override'. 2019-01-18 09:09:06 +00:00
jules
cadac817c6 Enabled some more warning flags in Xcode, and fixed the problems they caused 2019-01-11 09:52:10 +00:00
ed
665f1fbedf Fixed an incorrect return value from ValueWithDefault::isUsingDefault() 2019-01-02 16:34:54 +00:00
ed
e5204bafe9 Fixed some incorrect documentation in ValueWithDefault and added some unit tests to the class 2018-12-18 14:23:30 +00:00
ed
c29eea44e3 Added a getUndoManager() method to CachedValue and ValueWithDefault and made CachedValue weak referenceable 2018-12-18 14:22:59 +00:00
ed
eaf0f990d4 Replaced all uses of static_cast<Type&&> with std::move 2018-11-28 17:29:20 +00:00
ed
35890478a3 Added the JUCE_DECLARE_WEAK_REFERENCEABLE macro to ValueWithDefault and fixed some places which were potentially accessing a deleted ValueWithDefault object 2018-11-16 15:53:29 +00:00
ed
6d39f01793 Bump version number to 5.4.1 2018-11-12 11:26:11 +00:00
ed
0b8fcc7a15 Bump version number to 5.4.0 2018-11-06 12:50:21 +00:00
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) 2018-10-17 11:34:57 +01:00
jules
e07782ff38 Tweaked ValueTree::toXmlString() to make it return a bare document without the XML header 2018-10-15 17:47:07 +01:00
Tom Poole
9dda1432df Fixed an overly restrictive jassert in PropertiesFile 2018-10-12 09:19:59 +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
c623805a29 Added method UndoManager::isPerformingUndoRedo() 2018-07-26 09:20: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
974b4a8351 Removed some legacy friend class declarations that are no longer needed with modern compilers 2018-06-13 17:11:37 +01:00
jules
30f6206be9 Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0 2018-05-10 09:10:09 +01:00
ed
2d79cc78c0 Bump version number to 5.3.2 2018-05-09 12:34:36 +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
Noah Dayan
1a31c86f39 Bump version number to 5.3.1 2018-04-10 17:01:54 +01:00
jules
f752a3331e Added methods UndoManager::getUndoDescriptions() and UndoManager::getRedoDescriptions() 2018-04-03 12:32:08 +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
jules
a632b57e7a Simplified ByteOrder, and made it less susceptible to UB when reading from non-aligned addresses. Removed ambiguous method ByteOrder::littleEndianInt (c1, c2, c3, c4), which was probably producing the wrong behaviour on big-endian systems 2018-03-26 12:25:02 +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
262dff8854 Bump version number to 5.3.0 2018-03-15 12:23:30 +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
ed
fa0f7a4281 Bump version number to 5.2.1 2018-02-08 10:55:52 +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