summaryrefslogtreecommitdiffstats
path: root/src/PatchageEvent.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-11-27Use a consistent style for log messagesDavid Robillard1-8/+8
2020-11-27Use prettier names for log methodsDavid Robillard1-6/+6
2020-11-27Factor out log from Patchage classDavid Robillard1-6/+6
Towards saner dependencies.
2020-11-27Replace boost::format with fmtDavid Robillard1-15/+11
2020-11-27Use consistent naming convention for enum classesDavid Robillard1-9/+9
2020-11-27Use enum classesDavid Robillard1-9/+9
2020-11-27Always use braces around statementsDavid Robillard1-6/+8
2020-11-27Use nullptrDavid Robillard1-4/+4
2020-02-09Format all code with clang-formatDavid Robillard1-15/+19
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.
2020-02-09Remove unused using declarationsDavid Robillard1-1/+0
2019-12-29Clean up includesDavid Robillard1-2/+5
2015-02-17Delete trailing whitespace.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5582 a436a847-0d15-0410-975c-d299462d15a1
2015-02-16Distinguish edge color from port color slighly.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5577 a436a847-0d15-0410-975c-d299462d15a1
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-26Clean up Ganv API.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5367 a436a847-0d15-0410-975c-d299462d15a1
2014-03-31Make port colours configurable.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5350 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
2013-02-05Fix bad format strings.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5048 a436a847-0d15-0410-975c-d299462d15a1
2012-08-10Fix a ton of warnings.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@4648 a436a847-0d15-0410-975c-d299462d15a1
2012-01-18Use consistent *_config.h rather than *-config.h.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3963 a436a847-0d15-0410-975c-d299462d15a1
2011-12-02Connection => Edge.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3745 a436a847-0d15-0410-975c-d299462d15a1
2011-12-01Move color stuff down to C level.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3733 a436a847-0d15-0410-975c-d299462d15a1
2011-11-27Document public API.David Robillard1-1/+1
Remove weird canvas parent event handler stuff. Normalize selection rectangle and simplify "within" methods accordingly. Move Port::disconnect_all() to Connectable::disconnect_all(). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3649 a436a847-0d15-0410-975c-d299462d15a1
2011-11-25Remove Raul dependency.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3633 a436a847-0d15-0410-975c-d299462d15a1
2011-11-25Log (almost) everything to the messages window instead of the console.David Robillard1-9/+20
Remove latency and load stuff in favour of plain old messages. Remove status bar. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3627 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-11-07Remove use of non-portable _XOPEN_SOURCE and strdup.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3604 a436a847-0d15-0410-975c-d299462d15a1
2011-06-20Fix crashes on jack client exit.David Robillard1-4/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3408 a436a847-0d15-0410-975c-d299462d15a1
2011-06-19Remove module from canvas when Jack clients exit.David Robillard1-4/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3404 a436a847-0d15-0410-975c-d299462d15a1
2011-06-09Automatically resize modules at update time as necessary.David Robillard1-3/+1
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/patchage@3375 a436a847-0d15-0410-975c-d299462d15a1
2011-06-09Fix support for multiple instances of alsa clients with the same name (never ↵David Robillard1-6/+1
consider client name an ID). Remove Alsa specific crap from PatchagePort. Sane implementation of AlsaDriver::refresh. Fix refreshing. Remove useless Jack graph order callback. Fix double add/remove of ports to modules. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3374 a436a847-0d15-0410-975c-d299462d15a1
2011-06-07Remove use of smart pointers in FlowCanvas entirely.David Robillard1-9/+8
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 a care pointer reference to containing module rather than boost::weak_ptr.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3364 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-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2804 a436a847-0d15-0410-975c-d299462d15a1
2011-01-08Fix configuration header define names to not stomp on global namespace.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2794 a436a847-0d15-0410-975c-d299462d15a1
2011-01-06Clean up port cache (fix crashes and wacky behaviour caused when ↵David Robillard1-17/+1
clients/ports are repeatedly created and destroyed). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2787 a436a847-0d15-0410-975c-d299462d15a1
2010-12-18Fix compilation.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2770 a436a847-0d15-0410-975c-d299462d15a1
2010-12-18Remove previously committed warning, which isn't always a problem... :/David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2768 a436a847-0d15-0410-975c-d299462d15a1
2010-12-18Remove pointless empty module resize.David Robillard1-2/+2
Print error if removing module from canvas fails. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2767 a436a847-0d15-0410-975c-d299462d15a1
2010-12-15Improve performance for setups with many apps or ports.David Robillard1-0/+2
(Eliminate all linear searches for items, except one case for Jack ports which is unavoidable due to the Jack API, but is memoized, so each port will only be searched for once between refreshes). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2712 a436a847-0d15-0410-975c-d299462d15a1
2010-12-15Clean up code.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2692 a436a847-0d15-0410-975c-d299462d15a1
2010-12-14Better error messages.David Robillard1-10/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2685 a436a847-0d15-0410-975c-d299462d15a1
2010-12-14Use Raul::log for console logging.David Robillard1-9/+10
Print error message if unsubscribed client is not found (Re: ticket #137). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2684 a436a847-0d15-0410-975c-d299462d15a1
2010-09-04My name is David. :)David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2590 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2000 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Strip trailing whitespace.David Robillard1-8/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1999 a436a847-0d15-0410-975c-d299462d15a1
2009-05-09Dramatically reduce resize overhead everywhere.David Robillard1-3/+6
Make alsa driver create individual ports and do minimal work vs naive full refresh when anything changes. Fixes ticket #355. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1967 a436a847-0d15-0410-975c-d299462d15a1
2009-05-03Update waf configuration header for new waf scheme (in 1.5.6).David Robillard1-1/+1
Split low-level LV2 event buffer into separate class from EventBuffer (for reuse). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1958 a436a847-0d15-0410-975c-d299462d15a1
2008-12-21Change configuration header name to something less likely to conflict.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1887 a436a847-0d15-0410-975c-d299462d15a1