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

8 years agoset PrimaryModifier on OS X to match the actual bits used by GTK for Command
Paul Davis [Tue, 27 Oct 2015 17:11:52 +0000 (13:11 -0400)]
set PrimaryModifier on OS X to match the actual bits used by GTK for Command

8 years agoremove Gtkmm2ext::possibly_translate_mod_to_make_legal_accelerator().
Paul Davis [Tue, 27 Oct 2015 17:11:18 +0000 (13:11 -0400)]
remove Gtkmm2ext::possibly_translate_mod_to_make_legal_accelerator().

This is no longer needed because we can set the modifier to the actual bits that GTK uses for Command (META+MOD2)

8 years agofix variable naming/scope issues
Paul Davis [Tue, 27 Oct 2015 13:27:28 +0000 (09:27 -0400)]
fix variable naming/scope issues

8 years agoremove all trace of SAE from source code.
Paul Davis [Mon, 26 Oct 2015 19:17:42 +0000 (15:17 -0400)]
remove all trace of SAE from source code.

This had become incoherent over time, and posed a development hazard and burden going forward

8 years agoreplicate the remove-all-trailing whitespace commit(s) in master
Paul Davis [Mon, 26 Oct 2015 18:35:06 +0000 (14:35 -0400)]
replicate the remove-all-trailing whitespace commit(s) in master

8 years agochange suffix of keybinding files to ".keys" to avoid conflict with earlier versions.
Paul Davis [Mon, 26 Oct 2015 17:35:45 +0000 (13:35 -0400)]
change suffix of keybinding files to ".keys" to avoid conflict with earlier versions.

Move some code around that should never have been inside libs/ardour to begin with.

8 years agocleanup various merge conflict resolution errors/omissions
Paul Davis [Thu, 22 Oct 2015 23:19:24 +0000 (19:19 -0400)]
cleanup various merge conflict resolution errors/omissions

8 years agoensure that all callers of ARDOUR_UI_UTILS::relay_key_press() provide a window
Paul Davis [Fri, 4 Sep 2015 15:49:56 +0000 (11:49 -0400)]
ensure that all callers of ARDOUR_UI_UTILS::relay_key_press() provide a window

8 years agoconvert Splash dialog into Gtk::WINDOW_POPUP in the hope that it will float above...
Paul Davis [Fri, 4 Sep 2015 13:54:58 +0000 (09:54 -0400)]
convert Splash dialog into Gtk::WINDOW_POPUP in the hope that it will float above all, in all WM's

