1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-13 00:04:19 +00:00
Commit graph

99 commits

Author SHA1 Message Date
jules
2b0f3f45e0 Made OwnedArray::addCopiesOf handle null pointers. 2013-12-29 10:32:32 +00:00
jules
a316bd5f6f Removed a few more places where static objects could cause problems for people who do unwise amounts of work in their static constructors. 2013-12-02 09:44:17 +00:00
jules
2edec00b55 Removed a few more uses of String::empty. 2013-12-01 23:28:31 +00:00
jules
f9759ecc6b Documentation fixes. 2013-11-30 20:04:17 +00:00
jules
39cc7d8d82 Fixed some var::equals ordering problems, and added unit tests for this. 2013-11-22 11:02:06 +00:00
jules
aa8fdc8cba Made a couple of OwnedArray methods return the object that they are passed. 2013-11-01 14:00:44 +00:00
jules
a7df25f860 Added methods var::clone() and DynamicObject::clone() for deep-copying objects. 2013-10-12 15:25:44 +01:00
jules
1a2aff80a7 Moved some JSON formatting logic into DynamicObject::writeAsJSON 2013-10-12 11:39:34 +01:00
jules
0cc6fb9356 Avoided MSVC warning. 2013-10-11 21:19:31 +01:00
jules
03ab2a2c3c Modifications to the var class to make it more javascript-compatible. Changed the handling of array types to be a shared, ref-counted array rather than being copy-by-value. Added an "undefined" type. Updated the native method invocation functions to be static (the old version used class methods) and to provide a 'this' object which may be different from the DynamicObject on which it's being invoked (this is to deal with derived classes) 2013-10-11 15:46:28 +01:00
jules
293aedac2f Fixed spelling. Added a few simple methods to Random, BigInteger and var. 2013-10-10 12:13:12 +01:00
jules
0ff1e14b8b Added assertions to some array methods to avoid false alarms from Clang static analyser. 2013-10-05 12:04:04 +01:00
jules
18a012f7db Optimised Array with some move-operators. 2013-10-04 09:59:24 +01:00
jules
8a66ec83f0 Minor clean-ups. 2013-09-26 18:15:45 +01:00
jules
81c87652db Removed an incorrect assertion. 2013-09-26 16:45:39 +01:00
jules
8809efcb7a A few tweaks to help the clang static analyser avoid false alarms. 2013-09-26 16:17:36 +01:00
jules
221786dfcf New method Array::addNullTerminatedArray(), and misc minor tightening-up of code. 2013-09-18 19:10:01 +01:00
jules
435089e89b Updated the UnitTest class to provide a shared, reproducible random seed for each run, to allow failures to be re-created. Also converted a few Strings to StringRefs. 2013-09-11 10:29:48 +01:00
jules
fecba9c31c New class StringRef, to improve performance in function calls that can take either a String or a raw string literal. Modified a few other classes to take advantage of this. 2013-09-09 20:07:17 +01:00
jules
5df6bf0513 Minor clean-ups. 2013-09-07 16:46:22 +01:00
jules
59d8d8172d Replaced the crappy old juce sortArray function with std::sort, which seems to run twice as fast. This greatly speeds up edge table rendering. 2013-09-05 09:46:30 +01:00
jules
954312b23c Changes to ReferenceCountedObject to support more flexible deletion via ContainerDeletePolicy. 2013-09-04 14:28:18 +01:00
jules
508e25afbb Cleared-out the last batch of unnecessary includes. 2013-08-29 12:44:00 +01:00
jules
2786eadaf9 Removed a few pedantic warnings. 2013-08-26 14:58:23 +01:00
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. 2013-08-23 12:08:31 +01:00
jules
1e3973a212 Doxygen warning fixes and extra comments. 2013-08-21 17:19:47 +01:00
jules
0e27986214 Modified the HashMap class to store an instance of its hashcode-generator class instead of calling static methods. 2013-07-28 19:49:45 +01:00
jules
3330b9b587 Added StringArray::clearQuick method. 2013-07-28 12:05:25 +01:00
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. 2013-07-28 11:31:25 +01:00
jules
19b7d59c14 Added method OwnedArray::clearQuick 2013-07-27 12:33:42 +01:00
jules
5a1112ab94 Updated the format of the header include guard macros. 2013-07-17 16:26:35 +01:00
jules
282cf3dac4 constness fix in OwnedArray. 2013-07-02 21:52:48 +01:00
jules
899b1253da Minor clean-ups. 2013-07-01 08:31:09 +01:00
jules
aec3d12753 A few minor tweaks to avoid warnings etc. 2013-06-30 19:17:37 +01:00
jules
7f7cbe73fd Over-zealous assertion fix. 2013-06-26 19:53:48 +01:00
jules
57832f97e1 Avoided a false assertion. 2013-06-26 11:08:52 +01:00
jules
78aac0995a Fixes for some clang static analysis warnings. 2013-06-25 10:18:35 +01:00
jules
2af7585fc2 spelling fixes 2013-06-15 14:57:36 +01:00
jules
03c2801f3f Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3 2013-06-13 13:17:12 +01:00
jules
c7506df13f Changed some pass-by-references to pass-by-value to improve compiler optimisation. 2013-05-22 23:05:53 -06:00
jules
14cc8bf3c5 Changed ImageCache purging method. Added a PropertyPanel::getTotalContentHeight() method. 2013-04-15 12:21:22 +01:00
jules
c8e09aba67 Added an extra method to ListenerList. Handled zero-length binary data in var class. 2013-04-14 10:14:24 +01:00
jules
52b638ff40 Misc cleanups. 2013-04-09 19:42:47 +01:00
jules
868bee86d0 Support for storing binary vars in XML via NamedValueSet/ValueTree. 2013-04-09 14:46:54 +01:00
jules
dde56bab6a Added a binary data type to the var class. 2013-04-09 12:11:06 +01:00
jules
b2e8db097a Tweak to ScopedValueSetter to keep VS2012 happy. 2013-03-22 11:44:40 +00:00
jules
6b7f0609bf Minor clean-ups. 2013-03-17 13:59:03 +00:00
jules
cb24acca97 Added a minimum-size template parameter to Array. 2013-03-11 15:26:05 +00:00
jules
bfd9350bed Changed some types from int to size_t where appropriate. Fixed a CoreMidi build problem in 64-bit mode. 2013-02-24 15:49:06 +00:00
jules
f5175b3c2d Minor addition to HashMap 2013-02-18 16:46:29 +00:00