summaryrefslogtreecommitdiffstats
path: root/src/serialisation/Serialiser.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-02-03Don't ignore symlink() return value.David Robillard1-2/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5043 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-35/+35
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-6/+5
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-16/+16
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4918 a436a847-0d15-0410-975c-d299462d15a1
2012-12-29"edge" => "arc".David Robillard1-21/+21
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4897 a436a847-0d15-0410-975c-d299462d15a1
2012-11-22Don't save control values for block output ports (fixes #868, "direction ↵David Robillard1-0/+3
mismatch" errors on load). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4849 a436a847-0d15-0410-975c-d299462d15a1
2012-11-18Fix learn for Trigger and Internal nodes.David Robillard1-2/+2
Set value property for inputs when a notification is sent so model is consistent (and learned values are saved correctly). Don't redundantly store value atom in PortModel, just use property directly. Fix incorrect use of lv2:integer as a predicate. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4835 a436a847-0d15-0410-975c-d299462d15a1
2012-08-19GraphObject => NodeDavid Robillard1-52/+52
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4722 a436a847-0d15-0410-975c-d299462d15a1
2012-08-19Patch => GraphDavid Robillard1-54/+54
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4721 a436a847-0d15-0410-975c-d299462d15a1
2012-08-18Node => BlockDavid Robillard1-58/+60
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4720 a436a847-0d15-0410-975c-d299462d15a1
2012-08-17Implement real logging system, LV2 log extension support, and purge ↵David Robillard1-9/+7
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 all 'using namespace Raul'.David Robillard1-9/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4715 a436a847-0d15-0410-975c-d299462d15a1
2012-08-16Fix broken lv2:default saving and save current value as the lv2:default for ↵David Robillard1-3/+11
control inputs. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4710 a436a847-0d15-0410-975c-d299462d15a1
2012-08-14Saner/faster Store interface for finding children.David Robillard1-10/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4694 a436a847-0d15-0410-975c-d299462d15a1
2012-08-14Update for latest Raul.David Robillard1-8/+8
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 Robillard1-2/+2
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-6/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4670 a436a847-0d15-0410-975c-d299462d15a1
2012-08-10Fix a ton of warnings.David Robillard1-17/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4648 a436a847-0d15-0410-975c-d299462d15a1
2012-07-31Merge Ingen::Shared namespace into Ingen namespace and core libingen library.David Robillard1-14/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4579 a436a847-0d15-0410-975c-d299462d15a1
2012-07-30Eliminate pure virtual base classes Patch, Node, and Port, and the virtual ↵David Robillard1-70/+53
inheritance they imposed. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4576 a436a847-0d15-0410-975c-d299462d15a1
2012-06-13Fix saving of control bindings.David Robillard1-6/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4500 a436a847-0d15-0410-975c-d299462d15a1
2012-06-12Add "expose" (to parent) operation for ports.David Robillard1-11/+14
Partially implments #39. Export all the way to root has a few issues, I am considering this functionality good enough for now. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4496 a436a847-0d15-0410-975c-d299462d15a1
2012-05-23Trim unnecessary includes.David Robillard1-5/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4455 a436a847-0d15-0410-975c-d299462d15a1
2012-05-12Get copy and paste working again.David Robillard1-3/+9
Client side and text based is probably not the idea way to go about implementing this, but it more or less works and is certainly better than nothing for now. Copy paste of patch ports, and pasting into any path other than the root still isn't working currently. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4367 a436a847-0d15-0410-975c-d299462d15a1
2012-05-11"Connection" => "Edge"David Robillard1-18/+18
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 Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4344 a436a847-0d15-0410-975c-d299462d15a1
2012-05-10LV2URIMap => URIMap.David Robillard1-3/+3
Trim unnecessary includes. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4337 a436a847-0d15-0410-975c-d299462d15a1
2012-05-02Preliminary socket control interface, and ingen_cmd command line interface ↵David Robillard1-1/+1
which uses it. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4311 a436a847-0d15-0410-975c-d299462d15a1
2012-04-28Use "tail" and "head" terminology instead of "src_port" and "dst_port".David Robillard1-2/+2
Use the same types for connect() and disconnect() parameters. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4292 a436a847-0d15-0410-975c-d299462d15a1
2012-04-28Lint.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4289 a436a847-0d15-0410-975c-d299462d15a1
2012-04-26Save properties with pretty numbers so normal LV2 tools can read patches.David Robillard1-1/+3
Fix running as a plugin. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4279 a436a847-0d15-0410-975c-d299462d15a1
2012-04-23Use URI defines where possible.David Robillard1-2/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4244 a436a847-0d15-0410-975c-d299462d15a1
2012-04-22"Connection" => "Edge" and related terminology stuff.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4240 a436a847-0d15-0410-975c-d299462d15a1
2012-04-22Fix crash when saving patches with subpatches.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4237 a436a847-0d15-0410-975c-d299462d15a1
2012-04-12Use URI defines from LV2 headers where possible.David Robillard1-5/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4175 a436a847-0d15-0410-975c-d299462d15a1
2012-04-11Write port values in presets as pretty numbers.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4168 a436a847-0d15-0410-975c-d299462d15a1
2012-03-27Squeeze blank lines.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4113 a436a847-0d15-0410-975c-d299462d15a1
2012-03-27Switch to AGPL3+.David Robillard1-16/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4111 a436a847-0d15-0410-975c-d299462d15a1
2012-03-19Partially functioning communication between Ingen LV2 plugin and UI.David Robillard1-53/+39
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4078 a436a847-0d15-0410-975c-d299462d15a1
2012-03-16Merge ClientInterface and ServerInterface.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4067 a436a847-0d15-0410-975c-d299462d15a1
2012-03-14Use the host URI map/unmap when running as a plugin.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4058 a436a847-0d15-0410-975c-d299462d15a1
2012-03-12Centralise atom creation in forge object.David Robillard1-2/+3
Aside from being more greppable and making realtime violations more obvious, this is a step towards using LV2 atoms internally (which needs a factory since the type numbers are dynamic). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4054 a436a847-0d15-0410-975c-d299462d15a1
2012-03-11Implement state save/restore when Ingen is an LV2 plugin.David Robillard1-8/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4047 a436a847-0d15-0410-975c-d299462d15a1
2012-03-10Delete trailing whitespace.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4041 a436a847-0d15-0410-975c-d299462d15a1
2012-03-09Fix patch saving.David Robillard1-5/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4037 a436a847-0d15-0410-975c-d299462d15a1
2012-01-14Fix broken link to engine library in saved bundles (fix #806).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3944 a436a847-0d15-0410-975c-d299462d15a1
2011-12-07Fix saving.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3832 a436a847-0d15-0410-975c-d299462d15a1
2011-10-22Fix serialisation.David Robillard1-23/+8
Fix Parser::relative_uri. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3590 a436a847-0d15-0410-975c-d299462d15a1
2011-10-21Move more headers to shared include directory.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3566 a436a847-0d15-0410-975c-d299462d15a1