Commit Graph

1218 Commits

Author SHA1 Message Date
Paul Davis 2c5fcf24a5 rename ArdourStartup to NewUserWizard and rename source file(s) 2019-10-10 16:52:00 -06:00
Robin Gareus cdbf8ee160
Show pre-release dialog also for source-tree self-builds 2019-09-29 18:25:13 +02:00
Robin Gareus 4f41367836
Add Latency Control Toolbar Widgets 2019-09-29 02:45:37 +02:00
Paul Davis 468731c14b goodbye Profile->...trx 2019-09-25 13:02:31 -06:00
Paul Davis 5beeca2e95 split apart ardour_ui.cc into a series of distinct source modules.
Should be a 100% no-op - no code was altered, just moved
2019-09-23 14:49:06 -06:00
Paul Davis fcc7f335a1 UI goto_start() action no longer forces roll-after-locate 2019-09-22 12:23:54 -06:00
Robin Gareus ca4b6bb7e9
NO-OP: fix some Wimplicit-fallthrough, see prev commit 2019-09-18 17:38:01 +02:00
Len Ovens da88e9d34c Foldback gui: Added hide and show
- New menu item in view menu
- Foldback strip has hide button
- Adding a new foldback bus sets show
- setting is saved and restored
2019-09-11 16:36:05 -07:00
Robin Gareus d59aa81b39
Remove NO-OP, ProcessThread::init() does nothing 2019-09-09 18:43:57 +02:00
Robin Gareus cfc8a2c263
Push UI theme to backend, LV2 plugin options 2019-08-26 18:58:34 +02:00
Robin Gareus 994b59c836
Prefer implicit deletion of .pending
Session destruction removes ".pending", no need to explicitly delete
the file.
2019-08-16 01:55:54 +02:00
Robin Gareus 9fb403546c
Allow to inhibit screensaver/system sleep 2019-08-11 20:39:39 +02:00
Len Ovens 6bdf5cb0d7 Gui should allow foldback bus to be mono. 2019-08-06 13:16:44 -07:00
Robin Gareus 4050ca5633
Update GPL boilerplate and (C)
Copyright-holder and year information is extracted from git log.

git history begins in 2005. So (C) from 1998..2005 is lost. Also some
(C) assignment of commits where the committer didn't use --author.
2019-08-03 15:53:15 +02:00
Robin Gareus 0717c4c71a
Prefix env variable with "ARDOUR_" 2/2 2019-07-26 16:58:31 +02:00
Paul Davis 0d1d6d6975 remove -C,-E and -U command line options 2019-07-18 14:08:07 -06:00
Paul Davis 47fcc85b19 remove debug output 2019-07-18 10:53:55 -06:00
Paul Davis b47df18d5c don't bother with session dialog if user has already provided the name
This recognizes that if a template is desired, it can be also be
set from the cmdline
2019-07-18 10:53:44 -06:00
Paul Davis 5f8c9a4e60 if a user specifies just a session name (not path) and it does not exist, use the default session folder 2019-07-18 10:53:34 -06:00
Robin Gareus 8f9a1e1cf4
Use exit-status macros for compatibility 3/3 2019-07-04 22:21:49 +02:00
Robin Gareus 1cec6d1250
Remove toolbar meter (meter type) context-menu
This meter is follows in sync the master-bus meter. The type should
be set directly on the master-bus.
2019-06-09 19:45:01 +02:00
Robin Gareus 31815b5f26
NO-OP: whitespace
This fixes mostly <tab> after <space> and similar <tab> not used
for indenting as well as some related code alignment issues.
2019-04-13 17:57:46 +02:00
Robin Gareus 1557ea5314
Cleanup "Clean-up", hide dialog before starting cleanup 2019-04-07 18:51:50 +02:00
Paul Davis 51df70b405 ActionManager::get_all_actions() no longer includes <Actions> in the paths it returns, part 3 (GUI) 2019-03-20 11:15:47 -07:00
Robin Gareus 7b96fa1c5e
Fix some Gtk::Menu memory leaks
A Gtk::manage()d widget will be deleted when its parent container
is destroyed. Top-level context menus are not inside a container and
hence need to be manually deallocated.

