13
0
Commit Graph

129 Commits

Author SHA1 Message Date
72393f101b allow region list selection of whole file regions to select every instance 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
2013-01-04 22:46:51 +00:00
Ben Loftis
5249f82603 more theming and layout tweaks. new faders that pre-light. fixed some 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-12-07 22:38:49 +00:00
4f77bf201e make more or less all LHS treeviews use the same style
git-svn-id: svn://localhost/ardour2/branches/3.0@13056 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-20 01:47:27 +00:00
Carl Hetherington
6624f9be37 Move delta-to-edit-point options to the main clock context menus (#4472).
git-svn-id: svn://localhost/ardour2/branches/3.0@12517 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31 23:14:03 +00:00
6fa6514cfd Remove over 500 unnecessary includes (including 54 of session.h).
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-24 06:09:29 +00:00
27a1cf2cf7 Compile cleanly with clang.
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-05-24 02:54:10 +00:00
ec1ef5d6b5 remove the apparently unnecessary "ui_bind()" macro from entire source base
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25 12:58:19 +00:00
3e3d831251 revert debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@11629 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-09 17:14:47 +00:00
ecce751c09 a little debugging info for joern
git-svn-id: svn://localhost/ardour2/branches/3.0@11624 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-09 15:17:31 +00:00
ea655d711c fix #4663, partly by more efficiently generating the relevant string, and 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
2012-01-27 17:35:06 +00:00
c9012ccbb8 fix tooltip
git-svn-id: svn://localhost/ardour2/branches/3.0@10921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 02:02:10 +00:00
35ab39bd93 fix names on region list, and expand tooltip info for fade cols
git-svn-id: svn://localhost/ardour2/branches/3.0@10904 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-05 18:27:19 +00:00
5547744d85 consistent colors for selected treeview rows
git-svn-id: svn://localhost/ardour2/branches/3.0@10901 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-05 17:20:15 +00:00
1084732ecf final tweaks for #4489
git-svn-id: svn://localhost/ardour2/branches/3.0@10900 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-05 16:44:28 +00:00
1420d08da4 fix column expansion behaviour of editor region list (#4489)
git-svn-id: svn://localhost/ardour2/branches/3.0@10860 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 14:52:48 +00:00
21b385e413 add tooltips to editor region list, but so that it doesn't mark carl grimmace
git-svn-id: svn://localhost/ardour2/branches/3.0@10858 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 13:29:11 +00:00
43b4523068 add tooltips to editor region list
git-svn-id: svn://localhost/ardour2/branches/3.0@10857 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 13:14:59 +00:00
Carl Hetherington
9355226fdf Use the word Remove consistently for the remove regions
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-15 18:32:42 +00:00
cddf3bf1e0 restore path as tooltip for rows in the region list
git-svn-id: svn://localhost/ardour2/branches/3.0@10590 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 18:53:12 +00:00
0938a42440 fixes for 98% of all the warnings/errors reported by OS X gcc on tiger
git-svn-id: svn://localhost/ardour2/branches/3.0@10179 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30 17:55:14 +00:00
Carl Hetherington
c78f388edf Fix one more warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@9784 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-02 17:19:55 +00:00
Carl Hetherington
cd17e05e3a Fix some set-but-not-used variable warnings from gcc 4.6
git-svn-id: svn://localhost/ardour2/branches/3.0@9783 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-02 17:16:46 +00:00
a56555e8b2 remove "Off" as a clock mode, make it a state instead; track editor mouse 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-07 23:07:08 +00:00
83f385d263 audio clock switchover part2: remove most egregious include-time dependency 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-02 17:50:37 +00:00
ed626628b5 Delete trailing whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 17:00:29 +00:00
32ab86230e clean up new region list management maps to avoid dangling shared ptrs and more (from lincoln)
git-svn-id: svn://localhost/ardour2/branches/3.0@8853 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-15 12:23:57 +00:00
Carl Hetherington
70126fb9d6 Fix warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@8848 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-15 01:08:15 +00:00
7a5b6a5031 patches from lincoln to speed up the regionlist and provide region removal (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-02-14 21:49:43 +00:00
Carl Hetherington
2cd8a5a752 Repeat of recent fix to EditorRoutes to improve behaviour when editing names.
git-svn-id: svn://localhost/ardour2/branches/3.0@8407 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-01 20:08:26 +00:00
4b861e6039 Rename libmusictime libtimecode (consistent with already used namespace "Timecode").
Move BBT_Time to libtimecode.


git-svn-id: svn://localhost/ardour2/branches/3.0@8271 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14 18:13:37 +00:00
Carl Hetherington
73192bc1a7 Remove all use of nframes_t.
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03 22:26:29 +00:00
8b68ed57ec Fix some messed up code (spacey tabs).
(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-25 20:37:39 +00:00
Carl Hetherington
5c27c2dc50 Fix initial display of automatic regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@8030 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-14 16:53:33 +00:00
Carl Hetherington
f7e9f08620 Fix non-update of region list when not showing automatic regions. Fixes #3098.
git-svn-id: svn://localhost/ardour2/branches/3.0@8029 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-14 16:50:42 +00:00
e98cf169eb take control of colors in text cell entry-editing widgets (region & route lists)
git-svn-id: svn://localhost/ardour2/branches/3.0@7974 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-05 16:53:57 +00:00
Carl Hetherington
f9906762a2 Remove Start from region list. I don't think it's quite useful enough to be 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-11-04 22:15:13 +00:00
5f128910e1 more route + region list navigation/editing changes. not sure we actually want this functionality for the region list
git-svn-id: svn://localhost/ardour2/branches/3.0@7858 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-29 02:01:35 +00:00
40903b1926 (1) use select next/previous row functions for tab/shift-tab navigation in 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-28 17:27:58 +00:00
Carl Hetherington
dbd1e1f7b8 Don't update region list during region trim. Fixes #3467.
git-svn-id: svn://localhost/ardour2/branches/3.0@7825 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-21 23:23:07 +00:00
90e73a3a6d (1) remove almost-never used block/unlock_property_changes() methods from 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-21 15:15:06 +00:00
2c80ff4129 lincoln's patch that makes us pay attention to region copies w.r.t the 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-21 03:02:30 +00:00
97a96ee250 region list displays actual playlist use count for each region, rather than a GUI-based count
git-svn-id: svn://localhost/ardour2/branches/3.0@7814 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-20 19:18:17 +00:00
6a93c41201 round one of work on finalizing #3098, involving per-field updating functions for each field in the region list. also "start" renamed to "position" for consistency with other parts of ardour
git-svn-id: svn://localhost/ardour2/branches/3.0@7813 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-20 15:12:44 +00:00
Carl Hetherington
620a4df730 Save / restore settings from the editor region list context menu.
git-svn-id: svn://localhost/ardour2/branches/3.0@7804 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-19 02:18:59 +00:00
Carl Hetherington
9ad9e19d04 Colour odd/even region list lines differently to improve readibility.
git-svn-id: svn://localhost/ardour2/branches/3.0@7803 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-18 23:53:22 +00:00
Carl Hetherington
3defa8b521 Preserve region list selection state even if a region is selected which is not shown in the editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@7802 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-18 23:31:39 +00:00
Carl Hetherington
9054c71fb8 Update regions list when editing a region fade. Fixes #3458.
git-svn-id: svn://localhost/ardour2/branches/3.0@7801 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-18 20:55:51 +00:00
ede4ecbb00 megaopus patch #2 for today: remove nframes64_t and sframes_t from source
git-svn-id: svn://localhost/ardour2/branches/3.0@7792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-17 18:20:37 +00:00
da8eec7a83 remove Glib::ustring from gtk2_ardour
git-svn-id: svn://localhost/ardour2/branches/3.0@7774 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-14 16:51:02 +00:00
4d112a8e6b remove Glib::ustring from libardour; allow any characters except '/' and '\' in paths (may cause issues when loading creatively named 2.X sessions; fix a couple of details of name collection and usage from the startup dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@7772 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-14 15:45:21 +00:00
Carl Hetherington
bce90b1802 Fix up some inconsistencies in handling of region sync points.
git-svn-id: svn://localhost/ardour2/branches/3.0@7706 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-29 01:08:07 +00:00
Carl Hetherington
536384ea4e Tweak group tabs class hierarchy and offer the same menu in both editor and mixer. Fixes #3336.
git-svn-id: svn://localhost/ardour2/branches/3.0@7441 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-19 21:47:07 +00:00
Carl Hetherington
cd1aaff197 Hide region list toggle columns for whole file regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@7313 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 17:25:32 +00:00
Carl Hetherington
bc32e5b5eb Make the L,G,M and O buttons in the region list respond to clicks. Fixes #3252.
git-svn-id: svn://localhost/ardour2/branches/3.0@7307 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 00:41:01 +00:00
Carl Hetherington
c5bbca0cf5 Add an EnumProperty for enumerated properties and hence make Region::position_lock_style a stateful property.
git-svn-id: svn://localhost/ardour2/branches/3.0@7306 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28 00:34:09 +00:00
f4401c5928 midway snapshot of work done on managing Region & Source lifetimes correctly. may fix missing MIDI file bug ; save empty playlists because they may be referred to by the history file ; undo commands auto-delete when objects they refer to die (currently not commands built from XML deserialization); Sources now know how many regions are using them for something, meaning that we know if we can delete the files holding any data for the source
git-svn-id: svn://localhost/ardour2/branches/3.0@7291 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-23 20:14:07 +00:00
a01dc9b6f2 remove almost-unusued stop_signal.h and clean up the one (unused) place where it was present (VisualTimeAxis, not used in current ardour)
git-svn-id: svn://localhost/ardour2/branches/3.0@7196 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-31 14:21:43 +00:00
Carl Hetherington
2deba15863 Allow right-click on region list to select the region. Fixes #3129.
git-svn-id: svn://localhost/ardour2/branches/3.0@7105 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-16 14:20:14 +00:00
Carl Hetherington
8c423ea228 Small cleanups to dragging code. Fix assertion failure on dragging a regions' parent entry from the region list to the canvas (which may be #2811). Fixes to drags of regions onto and then back off canvas; should fix #3109.
git-svn-id: svn://localhost/ardour2/branches/3.0@7068 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-05 22:09:07 +00:00
9c51553588 remove "ardourBuffering" file creation (it was useless, sadly); editor region list now responds to bounds changes; tweak opton in RC config editor
git-svn-id: svn://localhost/ardour2/branches/3.0@7013 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-28 14:51:17 +00:00
Carl Hetherington
d1624f9ed2 Take away the Remove option from the region list, and add Show to re-show hidden regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@6814 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-31 01:11:48 +00:00
Carl Hetherington
e3dd8cc3ee Move region naming stuff from Session into RegionFactory, cleaning up some vestiges of when Session had a list of regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@6812 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-30 23:40:28 +00:00
14b0ca31bc handle deletion of UI objects between the time that a callback is queued with the UI event loop and the execution of the callback (intrusive, big)
git-svn-id: svn://localhost/ardour2/branches/3.0@6807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-30 15:18:43 +00:00
b6b68881b2 remove the session region list; GUI now represents (a relatively unfiltered view of) the raw region list that always contains every single region ever created
git-svn-id: svn://localhost/ardour2/branches/3.0@6739 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-06 15:40:42 +00:00
fa701b8c06 change PropertyChange from a bitfield into a real object, with all the many widespread changes that causes
git-svn-id: svn://localhost/ardour2/branches/3.0@6701 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-19 18:09:08 +00:00
ce7a5e1c9f the Properties & 64bit region commit
git-svn-id: svn://localhost/ardour2/branches/3.0@6695 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-18 13:59:49 +00:00
832aa18a81 a boatload of minor and middle-sized changes to try to speed up undo. imperfect, unfinished, but probably right to commit now
git-svn-id: svn://localhost/ardour2/branches/3.0@6561 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-25 20:34:09 +00:00
f450df300c fully implement and deploy explicit x-thread signal connection syntax (testing comes next)
git-svn-id: svn://localhost/ardour2/branches/3.0@6379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-21 18:23:07 +00:00
aae367b63c use new syntax for connecting to backend signals that enforces explicit connection scope, plus a few other related matters
git-svn-id: svn://localhost/ardour2/branches/3.0@6376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-19 20:26:31 +00:00
f6fdd8dcbf switch to using boost::signals2 instead of sigc++, at least for libardour. not finished yet, but compiles, loads sessions, records and can close a session without a crash
git-svn-id: svn://localhost/ardour2/branches/3.0@6372 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-17 18:24:23 +00:00
8687895abb remove using namespace sigc everywhere to ensure clarity over which bind/mem_fun is being used; make Config::map_parameters take a boost::function rather than a sigc::slot ; continue debugging crash caused by regionviews not tracking their Region's lifetime
git-svn-id: svn://localhost/ardour2/branches/3.0@6357 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-12 15:02:15 +00:00
64dc5427e4 make all use of bind/mem_fun be explicitly sigc::
git-svn-id: svn://localhost/ardour2/branches/3.0@6354 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-11 23:29:48 +00:00
7703f0a76a move generic parts of Keyboard into gtkmm2ext. imperfectly done, but makes modifiers available in libgtkmm2ext now
git-svn-id: svn://localhost/ardour2/branches/3.0@6288 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-04 22:51:32 +00:00
c5db9a21b9 another fix for binding shared_ptr's into signals
git-svn-id: svn://localhost/ardour2/branches/3.0@6194 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-28 00:48:35 +00:00
fa5aeb7892 change the use of "SMPTE" to "Timecode" to reflect the global economy and the end of american dominance on the world audio production stage
git-svn-id: svn://localhost/ardour2/branches/3.0@5924 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-26 14:38:58 +00:00
046f802662 Fix unnecessarily type specific code, tidy, fix whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@5844 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-21 16:56:58 +00:00
bb9cc45cd2 Strip trailing whitespace and fix other whitespace errors (e.g. space/tab mixing). Whitespace changes only.
Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red.  I don't know the emacs equivalent...


git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14 16:10:01 +00:00
Carl Hetherington
b65f8073ba Fix some unused parameter warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21 15:55:17 +00:00
Carl Hetherington
a3f7f86d9b Factor regions list out of Editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@5312 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-03 22:42:22 +00:00