reuk
472fac976b
IPC: Prevent disconnection while a read is in progress
4 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.
4 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.
4 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
Tom Poole
a4bd6cbc66
Fixed some more Linux compiler warnings
6 years ago
ed
9ddf8eece2
Fixed a bug where InterprocessConnection::isConnected() returned false inside the InterprocessConnection::connectionMade() callback in some cases
6 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
jules
48a5fbd333
Another batch of ScopedPointer cleanups
7 years ago
Tom Poole
fe7f34f0fa
Improved the idling of socket InterprocessConnections
7 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)
7 years ago
jules
1aaa598a5f
Added JUCE_DECLARE_WEAK_REFERENCEABLE macro to make it easier to creat weak-referenceable classes
7 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
7 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
8 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
8 years ago
jules
8883b1f9c1
Added a "mustNotExist" argument to NamedPipe creation
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
7c61188bf9
Cleaned up a few places where four-char constants were used, to prevent warnings.
10 years ago
jules
ed7a262296
Changed a couple of places where "localhost" was used to use the IPAddress class instead to get the local address.
10 years ago
jules
99276d4407
Refactored the base classes of InterprocessConnection
11 years ago
jules
2edec00b55
Removed a few more uses of String::empty.
11 years ago
jules
4aa931def3
Improved locking on InterprocessConnection.
11 years ago
jules
5918d039ce
Added some "override" annotations.
12 years ago
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
12 years ago
jules
41f3b6c485
Re-implemented NamedPipe, to make the win32 version better match the posix one.
12 years ago
jules
0ceeb573d8
Minor changes to avoid pedantic compiler warnings.
12 years ago
jules
f24f7b638c
Modal component fix. Minor tweaks.
12 years ago
jules
9b8a39e27c
Removed some default parameters in NamedPipe methods and fixed time-outs when using posix NamedPipe::read().
13 years ago
jules
bfcc0dd7a5
Minor NamedPipe tweak.
13 years ago
jules
bdd778332d
Removed some unused android code. Refactored some messaging code.
13 years ago
jules
56bbab1537
(automated whitespace clean-up)
13 years ago
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.
13 years ago
Julian Storer
52a90374df
AU path fix. Minor tweaks. Version number bump.
13 years ago
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.
13 years ago
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..
13 years ago
Julian Storer
0853a9b686
Removed const-ness from some return types to take advantage of future c++0x advantages.
14 years ago
Julian Storer
67e22bbb56
Added selection to treeview persistent state. Minor optimisations to AudioThumbnail. Added FTP password support for win32 networking. Cleaned up some file dependencies and altered some return value types to allow better c++0x forwarding behaviour.
14 years ago
Julian Storer
f04309f44a
Added fake placeholder versions of the new c++0x 'noexcept' and 'nullptr' keywords, and altered the library classes to use these instead of 'throw()' and '0'. This shouldn't make any difference at all to existing code, but will enable better static checking with future c++0x compilers.
14 years ago
Julian Storer
fa04e0cf93
win32 font name length fix. Tidied up ScopedLock class structure, creating some templated classes for generic RAII locking.
14 years ago
Julian Storer
5d98779f19
Updated the date in the copyright notice.
14 years ago
Julian Storer
0a9cbd36c4
Minor tweaks to MidiMessage, Label. Removed some intel compiler warnings.
14 years ago
Julian Storer
7becff2aa4
Reorganised some of the juce source tree folders. Added a new JUCE_DEPRECATED macro, and tested it by renaming Button::addButtonListener to Button::addListener for consistency with other widgets. Added Samplitude to the AudioHostType class. Fixed window maximising in win32.
14 years ago
Julian Storer
27506c2120
Copyright notice update.
15 years ago
Julian Storer
d4435ca8b8
Minor clean-ups. Jucer development.
15 years ago
Julian Storer
d9d1c4c995
New methods for PropertiesFile. Fix for InterprocessConnection.
15 years ago
Julian Storer
e61e8f6775
Changed some 'int's to 'size_t's, to improve 64-bit compatibility. Also changed jmin and jmax to use templates, so they can take any type. These changes might mean that you'll need to add some more explicit casts to get your existing code to compile, but this is actually a good thing - it brought to light a few dodgy implicit casts in my code, and may do the same in yours. Also added a function roundToInt(), which replaces roundDoubleToInt() and roundFloatToInt(), but takes any size of floating point number (I've left the old roundDoubleToInt() and roundFloatToInt() functions there for convenience, but will probably remove them in the future).
15 years ago
Julian Storer
18ffeba9da
Added Value support to the Button's toggle state and TextEditor content. Refactored the atomic operation functions to live inside a class called Atomic, and the byte order functions into a class called ByteOrder.
15 years ago
Julian Storer
c22c06c80c
New class: ScopedPointer, which auto-releases a pointer when it goes out of scope. I've used this extensively to replace a lot of pointer deletions with more RAII-style patterns.
15 years ago