Commit graph

14970 commits

Author SHA1 Message Date
Paul Davis
ab4b0dcffe add default (for now) color aliases to default_ui_config 2014-12-05 11:17:43 -05:00
Paul Davis
db9fbac7b5 added new header file for color aliases 2014-12-05 09:36:55 -05:00
Paul Davis
0045891362 part two of remove CANVAS_STRING_VARIABLE (it was replaced by CANVAS_FONT_VARIABLE 2014-12-05 09:26:12 -05:00
Paul Davis
dd49a249ad remove CANVAS_STRING_VARIABLE (it was replaced by CANVAS_FONT_VARIABLE 2014-12-05 09:25:34 -05:00
Paul Davis
2449fc9681 several steps closer to more sane color system 2014-12-05 09:01:55 -05:00
Paul Davis
207fd04587 include alpha-delta computation in HSV::delta() 2014-12-05 09:01:55 -05:00
Paul Davis
d0a18a8c35 correct alias definitions in default derived color list 2014-12-05 09:01:55 -05:00
Paul Davis
46ed23116e make new color aliases actually work 2014-12-05 09:01:55 -05:00
Paul Davis
8e54baa65f working compilation for new color code 2014-12-05 09:01:55 -05:00
John Emmas
17ad6a5078 Add 'pbd/crossthread.cc' to the MSVC build 2014-12-05 08:40:47 +00:00
David Robillard
0bf778c847 Make recorded MIDI controls discrete, take 2.
Hopefully-desired behaviour is that controls created in the GUI are linear, so
clicking in stuff works like other automation, but controls that originated
from recording are set to discrete so Ardour plays back the input exactly,
instead of doing crazy things like linear interpolation of already high-rate
user input, hold pedals, and so on.

Hopefully that remains the desired behaviour, because we're basically screwed
for ever making any control discrete by default, since we only save the mode to
XML at all if it's not the default, which is currently linear.
2014-12-05 00:15:40 -05:00
David Robillard
ad340333f4 Revert "Create discrete lists for recorded MIDI controls."
This broke saving/restoring interpolation style.

This reverts commit 07a381a8f5.
2014-12-05 00:03:47 -05:00
David Robillard
b426873f6f Add MIDI control points only in internal/pencil. 2014-12-04 22:40:39 -05:00
David Robillard
124e54f01b Fix crash when twiddling MIDI controllers (#6050). 2014-12-04 22:23:16 -05:00
David Robillard
59af923b77 Fix steps for log controls with wide range. 2014-12-04 21:22:31 -05:00
Paul Davis
e1e1679728 Alois Cochard Add MIDI map for the control surface. 2014-12-04 13:32:08 -05:00
Robin Gareus
55c4889c9a fix windows compilation 2014-12-04 17:13:43 +01:00
Paul Davis
b996f07122 add required header 2014-12-04 11:05:33 -05:00
Paul Davis
697c397f37 move WSAStartup() and WSACleanup() out of per-object methods into per-library init/cleanup methods 2014-12-04 10:07:11 -05:00
Paul Davis
4e8dfda880 clean up whitespace 2014-12-04 09:11:46 -05:00
Tim Mayberry
5f9e81b105 Include pbd/crossthread.cc in the mingw build 2014-12-04 16:16:06 +07:00
Tim Mayberry
12acce0d0e Use correct name for windows.h 2014-12-04 16:15:07 +07:00
David Robillard
24727e65be Make gain controls step by roughly 1.0/0.1 dB.
Shoot for roughly 30 steps for all controls.

Always keep sensible step information in ParameterDescriptor and just convert
for the UI.

This is a little weird, but it's less weird than it was before, and works.
2014-12-04 00:30:47 -05:00
Robin Gareus
9b770c7aff actual expected test results:
We should not add an initial implicit value
at time ‘0’ to automations.
2014-12-04 03:55:03 +01:00
Robin Gareus
b437de714f make all tests pass 2014-12-04 03:53:26 +01:00
Paul Davis
fb63b3ffc3 fix to follow changes to evoral/libardour split 2014-12-03 21:22:53 -05:00
Paul Davis
602e390649 changes to Mackie Control support for new crossthreadchannel implementation 2014-12-03 21:22:34 -05:00
Paul Davis
2f0c998210 adapt changes to async MIDI port to use new evoral/libardour split 2014-12-03 21:11:24 -05:00
Paul Davis
7ab3da66b5 fix up BaseUI to use crossthreadchannel on all platforms 2014-12-03 21:11:02 -05:00
Paul Davis
d3e2de8b4e modify Mackie surface code to use crossthreadchannel on all platforms 2014-12-03 20:57:58 -05:00
Paul Davis
f4726cc6fa modify MidiUI code to use crossthreadchannel on all platforms 2014-12-03 20:55:44 -05:00
Paul Davis
d762ed8c22 alter Async MIDI port implementation to use crossthreadchannel on all platforms 2014-12-03 20:53:49 -05:00
Paul Davis
f72b87b448 new platform specific crossthreadchannel files 2014-12-03 20:47:59 -05:00
Paul Davis
5c51b302ce manually merge new CrossThreadChannel implementation for windows from Tracks 2014-12-03 20:47:27 -05:00
Robin Gareus
888bf2d551 Test: update AutomationList properties for v3.5 2014-12-03 23:37:27 +01:00
Robin Gareus
40087eb378 Test: print assert message if XML property mismatch 2014-12-03 23:27:14 +01:00
Robin Gareus
b52d8e5151 fix audioengine use in unit-tests. 2014-12-03 20:47:29 +01:00
Robin Gareus
89d48f4459 fix MTDM test 2014-12-03 20:45:27 +01:00
Robin Gareus
d2a069178a allow spaces in TOP, cd to gtk2_ardour to avoid dup midnam, etc warnings 2014-12-03 20:45:12 +01:00
Robin Gareus
339670b6fa Tests: ensure that libardour is initialized 2014-12-03 20:45:01 +01:00
Robin Gareus
32269f0c5a fix audio-engine dtor.
backends - once instantiated - keep a reference to the engine.
when audioengine is destroyed, the backends must be deinstantiated.
This fixes various unit-test cases.
2014-12-03 20:44:47 +01:00
Robin Gareus
9268d2e699 allow to auto-start dummy backend (needed for tests) 2014-12-03 18:24:56 +01:00
Robin Gareus
d45e19eda5 fix test segfault
whe XMLTree goes out of scope, the root-node is deleted
2014-12-03 16:03:57 +01:00
Robin Gareus
0d677f70b4 use Dummy backend for tests 2014-12-03 16:03:19 +01:00
Robin Gareus
06f615c053 reduce confusion. 2014-12-03 13:52:29 +01:00
Tim Mayberry
0ec85a4164 Fix running libpbd unit tests when $TOP(in test scripts) is set as relative path
Add test for PBD::canonical_path that was used to track down silly mistake
in test code
2014-12-03 17:44:48 +07:00
Tim Mayberry
dd976d8c7a Add DEBUG_TRACE output to PBD::canonical_path 2014-12-03 17:31:05 +07:00
Tim Mayberry
81d47f5b8c Call PBD::init() from libmidi++ test runner
This is mostly just to be able to set PBD_DEBUG for testing if
necessary
2014-12-03 17:31:05 +07:00
Tim Mayberry
d360bc3906 Add ability to set libpbd debug options via PBD_DEBUG environment var 2014-12-03 17:31:05 +07:00
Tim Mayberry
9eb8b73b43 Call PBD::init from evoral testrunner
This is needed to set _fmode = O_BINARY for libsmf/fread and
fixes takeFiveTest on windows
2014-12-03 17:31:05 +07:00