ardour.git
8 years agofix processed region export (track output)
Robin Gareus [Fri, 4 Mar 2016 16:01:28 +0000 (17:01 +0100)]
fix processed region export (track output)

8 years agoforce all KeyboardKeys in Bindings to be lower case
Paul Davis [Wed, 2 Mar 2016 21:17:54 +0000 (16:17 -0500)]
force all KeyboardKeys in Bindings to be lower case

8 years agoamend prev commit (OS X El Capitan builds)
Robin Gareus [Wed, 2 Mar 2016 10:03:31 +0000 (11:03 +0100)]
amend prev commit (OS X El Capitan builds)

8 years agofix OSX El Capitan builds
Robin Gareus [Wed, 2 Mar 2016 09:59:22 +0000 (10:59 +0100)]
fix OSX El Capitan builds

8 years agonitpick for static analyzers and friends
Robin Gareus [Wed, 2 Mar 2016 03:17:01 +0000 (04:17 +0100)]
nitpick for static analyzers and friends

8 years agoremove debug output
Robin Gareus [Tue, 1 Mar 2016 17:36:45 +0000 (18:36 +0100)]
remove debug output

8 years agoFix build on El Capitan
Paul Davis [Tue, 1 Mar 2016 17:04:58 +0000 (12:04 -0500)]
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

8 years agofix waveform flickering during recording
Robin Gareus [Tue, 1 Mar 2016 17:06:29 +0000 (18:06 +0100)]
fix waveform flickering during recording

8 years agoNO OP, whitespace
Robin Gareus [Tue, 1 Mar 2016 13:43:44 +0000 (14:43 +0100)]
NO OP, whitespace

8 years agoprotect current_request with request_queue_lock
Robin Gareus [Tue, 1 Mar 2016 13:43:28 +0000 (14:43 +0100)]
protect current_request with request_queue_lock

8 years agouse glib mutex API
Robin Gareus [Tue, 1 Mar 2016 11:53:54 +0000 (12:53 +0100)]
use glib mutex API

8 years agoinitialize uninitialized variable
Robin Gareus [Mon, 29 Feb 2016 14:17:12 +0000 (15:17 +0100)]
initialize uninitialized variable

8 years agoconfigurable export preroll
Robin Gareus [Mon, 29 Feb 2016 14:13:06 +0000 (15:13 +0100)]
configurable export preroll

8 years agopre-process (silence) before export to flush reverb tails etc.
Robin Gareus [Mon, 29 Feb 2016 12:50:56 +0000 (13:50 +0100)]
pre-process (silence) before export to flush reverb tails etc.

8 years agoExpose PublicEditor Bindings to Lua
Robin Gareus [Mon, 29 Feb 2016 11:01:37 +0000 (12:01 +0100)]
Expose PublicEditor Bindings to Lua

8 years agofix typo ba7835
Robin Gareus [Mon, 29 Feb 2016 10:28:04 +0000 (11:28 +0100)]
fix typo ba7835

8 years agopatch waf - fixes clang/linux compilation
Robin Gareus [Sun, 28 Feb 2016 20:48:49 +0000 (21:48 +0100)]
patch waf - fixes clang/linux compilation

pkg-config --cflags for c++ libs includes -std=C++11
waf-1.6 has no concept to separate cflags/cxxflags in uselib for c files
clang error: invalid argument '-std=c++11' not allowed with 'C/ObjC'

8 years agoprepare for update to waf 1.8
Robin Gareus [Sun, 28 Feb 2016 20:16:44 +0000 (21:16 +0100)]
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.

8 years agoforce waveform images to be least 1px wide
Robin Gareus [Sun, 28 Feb 2016 17:07:46 +0000 (18:07 +0100)]
force waveform images to be least 1px wide

8 years agoremove unused heading
Robin Gareus [Sun, 28 Feb 2016 16:06:53 +0000 (17:06 +0100)]
remove unused heading

8 years agoallow to configure custom path to video monitor
Robin Gareus [Sun, 28 Feb 2016 16:06:28 +0000 (17:06 +0100)]
allow to configure custom path to video monitor

8 years agosilence clang analyzer: Memory Error, Memory leak
Robin Gareus [Sun, 28 Feb 2016 12:12:40 +0000 (13:12 +0100)]
silence clang analyzer: Memory Error, Memory leak

