ardour.git
8 years agohandle button events on main window notebook so that we can handle close button clicks
Paul Davis [Sat, 25 Jul 2015 12:41:52 +0000 (08:41 -0400)]
handle button events on main window notebook so that we can handle close button clicks

8 years agoset "close-button" data on Tabbable contents.
Paul Davis [Sat, 25 Jul 2015 12:41:26 +0000 (08:41 -0400)]
set "close-button" data on Tabbable contents.

I tried doing this in the constructor and got a segfault for reasons I don't understand
but probably should

8 years agoconvert CairoIcon into a NO_WINDOW widget that just draws into its parent widget
Paul Davis [Sat, 25 Jul 2015 12:40:40 +0000 (08:40 -0400)]
convert CairoIcon into a NO_WINDOW widget that just draws into its parent widget

8 years agoclocks in selection/punch displays do actually need the background
Paul Davis [Thu, 23 Jul 2015 21:38:27 +0000 (17:38 -0400)]
clocks in selection/punch displays do actually need the background

8 years agoif _need_bg is set to false in a CairoWidget, then don't actually draw the background
Paul Davis [Thu, 23 Jul 2015 21:38:04 +0000 (17:38 -0400)]
if _need_bg is set to false in a CairoWidget, then don't actually draw the background

8 years agoclean up tabbable state maintainance; drop Gtk::Button unintentionally used for close...
Paul Davis [Thu, 23 Jul 2015 21:22:05 +0000 (17:22 -0400)]
clean up tabbable state maintainance; drop Gtk::Button unintentionally used for close cross image

8 years agoscale CairoIcon by Gtkmm2ext::UI::ui_scale
Paul Davis [Thu, 23 Jul 2015 21:13:31 +0000 (17:13 -0400)]
scale CairoIcon by Gtkmm2ext::UI::ui_scale

8 years agorevert to thin lines for close cross icon
Paul Davis [Thu, 23 Jul 2015 21:09:01 +0000 (17:09 -0400)]
revert to thin lines for close cross icon

8 years agoremove debug output
Paul Davis [Thu, 23 Jul 2015 21:08:44 +0000 (17:08 -0400)]
remove debug output

8 years agomove ui_scale static member from ARDOUR_UI to GtkUI
Paul Davis [Thu, 23 Jul 2015 12:59:32 +0000 (08:59 -0400)]
move ui_scale static member from ARDOUR_UI to GtkUI

8 years agoremove unused lines
Paul Davis [Thu, 23 Jul 2015 12:59:12 +0000 (08:59 -0400)]
remove unused lines

8 years agohide splash in a sensible and understandable way
Paul Davis [Thu, 23 Jul 2015 12:42:05 +0000 (08:42 -0400)]
hide splash in a sensible and understandable way

8 years agohopefully get dynamic tabbable menu state right this time
Paul Davis [Thu, 23 Jul 2015 12:35:24 +0000 (08:35 -0400)]
hopefully get dynamic tabbable menu state right this time

8 years agothicken up lines of close cross icon
Paul Davis [Thu, 23 Jul 2015 12:35:04 +0000 (08:35 -0400)]
thicken up lines of close cross icon

8 years agodynamically update menus/actions controlling tabbable show/hide/attach/detach operations
Paul Davis [Thu, 23 Jul 2015 01:14:08 +0000 (21:14 -0400)]
dynamically update menus/actions controlling tabbable show/hide/attach/detach operations

8 years agoprovide a sigc::signal to track display state changes for a Tabbable
Paul Davis [Thu, 23 Jul 2015 01:13:33 +0000 (21:13 -0400)]
provide a sigc::signal to track display state changes for a Tabbable

8 years agoadd explanatory/reminder comment
Paul Davis [Wed, 22 Jul 2015 22:05:25 +0000 (18:05 -0400)]
add explanatory/reminder comment