The solution here is to use a shared Gtk::Menu pointer that is
centrally de/re-allocated.

This works because the GUI is single-threaded and at most one
context menu is visible at a time.
2019-03-07 23:50:50 +01:00
Robin Gareus 64e1d691ec
Prefer using RAII to suspend signals 2019-03-07 23:50:43 +01:00
Robin Gareus f098a6fb06
Revert "Show VCA pane whan adding a VCA"
This reverts commit 9a0260148d.
2019-03-01 18:44:52 +01:00
Robin Gareus 9a0260148d
Show VCA pane whan adding a VCA 2019-03-01 18:00:11 +01:00
Robin Gareus 8244026533
Consolidate ToggleAction cast, use new API
Furthermore we can assume that all Actions are registered and
Unregistered actions will ::abort() execution.
2019-02-28 23:54:42 +01:00
Paul Davis b0f99312d8 get ordering correct of global binding set creation and action registration 2019-02-16 01:15:12 -07:00
Paul Davis c60d8cf747 (libs) call ARDOUR::init_post_engine() from within libardour rather than requiring "users" of the library to arrange for it 2019-01-16 15:29:38 -06:00
Paul Davis 9d1fa8f820 re-order startup process, registering actions early
Mostly to stop an error when UIConfiguration::map_parameters()
looks for an action that has not yet been registered
2019-01-13 12:01:18 -06:00
Robin Gareus 2dbf804b73
No interest in bug-reports for alpha-releases
So far all 6.0-pre bug reports are known issues due to incomplete
work-in-progress. There is no manpower to triage those.
2019-01-01 16:19:05 +01:00
Paul Davis 154f9825ff remove method and inline its contents. Nothing gained by wrapping this up 2018-12-10 16:24:27 -05:00
Paul Davis fc83d044f8 use ActionManager namespace, rather than ActionMap objects, and remove all per-context action maps 2018-12-10 08:34:01 -05:00
Paul Davis 3fea1fa4f2 use new action map API instead of ActionManager::get_action 2018-12-10 08:34:01 -05:00
Ben Loftis 65bda27d42 Tweaks to Mixer and Monitor keybindings:
Add Mixer-specific view keybindings for list, vca, mon.  (thanks to: the_CLA)
Move monitor keybindings (mute, dim, mono) to be globally-accessible.

Implement new mixer-specific actions to show/hide monitor,vcas,mixbuses (the_CLA)
Move monitor funcs (mute,dim,mono) to globally-accessible actions.
Make a new Monitor group insted of using Transport group.
Allow use-monitor-section to be controlled by both menu and session-options dialog.
2018-12-07 12:57:26 -06:00
Robin Gareus 4dc65e6613
Prefer testing the session instead of using a global variable 2018-12-06 02:24:31 +01:00
Robin Gareus df28a71252
Consolidate API, prefer ->running() 2018-11-28 15:19:39 +01:00
Robin Gareus 245d48dbd0
NO-OP: Clarify function name 2018-11-28 15:16:25 +01:00
Robin Gareus f150f6c074
Use central method to check for engine where required
These are generally places where tracks/busses are created or port
connections change.
2018-11-28 00:01:50 +01:00
Robin Gareus 57d7b5de65
GUI limitation: Require engine to add/remove tracks/busses 2018-11-27 13:18:39 +01:00
Len Ovens 9b2612f686 Make foldback bus match foldback sends namewise
to avoid confusion with listener sends or monitor bus
2018-11-12 22:30:32 -08:00
Robin Gareus b06713bd8e GUI options to select FLAC as media format 2018-11-07 19:59:51 +01:00
Len Ovens 287ce3d477 Allow ListenBus to be added by GUI 2018-11-01 13:13:48 -07:00
Robin Gareus 4f86da8544 Wimplicit-fallthrough fixes for gtk-ardour 2018-10-26 14:53:49 +02:00
Paul Davis 58e9bb0a14 move away from "sync source" concepts 2018-10-05 14:15:02 -04:00
Robin Gareus d71dfdfd6a Add a window that shows DSP usage of all plugins
Currently hidden, use
  Editor:access_action("Window", "toggle-plugin-dsp-load")
