08df4e1920
Fix anchored popups with separators in them
...
The code computing the position of the popup menu used to compare the
given string to each MenuItem::get_label() result, but that method
actually replaces the content (child) of the MenuItem if that child is
not already a Gtk::Label. In particular, this breaks menu separators.
Avoid the issue by checking by hand if the only child of the MenuItem is
a Label, and directly compare the label text.
2016-08-17 01:45:47 +02:00
6a985df81e
Replace positioning function with popup helper
...
Because all uses of the function positioning menus anchored to a widget
were as callback argument to Gtk::Menu::popup() where the caller needed
to correctly bind arguments, this led to repeated and a bit obscure code.
Wrap the logic into an helper function that takes care of all that, and
update the callers.
2016-08-17 01:45:47 +02:00
46710a75de
fix issue with WM close/delete ("X") button not working for window proxied dialogs (e.g. add route dialog)
2016-08-16 13:57:00 -04:00
18af0dc4cd
Also send lv2:timePosition whenever BBT or Tempo changes
...
This mostly fixes an issue with notifying plugins about tempo-ramps
and BPM changes.
remaining to be fixed (in tempo.h):
```
_session.tempo_map().metric_at(frame_position).tempo().beats_per_minute()
```
currently returns the most recent *fixed* tempo at or before
`frame_position`. All other Plugin types are affected by this as well.
2016-08-16 13:11:49 +02:00
d07d91602f
fix copy/paste typo in bc0bb6cae
2016-08-16 01:01:36 +02:00
7b993ef138
turn comments into doxygen doc
2016-08-16 00:26:06 +02:00
bc0bb6cae9
extend lua-doc to show properties
2016-08-16 00:25:59 +02:00
29feb8dec7
add some missing enum bindings (for config variables)
2016-08-16 00:20:36 +02:00
a6041f290e
allow for whitespace in XDG_DESKTOP_DIR
...
This allows for example "Área de Trabalho"
2016-08-15 22:25:56 +02:00
11da4a83e4
expose SessionConfiguration as lua bindings
2016-08-15 22:25:56 +02:00
3b7dbdfeb8
Re-enable luabridge addProperty()
...
In preparation to expose ARDOUR::SessionConfiguration.
Also change the return-type to bool to match Ardour's set/get API
2016-08-15 22:25:56 +02:00
9421e0b4a7
allow constrained-drag of MIDI notes to work
2016-08-15 11:20:23 -04:00
nick_m
a9b72f87a6
Add missing line feed in midi_region_view.cc
2016-08-16 00:56:08 +10:00
nick_m
cecbae1df4
Midi region ghost note uses beat-based note time calculation.
2016-08-16 00:52:18 +10:00
nick_m
62372b48ea
Fix frame-based beat calculation in MidiRegionView::snap_frame_to_grid_underneath()
...
- this caused the ghost note under the pointer to behave badly when
hovering near an audio-locked meter.
2016-08-16 00:48:54 +10:00
nick_m
4848cb6d42
Enforce rounding to beat as >= 0.0
2016-08-16 00:43:08 +10:00
46cbb9084e
Expose Stripable Color & Ordering API to Lua
...
We can't easily use C++ references with Lua closures, so
new API (pointer to PresentationInfo) was added.
2016-08-15 16:37:44 +02:00
e2466621bc
edit text regarding the "required" nature of JACK during installation process
2016-08-14 09:53:07 -04:00
09ed9c44e7
change PBD::Transmitter code to use PBD::Signal<> not sigc::signal<>, since the latter is not thread safe
2016-08-14 08:33:23 -04:00
f77d1e0a36
Don't call any Transmitter from realtime context
...
This fixes a crash when TempoMap::bbt_at_frame_rt() is called
for a latent effect at position 00:00:00:00 and frame is < 0.
2016-08-14 00:47:03 +02:00
nick_m
a7032917b1
Remove assumption that the meter starts at frame 0 in Editor::apply_midi_note_edit_op_to_region().
2016-08-14 04:49:37 +10:00
nick_m
2cc37a25bb
Sync User Interactoin tooltips with new default settings.
2016-08-14 03:04:54 +10:00
nick_m
f6eac26a98
Choose some non-overlapping defaults for User Interaction modifier keys.
2016-08-14 03:04:54 +10:00
nick_m
444819e84a
Add a new modifier combination that allows overlap with snap-related defaults.
...
- this should be enough to handle all of the current possibilities.
2016-08-14 03:04:54 +10:00
nick_m
b104cb84c4
User Interaction pref shows the push points modifier in the 'beginning a drag' row.
...
- it is currently dual use (move both ends of a range marker
during drag / push control points at the beginning of a drag).
this may have to be separated, but as it is called the push
points modifier, it belongs here.
2016-08-14 03:04:54 +10:00
nick_m
4eba9b8638
Resolve potential ambiguity between the constraint modifier and the copy modifier when beginning a drag.
2016-08-14 03:04:54 +10:00
nick_m
c62026b567
Ensure RelevantModifierKeyMask is updated on each modifier change.
...
- fixes bug where changing prefs in User Interaction
only took effect on restart.
2016-08-14 03:04:54 +10:00
nick_m
1c0651f7f4
Ensure BBTRulerDrag operates within the tempo map.
2016-08-14 03:04:54 +10:00
nick_m
e3a8f2786d
Ensure positive length whan drag-adding new midi region.
2016-08-14 03:04:54 +10:00
nick_m
3f24d5d96e
Always send start property changes when a midi region trim alters position.
...
- ensures gui updates correctly.
2016-08-14 03:04:53 +10:00
nick_m
172bcc8165
Audio-locked midi region fixes.
...
- don't alter region frame length on tempo change or position change.
- set region _start correctly (see comments) on tempo map change.
- ensure audio-locked region's beat is set on tempo map change
2016-08-14 03:04:53 +10:00
nick_m
5c2ccc4f3e
Allow negative return in TempoMap::beat_at_frame() and its exact_ variant.
...
- audio-locked midi regions can be start-trimmed properly
when close to 1|1|0
- a midi region placed before the first meter
will continue the tempo curve and first meter.
Only a couple of callers require change, as bbt_at_beat() already
deals with this.
2016-08-14 03:04:53 +10:00
23d1d1f55b
add nstewart to authors
2016-08-13 16:12:12 +02:00
Nathan Stewart
5b4584ad94
Add "Marker Toggle" #5193
2016-08-13 16:07:16 +02:00
613ae0c110
Nobody expects the LV2 inquisition!
2016-08-13 14:51:57 +02:00
313a32981e
tweak strings now that 5.0 is out
2016-08-13 14:51:15 +02:00
836693036a
add RMS region normalization option
2016-08-13 14:50:59 +02:00
fc272ef9d7
Another step towards gcc-ABI detection when installing as root
...
makeself extracts the file with owner-only access.
When the installer itself runs as root, NORM_USER won't be able to
call the abi-test tool.
2016-08-13 00:31:56 +02:00
fd6dd8b19e
revert 388a8fc9; prefer gcc4 if we can't determine the ABI
2016-08-12 22:22:02 +02:00
0fa106ef4b
check for null pointer in Locations::remove()
2016-08-12 12:48:35 -04:00
dab31732c5
fix path to glibmm that we check
...
libglibmm-2.4.so comes with the -dev package
libglibmm-2.4.so.1 is the actual library
2016-08-12 13:46:17 +02:00
8e1de17319
allow to manually override gcc ABI selection in the installer
2016-08-12 13:36:04 +02:00
c8c6bca658
fix crash when copy'ing latent plugins
2016-08-10 16:32:34 +02:00
e9752ff93e
remove debug output
2016-08-09 21:26:27 -04:00
55089df0c4
remove debug output
2016-08-10 03:25:25 +02:00
b244daf087
don't bundle no-inst scripts
2016-08-10 03:18:07 +02:00
a8143ea44e
prefix no-inst script with an underscore and skip install
2016-08-10 03:12:11 +02:00
2b7a89ecff
prefix blessed scripted DSP plugins with a-*
2016-08-10 03:11:49 +02:00
4fd607814f
merge source-defaults into system-config file
...
(generated by ./arcfg)
2016-08-09 22:13:59 +02:00
dd88461942
clean up plugin ttls - always add semicolon for compatibility
2016-08-09 22:00:38 +02:00