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
Tom Poole
894e7d2bd2
Updated all license headers
2020-04-23 17:30:39 +01:00
Tom Poole
a4bd6cbc66
Fixed some more Linux compiler warnings
2019-06-06 10:25: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
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
jules
48a5fbd333
Another batch of ScopedPointer cleanups
2018-01-10 14:49:57 +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
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
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
jules
8883b1f9c1
Added a "mustNotExist" argument to NamedPipe creation
2015-08-18 12:26:05 +01:00
hogliux
c7b8e77031
Update copyright notice
2015-07-22 15:59:34 +01:00
jules
7c61188bf9
Cleaned up a few places where four-char constants were used, to prevent warnings.
2014-08-12 09:22:28 +01:00
jules
ed7a262296
Changed a couple of places where "localhost" was used to use the IPAddress class instead to get the local address.
2014-07-24 14:03:40 +01:00
jules
99276d4407
Refactored the base classes of InterprocessConnection
2014-02-08 21:59:05 +00:00
jules
2edec00b55
Removed a few more uses of String::empty.
2013-12-01 23:28:31 +00:00
jules
4aa931def3
Improved locking on InterprocessConnection.
2013-09-26 11:57:03 +01:00
jules
5918d039ce
Added some "override" annotations.
2013-07-08 19:05:14 +01:00
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
2013-06-13 13:17:12 +01:00
jules
41f3b6c485
Re-implemented NamedPipe, to make the win32 version better match the posix one.
2012-12-09 12:52:41 +00:00
jules
0ceeb573d8
Minor changes to avoid pedantic compiler warnings.
2012-12-04 21:39:15 +00:00
jules
f24f7b638c
Modal component fix. Minor tweaks.
2012-11-19 23:29:39 +00:00
jules
9b8a39e27c
Removed some default parameters in NamedPipe methods and fixed time-outs when using posix NamedPipe::read().
2012-07-17 15:49:55 +01:00
jules
bfcc0dd7a5
Minor NamedPipe tweak.
2012-04-04 10:10:41 +01:00
jules
bdd778332d
Removed some unused android code. Refactored some messaging code.
2012-03-25 20:09:57 +01:00
jules
56bbab1537
(automated whitespace clean-up)
2012-03-20 16:00:06 +00:00
jules
295d125142
Stopped using the old BEGIN_JUCE_NAMESPACE macros, and just used hard-coded namespaces where necessary instead. The macro definitions are still there, so this shouldn't affect anyone's code.
2012-02-11 14:09:23 +00:00
Julian Storer
52a90374df
AU path fix. Minor tweaks. Version number bump.
2011-09-23 15:36:04 +01:00
Julian Storer
5224a3d9b8
Got rid of the nasty general-purpose ints and void*s that were in the Message class. Instead of using a plain old Message class, just create a subclass which contains whatever data you need in a more meaningful format.
2011-09-22 15:34:10 +01:00
Julian Storer
b70e0a28d2
First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum..
2011-08-12 10:04:52 +01:00