2018-09-25 00:13:08 +02:00
Paul Davis 6ca8ec5141 remove debug output 2018-09-23 13:48:19 -04:00
Paul Davis d9de14aa63 rename transport masters dialog -> window 2018-09-23 13:48:19 -04:00
Paul Davis db385c2e3c new transport slave/master implementation, gui edition 2018-09-18 19:06:04 -04:00
Robin Gareus c74f02025d Unify support chat channel. 2018-08-04 21:33:21 +02:00
Robin Gareus afb5d8cc24 Fix some GUI typos (thanks to IOhannes/debian for reporting) 2018-02-28 20:40:38 +01:00
Robin Gareus 54db84ffee Re-add fixed-color DSP-load indicator background 2018-02-20 12:53:21 +01:00
Robin Gareus 66732e4791 Use standard Labels again.
Since the Gauges become little more than text with colored background,
prepare their removal. If color is wanted, use named widget-style.
2018-02-20 12:15:29 +01:00
Ben Loftis 9fe534ede8 Shuffle order of items in status bar; change behavior per oofus on irc.
( note: this essentially reverts ed459a )
2018-02-17 09:24:46 -06:00
Ben Loftis fa22689b70 Consistently use Gauge to avoid the overloaded term Indicator. 2018-02-17 09:24:15 -06:00
Ben Loftis cfed95fd0b Remove unused status labels. (using gauges instead) 2018-02-17 09:24:14 -06:00
Ben Loftis 309ca938e6 Add Disk IO gauge. 2018-02-17 09:24:14 -06:00
Ben Loftis f50c839ea8 Blink disk+dsp gauges on major errors ( disk out of space or xrun-while-recording ) 2018-02-14 10:26:23 -06:00
Ben Loftis dc61256466 new_grid: Rewrite of Snap and Grid. (squashed commit)
Separate Snap from Grid.  Lots of naming changes.
Multiple simultaneous snap options allowed. Grid is one of the possible Snap options.
Grid uses the same data as the rulers.  Replace complicated tempo_lines with simple grid_lines.
The Grid is zoom-scale-sensitive along with the rulers.  If you are zoomed out, grid becomes coarser.
2018-02-09 09:59:39 -06:00
Robin Gareus d03352cfac Add Toolbar disk-space widget. 2018-01-14 18:49:27 +01:00
Robin Gareus c7ed461bcf Add DSP-load & x-run widget to the toolbar. 2017-12-28 15:53:40 +01:00
Robin Gareus 22c497b62d Add a separate, dedicated transport-control window 2017-12-22 22:15:50 +01:00
Robin Gareus aab787f686 Separate and consolidate Transport-Control-UI code 2017-12-22 22:15:50 +01:00
Robin Gareus 12a5102713 Catch exceptions by const reference 2017-11-23 10:38:52 +01:00
Robin Gareus 15150c57c1 Implement clock delta modes
* use new config variable
* update GUI to select delta-modes
* delegate delta-calculation to MainClock
* save offset to calculate absolute-time
2017-11-23 00:13:32 +01:00
Robin Gareus 8e8168547b Fix NSM for distro-builds (waf install) 2017-10-31 15:26:29 +01:00
Robin Gareus 0f82302e63 Update GUI, use filename-extensions 2017-10-18 19:24:54 +02:00
Robin Gareus b73eac450a Fix session-archive file extension filter 2017-10-03 03:09:25 +02:00
Robin Gareus f9710f4624 Update Session-Archive Dialog: add compression-option 2017-10-03 02:24:19 +02:00
Paul Davis 7db12f6b12 convert codebase to use Temporal for various time types 2017-09-24 12:03:54 -04:00
Paul Davis b1659f8c31 correct version in pre-release warning 2017-09-19 08:34:04 -04:00
Len Ovens 0cf116c43a Menu Action list omit leading / 2017-09-18 10:30:37 -07:00
Paul Davis 30b087ab3d globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
Paul Davis 68e57101ad fully remove diskstream code 2017-09-18 11:40:53 -04:00
Robin Gareus 201d536ee9 Reset RouteDialog: name edited by-user
* after each "Add" operation
* when cleaning the name field
2017-08-22 17:07:42 +02:00
Johannes Mueller bb20327959 Pass session description or route comment as default description
... to SaveTemplateDialog
2017-08-20 21:09:30 +02:00
Johannes Mueller 245154d06a Let user add a route template description on saving route templates 2017-08-20 21:09:30 +02:00
Johannes Mueller ae51d5fd4e Let the user add a template description on saving session templates 2017-08-20 21:09:30 +02:00
Robin Gareus 2cc32456ab Lua may call C++ functions with throw. Catch them 2017-08-19 01:06:44 +02:00
Robin Gareus e0a83a758e Redesign Session+Route Template Meta Script API
Remove special-cased script types. Allow Action-Scripts to be re-used
for session-setup or route-templates.
2017-08-18 20:42:55 +02:00
Robin Gareus f85c320759 Push user track-templates to the template list 2017-08-18 02:38:25 +02:00
Robin Gareus d2ad0a6c5f Consolidate add/track/route/bus wrappers -- step one. 2017-08-18 00:11:54 +02:00
Ben Loftis ed8b8ffc71 Track Templates: redesign of Add Track dialog. 2017-08-17 13:32:01 -05:00
Robin Gareus 8ecbf0486f Update GUI, session-format notifications, skip unusable in recent list 2017-08-17 18:52:07 +02:00
Robin Gareus 24cb141aa6 Revert "Revert ongoing SessionDialog changes for 5.11 release."
This reverts commit bd40b9132c.
2017-08-16 05:23:13 +02:00
Robin Gareus bd40b9132c Revert ongoing SessionDialog changes for 5.11 release.
To be reverted again after the release. This temporarily reverts

