1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00
Commit graph

169 commits

Author SHA1 Message Date
reuk
28414a6af8
Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
attila
9da424a663 Fix Windows DLL build
In Windows DLL builds we inject operator new/delete definitions into
classes with a leak detector. This requires that all inheritance from
such classes must be public, and classes inheriting from multiple such
classes must disambiguate between the base's operators.
2023-01-03 17:48:22 +01:00
Tom Poole
57202b360a Fix a typo 2022-12-21 09:58:31 +00:00
attila
b5c775210f HighResolutionTimer: Ensure that a new interval applies from the moment of calling startTimer()
Before this commit an already started timer would wait until the
previously set tick time before applying the new one. This problem seems
to have affected the Windows implementation only.
2022-12-20 14:46:31 +00:00
reuk
fbf4be05b2
Android: Set thread priority using user-provided value 2022-12-07 13:12:02 +00:00
Oli
97a421f4aa Threading: Add priority support for lambda thread method 2022-10-31 12:49:59 +00:00
chroma
d3cff375be Thread: Introduce a new Thread backend
This is a breaking change - see BREAKING-CHANGES.txt
2022-10-18 11:49:47 +01:00
reuk
7c14c1fcd7
Use more concise stdlib type aliases 2022-09-26 18:03:47 +01:00
reuk
b70b7a309d
TimeSliceThread: Add function to check whether a certain job is still registered 2022-09-22 19:36:40 +01:00
attila
8c62b4f003 Add ScopedTryReadLock and ScopedTryWriteLock 2022-05-11 16:06:18 +02:00
Tom Poole
dea3fe60e4 Update copyright banners 2022-04-04 12:36:32 +01:00
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.
2021-09-29 16:14:00 +01:00
reuk
1de762218a
Thread: Check for realtimeAudioPriority in more locations 2021-07-27 15:11:05 +01:00
reuk
407966b2ca
Windows: Fix warnings when building with clang in 64-bit mode 2021-06-30 17:03:38 +01:00
ed
d9f7d068ed WaitableEvent: Increased lock scope in signal() 2021-06-25 14:44:35 +01:00
ed
76e9a767ec WaitableEvent: Release lock before calling notify_all() on condition variable 2021-06-15 10:15:02 +01:00
reuk
7ac6911ccc
Windows: Fix clang/gnu compiler warnings 2021-06-03 17:30:44 +01:00
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
2021-05-26 15:34:26 +01:00
Tom Poole
79fbde7099 Added preliminary support for FreeBSD 2021-03-29 14:16:46 +01:00
reuk
6787230dd4
HiResTimer: Fix bug where timer would misreport its state after being stopped
Previously, if `stopTimer()` was called from within
`hiResTimerCallback()`, a call to `isTimerRunning()` immediately
following the call to `stopTimer()` would return true instead of false.

This patch fixes the issue, and adds some tests to verify the new
behaviour.
2021-01-06 14:54:42 +00:00
reuk
e13901d912 ClangCl: Silence code which warns when building on Windows with Clang 2020-04-27 10:22:06 +01:00
Ivan Cohen
c138bf91b4 DSP: Revamp DSP module 2020-04-24 14:37:09 +01:00
Tom Poole
6cb75d9d2c Replaced all references to ROLI with Raw Material Software and regenerated all bytecode 2020-04-23 17:30:40 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
ed
28eddda1d9 Check that juce_gui_basics module is available when declaring Process::setDockIconVisible() to fix potential linker error 2020-01-22 14:15:41 +00:00
ed
e36736e0ec Fixed some typos 2020-01-06 14:04:16 +00:00
ed
f402a3fc08 Moved the call to std::condition_variable::notify_all() inside of the lock scope in WaitableEvent::signal() to prevent a deadlock 2019-12-31 16:49:35 +00:00
ed
2916812581 Added a readWaitEvent and writeWaitEvent to ReadWriteLock to fix a race condition 2019-12-16 11:36:48 +00:00
ed
c964a842b1 Replaced WaitableEvent internals with std::condition_variable 2019-12-16 11:36:43 +00:00
Tom Poole
8b5bc69582 Fixed some more Linux compiler warnings 2019-06-05 10:43:46 +01:00
ed
497a1b3fb7 Added juce_UnitTestCategories.h to replace raw strings used for test categories 2019-04-03 15:10:40 +01:00
ed
f3af250ff7 Tidied up unit test code layout 2019-04-02 11:54:29 +01:00
ed
bfa167a054 Uncommented out ChildProcess unit test 2019-04-02 11:54:12 +01:00
ed
ba2575a4d3 Added a ScopedLock in ThreadPool::getNumJobs() to fix a potential data race 2019-03-25 17:15:30 +00:00
ed
a234721110 Added various clang-tidy modernize-* fixes 2019-01-31 15:15:31 +00:00
jules
cadac817c6 Enabled some more warning flags in Xcode, and fixed the problems they caused 2019-01-11 09:52:10 +00:00
ed
74b6673e42 Improved the documentation of some methods in juce_Thread.h 2018-12-18 11:14:12 +00:00
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.
2018-11-13 12:33:40 +00:00
jules
aaad33ce57 Fixed a couple of asan memory access warnings 2018-10-17 11:35:54 +01:00
jules
6fda0bffca Fixed some stray zeros that were still being passed as null pointers 2018-10-05 12:15:04 +01:00
jules
f784907c73 Fixed a documentation typo 2018-07-02 16:42:27 +01:00
jules
974b4a8351 Removed some legacy friend class declarations that are no longer needed with modern compilers 2018-06-13 17:11:37 +01:00
jules
87042769b6 Tidied up some more old typedefs 2018-05-11 14:44:51 +01:00
jules
dee78f29f6 Misc cleanups and modernisation 2018-05-11 12:46:30 +01:00
jules
38295f332b Converted some old typedefs to using declarations 2018-05-03 09:59:05 +01:00
jules
e2dcc32f88 Updated old code where the 'volatile' keyword was still being used 2018-05-01 09:19:50 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
Tom Poole
4229dc0a4f Made a lot of ScopedPointer usage conform to the std::unique_ptr interface 2018-04-10 18:34:20 +01:00
hogliux
350551b37c Ensured that ThreadPool::moveJobToFront can survive a stale job pointer 2018-03-26 14:31:25 +01:00
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00:00