Commit graph

104 commits

Author SHA1 Message Date
Robin Gareus
5f18d8ddfd
Clarify default template description 2019-04-10 00:22:39 +02: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
4dc65e6613
Prefer testing the session instead of using a global variable 2018-12-06 02:24:31 +01:00
Robin Gareus
b81fdeaa66 Work around tooltips in treeviews selection issue #7678
When tooltips are disabled, but a tooltip column is set for a treeview,
the treeview selection behaves inconsistently. It requires a 3rd click
after expanding any child-rows to select a child.
2018-11-01 23:21:23 +01:00
Robin Gareus
b844e3f45a Remove debug output from 39f65bbce 2018-10-05 00:56:59 +02:00
Robin Gareus
39f65bbce2 Sort Factory/Lua-script session-templates 2018-10-04 03:36:40 +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
Robin Gareus
0fd861d8de s/created with/modified with/
Once a session has been saved by a more recent version or a different
variant, the session file is tied to that version/variant.

The created-with version is only for debug purposes and internal use.
2017-09-21 02:01:12 +02:00
Paul Davis
ea5fa64c0b manually fix up various cases where Gtk:Frame foo_frame had been changed to foo_sample 2017-09-18 14:59:11 -04: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
Ben Loftis
3c81351413 Mixbus needs to show Created-With on the recent sessions list 2017-09-10 15:33:12 -05:00
Robin Gareus
08e564dc2e Fix session-open after selecting new, template, then back 2017-08-24 02:08:32 +02:00
Robin Gareus
1a70a2f977 Cont'd work on route-templates 2017-08-20 00:18:58 +02:00
Robin Gareus
722ac7575a Revert non "aesthetic tweaks" from f614d10994 2017-08-19 01:34:27 +02:00
Robin Gareus
2cc32456ab Lua may call C++ functions with throw. Catch them 2017-08-19 01:06:44 +02:00
Ben Loftis
f614d10994 Templates: aesthetic tweaks. 2017-08-18 16:40:14 -05: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
6042c60b05 NO-OP: whitespace & scope 2017-08-17 21:00:46 +02:00
Ben Loftis
a02d8d254a Fix merge error. 2017-08-17 13:49:41 -05:00
Ben Loftis
91e684ceeb Templates: fix unintended commit from debugging 2017-08-17 13:31:32 -05:00
Ben Loftis
0ac2ea51a5 Templates: dialog tweaks. 2017-08-17 13:31:02 -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
e62e040502 SessionDialog: hide created-with column in Ardour, use a tooltip. 2017-08-17 16:47:27 +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
Paul Davis
c67d1d477e tone down frame color and use a better widget name 2017-08-15 10:48:29 -04:00
Paul Davis
5e41293f9e NO-OP: indent and remove whitespace 2017-08-15 10:46:31 -04:00
Paul Davis
8b7df135b1 put a frame around template description, change background color 2017-08-15 10:45:47 -04:00
Ben Loftis
ff61435a88 Further tweaking of layout and packing. 2017-08-14 18:01:17 -05:00
Ben Loftis
1039894f34 Rationalize gtk box packing. 2017-08-14 17:37:29 -05:00
Ben Loftis
8717c0d3b0 Auto-select an Empty template. 2017-08-14 17:20:34 -05:00
Ben Loftis
47d86cf54d Change the template pulldown menu into a tree list. Populate the Description view when a template is selected. 2017-08-14 16:14:42 -05:00
Robin Gareus
f27e53f485 Add support for scripted meta-templates. 2017-08-11 15:24:05 +02:00
Robin Gareus
a38cdb0ae3 Add template dropdown sensitivity
...for those who select a template but forget activate the checkbox and
wonder why it doesn't work :)
2017-08-11 15:24:05 +02:00
Robin Gareus
f9e5e4360e Move more 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
Robin Gareus
a8b545661f Open session folder when selecting path 2017-04-28 14:33:06 +02:00
Robin Gareus
ecda1a8f55 Allow "remove from recent" only for top-level 2017-04-28 14:32:37 +02:00
Robin Gareus
da081e0108 parse modified-with for up to 5 snapshots. 2017-01-21 13:00:07 +01:00
Robin Gareus
10d87ceb83 Don't inhertit "last modified" for snapshot 2017-01-21 12:51:10 +01:00
Robin Gareus
d4c48390cc Show last modified in recent-list 2017-01-21 01:19:24 +01:00
Robin Gareus
17881b3221 update UI, new info API, display created_version in tooltip 2017-01-20 18:16:32 +01:00
Robin Gareus
f76e8868ef Add GUI support to extract and open session-archives 2016-12-27 22:25:22 +01:00
Robin Gareus
e97404c5de Speed up recent-session display with lots of snapshots.
Given that a session can easily have >100 snapshots and one cannot change
the sample-rate anymore, it's mostly useless to parse them all.
2016-12-08 20:33:26 +01:00
Robin Gareus
02ded90618 allow to remove a session from the recent list 2016-11-30 11:07:37 +01:00
Robin Gareus
70b580a4b4 Hold ctrl + click "open" session -> safe mode
This allows to hide the "Safe Mode" checkbox.
2016-10-06 17:42:46 +02:00
Paul Davis
cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -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