ardour.git
9 years agoRipple mode: remove debug output
Colin Fletcher [Tue, 1 Jul 2014 18:33:21 +0000 (19:33 +0100)]
Ripple mode: remove debug output

Remove std::cerr output, and tidy up a couple of comments.

9 years agoremove debug output
Paul Davis [Tue, 1 Jul 2014 19:11:09 +0000 (15:11 -0400)]
remove debug output

9 years agoadd partial support for mute automation (playback does not work, data is not recorded...
Paul Davis [Tue, 1 Jul 2014 18:36:58 +0000 (14:36 -0400)]
add partial support for mute automation (playback does not work, data is not recorded in the session)

9 years agogive drop zone its own cursor-ability
Paul Davis [Tue, 1 Jul 2014 15:41:16 +0000 (11:41 -0400)]
give drop zone its own cursor-ability

9 years agoMerge branch 'ripple-mode-cc' into cairocanvas
Colin Fletcher [Tue, 1 Jul 2014 18:10:47 +0000 (19:10 +0100)]
Merge branch 'ripple-mode-cc' into cairocanvas

Fix up merge conflicts in
gtk2_ardour/editor_mouse.cc
gtk2_ardour/editor_ops.cc

Also fix up compile errors.

9 years agoFixes for ripple mode drag
Colin Fletcher [Tue, 1 Jul 2014 17:46:13 +0000 (18:46 +0100)]
Fixes for ripple mode drag

Make undo of ripple mode dragging work a bit better, and hopefully prevent
rippled regions from jumping about when being dragged.

9 years agoRipple mode: fix undo of paste
Colin Fletcher [Tue, 1 Jul 2014 17:27:22 +0000 (18:27 +0100)]
Ripple mode: fix undo of paste

Fix undo of region paste operations in ripple mode.

9 years agoRemove unused code
Colin Fletcher [Tue, 1 Jul 2014 17:26:31 +0000 (18:26 +0100)]
Remove unused code

This code was changed to implement ripple mode, but meanwhile it was
removed altogether in cairocanvas. Remove it here too to simplify merging.

9 years agomerge with master.
Paul Davis [Tue, 1 Jul 2014 13:46:18 +0000 (09:46 -0400)]
merge with master.

Manually resolved conflicts in import.cc and session.cc

9 years agoleft-align all pref/option labels for consistency.
Robin Gareus [Tue, 1 Jul 2014 12:52:35 +0000 (14:52 +0200)]
left-align all pref/option labels for consistency.

9 years ago(hopefully) fix smart-mode breakage of xfade operations
Paul Davis [Mon, 30 Jun 2014 23:18:27 +0000 (19:18 -0400)]
(hopefully) fix smart-mode breakage of xfade operations

We needed to set the selected regionview from a click when clicking on xfade items, but I also removed duplicate logic for some similar items

9 years agomove draggable playhead to editor tab of preferences
Paul Davis [Mon, 30 Jun 2014 23:05:45 +0000 (19:05 -0400)]
move draggable playhead to editor tab of preferences

9 years agoremove cruft
Robin Gareus [Mon, 30 Jun 2014 19:33:43 +0000 (21:33 +0200)]
remove cruft

9 years agochange default take-name
Robin Gareus [Mon, 30 Jun 2014 18:51:46 +0000 (20:51 +0200)]
change default take-name

9 years agonew UI config var to allow playhead to be optionally draggable (default is: yes,...
Paul Davis [Mon, 30 Jun 2014 20:32:38 +0000 (16:32 -0400)]
new UI config var to allow playhead to be optionally draggable (default is: yes, it can be dragged)

9 years agomore extensive canvas debug message for canvas-enter-leave tracing
Paul Davis [Mon, 30 Jun 2014 20:32:01 +0000 (16:32 -0400)]
more extensive canvas debug message for canvas-enter-leave tracing

9 years agoadd event-insensitivity to the list of conditions that causes a container to NOT...
Paul Davis [Mon, 30 Jun 2014 20:31:31 +0000 (16:31 -0400)]
add event-insensitivity to the list of conditions that causes a container to NOT add its children to the list of items-at-point

9 years agomake canvas drop sensitive to scroll events
Paul Davis [Mon, 30 Jun 2014 18:47:57 +0000 (14:47 -0400)]
make canvas drop sensitive to scroll events

9 years agocontext click over a trim handle is semantically equivalent to a context click on...
Paul Davis [Mon, 30 Jun 2014 17:58:39 +0000 (13:58 -0400)]
context click over a trim handle is semantically equivalent to a context click on the xfade

9 years agonew region base color
Paul Davis [Mon, 30 Jun 2014 17:54:19 +0000 (13:54 -0400)]
new region base color

9 years agoensure that Editor::entered_track is reset during session deletion to avoid a crash...
Paul Davis [Mon, 30 Jun 2014 16:31:01 +0000 (12:31 -0400)]
ensure that Editor::entered_track is reset during session deletion to avoid a crash when we explicitly unset it elsewhere

9 years agofix bae86a2d - retain default values
Robin Gareus [Mon, 30 Jun 2014 17:01:28 +0000 (19:01 +0200)]
fix bae86a2d - retain default values

set element values before calling update()

9 years agoDisallow empty names for Groups, automatically enumerate them
Robin Gareus [Mon, 30 Jun 2014 16:25:11 +0000 (18:25 +0200)]
Disallow empty names for Groups, automatically enumerate them

9 years agomove Opaque and Mute into region Gain submenus (both main menu bar and context menus)
Paul Davis [Mon, 30 Jun 2014 15:16:18 +0000 (11:16 -0400)]
move Opaque and Mute into region Gain submenus (both main menu bar and context menus)

9 years agoprotect use of iterators across routeUI selection when operations change the selectio...
Paul Davis [Mon, 30 Jun 2014 15:02:23 +0000 (11:02 -0400)]
protect use of iterators across routeUI selection when operations change the selection (e.g. deletion)

9 years agochange default timeline item gradient depth and waveform gradient depth
Paul Davis [Mon, 30 Jun 2014 14:57:59 +0000 (10:57 -0400)]
change default timeline item gradient depth and waveform gradient depth

9 years agoalways take verbose cursor clock mode from primary clock (finally!)
Paul Davis [Mon, 30 Jun 2014 14:47:49 +0000 (10:47 -0400)]
always take verbose cursor clock mode from primary clock (finally!)

9 years agonew default color for inactive group tab
Paul Davis [Mon, 30 Jun 2014 14:43:29 +0000 (10:43 -0400)]
new default color for inactive group tab

9 years agoverbose cursor text is always outlined
Paul Davis [Mon, 30 Jun 2014 14:39:41 +0000 (10:39 -0400)]
verbose cursor text is always outlined

9 years agoallow Canvas::Text to have outline drawn in a contrasting color (based on actual...
Paul Davis [Mon, 30 Jun 2014 14:39:26 +0000 (10:39 -0400)]
allow Canvas::Text to have outline drawn in a contrasting color (based on actual color)

9 years agomove contrasting_text_color() into ArdourCanvas
Paul Davis [Mon, 30 Jun 2014 14:38:45 +0000 (10:38 -0400)]
move contrasting_text_color() into ArdourCanvas

9 years agomake verbose cursor respond dynamically to theme changes
Paul Davis [Mon, 30 Jun 2014 14:38:03 +0000 (10:38 -0400)]
make verbose cursor respond dynamically to theme changes

9 years agomake inactive group tab color be themeable and update it dynamically
Paul Davis [Mon, 30 Jun 2014 14:14:06 +0000 (10:14 -0400)]
make inactive group tab color be themeable and update it dynamically

9 years agoremove canvas cursor debug output
Paul Davis [Mon, 30 Jun 2014 13:20:26 +0000 (09:20 -0400)]
remove canvas cursor debug output

9 years agouse Editor::effective_mouse_mode() inside Editor::button_selection(); clean up specia...
Paul Davis [Mon, 30 Jun 2014 13:17:03 +0000 (09:17 -0400)]
use Editor::effective_mouse_mode() inside Editor::button_selection(); clean up special-case of fade in/out handles and mouse mode

9 years agoinvisible items/containers should not add their children to "items-at-point"
Paul Davis [Mon, 30 Jun 2014 12:32:18 +0000 (08:32 -0400)]
invisible items/containers should not add their children to "items-at-point"

9 years agoadditional DEBUG_TRACE message for canvas current item selection
Paul Davis [Mon, 30 Jun 2014 12:31:20 +0000 (08:31 -0400)]
additional DEBUG_TRACE message for canvas current item selection

9 years agoclean up after monitoring-section on session close
Robin Gareus [Mon, 30 Jun 2014 02:04:35 +0000 (04:04 +0200)]
clean up after monitoring-section on session close

9 years agofix issue with track-deletion when the monitoring section is used.
Robin Gareus [Mon, 30 Jun 2014 01:31:58 +0000 (03:31 +0200)]
fix issue with track-deletion when the monitoring section is used.

9 years agoupdate ARD - allow to release it as standalone tool.
Robin Gareus [Sun, 29 Jun 2014 19:19:04 +0000 (21:19 +0200)]
update ARD - allow to release it as standalone tool.

see https://github.com/x42/alsa_request_device

9 years agore-arrange tabs in Session > Properties dialog (Misc is last)
Robin Gareus [Sun, 29 Jun 2014 12:31:45 +0000 (14:31 +0200)]
re-arrange tabs in Session > Properties dialog (Misc is last)

9 years agoadd 'save defaults' option to properties dialog
Robin Gareus [Sun, 29 Jun 2014 13:45:55 +0000 (15:45 +0200)]
add 'save defaults' option to properties dialog

9 years agoadd a generic Option Editor Component for stateless widgets
Robin Gareus [Sun, 29 Jun 2014 13:45:34 +0000 (15:45 +0200)]
add a generic Option Editor Component for stateless widgets

9 years agoallow to load/save default session-properties
Robin Gareus [Sun, 29 Jun 2014 13:45:08 +0000 (15:45 +0200)]
allow to load/save default session-properties

9 years agoChange some declarations from 'struct' to 'class' (and vice-versa)
John Emmas [Sun, 29 Jun 2014 12:56:41 +0000 (13:56 +0100)]
Change some declarations from 'struct' to 'class' (and vice-versa)

9 years agosuspend route redisplay for (rec-en, solo, mute and monitor) batch changes
Robin Gareus [Sun, 29 Jun 2014 00:52:56 +0000 (02:52 +0200)]
suspend route redisplay for (rec-en, solo, mute and monitor) batch changes

9 years agoadd RAII DisplaySuspender
Robin Gareus [Sat, 28 Jun 2014 21:22:15 +0000 (23:22 +0200)]
add RAII DisplaySuspender

9 years agouse a hash-table to cache gui properties
Robin Gareus [Sat, 28 Jun 2014 19:45:52 +0000 (21:45 +0200)]
use a hash-table to cache gui properties

9 years agouse state Session::StateProtector
Robin Gareus [Sat, 28 Jun 2014 19:36:13 +0000 (21:36 +0200)]
use state Session::StateProtector

9 years agoadd Session::StateProtector
Robin Gareus [Sat, 28 Jun 2014 19:27:36 +0000 (21:27 +0200)]
add Session::StateProtector

temp. disable save during batch updates, save once at
the end.

9 years agoconsolidate session_dirs: use Searchpath instead of custom code
Robin Gareus [Sat, 28 Jun 2014 19:57:04 +0000 (21:57 +0200)]
consolidate session_dirs: use Searchpath instead of custom code

9 years agofix meterbridge: load button image only once.
Robin Gareus [Sat, 28 Jun 2014 19:26:16 +0000 (21:26 +0200)]
fix meterbridge: load button image only once.

9 years agosearch-path: filter out duplicates
Robin Gareus [Sat, 28 Jun 2014 19:25:13 +0000 (21:25 +0200)]
search-path: filter out duplicates

Note: this does not yet take care of filtering dups
when directly combining two search-paths.

9 years agoUse 'GStatBuf' in preference to 'struct stat' (which isn't necessarily the same thing)
John Emmas [Sat, 28 Jun 2014 12:33:28 +0000 (13:33 +0100)]
Use 'GStatBuf' in preference to 'struct stat' (which isn't necessarily the same thing)

9 years agoAdd (newly introduced) sources to our MSVC projects
John Emmas [Sat, 28 Jun 2014 10:56:19 +0000 (11:56 +0100)]
Add (newly introduced) sources to our MSVC projects

9 years agoRemove (no longer needed) sources from our MSVC projects
John Emmas [Sat, 28 Jun 2014 10:48:08 +0000 (11:48 +0100)]
Remove (no longer needed) sources from our MSVC projects

9 years agoreplace old implementation of Editor::_ensure_time_axis_view_is_visible() with the...
Paul Davis [Fri, 27 Jun 2014 14:49:05 +0000 (10:49 -0400)]
replace old implementation of Editor::_ensure_time_axis_view_is_visible() with the guts of Editor::ensure_track_is_visible(), then remove the latter.

Also change all users of ensure_track_is_visible() to use _ensure_time_axis_view_is_visible()

9 years agoadd commentary on why PublicEditor::{_,}ensure_time_axis_view_is_visible() both exist
Paul Davis [Fri, 27 Jun 2014 14:48:04 +0000 (10:48 -0400)]
add commentary on why PublicEditor::{_,}ensure_time_axis_view_is_visible() both exist

9 years agoslightly increase size of a Canvas::PolyItem, to avoid left-over pixels when dragging...
Paul Davis [Fri, 27 Jun 2014 14:30:09 +0000 (10:30 -0400)]
slightly increase size of a Canvas::PolyItem, to avoid left-over pixels when dragging (as well as other general incorrectness

9 years agoif CANVAS_DEBUG is defined, then the env variable CANVAS_HARLEQUIN_DEBUGGING will...
Paul Davis [Fri, 27 Jun 2014 14:27:04 +0000 (10:27 -0400)]
if CANVAS_DEBUG is defined, then the env variable CANVAS_HARLEQUIN_DEBUGGING will turn on drawing the expose areas for canvas render debugging

9 years agoin Canvas::window_to_canvas(), if either x or y coordinate is less than zero, search...
Paul Davis [Fri, 27 Jun 2014 14:19:21 +0000 (10:19 -0400)]
in Canvas::window_to_canvas(), if either x or y coordinate is less than zero, search for the scroll group on the relevant edge.

If we don't do this then we find no scroll group covering the event coordinate, and the translation for scroll fails to be applied

9 years agofix edges of selection rects in time axis views to lie correctly within bounds of...
Paul Davis [Fri, 27 Jun 2014 14:18:11 +0000 (10:18 -0400)]
fix edges of selection rects in time axis views to lie correctly within bounds of the time axis view

9 years agomake time axis view item name text be insensitive to events
Paul Davis [Fri, 27 Jun 2014 13:37:37 +0000 (09:37 -0400)]
make time axis view item name text be insensitive to events

We don't really need to be able to click on this to do anything - dbl-click on the item brings up the edit menu etc.

9 years agomake verbose canvas cursor color be set in its constructor rather than explicitly
Paul Davis [Fri, 27 Jun 2014 13:35:19 +0000 (09:35 -0400)]
make verbose canvas cursor color be set in its constructor rather than explicitly

9 years agofix meterbridge height issues when config changes
Robin Gareus [Thu, 26 Jun 2014 19:19:32 +0000 (21:19 +0200)]
fix meterbridge height issues when config changes

9 years agouse new TrackingText for verbose cursor
Paul Davis [Thu, 26 Jun 2014 19:07:29 +0000 (15:07 -0400)]
use new TrackingText for verbose cursor

9 years agonew API for TrackingText and similar items
Paul Davis [Thu, 26 Jun 2014 19:07:12 +0000 (15:07 -0400)]
new API for TrackingText and similar items

9 years agoadd tracking_text.cc to canvas wscript
Paul Davis [Thu, 26 Jun 2014 19:05:21 +0000 (15:05 -0400)]
add tracking_text.cc to canvas wscript

9 years agoremoved no-longer-used Editor::track_canvas_motion()
Paul Davis [Thu, 26 Jun 2014 19:04:59 +0000 (15:04 -0400)]
removed no-longer-used Editor::track_canvas_motion()

9 years agoremove unused i2w code from ControlPoint
Paul Davis [Thu, 26 Jun 2014 19:04:22 +0000 (15:04 -0400)]
remove unused i2w code from ControlPoint

9 years agoremove duplicate entries
Paul Davis [Thu, 26 Jun 2014 19:03:36 +0000 (15:03 -0400)]
remove duplicate entries

9 years agonew TrackingText canvas item, to resolve conceptual issues with the Editor::VerboseCursor
Paul Davis [Thu, 26 Jun 2014 19:03:21 +0000 (15:03 -0400)]
new TrackingText canvas item, to resolve conceptual issues with the Editor::VerboseCursor

9 years agovertically expand recent-session list
Robin Gareus [Thu, 26 Jun 2014 18:54:01 +0000 (20:54 +0200)]
vertically expand recent-session list

9 years agofix meter-strip session/route-ui events
Robin Gareus [Thu, 26 Jun 2014 16:47:06 +0000 (18:47 +0200)]
fix meter-strip session/route-ui events

9 years agoshow track-number in GUI
Robin Gareus [Thu, 26 Jun 2014 17:21:05 +0000 (19:21 +0200)]
show track-number in GUI

9 years agoprepare UI style for track-number boxes
Robin Gareus [Wed, 25 Jun 2014 19:21:10 +0000 (21:21 +0200)]
prepare UI style for track-number boxes

9 years agoprepare formatting track-number for mixer (and other places)
Robin Gareus [Thu, 26 Jun 2014 17:08:48 +0000 (19:08 +0200)]
prepare formatting track-number for mixer (and other places)

9 years agosession option GUI for track-number & take-name
Robin Gareus [Thu, 26 Jun 2014 17:19:18 +0000 (19:19 +0200)]
session option GUI for track-number & take-name

9 years agobump take-name after every recording
Robin Gareus [Thu, 26 Jun 2014 17:07:38 +0000 (19:07 +0200)]
bump take-name after every recording

9 years agooption to use track-number and take-name as part of file-name
Robin Gareus [Thu, 26 Jun 2014 17:16:07 +0000 (19:16 +0200)]
option to use track-number and take-name as part of file-name

9 years agoimplement track numbering
Robin Gareus [Wed, 25 Jun 2014 19:16:09 +0000 (21:16 +0200)]
implement track numbering

9 years agoallow to set custom file name for each diststream
Robin Gareus [Thu, 26 Jun 2014 17:04:06 +0000 (19:04 +0200)]
allow to set custom file name for each diststream

9 years agofix "stop_recording_on_xrun" in prefs dialog
Robin Gareus [Thu, 26 Jun 2014 17:15:17 +0000 (19:15 +0200)]
fix "stop_recording_on_xrun" in prefs dialog

9 years agoaccept text-entry-change w/o enter and add filter_text option
Robin Gareus [Wed, 25 Jun 2014 22:46:59 +0000 (00:46 +0200)]
accept text-entry-change w/o enter and add filter_text option

9 years agoconsolidate SignalOrderRouteSorter
Robin Gareus [Mon, 23 Jun 2014 23:36:07 +0000 (01:36 +0200)]
consolidate SignalOrderRouteSorter

9 years agomove utility functions into a dedicated namespace
Robin Gareus [Wed, 25 Jun 2014 19:27:37 +0000 (21:27 +0200)]
move utility functions into a dedicated namespace

9 years agonamespace libardour utils
Robin Gareus [Wed, 25 Jun 2014 19:03:47 +0000 (21:03 +0200)]
namespace libardour utils

9 years agofix LTC slave delta formatting (long long)
Robin Gareus [Wed, 25 Jun 2014 19:23:12 +0000 (21:23 +0200)]
fix LTC slave delta formatting (long long)

9 years agolet's not forget the video timeline
Paul Davis [Wed, 25 Jun 2014 19:35:08 +0000 (15:35 -0400)]
let's not forget the video timeline

9 years agodo not include ruler visibility items in context click menu on timebars
Paul Davis [Wed, 25 Jun 2014 19:32:42 +0000 (15:32 -0400)]
do not include ruler visibility items in context click menu on timebars

9 years agotighten up spacing in ruler dialog
Paul Davis [Wed, 25 Jun 2014 19:26:55 +0000 (15:26 -0400)]
tighten up spacing in ruler dialog

9 years agouse new ruler dialog class for context clicks on ruler labels area
Paul Davis [Wed, 25 Jun 2014 19:23:25 +0000 (15:23 -0400)]
use new ruler dialog class for context clicks on ruler labels area

9 years agonew ruler dialog class
Paul Davis [Wed, 25 Jun 2014 19:23:05 +0000 (15:23 -0400)]
new ruler dialog class

9 years agoremove unused code
Paul Davis [Wed, 25 Jun 2014 17:37:59 +0000 (13:37 -0400)]
remove unused code

9 years agofix y-offset when drag-n-dropping regions from region list
Paul Davis [Wed, 25 Jun 2014 16:39:52 +0000 (12:39 -0400)]
fix y-offset when drag-n-dropping regions from region list

9 years agoAdd unit tests for PBD::clear_directory and PBD::remove_directory
Tim Mayberry [Wed, 25 Jun 2014 11:43:15 +0000 (21:43 +1000)]
Add unit tests for PBD::clear_directory and PBD::remove_directory

9 years agoRename internal class to stop the wrong destructor from being called
Tim Mayberry [Wed, 25 Jun 2014 12:41:31 +0000 (22:41 +1000)]
Rename internal class to stop the wrong destructor from being called

9 years agoAdd a PBD::TextReceiver in pbd testrunner
Tim Mayberry [Wed, 25 Jun 2014 00:59:34 +0000 (10:59 +1000)]
Add a PBD::TextReceiver in pbd testrunner

9 years agoAdd simple test for PBD::find_files_matching_pattern
Tim Mayberry [Tue, 24 Jun 2014 11:27:37 +0000 (21:27 +1000)]
Add simple test for PBD::find_files_matching_pattern

This helped fix a silly cut and paste error in pbd/file_utils.cc so
might as well included it.

9 years agoUse PBD::FdFileDescriptor in PBD::copy_file
Tim Mayberry [Wed, 25 Jun 2014 01:01:33 +0000 (11:01 +1000)]
Use PBD::FdFileDescriptor in PBD::copy_file