26c88b2, c67d1d4, 5e41293, 8b7df13, ff61435, 1039894, 8717c0d
and GUI parts of 47d86cf
2017-08-16 01:17:35 +02:00
Robin Gareus 26c88b2a3e Replace advanced session-setup options with script 2017-08-16 00:51:20 +02:00
Robin Gareus b3dc75fed3 Prepare for removal of Advanced Session Options (BusProfile) 2017-08-16 00:51:20 +02:00
Robin Gareus c2afd958ba Re-add template script debugging (after 7d48e80e) 2017-08-15 17:46:04 +02:00
Robin Gareus 3ff352be79 Maybe fix crash on Close Session -> Quit (windows threading) 2017-08-11 19:45:49 +02:00
Robin Gareus 7d48e80e5f Fix MSVC builds (binding external static members)
This Revert "Lua GUI Instance update: prepare for template scripts"
commit c37cdf548d.
2017-08-11 18:01:28 +02:00
Robin Gareus f27e53f485 Add support for scripted meta-templates. 2017-08-11 15:24:05 +02:00
Robin Gareus 80e0094ef4 Add support for templates to invoke one-time scripts 2017-08-10 02:26:08 +02:00
Robin Gareus 1b5354632f Fix Session > New (cancel retains the current session if any) 2017-08-03 19:25:14 +02:00
Robin Gareus 53565962b2 Ask user to save when using save-as or snapshot+switch. 2017-07-26 23:49:57 +02:00
Robin Gareus 1f5ebc5485 Remove ArdourPrompter wrapper 2017-07-17 21:06:04 +02:00
Robin Gareus eb1e423b75 Remove <gtkmm.h> include from header files. 2017-07-17 21:06:04 +02:00
Robin Gareus f9e5e4360e Move more Gtkmm2ext widgets into libwidget 2017-07-17 21:06:04 +02:00
Robin Gareus f6e182b937 Move Gtkmm2ext widgets into libwidget 2017-07-17 21:06:04 +02:00
Robin Gareus 5c92613698 Separate Ardour UI widgets into dedicated library 2017-07-17 21:06:04 +02:00
Johannes Mueller 610d9fd3b9 First draft of a template management dialog
Goal is to a simple dialog that can rename and remove templates. This is
helpful in order to keep the template list tidy.