8 years agocleanup: remove duplicate null checks.
Robin Gareus [Sun, 28 Feb 2016 11:17:57 +0000 (12:17 +0100)]
cleanup: remove duplicate null checks.

ARDOUR_UI::save_ardour_state () checks on entry if the windows exist.
and also uses these pointers below without check..

8 years agospecialize isfinite for MSVC compat
Robin Gareus [Sun, 28 Feb 2016 11:07:00 +0000 (12:07 +0100)]
specialize isfinite for MSVC compat

8 years agoRevert "fix OSX compile issue due to 68e81a6"
Robin Gareus [Sun, 28 Feb 2016 10:58:56 +0000 (11:58 +0100)]
Revert "fix OSX compile issue due to 68e81a6"

This reverts commit 3300f3896e2571711a8c2feebb23fe00e2dde6f6.

8 years agoRewrite commit 68e81a6, prefer forward declaration and includes in cc.
Robin Gareus [Sun, 28 Feb 2016 10:58:47 +0000 (11:58 +0100)]
Rewrite commit 68e81a6, prefer forward declaration and includes in cc.

only MSVC requires the complete class for the templated c'tor in
window manager.h

8 years agofix OSX compile issue due to 68e81a6
Robin Gareus [Sat, 27 Feb 2016 22:47:16 +0000 (23:47 +0100)]
fix OSX compile issue due to 68e81a6

68e81a6 should be improved/reverted. Due to the long include chain ending
in ardour_ui.h  every Lua related change now forces a complete GUI
recompile (instead of just 2,3 files)

8 years agotry to narrow down #6478
Robin Gareus [Sat, 27 Feb 2016 22:16:05 +0000 (23:16 +0100)]
try to narrow down #6478

8 years agoImplements review comments
Mathias Buhr [Fri, 26 Feb 2016 21:59:00 +0000 (22:59 +0100)]
Implements review comments

8 years agoAdds an assert to fail explicitely
Mathias Buhr [Fri, 26 Feb 2016 21:35:58 +0000 (22:35 +0100)]
Adds an assert to fail explicitely

8 years agoFixes a memory corruption upon closing the 2nd session
Mathias Buhr [Fri, 26 Feb 2016 21:24:55 +0000 (22:24 +0100)]
Fixes a memory corruption upon closing the 2nd session

8 years agoISO C++03 14.2/4 compatibility for clang.
Robin Gareus [Sat, 27 Feb 2016 20:02:30 +0000 (21:02 +0100)]
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)

