summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_regions.cc
AgeCommit message (Collapse)Author
2014-11-14add abort() to non-reached codeRobin Gareus
This cleans up a lot of false-positives in static analysis and also helps compilers to optimize code paths in general. (tagging the fatal stingstream operator as ‘noreturn’ is far less trivial)
2014-10-19OS 10.10 compile fixesRobin Gareus
* fix clang pickiness regarding boolean * ignore ‘verify’ macro * tested with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2014-06-09substantial changes in color management, involving a reduction in the use of ↵Paul Davis
Gdk::Color and more consistent logic for region coloring. Group tabs now also get the text drawn in an appropriately contrast-y color
2014-04-02fix typoRobin Gareus
2013-12-10compare region names case-sensitivelyNils Philippsen
2013-10-04use g_strcasecmp() instead of strcasecmp() which doesn't exist with MSVC ↵Paul Davis
(some versions, at least), part 2
2013-03-21honor CTRL modifier when drag/drop importing files (copy vs embed)Robin Gareus
2013-01-04allow region list selection of whole file regions to select every instance ↵Paul Davis
of a region that has any source relationship with that whole file region (from a logic feature that came up while writing the manual) git-svn-id: svn://localhost/ardour2/branches/3.0@13779 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-07more theming and layout tweaks. new faders that pre-light. fixed some ↵Ben Loftis
spacing around mixer buttons. tweaked some colors (returned mutes to yellow). removed group button at bottom of mixer strip and replaced it with fader automation mode. git-svn-id: svn://localhost/ardour2/branches/3.0@13617 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-20make more or less all LHS treeviews use the same stylePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13056 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31Move delta-to-edit-point options to the main clock context menus (#4472).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12517 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24Remove over 500 unnecessary includes (including 54 of session.h).David Robillard
It's slightly possible that this causes trivial build failures on different configurations, but otherwise shouldn't cause any problems (i.e. no actual changes other than include/naming/namespace stuff). I deliberately avoided removing libardour-config.h since this can mysteriously break things, though a few of those do seem to be unnecessary. This commit only targets includes of ardour/*.h. There is also a very large number of unnecessary includes of stuff in gtk2_ardour; tackling that should also give a big improvement in build time when things are modified. git-svn-id: svn://localhost/ardour2/branches/3.0@12420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24Compile cleanly with clang.David Robillard
To compile Ardour with LLVM/clang, do the usual thing but set the CXX and CC environment variables, e.g.: CC=/usr/bin/clang CXX=/usr/bin/clang++ ./waf configure build git-svn-id: svn://localhost/ardour2/branches/3.0@12418 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25remove the apparently unnecessary "ui_bind()" macro from entire source basePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-09revert debug outputPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11629 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-09a little debugging info for joernPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11624 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-27fix #4663, partly by more efficiently generating the relevant string, and ↵Paul Davis
secondly by making the region list pay attention to fade in/out *active*, not just length git-svn-id: svn://localhost/ardour2/branches/3.0@11364 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07fix tooltipPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-05fix names on region list, and expand tooltip info for fade colsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10904 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-05consistent colors for selected treeview rowsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10901 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-05final tweaks for #4489Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10900 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02fix column expansion behaviour of editor region list (#4489)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10860 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02add tooltips to editor region list, but so that it doesn't mark carl grimmacePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10858 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02add tooltips to editor region listPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10857 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15Use the word Remove consistently for the remove regionsCarl Hetherington
action, instead of the word Delete in the menu item and Remove elsewhere. git-svn-id: svn://localhost/ardour2/branches/3.0@10622 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14restore path as tooltip for rows in the region listPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10590 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30fixes for 98% of all the warnings/errors reported by OS X gcc on tigerPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10179 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-02Fix one more warning.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@9784 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-02Fix some set-but-not-used variable warnings from gcc 4.6Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@9783 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-07remove "Off" as a clock mode, make it a state instead; track editor mouse ↵Paul Davis
mode when displaying selection (not 100% coverage of different selections yet); add extra negative field for timecode clock to help with text alignment; add clock mode = timecode option to menus git-svn-id: svn://localhost/ardour2/branches/3.0@9685 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02audio clock switchover part2: remove most egregious include-time dependency ↵Paul Davis
on audio_clock.h, and alter API for a few utilities along the way git-svn-id: svn://localhost/ardour2/branches/3.0@9673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01Delete trailing whitespaceDavid Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-15clean up new region list management maps to avoid dangling shared ptrs and ↵Paul Davis
more (from lincoln) git-svn-id: svn://localhost/ardour2/branches/3.0@8853 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-15Fix warnings.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8848 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-14patches from lincoln to speed up the regionlist and provide region removal ↵Paul Davis
(causes dangling shared ptrs to regions, fix to come git-svn-id: svn://localhost/ardour2/branches/3.0@8845 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-01Repeat of recent fix to EditorRoutes to improve behaviour when editing names.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8407 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14Rename libmusictime libtimecode (consistent with already used namespace ↵David Robillard
"Timecode"). Move BBT_Time to libtimecode. git-svn-id: svn://localhost/ardour2/branches/3.0@8271 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03Remove all use of nframes_t.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-25Fix some messed up code (spacey tabs).David Robillard
(There is faar more of this... FIX YOUR EDITORS!) git-svn-id: svn://localhost/ardour2/branches/3.0@8086 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-14Fix initial display of automatic regions.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8030 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-14Fix non-update of region list when not showing automatic regions. Fixes #3098.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8029 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-05take control of colors in text cell entry-editing widgets (region & route lists)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7974 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-04Remove Start from region list. I don't think it's quite useful enough to be ↵Carl Hetherington
in there, and it's in the region properties dialogue if needs be. Fixes #3503. git-svn-id: svn://localhost/ardour2/branches/3.0@7970 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-29more route + region list navigation/editing changes. not sure we actually ↵Paul Davis
want this functionality for the region list git-svn-id: svn://localhost/ardour2/branches/3.0@7858 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-28(1) use select next/previous row functions for tab/shift-tab navigation in ↵Paul Davis
region list (2) add start (in-file) column to region list (3) make region list parent/child relationships work for MIDI regions (4) fix up handling of region selection changes driven by region list selection (i think i fixed, anyway) (5) don't put text in whole file rows for columns where it makes no sense like position or mute etc. git-svn-id: svn://localhost/ardour2/branches/3.0@7850 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-21Don't update region list during region trim. Fixes #3467.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7825 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-21(1) remove almost-never used block/unlock_property_changes() methods from ↵Paul Davis
PBD::Stateful (2) hide used and path columns from region list (3) detect mouse position within MIDI notes and thus allow move or trim from the same mouse mode (object or trim; first & last 1/4 of each note is for trimming git-svn-id: svn://localhost/ardour2/branches/3.0@7823 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-21lincoln's patch that makes us pay attention to region copies w.r.t the ↵Paul Davis
region list, PLUS make region list insert drags work again by not insisting that the list of regionviews be non-empty as the drag is constructed PLUS the start of tracking mouse cursor position in MIDI notes PLUS a bit of leftover debugging info git-svn-id: svn://localhost/ardour2/branches/3.0@7817 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-20region list displays actual playlist use count for each region, rather than ↵Paul Davis
a GUI-based count git-svn-id: svn://localhost/ardour2/branches/3.0@7814 d708f5d6-7413-0410-9779-e7cbd77b26cf