So far it works for session templates. Track templates tbd.
2017-07-12 16:15:03 +02:00
Robin Gareus 54aa82cd4b Another approach for stuck splash-screens:
Use Editor::first_idle() which is invoked every time when a session
is loaded (via set_session). This will catch ALL successful
session loads.

Failed session-loads explicitly pop down the splash in
ARDOUR_UI::load_session.

This only leaves "abort session open" which returns to the
session-open dialog (which pops back the splash).
2017-07-03 16:19:10 +02:00
Thomas Brand 218528dbe9 Fix some typos (closes GH PR #356) 2017-07-01 21:29:46 +02:00
Thomas Brand 63ea7b6516 NO-OP whitespace (updated GH PR #357) 2017-07-01 19:28:26 +02:00
Robin Gareus 2b1b0aa240 Fix crash when rapidly switching snapshots
ARDOUR_UI::load_session() calls flush_pending() which runs
gtk_main_iteration()s until idle.

If a user selects another snapshot from the sidebar, load_session()
is called again (from a call to load session)
2017-07-01 03:10:50 +02:00
Robin Gareus 1e97c09eed Fix adding tracks/busses at the top 2017-06-17 04:37:10 +02:00
Daniel Sheeler 2c41df9474 add route dialog now has "Add" and "Add and Close" buttons. "Add" keeps dialog open so user can add multiple templates. 2017-06-03 21:44:48 -05:00
Paul Davis b21c4b41a3 when creating a new session after working on one, the "Cancel" button should be a quit button.
This avoids ending up with a null Session pointer in the GUI (#7369)
2017-05-29 15:35:03 -04:00
Tim Mayberry c72e3f16a1 Use correct property names for Editor transport controllable state
These are normalized in the PBD::XMLProperty ctor, which is why
Editor::get_transport_controllable_state() uses the hyphenated names to
retrieve the properties and will not result in any state format change.
2017-05-26 08:48:04 +10:00
Robin Gareus 24d5f1a624 Tweak/fix splash screen event-loop
Prevent possible endless loop in Splash::display() and handle
some related edge-cases and race conditions WRT expose_done
and is_visible().
2017-05-11 14:20:56 +02:00
Len Ovens ba24f287ca Make -A open action list in a browser instead of command terminal. 2017-04-29 22:47:24 -07:00
Len Ovens 73e80b4429 Set -b to open in browser. 2017-04-29 15:37:31 -07:00
Len Ovens 620f3b9358 Change actions to -A and use -b to output keybindings 2017-04-28 08:19:20 -07:00
Robin Gareus 1ebf35f137 Allow to hide engine dialog w/o unloading session. 2017-04-27 21:10:37 +02:00
Len Ovens 68883cbb56 Changed "ardour" to PROGRAM_NAME 2017-04-22 15:32:48 -07:00
Len Ovens b81d6a6160 Set -b switch to only two columns, correct options text. 2017-04-22 08:07:35 -07:00
Len Ovens 5d5642d6ec Add HTML output for -b so that output can replace actions page in manual. 2017-04-21 12:58:59 -07:00
Tim Mayberry e15524cc64 Use PBD::to_string instead of std::ostream when setting up video server url
To avoid issues with locales that use grouping/thousands separators.
2017-04-19 09:36:59 +10:00
Tim Mayberry 41493d556a Use XMLNode::get/set_property API in ARDOUR_UI class 2017-04-19 09:36:55 +10:00
Tim Mayberry fda05ac64b Use ID::to_s() in gtk2_ardour instead of ID::print() 2017-04-19 07:49:58 +10:00
Robin Gareus 47ea6534d0 Add option to disable blinking alert buttons. 2017-03-26 21:42:01 +02:00
Robin Gareus 4ae5737beb Add GUI-Idle debugging/profiling util 2017-03-15 11:34:05 +01:00
Robin Gareus e8ea0548e0 Fix save-as progress dialog.
ScopedConnection and label,bar went out of scope.
2017-03-06 15:42:58 +01:00
Robin Gareus 5524bac04b Don't try to auto-start engine for new sessions
Work around logic-flow in EngineDialog which should already have
done that, but may no longer heed this special-case if sample-rate
dropdown is refreshed to only devices supported ones.
2017-03-02 20:01:48 +01:00
Robin Gareus a1a2e088a5 Allow to switch master-meter type in the toolbar-meter 2017-02-24 23:41:22 +01:00
Paul Davis e00d35f1e8 Revert "ARDOUR_UI transport buttons should use ArdourButton::set_related_action()."
This reverts commit 35f35ad662.

This commit was a mistake: the controllables are needed to allow MIDI binding
to transport buttons.
2017-02-21 15:49:31 +01:00
Robin Gareus 3a50975c3d First-time startup logic update.
When *not* copying old config, Ardour should display the "first time"
dialog.
2017-02-20 20:47:57 +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
Paul Davis 182cb89733 NO-OP: whitespace 2017-02-09 12:40:59 +01:00
Paul Davis c816d34d68 explanatory comment and logic change to cover when we switch to the new session after save-as 2017-02-09 12:40:59 +01:00
Paul Davis 668d970dd0 always hide splash screen after save-as session switch 2017-02-09 12:40:59 +01:00
Paul Davis 35f35ad662 ARDOUR_UI transport buttons should use ArdourButton::set_related_action().
I have no idea what I or anyone was thinking with the silly
TransportControllable nonsense, but it's all gone now.
2017-02-02 13:05:05 +01:00
Robin Gareus 7960e1ddbf GUI follow up for new-MIDI-track API change 2017-01-20 21:47:09 +01:00
Robin Gareus 1d2a76f239 Free some one time alloc of the UI (cleaner valgrind output)
No incremental leaks here..
* downcase (const char*) uses strdup, caller needs to free
* free allocated cursors when the editor is destroyed
* drop static editor lua-instance & bindings
* delete allocated gtk image/icons
2017-01-20 13:53:37 +01:00
Robin Gareus 645402bc42 Add GUI action to record with preroll 2017-01-18 15:16:05 +01:00
Robin Gareus cf31233cd1 Cleanup global monitor options:
- rely on parameter-changed signal emission to update buttons
- use dedicated button/style names
- improve tooltip
2017-01-18 12:25:02 +01:00
Robin Gareus b4ecb2525c Fix a -Wreorder 2017-01-16 22:30:39 +01:00
Robin Gareus cf5a0de709 Add initial GUI support for global monitor states 2017-01-16 19:54:42 +01:00
Ben Loftis abe093dcc9 rename Bindings -> Keyboard Shortcuts 2017-01-12 11:51:43 -06:00
Robin Gareus d1e7a5bd1c Windows/Videotimeline: support all drives (no fixed docroot/drive-letter) 2017-01-11 03:55:04 +01:00
Robin Gareus bbd7b2aeea Prepare for windows video support on all drive-letters.
* add harvid version detection (>= 0.8.2 is needed)
* special case empty docroot (for windows, pass drive-letter)
2017-01-10 22:38:43 +01:00
Robin Gareus a2bf54c041 re-group preferences part eight and nine of 27 (probably) 2016-12-30 17:04:50 +01:00
nick_m d0580ecfbc allow all types of range location (loop, start, end etc.) to be glued to bars and beats. 2016-12-29 01:39:31 +11:00
Robin Gareus f76e8868ef Add GUI support to extract and open session-archives 2016-12-27 22:25:22 +01:00
Robin Gareus 91321272b5 Add option to hide the 2ndary clock 2016-12-21 23:04:15 +01:00
Robin Gareus 1a500bc00b Don't redraw hidden toolbar elements 2016-12-20 12:34:40 +01:00
Robin Gareus 73ad6b3766 Allow to customize parts of the main toolbar 2016-12-20 03:59:15 +01:00
Robin Gareus 58124e7544 Don't dynamically allocate ShuttleCtrl
With manage() both the button and shuttle were free'ed when the table
was destroyed.
2016-12-20 00:20:00 +01:00
Robin Gareus 9dad10f691 Add UI to set global track layered mode 2016-12-17 02:43:42 +01:00
Robin Gareus 27d0b67b8f Remove close/OK buttons from engine dialog 2016-11-30 14:44:36 +01:00
Robin Gareus 43b468aa14 speed up track/bus creation a bit 2016-11-25 18:16:08 +01:00
Len Ovens 1457050d7a Fix Drifting Master hopefully for real this time. 2016-11-04 08:39:41 -07:00
Len Ovens 997b48baf7 Fix moving master 2016-10-30 06:48:05 -07:00
Paul Davis a127cb35b5 propagate key press events through the widget heirarchy + custom ardour bindings, not just focus widget-then-global bindings 2016-10-17 13:30:15 -04:00
Paul Davis 587439acf8 fix crash on OS X el capitan when using command line arguments 2016-09-29 13:05:38 -04:00
Paul Davis 1f88b6d35f make error dump on stderr slightly more obvious 2016-09-28 11:28:45 -05:00
Robin Gareus 8e8a0a9ef4 GUI option to Exclude unused sources 2016-09-23 20:43:26 +02:00
Robin Gareus 03fe02703d GUI updates for archiving sessions 2016-09-21 04:06:23 +02:00
Robin Gareus 5232e0f2af GUI support to archive session 2016-09-20 19:52:56 +02:00
Robin Gareus 7fe91a7d1c fix another crash at exit #7033
Don't construct the bindings editor only to disconnect its signals
2016-09-18 10:03:37 +02:00
Robin Gareus 8e995be5cf copy demo sessions 2016-09-13 19:31:38 +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 07bb5ff347 move kbd focus reset method into ARDOUR_UI where it (probably) belongs 2016-09-06 16:17:08 -04:00
John Emmas ab76a49b22 Fix a bug when formatting time strings
It seems that 'strftime()' (on Windows) works differently from its non-Windows counterparts. Specifically, some formatting options (e.g. %F) are not recognised in the Windows implementation.

Fortunately, glibmm comes to our rescue here! So let's use the glib implementation which will hopefully work the same on all platforms.
2016-09-01 12:31:33 +01:00
Paul Davis 289ad1f3c7 use user-specified insertion point when adding new tracks/busses with a template 2016-08-22 09:44:48 -04:00
Paul Davis 39e9add5c0 use insert at specification when duplicating tracks/busses 2016-08-22 09:41:59 -04:00
Paul Davis 36f232d558 factor out "new route insertion point" enums so they can be shared by relevant dialogs 2016-08-22 08:40:12 -04:00
Robin Gareus 9e981367e2 Fix another crash at exit:
Collecting bindings after ::finish() has already destroyed half the GUI
will result in memory corruption invalid Glib::RefPtr<Gtk::Action>

 Gtkmm2ext::ActionMap::get_actions()
 Gtkmm2ext::Bindings::get_all_actions()
 KeyEditor::Tab::populate()
 KeyEditor::refresh()
 Editor::set_script_action_name()
 LuaInstance::session_going_away()
 PBD::Destructible::drop_references()
 ARDOUR::Session::destroy()
 ARDOUR::Session::~Session()
 ARDOUR_UI::finish()
2016-08-21 23:02:37 +02:00
Nils Philippsen 65c2e089ab workaround changes in glibmm 2.49.x
Glib::RefPtr defines the operator bool() as explicit which breaks
comparisons like "some_ref_ptr == 0" or "... != 0".

https://bugzilla.gnome.org/show_bug.cgi?id=769502
2016-08-04 09:52:22 +02:00
Robin Gareus ac8f4baa00 add some flush_pending timeouts 2016-07-25 14:51:23 +02:00
Paul Davis 1a55e83e98 move show_gdk_event_state() utility function from gtk2_ardour to libs/gtkmm2ext 2016-07-18 14:41:25 -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 699d008e06 use Session::cancel_all_solo() 2016-07-13 14:33:46 -04:00
Paul Davis eab3c57b83 fix odd double conditional 2016-07-13 13:43:31 -04:00
Paul Davis 11f8e3adc4 stop-and-forget-capture should not toggle transport state, only stop it 2016-07-04 09:41:21 -04:00
Paul Davis 0809f088be Revert "remove unnecessary duplicate loading of GTK RC file"
This reverts commit 694d805bb0.
2016-06-29 17:38:40 -04:00
Paul Davis 694d805bb0 remove unnecessary duplicate loading of GTK RC file 2016-06-29 01:23:12 -04:00
Robin Gareus b027d9df42 BSD portability
Adopted from Michael Beer -- GH pull-request #232
2016-06-26 16:44:45 +02:00
Paul Davis 40bb2a5a08 use running_from_source_tree() 2016-06-21 19:26:05 -04:00
Paul Davis d42f075408 stop AddRouteDialog from being modal and from using a recursive run loop 2016-06-12 14:54:01 -04:00
Paul Davis 2814ff4866 use contextual translation macro for "Locations" 2016-06-07 12:32:57 -04:00
Paul Davis 44c56fff6f add pre-release warning dialog. It wil not be shown when running via ardev etc. 2016-06-06 13:40:14 -04:00
Paul Davis 260058a4a9 move from PresentationInfo::global_order() to PresentationInfo::order, and fix up part of reordering behaviour
Dragging tracks/busses in the editor *below* VCAs still does not work
2016-06-03 15:15:39 -04:00
Paul Davis d30266dfc3 use new record safe control in GUI 2016-05-31 15:30:45 -04:00
Paul Davis bd43428a65 add route dialog should always show up wherever the mouse is, not in its last location 2016-05-31 15:30:43 -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 52d4cea712 fix dialog message shown when a backup of an old session file is made 2016-05-31 15:30:42 -04:00
Paul Davis e0ff70cf86 first vaguely working version using PresentationInfo
remote control ID and "order keys" have been removed.
2016-05-31 15:30:42 -04:00
Paul Davis b2b5c965c8 some tweaks for solo logic to get things working as they were before (correctly) 2016-05-31 15:30:40 -04:00
Paul Davis 653ae4acd6 universal change in the design of the way Route/Track controls are designed and used. The controls now own their own state, rather than proxy for state in their owners.
Massive changes all over the code to accomodate this. Many things are not finished. Consider this a backup safety commit
2016-05-31 15:30:40 -04:00
Paul Davis 33e56e58d7 initial part of vca assignment via context menu 2016-05-31 15:30:38 -04:00
Paul Davis 99d251de7d first pass at making the GUI for a VCA visible 2016-05-31 15:30:38 -04:00
Paul Davis 0e1190c555 extend add route dialog to include VCA masters 2016-05-31 15:30:38 -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 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
Robin Gareus 026f8dd80f group Product/App specific resources
* only install icons relevant to product
 * use program-name (as-is) as prefix
 * keep icons/* for all products
2016-05-17 13:12:05 +02:00