summaryrefslogtreecommitdiffstats
path: root/src/PatchageModule.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-11-27Ensure that modules always have an IDDavid Robillard1-0/+2
2020-11-27Store location passed in signal rather than the current oneDavid Robillard1-2/+1
In practice, these are the same, but this is the intent of the API.
2020-11-27Use consistent naming convention for enum classesDavid Robillard1-4/+4
2020-11-27Use enum classesDavid Robillard1-4/+4
2020-11-27Always initialize variablesDavid Robillard1-1/+1
2020-11-27Always use braces around statementsDavid Robillard1-3/+5
2020-11-27Use auto where appropriateDavid Robillard1-1/+1
2020-11-27Fix redundant smart pointer getDavid Robillard1-1/+1
2020-11-27Use nullptrDavid Robillard1-4/+4
2020-02-09Use range-based for loops in more placesDavid Robillard1-4/+5
2020-02-09Format all code with clang-formatDavid Robillard1-23/+21
This configuration tries to get as close to the previous style as possible so the changes aren't too dramatic. It's still far from ideal and the code could use some adaptation, but this makes things much easier to work on.
2019-12-29Clean up includesDavid Robillard1-1/+2
2014-04-26Update copyright date.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5371 a436a847-0d15-0410-975c-d299462d15a1
2014-04-06Support port pretty names via new Jack metadata API.David Robillard1-2/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5357 a436a847-0d15-0410-975c-d299462d15a1
2014-03-31Make port colours configurable.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5350 a436a847-0d15-0410-975c-d299462d15a1
2014-03-30StateManager => Configuration.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5348 a436a847-0d15-0410-975c-d299462d15a1
2013-12-19FDGL: Improve flow-directed layout.David Robillard1-16/+3
Allow apps to specify nodes as sources to improve layout. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5186 a436a847-0d15-0410-975c-d299462d15a1
2013-03-17Update copyright date.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5087 a436a847-0d15-0410-975c-d299462d15a1
2012-03-27Delete trailing whitespace.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@4112 a436a847-0d15-0410-975c-d299462d15a1
2011-12-10Fix event handling.David Robillard1-4/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3852 a436a847-0d15-0410-975c-d299462d15a1
2011-12-08Fix node moving (inform user via "moved" signal).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3833 a436a847-0d15-0410-975c-d299462d15a1
2011-12-06FlowCanvas's successor is hereby dubbed Ganv.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3820 a436a847-0d15-0410-975c-d299462d15a1
2011-12-06Death to Module.cpp.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3817 a436a847-0d15-0410-975c-d299462d15a1
2011-12-05Remove cruft.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3811 a436a847-0d15-0410-975c-d299462d15a1
2011-12-04Move module port management stuff down to C level.David Robillard1-3/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3798 a436a847-0d15-0410-975c-d299462d15a1
2011-12-04Move module ports down to C level.David Robillard1-3/+3
Add STL-style port iteration API to Module. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3795 a436a847-0d15-0410-975c-d299462d15a1
2011-12-03Don't expose canvas data structures.David Robillard1-0/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3775 a436a847-0d15-0410-975c-d299462d15a1
2011-12-02Remove Shape::store_location() in favour of Joinable::signal_moved.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3747 a436a847-0d15-0410-975c-d299462d15a1
2011-12-01Use consistent property wrappers for x and y coordinates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3730 a436a847-0d15-0410-975c-d299462d15a1
2011-12-01Remove menu stuff from FlowCanvas.David Robillard1-0/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3717 a436a847-0d15-0410-975c-d299462d15a1
2011-11-29Remove all centering stuff. Nothing but trouble.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3686 a436a847-0d15-0410-975c-d299462d15a1
2011-11-28Make Item no longer a Gnome::Canvas::Group.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3684 a436a847-0d15-0410-975c-d299462d15a1
2011-11-25Switch to GPLv3+.David Robillard1-7/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3623 a436a847-0d15-0410-975c-d299462d15a1
2011-07-04Simplify FlowCanvas menu API, and fix crashing Ingen menus (ticket #721).David Robillard1-6/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3411 a436a847-0d15-0410-975c-d299462d15a1
2011-06-07Remove use of smart pointers in FlowCanvas entirely.David Robillard1-2/+2
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/patchage@3366 a436a847-0d15-0410-975c-d299462d15a1
2011-06-06Use sane typedefs for collections.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3365 a436a847-0d15-0410-975c-d299462d15a1
2011-06-03Remove use of boost::enable_shared_from_this<Canvas>.David Robillard1-7/+3
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/patchage@3354 a436a847-0d15-0410-975c-d299462d15a1
2011-04-16Update copyright headersDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3153 a436a847-0d15-0410-975c-d299462d15a1
2011-01-09Code cleanups (cpplint).David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2804 a436a847-0d15-0410-975c-d299462d15a1
2010-12-15Don't show `split' menu item for modules with only inputs or outputs (ticket ↵David Robillard1-0/+39
#128). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2702 a436a847-0d15-0410-975c-d299462d15a1
2010-12-15Add file missing from last commit.David Robillard1-0/+98
Mnemonics for module menu. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2701 a436a847-0d15-0410-975c-d299462d15a1