summaryrefslogtreecommitdiffstats
path: root/src/server/events/CreateBlock.cpp
AgeCommit message (Collapse)AuthorFilesLines
2024-06-04Clean up includesDavid Robillard1-0/+1
2023-09-22Use a regular unique_ptr for compiled graphsDavid Robillard1-3/+3
Since these are always swapped by events which already have the ability to delete things after execution (by deleting them along with the event itself after processing), we can avoid the complexity and overhead of Raul::managed_ptr here by swapping the old graph for the new, retaining the owning reference to the old CompiledGraph in the event.
2023-02-03Suppress/fix new warnings in clang-tidy 15David Robillard1-1/+1
2022-12-14Concatenate nested namespacesDavid Robillard1-4/+2
2022-08-18Avoid "else" after "return", "break", and "continue"David Robillard1-4/+11
2022-08-18Use default member initializationDavid Robillard1-2/+0
2022-08-18Use auto when declaring iteratorsDavid Robillard1-8/+6
2021-01-02Pass by value and use std::moveDavid Robillard1-2/+2
2021-01-02Update for latest raulDavid Robillard1-3/+3
2020-12-15Clean up includes in core and serverDavid Robillard1-1/+5
2020-11-11Fix potential state memory leaksDavid Robillard1-2/+2
2020-08-03Clean up includesDavid Robillard1-0/+14
As directed by include-what-you-use. Unfortunately, it is still confused by quite a few things, but this gets a lot closer to a clean report, and at least makes the output more tolerable to manually check.
2020-08-02Remove std::shared_ptr aliasDavid Robillard1-13/+14
2019-12-08Cleanup: Remove unused parameter namesDavid Robillard1-1/+1
2019-12-08Cleanup: Avoid parameter copying overheadDavid Robillard1-6/+6
2019-12-08Cleanup: Use "using" instead of "typedef" where appropriateDavid Robillard1-1/+1
2019-12-08Cleanup: Fix some includes and forward declarationsDavid Robillard1-1/+1
2019-03-09Clean up includes and forward declarationsDavid Robillard1-7/+10
2019-03-08Pass World everywhere by referenceDavid Robillard1-1/+1
2018-09-23Use lowercase namespace namesDavid Robillard1-7/+7
2018-01-21Add FilePath class and remove use of glib path utilitiesDavid Robillard1-1/+2
2018-01-21Add URI class and remove use of Raul::URIDavid Robillard1-1/+1
2018-01-21Replace insert(make_pair(...)) with emplaceDavid Robillard1-3/+3
2018-01-17Clean up Engine component memory management and trim include treeDavid Robillard1-1/+1
2017-12-25Use auto for iteratorsDavid Robillard1-1/+1
2017-12-25Use nullptrDavid Robillard1-3/+3
2017-12-25Remove trivial destructors and use default where possibleDavid Robillard1-4/+0
2017-12-24Clean up includes in public headersDavid Robillard1-0/+1
2017-02-18Reduce Driver couplingDavid Robillard1-1/+0
2017-02-15Move Properties out of ResourceDavid Robillard1-8/+8
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-6/+2
2016-10-06Add plugin state savingDavid Robillard1-5/+17
This only works with a server-side save, so the GUI now uses that if the server is not running remotely, where "remotely" is defined as "via TCP". This isn't perfect, since running ingen via TCP locally is a perfectly valid thing to do, but it will do for now.
2016-10-02Defer graph compilation in atomic bundlesDavid Robillard1-5/+5
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-02Add parallelism-aware graph traversalDavid Robillard1-2/+2
2016-09-11Remove last vestiges of multiple run contextsDavid Robillard1-1/+1
2016-07-30Add undo supportDavid Robillard1-1/+7
2015-10-26Use URIDs almost everywhereDavid Robillard1-1/+1
This fixes some issues where types are lost after saving and re-loading many times. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5788 a436a847-0d15-0410-975c-d299462d15a1
2015-10-25Fix saving and loading of copy-pasted blocksDavid Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5785 a436a847-0d15-0410-975c-d299462d15a1
2015-09-04Fix various atom conversion issues.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5719 a436a847-0d15-0410-975c-d299462d15a1
2015-05-14Fix ingen:prototype compatibility.David Robillard1-3/+3
Fixes issue #1048. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5678 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-04-03Use lv2:prototype and deprecate ingen:prototype.David Robillard1-3/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5652 a436a847-0d15-0410-975c-d299462d15a1
2015-02-08Server-side copy paste with LV2 state support.David Robillard1-42/+51
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5541 a436a847-0d15-0410-975c-d299462d15a1
2014-01-24Fix various whitespace and formatting issues.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5325 a436a847-0d15-0410-975c-d299462d15a1
2013-02-24Don't send port values to UI for audio ports (fix Calf crash).David Robillard1-5/+2
Don't set ingen:value property for non-control ports. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5081 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-01-12Remove Raul::SharedPtr and switch to std::shared_ptr.David Robillard1-1/+1
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 range-based for loops where possible.David Robillard1-2/+2
Mmm, shiny. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4919 a436a847-0d15-0410-975c-d299462d15a1
2013-01-11Use type safe enumerations.David Robillard1-8/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4918 a436a847-0d15-0410-975c-d299462d15a1