ardour.git
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

9 years agoFix PBD::copy_file so it works with non-ASCII filenames on windows
Tim Mayberry [Tue, 24 Jun 2014 23:40:26 +0000 (09:40 +1000)]
Fix PBD::copy_file so it works with non-ASCII filenames on windows

9 years agoAdd test utility function to PBD tests to return some utf-8 strings
Tim Mayberry [Wed, 25 Jun 2014 03:40:18 +0000 (13:40 +1000)]
Add test utility function to PBD tests to return some utf-8 strings

This is currently unused

9 years agoAdd a test for PBD::copy_file using test files with utf-8 encoded filenames
Tim Mayberry [Wed, 25 Jun 2014 03:51:58 +0000 (13:51 +1000)]
Add a test for PBD::copy_file using test files with utf-8 encoded filenames

9 years agoFix PBD::copy_files so that it uses O_BINARY on windows and doesn't add line endings...
Tim Mayberry [Tue, 24 Jun 2014 23:05:43 +0000 (09:05 +1000)]
Fix PBD::copy_files so that it uses O_BINARY on windows and doesn't add line endings to copied files

9 years agoUse PLATFORM_WINDOWS define instead of WIN32 in PBD::FileManager
Tim Mayberry [Tue, 24 Jun 2014 23:04:43 +0000 (09:04 +1000)]
Use PLATFORM_WINDOWS define instead of WIN32 in PBD::FileManager

9 years agoCall PBD::init and PBD::cleanup in pbd test executable
Tim Mayberry [Tue, 24 Jun 2014 09:33:10 +0000 (19:33 +1000)]
Call PBD::init and PBD::cleanup in pbd test executable

9 years agoAdd test for PBD::copy_file
Tim Mayberry [Tue, 24 Jun 2014 07:05:45 +0000 (17:05 +1000)]
Add test for PBD::copy_file

From this I can see that PBD::copy_file is not working correctly on windows
as it is adding windows style line endings. Adding O_BINARY to ::open flags
would fix it, but perhaps there is a better way...

9 years agoAdd utility function to test lib to create a test directory
Tim Mayberry [Tue, 24 Jun 2014 07:02:39 +0000 (17:02 +1000)]
Add utility function to test lib to create a test directory

There is an identical function in libardour test support lib so we
should probably find a better place to put this at some point

9 years agoChange PBD::get_files and PBD::get_paths to take a Searchpath instead of directory...
Tim Mayberry [Sun, 22 Jun 2014 09:58:19 +0000 (19:58 +1000)]
Change PBD::get_files and PBD::get_paths to take a Searchpath instead of directory path

Both these functions use the internal function run_functor_for_paths
which takes a Searchpath so this avoids a temporary variable in cases
where a Searchpath is passed directly.

The usage is the same as the compiler will generate a temporary Searchpath
from a string(directory path) if necessary.

9 years agoAdd/Update docs in pbd/file_utils.h
Tim Mayberry [Tue, 24 Jun 2014 01:16:38 +0000 (11:16 +1000)]
Add/Update docs in pbd/file_utils.h

9 years agoUse run_functor_for_paths in PBD::get_paths
Tim Mayberry [Sun, 22 Jun 2014 08:03:01 +0000 (18:03 +1000)]
Use run_functor_for_paths in PBD::get_paths

9 years agoFix finding icon sets by using correct utility function
Tim Mayberry [Sun, 22 Jun 2014 07:44:35 +0000 (17:44 +1000)]
Fix finding icon sets by using correct utility function

9 years agoRename PBD::get_files_in_directory to just PBD::get_files, change parameter order...
Tim Mayberry [Sun, 22 Jun 2014 07:39:06 +0000 (17:39 +1000)]
Rename PBD::get_files_in_directory to just PBD::get_files, change parameter order and fix docs

9 years agoRename PBD::get_directory_contents to PBD::get_paths
Tim Mayberry [Sun, 22 Jun 2014 07:22:37 +0000 (17:22 +1000)]
Rename PBD::get_directory_contents to PBD::get_paths

