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

189 commits

Author SHA1 Message Date
reuk
83e5264c86
Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
Anthony Nicholls
36d07a6ce3 Docs: Replace doxygen preprocessor conditionals with @cond and @endconds 2025-07-21 18:11:43 +02:00
Anthony Nicholls
bc4ea1a66f HighResolutionTimer: Prevent a race condition in the unit tests
Some checks failed
JUCE Private Push Trigger / JUCE Push Trigger (push) Has been cancelled
2025-05-09 16:44:01 +01:00
Anthony Nicholls
b78ff3bf7e HighResolutionTimer: Add fallback implementation for Windows 2024-10-29 13:06:28 +00:00
Anthony Nicholls
6c2d149ef3 Versioning: Add the JUCE version number to any internally created threads 2024-09-26 08:10:56 +00:00
attila
b7a2c1d3bf CriticalSection: Replace std::aligned_storage_t to avoid C++23 warning 2024-08-15 11:15:15 +02:00
Anthony Nicholls
b5bcf621f3 Thread: Fix a typo 2024-08-01 16:10:09 +00:00
Anthony Nicholls
c4d5ffa7ab ListenerList: Add a thread safe ListenerList type 2024-06-07 20:25:39 +01:00
Tom Poole
94d98a2b10 Update licensing information 2024-04-16 11:39:35 +01:00
Anthony Nicholls
3f91c8782b macOS: Move set dock icon to juce_core 2023-10-25 13:53:35 +01:00
Tom Poole
6bf9bb9a2e Add final specifiers in implementation files 2023-10-10 16:12:38 +01:00
Tom Poole
4153d59e39 Formatting 2023-10-02 15:42:20 +01:00
Oliver James
7d9cdd3016 Audio: Add AudioWorkgroup support
This allows real-time threads to join an audio workgroup on Apple platforms.
2023-08-30 12:03:47 +01:00
Anthony Nicholls
8640dd004d Thread: Fix an issue setting the priority of a realtime thread 2023-08-10 16:50:04 +00:00
Tom Poole
714e8dda62 Docs: Fix misnamed parameter 2023-08-03 10:06:25 +01:00
Anthony Nicholls
2e93071f7a HighResolutionTimer: Switch to an improved generic timer for most platforms 2023-07-19 14:28:36 +01:00
Anthony Nicholls
407720b557 Thread: Fix realtime threads on macOS
- macOS behaviour of setRealtime now matches other platforms

MR feedback
2023-07-19 13:53:38 +01:00
Anthony Nicholls
578d2b9d15 ThreadPool: Improve consistency with other option style classes 2023-06-28 12:00:54 +00:00
Anthony Nicholls
b3da4ae946 ThreadPool: Add support for a user specified thread name 2023-06-19 12:24:45 +00:00
Anthony Nicholls
587e07007d HighResolutionTimer: Complete rewrite
- added unit tests
- best performance timers used for each platform
- fixed an issue in which timer callbacks could drift
2023-06-05 16:32:25 +01:00
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