summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-09-24Use store lock to avoid race conditions with Get and create/delete events.David Robillard8-11/+49
Get really shouldn't be reading the store (via ObjectSender) in the post processing thread at all, avoiding that entirely would be a better solution. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3484 a436a847-0d15-0410-975c-d299462d15a1
2011-09-24Only store patch canvas coordinates in containing patch.David Robillard8-23/+65
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3483 a436a847-0d15-0410-975c-d299462d15a1
2011-09-23Fix memory leaks and errors.David Robillard12-22/+77
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3482 a436a847-0d15-0410-975c-d299462d15a1
2011-09-23Fix broken iterator use (memory errors on erase) in ResourceImpl::set_property.David Robillard11-49/+76
Load all required modules before starting jack (Jack went crazy sometimes otherwise, particularly with ingen running in gdb). Fix insane non-const reference return to Resource::set_property. Exit cleanly on interrupt (Ctrl-C) and terminate (kill). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3480 a436a847-0d15-0410-975c-d299462d15a1
2011-09-23Fix patch port canvas positioning across save/load.David Robillard2-15/+17
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3479 a436a847-0d15-0410-975c-d299462d15a1
2011-09-23Disable harmless error message about activity notification for nonexistent portsDavid Robillard1-3/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3477 a436a847-0d15-0410-975c-d299462d15a1
2011-09-23Don't prompt for save location when path is already known from previous save ↵David Robillard5-9/+24
or load. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3476 a436a847-0d15-0410-975c-d299462d15a1
2011-09-23Animate audio port colours based on levels.David Robillard16-32/+133
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3475 a436a847-0d15-0410-975c-d299462d15a1
2011-09-17Fix RingBuffer underrun and consequent execution of uninitialized Notification.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3472 a436a847-0d15-0410-975c-d299462d15a1
2011-09-17Fix "Disconnect" in port context menu (i.e. disconnect_all for ports).David Robillard1-2/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3471 a436a847-0d15-0410-975c-d299462d15a1
2011-09-15Fix control bindings (MIDI learn).David Robillard15-93/+154
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3464 a436a847-0d15-0410-975c-d299462d15a1
2011-09-15TidyDavid Robillard2-16/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3463 a436a847-0d15-0410-975c-d299462d15a1
2011-09-15Fix crash on client event post-processing (e.g. when rapidly manipulating ↵David Robillard2-18/+20
controls). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3462 a436a847-0d15-0410-975c-d299462d15a1
2011-09-14Support lv2:sampleRate controls (mostly) correctly.David Robillard14-28/+104
Fix initial control port values (was always 0.0). Fix numeric values in control window. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3460 a436a847-0d15-0410-975c-d299462d15a1
2011-09-06Fix crash when clicking patch modules (fix #769).David Robillard1-1/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3459 a436a847-0d15-0410-975c-d299462d15a1
2011-09-06Report serialisation errorsDavid Robillard1-1/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3458 a436a847-0d15-0410-975c-d299462d15a1
2011-09-01Add C-s hotkey for File->SaveDavid Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3457 a436a847-0d15-0410-975c-d299462d15a1
2011-08-20Remove cruft.David Robillard1-17/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3440 a436a847-0d15-0410-975c-d299462d15a1
2011-08-20Fix port and node menusDavid Robillard8-1888/+2230
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3439 a436a847-0d15-0410-975c-d299462d15a1
2011-08-20Fix crash when sending port notifications (fix #741).David Robillard15-382/+168
Use a simpler system for port change notifications (abusing Event, which is virtual and thus can't be ringbuffered safely, was the cause of this crash). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3438 a436a847-0d15-0410-975c-d299462d15a1
2011-08-20Fix node control windows (ticket #733).David Robillard2-5/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3435 a436a847-0d15-0410-975c-d299462d15a1
2011-07-25Actually fix compilation against reference extensionDavid Robillard2-7/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3428 a436a847-0d15-0410-975c-d299462d15a1
2011-07-25Update for move of "blob" functionality from atom to reference extension ↵David Robillard1-0/+1
(ticket #730). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3426 a436a847-0d15-0410-975c-d299462d15a1
2011-07-07Obey "special" properties on object creation (patch from Paul Giblock, ↵David Robillard1-8/+5
ticket #723) git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3416 a436a847-0d15-0410-975c-d299462d15a1
2011-07-06Fix errors in UI file (ticket #722)David Robillard1-11/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3415 a436a847-0d15-0410-975c-d299462d15a1
2011-07-04Eliminate weird-looking empty menus on non-control portsDavid Robillard3-17/+16
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3413 a436a847-0d15-0410-975c-d299462d15a1
2011-07-04Fix inability to create subpatches (ticket #722).David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3412 a436a847-0d15-0410-975c-d299462d15a1
2011-07-04Simplify FlowCanvas menu API, and fix crashing Ingen menus (ticket #721).David Robillard8-26/+27
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3411 a436a847-0d15-0410-975c-d299462d15a1
2011-06-11Remove dead code.David Robillard4-7/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3385 a436a847-0d15-0410-975c-d299462d15a1
2011-06-10Avoid resizing entirely when adding a port and new size/etc is simple to ↵David Robillard8-27/+30
compute. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3382 a436a847-0d15-0410-975c-d299462d15a1
2011-06-09Automatically resize modules at update time as necessary.David Robillard3-18/+5
This avoids the huge multiple resize performance problems of the past without requiring the user to manually resize modules. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3375 a436a847-0d15-0410-975c-d299462d15a1
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