shorter name and change order of parameters to match other functions

9 years agoUse run_functor_for_paths in PBD::find_files_matching_pattern
Tim Mayberry [Sun, 22 Jun 2014 03:58:39 +0000 (13:58 +1000)]
Use run_functor_for_paths in PBD::find_files_matching_pattern

9 years agoFix finding of bundled LV2 plugins
Tim Mayberry [Sun, 22 Jun 2014 03:20:25 +0000 (13:20 +1000)]
Fix finding of bundled LV2 plugins

9 years agoAdd function PBD::find_paths_matching_filter
Tim Mayberry [Sun, 22 Jun 2014 03:11:27 +0000 (13:11 +1000)]
Add function PBD::find_paths_matching_filter

9 years agoUse run_functor_for_paths in PBD::find_files_matching_filter
Tim Mayberry [Sun, 22 Jun 2014 02:53:35 +0000 (12:53 +1000)]
Use run_functor_for_paths in PBD::find_files_matching_filter

9 years agoAdd function to file_utils intended to be used internally
Tim Mayberry [Sun, 22 Jun 2014 03:18:14 +0000 (13:18 +1000)]
Add function to file_utils intended to be used internally

9 years agoAdd some debug output in file_utils.cc
Tim Mayberry [Sun, 22 Jun 2014 00:40:28 +0000 (10:40 +1000)]
Add some debug output in file_utils.cc

9 years agoRemove reference to strtok_r now that it isn't used
Tim Mayberry [Fri, 20 Jun 2014 03:14:50 +0000 (13:14 +1000)]
Remove reference to strtok_r now that it isn't used

9 years agoChange formatting of DEBUG_TRACE calls to match style guide
Tim Mayberry [Fri, 20 Jun 2014 01:07:29 +0000 (11:07 +1000)]
Change formatting of DEBUG_TRACE calls to match style guide

9 years agoMove functions in pbd/clear_dir.h/cc into pbd/file_utils.h/cc
Tim Mayberry [Thu, 19 Jun 2014 13:00:45 +0000 (23:00 +1000)]
Move functions in pbd/clear_dir.h/cc into pbd/file_utils.h/cc

9 years agoAdd remove_directory_internal function and use it in PBD::clear_directory and PBD...
Tim Mayberry [Thu, 19 Jun 2014 12:31:13 +0000 (22:31 +1000)]
Add remove_directory_internal function and use it in PBD::clear_directory and PBD::remove_directory

9 years agoReimplement PBD::clear_dir using PBD::get_directory_contents
Tim Mayberry [Tue, 24 Jun 2014 01:05:24 +0000 (11:05 +1000)]
Reimplement PBD::clear_dir using PBD::get_directory_contents

9 years agoRename PBD::find_file_in_search_path to just PBD::find_file
Tim Mayberry [Thu, 19 Jun 2014 11:23:12 +0000 (21:23 +1000)]
Rename PBD::find_file_in_search_path to just PBD::find_file

saves a bit of typing and not necessary if you look at how it is used.

9 years agoUse PBD::find_files_matching_pattern instead of other variations
Tim Mayberry [Tue, 24 Jun 2014 00:30:22 +0000 (10:30 +1000)]
Use PBD::find_files_matching_pattern instead of other variations

9 years agoAdd a variation of PBD::find_files_matching_pattern for convenience
Tim Mayberry [Thu, 19 Jun 2014 10:09:10 +0000 (20:09 +1000)]
Add a variation of PBD::find_files_matching_pattern for convenience

9 years agoAdd new function PBD::find_files_matching_pattern
Tim Mayberry [Thu, 19 Jun 2014 09:39:27 +0000 (19:39 +1000)]
Add new function PBD::find_files_matching_pattern

This new function is intended to replace the three existing
PBD::find_matching_files_* functions.

The order of parameters matches find_files_matching_regex and
find_files_matching_filter