8 years agoremove use of current_toplevel() where unnecessary, fix broken necessary cases, gener...
Paul Davis [Wed, 22 Jul 2015 21:49:41 +0000 (17:49 -0400)]
remove use of current_toplevel() where unnecessary, fix broken necessary cases, generally fix up show/hide/attach/detach for Tabbables

8 years agochanges to get show/hide/attach/detach working
Paul Davis [Wed, 22 Jul 2015 21:49:03 +0000 (17:49 -0400)]
changes to get show/hide/attach/detach working

8 years agobreak out window ops for Tabbables into show/hide/attach/detach
Paul Davis [Wed, 22 Jul 2015 19:22:58 +0000 (15:22 -0400)]
break out window ops for Tabbables into show/hide/attach/detach

8 years agochange/extend Tabbable API to allow for show/hide/attach/detach
Paul Davis [Wed, 22 Jul 2015 19:22:23 +0000 (15:22 -0400)]
change/extend Tabbable API to allow for show/hide/attach/detach

8 years agore-run fmt-bindings to generate syntactically correct editor.bindings
Paul Davis [Wed, 22 Jul 2015 02:48:06 +0000 (22:48 -0400)]
re-run fmt-bindings to generate syntactically correct editor.bindings

8 years agofix typo in mnemonic key binding definition
Paul Davis [Wed, 22 Jul 2015 02:44:37 +0000 (22:44 -0400)]
fix typo in mnemonic key binding definition

8 years agouse new CairoIcon to add a tab-close "button" to tabs
Paul Davis [Wed, 22 Jul 2015 02:37:39 +0000 (22:37 -0400)]
use new CairoIcon to add a tab-close "button" to tabs

8 years agosecond part of: add new CairoWidget-derived class that does nothing but shown an...
Paul Davis [Wed, 22 Jul 2015 02:37:19 +0000 (22:37 -0400)]
second part of: add new CairoWidget-derived class that does nothing but shown an ArdourIcon.

8 years agoadd new CairoWidget-derived class that does nothing but shown an ArdourIcon.
Paul Davis [Wed, 22 Jul 2015 02:36:46 +0000 (22:36 -0400)]
add new CairoWidget-derived class that does nothing but shown an ArdourIcon.

Somewhat necessary by placement of ArdourButton class in directory heirarchy. But these are also
much simpler

8 years agoadd tab-closing buttons to tabs.
Paul Davis [Wed, 22 Jul 2015 01:10:46 +0000 (21:10 -0400)]
add tab-closing buttons to tabs.

Images are non-scalable, too big and ugly. Next commit ...

8 years agocompile time fixes for top-menubar (i.e. OS X) systems
Paul Davis [Thu, 16 Jul 2015 20:19:36 +0000 (16:19 -0400)]
compile time fixes for top-menubar (i.e. OS X) systems

8 years agosome changes for top menubar systems (i.e. OS X)
Paul Davis [Thu, 16 Jul 2015 19:56:32 +0000 (15:56 -0400)]
some changes for top menubar systems (i.e. OS X)

8 years agoremove "toggle-foo" style actions related to editor/mixer windows and provide new...
Paul Davis [Wed, 15 Jul 2015 20:24:12 +0000 (16:24 -0400)]
remove "toggle-foo" style actions related to editor/mixer windows and provide new methods that just use Tabbable::make_visible()

8 years agoadd ::make_visible() to Tabbable class
Paul Davis [Wed, 15 Jul 2015 20:23:11 +0000 (16:23 -0400)]
add ::make_visible() to Tabbable class

8 years agonew global bindings file (created with fmt-bindings)
Paul Davis [Wed, 15 Jul 2015 19:37:01 +0000 (15:37 -0400)]
new global bindings file (created with fmt-bindings)

