7302aefbee
Guard set_transient_for for NULL windows
...
While there should always be a top-level, backtraces
provided by some [windows] users show that it can be NULL
in some scenarios.
2023-04-04 01:38:33 +02:00
3a6e3c2c13
Add audition volume control to clip-picker
2023-03-29 01:48:25 +02:00
b35518e212
switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr
...
This is mostly a simple lexical search+replace but the absence of operator< for
std::weak_ptr<T> leads to some complications, particularly with Evoral::Sequence
and ExportPortChannel.
2023-03-24 14:19:15 -06:00
d1b462c213
Special case tansient-parent windows on macOS
...
macOS has its own z-axis stacking (see Manager::set_transient_for) for
dialog and utility windows of a single application. There only case to
set a dedicated transient parent is to keep the child window on top of a
dialog.
Valid use-cases are e.g.
Plugin Preset Name entry on top of a PluginWindow
Export Format Settings on top of the Export Dialog
Alternatively one would need to patch gtk to handle
[NSView shouldDelayWindowOrderingForEvent] and explicitly reorder
siblings of a common parent window.
This fixes an issue that plugin windows cannot be re-stacked but were
previously always stacked in the order they were opened.
2022-11-15 03:07:43 +01:00
6ba740d37a
add freesound dir to prepopulated dirs in clip list
2022-10-20 12:49:19 -06:00
2b3312e7d3
better color selection for text in clip list
2022-10-13 17:39:16 -06:00
4d4da13d55
Fix Clip listing (include all shortcuts, update colors)
...
* GTK fills in the snapshots in the background (using background threads
to test files).
* Actual colors may only available after the widget is realized (not
directly after ensure_style)
2022-10-13 04:10:11 +02:00
b40179854a
Revert "no bundled content for Ardour"
...
this was a mistake.
This reverts commit 9662e6eac0
.
2022-10-04 11:01:59 -06:00
9662e6eac0
no bundled content for Ardour
2022-10-03 15:21:40 -06:00
a0a2138651
Highlight auditioned clips
...
This changes the color of auditioned clips in the clip-list.
The highlight is reset when changing folders or when importing
a clip via DnD.
2022-10-03 01:19:50 +02:00
0d5fd0de0c
rename "library manager" to "library downloader everywhere (breaks string freeze)
2022-09-27 11:22:56 -06:00
b4ad81075e
provide and use a method to show the library download manager
2022-09-26 16:40:08 -06:00
fb750aa4b8
skeleton to allow opening the library download manager from the clip viewer
2022-09-26 11:15:52 -06:00
7cad01ae1e
clip list: add a Refresh button to the file list
...
It is tempting to update the list automatically when the dire contents change,
but this can lead to the list changing while the user is clicking to audition
or drag.
Instead, we should sensitize the button only when the dir contents have changed.
2022-09-21 20:47:23 -05:00
2848cc5f38
Disambiguate clip/sample/slot
2022-07-14 00:06:48 +02:00
Mads Kiilerich
2aa72891f3
gtkmm: use ALIGN_START instead of deprecated Gtk::AlignmentEnum::ALIGN_LEFT
2022-04-08 21:11:06 +02:00
638af32902
clip_picker: tweak .smf file info text
2022-03-01 10:11:14 -06:00
566596e383
Fix Dnd from clip-picker on macOS
...
On macOS, `context->get_targets ()` may be empty when dragging.
In this case the Clip-Picker assumed that a slot is about to
be dropped and switched to the local clip library.
This in turn cleared selection and it was no lnger possible
to drag any clip out of the library.
2022-03-01 16:33:39 +01:00
ee9e7589ee
trigger_ui: add more tooltips
2022-02-19 12:12:43 -06:00
d20dfe8f88
clip_picker: fix logic to show MIDI file properties
2022-02-12 09:35:24 -06:00
9b3d0ddd11
Fix incorrect check for existing directory
...
Glib::file_test returns true if **any** of the tests in the
bitfield test are true (not *all*).
2022-02-10 22:04:40 +01:00
ff56cd61b3
Do not switch to Clip Library when moving a file into the dropzone
2022-02-10 21:59:53 +01:00
a63a18a338
Do not allow to add the same folder to the clip library path twice
2022-02-10 18:25:11 +01:00
76a133cdf0
Allow to add folders to the clip-list via DnD
2022-02-10 18:09:45 +01:00
c8ed5fdef6
revert 'testing' part of e0b14f: always showing the pgm-picker was an annoyance
2022-02-09 13:09:07 -06:00
e0b14f0231
clip picker: Add midi file properties; only shown when .mid is chosen
2022-02-07 19:33:43 -06:00
65f7e158a9
clip picker: tweak layout and rename _dir variable
2022-02-07 19:33:43 -06:00
d22269f59f
Trigger Page: add an audition-synth selector to Clip Picker
2022-02-04 21:41:34 -06:00
6df1bd3ad5
Triggger Clip Picker: fix crash at session close
2022-02-04 13:58:22 +01:00
834e164df0
Trigger Clip Picker: Idle update audition synth
...
This keeps the plugin in sync with any changes made to the
Plugin UI. In particular General MIDI Synth will send
notifications once patch/program changes are processed.
ACE Fluidsynth can load sf2 files, etc.
2022-02-04 13:57:33 +01:00
65e3177910
Trigger Clip Picker: fix crash at exit (auditioner reference)
2022-02-02 23:08:49 +01:00
2c8427773f
Trigger-clip audition: show audition-synth GUI (WIP)
...
This is somewhat experimental, also the Plugin UI is only
available while MIDI audition plays...
2022-02-02 22:09:47 +01:00
0da02b582d
Trigger clip picker: button to open library folder
2022-01-30 22:44:39 +01:00
ac6835c7d8
DnD export of Regions to shared clip library
2022-01-29 16:22:51 +01:00
92024697aa
Prepare clip-export DnD
2022-01-29 03:04:17 +01:00
luz paz
364f2f0788
Fix typos in gtk2_ardour/ directory
...
Found via `codespell -q 3 -S *.po,./share/patchfiles,./libs -L ba,buss,busses,doubleclick,hsi,ontop,ro,seh,siz,sur,te,trough,ue`
2022-01-26 12:35:38 -05:00
0eb44c3be9
trigger_ui: cancel audition when you drag+drop a clip so you can play with it
2022-01-17 19:47:49 -06:00
a970ddbaa5
Trigger clip picker: cleanup c'tor (sensitivity)
2022-01-13 00:10:58 +01:00
78d15aa153
Trigger clip picker: add support for media meta data
2022-01-13 00:10:45 +01:00
2f9b896f06
trigger picker: tweak layout and behaviors ... more ArdourButton-y
2022-01-11 12:26:14 -06:00
a48d9a31bc
Trigger clip picker: allow auto-audition on selection
2022-01-11 00:56:33 +01:00
658d8c512e
Trigger clip picker: add apple loop paths
2021-12-30 21:23:05 +01:00
d06a70a10a
Trigger clip picker: constrain browsing to parent folders.
...
Allow to move up to the highest common path, but not further.
2021-12-30 21:22:52 +01:00
3cf9c1f047
Cont'd work on trigger-clip picker
...
* Allow custom paths
* Add ".." open parent folder
* Allow to descend into folders
2021-12-20 02:40:53 +01:00
4432a89704
Cont'd work on trigger-clip picker
...
* Only enabled auditioning when a file is selected
* Skip hidden folders/files
* Only drag files (not folders)
2021-12-18 01:27:47 +01:00
a908218676
Dynamically create clip-picker file tree, lazy load subfolders
2021-12-18 00:02:32 +01:00
d59a1944fe
Tweak trigger/clip media browser layout
2021-12-17 03:57:17 +01:00
e3be6836ca
Trigger-clip-picker audition
2021-12-17 00:42:06 +01:00
9fd0b20b2a
Towards a proper media/clip-browser
2021-12-16 19:08:04 +01:00
be7882d7a7
Skeleton for trigger clip file dialog
2021-12-12 14:25:49 +01:00