8 years agoMove our #inclusions for "lua_script_manager.h"
John Emmas [Sat, 27 Feb 2016 15:49:31 +0000 (15:49 +0000)]
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... :-(

8 years agoAccommodate 'lua' search paths in various projects where they're needed
John Emmas [Sat, 27 Feb 2016 15:17:06 +0000 (15:17 +0000)]
Accommodate 'lua' search paths in various projects where they're needed

(i.e. so that MSVC can find header files from lua).

8 years agoAccommodate newly introduced source(s) in our MSVC project (gtk2_ardour)
John Emmas [Sat, 27 Feb 2016 15:12:42 +0000 (15:12 +0000)]
Accommodate newly introduced source(s) in our MSVC project (gtk2_ardour)

8 years agoAccommodate newly introduced source(s) in our MSVC project (lua)
John Emmas [Sat, 27 Feb 2016 15:11:15 +0000 (15:11 +0000)]
Accommodate newly introduced source(s) in our MSVC project (lua)

8 years agoAccommodate newly introduced source(s) in our MSVC project (libardour)
John Emmas [Sat, 27 Feb 2016 15:10:39 +0000 (15:10 +0000)]
Accommodate newly introduced source(s) in our MSVC project (libardour)

8 years agoAccommodate newly introduced source(s) in our MSVC project (gtkmm2ext)
John Emmas [Sat, 27 Feb 2016 15:09:10 +0000 (15:09 +0000)]
Accommodate newly introduced source(s) in our MSVC project (gtkmm2ext)

8 years agoAccommodate newly introduced source(s) in our MSVC project (libpbd)
John Emmas [Sat, 27 Feb 2016 15:07:59 +0000 (15:07 +0000)]
Accommodate newly introduced source(s) in our MSVC project (libpbd)

8 years agoadd header guards for good measure
Robin Gareus [Sat, 27 Feb 2016 15:11:25 +0000 (16:11 +0100)]
add header guards for good measure

8 years agoLua example script: fix some typos and add some comments
Robin Gareus [Sat, 27 Feb 2016 13:56:36 +0000 (14:56 +0100)]
Lua example script: fix some typos and add some comments

8 years agoresolve ambiguous ‘operator==’ (‘int’ vs ‘const luabridge::LuaRef’)
Robin Gareus [Sat, 27 Feb 2016 12:48:01 +0000 (13:48 +0100)]
resolve ambiguous ‘operator==’ (‘int’ vs ‘const luabridge::LuaRef’)

8 years agoproper "false" check for MSVC compat
Robin Gareus [Sat, 27 Feb 2016 12:14:00 +0000 (13:14 +0100)]
proper "false" check for MSVC compat

Lua "function call" returns false on error.

8 years agoavoid "show_all" -- closes #6797
Robin Gareus [Sat, 27 Feb 2016 11:52:32 +0000 (12:52 +0100)]
avoid "show_all"  -- closes #6797

8 years agodon't allow to change export settings once export has started #6780
Robin Gareus [Sat, 27 Feb 2016 11:51:33 +0000 (12:51 +0100)]
don't allow to change export settings once export has started #6780

8 years agofix KP_0 binding
Paul Davis [Fri, 26 Feb 2016 23:54:11 +0000 (18:54 -0500)]
fix KP_0 binding

8 years agoimprove size and positioning of Tabbable's after being torn off, hidden, reshown...
Paul Davis [Fri, 26 Feb 2016 23:51:23 +0000 (18:51 -0500)]
improve size and positioning of Tabbable's after being torn off, hidden, reshown, etc

8 years agofix hang at exit (after freewheeling) with PA-nonblocking backend
Robin Gareus [Fri, 26 Feb 2016 23:29:04 +0000 (00:29 +0100)]
fix hang at exit (after freewheeling) with PA-nonblocking backend

8 years agofix bindings for KP_n
Paul Davis [Fri, 26 Feb 2016 21:02:54 +0000 (16:02 -0500)]
fix bindings for KP_n

They were marked as being in a group ("global") which doesn't exist

8 years agowhen looking up a key event, switch to the lowercase keyval
Paul Davis [Fri, 26 Feb 2016 20:47:50 +0000 (15:47 -0500)]
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

8 years agofixing leaking tooltip string
Paul Davis [Fri, 26 Feb 2016 19:36:44 +0000 (14:36 -0500)]
fixing leaking tooltip string

Manually created version of PR #211

8 years agofix "Collect Groups" -- closes #6794
Robin Gareus [Fri, 26 Feb 2016 16:25:21 +0000 (17:25 +0100)]
fix "Collect Groups"  -- closes #6794

8 years agoprevent livelock on NaN, inf control parameters - fixes #6789
Robin Gareus [Fri, 26 Feb 2016 13:51:06 +0000 (14:51 +0100)]
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 ()`

8 years agoremove duplicate FontScalingOptions -- closes #6791
Robin Gareus [Fri, 26 Feb 2016 13:26:36 +0000 (14:26 +0100)]
remove duplicate FontScalingOptions -- closes #6791

8 years agoFixes preferences context menu not being shown
Mathias Buhr [Thu, 25 Feb 2016 21:19:02 +0000 (22:19 +0100)]
Fixes preferences context menu not being shown

8 years agoadd previous-tab and next-tab actions and bind to PRIMARY-page-up/down by default
Paul Davis [Thu, 25 Feb 2016 20:08:06 +0000 (15:08 -0500)]
add previous-tab and next-tab actions and bind to PRIMARY-page-up/down by default

8 years agoremove declaration of non-existent method
Paul Davis [Thu, 25 Feb 2016 20:07:34 +0000 (15:07 -0500)]
remove declaration of non-existent method

8 years agofix packing of "outpacker" in mixer view
Paul Davis [Thu, 25 Feb 2016 18:12:09 +0000 (13:12 -0500)]
fix packing of "outpacker" in mixer view

8 years agorestore monitor section visibility, broken after the merged with tabbed
Paul Davis [Thu, 25 Feb 2016 16:53:59 +0000 (11:53 -0500)]
restore monitor section visibility, broken after the merged with tabbed

8 years agomove window visibility buttons to have less impact on minimum width
Paul Davis [Thu, 25 Feb 2016 16:08:33 +0000 (11:08 -0500)]
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

8 years agopotential mem corruption at session close:
Robin Gareus [Wed, 24 Feb 2016 22:36:15 +0000 (23:36 +0100)]
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.

8 years agofix compilation on OSX/PPC (old coreaudio)
Robin Gareus [Wed, 24 Feb 2016 11:04:01 +0000 (12:04 +0100)]
fix compilation on OSX/PPC (old coreaudio)

8 years agomissing include for rand() in self-tests
Robin Gareus [Tue, 23 Feb 2016 21:55:17 +0000 (22:55 +0100)]
missing include for rand() in self-tests

8 years agofix a -Wswitch
Robin Gareus [Tue, 23 Feb 2016 21:20:19 +0000 (22:20 +0100)]
fix a -Wswitch

8 years agofix LV2Plugin::requires_fixed_sized_buffers()
Robin Gareus [Tue, 23 Feb 2016 21:17:48 +0000 (22:17 +0100)]
fix LV2Plugin::requires_fixed_sized_buffers()

ARDOUR::Plugin() does not inherit from ARDOUR::Processor(),
the virtual function was never called.

8 years agochange bindings file included in bundles for Linux and OS X
Paul Davis [Tue, 23 Feb 2016 19:10:45 +0000 (14:10 -0500)]
change bindings file included in bundles for Linux and OS X

8 years agoC++98 compat
Robin Gareus [Tue, 23 Feb 2016 18:24:27 +0000 (19:24 +0100)]
C++98 compat

8 years agofix optimized builds
Robin Gareus [Tue, 23 Feb 2016 17:50:56 +0000 (18:50 +0100)]
fix optimized builds

8 years agoAdd some lua scripts
Robin Gareus [Tue, 23 Feb 2016 14:44:41 +0000 (15:44 +0100)]
Add some lua scripts

8 years agoadd lua-session commandline tool
Robin Gareus [Sat, 30 Jan 2016 16:26:14 +0000 (17:26 +0100)]
add lua-session commandline tool

8 years agoAdapt the MSVC project (gtk2_ardour) add new lua-sources
Robin Gareus [Thu, 28 Jan 2016 00:49:29 +0000 (01:49 +0100)]
Adapt the MSVC project (gtk2_ardour) add new lua-sources

modified version from John Emmas' lua branch

8 years agoEditor Actions Scripts & Manager
Robin Gareus [Tue, 23 Feb 2016 14:42:53 +0000 (15:42 +0100)]
Editor Actions Scripts & Manager

8 years agoAdd GUI to instantiate session-scripts
Robin Gareus [Mon, 22 Feb 2016 22:10:55 +0000 (23:10 +0100)]
Add GUI to instantiate session-scripts

8 years agoLua Script Console Window
Robin Gareus [Tue, 23 Feb 2016 14:42:13 +0000 (15:42 +0100)]
Lua Script Console Window

8 years agoAdd GUI to instantiate Lua DSP Processors
Robin Gareus [Mon, 25 Jan 2016 20:38:26 +0000 (21:38 +0100)]
Add GUI to instantiate Lua DSP Processors

8 years agoAdd Editor/UI Lua Scripting and Action/Callback Script
Robin Gareus [Sun, 21 Feb 2016 21:08:36 +0000 (22:08 +0100)]
Add Editor/UI Lua Scripting and Action/Callback Script

8 years agoDialog to select and configure Lua Scripts
Robin Gareus [Sun, 14 Feb 2016 01:57:22 +0000 (02:57 +0100)]
Dialog to select and configure Lua Scripts

8 years agoAdd new sources to MSVC project (libardour)
Robin Gareus [Wed, 3 Feb 2016 20:42:23 +0000 (21:42 +0100)]
Add new sources to MSVC project (libardour)

adapted from John Emmas' lua branch

8 years agoImplement Lua session-scripts
Robin Gareus [Tue, 23 Feb 2016 14:41:21 +0000 (15:41 +0100)]
Implement Lua session-scripts

8 years agoImplement Lua DSP processor/plugin
Robin Gareus [Sat, 13 Feb 2016 21:32:34 +0000 (22:32 +0100)]
Implement Lua DSP processor/plugin

8 years agolibardour lua-script-manager
Robin Gareus [Fri, 12 Feb 2016 12:24:41 +0000 (13:24 +0100)]
libardour lua-script-manager

8 years agoinclude static liblua with libardour & prepare bindings
Robin Gareus [Tue, 23 Feb 2016 14:41:02 +0000 (15:41 +0100)]
include static liblua with libardour & prepare bindings

8 years agobasic DSP lib (for lua bindings)
Robin Gareus [Wed, 3 Feb 2016 19:42:47 +0000 (20:42 +0100)]
basic DSP lib (for lua bindings)

8 years agoadd lua search path
Robin Gareus [Thu, 21 Jan 2016 13:16:43 +0000 (14:16 +0100)]
add lua search path

8 years agoadd realloc pool to MSVC project
Robin Gareus [Mon, 25 Jan 2016 17:02:43 +0000 (18:02 +0100)]
add realloc pool to MSVC project

8 years agorealloc-pool unit-test
Robin Gareus [Thu, 28 Jan 2016 01:40:59 +0000 (02:40 +0100)]
realloc-pool unit-test

8 years agotime-bound memory-pool
Robin Gareus [Wed, 27 Jan 2016 03:53:57 +0000 (04:53 +0100)]
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.

8 years agoAdd a VC project for building the new lua branch with MSVC
Robin Gareus [Wed, 27 Jan 2016 17:34:55 +0000 (18:34 +0100)]
Add a VC project for building the new lua branch with MSVC

(untested, new paths -- adopted from John Emmas project)

8 years agoLuaBridge: support argument references via table return
Robin Gareus [Sun, 21 Feb 2016 18:26:06 +0000 (19:26 +0100)]
LuaBridge: support argument references via table return

8 years agocustomize LuaBridge
Robin Gareus [Sun, 21 Feb 2016 18:25:42 +0000 (19:25 +0100)]
customize LuaBridge

* introduce boost::shared_ptr support
* support enum & const
* allow to add non-class member functions
* STL iterators (vector, list, set, bitset & map)
* support reference arguments (framecnt_t&)
* add support for arrays of basic types (e.g. float*, int*)
* fix compiler warnings

8 years agoadd liblua wrapper and build-scripts
Robin Gareus [Sat, 13 Feb 2016 21:31:17 +0000 (22:31 +0100)]
add liblua wrapper and build-scripts

8 years agoNO-OP whitespace
Robin Gareus [Sun, 17 Jan 2016 20:25:56 +0000 (21:25 +0100)]
NO-OP whitespace

8 years agoadd LuaBridge
Robin Gareus [Mon, 11 Jan 2016 10:50:50 +0000 (11:50 +0100)]
add LuaBridge

https://github.com/vinniefalco/LuaBridge

8 years agoadd lua-5.3.2
Robin Gareus [Wed, 3 Feb 2016 20:34:08 +0000 (21:34 +0100)]
add lua-5.3.2

8 years agorework dialog-close-focus-reset change to work in Tabbed
Paul Davis [Mon, 22 Feb 2016 19:42:40 +0000 (14:42 -0500)]
rework dialog-close-focus-reset change to work in Tabbed

8 years agofix merge/rebase mistake
Paul Davis [Mon, 22 Feb 2016 19:42:17 +0000 (14:42 -0500)]
fix merge/rebase mistake

8 years agosingle click in timefx mode should still show dialog, allow user to set parameters
Paul Davis [Mon, 22 Feb 2016 15:29:17 +0000 (10:29 -0500)]
single click in timefx mode should still show dialog, allow user to set parameters

8 years agoadd comment about threading for time/pitch dialog
Paul Davis [Mon, 22 Feb 2016 15:28:49 +0000 (10:28 -0500)]
add comment about threading for time/pitch dialog

8 years agomore work on time/pitch stretch/shifting
Paul Davis [Mon, 22 Feb 2016 15:17:09 +0000 (10:17 -0500)]
more work on time/pitch stretch/shifting

Clock and percent measure are now linked, not alternatives. Threading for GUI updates is now safe.

8 years agoadd a clarifying comment about threading/GUI for normalization
Paul Davis [Mon, 22 Feb 2016 15:16:04 +0000 (10:16 -0500)]
add a clarifying comment about threading/GUI for normalization