58 Commits (71d10e750a0fb03c63c32b162c6e103600abe656)

Author SHA1 Message Date
  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
  jules 7c6f3d40b6 Tidied up some method calls involving HeapBlock 7 years ago
  jules df14b18c17 cleaned up a method in Array 7 years ago
  jules 86deea87ce Added variadic add methods to Array 7 years ago
  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 8 years ago
  hogliux b5afccc37c Updated file headers and the README with the JUCE 5 license 8 years ago
  hogliux 2da1bc5f41 Replace include guards with "#pragma once" 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
  tpoole 2e84129479 Updated the juce_audio_basics, juce_audio_devices, juce_blocks_basics, juce_core and juce_events modules to a new ISC license 8 years ago
  Timur Doumler e8cdc65357 Fixed Array::remove (ElementType*) so that if given an invalid pointer, it doesn't attempt to remove anything after the assert. 8 years ago
  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 8 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