summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2014-01-11Merge GanvCanvasBase and GanvCanvas.David Robillard11-1873/+1830
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5302 a436a847-0d15-0410-975c-d299462d15a1
2014-01-11Make some functions private.David Robillard4-28/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5301 a436a847-0d15-0410-975c-d299462d15a1
2014-01-11Move item implementation to item.c.David Robillard3-779/+825
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5298 a436a847-0d15-0410-975c-d299462d15a1
2014-01-07Remove debug printf.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5296 a436a847-0d15-0410-975c-d299462d15a1
2014-01-07Twiddle physics to reduce oscillation.David Robillard2-5/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5291 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Fix sizing of vertical modules with embedded widgets.David Robillard1-6/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5259 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Fix documentation pane.David Robillard1-0/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5256 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Fix control updating with animated canvas.David Robillard2-1/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5254 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Make only control inputs controllable by user.David Robillard3-4/+18
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5251 a436a847-0d15-0410-975c-d299462d15a1
2014-01-04Fix select rectangle drag from bottom right to top left.David Robillard4-70/+105
Simplify layout code. Calculate rectangle distance instead of center distance to minimize overlap. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5250 a436a847-0d15-0410-975c-d299462d15a1
2014-01-03Improve performance by avoiding unnecessary i2w conversions.David Robillard4-7/+20
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5249 a436a847-0d15-0410-975c-d299462d15a1
2014-01-03Draw and layout performance improvements.David Robillard6-90/+76
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5248 a436a847-0d15-0410-975c-d299462d15a1
2014-01-03Make graph input ports controllable outputs and remove double port kludge.David Robillard2-1/+27
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5247 a436a847-0d15-0410-975c-d299462d15a1
2014-01-03Don't abuse show_label property for vertical/horizontal mode.David Robillard4-36/+31
Don't use g_object_get to get x and y coordinates of items. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5246 a436a847-0d15-0410-975c-d299462d15a1
2013-12-31FDGL: Make repelling forces directionally proportional to area for tighter ↵David Robillard2-3/+5
spacing. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5241 a436a847-0d15-0410-975c-d299462d15a1
2013-12-31FDGL: Increase maximum simulation time to converge faster on larger graphs.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5238 a436a847-0d15-0410-975c-d299462d15a1
2013-12-31FDGL: Tweak variables for better directional layout.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5235 a436a847-0d15-0410-975c-d299462d15a1
2013-12-31Fix incorrect port offsets.David Robillard3-51/+24
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5232 a436a847-0d15-0410-975c-d299462d15a1
2013-12-30Fix compiling against Graphviz 2.3*.David Robillard1-43/+51
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5230 a436a847-0d15-0410-975c-d299462d15a1
2013-12-30Fix control sensitivity.David Robillard1-5/+4
Fix controls close to screen edge. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5223 a436a847-0d15-0410-975c-d299462d15a1
2013-12-27Remove dead code.David Robillard3-73/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5215 a436a847-0d15-0410-975c-d299462d15a1
2013-12-27Performance improvements.David Robillard10-176/+179
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5214 a436a847-0d15-0410-975c-d299462d15a1
2013-12-25Fix more const-correctness violations.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5196 a436a847-0d15-0410-975c-d299462d15a1
2013-12-21FDGL: Make layout converge and stop chewing CPU when done again.David Robillard2-12/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5191 a436a847-0d15-0410-975c-d299462d15a1
2013-12-20FDGL: Use inverse cubic charge law and tide force to prevent graph explosion.David Robillard2-17/+56
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5190 a436a847-0d15-0410-975c-d299462d15a1
2013-12-19FDGL: Improve flow-directed layout.David Robillard5-45/+104
Allow apps to specify nodes as sources to improve layout. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5185 a436a847-0d15-0410-975c-d299462d15a1
2013-12-18FDGL: Only install layout handler as needed.David Robillard3-16/+43
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5184 a436a847-0d15-0410-975c-d299462d15a1
2013-12-18FDGL: Add slight directional force to push sinks to the right/down.David Robillard1-3/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5183 a436a847-0d15-0410-975c-d299462d15a1
2013-12-18Shorter code.David Robillard2-31/+25
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5182 a436a847-0d15-0410-975c-d299462d15a1
2013-12-18FDGL: Add spring between partners so interface modules line up in Patchage.David Robillard2-8/+23
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5181 a436a847-0d15-0410-975c-d299462d15a1
2013-12-18Futher FDGL performance improvements.David Robillard2-15/+19
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5180 a436a847-0d15-0410-975c-d299462d15a1
2013-12-18FDGL performance improvements.David Robillard2-8/+24
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5179 a436a847-0d15-0410-975c-d299462d15a1
2013-12-18Add missing file.David Robillard1-0/+79
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5178 a436a847-0d15-0410-975c-d299462d15a1
2013-12-18Add experimental (slow) force-directed graph layout to Ganv.David Robillard3-0/+138
This continuously arranges the graph, and the user can drag around nodes to influence the layout which is handy. To try, configure with --no-graphviz --fdgl. Still rough around the edges, in particular detached nodes will fly off into space. Also entirely too slow for production use, will need a more sophisticated data structure for that, so the repel calculation isn't O(n^2). git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5177 a436a847-0d15-0410-975c-d299462d15a1
2013-12-18Remove unused variables.David Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5176 a436a847-0d15-0410-975c-d299462d15a1
2013-11-01Remove unused typedefs.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5167 a436a847-0d15-0410-975c-d299462d15a1
2013-06-09Fix compilation with --jack-dbus (#917).David Robillard1-0/+6
I don't know why I maintain this or what the point of it is... git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5141 a436a847-0d15-0410-975c-d299462d15a1
2013-06-09Redraw control slider when range changes.David Robillard1-10/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5139 a436a847-0d15-0410-975c-d299462d15a1
2013-06-08Fix sizing for ports with enumeration or integer tag labels.David Robillard3-5/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5123 a436a847-0d15-0410-975c-d299462d15a1
2013-05-31Fix access to invalid parameter in Canvas::zoom_full().David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5118 a436a847-0d15-0410-975c-d299462d15a1
2013-05-26Fix Glibmm include errors (#904).David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5113 a436a847-0d15-0410-975c-d299462d15a1
2013-04-13Fix crash in Patchage when client with selected port disappears.David Robillard1-0/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5104 a436a847-0d15-0410-975c-d299462d15a1
2013-03-25Minor documentation improvements.David Robillard1-6/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5099 a436a847-0d15-0410-975c-d299462d15a1
2013-03-17Update copyright date.David Robillard18-18/+18
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5088 a436a847-0d15-0410-975c-d299462d15a1
2013-02-09Fix crash when making a connection from a node that is destroyed (#884).David Robillard1-32/+40
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5049 a436a847-0d15-0410-975c-d299462d15a1
2013-02-03Port control performance improvements (further improvement for #879).David Robillard7-60/+75
Only request a redraw, not a full update, where appropriate. Use a raw double instead of GVariant for port control-changed signal. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5045 a436a847-0d15-0410-975c-d299462d15a1
2013-02-02GUI support for integer controls.David Robillard3-7/+21
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5034 a436a847-0d15-0410-975c-d299462d15a1
2013-02-02Show check box for toggle ports and ellipsis for enumeration (menu) ports.David Robillard3-43/+143
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5033 a436a847-0d15-0410-975c-d299462d15a1
2013-02-02Fix strange bug where canvas stops updating entirely on node removal.David Robillard3-12/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5025 a436a847-0d15-0410-975c-d299462d15a1
2013-02-02Fix drag connecting.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5021 a436a847-0d15-0410-975c-d299462d15a1