Commit graph

57 commits

Author SHA1 Message Date
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
Alexandre Prokoudine
10b715d1ff Normalize user-visible messages to use 8-bit, 16-bit, 24-bit, 32-bit and 64-bit 2015-12-06 01:00:20 +01:00
Robin Gareus
6851e5a53e session-load: default to most-recently-used snapshot 2015-11-20 03:22:41 +01:00
Robin Gareus
2f7c91c7da GUI checkbox to disable plugins
for the benefit of Windows and OSX users and everyone else who does
not run Ardour from the commandline.
2015-11-03 19:21:32 +01:00
nick_m
d48564aee5 Amend last commit. 2015-10-25 04:12:38 +11:00
nick_m
663dd1cf2c Set a larger minimum size for recent session scrollers. 2015-10-25 04:07:19 +11:00
Robin Gareus
23b975e172 use API to add system-specific volumes - #6643 2015-10-16 19:07:25 +02:00
Robin Gareus
696b89b71a rework 8b80fe0, use std::string, not char* 2015-10-15 11:24:15 +02:00
Robin Gareus
8b80fe04ad Avoid calls to Glib::ustring << operator at all cost.
Glib::operator<<(std::ostream&, Glib::ustring const&) involves
loadlocale which is not thread-safe on OSX.

This fixes various seemingly random crashes on OSX.
2015-10-14 22:46:15 +02:00
Robin Gareus
2397429e99 use quotes for in-tree pbd/glib wrapper include 2015-10-05 22:15:18 +02:00
Robin Gareus
dc36b063bf remove unused fstream includes 2015-10-05 22:15:18 +02:00
Robin Gareus
22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
Paul Davis
4dc63966f0 globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
Robin Gareus
f27800ea41 use pbd's gstdio compatibility wrapper (GUI) 2015-09-17 14:38:09 +02:00
Robin Gareus
5d38d1c751 explicit glibmm/datetime include
On some distros. glibmm.h does not include glibmm/datetime.h
2015-09-17 13:37:52 +02:00
Paul Davis
31c0a536ba fix missed but required merge resolution related to UIConfiguration's new status as a singleton in this branch. 2015-09-16 17:11:54 -04:00
Tim Mayberry
1d42ed077e Use ARDOUR_UI_UTILS::set_tooltip rather than via ARDOUR_UI::set_tip
This removes the direct dependence on ARDOUR_UI/Gtk_UI for setting
tooltips. Removes inclusion of ardour_ui.h from 16 files.
2015-09-16 16:55:17 -04:00
Tim Mayberry
c256075e63 Remove tooltips() member from ARDOUR_UI and use Gtk_UI::set_tip 2015-09-16 16:55:17 -04:00
Robin Gareus
18afd09b3b unify recent session dialogs 2015-09-16 21:37:56 +02:00
Robin Gareus
f2f7a21aea fix d6029f9 (recent sort-order)
add one, because (-0 == +0)
2015-09-16 19:30:41 +02:00
Robin Gareus
eda0a24454 add Hour:Minute to last-modified. 2015-09-16 19:01:13 +02:00
Robin Gareus
d6029f9285 remeber recent-session sort-column 2015-09-16 18:59:04 +02:00
Robin Gareus
b3e447f421 highlight default sort column 2015-09-16 18:24:57 +02:00
Robin Gareus
570d92c527 user-sortable recent session list 2015-09-16 18:24:56 +02:00
Robin Gareus
1fb38a416a add "last modified" column to session-dialog 2015-09-16 18:24:56 +02:00
Robin Gareus
6c43ca5334 partially revert de53fac (pre-sort session list)
<glib> header includes and commends remain for later use
2015-09-16 18:24:56 +02:00
Robin Gareus
c510d8a49d prepare time column in recent session 2015-09-16 01:28:55 +02:00
Robin Gareus
f1be9114c2 inspect snapshot for its info (not parent) 2015-09-16 01:28:55 +02:00
Robin Gareus
de53fac303 pre-sort recent-sessions by modification time - #6575 2015-09-16 01:28:55 +02:00
Robin Gareus
306f234a5b session->path() returns a dir (not the session file) 2015-09-10 17:39:32 +02:00
Robin Gareus
dc831e4d8b refine "recent" column headers 2015-09-01 23:17:38 +02:00
Robin Gareus
d467165927 Display column headers for "recent session"
Avoid confusion regarding "32bit"
2015-09-01 21:05:00 +02:00
nick_m
7d188c8a1e Remove the use of Window::set_keep_above() throughout startup.
This has been tested, but needs testing on more platforms (check for
obscured windows/dialogs.
Also use WIN_POS_CENTER in the "ask about loading session" dialog.
2015-03-15 03:06:39 +11:00
John Emmas
523f703b3b Move 'poor_mans_glob()' into libpbd 2015-03-09 18:32:55 +00:00
Tim Mayberry
0614bc5e81 Fix for incorrect folder selection for new sessions from bug #6069 2015-01-06 14:05:11 +07:00
Tim Mayberry
59a15a1f57 Fix Session file filter so session files are displayed in file browser
This small mistake slipped in with 78d0b2
2015-01-06 14:02:31 +07:00
Robin Gareus
78d0b2eebb un-hardcode "*.ardour" file filters 2015-01-05 18:36:43 +01:00
Robin Gareus
1648d9cbc6 fix "Session Setup" dialog obscures "File Open" dlg on windows. 2014-10-29 23:05:46 +01:00
Colin Fletcher
45fd3593eb Fix finding session templates
Session templates are directories: use find_paths_matching_filter() rather
that find_files_matching_filter() to search for them. Fix a tiny comment
typo I spotted along the way too.
2014-09-22 13:21:14 +01:00
Robin Gareus
5382d21300 vertically expand recent-session list 2014-06-26 20:54:01 +02:00
Robin Gareus
a3c378cf62 move utility functions into a dedicated namespace 2014-06-25 21:47:54 +02:00
Tim Mayberry
cd12698b9c Rename PBD::find_file_in_search_path to just PBD::find_file
saves a bit of typing and not necessary if you look at how it is used.
2014-06-25 12:40:10 -04:00
Tim Mayberry
0e96d84079 Change PBD::PathScanner API to return results by value to avoid inadvertent memory leaks 2014-06-17 21:13:05 +10:00
Robin Gareus
12cf9d5be8 fix pathscanner / stl_vector related memory leaks 2014-06-15 13:24:39 +02:00
Colin Fletcher
be7da2e952 Fix opening of recent sessions with mismatched directory & file names
When populating the list of recent sessions, and there's only one session
file in the session folder, don't assume that the base name of the session
file is the same as the name of the session directory.

Allows loading sessions that were created with trailing spaces in their
names from the recent sessions list, and also helps in the case that the
session file (or directory) was renamed.

There are actually two implementations of the 'recent sessions' chooser:
this applies to both. I suppose a useful project one of these days
would be to unify the two...
2014-06-12 23:20:06 +01:00
Colin Fletcher
83ce8dde6b Prevent creation of session directory with leading or trailing space. 2014-06-12 23:20:06 +01:00
Robin Gareus
ccdb047a0a don't load selected session if other-project is chosen:
1) Open Ardour
2) Select project from recent list
3) "Open Other" project
4) project from (2) is opened instead of the one chosen at (3)
2014-05-16 23:16:03 +02:00
Paul Davis
19ba3b8de7 fix some issues with window flow when session loading fails; shrink "New Session" button in session setup dialog 2013-10-08 12:18:27 -04:00