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
ed
be84627f93
Docs: Updated XmlElement docs to use getChildIterator() instead of deprecated macros
4 years ago
reuk
6ff54f0a64
XmlElement: Fix conversion issue when passing Identifiers to forEachXmlChildElementWithTagName
4 years ago
reuk
40f6ac7c47
XmlElement: Add range-for-compatible iterators
4 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
Tom Poole
fb40c34f5f
Added some missing documentation
5 years ago
Tom Poole
52a4939b62
Updated some documentation
6 years ago
jules
0fb8c8e82a
Added handy new function parseXMLIfTagMatches(), and refactored a lot of old code that was parsing XML in a more clunky way
6 years ago
jules
2e2cfb5f6c
Made a lot of the functions that used to return a raw XmlElement* instead return a std::unique_ptr<XmlElement> to make it safer and more concise to capture them. Also added new methods to XmlElement for generating text, and deprecated the old ones
6 years ago
hogliux
736a07e4ce
Added a setTagName method to XmlElement
7 years ago
ed
cdbc28c18b
Add documentation tags
7 years ago
jules
8d09eaadb6
Removed some defunct code from the C++1 feature detection macros, and simplified code which no longer needs to test for feature availability
7 years ago
jules
babea0885b
Added a method ValueTree::appendChild(). Also tidied up a lot of the ValueTree comments, which were a bit scrappy.
7 years ago
jules
369d59f656
Added a template to allow the HeapBlock class to be given signed ints or other types that are not size_t for its size parameters
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
9ae25d13c2
Documentation: Some typo fixes
8 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
jules
b8d1183f78
Fixed a typo in a comment
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
hogliux
26b6f01ce3
Replace all "zeros" with "nullptr" in code documentation when referring to a pointer value
8 years ago
jules
ae712c72d8
Cleaned up a few String::empty uses
9 years ago
jules
02492b36b9
Lots of small whitespace tweaks.
9 years ago
jules
705e7f6110
Added method XmlElement::isValidXmlName() and implemented standard-compliant checking for XML name validity
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
8f51420c8d
Minor documentation fix.
10 years ago
jules
d42a606b99
Tried to improve the explanation for XmlElement::findParentElementOf.
10 years ago
jules
69ff02b46c
Couple of fixes for a UTF-32 build.
11 years ago
jules
4317f60173
Refactored the StringPool and Identifier classes to store the identifiers as Strings, so that they can be shared with other classes like XmlElement without creating temporary or copied String objects. Also added garbage collection for the pooled strings, and changed XmlElement to pool all of the strings it uses, to reduce memory footprint in large XML trees with many identical names. Also refactored NamedValueSet to use an array instead of a linked list.
11 years ago
jules
bea7b83cb8
Renamed and refactored the LookAndFeel classes. The LookAndFeel class is now an abstract base-class, and there are 3 concrete subclasses you can use. These are LookAndFeel_V1 (replaces OldSchoolLookAndFeel), LookAndFeel_V2 (replaces what was the normal LookAndFeel class) and LookAndFeel_V3 (this is a new style, taken from the Introjucer's L+F).
11 years ago
jules
61ed92ee51
Added a method XmlElement::prependChildElement(), and used this for a few optimisations.
11 years ago
jules
4198291d9a
Added method XmlElement::getChildByAttribute().
11 years ago
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.
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
93dd9757e5
Added XmlElement methods to help parse namespaces on tagnames. Updated SVG parser to handle files which use namespaces.
12 years ago
jules
f9e31ab7a9
Documentation pedanticism.
12 years ago
jules
0ceeb573d8
Minor changes to avoid pedantic compiler warnings.
12 years ago
jules
9c719306c9
Added -ldl to linux builds. Tidied up a few warnings.
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
693132a6e5
Changed the way module code is wrapped by the Introjucer.
13 years ago
Julian Storer
4808d9c318
Hard-coded some juce namespace declarations.
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
67e22bbb56
Added selection to treeview persistent state. Minor optimisations to AudioThumbnail. Added FTP password support for win32 networking. Cleaned up some file dependencies and altered some return value types to allow better c++0x forwarding behaviour.
14 years ago
Julian Storer
f04309f44a
Added fake placeholder versions of the new c++0x 'noexcept' and 'nullptr' keywords, and altered the library classes to use these instead of 'throw()' and '0'. This shouldn't make any difference at all to existing code, but will enable better static checking with future c++0x compilers.
14 years ago
Julian Storer
5d98779f19
Updated the date in the copyright notice.
14 years ago
Julian Storer
0e4a0df2c2
(Added files missing from last check-in)
14 years ago