8 years agoremove gtk2_ardour/*.bindings from .gitignore
Paul Davis [Wed, 15 Jul 2015 19:36:43 +0000 (15:36 -0400)]
remove gtk2_ardour/*.bindings from .gitignore

8 years agonew version of editor.bindings, generated by fmt-bindings
Paul Davis [Wed, 15 Jul 2015 19:06:28 +0000 (15:06 -0400)]
new version of editor.bindings, generated by fmt-bindings

8 years agorefactor key press handling to include a hack that continues to use GTK accelerators...
Paul Davis [Wed, 15 Jul 2015 19:06:06 +0000 (15:06 -0400)]
refactor key press handling to include a hack that continues to use GTK accelerators/bindings for now

8 years agotell the editor to try to load editor.bindings
Paul Davis [Wed, 15 Jul 2015 19:05:30 +0000 (15:05 -0400)]
tell the editor to try to load editor.bindings

8 years agoremove debug output
Paul Davis [Wed, 15 Jul 2015 18:13:44 +0000 (14:13 -0400)]
remove debug output

8 years agoclasses derived from WindowProxy are responsible for their own window creation in...
Paul Davis [Wed, 15 Jul 2015 18:08:52 +0000 (14:08 -0400)]
classes derived from WindowProxy are responsible for their own window creation in ::set_state().

Fixes a crash reported by A.Prokoudine when opening a session with visible plugin GUIs

8 years agoimprove output format to include required XML boilerplate
Paul Davis [Sat, 11 Jul 2015 13:43:38 +0000 (09:43 -0400)]
improve output format to include required XML boilerplate

8 years agoplace generated bindings files in gtk2_ardour/
Paul Davis [Sat, 11 Jul 2015 13:26:49 +0000 (09:26 -0400)]
place generated bindings files in gtk2_ardour/

This may have some potential cross-platform issues if fmt-bindings is
ever meant to run on Windows.

8 years agoremove WINDOW modifier from mnemonic bindings file, and replace with SECONDARY which...
Paul Davis [Sat, 11 Jul 2015 13:21:38 +0000 (09:21 -0400)]
remove WINDOW modifier from mnemonic bindings file, and replace with SECONDARY which was already enforced by the substitution dictionary in fmt-bindings

8 years agohack up fmt-bindings so that it can generate native ardour bindings files
Paul Davis [Sat, 11 Jul 2015 13:17:59 +0000 (09:17 -0400)]
hack up fmt-bindings so that it can generate native ardour bindings files

8 years agosave & restore the main window geometry
Paul Davis [Thu, 9 Jul 2015 23:22:06 +0000 (19:22 -0400)]
save & restore the main window geometry

8 years agowidespread changes to get the new (oldArdour binding scheme to be used for keyboard...
Paul Davis [Thu, 9 Jul 2015 22:10:19 +0000 (18:10 -0400)]
widespread changes to get the new (oldArdour binding scheme to be used for keyboard accelerators

8 years agoupdate main window title appropriately
Paul Davis [Thu, 9 Jul 2015 17:56:12 +0000 (13:56 -0400)]
update main window title appropriately

8 years agoadd suggestive tooltips for tabs; remove position argument for Tabbable since it...
Paul Davis [Thu, 9 Jul 2015 17:27:39 +0000 (13:27 -0400)]
add suggestive tooltips for tabs; remove position argument for Tabbable since it isn't really usable

8 years agoremove debug output
Paul Davis [Thu, 9 Jul 2015 17:18:24 +0000 (13:18 -0400)]
remove debug output

8 years agoremove debug output
Paul Davis [Thu, 9 Jul 2015 16:56:00 +0000 (12:56 -0400)]
remove debug output

8 years agohide tabs in main window when there's only 1 tab left.
Paul Davis [Thu, 9 Jul 2015 16:54:09 +0000 (12:54 -0400)]
hide tabs in main window when there's only 1 tab left.

This helps with space and also prevents tearing off the last tab

8 years agosave/restore tabbable state
Paul Davis [Thu, 9 Jul 2015 16:40:51 +0000 (12:40 -0400)]
save/restore tabbable state

8 years agocleaner code to figure out which Tabbable was just torn off
Paul Davis [Wed, 8 Jul 2015 19:38:04 +0000 (15:38 -0400)]
cleaner code to figure out which Tabbable was just torn off

8 years agobetter way to switch to a tab
Paul Davis [Wed, 8 Jul 2015 19:37:49 +0000 (15:37 -0400)]
better way to switch to a tab

8 years agomake sure preferences are visible
Paul Davis [Wed, 8 Jul 2015 19:37:21 +0000 (15:37 -0400)]
make sure preferences are visible

8 years agomake sure the prefs editor sets up its own window correctly
Paul Davis [Wed, 8 Jul 2015 19:36:49 +0000 (15:36 -0400)]
make sure the prefs editor sets up its own window correctly

8 years agomake tabs reorderable
Paul Davis [Wed, 8 Jul 2015 17:22:29 +0000 (13:22 -0400)]
make tabs reorderable

8 years agowhen tearing off a tab, make the window be the same size as the allocation of the tab
Paul Davis [Wed, 8 Jul 2015 17:13:47 +0000 (13:13 -0400)]
when tearing off a tab, make the window be the same size as the allocation of the tab

8 years agoget normal GTK accelerators working again
Paul Davis [Wed, 8 Jul 2015 16:45:57 +0000 (12:45 -0400)]
get normal GTK accelerators working again

8 years agostop using C++11 structure initializer
Paul Davis [Wed, 8 Jul 2015 16:45:36 +0000 (12:45 -0400)]
stop using C++11 structure initializer

8 years agofirst compilable version of tabbable design.
Paul Davis [Wed, 8 Jul 2015 02:12:21 +0000 (22:12 -0400)]
first compilable version of tabbable design.

I would have loved to split this apart, but there are just so many interrelated changes,
it makes little sense and would be a huge effort that would break future git bisect
use because so many intermediate commits would not compile

8 years agocompilable version of WindowProxy
Paul Davis [Fri, 3 Jul 2015 19:06:59 +0000 (15:06 -0400)]
compilable version of WindowProxy

8 years agoinitial versions of Tabbable object
Paul Davis [Fri, 3 Jul 2015 19:06:29 +0000 (15:06 -0400)]
initial versions of Tabbable object

8 years agofirst version of Gtkmm2ext::WindowProxy
Paul Davis [Wed, 1 Jul 2015 21:26:14 +0000 (17:26 -0400)]
first version of Gtkmm2ext::WindowProxy

8 years agothe basics of tabbed
Paul Davis [Tue, 21 Apr 2015 19:10:49 +0000 (15:10 -0400)]
the basics of tabbed

8 years agoprefer initialization to assignment for ARDOUR_UI
Paul Davis [Wed, 22 Apr 2015 20:09:02 +0000 (16:09 -0400)]
prefer initialization to assignment for ARDOUR_UI

8 years agothe basics of tabbed
Paul Davis [Tue, 21 Apr 2015 19:10:49 +0000 (15:10 -0400)]
the basics of tabbed

8 years agoinitialize uninitialized var - possible fix for #6400
Robin Gareus [Mon, 29 Jun 2015 18:03:36 +0000 (20:03 +0200)]
initialize uninitialized var - possible fix for #6400

8 years agoconsolidate code
Robin Gareus [Fri, 26 Jun 2015 22:56:07 +0000 (00:56 +0200)]
consolidate code

8 years agoupdate Window > Mixer accordingly
Robin Gareus [Fri, 26 Jun 2015 21:42:11 +0000 (23:42 +0200)]
update Window > Mixer accordingly

8 years agoprefer initialization to assignment for ARDOUR_UI
Paul Davis [Wed, 22 Apr 2015 20:09:02 +0000 (16:09 -0400)]
prefer initialization to assignment for ARDOUR_UI

8 years agothe basics of tabbed
Paul Davis [Tue, 21 Apr 2015 19:10:49 +0000 (15:10 -0400)]
the basics of tabbed

8 years agovolatile means hardware-volatile.
Paul Davis [Mon, 22 Feb 2016 20:25:28 +0000 (15:25 -0500)]
volatile means hardware-volatile.

8 years agoRevert "Fix compilation warnings. (gtk2_ardour part)"
Paul Davis [Mon, 22 Feb 2016 20:21:50 +0000 (15:21 -0500)]
Revert "Fix compilation warnings. (gtk2_ardour part)"

These fixes are wrong, not on their own, but because GtkPiano* should not be
using volatile. I'll fix that separately.

This reverts commit ad35ab78ebafdf5fe82ad05f31476d4fa23fcb77.

Conflicts:
gtk2_ardour/gtk_pianokeyboard.c

8 years agoSpelling correction patch from Debian
Adrian Knoth [Mon, 22 Feb 2016 20:01:23 +0000 (21:01 +0100)]
Spelling correction patch from Debian

Patch taken (and forward-ported to HEAD) from
<https://anonscm.debian.org/cgit/pkg-multimedia/ardour.git/plain/debian/patches/0100-fix-typos.patch>

8 years agodon't trip over missing `nm` tool
Nils Philippsen [Mon, 22 Feb 2016 12:41:44 +0000 (13:41 +0100)]
don't trip over missing `nm` tool

8 years agoRevert and additional change due to --strict warnings.
André Nusser [Sun, 21 Feb 2016 21:10:52 +0000 (22:10 +0100)]
Revert and additional change due to --strict warnings.

8 years agoFix compilation warnings. (gtk2_ardour part)
André Nusser [Sun, 21 Feb 2016 20:54:31 +0000 (21:54 +0100)]
Fix compilation warnings. (gtk2_ardour part)

8 years agoFix compilation warnings. (libs part)
André Nusser [Sun, 21 Feb 2016 20:54:19 +0000 (21:54 +0100)]
Fix compilation warnings. (libs part)

8 years agobetter system for managing kbd focus after cmd-w closing a dialog.
Paul Davis [Mon, 22 Feb 2016 19:03:55 +0000 (14:03 -0500)]
better system for managing kbd focus after cmd-w closing a dialog.

Key, Button and Focus In events in the editor+mixer windows cause the respective window to be noted
as the window to which focus should return after a dialog is closed with cmd/ctrl-w

8 years agomanually revert most of previous commit related to dialog/main window focus management
Paul Davis [Mon, 22 Feb 2016 18:55:31 +0000 (13:55 -0500)]
manually revert most of previous commit related to dialog/main window focus management

8 years agoos x: an initial attempt at fixing loss of keyboard focus after cmd-w to close dialog
Paul Davis [Mon, 22 Feb 2016 16:48:26 +0000 (11:48 -0500)]
os x: an initial attempt at fixing loss of keyboard focus after cmd-w to close dialog

8 years agoFix 6783, Using "Esc" key doesn't cancel creating new Track/Bus Group
Tim Mayberry [Mon, 22 Feb 2016 05:22:56 +0000 (15:22 +1000)]
Fix 6783, Using "Esc" key doesn't cancel creating new Track/Bus Group

Also fixes it for other sources of delete events like closing the dialog.

8 years agoprepare for gcc6 rint() precision degradation
Robin Gareus [Sun, 21 Feb 2016 23:07:21 +0000 (00:07 +0100)]
prepare for gcc6 rint() precision degradation

gcc6 returns a float for "rint ((float) val)"

8 years agoprevent some mess when automating control ports on midi synths
Robin Gareus [Sun, 21 Feb 2016 21:19:08 +0000 (22:19 +0100)]
prevent some mess when automating control ports on midi synths

8 years agoalsa: allow environment variable ARDOUR_ALSA_DEVICE to identify a single, arbitrary...
Paul Davis [Sun, 21 Feb 2016 17:44:54 +0000 (12:44 -0500)]
alsa: allow environment variable ARDOUR_ALSA_DEVICE to identify a single, arbitrary ALSA PCM name as the only available/allowed device

8 years agomake threaded waveview rendering a configure time option (enabled by default)
Paul Davis [Sun, 21 Feb 2016 17:34:10 +0000 (12:34 -0500)]
make threaded waveview rendering a configure time option (enabled by default)

8 years agoOS X: fix the handling of SUPER,HYPER,META (see code comment for more)
Paul Davis [Sun, 21 Feb 2016 15:40:28 +0000 (10:40 -0500)]
OS X: fix the handling of SUPER,HYPER,META (see code comment for more)

8 years agoprevent crash is VST does not implement effEditGetRect
Robin Gareus [Sun, 21 Feb 2016 12:24:20 +0000 (13:24 +0100)]
prevent crash is VST does not implement effEditGetRect

8 years agoadd an OOM check.
Robin Gareus [Sat, 20 Feb 2016 19:47:13 +0000 (20:47 +0100)]
add an OOM check.

8 years agohelp clang static analyzer
Robin Gareus [Sat, 20 Feb 2016 19:36:58 +0000 (20:36 +0100)]
help clang static analyzer

8 years agofix segfault in libardour unit-tests (possible crash in mackie sf)
Robin Gareus [Sat, 20 Feb 2016 19:24:03 +0000 (20:24 +0100)]
fix segfault in libardour unit-tests (possible crash in mackie sf)

8 years agoadd processor lookup by PBD::ID via session
Robin Gareus [Sat, 20 Feb 2016 19:22:40 +0000 (20:22 +0100)]
add processor lookup by PBD::ID via session

In preparation for Lua bindings this completes the basic set of
Session object lookup: route, source, controllable, region, processor

8 years agofix linux bundle installer
Robin Gareus [Sat, 20 Feb 2016 11:08:55 +0000 (12:08 +0100)]
fix linux bundle installer

8 years agothird time lucky
Robin Gareus [Fri, 19 Feb 2016 22:25:15 +0000 (23:25 +0100)]
third time lucky

8 years agoand now without typo
Robin Gareus [Fri, 19 Feb 2016 22:19:19 +0000 (23:19 +0100)]
and now without typo

8 years agofix Windows OSC support
Robin Gareus [Fri, 19 Feb 2016 22:16:38 +0000 (23:16 +0100)]
fix Windows OSC support

8 years agoRevert "disable threaded waveform rendering for 4.7"
Robin Gareus [Fri, 19 Feb 2016 20:13:29 +0000 (21:13 +0100)]
Revert "disable threaded waveform rendering for 4.7"

This reverts commit b0032adb4484eaa07188c46ce1d69a37c14878b6.

8 years agopossible fix for AVLinux VST bundles.
Robin Gareus [Fri, 19 Feb 2016 20:11:55 +0000 (21:11 +0100)]
possible fix for AVLinux VST bundles.

8 years agoadd MCP device file for Nucleus-via-platform MIDI 4.7
Paul Davis [Fri, 19 Feb 2016 01:28:56 +0000 (20:28 -0500)]
add MCP device file for Nucleus-via-platform MIDI

8 years agodisable threaded waveform rendering for 4.7
Paul Davis [Thu, 18 Feb 2016 23:56:05 +0000 (18:56 -0500)]
disable threaded waveform rendering for 4.7

8 years agoremove HYPER,SUPER,META modifier masks from Keyboard::RelevantModifierMask so that...
Paul Davis [Thu, 18 Feb 2016 14:44:50 +0000 (09:44 -0500)]
remove HYPER,SUPER,META modifier masks from Keyboard::RelevantModifierMask so that modifier_state_equals() works on OS X

GTK on OS X adds META when Command is pressed even though it also uses MOD2 to indicate COMMAND. So Cmd-w was actually META-MOD2-w and modifier_state_equals(MOD2)
would fail. This should have nothing but good side effects