48 Commits (4b96ffbf6f49518df1eceeb1d70b26088897380e)

Author SHA1 Message Date
  Timur Doumler b94a68c9ec Array: added new method removeIf to remove objects based on an arbitrary condition. Made removeIf and removeAllInstancesOf return the number of objects removed. 8 years ago
  jules 49b9619176 Added a cast to avoid a warning in Array 8 years ago
  jules b439452edd Changed the Array::remove() method to return void, and added an Array::removeAndReturn() method to replace the old functionality 9 years ago
  Timur Doumler fc69dc00db Changed addIfNotAlreadyThere method of all array classes to return a bool, indicating whether the object was added or not. 9 years ago
  Timur Doumler 17497122e4 Consistency fix: renamed Array::empty() to Array::isEmpty() and added a method isEmpty() to all container classes which didn't have it yet. 9 years ago
  jules 4583fa3fbf Used the ignoreUnused() function to tidy up some old code 9 years ago
  jules 02492b36b9 Lots of small whitespace tweaks. 9 years ago
  jules c334530f29 Added new method Array::remove that takes an element pointer. 9 years ago
  jules 4fd8913037 Added a new method Array::sort() which uses the default comparator for simple types 9 years ago
  jules 399e248488 Added new module: juce_osc 9 years ago
  hogliux c7b8e77031 Update copyright notice 9 years ago
  jules d723d58b16 Documentation fix. 10 years ago
  jules 8c66a5e767 Added flag JUCE_COMPILER_SUPPORTS_INITIALIZER_LIST, and implemented some constructors for StringArray and Array that use C+++11 initialiser lists. 10 years ago
  jules cde93f6e88 Workaround for a VS2014 compiler bug. 10 years ago
  jules 3e7d305094 A few minor whitespace cleanups. 10 years ago
  jules 91d9c96338 Minor clean-ups 11 years ago
  jules 98bd1c55d3 Documentation correction. 11 years ago
  jules ff6e3bdace Fix for Array move operator. 11 years ago
  jules 0ff1e14b8b Added assertions to some array methods to avoid false alarms from Clang static analyser. 11 years ago
  jules 18a012f7db Optimised Array with some move-operators. 11 years ago
  jules 8809efcb7a A few tweaks to help the clang static analyser avoid false alarms. 11 years ago
  jules 221786dfcf New method Array::addNullTerminatedArray(), and misc minor tightening-up of code. 11 years ago
  jules 5df6bf0513 Minor clean-ups. 11 years ago
  jules 65c155e372 Added a class ContainerDeletePolicy, to allow custom delete operations on objects held by ScopedPointers or OwnedArrays. Also cleaned away a lot of superfluous includes in juce_core files. 11 years ago
  jules 1e3973a212 Doxygen warning fixes and extra comments. 11 years ago
  jules 3330b9b587 Added StringArray::clearQuick method. 11 years ago
  jules 5b25ac6609 Renamed the swapWithArray methods in the array classes to "swapWith" to be more consistent with other swap method naming, and templated the methods for more flexibility. 11 years ago
  jules 5a1112ab94 Updated the format of the header include guard macros. 12 years ago
  jules 899b1253da Minor clean-ups. 12 years ago
  jules 78aac0995a Fixes for some clang static analysis warnings. 12 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 6b7f0609bf Minor clean-ups. 12 years ago
  jules cb24acca97 Added a minimum-size template parameter to Array. 12 years ago
  jules 213b5f87ff Minor clean-ups. 12 years ago
  jules f07139f748 Minor clean-ups. 12 years ago
  jules 310c063195 Fix to Array::removeAllInstanceOf. 12 years ago
  jules d0974a537d Array: small documentation fix. 12 years ago
  jules fab78ea09e Fixed a leak in OwnedArray. 13 years ago
  jules d4ae8f3d55 Minor optimisations. New method OwnedArray::insertArray(). Changed some CodeDocument inner class constructors to use references rather than pointers. 13 years ago
  jules 591e89cd87 Replaced the badly-named method Array::removeValue() with two new methods: removeFirstMatchingValue() and removeAllInstancesOf(). If you call the old method anywhere, you can just replace any calls with removeFirstMatchingValue(), which does the same job, but whose name makes it clear that not all instances of the value will be removed. 13 years ago
  jules 9821174709 Template changes to some array sort methods. 13 years ago
  jules 40929e5db9 Tidied up ReadWriteLock a bit, and optimised Array to reduce allocation frequency when working with small numbers of items. 13 years ago
  jules 1f95f54089 Purged some warnings. 13 years ago
  jules 1a5bdda7f1 Fixed an obscure utf8 string comparison problem. Added a few C++11 tweaks. Improved VST host default folder detection. Win32 file browser filter fix. Introjucer VS2005 compiler bug workaround. 13 years ago
  Julian Storer d86d68446c RTAS mac window position fix. Introjucer fixes for Windows. 13 years ago
  Julian Storer d55b7419ec Fixed a typo in the introjucer. C++0x fixes. 13 years ago
  Julian Storer ffc2f5d40e Created c++11 move constructors and operator= methods for a bunch of classes (only enabled for c++11 compilers, of course) 13 years ago
  Julian Storer b70e0a28d2 First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum.. 13 years ago
  Julian Storer 2009753eac Cleaned up some obscure compiler warnings and added some JSON unit tests. 14 years ago
  Julian Storer 1dac02369e New method Array::resize(). Tweaked AudioThumbnail to avoid clearing the input source when loaded. New class SingleThreadedReferenceCountedObject (and used this for Font, Typeface, Expression, Value and ValueTree classes, since none of these were safe to use with threads anyway). Minor additions to GlyphArrangement. 14 years ago