ardour.git
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

8 years agofirst steps in providing more precise control over timestretching
Paul Davis [Sun, 21 Feb 2016 21:28:44 +0000 (16:28 -0500)]
first steps in providing more precise control over timestretching

8 years agofix an error during merge/rebase fixups
Paul Davis [Fri, 19 Feb 2016 16:31:38 +0000 (11:31 -0500)]
fix an error during merge/rebase fixups

8 years agofix merge mixup after rebase from master
Paul Davis [Tue, 2 Feb 2016 15:15:24 +0000 (10:15 -0500)]
fix merge mixup after rebase from master

8 years agocleanup post-rebase-against-master messes
Paul Davis [Tue, 12 Jan 2016 02:36:44 +0000 (21:36 -0500)]
cleanup post-rebase-against-master messes

8 years agofix inheritance/class design to get both SessionOptionEditor and RCOptionEditor to...
Paul Davis [Fri, 27 Nov 2015 22:33:31 +0000 (17:33 -0500)]
fix inheritance/class design to get both SessionOptionEditor and RCOptionEditor to work correctly

8 years agoprovide an alternate action for controlling prefs visibility in the main menu
Paul Davis [Tue, 24 Nov 2015 16:19:29 +0000 (11:19 -0500)]
provide an alternate action for controlling prefs visibility in the main menu

8 years agofix crash caused by missing check on editor->own_window()
Paul Davis [Tue, 24 Nov 2015 16:13:17 +0000 (11:13 -0500)]
fix crash caused by missing check on editor->own_window()

8 years agoadd context menus for tabbable visibility buttons
Paul Davis [Tue, 24 Nov 2015 15:12:07 +0000 (10:12 -0500)]
add context menus for tabbable visibility buttons

8 years agoa bunch of stuff to make tab/window switching work better, and provide Alt-m to toggl...
Paul Davis [Fri, 20 Nov 2015 19:19:22 +0000 (14:19 -0500)]
a bunch of stuff to make tab/window switching work better, and provide Alt-m to toggle between editor+mixer in a sane way

8 years agouse Tabbable::change_visibility to make tab/window control buttons do the right thing
Paul Davis [Fri, 20 Nov 2015 14:28:05 +0000 (09:28 -0500)]
use Tabbable::change_visibility to make tab/window control buttons do the right thing

8 years agoprovide Tabbable::change_visibility(), which has slightly odd semantics that are...
Paul Davis [Fri, 20 Nov 2015 14:27:41 +0000 (09:27 -0500)]
provide Tabbable::change_visibility(), which has slightly odd semantics that are neither toggle nor one-shot

8 years agoget rid of a warning message by setting up the main window properties before showing it
Paul Davis [Thu, 19 Nov 2015 22:46:44 +0000 (17:46 -0500)]
get rid of a warning message by setting up the main window properties before showing it

8 years agoallow pixbuf_from_string() to return the full size pixbuf, with optional padding
Paul Davis [Thu, 19 Nov 2015 15:39:29 +0000 (10:39 -0500)]
allow pixbuf_from_string() to return the full size pixbuf, with optional padding

8 years agoprevent dragging the last tab from the notebook
Paul Davis [Thu, 19 Nov 2015 04:45:48 +0000 (23:45 -0500)]
prevent dragging the last tab from the notebook

8 years agoadd some rather arbitrary color stylings for tab/window buttons
Paul Davis [Thu, 19 Nov 2015 04:28:15 +0000 (23:28 -0500)]
add some rather arbitrary color stylings for tab/window buttons

8 years agoremove tab-related code for tabbed notebook, add tooltips to new buttons
Paul Davis [Thu, 19 Nov 2015 04:03:16 +0000 (23:03 -0500)]
remove tab-related code for tabbed notebook, add tooltips to new buttons

8 years agotab-free tabbed display, part 1.2
Paul Davis [Thu, 19 Nov 2015 03:25:18 +0000 (22:25 -0500)]
tab-free tabbed display, part 1.2

8 years agoadd syntax and scaffolding for MIDI binding maps to refer to selected tracks/busses.
Paul Davis [Tue, 17 Nov 2015 23:00:36 +0000 (18:00 -0500)]
add syntax and scaffolding for MIDI binding maps to refer to selected tracks/busses.

THIS DOES NOT WORK YET. Selection information is not available in libardour at this time

8 years agotry using top-menu-bar buttons and not notebook tabs to control window visibility
Paul Davis [Tue, 17 Nov 2015 22:49:27 +0000 (17:49 -0500)]
try using top-menu-bar buttons and not notebook tabs to control window visibility

8 years agotweak DEBUG_TRACE output for key_press_focus_accelerator
Paul Davis [Tue, 17 Nov 2015 22:48:39 +0000 (17:48 -0500)]
tweak DEBUG_TRACE output for key_press_focus_accelerator

8 years agofix tooltip text to accurately describe how to reattach window.
Paul Davis [Mon, 16 Nov 2015 18:12:45 +0000 (13:12 -0500)]
fix tooltip text to accurately describe how to reattach window.

This commit incorrectly describes top level menu structure inside a file in libs/gtkmm2ext.

8 years agoadd "Editor" to detached editor window name to see if this fixes Unity WM behaviour
Paul Davis [Mon, 16 Nov 2015 18:06:20 +0000 (13:06 -0500)]
add "Editor" to detached editor window name to see if this fixes Unity WM behaviour

8 years agosplash window should not be marked as a POPUP. Follow master's lead
Paul Davis [Wed, 28 Oct 2015 16:24:50 +0000 (12:24 -0400)]
splash window should not be marked as a POPUP. Follow master's lead

8 years agochange name of default key binding file to match what is actually built
Paul Davis [Wed, 28 Oct 2015 15:49:08 +0000 (11:49 -0400)]
change name of default key binding file to match what is actually built

8 years agofix inadvertent case change
Paul Davis [Tue, 27 Oct 2015 18:42:31 +0000 (14:42 -0400)]
fix inadvertent case change

8 years agoadditional GTKOSX => __APPLE__ changes missed in previous commit
Paul Davis [Tue, 27 Oct 2015 18:35:55 +0000 (14:35 -0400)]
additional GTKOSX => __APPLE__ changes missed in previous commit

8 years agochange GTKOSX macro constant to use __APPLE__ instead
Paul Davis [Tue, 27 Oct 2015 17:43:31 +0000 (13:43 -0400)]
change GTKOSX macro constant to use __APPLE__ instead

8 years agoadd a clarifying comment
Paul Davis [Tue, 27 Oct 2015 17:30:47 +0000 (13:30 -0400)]
add a clarifying comment

8 years agoadd const_cast to avoid compiler warnings from apple gcc
Paul Davis [Tue, 27 Oct 2015 17:29:38 +0000 (13:29 -0400)]
add const_cast to avoid compiler warnings from apple gcc

8 years agochange operator<< for Keyboardkey to show state in hex
Paul Davis [Tue, 27 Oct 2015 17:29:22 +0000 (13:29 -0400)]
change operator<< for Keyboardkey to show state in hex

8 years agono more munging with keyvals/accels on OS X
Paul Davis [Tue, 27 Oct 2015 17:28:52 +0000 (13:28 -0400)]
no more munging with keyvals/accels on OS X

8 years agoremove Bindings::ignored_state and use Keyboard::RelevantModifierMask
Paul Davis [Tue, 27 Oct 2015 17:28:11 +0000 (13:28 -0400)]
remove Bindings::ignored_state and use Keyboard::RelevantModifierMask