7ab3da66b5
fix up BaseUI to use crossthreadchannel on all platforms
2014-12-03 21:11:02 -05:00
d3e2de8b4e
modify Mackie surface code to use crossthreadchannel on all platforms
2014-12-03 20:57:58 -05:00
f4726cc6fa
modify MidiUI code to use crossthreadchannel on all platforms
2014-12-03 20:55:44 -05:00
d762ed8c22
alter Async MIDI port implementation to use crossthreadchannel on all platforms
2014-12-03 20:53:49 -05:00
f72b87b448
new platform specific crossthreadchannel files
2014-12-03 20:47:59 -05:00
5c51b302ce
manually merge new CrossThreadChannel implementation for windows from Tracks
2014-12-03 20:47:27 -05:00
888bf2d551
Test: update AutomationList properties for v3.5
2014-12-03 23:37:27 +01:00
40087eb378
Test: print assert message if XML property mismatch
2014-12-03 23:27:14 +01:00
b52d8e5151
fix audioengine use in unit-tests.
2014-12-03 20:47:29 +01:00
89d48f4459
fix MTDM test
2014-12-03 20:45:27 +01:00
339670b6fa
Tests: ensure that libardour is initialized
2014-12-03 20:45:01 +01:00
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
9268d2e699
allow to auto-start dummy backend (needed for tests)
2014-12-03 18:24:56 +01:00
d45e19eda5
fix test segfault
...
whe XMLTree goes out of scope, the root-node is deleted
2014-12-03 16:03:57 +01:00
0d677f70b4
use Dummy backend for tests
2014-12-03 16:03:19 +01:00
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
dd976d8c7a
Add DEBUG_TRACE output to PBD::canonical_path
2014-12-03 17:31:05 +07:00
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
d360bc3906
Add ability to set libpbd debug options via PBD_DEBUG environment var
2014-12-03 17:31:05 +07:00
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
4b751f9e87
Move setting _fmode flag on windows into PBD::init
...
This moves setting of _fmode slightly later in the initialization
of the application via Ardour::init.
2014-12-03 17:31:05 +07:00
dc4d76b1d4
Remove references in pbd test script to libs no longer in source tree
2014-12-03 17:31:04 +07:00
01a17f296f
Make pbd test script consistant with other test scripts
...
remove running script from pwd limitation
2014-12-03 17:31:04 +07:00
4fe6bf3530
export MIDIPP_TEST_PATH in midi++ test script so test files can be located
...
Modify formatting of script to be consistant with other test scripts
2014-12-03 17:31:04 +07:00
23c0452e05
Add test_search_path to find test files in MidnamTest
2014-12-03 17:31:04 +07:00
aed58d6f39
Use test_output_directory() in pbd filesystem test
...
This prevents directory being created in pwd and means deletion of
directory is unnecessary
2014-12-03 17:31:04 +07:00
61f9ca9f3c
Use test utility function to find evoral test files
...
either via EVORAL_TEST_PATH env var or on windows via directory relative
to dll
2014-12-03 17:31:04 +07:00
f6e15a3b6b
Use PBD::tmp_writable_directory to write evoral test file into
...
no need to remove directory as it is temporary
2014-12-03 17:31:04 +07:00
929fc3d235
Use PBD::tmp_writable_directory in libardour test_util.cc
2014-12-03 17:31:04 +07:00
376340a29f
Remove unnecessary comma in pbd wscript file
2014-12-03 17:31:04 +07:00
1c1eff8845
Use PBD::tmp_writable_directory in test_output_directory
2014-12-03 17:31:04 +07:00
1abe8f4e42
Add PBD::tmp_writable_directory utility function to pbd/file_utils.h/cc
2014-12-03 17:31:04 +07:00
2b03521ef9
Fixes for AudioEngine test
2014-12-03 17:31:04 +07:00
e83bb2f4e2
Remove unused test_common.h/cc files
2014-12-03 17:31:04 +07:00
f1b66b86b4
Move libardour test utility code into one source file
2014-12-03 17:31:04 +07:00
b9567b6d46
Use ardev_common.sh to setup environment for running libardour tests
2014-12-03 17:31:03 +07:00
7a3c54f031
Fix evoral test suite.
2014-12-02 23:30:16 -05:00
25efe5953c
Fix range of pan controls.
...
Set default range to [0,1] since [0,0] is problematic and useless anyway.
2014-12-02 19:02:03 -05:00
94b26cd9af
Make 'ARDOUR::ParameterDescriptor' exportable, so that it can get used outside of libardour
2014-12-02 18:59:43 +00:00
a13ff7b604
Remove accidentally committed file.
2014-12-02 12:15:54 -05:00
7aab4be5e4
alsa-backend: drop midi during freewheel processing.
2014-12-02 17:03:29 +01:00
db3d42d551
first pass at optimization for low-level canvas code
2014-12-02 05:32:34 -05:00
cf47d71761
Fix lost MIDI events due to broken range check.
2014-12-02 03:36:33 -05:00
07a381a8f5
Create discrete lists for recorded MIDI controls.
2014-12-02 00:21:52 -05:00
86de0386c9
Fix automation write/touch.
2014-12-01 23:35:24 -05:00
2b69fa6edf
Factor out copy-paste code.
2014-12-01 23:35:24 -05:00
767c0238a3
Replace half-baked param metadata with descriptor.
...
Among other things, this means that automation controls/lists have the actual
min/max/normal/toggled of parameters, and not those inferred from the Parameter
ID, which is not correct for things like plugin parameters.
Pushing things down to the Evoral::ParmeterDescriptor may be useful in the
future to have lists do smarter things based on parameter range, but currently
I have just pushed down the above-mentioned currently used attributes.
2014-12-01 23:35:24 -05:00
Julien de Kozak
cb8abbe8d2
Make it compile with C++11 support.
...
Reference : https://bugs.webkit.org/show_bug.cgi?id=59249
2014-12-01 23:18:11 +01:00
43cc295a58
Tidy up comments in Evoral::coverage
...
Remove old (already #if 0'ed) implementation of Evoral::coverage() and its
comments.
Tidy up the comment enumerating all the possible ways in which two ranges
can overlap, note the Evoral::OverlapType corresponding to each one, and add
comments to the if()s in coverage corresponding to the cases in the list of
overlap types.
Remove some commented-out assert()s that actually do happen, and re-instate
one that really shouldn't.
Fix a small typo (with -> within)
2014-12-01 20:13:04 +00:00
dd5fc9432f
Simplify Evoral::RangeList::subtract(), and make it pass amended tests
...
The various conditionals in Evoral::RangeList::subtract() appear to have
been there to work around
(a) coverage() not always returning the correct value, &
(b) the test suite assuming that the ->to point lies outside the range
Now that these are both fixed, the implementation of subtract() becomes
quite a bit clearer. I replaced the if()s with assert()s for now, but these
shouldn't trip if coverage() is working as I expect.
Also (attempt to) clarify the comments in subtract.
2014-12-01 20:13:04 +00:00