Commit Graph

34221 Commits

Author SHA1 Message Date
ac97b30e55 triggerbox: implement stretch options, save+recall 2022-01-11 16:27:03 -06:00
1cc470264f
NO-OP: clang format 2022-01-11 22:12:04 +01:00
4eb6a2f195
TriggerBox: draw DnD icon 2022-01-11 22:12:02 +01:00
5e3c49f397
TriggerBox: DnD, better version of 8b90ea39a22cl
Move start-drag logic into individual TriggerEntry instances.
This allows to use local data in drag_data_get as-is.
2022-01-11 22:11:57 +01:00
4d04849be9 triggerbox: continuing work on follow action length, particuarly for MIDI triggers 2022-01-11 11:48:22 -07:00
66290bfffc trigger_ui: remove fade in+out buttons; we will not be using them 2022-01-11 12:41:08 -06:00
2f9b896f06 trigger picker: tweak layout and behaviors ... more ArdourButton-y 2022-01-11 12:26:14 -06:00
5f0839141b trigger_ui: refactor property_boxen to subclasses of TriggerUI 2022-01-11 10:51:24 -06:00
7ddecb91e0 trigger_ui: Fix crash when selecting a midi trigger 2022-01-11 10:41:32 -06:00
3b9fb818e8 trigger_ui: remove update timer, and consolidate set_widget_colors() code 2022-01-11 10:13:06 -06:00
07738e815b trigger_ui: better connection management: watch both the Trigger and the Box 2022-01-11 10:09:47 -06:00
192d513cba
NO-OP: clang-format 2022-01-11 13:52:02 +01:00
8b90ea39a2
TriggerBox: implement basic TriggerSlot DnD 2022-01-11 05:21:52 +01:00
96137739a7
Reduce includes required for Selection
Previously a triggerbox_ui.h change triggered a complete UI
rebuild. This follows the concept of other editor_selection
lists which use forward declarations.
2022-01-11 05:21:51 +01:00
1661f6479f
TriggerBox: allow to receive Regions by ID via DnD 2022-01-11 05:21:51 +01:00
1db6e9edca trigger_ui: add spinner for clip gain 2022-01-10 19:33:30 -06:00
7fdc83bfbf triggerbox: disambiguate velocity_gain from the trigger's gain property 2022-01-10 19:33:05 -06:00
589c92e2c6 trigger_ui: fix copy+paste thinko 2022-01-10 19:30:17 -06:00
d0ec37e223 trigger_ui: implement follow_length widget, WIP, crashy 2022-01-10 18:25:01 -06:00
a48d9a31bc
Trigger clip picker: allow auto-audition on selection 2022-01-11 00:56:33 +01:00
806f62ffe6
Allow import via DnD to Source list (not region list) 2022-01-11 00:56:32 +01:00
04bc44c7ad triggerbox: fix typo 2022-01-10 15:51:12 -07:00
e0004791f0 triggerbox: fix audio clips when _follow_length is zero 2022-01-10 15:49:07 -07:00
0c89ab82e1 triggerbox: tweaks, twirls and scrapes to get _follow_length working, apparently 2022-01-10 14:03:06 -07:00
cb83d11681 triggerbox: add new trigger state enum to enums.cc 2022-01-10 14:02:38 -07:00
dbb816b1f9 triggerbox: add "final sample" concept to start dealing with post-data playout 2022-01-10 14:02:38 -07:00
1afc0ce69c triggerbox: add follow length property to triggers (not used yet) 2022-01-10 14:02:33 -07:00
2342caae46
Push a few more nutempo DnD warning macros 2022-01-10 21:48:11 +01:00
fa7e7a462c
Work-around/Fix DnD from sidebar to editor-canvas
Editor::drop_regions() creates a new RegionInsertDrag()
with the region to drop to the timeline.

RegionInsertDrag is-a RegionMotionDrag is-a RegionDrag is-a Drag.
However the region does not yet exist on the timeline and
RegionView is NULL.

This will likely need an API change. e.g.
Directly pass the TimeDomain as argument. The information can
be provided by the region, or from the TimeAxisView or RouteUI
when dropping a new source/region.
2022-01-10 21:36:17 +01:00
056189c76c
Clean up DnD, use MIME-types
This is in preparation for allowing to drag trigger-regions
or trigger-slots. Those will not use a static singleton
PublicEditor API.

