Commit graph

7091 commits

Author SHA1 Message Date
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
Tim Mayberry
51fbb8a352 Remove PathScanner::run_scan and use PathScanner::run_scan_internal directly 2014-08-17 15:32:08 -04:00
Tim Mayberry
e5d4a16594 Add PathScanner::find_files_matching_regex and move regexp usage to one place 2014-08-17 15:32:01 -04:00
Tim Mayberry
144da83bc8 Remove member filter argument from PathScanner methods and use normal filter for regex
Also use regfree to free memory of compiled patterns
2014-08-17 15:31:56 -04:00
Tim Mayberry
ae22d60a42 Change PBD::PathScanner API to return results by value to avoid inadvertent memory leaks
Conflicts:
	gtk2_ardour/session_dialog.cc
2014-08-17 15:31:49 -04:00
Robin Gareus
69b3c622c5 remove debug output 2014-08-17 15:31:18 -04:00
Robin Gareus
9434d7becf more alsa-midi debugging 2014-08-17 15:31:07 -04:00
Robin Gareus
4919418207 more midi latency detection debugging 2014-08-17 15:31:02 -04:00
Robin Gareus
81dce69fdb debug alsa midi latency measurement 2014-08-17 15:30:57 -04:00
Robin Gareus
172c42c56d fix typo in comment of prev. commit 2014-08-17 15:30:38 -04:00
Robin Gareus
a4b52d3127 fix region un/combine, based on a patch by Tom Brand 2014-08-17 15:30:31 -04:00
Robin Gareus
3412982cc2 another edge-case, don't crash on invalid files with zero channels
Conflicts:
	libs/ardour/import.cc
2014-08-17 15:30:22 -04:00
Robin Gareus
40d88d2218 fix edge case - handle error in device owner request 2014-08-17 15:29:13 -04:00
Robin Gareus
7f1a4f3658 ARD: proper cleanup 2014-08-17 15:29:08 -04:00
Paul Davis
ab47194ee8 comment correction regarding Canvas::visible_area() 2014-08-17 15:29:02 -04:00
Paul Davis
465456dbf4 initialize _scroll_parent in Canvas::item 2014-08-17 15:28:56 -04:00
Robin Gareus
f1533a03da optimize midi delayline. 2014-08-17 15:28:50 -04:00
Robin Gareus
8cb24865d2 offset automation by latency 2014-08-17 15:28:46 -04:00
Robin Gareus
1957abddb5 offset automation by processor latency for bouncing/freezing
the same remains to be done for general route processing
2014-08-17 15:28:41 -04:00
Robin Gareus
0c7c8fdad4 plug some leaks 2014-08-17 15:28:36 -04:00
Robin Gareus
c56d3ad812 initialize uninitialized variable 2014-08-17 15:28:03 -04:00
Robin Gareus
632e23de2c fix pathscanner / stl_vector related memory leaks
Conflicts:
	gtk2_ardour/session_dialog.cc
2014-08-17 15:27:45 -04:00
John Emmas
37a2ac8617 Add newly introduced sources to our MSVC projects 2014-08-17 15:26:34 -04:00
John Emmas
cb0abfb008 Remove no longer needed sources from MSVC projects 2014-08-17 15:26:28 -04:00
Robin Gareus
977da7e08a strtok() is the root of all evil. 2014-08-17 15:26:22 -04:00
Robin Gareus
7804841022 tracking down concurrency issus is fun. 2014-08-17 15:26:16 -04:00
Robin Gareus
4416bed4f8 ALSA backend: set latencies to zero when measuring latency 2014-08-17 15:22:45 -04:00
Robin Gareus
109899c894 send-delayline: proper debug output (and sort includes on the way) 2014-08-17 15:22:41 -04:00
Robin Gareus
74bd058c73 update ALSA backend, MIDI device config 2014-08-17 15:20:49 -04:00
Robin Gareus
0e6b9e25c3 add AudioEngine API to configure individual MIDI devices 2014-08-17 15:19:55 -04:00
Colin Fletcher
988c7773a7 Use Ardour 3 credentials for soundcloud upload
I registered 'Ardour 3' as an app with Soundcloud - here are the
client_id and client_secret I got back. Probably the client_secret
shouldn't be here - I'll try to understand what should really happen and
fix this up in due course. Probably we should be using OAuth.

Also remove a couple of bits of dead code and fix a few whitespace
oddities.
2014-08-17 15:14:20 -04:00
Colin Fletcher
0b37220cf9 Export dialog: tidy code, & remove some superfluous debug output
Remove some debug output, tidy up a few whitespace inconsistencies, use
DEBUG::Soundcloud in one more place, and zap a couple of unused variables.

Conflicts:
	libs/ardour/export_handler.cc
2014-08-17 15:13:20 -04:00