summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-06-07Remove use of smart pointers in FlowCanvas entirely.David Robillard10-108/+95
Since FlowCanvas's containers own their children, there is no real benefit to using smart pointers for objects, though there is overhead. There are no longer any add or remove methods for containers, simply create (new) and destroy (delete) objects and things should work as expected. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3366 a436a847-0d15-0410-975c-d299462d15a1
2011-06-06Use sane typedefs for collections.David Robillard2-5/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3365 a436a847-0d15-0410-975c-d299462d15a1
2011-06-06Use a care pointer reference to containing module rather than boost::weak_ptr.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3364 a436a847-0d15-0410-975c-d299462d15a1
2011-06-04Make all Canvas data members private.David Robillard2-23/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3357 a436a847-0d15-0410-975c-d299462d15a1
2011-06-03Remove use of boost::enable_shared_from_this<Canvas>.David Robillard9-46/+36
Instead, just store a pointer to the containing canvas in Items, since it should not be possible for an Item to outlive its containing Canvas anyway. Shrinks Item memory overhead a tad and gives a minor performance boost as an added bonus. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3354 a436a847-0d15-0410-975c-d299462d15a1
2011-06-03Avoid the awful Gnome::Canvas::Text entirely, saving a ton of memory.David Robillard1-2/+2
Instead, render the text to a Gnome::Canvas::Pixbuf, and simply render that, which consumes far less memory. Also, trim memory overhead per Node/Port/Connection considerably (mostly by using canvas object properties rather than redundant fields in classes, which are now removed). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3350 a436a847-0d15-0410-975c-d299462d15a1
2011-05-27Don't install private headersDavid Robillard5-15/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3339 a436a847-0d15-0410-975c-d299462d15a1
2011-05-25Fix crash on popping up node menu.David Robillard1-5/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3323 a436a847-0d15-0410-975c-d299462d15a1
2011-05-25Move sanitised serialisation headers to public include directoryDavid Robillard19-650/+492
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3320 a436a847-0d15-0410-975c-d299462d15a1
2011-05-24Move appropriate client headers to public include directory.David Robillard62-1239/+113
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3319 a436a847-0d15-0410-975c-d299462d15a1
2011-05-24Remove dependence on protocol-specific client headers in GUI code.David Robillard12-68/+72
In other words, remove need for protocol-specific (and library dependent) headers to be in public headers... git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3318 a436a847-0d15-0410-975c-d299462d15a1
2011-05-24Tidy up headers.David Robillard22-83/+61
Remove dependency on OSCEngineSender and HTTPEngineSender from GUI code. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3317 a436a847-0d15-0410-975c-d299462d15a1
2011-05-24Remove use of ingen-config.h in soon-to-be-public headers.David Robillard24-142/+44
Make Lilv dependency mandatory. Reduce dependency on ingen-config.h. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3316 a436a847-0d15-0410-975c-d299462d15a1
2011-05-24Update for new Sord APIDavid Robillard3-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3315 a436a847-0d15-0410-975c-d299462d15a1
2011-05-23Apply patch from pgiblox in ticket #694 to fix compilation without ↵David Robillard9-21/+23
Raul::IntrusivePtr: "Since Raul::IntrusivePtr was removed, ingen_server no longer compiles. We could either add another #define for IntrusivePtr, or just use boost::intrusive_ptr directly. Going with the direct approach since server seems to use boost::shared_ptr directly as well." I would like easy portability to c++0x pointers, but unfortunately there is no intrusive_ptr there... it's an easy search/replace anyway, so this will do for now. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3307 a436a847-0d15-0410-975c-d299462d15a1
2011-05-21Load UI file from window level (fixes unparented widget warnings).David Robillard2-5/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3306 a436a847-0d15-0410-975c-d299462d15a1
2011-05-21Fix Gtk warnings (avoid loading top level of UI file).David Robillard11-41/+34
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3305 a436a847-0d15-0410-975c-d299462d15a1
2011-05-21Fix patch loading.David Robillard4-12/+46
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3304 a436a847-0d15-0410-975c-d299462d15a1
2011-05-20Correctly set initial value of control ports at creation time.David Robillard2-3/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3297 a436a847-0d15-0410-975c-d299462d15a1
2011-05-20Fix multiple put replies on port creation.David Robillard3-11/+18
Include value in initial put response for control ports. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3296 a436a847-0d15-0410-975c-d299462d15a1
2011-05-20Remove dependency on glade and glademm (migrate to GtkBuilder).David Robillard52-901/+859
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3295 a436a847-0d15-0410-975c-d299462d15a1
2011-05-20Upate for new Raul APIDavid Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3292 a436a847-0d15-0410-975c-d299462d15a1
2011-05-20Add missing includeDavid Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3291 a436a847-0d15-0410-975c-d299462d15a1
2011-05-19Convey put context parameter via OSC.David Robillard4-6/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3287 a436a847-0d15-0410-975c-d299462d15a1
2011-05-19Fix some crashiness in last commit.David Robillard2-5/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3286 a436a847-0d15-0410-975c-d299462d15a1
2011-05-19Fix delta via OSC (OSC bindings should be fully functional again).David Robillard6-3/+144
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3285 a436a847-0d15-0410-975c-d299462d15a1
2011-05-18Remove unnecessary non-portable includes.David Robillard5-16/+23
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3283 a436a847-0d15-0410-975c-d299462d15a1
2011-05-18Use an intrusive linked list for event queue rather than Raul::List.David Robillard14-88/+120
This avoids the need to allocate list nodes, improving performance (event throughput), and making EventSource::push_queued realtime safe. Remove unused queue_size parameter from EventSource and friends. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3282 a436a847-0d15-0410-975c-d299462d15a1
2011-05-18Exit when connect window is closed and there are no open patch windows.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3281 a436a847-0d15-0410-975c-d299462d15a1
2011-05-18Update for new Serd and Sord APIs.David Robillard4-12/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3277 a436a847-0d15-0410-975c-d299462d15a1
2011-05-13Apply 0002-Reformat-some-code-to-use-hard-tabs.patch from ticket #688, ↵David Robillard7-29/+29
except with modifications to not add broken indentation. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3263 a436a847-0d15-0410-975c-d299462d15a1
2011-05-13Apply 0001-Remove-unused-includes.patch from ticket #688, except with ↵David Robillard2-2/+1
modifications to not break compilation. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3262 a436a847-0d15-0410-975c-d299462d15a1
2011-05-13Remove unnecessary ingen-config.h includes.David Robillard2-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3261 a436a847-0d15-0410-975c-d299462d15a1
2011-05-13Make ClientStore::plugin and ClientStore::resource const-correct.David Robillard2-10/+23
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3260 a436a847-0d15-0410-975c-d299462d15a1
2011-05-13Make models const in client code.David Robillard63-440/+545
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3259 a436a847-0d15-0410-975c-d299462d15a1
2011-05-13Make signals private with accessors, and localise dependency on sigc::signal.David Robillard30-158/+196
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3258 a436a847-0d15-0410-975c-d299462d15a1
2011-05-12Remove dead code.David Robillard4-21/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3257 a436a847-0d15-0410-975c-d299462d15a1
2011-05-11Pass environment to sord write methods for CURIE abbreviation.David Robillard1-5/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3255 a436a847-0d15-0410-975c-d299462d15a1
2011-05-03Replace lilv_plugin_get_value_for_subject with lilv_world_find_nodes.David Robillard1-10/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3247 a436a847-0d15-0410-975c-d299462d15a1
2011-04-30Fix immediate quit due to uninitialised quit flag (fix ticket #677).David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3244 a436a847-0d15-0410-975c-d299462d15a1
2011-04-30Cache port RDF node on load instead of searching for it repeatedly.David Robillard1-7/+7
Consistent namespace and URI define names. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3240 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29LilvValue => LilvNode.David Robillard10-159/+159
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3234 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Terser names for value constructors.David Robillard6-29/+29
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3223 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Don't hide pointers behind typedefs.David Robillard16-122/+132
Use const appropriately in API (makes it clear from the type whether objects should be freed or not). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3222 a436a847-0d15-0410-975c-d299462d15a1
2011-04-28Switch to Lilv from SLV2.David Robillard29-327/+327
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3220 a436a847-0d15-0410-975c-d299462d15a1
2011-04-28Improve RingBuffer implementation.David Robillard4-6/+8
Previous implementation was broken when written to full capacity, and this version is significantly faster as well. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3213 a436a847-0d15-0410-975c-d299462d15a1
2011-04-28More future-proof collection APIs.David Robillard6-11/+11
Make all iterator actions occur through a collection specific function. Verbose, and a low of API, but allows for the possibility of different collection implementation types (given a choice between verbosity and no type safety, I'll take verbosity). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3211 a436a847-0d15-0410-975c-d299462d15a1
2011-04-28Update for new Suil API.David Robillard2-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3204 a436a847-0d15-0410-975c-d299462d15a1
2011-04-23Load correct engine/server module name.David Robillard2-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3197 a436a847-0d15-0410-975c-d299462d15a1
2011-04-22Fix Python whitespace (PEP8)David Robillard6-271/+268
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3195 a436a847-0d15-0410-975c-d299462d15a1