reuk
2dc90bd6e6
Variant: Remove unnecessary definitions of static constexpr data members
2 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
ed
b9542ccc4c
Update code to use C++14 [[deprecated]] attribute
This commit removes the various compiler-specific JUCE_DEPRECATED macros and replaces them with C++14's deprecated attribute. It also removes the JUCE_CATCH_DEPRECATED_CODE_MISUSE flag as we can rely on the override specifier catching usage of these old virtual methods, and tidies up the DOXYGEN preprocessor checks as they were inconsistent across the codebase.
3 years ago
reuk
ae1076d01f
var: Make it safe to create var instances with static storage duration
4 years ago
reuk
4d27422d9f
GCC: Suppress cast-align warnings
4 years ago
reuk
4cf66d6522
Cleanup: Remove redundant inlines
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
Tom Poole
4700dd9773
Serialise doubles into more human friendly XML and JSON
6 years ago
Tom Poole
bbe49f6b36
Serialise doubles into more human friendly XML and JSON
6 years ago
Tom Poole
306e7e4360
Fixed a few more places where doubles were not serialised to full accuracy
6 years ago
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
6 years ago
jules
76c94e2c10
Added some missing comparison operators to var
6 years ago
jules
d4762f1d9a
Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0
7 years ago
jules
30f6206be9
Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0
7 years ago
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!
7 years ago
tpoole
3cb185fcc3
A minor code cleanup
7 years ago
jules
4f204f405d
Added a method var::hasProperty()
7 years ago
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
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
jules
bf94ab0e4c
Made a few minor tweaks to reduce the number of pedantic -Wfloat-equals warnings
8 years ago
jules
926652be8a
Added the -Wextra-semi warning to the projucer build
8 years ago
jules
d36156c620
Removed some extraneous semicolons
8 years ago
jules
8ed41ed14b
Fixed some whitespace style and cleaned up some code using C++11
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
hogliux
a9b29baf83
Added support for lambdas in var::NativeFunction
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
hogliux
6fb0aa4527
Added a StringArray constructor to var
8 years ago
jules
9fa0d49be7
Added an option JUCE_ALLOW_STATIC_NULL_VARIABLES that can be used to turn off dangerous statics like String::empty, var::null, etc.
8 years ago
hogliux
8df262a5d3
Don't use placement new for MemoryBlock assignment operator in var class
9 years ago
hogliux
bda4b78489
Add missing assignment operator to var class
9 years ago
jules
5e48332fb1
A couple of very minor cleanups.
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
e018192de2
Performance optimisations to the way that Identifier objects are passed into var, ValueTree and NamedValueSet. The Identifer class used to be light enough to pass by value but now contains a String so is better passed by reference.
10 years ago
jules
a0af60a179
Increased the precision with which var converts double values to strings. It now uses 20 decimal places, which matches the way XmlElement does this.
10 years ago
jules
7cfcf7940d
Modified the return types of some var and DynamicObject operator[] methods to avoid a common pitfall.
10 years ago
jules
39cc7d8d82
Fixed some var::equals ordering problems, and added unit tests for this.
11 years ago
jules
a7df25f860
Added methods var::clone() and DynamicObject::clone() for deep-copying objects.
11 years ago
jules
0cc6fb9356
Avoided MSVC warning.
11 years ago
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)
11 years ago
jules
293aedac2f
Fixed spelling. Added a few simple methods to Random, BigInteger and var.
11 years ago
jules
2786eadaf9
Removed a few pedantic warnings.
11 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
c7506df13f
Changed some pass-by-references to pass-by-value to improve compiler optimisation.
12 years ago
jules
c8e09aba67
Added an extra method to ListenerList. Handled zero-length binary data in var class.
12 years ago
jules
52b638ff40
Misc cleanups.
12 years ago
jules
dde56bab6a
Added a binary data type to the var class.
12 years ago
jules
bfd9350bed
Changed some types from int to size_t where appropriate. Fixed a CoreMidi build problem in 64-bit mode.
12 years ago
jules
5d35a31f2e
Minor clean-ups and documentation fixes.
12 years ago
jules
89d5e19fca
misc cleanups.
12 years ago