Commit graph

14860 commits

Author SHA1 Message Date
VKamyshniy
ae0b34e97a [Summary] Fixed color of MASTER bus 2014-09-17 18:37:49 +03:00
GZharun
4062dafc8b [Summary] Moved RCU writer out of loop for remove tracks method 2014-09-17 17:40:23 +03:00
GZharun
e2572a0933 [Summary] Added possibility to remove multiple routes within one method. Will be used to optimize tracks deletion process. 2014-09-17 17:01:44 +03:00
Paul Davis
56890964ec change return value for several RouteUI:: button press handlers so that WavesButton::on_button_press_event() is still called.
This is needed so that the focus handling part of the WavesButton method gets invoked, without us having to add it on
a case-by-case basis. This change was made in Ardour on August 22nd 2014 for unrelated reasons.
2014-09-17 09:27:34 -04:00
Paul Davis
44122462de set the CairoWidget focus handler; reset focus when the mouse pointer leaves the Editor window 2014-09-17 07:28:08 -04:00
Paul Davis
e57b3b229e WavesButton should call the focus handler of CairoWidget from its button press event 2014-09-17 07:18:53 -04:00
Paul Davis
59291ede87 add a focus handling callback so that all button press events on CairoWidgets will cause a focus reset.
Conflicts:
	libs/gtkmm2ext/cairo_widget.cc
	libs/gtkmm2ext/gtkmm2ext/cairo_widget.h
2014-09-17 07:09:28 -04:00
Paul Davis
a7aca1a849 escape should reset focus as well as abort drags/clear selection 2014-09-17 07:07:36 -04:00
Paul Davis
be0ed1b75f add back ardour_button.cc, mistakenly removed during a cherry-pick operation 2014-09-17 07:06:05 -04:00
Paul Davis
a4bcf140ac if a (file) source really cannot be found, differentiate between audio & MIDI.
For now, recovering from missing MIDI is a no-can-do situation (because MIDI is inherently data-editable).
2014-09-17 07:06:05 -04:00
Paul Davis
f24678bbaf fix up condition where a MIDI filesource is marked empty, not found, and its _path member is not set correctly 2014-09-17 07:06:05 -04:00
Paul Davis
d2bafa896c FileSource should not generate its own error message when a file is missing 2014-09-17 07:06:05 -04:00
Paul Davis
65f51e9884 tentative fix for losing (empty) MIDI files. Incomplete because testing shows issues with some workflows 2014-09-17 07:06:05 -04:00
Ben Loftis
0e44be211c fix various loop-initiation faults 2014-09-17 07:06:05 -04:00
Robin Gareus
d8638c5413 change dummy backend to default to _("Silence"). 2014-09-17 07:06:05 -04:00
Robin Gareus
1e8e0f29c0 *t*racks not *c*hannels (amend 009ced9640) 2014-09-17 07:06:05 -04:00
Robin Gareus
e7da659104 fix CPI window handling:
Move control-surface editor-window management to the control surface.
The Preferences-Dialog is not aware of session specific or surface
specific actions and cannot properly manage the window.
2014-09-17 07:06:05 -04:00
Robin Gareus
52b6edb0e3 fix crash when importing midi files with >1 midi-channel -- fixes #5965 2014-09-17 07:06:05 -04:00
Colin Fletcher
a86fed7180 Return playhead to last start position when aborting capture 2014-09-17 07:06:05 -04:00
Colin Fletcher
98bf6497b8 Make zoom-to-session include regions currently being recorded 2014-09-17 07:06:05 -04:00
Colin Fletcher
9272dbe496 Fix spurious 'You cannot put a CD marker at this location' error
Fix the spurious error that occurs when loading a session where any marker
(not necessarily a CD marker) is located at 0 on the timeline.
2014-09-17 07:06:05 -04:00
Colin Fletcher
83ea7d8271 Be sure to initialise ExportFormatSpecification::_soundcloud_upload
Initialise _soundcloud_upload in all constructors of
ExportFormatSpecification.
2014-09-17 07:06:05 -04:00
Robin Gareus
88e49a9ab8 reasonable dB range for waveform clipping indicator 2014-09-17 07:06:05 -04:00
Paul Davis
1966d32f73 Revert "don't clamp wave-fill alpha value when using region color"
This reverts commit 4af3e01974265a0f08ca0b09ca8dd66751fe115a.

Probably don't want this for Tracks.
2014-09-17 07:06:05 -04:00
Robin Gareus
f64ebc5a0d don't clamp wave-fill alpha value when using region color
Conflicts:
	gtk2_ardour/default_ui_config.in
