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

82 commits

Author SHA1 Message Date
Anthony Nicholls
36d07a6ce3 Docs: Replace doxygen preprocessor conditionals with @cond and @endconds 2025-07-21 18:11:43 +02:00
Anthony Nicholls
5e803ded5f Deprecations: Add ignore deprecation warning macros 2024-11-27 11:07:04 +00:00
reuk
80ac9a78a0
Singleton: Add new macros to simplify singleton creation
The INLINE macros allow singletons to be declared and defined in one
line, without requiring a separate JUCE_IMPLEMENT_SINGLETON statement.
2024-10-16 10:36:52 +01:00
Anthony Nicholls
6c2d149ef3 Versioning: Add the JUCE version number to any internally created threads 2024-09-26 08:10:56 +00:00
Tom Poole
94d98a2b10 Update licensing information 2024-04-16 11:39:35 +01:00
Anthony Nicholls
fe00442335 Copyright: Fix incorrect or inconsistent copyright notices 2024-03-25 10:22:58 +00:00
attila
cc60286c89 ConnectedChildProcess: Wait for process termination on Linux to not leave zombies
This change also avoids the AudioPluginHost leaving zombie child
processes behind.
2024-01-17 15:03:48 +01:00
attila
0611baf1be Add ChildProcessManager
The new class hold a list of ChildProcesses and periodically checks
their return value until they report termination. On Linux this check
is necessary to avoid leaving zombie processes behind.
2024-01-17 15:03:48 +01:00
Tom Poole
6bf9bb9a2e Add final specifiers in implementation files 2023-10-10 16:12:38 +01:00
Tom Poole
ff0cb4ad5b Use NullCheckedInvocation in more places 2023-10-02 13:40:10 +01: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
7dd0cffe71
ConnectedChildProcess: Always cancel pending async updates before background thread stops 2022-05-23 13:09:26 +01:00
Tom Poole
dea3fe60e4 Update copyright banners 2022-04-04 12:36:32 +01:00
Tom Poole
d5d9a02c8f ChildProcessCoordinator: Fix an issue with a missing ping thread
Following commit 093dbc7df1 pings of a
child process connection need to initialised explicitly. This commit
adds a missing initialisation.
2022-03-24 14:01:34 +00:00
reuk
093dbc7df1
Plugin Scanning: Fix thread sanitizer issues in the AudioPluginHost 2022-01-27 18:43:22 +00:00
reuk
6c046ffc04
AudioPluginHost: Allow out-of-process scanner to scan AUv3 plugins 2022-01-27 18:43:21 +00:00
reuk
b72b155443
Naming: Fix up naming of ChildProcessCoordinator and ChildProcessWorker 2021-10-25 09:51:21 +01:00
reuk
472fac976b
IPC: Prevent disconnection while a read is in progress 2020-11-16 20:13:46 +00:00
reuk
a70101e3ec
IPC: Allow setting custom timeouts in disconnect
Also allows optionally ignoring callbacks during disconnect, so that the
call to `connectionLost` can be bypassed when disconnect is called from
the derived class destructor.
2020-11-16 20:13:46 +00:00
reuk
fb83c45a9d IPC: Fix race condition when destroying connections
It was possible to encounter data races when when requesting connection
callbacks on the message thread, but creating/destroying connection
objects on a background thread.

This change ensures that a message will not be processed if the
destination connection is destroyed before the message is delivered.
2020-10-29 13:02:12 +00:00
reuk
4cf66d6522 Cleanup: Remove redundant inlines 2020-04-27 10:22:06 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
ed
c8532775e5 Send broadcast message to all local addresses in NetworkServiceDiscovery::Advertiser::sendBroadcast() 2020-02-10 16:42:16 +00:00
ed
78e2892ba9 Added some missing documentation tags 2020-01-21 17:47:41 +00:00
ed
a54da0b832 Fixed some more typos 2020-01-07 08:53:23 +00:00
ed
605d0978ce Android: Acquire the MulticastLock when using the NetworkServiceDiscovery::AvailableServiceList class to ensure that multicast packets are received on all devices 2020-01-06 17:15:31 +00:00
ed
cc83c8d0dd Minor documentation fix 2019-07-15 16:41:03 +01:00
Tom Poole
a4bd6cbc66 Fixed some more Linux compiler warnings 2019-06-06 10:25:19 +01:00
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 2019-05-09 10:51:19 +01:00
ed
9ddf8eece2 Fixed a bug where InterprocessConnection::isConnected() returned false inside the InterprocessConnection::connectionMade() callback in some cases 2019-02-18 16:34:04 +00:00
ed
7caab2721e Windows: Fix a compile error when JUCE_DLL_BUILD=1 2019-01-14 12:41:20 +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
jules
5354c33fc3 Added some classes NetworkServiceDiscovery::Advertiser and NetworkServiceDiscovery::AvailableServiceList to implement a simple protocol for discovering and connecting devices on the LAN 2018-10-18 10:22:47 +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
da6ba0d783 Fixed InterprocessConnection's use of the supplied timeout when reading from pipes 2018-05-01 12:15:30 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00:00
jules
48a5fbd333 Another batch of ScopedPointer cleanups 2018-01-10 14:49:57 +00:00
jules
f4cf0c0ef4 Clarified some shutdown behaviour in ConnectedChildProcess 2017-12-07 10:08:10 +00:00
jules
f85d706131 Some minor formatting and comment fixes 2017-11-28 17:46:15 +00:00
Tom Poole
fe7f34f0fa Improved the idling of socket InterprocessConnections 2017-11-27 17:26:33 +00:00
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) 2017-11-01 17:41:06 +00:00
jules
1aaa598a5f Added JUCE_DECLARE_WEAK_REFERENCEABLE macro to make it easier to creat weak-referenceable classes 2017-09-27 12:57:55 +01:00
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 2017-09-08 08:59:55 +01:00
tpoole
ff6d01bc25 Added a function to the InterprocessConnectionServer class to get the bound port number 2017-08-30 09:55:56 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
jules
8ed41ed14b Fixed some whitespace style and cleaned up some code using C++11 2017-03-27 13:06:42 +01:00
hogliux
2da1bc5f41 Replace include guards with "#pragma once" 2017-02-01 17:18:07 +00:00
tpoole
2e84129479 Updated the juce_audio_basics, juce_audio_devices, juce_blocks_basics, juce_core and juce_events modules to a new ISC license 2016-12-14 10:07:26 +00:00
hogliux
5e0d3fdcbe Add possibility for an InterprocessConnectionServer to bind to a certain network address 2016-06-15 12:00:21 +01:00