Commit graph

10130 commits

Author SHA1 Message Date
Robin Gareus
8ab60f3297 fix port-export analysis for > 2 channels. 2016-03-07 23:36:05 +01:00
Paul Davis
73333350cc don't downcase Home, End and other non-single-key keycode names 2016-03-05 11:54:02 -05:00
Mathias Buhr
290d9e5e66 Small refactoring of keyboard bindings (first part)
- Adds collision detection for keybindings
- Fixes a bug that prevented newly created bindings to be deleted properly (reproduction: add a binding, remove it, restart ardour, binding is still there but can now be deleted).
2016-03-05 16:27:48 +01:00
feandin
bf83093f43 Fix issue #0006806 2016-03-05 15:54:47 +01:00
Robin Gareus
3a3afe7cfc fix playlist channel-count when removing a connected port.
when removing a connected port, IO::remove_port() emits
(IOChange::ConnectionsChanged | IOChange::ConfigurationChanged)
2016-03-05 01:37:59 +01:00
Robin Gareus
3dc09d42ab allow to override FPU detection 2016-03-04 18:05:47 +01:00
Robin Gareus
53a9751532 fix processed region export (track output) 2016-03-04 17:01:28 +01:00
Paul Davis
9b55550f0b force all KeyboardKeys in Bindings to be lower case 2016-03-02 16:18:03 -05:00
Robin Gareus
208dec7231 remove debug output 2016-03-01 18:37:19 +01:00
Paul Davis
5dbfca9953 Fix build on El Capitan
In which Apple once again changed the name of the MIDI kit from CoreMidi to CoreMIDI, something
they did for the Lion release of OS X
2016-03-01 12:20:59 -05:00
Robin Gareus
79d9973fa0 fix waveform flickering during recording 2016-03-01 18:06:29 +01:00
Robin Gareus
a27fed772b NO OP, whitespace 2016-03-01 14:43:44 +01:00
Robin Gareus
4384aff43f protect current_request with request_queue_lock 2016-03-01 14:43:28 +01:00
Robin Gareus
36d30f8c89 use glib mutex API 2016-03-01 12:53:54 +01:00
Robin Gareus
38f3d9d68a initialize uninitialized variable 2016-02-29 15:17:12 +01:00
Robin Gareus
8741a5885b configurable export preroll 2016-02-29 15:13:06 +01:00
Robin Gareus
33545e552b pre-process (silence) before export to flush reverb tails etc. 2016-02-29 13:50:56 +01:00
Robin Gareus
759e13a53c fix typo ba7835 2016-02-29 11:28:04 +01:00
Robin Gareus
ba78359129 prepare for update to waf 1.8
uselib is no longer implicit (inherited by .use). This is still incomplete,
some uselibs for non-linux variants may be missing.

bld.is_defined("HAVE_XXX") also no longer works and will have to be
changed (I think to bld.env["HAVE_XXX"]) in countless places.
2016-02-28 21:16:44 +01:00
Robin Gareus
49148b627c force waveform images to be least 1px wide 2016-02-28 18:07:46 +01:00
Robin Gareus
2c47dd98c5 silence clang analyzer: Memory Error, Memory leak 2016-02-28 13:12:40 +01:00
Robin Gareus
489753e866 specialize isfinite for MSVC compat 2016-02-28 12:07:00 +01:00
Robin Gareus
4cd77f0544 try to narrow down #6478 2016-02-27 23:16:05 +01:00
Robin Gareus
990c365ebf ISO C++03 14.2/4 compatibility for clang.
http://stackoverflow.com/questions/3786360/confusing-template-error
(hopefully other compilers which didn't mind the missing "template"
are still fine with this)
2016-02-27 21:02:30 +01:00
John Emmas
d3634c5779 Accommodate 'lua' search paths in various projects where they're needed
(i.e. so that MSVC can find header files from lua).
2016-02-27 16:29:55 +00:00
John Emmas
269e88671e Accommodate newly introduced source(s) in our MSVC project (lua) 2016-02-27 16:29:54 +00:00
John Emmas
3c9c30abe1 Accommodate newly introduced source(s) in our MSVC project (libardour) 2016-02-27 16:29:53 +00:00
John Emmas
77abe6c928 Accommodate newly introduced source(s) in our MSVC project (gtkmm2ext) 2016-02-27 16:29:53 +00:00
John Emmas
22ed6fb1f7 Accommodate newly introduced source(s) in our MSVC project (libpbd) 2016-02-27 16:29:52 +00:00
Robin Gareus
0106047fd2 avoid "show_all" -- closes #6797 2016-02-27 12:53:09 +01:00
Paul Davis
e4a7e5a239 improve size and positioning of Tabbable's after being torn off, hidden, reshown, etc 2016-02-26 18:51:32 -05:00
Robin Gareus
9472200727 fix hang at exit (after freewheeling) with PA-nonblocking backend 2016-02-27 00:50:02 +01:00
Paul Davis
e5340dc258 when looking up a key event, switch to the lowercase keyval
Our bindings always use the lowercase form. Shift-e generates the GDK keyval for 'E'
rather than 'e' (with the event state including GDK_SHIFT_MODIFIER). So we have to
take this into account when doing the lookup
2016-02-26 15:47:50 -05:00
Robin Gareus
1bee17d3b9 prevent livelock on NaN, inf control parameters - fixes #6789
|: Gtk::Adjustment::value_changed  AutomationControl::set_value Controllable::Changed
GUI Event Loop  Gtk::Adjustment::set_value :|