Additionally this constrains Ardour-internal drags to Ardour
(via Gtk::TARGET_SAME_APP).
2022-01-10 21:29:29 +01:00
1078dc7eda
DnD-TV: Allow to specify TargetFlags 2022-01-10 20:40:46 +01:00
af69061644
Do not create clang-db when cross-compiling w/mingw
This breaks windows builds, since apparently build(bld) is
evaluated twice (once to write compile_commands.json and once
to compile), even though `obj` is reset.

eg. in libs/pbd/wscript

```
if bld.env['build_target'] == 'mingw':
  obj.source += [ 'windows_special_dirs.cc' ]
```

results in

[  65/1159] Compiling libs/pbd/windows_special_dirs.cc
[  69/1159] Compiling libs/pbd/windows_special_dirs.cc

which then produces an error when linking:
```
/usr/bin/x86_64-w64-mingw32-ld: libs/pbd/windows_special_dirs.cc.2.o:libs/pbd/windows_special_dirs.cc:28: multiple definition of `PBD::get_win_special_folder_path[abi:cxx11](int)'; libs/pbd/windows_special_dirs.cc.2.o:libs/pbd/windows_special_dirs.cc:28: first defined here
```
2022-01-10 17:10:49 +01:00
16511974e2
Fix class/struct mismatch C++ ABI [-Wmismatched-tags] 2022-01-10 00:06:24 +01:00
30539716ca
Fix various Wcast-qual
g_atomic_int_get() requires a non-const pointer, however
many APIs are declared virtual const, so const_cast<> is
preferred over an API change.
2022-01-10 00:06:20 +01:00
2139b0391c
Update waf binary, using doc/updating_waf.txt 2022-01-09 18:46:24 +01:00
Remi Thebault
b8e1cd53ce
Prepare waf update to 2.0.23 and enable 'clang_compilation_database'
This enables the generation of build/compile_commands.json
which is a compilation database recognized by some IDE/editors
to provide compiler quality linting.
To name a few:
 - Visual Studio Code
 - VIM (with ALE plugin)
2022-01-09 18:45:50 +01:00
4f5779e67d trigger_ui: allow grabbing() for Gate + Repeat (TODO: Repeat is borked) 2022-01-08 09:33:20 -06:00
a44ce7c075 trigger_ui: recover quantization:None menu entries 2022-01-07 18:06:31 -06:00
770ee07910 trigger_ui: use quantize_length_to_string() consistently 2022-01-07 18:05:38 -06:00
4146177da3 triggerbox: when asked to stop by the user, clips should extend to the next bar boundary (and no further) 2022-01-07 16:05:07 -06:00
8548626adf triggerbox: Add n-bar quantizations (GUI part) 2022-01-07 16:05:07 -06:00
c157490311 triggerbox: fix N-bar quantization: bars are 1-based 2022-01-07 16:05:07 -06:00
4e5f171fe2 triggerbox: the default quantization for a clip should be 'bars' 2022-01-07 16:05:01 -06:00
John Emmas
6750c9b049 Disambiguate a pointer to CheckMenuItem
Windows itself offers its own version of CheckMenuItem
2022-01-07 10:34:11 +00:00
John Emmas
031dce4ba4 Minor fix to commit #45df39bd0ea from yesterday
class 'AutomatableSequence' was trying to access a member that's private to its base class
2022-01-07 10:29:31 +00:00
78b39284d8 triggerbox: workaround for midi import crash. TODO: investigate root cause 2022-01-06 21:17:54 -06:00
32880e0cdd locations pane: hide CD checkbox for Cue Markers 2022-01-06 21:17:54 -06:00
e9081b0b7c trigger_ui: re-add the ability to pick several clips at once 2022-01-06 21:17:53 -06:00
2f9b84fd48 triggerbox: resolve MIDI notes whenever a MIDI cue is stopped 2022-01-06 16:50:55 -07:00
2755847294 triggerbox UI: fix crash caused by uninitialized member variable 2022-01-06 16:50:26 -07:00