2014-09-17 07:06:05 -04:00
Robin Gareus
93dbae7c98 waveform drawing details:
* proper y-pixel alignment (+.5px offset)
* outline: draw dots (not 1px lines)
* shape: round towards peak (use signal, not top/bot)
* honor 2px red selection border
* work-around canvas rect +1 issue
* always draw clipping line towards center
* draw at most one clip-line at either side of 0.
* exact 1px wide zero line
* fix spread calculation for rectified view
2014-09-17 07:06:05 -04:00
Paul Davis
9207a687b9 add required visibility macros to Gtkmm2ext::CursorInfo 2014-09-17 07:06:05 -04:00
Robin Gareus
80047e9877 waveform: really draw 1px lines. 2014-09-17 07:06:04 -04:00
Robin Gareus
72c630f445 update waveform drawing for zoomed-in, non-overlapping min/max peaks 2014-09-17 07:06:04 -04:00
Robin Gareus
c718bd7cc7 fix crash at session close/exit if a midi-control-surface is used
The "real" problem was that MidiControlUI is destroyed
while there are still MIDIControllables around that
still have a signal connection to a Controllable:
  controllable->Destroyed(..., MidiControlUI::instance())
If a Contrallable is deleted after the MidiControlUI
event loop is gone, the Destroyed() signal can create odd
situations...
2014-09-17 07:06:04 -04:00
Paul Davis
9ed6c123de add new MCP device file for original Mackie Control 2014-09-17 07:06:04 -04:00
Paul Davis
76b2aee8ae provide compile-time-enabled/disabled debugging of connections being made to PBD::Signal via PBD::SignalBase::set_debug_connection() 2014-09-17 07:06:04 -04:00
Robin Gareus
7f7437390e make valgrind output a bit more readable. 2014-09-17 07:06:04 -04:00
Robin Gareus
d56a569a83 fix memory leak, changing semantics of PatchManager (needs x-check) 2014-09-17 07:06:04 -04:00
Robin Gareus
0aeb3c337c fix a bunch of memory leaks
Conflicts:
	gtk2_ardour/ardour_button.cc
2014-09-17 07:06:04 -04:00
Robin Gareus
13bb67a3bb fix race-condition/segfault at exit:
suppress route-group-reorder signal when
session is being destroyed.
2014-09-17 07:06:04 -04:00
Robin Gareus
81d4d5371c initialize uninitialzed var 2014-09-17 07:06:04 -04:00
Robin Gareus
5e5ecc6c6e print "Scanning folders for bundled LV2s" only once. 2014-09-17 07:06:04 -04:00
Robin Gareus
e637a40e37 delete route-groups before flushing routes. 2014-09-17 07:06:04 -04:00
Robin Gareus
82e5f5de91 disable Midi Audition Synth if it cannot be found
no repetitive messages.
2014-09-17 07:06:04 -04:00
Robin Gareus
f0b4f445b8 better safe than sorry. 2014-09-17 07:06:04 -04:00
Robin Gareus
4765a3ca37 fix d421602c24 2014-09-17 07:06:04 -04:00
Robin Gareus
04a647f47a delete session XML object after loading and setting state. 2014-09-17 07:06:04 -04:00
Robin Gareus
d7858c8b1e free LV2 world after initial scan 2014-09-17 07:06:04 -04:00
Robin Gareus
b53ef556e9 plug a major mem hog.
(default empty session is now ~140MB RSS, was 280MB)
libXML memory was only free() at exit
2014-09-17 07:06:04 -04:00
Robin Gareus
fc68ed656f ALSA|Dummy: ignore port unregistration when engine is stopped
When changing Engine parameters, ardour first stops
the engine and only later when re-etablishing ports
unregisters/re-registers them.

ALSA: silently ignore port unregs and silently accept registrations
Dummy: print a PBD::info message,
2014-09-17 07:06:04 -04:00
Robin Gareus
70f0163266 ALSA|Dummy Backend: do as jack does:
when the backend is closed, unregister all ports.
2014-09-17 07:06:04 -04:00
Robin Gareus
ab2ef15e0b fix midi audition port-connect warning 2014-09-17 07:06:04 -04:00
Ben Loftis
93a20f469d fix Play Loop from range context menu 2014-09-17 07:06:03 -04:00
Robin Gareus
88b4321842 release shared route pointer kept by InternalSend when dropping refs.
fixes "SessionHandleRef exists across session deletion"
when using AuxSends
2014-09-17 07:06:03 -04:00