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
1ee106d730
PopupMenu: Avoid dismissing PopupMenus in bridged plugin editors
When bridging 32-bit/64-bit plugins on Windows, the plugin is hosted in
an auxilliary process, and the plugin's editor is embedded into an HWND
owned by a different process (the plugin host).
Previously, the `isForegroundProcess` check would fail for bridged
plugins, because the foreground window may belong to the DAW, rather
than to the auxilliary hosting process.
This patch adds an additional check, to find whether the same process
owns both the foreground window, and the window which embeds the
PopupMenu's target component. In this case, we avoid immediately
dismissing the PopupMenu.
3 years ago
reuk
3baaad8b5b
XmlElement: Update loops to use new iterators
4 years ago
ed
009d685179
Updated all license headers
4 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
ed
c2e3dcd8bf
Updated the documentation of some methods which now return std::unique_ptr instead of raw pointers to remove references to deleting the returned object
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
ed
3b36c3e198
Fixed a potential crash in ApplicationCommandManager::findDefaultComponentTarget()
6 years ago
jules
6463529371
Another batch of conversion of methods which returned bare XmlElement* to return unique_ptrs
6 years ago
ed
a234721110
Added various clang-tidy modernize-* fixes
6 years ago
jules
da2b10ada6
Got rid of some methods which had inexplicably ended up marked both 'virtual' and 'override'.
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
6 years ago
jules
5979288706
Added some macros for asserting when functions are called in an unsafe manner outside the message thread.
6 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
ed
cdbc28c18b
Add documentation tags
7 years ago
jules
48a5fbd333
Another batch of ScopedPointer cleanups
7 years ago
jules
f85d706131
Some minor formatting and comment fixes
7 years ago
jules
a586966c65
Added lambda callback methods to ListenerList. Its old method-invocation callbacks were refactored to use variadic templates instead of the old awful macros they used in the past, but please move your code to use the new lambda functions, as the one stuff will eventually be deprecated!
7 years ago
jules
2dc9316420
Misc ScopedPointer changes to start using reset() and get() rather than assignments and casts (part of an ongoing drift towards more std::unique_ptr compatibility)
7 years ago
jules
c2a2d5c734
Updated some code to use cleaner array initialisation from constant data
7 years ago
jules
1aaa598a5f
Added JUCE_DECLARE_WEAK_REFERENCEABLE macro to make it easier to creat weak-referenceable classes
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
8ed41ed14b
Fixed some whitespace style and cleaned up some code using C++11
8 years ago
hogliux
2da1bc5f41
Replace include guards with "#pragma once"
8 years ago
jules
fb864a5cb1
Corrected some spelling mistakes in comments
9 years ago
jules
02492b36b9
Lots of small whitespace tweaks.
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
f6139cee55
Minor documentation cleanups.
10 years ago
jules
76c6d324ac
Made ApplicationCommandManager::registerCommand update the command info.
10 years ago
jules
2fd89b0ac4
A few minor clean-ups.
10 years ago
jules
91d9c96338
Minor clean-ups
11 years ago
jules
9ceb072b24
Spelling typos.
11 years ago
jules
2edec00b55
Removed a few more uses of String::empty.
11 years ago
jules
57db92b276
Cleaned up some ints that should have been CommandIDs.
11 years ago
jules
6ff34a841f
Added assertion to KeyPressMappingSet to catch attempts to connect keys to non-existent command ID.
11 years ago
jules
b093f47a8c
Misc minor cleanups and comment fixes.
11 years ago
jules
5df6bf0513
Minor clean-ups.
11 years ago
jules
42aa27900b
Moved most of the functionality from JUCEApplication into JUCEApplicationBase, so that it can be used without needing juce_gui_basics to be present.
11 years ago
jules
7f6394478a
Stripped out some unnecessary boilerplate includes from juce_gui_basics.
11 years ago
jules
5a1112ab94
Updated the format of the header include guard macros.
11 years ago
jules
5918d039ce
Added some "override" annotations.
12 years ago
jules
c75a7300f5
Added some 'override' modifiers to overridden methods.
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
d0135d9efc
Worked around a GCC compiler bug. Also tidied up a bunch of GCC warnings.
12 years ago
jules
1c90d82aac
Spelling fix.
12 years ago
jules
f9e31ab7a9
Documentation pedanticism.
12 years ago
jules
3a5b51ef0d
Minor cleaning up.
12 years ago