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
9199fa3c51
Warnings: Avoid triggering missing-prototypes warnings on macOS/iOS
3 years ago
ed
c799b56b60
Fix missing prototypes warnings
3 years ago
Tom Poole
fe4ba9071b
Set the default value of JUCE_MODAL_LOOPS_PERMITTED to 0
See BREAKING-CHANGES.txt for more details.
4 years ago
reuk
a70488e38e
MacOS: Fix API deprecations in macOS 12.0 and iOS 15.0
4 years ago
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
4 years ago
ed
a8aafed53d
Removed some unnecessary virtual keywords
4 years ago
ed
11d872ea1b
MessageMananger: Made dispatchNextMessageOnSystemQueue() accessible by internal code
4 years ago
ed
76d5c07c66
MessageManager: Only reinitialise platform-specific code on Windows when calling setCurrentThreadAsMessageThread()
4 years ago
Tom Poole
79fbde7099
Added preliminary support for FreeBSD
4 years ago
ed
ceb410ca69
iOS: Fixed a linker error when compiling juce_events without juce_gui_basics
5 years ago
ed
2bfed0b354
Removed some unnecessary JUCE_MODULE_AVAILABLE_* checks
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
5f348c3040
Warnings: Add warning-wrangling header
5 years ago
ed
59a058fdc6
Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough
5 years ago
ed
a54da0b832
Fixed some more typos
5 years ago
ed
937991cc83
Fixed broken back button behaviour on Android and updated JUCEApplicationBase::backButtonPressed() to return a bool indicating whether the back event has been handled or not to override this behaviour
5 years ago
reuk
c80285463a
MessageManager: Obey the rule of useful return in callAsync
5 years ago
ed
922730f685
Whitespace
6 years ago
Tom Poole
79d3e8b3f5
Windows: Removed some VS2013 workarounds
6 years ago
jules
0367d5c3a9
Added some PopupMenu::addItem overloads which let you attach a lambda callback to be invoked for a menu item.
6 years ago
Tom Poole
ff1dbf5f6d
Added a missing JUCE_API
6 years ago
reuk
4a294eaa39
Allow moving into AsyncCallInvoker
6 years ago
ed
a234721110
Added various clang-tidy modernize-* fixes
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
6 years ago
hogliux
008b7a9ab2
Re-structured the low-level Android native code
Please see the forum post "Re-structuring of JUCE’s low-level Android code" and the BREAKING-CHANGES.txt for more information.
6 years ago
ed
aae372d68c
Fixed a typo in the docs for JUCEApplicationBase::moreThanOneInstanceAllowed() and clarified on which platforms ::anotherInstanceStarted() will be called
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
jules
6fda0bffca
Fixed some stray zeros that were still being passed as null pointers
6 years ago
ed
2b918c1495
Fixed a couple of typos
7 years ago
jules
1e6bbb8da9
Added some methods to allow ReferenceCountedObjectPtrs to be constructed or copied from references as well as pointers - as well as increasing safety, this actually makes things a bit more efficient as it skips a nullptr check. Updated lots of places in the code that could take advantage of this
7 years ago
jules
974b4a8351
Removed some legacy friend class declarations that are no longer needed with modern compilers
7 years ago
jules
87042769b6
Tidied up some more old typedefs
7 years ago
jules
dee78f29f6
Misc cleanups and modernisation
7 years ago
jules
38295f332b
Converted some old typedefs to using declarations
7 years ago
jules
e2dcc32f88
Updated old code where the 'volatile' keyword was still being used
7 years ago
ed
a7b1720df0
Fixed a couple more documentation typos
7 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
Tom Poole
8c0f0815f0
iOS: Added memory warning callbacks
7 years ago
jules
7d24b39f18
Cranked up the Clang warning level in the projucer, and fixed a few minor warnings
7 years ago
jules
48a5fbd333
Another batch of ScopedPointer cleanups
7 years ago
ed
fa2a531365
Fixed a typo in juce_Initialisation.h
7 years ago
Tom Poole
8cecf0baf9
Assorted threading and undefined behaviour fixes
7 years ago
jules
f3cde9763a
Quick tidy-up of some messaging classes
7 years ago
jules
f85d706131
Some minor formatting and comment fixes
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
hogliux
b9b34393d1
Improved scheduling when multiple threads are fighting for the MessageManagerLock
7 years ago
jules
970eda679e
Added 'final' keyword to a lot of classes from which you really shouldn't be inheriting!
7 years ago