Paul Davis
4eb565e0a9
verbose cursor text is always outlined
2014-06-30 10:39:41 -04:00
Paul Davis
5974f4730b
allow Canvas::Text to have outline drawn in a contrasting color (based on actual color)
2014-06-30 10:39:26 -04:00
Paul Davis
471570705d
move contrasting_text_color() into ArdourCanvas
2014-06-30 10:38:45 -04:00
Paul Davis
33339090c3
invisible items/containers should not add their children to "items-at-point"
2014-06-30 08:32:26 -04:00
Paul Davis
cf075743e4
additional DEBUG_TRACE message for canvas current item selection
2014-06-30 08:32:26 -04:00
Robin Gareus
8b216111da
clean up after monitoring-section on session close
2014-06-30 04:04:35 +02:00
Robin Gareus
038d292c3f
fix issue with track-deletion when the monitoring section is used.
2014-06-30 03:31:58 +02:00
Robin Gareus
c1ae35242b
update ARD - allow to release it as standalone tool.
...
see https://github.com/x42/alsa_request_device
2014-06-29 21:19:04 +02:00
Robin Gareus
8df35b35ba
allow to load/save default session-properties
2014-06-29 16:11:46 +02:00
John Emmas
cef26a4e1e
Change some declarations from 'struct' to 'class' (and vice-versa)
2014-06-29 13:56:41 +01:00
Robin Gareus
4a7eb62bf8
use state Session::StateProtector
2014-06-28 22:02:20 +02:00
Robin Gareus
ecd11253c1
add Session::StateProtector
...
temp. disable save during batch updates, save once at
the end.
2014-06-28 22:02:20 +02:00
Robin Gareus
c0c68dbf4d
consolidate session_dirs: use Searchpath instead of custom code
2014-06-28 22:02:20 +02:00
Robin Gareus
02e38bab16
search-path: filter out duplicates
...
Note: this does not yet take care of filtering dups
when directly combining two search-paths.
2014-06-28 22:02:20 +02:00
John Emmas
dcca72dabd
Use 'GStatBuf' in preference to 'struct stat' (which isn't necessarily the same thing)
2014-06-28 13:33:28 +01:00
John Emmas
22ce7c0762
Add (newly introduced) sources to our MSVC projects
2014-06-28 11:56:19 +01:00
John Emmas
ef78ad0d83
Remove (no longer needed) sources from our MSVC projects
2014-06-28 11:48:08 +01:00
Paul Davis
c2dcd7eacd
slightly increase size of a Canvas::PolyItem, to avoid left-over pixels when dragging (as well as other general incorrectness
2014-06-27 10:30:09 -04:00
Paul Davis
a0cb2f95f0
if CANVAS_DEBUG is defined, then the env variable CANVAS_HARLEQUIN_DEBUGGING will turn on drawing the expose areas for canvas render debugging
2014-06-27 10:27:04 -04:00
Paul Davis
6cc673f0a6
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
2014-06-27 10:19:21 -04:00
Paul Davis
3accf1d2af
new API for TrackingText and similar items
2014-06-26 15:10:24 -04:00
Paul Davis
ae4c4c8f90
add tracking_text.cc to canvas wscript
2014-06-26 15:10:24 -04:00
Paul Davis
f5d62b1486
new TrackingText canvas item, to resolve conceptual issues with the Editor::VerboseCursor
2014-06-26 15:10:24 -04:00
Robin Gareus
789cf92a23
bump take-name after every recording
2014-06-26 19:16:20 +02:00
Robin Gareus
a74d7bd232
option to use track-number and take-name as part of file-name
2014-06-26 19:16:07 +02:00
Robin Gareus
b067a185f0
implement track numbering
2014-06-26 19:15:43 +02:00
Robin Gareus
7cb6e9065a
allow to set custom file name for each diststream
2014-06-26 19:15:39 +02:00
Robin Gareus
b90d7a01fa
consolidate SignalOrderRouteSorter
2014-06-25 21:47:54 +02:00
Robin Gareus
1bd4e448de
namespace libardour utils
2014-06-25 21:47:54 +02:00
Robin Gareus
4da2fadb9e
fix LTC slave delta formatting (long long)
2014-06-25 21:47:54 +02:00
Tim Mayberry
3d0e36f579
Add unit tests for PBD::clear_directory and PBD::remove_directory
2014-06-25 12:40:11 -04:00
Tim Mayberry
2ef5cefa6b
Rename internal class to stop the wrong destructor from being called
2014-06-25 12:40:11 -04:00
Tim Mayberry
7262e16216
Add a PBD::TextReceiver in pbd testrunner
2014-06-25 12:40:11 -04:00
Tim Mayberry
24c40c0e88
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.
2014-06-25 12:40:11 -04:00
Tim Mayberry
31bceb7570
Use PBD::FdFileDescriptor in PBD::copy_file
2014-06-25 12:40:11 -04:00
Tim Mayberry
8da304be09
Fix PBD::copy_file so it works with non-ASCII filenames on windows
2014-06-25 12:40:11 -04:00
Tim Mayberry
4ced10bfe5
Add test utility function to PBD tests to return some utf-8 strings
...
This is currently unused
2014-06-25 12:40:11 -04:00
Tim Mayberry
53c959ad8f
Add a test for PBD::copy_file using test files with utf-8 encoded filenames
2014-06-25 12:40:11 -04:00
Tim Mayberry
de4fc4843b
Fix PBD::copy_files so that it uses O_BINARY on windows and doesn't add line endings to copied files
2014-06-25 12:40:11 -04:00
Tim Mayberry
3000399ce1
Use PLATFORM_WINDOWS define instead of WIN32 in PBD::FileManager
2014-06-25 12:40:11 -04:00
Tim Mayberry
7bf392060e
Call PBD::init and PBD::cleanup in pbd test executable
2014-06-25 12:40:11 -04:00
Tim Mayberry
7338c4e242
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...
2014-06-25 12:40:11 -04:00
Tim Mayberry
94d8dfa256
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
2014-06-25 12:40:11 -04:00
Tim Mayberry
3b1a98f0ec
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.
2014-06-25 12:40:11 -04:00
Tim Mayberry
6d0cce528e
Add/Update docs in pbd/file_utils.h
2014-06-25 12:40:11 -04:00
Tim Mayberry
851db83fc4
Use run_functor_for_paths in PBD::get_paths
2014-06-25 12:40:10 -04:00
Tim Mayberry
04434f2b88
Rename PBD::get_files_in_directory to just PBD::get_files, change parameter order and fix docs
2014-06-25 12:40:10 -04:00
Tim Mayberry
84d190b7cc
Rename PBD::get_directory_contents to PBD::get_paths
...
shorter name and change order of parameters to match other functions
2014-06-25 12:40:10 -04:00
Tim Mayberry
26ec4038af
Use run_functor_for_paths in PBD::find_files_matching_pattern
2014-06-25 12:40:10 -04:00
Tim Mayberry
a7ce765b0b
Fix finding of bundled LV2 plugins
2014-06-25 12:40:10 -04:00