Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
reuk
317083d409
Variant: Improve documentation for equals()
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
ed
d510b73cdf
Normalised all whitespace before args in std::function
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
jules
7c2e0edc7e
Added a deleted void* constructor to var, to prevent people accidentally giving it a raw pointer and having it cast to bool
5 years ago
Tom Poole
79d3e8b3f5
Windows: Removed some VS2013 workarounds
5 years ago
ed
1a46fb3a5f
Minor whitespace tidying
6 years ago
ed
9762e29007
Deleted some var constructors that take a const ReferenceCountedObject* and were resolving to the wrong type
6 years ago
jules
76c94e2c10
Added some missing comparison operators to var
6 years ago
jules
974b4a8351
Removed some legacy friend class declarations that are no longer needed with modern compilers
7 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
ed
cdbc28c18b
Add documentation tags
7 years ago
Tom Poole
f1af3908d5
Documentation fixes
7 years ago
jules
85f74ca7d3
Clarified comments around the JUCE_ALLOW_STATIC_NULL_VARIABLES items to make clear that they're deprecated
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
tpoole
098110bc5f
Suppressed a VS2013 assignment operator compiler warning
8 years ago
tpoole
f4046909ab
Added an OS X 10.5 compatible std::function replacement
8 years ago
jules
8689df5590
Fixed a few c++17 warnings
8 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
jules
8011ce4209
Added a couple of missing JUCE_API declarations
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
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
tpoole
cff1793d89
Exposed some functions when building JUCE as a DLL
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
bda4b78489
Add missing assignment operator to var class
9 years ago
jules
a439c6ad8d
Added new class: CachedValue
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
7cfcf7940d
Modified the return types of some var and DynamicObject operator[] methods to avoid a common pitfall.
10 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
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
5a1112ab94
Updated the format of the header include guard macros.
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
c7506df13f
Changed some pass-by-references to pass-by-value to improve compiler optimisation.
12 years ago
jules
14cc8bf3c5
Changed ImageCache purging method. Added a PropertyPanel::getTotalContentHeight() method.
12 years ago
jules
dde56bab6a
Added a binary data type to the var class.
12 years ago
Julian Storer
d86d68446c
RTAS mac window position fix. Introjucer fixes for Windows.
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