8 years agochange name of default bindings to us.bindings (and thus binding definitions to us...
Paul Davis [Wed, 2 Sep 2015 02:07:37 +0000 (22:07 -0400)]
change name of default bindings to us.bindings (and thus binding definitions to us.bindings.in)

"us" indicates keyboard layout.

8 years agoupdate Mackie code to use new API to get all actions
Paul Davis [Tue, 1 Sep 2015 19:46:59 +0000 (15:46 -0400)]
update Mackie code to use new API to get all actions

8 years agouse newer API to show all actions and bindings with -b
Paul Davis [Tue, 1 Sep 2015 19:46:48 +0000 (15:46 -0400)]
use newer API to show all actions and bindings with -b

8 years agocleanup Bindings/ActionMap API to get all actions for various purposes
Paul Davis [Tue, 1 Sep 2015 19:46:30 +0000 (15:46 -0400)]
cleanup Bindings/ActionMap API to get all actions for various purposes

8 years agoclean up, edit, rationalize bindings definitions file.
Paul Davis [Tue, 1 Sep 2015 17:55:39 +0000 (13:55 -0400)]
clean up, edit, rationalize bindings definitions file.

This removes some non-existent actions and puts others into the right
binding set when building the actual bindings definitions

8 years agofix up code to print all available actions and existing key bindings
Paul Davis [Tue, 1 Sep 2015 17:54:45 +0000 (13:54 -0400)]
fix up code to print all available actions and existing key bindings

8 years agoaction maps now have names
Paul Davis [Tue, 1 Sep 2015 17:54:29 +0000 (13:54 -0400)]
action maps now have names

8 years agocreate a two-way association between an action map and a bindings object, rather...
Paul Davis [Tue, 1 Sep 2015 17:53:19 +0000 (13:53 -0400)]
create a two-way association between an action map and a bindings object, rather than just one way.

This helps us lookup bindings when printing out lists for the user

8 years agoWindow Manager object should use global action map, since bindings are part of the...
Paul Davis [Tue, 1 Sep 2015 17:51:59 +0000 (13:51 -0400)]
Window Manager object should use global action map, since bindings are part of the global set

8 years agomerge once again with master
Paul Davis [Tue, 1 Sep 2015 02:31:33 +0000 (22:31 -0400)]
merge once again with master

8 years agotweak to start addressing mis-classification of various editor commands as global
Paul Davis [Tue, 1 Sep 2015 02:06:44 +0000 (22:06 -0400)]
tweak to start addressing mis-classification of various editor commands as global

8 years agomore changes to Bindings, Keyboard APIs
Paul Davis [Mon, 10 Aug 2015 18:31:59 +0000 (14:31 -0400)]
more changes to Bindings, Keyboard APIs

8 years agoradically change Keyboard/Binding API design to disconnect Gtk::Action lookup from...
Paul Davis [Sat, 8 Aug 2015 12:36:29 +0000 (08:36 -0400)]
radically change Keyboard/Binding API design to disconnect Gtk::Action lookup from binding definition

We need this because we need binding information/objects before all
Actions have been defined.

8 years agovarious fixes for saving bindings state
Paul Davis [Thu, 6 Aug 2015 03:48:25 +0000 (23:48 -0400)]
various fixes for saving bindings state

8 years agofix memory lifetime management issue
Paul Davis [Thu, 6 Aug 2015 03:48:05 +0000 (23:48 -0400)]
fix memory lifetime management issue

8 years agofix typo in binding key name
Paul Davis [Thu, 6 Aug 2015 03:41:43 +0000 (23:41 -0400)]
fix typo in binding key name

8 years agouse Bindings API for binding replacement
Paul Davis [Wed, 5 Aug 2015 14:57:00 +0000 (10:57 -0400)]
use Bindings API for binding replacement

8 years agochange/extend/rework Bindings API to allow replacement and provide stub/hook/call...
Paul Davis [Wed, 5 Aug 2015 14:56:36 +0000 (10:56 -0400)]
change/extend/rework Bindings API to allow replacement and provide stub/hook/call to save bindings

8 years agouse X_() to mark binding names as non-translated
Paul Davis [Wed, 5 Aug 2015 02:44:41 +0000 (22:44 -0400)]
use X_() to mark binding names as non-translated

8 years agoinitial compilable version of saving key bindings with "new" scheme
Paul Davis [Wed, 5 Aug 2015 02:44:20 +0000 (22:44 -0400)]
initial compilable version of saving key bindings with "new" scheme

8 years agoadd step entry bindings pointer to step entry window so that bindings will be used
Paul Davis [Wed, 5 Aug 2015 02:43:40 +0000 (22:43 -0400)]
add step entry bindings pointer to step entry window so that bindings will be used

8 years agosmall rationalization of naming and code for managing plugin GUI visibility
Paul Davis [Tue, 4 Aug 2015 18:30:41 +0000 (14:30 -0400)]
small rationalization of naming and code for managing plugin GUI visibility

8 years agochanges to support new key bindings editor design
Paul Davis [Tue, 4 Aug 2015 18:00:57 +0000 (14:00 -0400)]
changes to support new key bindings editor design

8 years agoclean up registration of toggle window actions
Paul Davis [Tue, 4 Aug 2015 18:00:08 +0000 (14:00 -0400)]
clean up registration of toggle window actions

8 years agoredesign key editor to work with tabbed notebook, one tab per set of bindings
Paul Davis [Tue, 4 Aug 2015 17:59:32 +0000 (13:59 -0400)]
redesign key editor to work with tabbed notebook, one tab per set of bindings

8 years agofix double initialization of key bindings editor AND rename video import menu item...
Paul Davis [Tue, 4 Aug 2015 17:59:00 +0000 (13:59 -0400)]
fix double initialization of key bindings editor AND rename video import menu item correctly

8 years agobindings: prevent double registration and double signal connection, and provide get_a...
Paul Davis [Tue, 4 Aug 2015 17:57:51 +0000 (13:57 -0400)]
bindings: prevent double registration and double signal connection, and provide get_all_actions() methods

8 years agoswitch all action registration/binding code over to new API.
Paul Davis [Sun, 2 Aug 2015 03:40:55 +0000 (23:40 -0400)]
switch all action registration/binding code over to new API.

This removes the ability to change bindings via menus.

Still to come: saving modified bindings, and reworking the key editor

8 years agoremove all action-registering API from Gtkmm2ext::ActionManager
Paul Davis [Sun, 2 Aug 2015 03:40:03 +0000 (23:40 -0400)]
remove all action-registering API from Gtkmm2ext::ActionManager

8 years agoremove unused file
Paul Davis [Sun, 2 Aug 2015 02:40:36 +0000 (22:40 -0400)]
remove unused file

8 years agofix command used to build keyboard bindings
Paul Davis [Sun, 2 Aug 2015 02:39:53 +0000 (22:39 -0400)]
fix command used to build keyboard bindings

8 years agochanges to Bindings and Keyboard API to support (mostly) GTK-free keyboard bindings
Paul Davis [Sun, 2 Aug 2015 02:38:46 +0000 (22:38 -0400)]
changes to Bindings and Keyboard API to support (mostly) GTK-free keyboard bindings

8 years agofix another XML typo
Paul Davis [Sun, 2 Aug 2015 01:43:20 +0000 (21:43 -0400)]
fix another XML typo

8 years agofix XML typo
Paul Davis [Sun, 2 Aug 2015 01:36:06 +0000 (21:36 -0400)]
fix XML typo

8 years agoadjust fixed bindings files for use with new fmt-bindings tool
Paul Davis [Sat, 1 Aug 2015 02:55:57 +0000 (22:55 -0400)]
adjust fixed bindings files for use with new fmt-bindings tool

8 years agoredesign fmt-bindings to generate Ardour native binding files.
Paul Davis [Sat, 1 Aug 2015 02:55:24 +0000 (22:55 -0400)]
redesign fmt-bindings to generate Ardour native binding files.

This replaces the old GTK accel map format.

8 years agocorrect fix previous merge conflict
Paul Davis [Mon, 27 Jul 2015 22:24:32 +0000 (18:24 -0400)]
correct fix previous merge conflict

8 years agoremove all tearoffs except the monitor section.
Paul Davis [Mon, 27 Jul 2015 22:05:42 +0000 (18:05 -0400)]
remove all tearoffs except the monitor section.

We don't need this functionality anymore as we build on 15 years experience plus the new tabbed structure

8 years agoremove debug output
Paul Davis [Mon, 27 Jul 2015 21:17:36 +0000 (17:17 -0400)]
remove debug output

8 years agoget current tab on startup correct.
Paul Davis [Mon, 27 Jul 2015 21:12:35 +0000 (17:12 -0400)]
get current tab on startup correct.

Note that Gtk::Notebook will not switch to a page with an invisible widget. This took me TOO LONG to discover.
Also move code around between files

8 years agohandle main window delete events sensibly
Paul Davis [Mon, 27 Jul 2015 14:50:35 +0000 (10:50 -0400)]
handle main window delete events sensibly

8 years agomore fixes for tabbable visibility management
Paul Davis [Sat, 25 Jul 2015 13:18:44 +0000 (09:18 -0400)]
more fixes for tabbable visibility management

8 years agoextend API for tabbable visibility management
Paul Davis [Sat, 25 Jul 2015 13:18:32 +0000 (09:18 -0400)]
extend API for tabbable visibility management