Tim Mayberry
9597f5468d
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.
2014-08-17 18:12:09 -04:00
Tim Mayberry
ef6d6816aa
Remove parameters from PBD::find_files_matching_regex
...
The only users of this API always used the same options so just remove
them.
2014-08-17 18:12:04 -04:00
Tim Mayberry
4ffa970135
Change PBD::get_files_in_directory to return full paths in result
...
get_files_in_directory uses get_directory_contents internally now
2014-08-17 18:11:59 -04:00
Tim Mayberry
1e442feb53
Add PBD::get_directory_contents to pbd/file_utils.h
2014-08-17 18:11:52 -04:00
Ben Loftis
17b601a9f3
last piece of scroll-wheel checkin, oops
2014-08-17 18:10:21 -04:00
Ben Loftis
d0f41a4f5e
add scroll wheel handler to canvas
2014-08-17 18:10:15 -04:00
Robin Gareus
130023ff7d
fix f6aaa16 (boost shared pointer)
2014-08-17 18:07:43 -04:00
Paul Davis
d893b493d6
return of the zero line
2014-08-17 18:07:37 -04:00
Paul Davis
1b58dd6ecf
revert drawing of rectified waves back to previous approach since it (might be) slightly more efficient and is simpler to understand; add comments
2014-08-17 18:07:32 -04:00
Paul Davis
87cc9f7d4f
completely rethink waveform rendering (again)
...
There are 3 possible components to draw at each x-axis position: the waveform "line", the zero line and an outline/clip indicator.
We have to decide which of the 3 to draw at each position, pixel by pixel. This makes the rendering less efficient but it is
the only way I can see to do this correctly.
2014-08-17 18:07:24 -04:00
Paul Davis
e0bceb3e4e
fix logic error that meant one side of the waveform outline is not drawn; draw zero line before outline, for better effects with low amplitude waves
2014-08-17 18:07:14 -04:00
Robin Gareus
887dc842ef
don't let enumerated device list strings go out of scope.
2014-08-17 18:07:10 -04:00
Robin Gareus
f56564258e
statically allocate midi-options
...
fixes possible segfault when the data in the vector
goes out of scope due to RVO.
2014-08-17 18:07:04 -04:00
Paul Davis
71e3f4a72c
when exporting regions, use ::legalize_for_path() on the playlist name so that filenames are legal.
...
Also, use Glib::build_filename() rather than hardcoding / as the separator. How did this escape the search for this error?
Conflicts:
libs/ardour/session.cc
2014-08-17 18:06:51 -04:00
Robin Gareus
0df12b78a3
en/disable internal send+returns with tracks en/disable.
2014-08-17 18:05:20 -04:00
Paul Davis
9ebbcdde09
Canvas::Group was removed
2014-08-17 18:04:05 -04:00
Robin Gareus
b130dc032e
Do not allow to de/activate a track while the transport is rolling.
...
roll_delay and latency are only re-calculated when the transport is stopped.
de/activating a track is also not RT-safe.
Conflicts:
gtk2_ardour/mixer_strip.cc
gtk2_ardour/route_time_axis.cc
2014-08-17 17:53:50 -04:00
Robin Gareus
c18826b858
ALSA-backend: dedicated Midi-Buffer n-periods (only use for HW output)
2014-08-17 17:44:23 -04:00
Paul Davis
28fdc71d70
more canvas refactoring.
...
Remove Canvas::Layout, use Canvas::Container for the same purpose, move child-rendering into Item::render_children() so that it
could theoretically be used by any derived type.
2014-08-17 17:44:17 -04:00
Paul Davis
72ab6f6fe5
add missing new files for canvas redesign
2014-08-17 17:44:12 -04:00
Paul Davis
f11ad4f901
explicitly qualify cast to ArdourCanvas::Container so that it works.
...
I assume that gcc is failing to complain about ambiguity with Gtk::Container even though there should
really be no ambiguity
2014-08-17 17:43:51 -04:00
John Emmas
c7240fa01d
Rename all 3 backends for the MSVC sln file
2014-08-17 17:43:46 -04:00
John Emmas
32503e1585
Rename dummy backend to match Tim's name
2014-08-17 17:43:27 -04:00
John Emmas
53d387398b
Rename jack backend to match Tim's name
2014-08-17 17:43:21 -04:00
John Emmas
211bfda0a5
Rename waves backend to match Tim's name
2014-08-17 17:43:14 -04:00
Paul Davis
98aa604aa0
refactor Canvas so that all Items have children; add Container abstract base class; rename Group as "Layout" and retain only drawing semantics
2014-08-17 17:42:59 -04:00
Robin Gareus
eeca22c67a
virtual abstraction of Alsa Raw+Seq
2014-08-17 17:42:45 -04:00
Robin Gareus
048d127208
prepare ALSA sequencer
2014-08-17 17:42:39 -04:00
Robin Gareus
35b5f853cd
alsa sequencer device/port listing
2014-08-17 17:42:34 -04:00
Paul Davis
af3143ba4a
manually catch up on API changes in libs/ardour/import.cc
2014-08-17 17:40:19 -04:00
Robin Gareus
ca90eea96c
no more stack smashing, renice debug messages
2014-08-17 16:27:56 -04:00
Robin Gareus
f2c98d886b
rework raw-midi drain strategy (workaround for sync devices)
2014-08-17 16:26:46 -04:00
Robin Gareus
c1345f2bb7
fix port-unregister (on failed latency measurement)
2014-08-17 16:26:38 -04:00
John Emmas
f80271b0df
Remove (no longer needed) sources from an MSVC project
2014-08-17 16:24:56 -04:00
John Emmas
8d0e77a4d8
Move the definition for 'strtok_r' (to avoid clashing with a different definition in pthread_win32)
2014-08-17 16:24:48 -04:00
Paul Davis
1ba94eab60
if we're not going to notify parents of bbox changes while an item is hidden, we need to remind it when the item is hidden or shown
2014-08-17 16:24:21 -04:00
Paul Davis
4d4851cffc
a whole slew of changes related to centralizing and rationalizing cursor management.
...
Debugging output left in place to help address the reports that will come in as people test this more
2014-08-17 16:23:52 -04:00
nick_m
929a787b71
Canvas tweaks.
...
* Only queue a draw for changed items that are set visible and in-window.
2014-08-17 16:23:37 -04:00
Paul Davis
3ef2430ae0
a set of 3 fixes that cure Canvas::Text leaving dirty pixels when being dragged. or might not - testing is non-deterministic, which is alarming
2014-08-17 15:34:13 -04:00
Paul Davis
df72a6ca25
use a different approach for indicating expose rects (from robin gareus). #ifdef'd out by default
2014-08-17 15:34:05 -04:00
Robin Gareus
35dfe93322
prepare midi-latency measurement using sysex messages
2014-08-17 15:33:59 -04:00
nick_m
36a93b0d18
Cache entries are now region colour aware.
2014-08-17 15:33:22 -04:00
Tim Mayberry
9b0308a6aa
Remove PathScanner class from libpbd
2014-08-17 15:32:50 -04:00
Tim Mayberry
10a6fe553e
Replace all use of PathScanner with equivalent functions from pbd/file_utils.h
2014-08-17 15:32:42 -04:00
Tim Mayberry
576c81d50e
Remove unused header includes
2014-08-17 15:32:33 -04:00
Tim Mayberry
2339fdc1aa
Add default arguments to match those in PathScanner::operator()
2014-08-17 15:32:29 -04:00
Tim Mayberry
e75f227fe3
Move member functions from PathScanner to functions in pbd/file_utils.h
...
This allows us to remove PathScanner source file and keep PathScanner class
as header only until it is removed
2014-08-17 15:32:25 -04:00
Tim Mayberry
2334880bc9
Move PathScanner::operator() into header
2014-08-17 15:32:20 -04:00
Tim Mayberry
7974046301
Remove unused methods in PathScanner
...
Now that these methods are only a few lines it doesn't make much sense
to keep them seeing as they are unused. There are also functions with
near identical functionality in pbd/file_utils.h
2014-08-17 15:32:16 -04:00
Tim Mayberry
b2eb0d80be
Rename PathScanner::run_scan_internal to PathScanner::find_files_matching_filter
2014-08-17 15:32:13 -04:00