Commit graph

7375 commits

Author SHA1 Message Date
nikolay
e263f8a080 [Summary] Fixed bug with session::update_route_active_state
[Reviewed] GZharun
2014-09-19 16:24:54 +03:00
GZharun
12e885ef83 [Summary] Added grab focus action when panner or fader is pressed. 2014-09-19 14:15:55 +03:00
VKamyshniy
605e27383a [Summary] Changing meter release time per request from Igor. 2014-09-19 08:48:55 +03:00
GZharun
f1d7b8cd72 [Summary] Added gtkmm2ext project for Xcode 5 2014-09-18 15:29:16 +03:00
nikolay
6f01d1894c [Summary] Changed logic for GLOBAL REC button
[Reviewed] GZharun
2014-09-18 15:13:54 +03:00
GZharun
c283320bcd [Summary] Added canvas project for Xcode 5 2014-09-18 12:22:30 +03:00
Paul Davis
59ed1b0955 do not mark session dirty during loading process; sync with loaded locations state using standard method 2014-09-17 16:29:37 -04:00
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
c5907e939d add new Skip event to SessionEvents 2014-09-17 16:29:37 -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
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
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
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
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
Robin Gareus
d8638c5413 change dummy backend to default to _("Silence"). 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
Colin Fletcher
a86fed7180 Return playhead to last start position when aborting capture 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
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
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
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
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