summaryrefslogtreecommitdiffstats
path: root/src/server
AgeCommit message (Collapse)AuthorFilesLines
2012-05-15Fix crash when loading patches from the command line.David Robillard6-74/+70
Remove unnecessary fields from CreateNode event. Clean up CreateNode event and fix bugs. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4418 a436a847-0d15-0410-975c-d299462d15a1
2012-05-15Eliminate long-duration event locks by generated responses in pre_process().David Robillard9-52/+56
This also fixes some correctness issues, since the state at pre_process() time is actually the state that needs to be broadcast to clients. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4416 a436a847-0d15-0410-975c-d299462d15a1
2012-05-14Trim unnecessary includes.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4413 a436a847-0d15-0410-975c-d299462d15a1
2012-05-14Clean up Thread interface.David Robillard4-15/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4411 a436a847-0d15-0410-975c-d299462d15a1
2012-05-14Tidy.David Robillard33-174/+169
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4410 a436a847-0d15-0410-975c-d299462d15a1
2012-05-14Remove unnecessary includes.David Robillard2-4/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4409 a436a847-0d15-0410-975c-d299462d15a1
2012-05-14Delete trailing whitespace.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4408 a436a847-0d15-0410-975c-d299462d15a1
2012-05-14Don't use maid unnecessarily in Delete::post_process().David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4407 a436a847-0d15-0410-975c-d299462d15a1
2012-05-14Factor out common code.David Robillard1-14/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4406 a436a847-0d15-0410-975c-d299462d15a1
2012-05-14Remove Thread context stuff and add a thread-specific variable class, ↵David Robillard30-88/+98
ThreadVar, which can be used for this and many other things. ClientBroadcaster => Broadcaster. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4405 a436a847-0d15-0410-975c-d299462d15a1
2012-05-14Add missing includes and fix types that confuse Doxygen.David Robillard6-4/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4404 a436a847-0d15-0410-975c-d299462d15a1
2012-05-14Fix compilation when posix_memalign is unavailable.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4403 a436a847-0d15-0410-975c-d299462d15a1
2012-05-14Real-time safe LV2 message handling.David Robillard5-35/+113
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4402 a436a847-0d15-0410-975c-d299462d15a1
2012-05-13Fix wonky conditional.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4398 a436a847-0d15-0410-975c-d299462d15a1
2012-05-13Sanify atom port buffer size stuff (fix dead assignment).David Robillard1-7/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4386 a436a847-0d15-0410-975c-d299462d15a1
2012-05-13Avoid possibly creating a variable length array of size 0.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4385 a436a847-0d15-0410-975c-d299462d15a1
2012-05-13Remove unused variable.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4384 a436a847-0d15-0410-975c-d299462d15a1
2012-05-12Fix typo.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4377 a436a847-0d15-0410-975c-d299462d15a1
2012-05-12More work towards checking contexts via parameter rather than thread magic.David Robillard24-55/+90
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4376 a436a847-0d15-0410-975c-d299462d15a1
2012-05-12Fix memory errors when running as LV2 plugin.David Robillard2-9/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4375 a436a847-0d15-0410-975c-d299462d15a1
2012-05-12Use compiler checkable ProcessContext parameter rather than runtime context ↵David Robillard31-115/+104
assertions. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4374 a436a847-0d15-0410-975c-d299462d15a1
2012-05-12Remove redundant thread assertions.David Robillard8-15/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4372 a436a847-0d15-0410-975c-d299462d15a1
2012-05-12Add thread assertion.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4371 a436a847-0d15-0410-975c-d299462d15a1
2012-05-12Fix compilation of debug stuff.David Robillard1-7/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4366 a436a847-0d15-0410-975c-d299462d15a1
2012-05-12Remove Ping event and associated cruft.David Robillard3-81/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4365 a436a847-0d15-0410-975c-d299462d15a1
2012-05-12Fix memory leaks.David Robillard2-0/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4364 a436a847-0d15-0410-975c-d299462d15a1
2012-05-11Fix uninitialized variable.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4363 a436a847-0d15-0410-975c-d299462d15a1
2012-05-11Fix compilation with clang.David Robillard10-49/+43
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4358 a436a847-0d15-0410-975c-d299462d15a1
2012-05-11Make IngenPort non-pure.David Robillard2-12/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4353 a436a847-0d15-0410-975c-d299462d15a1
2012-05-11Move buffer stuff down to EnginePort.David Robillard3-27/+28
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4351 a436a847-0d15-0410-975c-d299462d15a1
2012-05-11Move Forge to the appropriate namespace.David Robillard7-9/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4350 a436a847-0d15-0410-975c-d299462d15a1
2012-05-11Add missing includes.David Robillard13-10/+25
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4348 a436a847-0d15-0410-975c-d299462d15a1
2012-05-11Lint.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4347 a436a847-0d15-0410-975c-d299462d15a1
2012-05-11Fix compilation with GCC 4.7.David Robillard1-10/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4346 a436a847-0d15-0410-975c-d299462d15a1
2012-05-11"Connection" => "Edge"David Robillard18-176/+168
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4345 a436a847-0d15-0410-975c-d299462d15a1
2012-05-11Clean up and better document World interface.David Robillard21-61/+60
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 Robillard6-36/+33
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-10Work towards translatable strings and a cleaner log interface.David Robillard34-208/+133
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4338 a436a847-0d15-0410-975c-d299462d15a1
2012-05-10LV2URIMap => URIMap.David Robillard27-39/+19
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 Robillard7-33/+35
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 Robillard4-62/+50
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4335 a436a847-0d15-0410-975c-d299462d15a1
2012-05-09Support TCP sockets.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4328 a436a847-0d15-0410-975c-d299462d15a1
2012-05-09DriverPort => EnginePort.David Robillard10-70/+117
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4327 a436a847-0d15-0410-975c-d299462d15a1
2012-05-09Factor audio thread execution stuff out of JackDriver into Engine::run().David Robillard19-125/+105
Towards an Ingen library interface usable on user-provided buffers. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4326 a436a847-0d15-0410-975c-d299462d15a1
2012-05-09Simply event interface design and make only one pre-process thread.David Robillard11-198/+83
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-03Real-time safe event source management (oops).David Robillard3-14/+26
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4321 a436a847-0d15-0410-975c-d299462d15a1
2012-05-03Work towards a proper server infrastructure with a thread per connection.David Robillard6-18/+24
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4320 a436a847-0d15-0410-975c-d299462d15a1
2012-05-03Separate EventWriter interface from EventQueue.David Robillard7-76/+75
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4319 a436a847-0d15-0410-975c-d299462d15a1
2012-05-03More work towards separating event interfaces from queueing implementation.David Robillard5-13/+99
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4318 a436a847-0d15-0410-975c-d299462d15a1
2012-05-02Separate EventSource interface from EventQueue implementation.David Robillard6-28/+25
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4316 a436a847-0d15-0410-975c-d299462d15a1