13
0
Commit Graph

19445 Commits

Author SHA1 Message Date
Mathias Buhr
2bd7b4afb8 Adds an assert to fail explicitely 2016-02-27 16:02:36 -05:00
Mathias Buhr
7ce373e6f0 Fixes a memory corruption upon closing the 2nd session 2016-02-27 16:02:36 -05:00
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
68e81a6afc Move our #inclusions for "lua_script_manager.h"
For whatever reason, almost none of gtk2_ardour will compile (with MSVC) unless 'lua_script_manager.h' gets #included by 'gtk2_ardour/window_manager.h'. No idea why... :-(
2016-02-27 16:29:56 +00:00
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
5fd27e56fc Accommodate newly introduced source(s) in our MSVC project (gtk2_ardour) 2016-02-27 16:29:55 +00:00
269e88671e Accommodate newly introduced source(s) in our MSVC project (lua) 2016-02-27 16:29:54 +00:00
3c9c30abe1 Accommodate newly introduced source(s) in our MSVC project (libardour) 2016-02-27 16:29:53 +00:00
77abe6c928 Accommodate newly introduced source(s) in our MSVC project (gtkmm2ext) 2016-02-27 16:29:53 +00:00
22ed6fb1f7 Accommodate newly introduced source(s) in our MSVC project (libpbd) 2016-02-27 16:29:52 +00:00
199071555e add header guards for good measure 2016-02-27 16:11:25 +01:00
38c15c0714 Lua example script: fix some typos and add some comments 2016-02-27 14:56:36 +01:00
8032208656 resolve ambiguous ‘operator==’ (‘int’ vs ‘const luabridge::LuaRef’) 2016-02-27 13:48:01 +01:00
65bedf75f1 proper "false" check for MSVC compat
Lua "function call" returns false on error.
2016-02-27 13:14:00 +01:00
0106047fd2 avoid "show_all" -- closes #6797 2016-02-27 12:53:09 +01:00
d95f2e98df don't allow to change export settings once export has started #6780 2016-02-27 12:53:09 +01:00
4fec1dc088 fix KP_0 binding 2016-02-26 18:54:11 -05:00
e4a7e5a239 improve size and positioning of Tabbable's after being torn off, hidden, reshown, etc 2016-02-26 18:51:32 -05:00
9472200727 fix hang at exit (after freewheeling) with PA-nonblocking backend 2016-02-27 00:50:02 +01:00
d3633e8bd5 fix bindings for KP_n
They were marked as being in a group ("global") which doesn't exist
2016-02-26 16:02:54 -05:00
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
b77236d4b4 fixing leaking tooltip string
Manually created version of PR #211
2016-02-26 14:36:51 -05:00
637f4cc817 fix "Collect Groups" -- closes #6794 2016-02-26 17:25:21 +01:00
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
394e36522e remove duplicate FontScalingOptions -- closes #6791 2016-02-26 14:26:36 +01:00
Mathias Buhr
99b9fc6759 Fixes preferences context menu not being shown 2016-02-25 22:19:02 +01:00
d25d583dad add previous-tab and next-tab actions and bind to PRIMARY-page-up/down by default 2016-02-25 15:08:06 -05:00
59aa283f38 remove declaration of non-existent method 2016-02-25 15:07:34 -05:00
22d0b06889 fix packing of "outpacker" in mixer view 2016-02-25 13:12:09 -05:00
e5ca1711bc restore monitor section visibility, broken after the merged with tabbed 2016-02-25 11:53:59 -05:00
67c4d45aac move window visibility buttons to have less impact on minimum width
And as a side effect, be in a consistent location on windows/linux AND OS X
2016-02-25 11:08:41 -05:00
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
8d81f121e5 fix compilation on OSX/PPC (old coreaudio) 2016-02-24 12:04:01 +01:00
0e36f8e2d7 missing include for rand() in self-tests 2016-02-23 22:55:17 +01:00
bb79b63c93 fix a -Wswitch 2016-02-23 22:22:19 +01:00
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
28c9583ba6 change bindings file included in bundles for Linux and OS X 2016-02-23 14:10:45 -05:00
a4cde4230c C++98 compat 2016-02-23 19:24:27 +01:00
ac95f82529 fix optimized builds 2016-02-23 18:50:56 +01:00
1473c2d364 Add some lua scripts 2016-02-23 15:44:41 +01:00
942471d21f add lua-session commandline tool 2016-02-23 15:43:03 +01:00
44ce56a9e1 Adapt the MSVC project (gtk2_ardour) add new lua-sources
modified version from John Emmas' lua branch
2016-02-23 15:43:00 +01:00
2532911b18 Editor Actions Scripts & Manager 2016-02-23 15:42:53 +01:00
341758674b Add GUI to instantiate session-scripts 2016-02-23 15:42:26 +01:00
6b940afa36 Lua Script Console Window 2016-02-23 15:42:13 +01:00
28017b4751 Add GUI to instantiate Lua DSP Processors 2016-02-23 15:41:41 +01:00
e54c77e642 Add Editor/UI Lua Scripting and Action/Callback Script 2016-02-23 15:41:35 +01:00
292eac7f48 Dialog to select and configure Lua Scripts 2016-02-23 15:41:29 +01:00
68a8b5613e Add new sources to MSVC project (libardour)
adapted from John Emmas' lua branch
2016-02-23 15:41:26 +01:00
f4553880f6 Implement Lua session-scripts 2016-02-23 15:41:21 +01:00