Commit graph

14877 commits

Author SHA1 Message Date
Paul Davis
d532dedc48 use Config->get_skip_playback() when handling Skip events 2014-09-17 16:29:37 -04:00
Paul Davis
7c660785ca new Config var to control whether skip playback is used or not 2014-09-17 16:29:37 -04:00
Paul Davis
e1696a42b4 add IsSkip enum to enums.cc 2014-09-17 16:29:37 -04:00
Paul Davis
c698b4e788 shift-drag on range marker bar creates skip ranges, for now 2014-09-17 16:29:37 -04:00
Paul Davis
c5907e939d add new Skip event to SessionEvents 2014-09-17 16:29:37 -04:00
Paul Davis
786f9fc59a new code to support creating skip markers 2014-09-17 16:29:36 -04:00
Paul Davis
16fca5e6e4 remove old connections to (now) static Location signals 2014-09-17 16:29:36 -04:00
Paul Davis
42cf0e6944 Locations::clear_ranges() leaves punch/loop/session ranges intact if they exist 2014-09-17 16:29:36 -04:00
Paul Davis
d7f37c9bab do not stupidly try to save punch/loop/session ranges during clear_ranges op 2014-09-17 16:29:36 -04:00
Paul Davis
5c087b5716 correctly connect to Location static signals 2014-09-17 16:29:36 -04:00
Paul Davis
9e5d83967a add new type of location, with _flags & IsSkip being non-zero 2014-09-17 16:29:36 -04:00
Paul Davis
eb6017d6a6 header file part of initial attempt to push certain kinds of Locations into LocateRoll events on the timeline for skip lists 2014-09-17 16:29:36 -04:00
Paul Davis
39f8e3b849 initial attempt to push certain kinds of Locations into LocateRoll events on the timeline for skip lists 2014-09-17 16:29:36 -04:00
Paul Davis
c16172238c Locations should listen to location changed signals, and emit its own changed() signal 2014-09-17 16:29:36 -04:00
Paul Davis
945709a962 change Location "change" signals of various kinds to be static 2014-09-17 16:29:36 -04:00
VKamyshniy
4eec7a2f30 [Summary] setting off "with_info" for primary clock. 2014-09-17 22:19:43 +03:00
nikolay
0806209eaa [Summary] Deleted startup dialog on the first TracksLive start
[Reviewed] GZharun
2014-09-17 18:54:14 +03:00
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