summaryrefslogtreecommitdiffstats
path: root/src/server/events/Delete.cpp
AgeCommit message (Collapse)AuthorFilesLines
2019-12-08Cleanup: Avoid parameter copying overheadDavid Robillard1-4/+4
2019-03-09Clean up includes and forward declarationsDavid Robillard1-5/+13
2019-03-09Use smart pointers over manual memory managementDavid Robillard1-3/+4
2019-03-08Pass World everywhere by referenceDavid Robillard1-2/+2
2018-09-23Use lowercase namespace namesDavid Robillard1-10/+10
2018-01-21Add URI class and remove use of Raul::URIDavid Robillard1-1/+1
2017-12-25Use auto for iteratorsDavid Robillard1-1/+1
2017-12-25Use nullptrDavid Robillard1-3/+3
2017-12-16Make events take the corresponding message directlyDavid Robillard1-12/+11
2017-12-16Adjust indices when ports are deletedDavid Robillard1-0/+38
2017-12-16Fix undo of deletions that remove connectionsDavid Robillard1-1/+1
2017-03-18Don't delete LV2 portsDavid Robillard1-1/+1
2017-02-15Move static path stuff to its own headerDavid Robillard1-2/+2
2017-02-12Use smart pointers to handle real-time memory disposalDavid Robillard1-15/+5
2016-12-14Fix real-time safety of control bindingsDavid Robillard1-3/+8
2016-10-14Fix potential store deadlockDavid Robillard1-1/+1
2016-10-02Defer graph compilation in atomic bundlesDavid Robillard1-8/+13
This avoids situations like compiling a graph hundreds of times when it is loaded because it has hundreds of nodes and each event triggers a re-compile. This speeds things up dramatically, but exacerbates the theoretical problem of there not being enough time in a cycle to execute a bundle. As far as I can tell, the execute phase of events is very fast, so hundreds or thousands can easily run in a tiny fraction of the process cycle, but this still needs resolution to be truly hard real-time. What probably needs to happen is that all context and state used to process is moved to CompiledGraph and nodes do not access their own fields at all, but have some references into the CompiledGraph. This way, a compiled graph is separate from its "source code", and an old one could continue to be run while a new one is beng applied across several cycles.
2016-10-02Use more efficient std::lock_guard where possibleDavid Robillard1-1/+1
2016-10-02Add parallelism-aware graph traversalDavid Robillard1-2/+2
2016-09-11Remove last vestiges of multiple run contextsDavid Robillard1-1/+1
2016-08-17Rename main graph and control/notify portsDavid Robillard1-1/+1
2016-07-30Add undo supportDavid Robillard1-1/+13
2015-10-23Speed up multi-deletionDavid Robillard1-6/+2
Take only a fine-grained lock on the store for deletion. IIRC, the long lock was to avoid conflict with Get which accesses the store in post_process(), but this issue has been fixed and events only access the store in pre_process(). I believe it is now safe to only lock Delete during pre_process() as a result. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5771 a436a847-0d15-0410-975c-d299462d15a1
2015-04-04Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5653 a436a847-0d15-0410-975c-d299462d15a1
2015-02-08Don't complain about missing ports when deleting things.David Robillard1-3/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5547 a436a847-0d15-0410-975c-d299462d15a1
2015-02-06Remove gthread dependency from engine.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5533 a436a847-0d15-0410-975c-d299462d15a1
2014-03-15Hopefully fix potential deadlocks with mass deletes (fix #962).David Robillard1-3/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5336 a436a847-0d15-0410-975c-d299462d15a1
2013-01-12Remove Raul::SharedPtr and switch to std::shared_ptr.David Robillard1-7/+7
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 Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4918 a436a847-0d15-0410-975c-d299462d15a1
2012-12-21Strip trailing whitespace.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4883 a436a847-0d15-0410-975c-d299462d15a1
2012-12-21Fix memory leaks.David Robillard1-2/+1
Add missing library dependencies. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4880 a436a847-0d15-0410-975c-d299462d15a1
2012-12-21Add Broadcaster::Transfer for scoped recursion-safe reply bundling.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4868 a436a847-0d15-0410-975c-d299462d15a1
2012-12-20Fix crash on bad delete events.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4867 a436a847-0d15-0410-975c-d299462d15a1
2012-08-19GraphObject => NodeDavid Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4722 a436a847-0d15-0410-975c-d299462d15a1
2012-08-19Patch => GraphDavid Robillard1-8/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4721 a436a847-0d15-0410-975c-d299462d15a1
2012-08-18Node => BlockDavid Robillard1-11/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4720 a436a847-0d15-0410-975c-d299462d15a1
2012-08-15Rewrite Raul::Maid and eliminate Raul:List.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4702 a436a847-0d15-0410-975c-d299462d15a1
2012-08-15Use intrusive lists to store nodes and ports in their parent patch to avoid ↵David Robillard1-63/+44
tedious allocated list node juggling. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4700 a436a847-0d15-0410-975c-d299462d15a1
2012-08-15Simpler and more unified EnginePort implementation.David Robillard1-6/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4699 a436a847-0d15-0410-975c-d299462d15a1
2012-08-14Don't look up system ports by path in the audio thread.David Robillard1-2/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4697 a436a847-0d15-0410-975c-d299462d15a1
2012-08-14Replace use of old Raul Table stuff with std::map.David Robillard1-10/+8
Move most Store functionality into Ingen::Store and eliminate EngineStore. Much cleaner delete and move implementations. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4696 a436a847-0d15-0410-975c-d299462d15a1
2012-08-12Use ingen:root as the path for the root patch, opening up path space for ↵David Robillard1-6/+5
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-12Stricter symbol construction and conversion.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4670 a436a847-0d15-0410-975c-d299462d15a1
2012-07-30Shrink events.David Robillard1-7/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4574 a436a847-0d15-0410-975c-d299462d15a1
2012-07-26Report subject with errors to client for more meaningful error messages.David Robillard1-12/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4556 a436a847-0d15-0410-975c-d299462d15a1
2012-06-29Fix crashes caused by events attempting to respond to deleted clients (fix ↵David Robillard1-5/+5
#842). This one mainly manifested when using ingenish from the command line since the client is so short lived. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4503 a436a847-0d15-0410-975c-d299462d15a1
2012-05-23Tidy.David Robillard1-9/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4449 a436a847-0d15-0410-975c-d299462d15a1
2012-05-22More work on test suite.David Robillard1-6/+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-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