Paul Davis
b4aba271f4
move contrasting_text_color() into ArdourCanvas
2014-08-17 19:59:38 -04:00
Paul Davis
74a5737b7c
invisible items/containers should not add their children to "items-at-point"
2014-08-17 19:58:14 -04:00
Paul Davis
861a22db4c
additional DEBUG_TRACE message for canvas current item selection
2014-08-17 19:58:05 -04:00
Robin Gareus
2d9956b8ec
clean up after monitoring-section on session close
2014-08-17 19:57:59 -04:00
Robin Gareus
660165f6c4
fix issue with track-deletion when the monitoring section is used.
2014-08-17 19:57:54 -04:00
Robin Gareus
93f8f5db4b
update ARD - allow to release it as standalone tool.
...
see https://github.com/x42/alsa_request_device
2014-08-17 19:57:49 -04:00
Robin Gareus
210213c18e
allow to load/save default session-properties
2014-08-17 19:57:03 -04:00
John Emmas
8c77efd3ff
Change some declarations from 'struct' to 'class' (and vice-versa)
2014-08-17 19:56:56 -04:00
Robin Gareus
3e4c9fcea2
use state Session::StateProtector
2014-08-17 19:48:51 -04:00
Robin Gareus
d010ef5d99
add Session::StateProtector
...
temp. disable save during batch updates, save once at
the end.
2014-08-17 19:48:45 -04:00
Robin Gareus
4bbe871805
consolidate session_dirs: use Searchpath instead of custom code
2014-08-17 19:48:36 -04:00
Robin Gareus
614651ad86
search-path: filter out duplicates
...
Note: this does not yet take care of filtering dups
when directly combining two search-paths.
2014-08-17 19:47:59 -04:00
John Emmas
917cc32f5f
Use 'GStatBuf' in preference to 'struct stat' (which isn't necessarily the same thing)
2014-08-17 19:47:53 -04:00
John Emmas
b9c62e879a
Add (newly introduced) sources to our MSVC projects
2014-08-17 19:47:47 -04:00
John Emmas
aa4fe5f5ee
Remove (no longer needed) sources from our MSVC projects
2014-08-17 19:47:41 -04:00
Paul Davis
66115ee7f7
slightly increase size of a Canvas::PolyItem, to avoid left-over pixels when dragging (as well as other general incorrectness
2014-08-17 19:47:16 -04:00
Paul Davis
4cf21bd462
if CANVAS_DEBUG is defined, then the env variable CANVAS_HARLEQUIN_DEBUGGING will turn on drawing the expose areas for canvas render debugging
2014-08-17 19:46:36 -04:00
Paul Davis
f22f5725d5
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-08-17 19:46:30 -04:00
Paul Davis
92b29e1ea1
new API for TrackingText and similar items
2014-08-17 19:28:47 -04:00
Paul Davis
6cea8f3c5b
add tracking_text.cc to canvas wscript
2014-08-17 19:28:42 -04:00
Paul Davis
2f77f2bc69
removed no-longer-used Editor::track_canvas_motion()
...
Conflicts:
gtk2_ardour/editor.h
2014-08-17 19:27:11 -04:00
Paul Davis
f9f0bfe6ed
new TrackingText canvas item, to resolve conceptual issues with the Editor::VerboseCursor
2014-08-17 18:53:52 -04:00
Robin Gareus
b7ff8a1fe8
bump take-name after every recording
2014-08-17 18:52:38 -04:00
Robin Gareus
17195c7167
option to use track-number and take-name as part of file-name
2014-08-17 18:52:31 -04:00
Robin Gareus
25752f87a9
implement track numbering
2014-08-17 18:52:24 -04:00
Robin Gareus
20f6cc0990
allow to set custom file name for each diststream
...
Conflicts:
libs/ardour/route.cc
2014-08-17 18:52:16 -04:00
Robin Gareus
18cedeec63
consolidate SignalOrderRouteSorter
2014-08-17 18:51:29 -04:00
Robin Gareus
b831d8997b
namespace libardour utils
...
Conflicts:
gtk2_ardour/session_dialog.h
2014-08-17 18:49:55 -04:00
Robin Gareus
68bc0c6c90
fix LTC slave delta formatting (long long)
2014-08-17 18:49:02 -04:00
Tim Mayberry
28ac321d31
Add unit tests for PBD::clear_directory and PBD::remove_directory
2014-08-17 18:44:06 -04:00
Tim Mayberry
1e1a291ee2
Rename internal class to stop the wrong destructor from being called
2014-08-17 18:44:01 -04:00
Tim Mayberry
5d6809d346
Add a PBD::TextReceiver in pbd testrunner
2014-08-17 18:43:43 -04:00
Tim Mayberry
9c16e67b06
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-08-17 18:43:37 -04:00
Tim Mayberry
b3ab6e79f1
Use PBD::FdFileDescriptor in PBD::copy_file
2014-08-17 18:43:31 -04:00
Tim Mayberry
fe2cf91d69
Fix PBD::copy_file so it works with non-ASCII filenames on windows
2014-08-17 18:43:27 -04:00
Tim Mayberry
aae3815a77
Add test utility function to PBD tests to return some utf-8 strings
...
This is currently unused
2014-08-17 18:43:22 -04:00
Tim Mayberry
1eca45d70e
Add a test for PBD::copy_file using test files with utf-8 encoded filenames
2014-08-17 18:43:06 -04:00
Tim Mayberry
3f6181c0c3
Fix PBD::copy_files so that it uses O_BINARY on windows and doesn't add line endings to copied files
2014-08-17 18:43:00 -04:00
Tim Mayberry
5598c12471
Use PLATFORM_WINDOWS define instead of WIN32 in PBD::FileManager
2014-08-17 18:42:54 -04:00
Tim Mayberry
999a5432fc
Call PBD::init and PBD::cleanup in pbd test executable
2014-08-17 18:42:49 -04:00
Tim Mayberry
7cdb4ed199
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-08-17 18:42:43 -04:00
Tim Mayberry
439f68bdc9
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-08-17 18:42:38 -04:00
Tim Mayberry
17a984aa30
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-08-17 18:42:33 -04:00
Tim Mayberry
1308cccd96
Add/Update docs in pbd/file_utils.h
2014-08-17 18:42:25 -04:00
Tim Mayberry
257a2710eb
Use run_functor_for_paths in PBD::get_paths
2014-08-17 18:42:21 -04:00
Tim Mayberry
849adaf7e5
Rename PBD::get_files_in_directory to just PBD::get_files, change parameter order and fix docs
2014-08-17 18:42:08 -04:00
Tim Mayberry
b668c53c5c
Rename PBD::get_directory_contents to PBD::get_paths
...
shorter name and change order of parameters to match other functions
2014-08-17 18:42:01 -04:00
Tim Mayberry
0228ddb52f
Use run_functor_for_paths in PBD::find_files_matching_pattern
2014-08-17 18:41:56 -04:00
Tim Mayberry
5eb8d63ad7
Fix finding of bundled LV2 plugins
2014-08-17 18:41:52 -04:00
Tim Mayberry
5450da010b
Add function PBD::find_paths_matching_filter
2014-08-17 18:41:47 -04:00