TODO: check portability of `isfinite ()`
2016-02-26 14:51:06 +01:00
Paul Davis
59aa283f38 remove declaration of non-existent method 2016-02-25 15:07:34 -05:00
Robin Gareus
a6af411af7 potential mem corruption at session close:
ARDOUR::Session::~Session()
ARDOUR::Route::~Route()
ARDOUR::InternalReturn::~InternalReturn()
ARDOUR::Return::~Return()
ARDOUR::Session::unmark_return_id(unsigned int)
boost::dynamic_bitset<unsigned int, std::allocator<unsigned int> >::reference::do_assign(bool)

-> Invalid write of size 4
-> 0 bytes inside a block of size 4 free'd

Thanks to The_CLA for valgrinding this.
2016-02-24 23:36:52 +01:00
Robin Gareus
0e36f8e2d7 missing include for rand() in self-tests 2016-02-23 22:55:17 +01:00
Robin Gareus
70222e8133 fix LV2Plugin::requires_fixed_sized_buffers()
ARDOUR::Plugin() does not inherit from ARDOUR::Processor(),
the virtual function was never called.
2016-02-23 22:22:19 +01:00
Robin Gareus
68a8b5613e Add new sources to MSVC project (libardour)
adapted from John Emmas' lua branch
2016-02-23 15:41:26 +01:00
Robin Gareus
f4553880f6 Implement Lua session-scripts 2016-02-23 15:41:21 +01:00
Robin Gareus
51385ced3c Implement Lua DSP processor/plugin 2016-02-23 15:41:08 +01:00
Robin Gareus
d8008b2db1 libardour lua-script-manager 2016-02-23 15:41:06 +01:00
Robin Gareus
f0b6c8e111 include static liblua with libardour & prepare bindings 2016-02-23 15:41:02 +01:00
Robin Gareus
7d7f63363b basic DSP lib (for lua bindings) 2016-02-22 22:06:47 +01:00
Robin Gareus
4303fbfc05 add lua search path 2016-02-22 22:06:47 +01:00
Robin Gareus
f2afb95c5d add realloc pool to MSVC project 2016-02-22 22:06:47 +01:00
Robin Gareus
3c87629c7e realloc-pool unit-test 2016-02-22 22:06:47 +01:00
Robin Gareus
6cf5e989c0 time-bound memory-pool
O(1) realloc() for use with Lua.
A standard malloc/free/realloc API is exposed for testing and other
potential use-cases.

The current configuration it's performs well for lua-metatables
(regular calls to realloc() with varying tiny chunks ~1-50 bytes)
For the use-case at hand it outperforms TLSF.
2016-02-22 22:06:47 +01:00
Robin Gareus
77ded21da9 Add a VC project for building the new lua branch with MSVC
(untested, new paths -- adopted from John Emmas project)
2016-02-22 22:06:47 +01:00
Robin Gareus
a8ae47ada2 LuaBridge: support argument references via table return 2016-02-22 22:06:47 +01:00