Commit Graph

453 Commits

Author SHA1 Message Date
Robin Gareus 6af51b52ff Use dedicated "show editor/mixer" actions 2017-03-10 17:52:42 +01:00
Robin Gareus b15bebd3c0 Remove unused ArdourUI code to add/remove Lua Session Scripts. 2017-02-19 01:29:08 +01:00
Robin Gareus 65b38322db GUI action Transport/RecordCountIn 2017-02-13 23:01:11 +01:00
Ben Loftis d5f150b51b Add several new categories and re-sort some keybindings so they display more nicely in html printout. 2017-02-06 18:05:53 -06:00
Paul Davis f50c99e2a9 additional commit for removal of TransportControllables 2017-02-02 13:05:05 +01:00
Paul Davis 80ee2f2c4d move 10 more actions from Editor/* to Common/* 2017-01-28 18:51:03 +01:00
Paul Davis 3c2e69ea42 move 15 actions out of Editor/* namespace, and into Common/* 2017-01-28 18:02:28 +01:00
Robin Gareus 645402bc42 Add GUI action to record with preroll 2017-01-18 15:16:05 +01:00
Robin Gareus cf5a0de709 Add initial GUI support for global monitor states 2017-01-16 19:54:42 +01:00
Robin Gareus c6464e9c34 Move some actions into the global group:
This allows common keyboard shortcuts from any Tab (Editor, Mixer).
Discuss: should those actions/methods also be moved to ArdourUI instead of
PublicEditor?
2017-01-12 18:22:56 +01:00
Robin Gareus 3afe3f32df Remove cruft (old MIDI feedback API) 2016-12-30 17:29:08 +01:00
Ben Loftis 3e214eb4ea Tweak behavior of Play-With-Preroll action 2016-12-19 13:14:44 -06:00
Ben Loftis 628c99d555 Follow Edits => Follow Range
* "Follow Edits" button had several behaviors that confused users.
* "Follow Range" only has 2 behaviors:
** Click anywhere in Range mode (or Smart mode) to locate the playhead.
** When you select a Range, "Play" will play the selected range.
2016-12-19 13:14:44 -06:00
Olivier Humbert 47d186d1a3 Make menu item for Add Track/Bus/VCA dialog consistent with window title 2016-11-21 09:22:13 +10:00
Paul Davis 8fd4d32789 add a new action to allow surfaces to access Keyboard::close_current_dialog() 2016-09-27 14:59:29 -05:00
Robin Gareus 5232e0f2af GUI support to archive session 2016-09-20 19:52:56 +02:00
Paul Davis 835b874e1e add ActionManager::rec_sensitive_actions and put "add track/bus" in this group, which is disabled during active recording 2016-09-06 16:56:51 -04:00
Paul Davis 7336a05110 fix focus-on-clock action 2016-08-28 09:05:31 -04:00
Paul Davis 653b113607 fix unused variable warnings and code tidy 2016-07-18 14:39:32 -04:00
Paul Davis cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
Paul Davis dc43189c7e fix save/restore of preferences torn-off-window state 2016-07-13 16:39:26 -04:00
Paul Davis 54e8a21a09 Remove references to a "master faders" window. We went the other way. 2016-06-02 19:19:22 -04:00
Paul Davis 4cd6d52013 make Escape (cancel drag or selection) work in mixer as well as editor 2016-05-31 15:30:44 -04:00
Paul Davis 2c9c210213 manually fix rebase/merge issues caused by addition of plugin presets to methods which add a new track/bus 2016-05-31 15:30:42 -04:00
Paul Davis 9197116a1a change API for ARDOUR_UI::add_route() to no longer require a float window 2016-05-31 15:30:41 -04:00
Paul Davis 99b0712be4 remove the entire idea of a tabbable for VCA master faders
Conflicts:
	gtk2_ardour/master_faders.cc
2016-05-31 15:30:38 -04:00
Paul Davis 89a4d689d1 make the master faders visibility button work 2016-05-31 15:30:38 -04:00
Paul Davis 5c658db4bf most of the changes required to add a new master faders tabbable
the visibility button isn't actually working correctly
2016-05-31 15:30:38 -04:00
Sven Gestegård Robertz 89361e0833 fix typo, restore preference tab 2016-05-15 14:45:34 +02:00
Robin Gareus 2f9d5077dc GUI part of LocaleGuard optimization. 2016-05-07 17:17:41 +02:00
Robin Gareus 5c9660b62e re-introduce "add track/bus" from mixer window 2016-05-06 03:08:46 +02:00
Robin Gareus 9b3b1d945f fix another menu typo in fda03d1 2016-05-05 01:59:32 +02:00
Robin Gareus abb3c0f220 fix typo in fda03d1f1 2016-05-03 19:24:49 +02:00
Robin Gareus fda03d1f17 consistent menu labels 2016-05-03 14:33:37 +02:00
Robin Gareus e025c45cda fix crash when loading a session with non-default clock modes.
set_mode() emits ModeChanged which results in save_extra_xml().
If this happens during session-load, the XML iterator is invalidated.
2016-04-24 14:43:18 +02:00
Robin Gareus d30b901d8c save-as/snapshot tweaks:
* allow to take snapshots and save-as read-only session.
* change ambiguous "Save as" window title for "Snapshot & Switch"
* start save-as in configured session-dir
2016-04-23 14:45:19 +02:00
Paul Davis b7768becb5 use correctly named action to put preferences into the global menu bar on OS X 2016-04-13 13:00:04 -04:00
Mathias Buhr 914027ecf8 Fixes a minor typo 2016-03-05 16:27:48 +01:00
Robin Gareus 78bd97ac9a 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..
2016-02-28 12:17:57 +01:00
Paul Davis 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
Paul Davis 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
Robin Gareus 341758674b Add GUI to instantiate session-scripts 2016-02-23 15:42:26 +01:00
Robin Gareus 6b940afa36 Lua Script Console Window 2016-02-23 15:42:13 +01:00
Paul Davis 25a24e0805 rework dialog-close-focus-reset change to work in Tabbed 2016-02-22 15:31:26 -05:00
Paul Davis 4ed2cb67b7 fix merge mixup after rebase from master 2016-02-22 15:31:25 -05:00
Paul Davis c932c56233 cleanup post-rebase-against-master messes 2016-02-22 15:31:25 -05:00
Paul Davis 30b065f6ef provide an alternate action for controlling prefs visibility in the main menu 2016-02-22 15:31:25 -05:00
Paul Davis 6d3ee152fe add context menus for tabbable visibility buttons 2016-02-22 15:31:25 -05:00
Paul Davis a29fd4542e a bunch of stuff to make tab/window switching work better, and provide Alt-m to toggle between editor+mixer in a sane way 2016-02-22 15:31:25 -05:00
Paul Davis 64de2b415a use Tabbable::change_visibility to make tab/window control buttons do the right thing 2016-02-22 15:31:25 -05:00
Paul Davis 336d321a1b prevent dragging the last tab from the notebook 2016-02-22 15:31:25 -05:00
Paul Davis 1e537cb539 remove tab-related code for tabbed notebook, add tooltips to new buttons 2016-02-22 15:31:25 -05:00
Paul Davis 51879285c5 tab-free tabbed display, part 1.2 2016-02-22 15:31:25 -05:00
Paul Davis 47cf908998 try using top-menu-bar buttons and not notebook tabs to control window visibility 2016-02-22 15:31:25 -05:00
Paul Davis 56770ff0af change GTKOSX macro constant to use __APPLE__ instead 2016-02-22 15:31:25 -05:00
Paul Davis bc487bb4b0 replicate the remove-all-trailing whitespace commit(s) in master 2016-02-22 15:31:24 -05:00
Paul Davis 9b9a7beb13 cleanup various merge conflict resolution errors/omissions 2016-02-22 15:31:24 -05:00
Paul Davis 949163f806 more changes to Bindings, Keyboard APIs 2016-02-22 15:31:24 -05:00
Paul Davis 67e19c177f 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.
2016-02-22 15:31:24 -05:00
Paul Davis a13a8da8ac 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
2016-02-22 15:31:23 -05:00
Paul Davis d5bcf90b1a 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
2016-02-22 15:31:23 -05:00
Paul Davis 8933d53271 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
2016-02-22 15:31:23 -05:00
Paul Davis 90845af8fa hopefully get dynamic tabbable menu state right this time 2016-02-22 15:31:22 -05:00
Paul Davis 291575683c dynamically update menus/actions controlling tabbable show/hide/attach/detach operations 2016-02-22 15:31:22 -05:00
Paul Davis 16731d07d3 remove use of current_toplevel() where unnecessary, fix broken necessary cases, generally fix up show/hide/attach/detach for Tabbables 2016-02-22 15:31:22 -05:00
Paul Davis cf93eaec98 break out window ops for Tabbables into show/hide/attach/detach 2016-02-22 15:31:22 -05:00
Paul Davis 1158271f72 remove "toggle-foo" style actions related to editor/mixer windows and provide new methods that just use Tabbable::make_visible() 2016-02-22 15:31:22 -05:00
Paul Davis e3db5c5c05 save & restore the main window geometry 2016-02-22 15:31:22 -05:00
Paul Davis 552e995297 save/restore tabbable state 2016-02-22 15:31:21 -05:00
Paul Davis 9010262bed 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
2016-02-22 15:31:21 -05:00
Paul Davis 02c8d6d648 the basics of tabbed 2016-02-22 15:31:21 -05:00
Paul Davis 86d27a736c 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
2016-02-22 14:03:55 -05:00
Robin Gareus 0034ecfe49 add missing space 2016-02-14 12:55:20 +01:00
Ben Loftis 16623b1cb3 add more remote transport toggles for touchOSC: midi_panic, toggle_roll, stop_forget, set_X_range, quick snapshots. also add boilerplate for monitor controls, but those are not implemented yet 2016-01-18 18:24:14 +01:00
Robin Gareus ffde3968ec allow to show/hide Monitor Section 2015-12-19 17:42:36 +01:00
Ben Loftis 3b3261ef55 allow hiding and showing the mixer list 2015-12-10 17:21:02 -06:00
Alexandre Prokoudine 0732dc43c7 Add ellipsis at the end of "Duplicate Tracks/Busses" menu item 2015-12-06 09:58:20 +01:00
André Nusser 7a846b7e6d Make capitalization consistent and other minor spelling corrections. 2015-12-01 00:39:35 +01:00
André Nusser 5ff5faed8c Correct spelling of action names. Translation context for Reference. 2015-11-25 17:32:46 -05:00
André Nusser 69229f74e0 Add more menu entries to the 'Help' menu.
* The functions were already implemented -- I just added the links in
ardour.menu.in, corrected spelling and the link to the tracker.
* The tracker link was corrected as I considered it confusing when one
is not already logged in.
2015-11-25 17:32:46 -05:00
Paul Davis aeb7246977 partial dialog to control track duplication 2015-11-14 10:30:08 -05:00
Paul Davis 100701cb23 initial/partial implementation of duplicate track/bus 2015-11-13 16:14:49 -05:00
Robin Gareus 22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
Paul Davis eebbf64484 provide Main/cancel-solo as an action and make rude solo button(s) use it 2015-10-02 07:32:56 -04:00
Tim Mayberry 6b019a4953 Move UIConfiguration Singleton into UIConfiguration header
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16 16:55:17 -04:00
Robin Gareus 93cd0d17e4 display active peak-builds 2015-09-15 17:50:27 +02:00
Robin Gareus b05912b0cb GUI part: cleanup peak-files 2015-09-15 14:44:05 +02:00
Paul Davis 5c8e239f95 Revert "start work on auto return target dropdown rather than button"
This reverts commit d1cbb3fb0e.
2015-06-29 14:18:16 -04:00
Paul Davis eb791b7302 start work on auto return target dropdown rather than button
Conflicts:
	gtk2_ardour/ardour_ui.cc
2015-06-29 14:18:13 -04:00
Paul Davis ba981a14c4 initial version of playback priority design. No GUI control over options yet
Conflicts:
	libs/ardour/ardour/session.h
	libs/ardour/ardour/types.h
	libs/ardour/enums.cc
	libs/ardour/session_transport.cc
	system_config
2015-06-29 14:18:13 -04:00
YPozdnyakov 4465fb62f3 [Summary]: add keybindings Cmd-h (hide application) for mac
Conflicts:
	gtk2_ardour/ardour_ui.cc
	gtk2_ardour/ardour_ui.h
	gtk2_ardour/ardour_ui_ed.cc
2015-06-29 14:16:43 -04:00
Robin Gareus 4fc3d98af8 update Window > Mixer accordingly 2015-06-27 01:00:03 +02:00
Robin Gareus 02be98b3d6 Alternative approach for show/hide Meterbridge #6386
* no more on-top (transient to editor)
* similar approach as toggle editor/mixer

see also 0cd1db76f0
2015-06-26 22:35:54 +02:00
Paul Davis 1291f3d2e8 add name text for ToggleExternalSync action 2015-05-28 16:22:32 -04:00
Ben Loftis 3c711f1a9f use Go To instead of Goto 2015-05-18 16:13:27 -05:00
Robin Gareus fb3d1a6f24 x-run counter reset & typo 2015-04-29 15:47:51 +02:00
Robin Gareus 6e335ca5d9 add xrun counter to status-bar (currently no reset) 2015-04-29 03:10:27 +02:00
Paul Davis ced4378d09 Merge branch 'master' into saveas
Conflicts:
	gtk2_ardour/ardour.menus.in
	libs/ardour/session_state.cc
2015-04-20 15:10:41 -04:00
Paul Davis eba21335b9 Revert "[Summary]: Main menu item "Save Template..." should be disabled during record process."
(record_restricted_actions concept does not exist in Ardour, so this was a
mistaken cherry-pick).

This reverts commit d13fe65b89.
2015-04-02 16:35:53 -04:00
YPozdnyakov d13fe65b89 [Summary]: Main menu item "Save Template..." should be disabled during record process. 2015-04-02 16:18:17 -04:00
Robin Gareus 7e2f8bd872 amend 157299a, really fix “Show Toolbars” 2015-03-21 21:52:40 +01:00
Robin Gareus 157299a2f0 “Show Toolbars” is not saved and on by default. 2015-03-21 21:38:36 +01:00
Robin Gareus 5c0e3d4f04 always pack the log-LED into the status widget.
not only does this provide consistent look & feel,
but now the status-bar can never be empty.

Before to this change, a small useless black
rectangle remained when all elements were hidden.
2015-03-16 23:39:23 +01:00
Robin Gareus b1ff942101 OSX has a wall clock already. 2015-03-14 18:28:37 +01:00
Robin Gareus fe7dd8d862 tweak status-bar spacing 2015-03-14 18:28:36 +01:00
Robin Gareus 83babb8a52 automatic error log window popup be gone. 2015-03-14 18:28:36 +01:00
Robin Gareus c90400364a prepare saving video-export settings.
* migrate dialog from Editor to UI.
* make it a WM proxied window
* prepare applying state after construction..
2015-02-28 02:36:58 +01:00
Paul Davis 2866514c09 add initial code/stubs, actions, menu items for save as 2015-01-11 12:15:46 -05:00
Ben Loftis a4f7c21ec3 now that regions and range selections are exclusive, the separate actions to set ranges or zoom to selections are redundant. save some menu entries and keybindings by consolidating them. also consolidate some code with new function get_selection_extents(). as a side-effect, this checkin fixes the assert failure in play_with_preroll 2015-01-07 15:31:30 -06:00
Paul Davis 0d771999ac expand help menu with various useful entries.
From Georg Kraus. Addresses #5783, and was github pull request #67. Manually applied via .diff because of merge mechanics issues
2014-12-18 11:09:10 -05:00
Ben Loftis cb13fe578f show-more-ui-prefs-from-view-window is only a mixbus thing 2014-12-12 12:32:32 -06:00
Paul Davis 9ac551abab another metric ton of color work 2014-12-08 22:02:38 -05:00
Robin Gareus 8455ebce90 noop, simplify code.
(!mixer || !editor) are checked at the top of the funtion
and also used without checks further down.
2014-12-08 18:47:10 +01:00
Ben Loftis 90df6f3fe6 some keyboard layouts have KP_Separator instead of KP_Decimal 2014-10-21 16:36:15 -05:00
Paul Davis 8097b8c762 add action and menu entry for "reattach all tearoffs".
So far only does the transport tearoff
2014-10-16 13:44:36 -04:00
Robin Gareus df19c576c7 fix a bunch of memory leaks 2014-09-11 03:04:11 +02:00
Ben Loftis e062629ccd make GUI preferences discoverable from the View menu 2014-07-14 12:20:01 -05:00
Ben Loftis 555a5d6348 lots of keybinding changes. added a new action to allow removing markers at the playhead location. numpad now allows you to access marks higher than 9. to locate to a marker, use the numpad decimal to start and end the operation - for example press .19. to locate to marker 19. also added alternate bindings for redo, delete, and several other alternates that will be needed in subsequent commits. tab is not working, using either Tab or nabla in the binding.in file 2014-07-03 17:50:14 -05:00
Ben Loftis 043b76569d fix the naming and behavior of always-play-range to match the button, which is follow-edits. when you select a range, the playhead should jump to the start of the range and begin to play the selection. BUT (unlike previous implementation) if the user wants to relocate the playhead, then that should be allowed. The user should always remain in charge of the playhead location. NOTE: your previous config setting will be invalidated. You must re-save a session to overwrite with the new config variable 2014-07-03 12:56:33 -05:00
Robin Gareus a3c378cf62 move utility functions into a dedicated namespace 2014-06-25 21:47:54 +02:00
Adrian Knoth 5f45828c67 Add option to display the mixer in fullscreen
This is useful for dual-head setups.
2014-03-21 16:08:53 +01:00
Robin Gareus c2b2953f8c export video-range: add to context menu 2013-10-12 22:56:08 +02:00
Paul Davis f1aa5839c0 use WindowManager/WMProxy to correctly manage the audio/MIDI setup window 2013-09-22 19:22:56 -04:00
Paul Davis 20fa19e69e more excision of "JACK" from labels, menu items, etc.
NOTE: users will lose the sample rate/latency display in the status bar display. Not yet sure what to do about this
2013-09-17 22:25:21 -04:00
Paul Davis 7eda429155 remove JACK related action definitions (audio/MIDI setup is where this happens now) 2013-09-17 21:07:44 -04:00
Paul Davis 56465fda10 move engine dialog from a widget to an actual dialog; emit Session::AudioEngineSetupRequired when loading a session if it is necessary 2013-09-09 15:17:42 -04:00
Paul Davis bc1cc154dc always save/keep audio/MIDI setup states so that they are available for use *after* instances where JACK was already running 2013-09-05 14:21:25 -04:00
Paul Davis 58dd0198e6 save and restore settings for different backend/driver/device combinations
So far, this is only internal - never saved to disk
2013-09-04 15:45:54 -04:00
Paul Davis 8060198f75 change names of actions groups that include "jack" 2013-09-04 12:49:52 -04:00
Robin Gareus c7057c30d8 s/Window|Meter/Window|Meterbridge/ 2013-07-10 15:27:04 +02:00
Robin Gareus 04ad452bca fix meterbridge window behaviour on session unload/close. 2013-07-10 15:27:03 +02:00
Robin Gareus 35937e5083 implement meterbridge & meter-strip 2013-07-10 15:27:02 +02:00
Robin Gareus b0998844db basic window infrastructure for meterbridge 2013-07-10 15:27:02 +02:00
Robin Gareus 6b480bb2f7 vtl: make "Remove Video" insensitive if N/A 2013-06-13 00:58:19 +02:00
Paul Davis 4cd27e4733 cleanup menus/actions mess exposed on OS X; remove video items from OS X menus (for now) 2013-05-08 11:43:33 -04:00
Paul Davis a70192adff tweaks for OS X menu building 2013-05-08 10:47:45 -04:00
Paul Davis bedc7b170e change namespace/naming of WindowManager classes; register all ArdourDialog and ArdourWindow classes as ProxyTemporary windows so that transient-for can be set for all such windows 2013-05-07 22:09:16 -04:00
Paul Davis 40944574c6 the big rework of window management. probably not complete at thsi point, but this is mostly functional 2013-05-04 22:02:05 -04:00
Paul Davis 81485faa83 remove CMT code - has not been used for years, and will become irrelevant with VTL and cairocanvas 2013-05-02 12:21:41 -04:00
Paul Davis db34831b18 redesign toggling of editor/mixer stacking to use Gtkmm2ext::VisibilityTracker 2013-04-26 14:12:52 -04:00
Robin Gareus 66ee2c8e59 enable videotimeline by default 2013-04-11 19:49:48 +02:00
Robin Gareus 467b137222 vtl: remove video-maintenance menu
* only really relevant for testing/debugging.
* the back-end functions are still used for 'normal' operation
  and called implicitly when opening/closing a video.
* call stop_video_server() when removing a video.
2013-04-02 18:06:43 +02:00
Robin Gareus 941898843e vtl: add close/remove video menu entry 2013-03-29 12:35:57 +01:00
Robin Gareus 0c3e840700 videotimline
squashed 694 commits from http://gareus.org/gitweb/?p=ardour3.git
2013-03-13 20:28:15 +01:00
Paul Davis f08f3acbac remove EnableTranslations action, since this stuff is all done in the prefs dialog now and there is no need for a separate action to use with a menu item
git-svn-id: svn://localhost/ardour2/branches/3.0@13979 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-23 18:42:01 +00:00
Paul Davis 8f9a854b28 used fixed width for the big clock and remove all code in AudioClock associated with variable width, since it just really doesn't work very well, and probably cannot be made to work very well
git-svn-id: svn://localhost/ardour2/branches/3.0@13744 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-29 15:59:38 +00:00
Paul Davis 2a6689ea64 fix unused argument
git-svn-id: svn://localhost/ardour2/branches/3.0@13742 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-27 18:52:04 +00:00
Paul Davis db36cb793a fix for #5224
git-svn-id: svn://localhost/ardour2/branches/3.0@13741 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-27 18:49:35 +00:00
Ben Loftis beb3ec2d7a Always Play Range is now Follow Edits, and is based on Mixbus implementation. Added menu item. Follow Edits button replaces Auto Play; removed the connector between play and play-range. Some Smart Mode changes came along for the ride but will be cleaned up shortly
git-svn-id: svn://localhost/ardour2/branches/3.0@13537 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-20 19:43:43 +00:00
Paul Davis 50158b8bf1 restore bg color of status bar in main window
git-svn-id: svn://localhost/ardour2/branches/3.0@13444 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-11 22:36:00 +00:00