reuk
472fac976b
IPC: Prevent disconnection while a read is in progress
5 years ago
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.
5 years ago
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.
5 years ago
reuk
4cf66d6522
Cleanup: Remove redundant inlines
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
ed
c8532775e5
Send broadcast message to all local addresses in NetworkServiceDiscovery::Advertiser::sendBroadcast()
6 years ago
ed
78e2892ba9
Added some missing documentation tags
6 years ago
ed
a54da0b832
Fixed some more typos
6 years ago
ed
605d0978ce
Android: Acquire the MulticastLock when using the NetworkServiceDiscovery::AvailableServiceList class to ensure that multicast packets are received on all devices
6 years ago
ed
cc83c8d0dd
Minor documentation fix
6 years ago
Tom Poole
a4bd6cbc66
Fixed some more Linux compiler warnings
6 years ago
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
7 years ago
ed
9ddf8eece2
Fixed a bug where InterprocessConnection::isConnected() returned false inside the InterprocessConnection::connectionMade() callback in some cases
7 years ago
ed
7caab2721e
Windows: Fix a compile error when JUCE_DLL_BUILD=1
7 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
7 years ago
jules
5354c33fc3
Added some classes NetworkServiceDiscovery::Advertiser and NetworkServiceDiscovery::AvailableServiceList to implement a simple protocol for discovering and connecting devices on the LAN
7 years ago
jules
974b4a8351
Removed some legacy friend class declarations that are no longer needed with modern compilers
7 years ago
jules
da6ba0d783
Fixed InterprocessConnection's use of the supplied timeout when reading from pipes
7 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
ed
cdbc28c18b
Add documentation tags
8 years ago
jules
48a5fbd333
Another batch of ScopedPointer cleanups
8 years ago
jules
f4cf0c0ef4
Clarified some shutdown behaviour in ConnectedChildProcess
8 years ago
jules
f85d706131
Some minor formatting and comment fixes
8 years ago
Tom Poole
fe7f34f0fa
Improved the idling of socket InterprocessConnections
8 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)
8 years ago
jules
1aaa598a5f
Added JUCE_DECLARE_WEAK_REFERENCEABLE macro to make it easier to creat weak-referenceable classes
8 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
8 years ago
tpoole
ff6d01bc25
Added a function to the InterprocessConnectionServer class to get the bound port number
8 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
9 years ago
hogliux
2da1bc5f41
Replace include guards with "#pragma once"
9 years ago
tpoole
2e84129479
Updated the juce_audio_basics, juce_audio_devices, juce_blocks_basics, juce_core and juce_events modules to a new ISC license
9 years ago
hogliux
5e0d3fdcbe
Add possibility for an InterprocessConnectionServer to bind to a certain network address
9 years ago
jules
02492b36b9
Lots of small whitespace tweaks.
10 years ago
Joshua Gerrard
f0bb1ca635
Allowed the use of stream flags in launchSlaveProcess
10 years ago
jules
8883b1f9c1
Added a "mustNotExist" argument to NamedPipe creation
10 years ago
hogliux
c7b8e77031
Update copyright notice
10 years ago
jules
7c61188bf9
Cleaned up a few places where four-char constants were used, to prevent warnings.
11 years ago
jules
176da42e3d
Added default value to child process timeout.
11 years ago
jules
df607bacdd
Added a timeout value to the ChildProcessSlave and ChildProcessMaster classes.
11 years ago
jules
ed7a262296
Changed a couple of places where "localhost" was used to use the IPAddress class instead to get the local address.
11 years ago
jules
63db2bfeea
Tweak to avoid problems compiling DLL builds.
12 years ago
jules
90b573cf42
ChildProcessMaster fix.
12 years ago
jules
802197644b
New interprocess utility classes: ChildProcessSlave and ChildProcessMaster.
12 years ago
jules
99276d4407
Refactored the base classes of InterprocessConnection
12 years ago
jules
2edec00b55
Removed a few more uses of String::empty.
12 years ago
jules
4aa931def3
Improved locking on InterprocessConnection.
12 years ago
jules
2d25f2f294
Removed a few unnecessary includes.
12 years ago
jules
5a1112ab94
Updated the format of the header include guard macros.
12 years ago