aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui/MachinaCanvas.cpp
AgeCommit message (Collapse)AuthorFilesLines
2011-06-07Remove use of smart pointers in FlowCanvas entirely.David Robillard1-10/+7
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/machina@3366 a436a847-0d15-0410-975c-d299462d15a1
2011-06-03Remove use of boost::enable_shared_from_this<Canvas>.David Robillard1-2/+2
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/machina@3354 a436a847-0d15-0410-975c-d299462d15a1
2011-04-16Update copyright headersDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3153 a436a847-0d15-0410-975c-d299462d15a1
2011-01-10Rewrite with UI/engine split.David Robillard1-114/+78
Note some things aren't quite working right again yet... git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2821 a436a847-0d15-0410-975c-d299462d15a1
2010-12-22Update license to GPLv3.David Robillard1-10/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2780 a436a847-0d15-0410-975c-d299462d15a1
2010-12-18Remove LearnRequest from public engine API.David Robillard1-4/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2763 a436a847-0d15-0410-975c-d299462d15a1
2010-09-04My name is David. :)David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2590 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2000 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Strip trailing whitespace.David Robillard1-10/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@1999 a436a847-0d15-0410-975c-d299462d15a1
2009-02-27Build without eugene.David Robillard1-4/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@1944 a436a847-0d15-0410-975c-d299462d15a1
2008-11-17Run... almostDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@1756 a436a847-0d15-0410-975c-d299462d15a1
2008-11-17Compile.David Robillard1-3/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@1755 a436a847-0d15-0410-975c-d299462d15a1
2008-10-18Build against local library versions no matter what.... hopefully....David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@1677 a436a847-0d15-0410-975c-d299462d15a1
2008-01-02Fix canvas scroll buttons.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/machina@1007 a436a847-0d15-0410-975c-d299462d15a1
2007-12-07It's evolution, baby.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/machina@958 a436a847-0d15-0410-975c-d299462d15a1
2007-12-06Rename uselessley verbose MachineMutation.[ch]ppDavid Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/machina@953 a436a847-0d15-0410-975c-d299462d15a1
2007-12-05Working mutation operators.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/machina@952 a436a847-0d15-0410-975c-d299462d15a1
2007-12-05Add preliminary mutation to machina (only random edge probability mutation ↵David Robillard1-3/+13
so far). git-svn-id: http://svn.drobilla.net/lad/machina@951 a436a847-0d15-0410-975c-d299462d15a1
2007-12-03Use dashed outline for selector nodes.David Robillard1-2/+3
Fix various selector node visual problems. git-svn-id: http://svn.drobilla.net/lad/machina@942 a436a847-0d15-0410-975c-d299462d15a1
2007-10-21Fix (most of the) basic machina functionality.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/machina@889 a436a847-0d15-0410-975c-d299462d15a1
2007-07-26Make canvas grab events.David Robillard1-1/+1
Remove silly ctrl+click zoom event grabs. Add concept of "edit mode", old behaviour = edit mode, edit mode off = no connections or module moving. git-svn-id: http://svn.drobilla.net/lad/machina@641 a436a847-0d15-0410-975c-d299462d15a1
2007-07-24Consistently rename all C++ files .cpp/.hpp.David Robillard1-1/+1
Fix (some) inclusion guard names to not clash with other libs. git-svn-id: http://svn.drobilla.net/lad/machina@613 a436a847-0d15-0410-975c-d299462d15a1
2007-06-06Nicer Flowcanvas naming.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/machina@529 a436a847-0d15-0410-975c-d299462d15a1
2007-04-17Event handling fixes.David Robillard1-3/+7
Changed button assignments to not conflict with canvas zooming. git-svn-id: http://svn.drobilla.net/lad/machina@450 a436a847-0d15-0410-975c-d299462d15a1
2007-04-06Email address and FSF copyright address updates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/machina@405 a436a847-0d15-0410-975c-d299462d15a1
2007-04-06Icon fixes.David Robillard1-7/+0
git-svn-id: http://svn.drobilla.net/lad/machina@402 a436a847-0d15-0410-975c-d299462d15a1
2007-04-05Code cleanups.David Robillard1-48/+0
git-svn-id: http://svn.drobilla.net/lad/machina@399 a436a847-0d15-0410-975c-d299462d15a1
2007-04-05Selector states.David Robillard1-0/+4
Togglable edge and state labels. Builder fixes. GUI/input/etc fixes. git-svn-id: http://svn.drobilla.net/lad/machina@398 a436a847-0d15-0410-975c-d299462d15a1
2007-03-31Fixed tempo skew (record vs playback).David Robillard1-1/+1
Recording/building algorithm fixes. Polished up GUI things. git-svn-id: http://svn.drobilla.net/lad/machina@384 a436a847-0d15-0410-975c-d299462d15a1
2007-03-31Realtime MIDI recording.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/machina@383 a436a847-0d15-0410-975c-d299462d15a1
2007-03-30Canvas auto-layout uses durations like graphviz diagrams.David Robillard1-11/+11
Learning fixes. Added duration spinbutton to MIDI Import dialog. git-svn-id: http://svn.drobilla.net/lad/machina@381 a436a847-0d15-0410-975c-d299462d15a1
2007-03-26Deleting selected states with delete key.David Robillard1-1/+0
Fixed loading all states as initial. git-svn-id: http://svn.drobilla.net/lad/machina@378 a436a847-0d15-0410-975c-d299462d15a1
2007-03-25Added node properties window.David Robillard1-2/+2
Improved learning algorithm. git-svn-id: http://svn.drobilla.net/lad/machina@375 a436a847-0d15-0410-975c-d299462d15a1
2007-03-23Changed to middle click for adding nodes.David Robillard1-18/+16
Added visual representation of initial nodes (thick border). git-svn-id: http://svn.drobilla.net/lad/machina@372 a436a847-0d15-0410-975c-d299462d15a1
2007-03-22Cleaned up loading code.David Robillard1-3/+5
Preliminary action loading code (queried from RDF but not actually created yet). Fixed URI/filename handling so command line 'machina' accepts either. git-svn-id: http://svn.drobilla.net/lad/machina@367 a436a847-0d15-0410-975c-d299462d15a1
2007-03-18Improved automata diagram drawing (include notes, use standard initial note ↵David Robillard1-0/+3
notation). Made compilation without Jack possible. git-svn-id: http://svn.drobilla.net/lad/machina@363 a436a847-0d15-0410-975c-d299462d15a1
2007-03-12Export to DOT file.David Robillard1-1/+7
Fixed loading of useless initial nodes. git-svn-id: http://svn.drobilla.net/lad/machina@358 a436a847-0d15-0410-975c-d299462d15a1
2007-03-12Removed name-based interface for FlowCanvas (using the view as a model = ↵David Robillard1-37/+54
evil), related performance improvements (especially for Machina). Updates for FlowCanvas API changes. Machina SMF import performance improvements (temporarily disabled node labels). git-svn-id: http://svn.drobilla.net/lad/machina@356 a436a847-0d15-0410-975c-d299462d15a1
2007-03-12Fixed edge label size when zooming.David Robillard1-4/+4
Importing of multi-track MIDI files. git-svn-id: http://svn.drobilla.net/lad/machina@355 a436a847-0d15-0410-975c-d299462d15a1
2007-03-11Auto-arranging in flowcanvas/machina.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/machina@353 a436a847-0d15-0410-975c-d299462d15a1
2007-02-25More serialization work (loading, saving works from GUI).David Robillard1-7/+56
git-svn-id: http://svn.drobilla.net/lad/machina@338 a436a847-0d15-0410-975c-d299462d15a1
2007-02-23Removable edges.David Robillard1-3/+9
GUI touchups. git-svn-id: http://svn.drobilla.net/lad/machina@332 a436a847-0d15-0410-975c-d299462d15a1
2007-02-21Tempo based time in Machina (and related utilities added to Raul).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/machina@324 a436a847-0d15-0410-975c-d299462d15a1
2007-02-20New double buffer class in Raul (used for realtime-safe thread-safe writes ↵David Robillard1-9/+10
to variables used in the realtime audio thead). Manipulation of edge labels in Machina (left click and right click). git-svn-id: http://svn.drobilla.net/lad/machina@323 a436a847-0d15-0410-975c-d299462d15a1
2007-02-16Labels on straight Connections in FlowCanvas (for Machina edges).David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/machina@308 a436a847-0d15-0410-975c-d299462d15a1
2007-02-11Machina animation.David Robillard1-8/+14
git-svn-id: http://svn.drobilla.net/lad/machina@303 a436a847-0d15-0410-975c-d299462d15a1
2007-02-11Moved Maid from Ingen to Raul.David Robillard1-7/+14
Working machina MIDI learn, fixes, etc, etc. git-svn-id: http://svn.drobilla.net/lad/machina@302 a436a847-0d15-0410-975c-d299462d15a1
2007-02-10Machine GUI talking to Jack engine, running machines made in GUI, etc.David Robillard1-95/+81
git-svn-id: http://svn.drobilla.net/lad/machina@297 a436a847-0d15-0410-975c-d299462d15a1
2007-02-09Removed data type stuff from SLV2.David Robillard1-13/+24
Reworked event system in FlowCanvas to use signals. Added straight connections and arrowheads to FlowCanvas, Ellipse fixes. git-svn-id: http://svn.drobilla.net/lad/machina@293 a436a847-0d15-0410-975c-d299462d15a1
2007-02-08Circular nodes in FlowCanvas, related necessary redesign work and changes ↵David Robillard1-0/+157
for API update. Beginnings of a Machina GUI. git-svn-id: http://svn.drobilla.net/lad/machina@290 a436a847-0d15-0410-975c-d299462d15a1