1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-27 02:20:05 +00:00
Commit graph

223 commits

Author SHA1 Message Date
jules
809651694e Simplified the SparseSet class using Ranges 2018-04-03 16:18:06 +01:00
jules
c734e03dd0 Avoided some UB warnings when trying to sort empty arrays 2018-03-21 10:49:27 +00:00
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00:00
Tom Poole
f1af3908d5 Documentation fixes 2018-03-11 09:25:09 +00:00
reuk
bd290d8283 Avoid sorting arrays which contain one or fewer elements 2018-02-21 11:38:48 +00:00
ed
d77f4fe691 Added an initialiser list constructor to OwnedArray 2018-02-20 17:22:28 +00:00
jules
13cbb960f4 Fixed a warning on Android 2018-01-16 12:52:25 +00:00
jules
e2688eec0a Added methods AbstractFifo::read() and AbstractFifo::write() which return a scope-based object to make it easy to hold, release and iterate blocks of items. 2018-01-16 12:38:44 +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
jules
48a5fbd333 Another batch of ScopedPointer cleanups 2018-01-10 14:49:57 +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
Tom Poole
170cc39858 Fixed data races in the Atomic and AbstractFifo classes 2017-12-04 17:22:05 +00:00
jules
f4963a27d7 Minor optimisations and cleanups in Array 2017-12-04 11:08:20 +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
27df960a52 Fix for VS2015 2017-11-27 09:42:32 +00:00
jules
117df12136 Fixed constness of a few SparseSet methods, and added some move operators 2017-11-27 09:27:19 +00:00
jules
2dc9316420 Misc ScopedPointer changes to start using reset() and get() rather than assignments and casts (part of an ongoing drift towards more std::unique_ptr compatibility) 2017-11-01 17:41:06 +00:00
jules
6b45923426 Made the NamedValueSet begin/end iterators const, and tidied up a few other things in that class, including a fix to its equality operator 2017-10-30 13:53:46 +00:00
jules
9e78aa7b32 Spelling fix 2017-10-21 08:27:57 +01:00
jules
f0ef700e46 Modernised a bunch of code mainly relating to character/string iteration 2017-10-19 16:52:20 +01:00
jules
6cb79e1414 Added back std::initializer_list constructors for Array and StringArray in addition to the variadic constructors 2017-10-17 16:17:21 +01:00
jules
acf28c6fa7 Removed the explicitness of the Array single-item constructors 2017-10-17 15:21:26 +01:00
jules
7ece1b4135 Changed Array and StringArray to use variadic template constructors instead of initializer_lists, so that we can use them on old platforms 2017-10-16 12:08:06 +01:00
jules
8a7f992725 Small fix in ReferenceCountedArray 2017-10-16 10:11:53 +01:00
jules
b0cd45329f Fixed a cast warning, added some missing move operators to ReferenceCountedArray and URL, and tidied up some internal array code 2017-10-13 14:49:49 +01:00
tpoole
3cb185fcc3 A minor code cleanup 2017-10-12 12:31:55 +01:00
jules
dd4230586f Noticed that we still had some template whitespace workarounds for older compilers, so tidied them up 2017-10-11 12:26:05 +01:00
jules
3d7c777238 Some light modernisation of a bunch of old code 2017-10-04 12:47:43 +01:00
jules
4f204f405d Added a method var::hasProperty() 2017-09-15 09:55:53 +01:00
tpoole
0c3faf4b58 Added an OS X 10.6 compatibility fix 2017-09-08 09:51:41 +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
tpoole
b58a0f4be7 Fixed some VS2013 compiler errors 2017-09-07 16:44:46 +01:00
jules
7c6f3d40b6 Tidied up some method calls involving HeapBlock 2017-09-05 16:06:57 +01:00
jules
a0d8137fea Tidied up the DefaultHashFunctions methods, to avoid some edge-case values and avoid using abs() 2017-08-21 11:45:24 +01:00
jules
dcbe32f527 Added some missing move constructors to SortedSet 2017-08-11 09:58:23 +01:00
tpoole
5b6e482a0d JSON: Added the ability to limit the number of decimal places when serialising floating point numbers 2017-07-31 12:23:27 +01:00
jules
df14b18c17 cleaned up a method in Array 2017-07-23 09:46:45 +01:00
jules
86deea87ce Added variadic add methods to Array 2017-07-23 09:29:21 +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
tpoole
a5c404a155 Fixed a bug running the same unit tests successively 2017-07-19 12:17:18 +01:00
hogliux
11e45e902a Fixed a compiler error in MSVC in a recent commit when unit tests are enabled 2017-06-30 11:29:28 +01:00
hogliux
4c6b5f0a8b Cleaned up some code in HashMap and added a getReference method 2017-06-29 17:25:48 +01:00
jules
e7923af185 Got rid of the old PARAMETER_TYPE macro - this isn't needed as the same thing can be done directly with the TypeHelpers::ParameterType helper class 2017-05-10 09:37:37 +01:00
tpoole
098110bc5f Suppressed a VS2013 assignment operator compiler warning 2017-05-04 09:54:52 +01:00
tpoole
f4046909ab Added an OS X 10.5 compatible std::function replacement 2017-05-03 15:36:25 +01:00
tpoole
2a189100d7 Made ListenerList.callExcluding take a pointer argument 2017-05-02 22:09:39 +01:00
jules
8689df5590 Fixed a few c++17 warnings 2017-05-02 10:18:33 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
jules
bf94ab0e4c Made a few minor tweaks to reduce the number of pedantic -Wfloat-equals warnings 2017-04-21 15:09:35 +01:00