9 years agoChange PBD::find_files_matching_regex and PBD::find_files_matching_filter to take...
Tim Mayberry [Thu, 19 Jun 2014 08:26:17 +0000 (18:26 +1000)]
Change PBD::find_files_matching_regex and PBD::find_files_matching_filter to take a Searchpath

9 years agoReimplement PBD::find_files_matching_filter using SearchPath and get_directory_contents
Tim Mayberry [Thu, 19 Jun 2014 04:41:59 +0000 (14:41 +1000)]
Reimplement PBD::find_files_matching_filter using SearchPath and get_directory_contents

9 years agoRemove limit parameter from PBD::find_files_matching_regex
Tim Mayberry [Thu, 19 Jun 2014 03:24:34 +0000 (13:24 +1000)]
Remove limit parameter from PBD::find_files_matching_regex

This limit was not used or documented. The same functionality can be
performed when iterating through the results.

9 years agoRemove parameters from PBD::find_files_matching_regex
Tim Mayberry [Thu, 19 Jun 2014 02:58:49 +0000 (12:58 +1000)]
Remove parameters from PBD::find_files_matching_regex

The only users of this API always used the same options so just remove
them.

9 years agoChange PBD::get_files_in_directory to return full paths in result
Tim Mayberry [Thu, 19 Jun 2014 02:33:14 +0000 (12:33 +1000)]
Change PBD::get_files_in_directory to return full paths in result

get_files_in_directory uses get_directory_contents internally now

9 years agoAdd PBD::get_directory_contents to pbd/file_utils.h
Tim Mayberry [Thu, 19 Jun 2014 02:31:19 +0000 (12:31 +1000)]
Add PBD::get_directory_contents to pbd/file_utils.h

9 years agoGLib functions for listing directory contents don't include "." or ".." entries
Tim Mayberry [Thu, 19 Jun 2014 01:13:57 +0000 (11:13 +1000)]
GLib functions for listing directory contents don't include "." or ".." entries

9 years agofix incorrect cut-n-paste across synergy
Paul Davis [Wed, 25 Jun 2014 16:30:57 +0000 (12:30 -0400)]
fix incorrect cut-n-paste across synergy

9 years agoadd slider control to GUI tab of preferences for lock timeout
Paul Davis [Wed, 25 Jun 2014 16:12:01 +0000 (12:12 -0400)]
add slider control to GUI tab of preferences for lock timeout

9 years agoexpose Gtk::HScale member of OptionEditor::HSliderOption
Paul Davis [Wed, 25 Jun 2014 16:11:43 +0000 (12:11 -0400)]
expose Gtk::HScale member of OptionEditor::HSliderOption

9 years agopart two of: lock dialog MUST be a Gtk::Dialog so that it does not forward key (or...
Paul Davis [Wed, 25 Jun 2014 16:10:56 +0000 (12:10 -0400)]
part two of: lock dialog MUST be a Gtk::Dialog so that it does not forward key (or other) events to the Editor

9 years agolock dialog MUST be a Gtk::Dialog so that it does not forward key (or other) events...
Paul Davis [Wed, 25 Jun 2014 15:47:35 +0000 (11:47 -0400)]
lock dialog MUST be a Gtk::Dialog so that it does not forward key (or other) events to the Editor

9 years agocheck UIConfig variable before restarting lock timeout
Paul Davis [Wed, 25 Jun 2014 15:34:58 +0000 (11:34 -0400)]
check UIConfig variable before restarting lock timeout

9 years agoadd UIConfig variable for lock timer
Paul Davis [Wed, 25 Jun 2014 15:34:37 +0000 (11:34 -0400)]
add UIConfig variable for lock timer

10 years agowscript fix for wavesaudio backend - use correct name for CoreM[iI][dD][iI] framework...
Paul Davis [Wed, 25 Jun 2014 12:29:23 +0000 (08:29 -0400)]
wscript fix for wavesaudio backend - use correct name for CoreM[iI][dD][iI] framework on Lion and other versions

10 years agonew timer-based GUI locking code
Paul Davis [Wed, 25 Jun 2014 12:28:36 +0000 (08:28 -0400)]
new timer-based GUI locking code