summaryrefslogtreecommitdiffstats
path: root/src/socket
AgeCommit message (Collapse)AuthorFilesLines
2015-02-07Demodularize socket stuff.David Robillard9-793/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5535 a436a847-0d15-0410-975c-d299462d15a1
2015-01-16Fix socket module compilation.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5516 a436a847-0d15-0410-975c-d299462d15a1
2014-12-18Upgrade to waf 1.8.5.David Robillard1-3/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5496 a436a847-0d15-0410-975c-d299462d15a1
2014-08-10Fix some memory leaks.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5451 a436a847-0d15-0410-975c-d299462d15a1
2014-08-08Fix compilation with non-standard LV2 location.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5420 a436a847-0d15-0410-975c-d299462d15a1
2014-04-26Fix library dependencies.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5373 a436a847-0d15-0410-975c-d299462d15a1
2013-12-30Don't falsely report listening on sockets that failed to bind.David Robillard1-2/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5224 a436a847-0d15-0410-975c-d299462d15a1
2013-08-20Remove unused class members.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5156 a436a847-0d15-0410-975c-d299462d15a1
2013-02-23Move Socket class to Raul.David Robillard11-347/+62
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5079 a436a847-0d15-0410-975c-d299462d15a1
2013-02-23Remove Raul::fmt wrapper, the last vestige of boost dependency for Raul.David Robillard3-6/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5077 a436a847-0d15-0410-975c-d299462d15a1
2013-02-04Replace Raul::thread with std::thread.David Robillard7-196/+124
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5047 a436a847-0d15-0410-975c-d299462d15a1
2013-02-03Fix compilation with GCC 4.6.David Robillard1-13/+17
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5038 a436a847-0d15-0410-975c-d299462d15a1
2013-02-02More generic Atom class.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5024 a436a847-0d15-0410-975c-d299462d15a1
2013-02-02Fix potential deadlock on exit. Maybe.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5020 a436a847-0d15-0410-975c-d299462d15a1
2013-01-12Remove Raul::SharedPtr and switch to std::shared_ptr.David Robillard12-60/+61
Use project local short type aliases for shared_ptr and friends. Move Raul::Disposable and Raul::Manageable into Raul::Maid. Use sets to store machina nodes and edges to avoid O(n) searches. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4939 a436a847-0d15-0410-975c-d299462d15a1
2013-01-11Use type safe enumerations.David Robillard3-9/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4918 a436a847-0d15-0410-975c-d299462d15a1
2012-12-23Use more sensible URI scheme for Ingen paths.David Robillard2-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4889 a436a847-0d15-0410-975c-d299462d15a1
2012-12-21Fix UI operation via socket.David Robillard2-18/+13
Fix crashes and deadlocks on shutdown. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4872 a436a847-0d15-0410-975c-d299462d15a1
2012-12-21Send a null terminator on bundle boundaries so reading replies from the ↵David Robillard2-0/+12
socket is simple. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4869 a436a847-0d15-0410-975c-d299462d15a1
2012-11-21Use atoms for option values.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4842 a436a847-0d15-0410-975c-d299462d15a1
2012-11-21Configuration file support.David Robillard1-0/+2
Change "jack-client" option to "jack-name". Print more informative info log messages. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4841 a436a847-0d15-0410-975c-d299462d15a1
2012-08-17Implement real logging system, LV2 log extension support, and purge ↵David Robillard5-32/+23
evil/ugly/untranslatable C++ stream printing. Remove coloured log stuff from Raul. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4717 a436a847-0d15-0410-975c-d299462d15a1
2012-08-16Remove verbose logging stuff from Thread.David Robillard2-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4709 a436a847-0d15-0410-975c-d299462d15a1
2012-08-16Remove Raul::Slave class.David Robillard4-4/+22
Merge Thread::stop() and Thread::join(). Clean thread shut down without the use of pthread_cancel(). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4708 a436a847-0d15-0410-975c-d299462d15a1
2012-08-15Clean up includes.David Robillard2-3/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4704 a436a847-0d15-0410-975c-d299462d15a1
2012-08-14Update for latest Raul.David Robillard5-48/+38
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4687 a436a847-0d15-0410-975c-d299462d15a1
2012-08-12Use ingen:root as the path for the root patch, opening up path space for ↵David Robillard2-4/+4
engine/driver/etc. Strict conversion between Path and URI (Path no longer is-a URI). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4672 a436a847-0d15-0410-975c-d299462d15a1
2012-08-10Fix various const violations.David Robillard2-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4647 a436a847-0d15-0410-975c-d299462d15a1
2012-07-31Merge Ingen::Shared namespace into Ingen namespace and core libingen library.David Robillard10-45/+42
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4579 a436a847-0d15-0410-975c-d299462d15a1
2012-05-22More work on test suite.David Robillard2-2/+3
Clean up, simplify, and shrink event code. Support disconnect_all via Atom protocol. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4432 a436a847-0d15-0410-975c-d299462d15a1
2012-05-14Trim unnecessary includes.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4413 a436a847-0d15-0410-975c-d299462d15a1
2012-05-14Clean up Thread interface.David Robillard2-5/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4411 a436a847-0d15-0410-975c-d299462d15a1
2012-05-12Fix memory leaks.David Robillard2-1/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4364 a436a847-0d15-0410-975c-d299462d15a1
2012-05-11Add missing includes.David Robillard2-0/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4348 a436a847-0d15-0410-975c-d299462d15a1
2012-05-11Lint.David Robillard4-7/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4347 a436a847-0d15-0410-975c-d299462d15a1
2012-05-11Clean up and better document World interface.David Robillard5-12/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4344 a436a847-0d15-0410-975c-d299462d15a1
2012-05-11Use more reasonable names for the world's interface and engine (if present).David Robillard1-3/+3
Don't require separate Configuration initialisation from World (simplify API). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4343 a436a847-0d15-0410-975c-d299462d15a1
2012-05-10Fix compilation on Mac OS X.David Robillard1-0/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4342 a436a847-0d15-0410-975c-d299462d15a1
2012-05-10Work towards translatable strings and a cleaner log interface.David Robillard1-11/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4338 a436a847-0d15-0410-975c-d299462d15a1
2012-05-10LV2URIMap => URIMap.David Robillard5-21/+25
Trim unnecessary includes. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4337 a436a847-0d15-0410-975c-d299462d15a1
2012-05-10Use SharedPtr references to Interfaces to keep things sane.David Robillard3-8/+30
Fix double register when using GUI with a remote engine. Avoid signal when writing to dead socket by using send with MSG_NOSIGNAL. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4336 a436a847-0d15-0410-975c-d299462d15a1
2012-05-10Bidirectional socket communication (GUI once again works remotely).David Robillard11-84/+494
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4335 a436a847-0d15-0410-975c-d299462d15a1
2012-05-09Factor out Socket from SocketListener and make interface more general.David Robillard4-101/+206
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4330 a436a847-0d15-0410-975c-d299462d15a1
2012-05-09Support TCP sockets.David Robillard3-38/+158
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4328 a436a847-0d15-0410-975c-d299462d15a1
2012-05-09SocketInterface => SocketReader.David Robillard4-35/+42
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4325 a436a847-0d15-0410-975c-d299462d15a1
2012-05-09Remove unused accessor.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4324 a436a847-0d15-0410-975c-d299462d15a1
2012-05-09Simply event interface design and make only one pre-process thread.David Robillard4-65/+16
This makes event pre-processing actually safe for multiple interfaces since multiple events will never be pre-processed simultaneously and the pre-process order is definitely the same as the execute order. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4323 a436a847-0d15-0410-975c-d299462d15a1
2012-05-09Persistent socket interface and interactive shell.David Robillard2-55/+148
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4322 a436a847-0d15-0410-975c-d299462d15a1
2012-05-03Work towards a proper server infrastructure with a thread per connection.David Robillard6-69/+219
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4320 a436a847-0d15-0410-975c-d299462d15a1
2012-05-03Separate EventWriter interface from EventQueue.David Robillard1-6/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4319 a436a847-0d15-0410-975c-d299462d15a1