Commit graph

12944 commits

Author SHA1 Message Date
Robin Gareus
5fe355af92 Use NSGLView with patched gdk
Special case Ardour's Canvas NSView to forward gdk-events
which are otherwise special-cased to read AU-views..
2017-03-20 02:15:15 +01:00
Robin Gareus
c371fc5115 Prepare NSView/OpenGL Canvas (to speed up rendering on [mac]OS[X]
This avoids Coregraphics (cairo_quartz_surface..) competely.
The openGL texture bypasses CG's slow argb_image and CGSColorMask
methods.
2017-03-19 22:49:17 +01:00
Len Ovens
7d41e542fe OSC: add feedback for /monitor/mute,dim,mono 2017-03-19 08:54:58 -07:00
Len Ovens
1af7e97fd0 basic_ui send midi_panic directly to session rather than through GUI 2017-03-19 07:27:24 -07:00
Len Ovens
b0e5ab1b81 OSC add /monitor/mute,dim,mono 2017-03-18 20:05:04 -07:00
Robin Gareus
1bfa74c0f9 fix copy/paste issue, typename is not needed here 2017-03-18 23:06:42 +01:00
Len Ovens
caae0546a7 OSC fix toggle_monitor_mute/dim/mono in basic_ui 2017-03-18 14:14:02 -07:00
Robin Gareus
a9ca7f649a Resolve copy-c'tor and assignment issue with TempoMap
There are various issues with copy-construction: no readlock is taken,
Tempo/Metric Sections were static-cast to non-const pointers and passed
as references...

This remove the [now] unused copy-c'tor, and fixes various const issues.
2017-03-18 21:33:40 +01:00
Robin Gareus
6ceade76b3 Lua bindings to access MIDI region/source note-events 2017-03-18 19:07:03 +01:00
Robin Gareus
940707e327 Prefer const references: Beat-Converter does not modify the TempoMap 2017-03-18 18:33:17 +01:00
Robin Gareus
6dc3bdf252 Fix LuaBindings TypeList copy-ctor
Determining the class type copy constructed references.
Const-references passed to C++ functions were copies.
2017-03-18 18:30:51 +01:00
Robin Gareus
bc300ddab7 Make Lua std::set bindings more generic, (prepare for multiset etc) 2017-03-18 14:35:29 +01:00
Robin Gareus
a1116ebd6f Oh boy! 2017-03-18 14:35:25 +01:00
Robin Gareus
3442a3ff2e Don't push WriteMemoryCallback into global namespace 2017-03-18 14:27:19 +01:00
Robin Gareus
921d2c5809 Add newline to DEBUG::Soundcloud so that it's readable & flushed 2017-03-18 14:26:53 +01:00
Hiroki Inagaki
70728fd739 Update Japanese translation 2017-03-17 19:48:33 +01:00
Robin Gareus
6c1051024c Lua bindings for libardour transient-analysis 2017-03-17 18:12:50 +01:00
Robin Gareus
7ab1becd43 Snow White and the Pharaoh (mac rendering)
Once upon a time there was a beautiful Apple tree in palace of
GtkAnkhAmun in Cairo...
2017-03-17 16:54:16 +01:00
Robin Gareus
86ac64d528 NO-OP: whitespace 2017-03-17 16:03:59 +01:00
Robin Gareus
51d43c6e14 drop lua documentation for deprecated "sameinstance()" 2017-03-16 20:56:32 +01:00
Robin Gareus
a2094b6831 Lua: provide instance-equal check as '==' comparator.
This deprecated explicit the "sameinstance()" method
2017-03-16 20:08:17 +01:00
Robin Gareus
6c65fd41cb Sanitize cubic-interpolation code (NO-OP safe for float inaccuracies)
Prefer fmod(x, 1) over (x - floor (x))
2017-03-16 15:06:27 +01:00
Len Ovens
891ad41c48 OSC: fix pan stuck at centre. 2017-03-15 13:24:13 -07:00
Len Ovens
175027fb6c OSC amend access_action with action in line to ignore if param is 0 2017-03-15 09:20:42 -07:00
Len Ovens
cd4462323f OSC: add new /access_action/group/action f 1 for float only controllers 2017-03-14 18:47:41 -07:00
Ben Loftis
dc98fa6f3f Fix Faderport Proj button (show-editor action) 2017-03-14 09:27:59 -05:00
Robin Gareus
248521221c OSC debug: "ALL" == all messages incl. invalid ones 2017-03-13 22:35:07 +01:00
Robin Gareus
9cc068756b Clean up existing bindings on reset 2017-03-13 20:09:10 +01:00
Robin Gareus
333e3c6019 Add track/bus rename safeguards to the backend (handy for scripting) 2017-03-13 18:44:37 +01:00
Robin Gareus
ce7d001ebd plugin scan tweaks: don't verbosely log by default, bump timeout
Some VSTs (e.g. waves) can take a rather long time to scan.
(VST-shell: many plugins + online license check)
2017-03-13 16:13:38 +01:00
Robin Gareus
60ad8e21cf remove cruft; superseded by ControlGroup::use_me 2017-03-12 20:15:55 +01:00
Robin Gareus
be6bfd12eb Preparations to keep track of stripable color-dialogs.
This follows the same concept as plugin-UIs (keep a pointer in the backend)
to prevent multiple instances to be created from various TAVs
and RouteUIs (mixer, editor-mixer, meterbridge,..)
2017-03-12 16:54:18 +01:00
Robin Gareus
52b203ad36 Fix issue with automation-playback constantly marking a session dirty. 2017-03-12 02:37:30 +01:00
Robin Gareus
37bcbcad41 Optimize Session::set_dirty() 2017-03-12 02:36:33 +01:00
Robin Gareus
3e92347057 Prepare for graceful case-by-case fallback of VST Bypass
VST's effSetBypass may fail even though a plugin CanDo "bypass",
and it can be case-by-case (depending on plugin-settings).

This codepath is not yet active, pending testing.
2017-03-12 01:24:40 +01:00
Robin Gareus
0b6e2d1e46 Improve a-delay to follow tempo-ramps & BPM changes
This is a bit of a hotfix, not a proper solution
2017-03-11 23:10:44 +01:00
Robin Gareus
c29568f4c5 Fix Controllable::InverseGroup behavior.
use_group(), use_me() filters group behavior beforehand.
ControlGroup::set_group_value() lacks context to make the decision itself
and should always apply to the group (regardless of active state):
InverseGroup allows to override both: inactive predicate and inactive group.

This needs testing, particularly since  RouteGroupMember::use_group()
is no longer used and was superseded by RouteGroup::push_to_groups()
2017-03-11 18:58:50 +01:00
Robin Gareus
d6d1074565 create_action_group -> get_or_create_action_group
Since adding an action-groups hides existing actions with the same name,
this adds a way to look up actions first.

This fixes an issue introduced in 6af51b52ff (both window_manager.cc
and ardour_ui_ed.cc use the "Window" group.
2017-03-11 15:33:24 +01:00
Robin Gareus
34d6de83a0 Disable Retina/Appple pango text-width workaround
Fix right-alignment (tempo-markers) and oversized bounding-boxes.
_width_correction should be removed after testing on various systems.
2017-03-11 05:13:17 +01:00
Robin Gareus
1203d796de Fix possible segfault in multi-bus AUs. 2017-03-11 05:09:25 +01:00
Robin Gareus
0b966460a5 NO-OP whitespace 2017-03-11 00:36:47 +01:00
Robin Gareus
41216d200a Remove old modal get_color API. 2017-03-11 00:35:26 +01:00
Robin Gareus
7a709f23f1 Fix solo/mute when loading old (4.x) sessions. 2017-03-10 21:42:02 +01:00
Robin Gareus
6af51b52ff Use dedicated "show editor/mixer" actions 2017-03-10 17:52:42 +01:00
nick_m
b3ef0a9e8d fix incorrect property change in AudioRegion::set_fade_out()
- should fix 7283
2017-03-11 01:11:25 +11:00
Ben Loftis
f21111d7df Faderport uses the Mix and Proj buttons to summon mixer and editor; there is no longer a Toggle. 2017-03-09 14:29:08 -06:00
nick_m
87d474b391 fix potential crash in LV2Plugin::connect_and_run() when music starts after 0 2017-03-10 03:59:25 +11:00
Robin Gareus
8f2a5c01dd fix a-reverb, cut tail on deactivate, plug memory-leak 2017-03-08 23:04:16 +01:00
Robin Gareus
46fe83cfff Prevent adding "master" to a group 2017-03-08 17:49:01 +01:00
Robin Gareus
4b982ef895 Prepare moving to a dedicated x-thread signal for VST UI resizing
(this changes the internal API, pending follow-up GUI update)
2017-03-08 13:03:46 +01:00