Commit graph

7487 commits

Author SHA1 Message Date
Valeriy Kamyshniy
7db19c97e4 [Summary] Fixing little bug in the statemchine 2014-11-18 22:37:27 +02:00
VKamyshniy
f1d099ae88 [Summary] Fader Handler fix ( Handler should not jump to mouse position. Instead the relative movement should be applied) 2014-11-17 21:23:38 +02:00
VKamyshniy
96b8486ceb [Summary] To have USE_CAIRO_IMAGE_SURFACE working -- clean up and fixing cairo_widget. With occasion: eliminating _current_event_expose as Robin has introduced expose_area which plays similar role. Now WINDOW works under USE_CAIRO_IMAGE_SURFACE condition.
WARNING: we should assure that cairo's clip() serves well in Ardour as we stopped using clip_preserve().
2014-11-17 17:56:07 +02:00
Valeriy Kamyshniy
310f02b786 [Summary] Bug fix: in the MainClock editing cursor’s cairo_fill filled all the occurred rectangles (including one, used to clip). 2014-11-14 14:25:35 +02:00
GZharun
ab51cc7f72 [Summary] Implemented MTC selection mechanism with state saving/restoring. Implemented MTC use cases:
Switch to internal time code when MTC input is switched to off, disabling MTC timecode source when not MTC input is set.
Fixed Bug when it was impossible to switch to internal timecode source when transport was started with MTC.
2014-11-13 17:13:38 +02:00
GZharun
deeb2a17ef [Summary] Disabled LTC item in timecode source drop down. Made MTC as a default external timecode source. 2014-11-12 11:21:30 +02:00
GZharun
dba2473cb6 [Summary] Refactored routes auto connection mechanism. Fixed bug when master track get's disconnected, eliminated redundant calls 2014-11-11 12:28:55 +02:00
Paul Davis
f1f4bfbf92 refactor MIDISceneChange color property addition by moving it into SceneChange to anticipate other types of SceneChange objects (e.g. OSC) 2014-11-10 21:44:02 -05:00
Paul Davis
a4c00fe483 when creating a new MIDI scene change, check existing scene changes for equality and reuse their color (which may or may not be set) 2014-11-10 21:28:34 -05:00
Paul Davis
2443209e4a serialize/deserialize MIDISceneChange color; put out of bounds color into static const 2014-11-10 21:28:34 -05:00
Paul Davis
ac4a66592f add color property to MIDISceneChange 2014-11-10 21:28:34 -05:00
Paul Davis
c99d3b39ef add operator== to ARDOUR::MidiSceneChange 2014-11-10 21:28:34 -05:00
GZharun
32958fb470 [Summary] HOT fix to the situation, when master track does not get connected properly 2014-11-10 20:14:59 +02:00
GZharun
ef13fca774 [Summary] Fixed routes auto connection in stereo out mode, fixed output connection mode defaults 2014-11-10 18:39:59 +02:00
GZharun
04940f5133 [Summary] Implemented correct functionality for Midi Drpodowns 2014-11-10 17:56:16 +02:00
GZharun
ecc1386045 [Summary] Added midi scene processing classes files into Tracks project for Xcode 2014-11-10 17:56:16 +02:00
Paul Davis
781c525643 add background color property to Canvas::Canvas ; rearrange expose handling and include background fill 2014-11-10 10:35:29 -05:00
Paul Davis
0ae0477945 add API to extract color from ArdourCanvas::Text and tidy up member declarations 2014-11-06 20:36:11 -05:00
Paul Davis
04a4e949e8 changing the clamp_width of an ArdourCanvas::Text needs to potentially provoke an entire redraw
This fixes missing range marker text in sessions where the initial zoom value causes an initial clamp_width of zero
2014-11-06 20:36:11 -05:00
VKamyshniy
655a765de3 [Summary] Fixing the bug with which canvas was drawn with unconditionally black environment 2014-11-06 22:42:13 +02:00
Paul Davis
4286f2f879 raising/lowering canvas items should trigger a redraw 2014-11-06 10:53:48 -05:00
Paul Davis
bc8e3c63b7 change #ifdef used to activate image surface drawing code in CairoWidget
Using the intermediate image surface appears to break drawing when combined with either
the child widget or set_visible_window() approaches used in Tracks when compared with Ardour
2014-11-06 10:12:33 -05:00
Paul Davis
4ac32ac4c8 don't store current MIDI bank state in MIDI scene changes if we have not seen a bank change message and have no existing locations with a valid bank change 2014-11-05 12:47:04 -05:00
Paul Davis
228e1c26e2 alter implementation of ArdourCanvas::contrasting_text_color() to use gamma-adjusted luminance values rather than simple contrast 2014-11-05 11:09:47 -05:00
Paul Davis
5a771fdcc8 fix insane design for Location::next_available_name() so that it has no effective limit (other than UINT32_MAX) 2014-11-05 07:40:35 -05:00
Robin Gareus
6c34ab8b02 allow to use cairo-image/software surface for canvas & cairowidgets
Conflicts:
	libs/gtkmm2ext/cairo_widget.cc
2014-11-03 10:03:45 -05:00
Robin Gareus
a1b7c8c91e remove unused old API 2014-11-03 09:32:49 -05:00
Paul Davis
e001153800 add Gtkmm2ext::event_inside_widget_window() 2014-11-02 08:53:29 -05:00
VKamyshniy
acde4227b6 [Summary] Previous change to "Tracks" wha not correct. Let the config folder be "Tracks Live" 2014-10-30 22:10:27 +02:00
VKamyshniy
e5a5e1fe71 [Summary] Switching the application name to Tracks Live 2014-10-30 21:30:15 +02:00
VKamyshniy
43a80f8266 [Summary] Changing contents of Marker and RangeMarker objects in order to change request from Igor 2014-10-30 17:47:42 +02:00
Paul Davis
3f5cee742f fix bug that prevents 2 byte MIDI messages (e.g. program change) from being considered as legal.
I suspect that this parsing code is still deeply suspect, but I do not have the time to fully investigate
the problems it may have. This commit fixes a very basic bug, and allows program change messages to
be passed through to higher levels in the software
2014-10-29 23:19:54 -04:00
Paul Davis
3b12ea8a9f improve debug trace output usability from waves_midi_device.cc 2014-10-29 23:18:13 -04:00
Paul Davis
2ed2ba28ec extend DEBUG_TRACE to waves_midi_event 2014-10-29 23:17:30 -04:00
Paul Davis
2c1c92e8de move new Waves backend debug bits into libs/pbd/debug.cc because backends are dynamically loaded AFTER command line parsing.
See comments in libs/pbd/debug.cc for more details
2014-10-29 22:34:12 -04:00
Paul Davis
4bc383e663 make previous commit actually build (bit rot w.r.t. _pm_device_id, and more) 2014-10-29 22:08:53 -04:00
Paul Davis
8e60c59e5d convert "COMMENTED DBG LOGS" noise into DEBUG_TRACE messages, and std::cerr/cout messages into PBD::error 2014-10-29 21:52:54 -04:00
Paul Davis
cdc46cef1e add new debug bit definitions and declarations for Waves backend 2014-10-29 21:52:54 -04:00
Paul Davis
4f59429ad5 Revert "alter the way the border of Canvas::Rectangle is drawn to meet the intent that a single pixel border passes through the corner coordinates"
This reverts commit 55cd0a4a3393e6b5e6e5091c5bd5a276d71a8656.
2014-10-29 16:28:28 -04:00
Paul Davis
4800934e04 alter the way the border of Canvas::Rectangle is drawn to meet the intent that a single pixel border passes through the corner coordinates
Conflicts:
	libs/canvas/rectangle.cc
2014-10-29 16:28:28 -04:00
Greg Zharun
7d8302194f [Summary] Fixed issue, when tracks were not connected to physical inputs 2014-10-29 12:58:07 +02:00
Robin Gareus
40d91a9997 stopgap solution for VST plugins that call audioMasterWantMidi during effOpen
audioMasterWantMidi needs plugin _info, but _info is currently only
available after instantiating the plugin in LXVSTPluginInfo::load().

vstfx_instantiate() -> effOpen -> [plugin] -> vst_callback(..,opcode=6,..) -> crash
2014-10-22 09:10:51 -04:00
Robin Gareus
5b0363fc2a fix midi automation sliders
Allow controls to work without a list. see also 34c1465 and b469cd2
2014-10-22 09:07:37 -04:00
Paul Davis
0a7a622dab when cancelling an import, call DropReferences so that the Session forgets about the new sources.
Not doing this leaves the sources in the session list and then the session fails to open on next load
because the files are not there.

Arguably we should not announce the new files until they are complete, but this is a simpler fix for now.
2014-10-16 10:37:34 -04:00
Paul Davis
957de80389 remove debug output 2014-10-16 10:37:34 -04:00
Paul Davis
97620769be when flushing notifications/signals from an ARDOUR::Playlist, emit the RegionAdded/ContentsChanged signals first so that when LayersChanged is sent, the receivers know about all the new regions 2014-10-16 10:37:34 -04:00
Paul Davis
465e70d098 add mutex/lock to all Evoral::SMF methods that use _smf/libsmf, to avoid inadvertent corruption via multithreaded access.
Serialization of Session::save_state() will already protect against most of this, but there is really no
good reason why Evoral::SMF's API should require single-threaded/explicit serialization.
2014-10-16 10:37:34 -04:00
Robin Gareus
8d34ba9ae9 allow zero-latency sessions
e.g. sessions with disconnected master-out,
or Dummmy (both jack and ardour) with no latency.
2014-10-16 10:37:34 -04:00
Paul Davis
03797765c6 Containers should not consider the size of invisible items when computing their own bounding boxes.
This fixes issues related to the rulers container believing it was taller than it actually is, and possibly other issues also
2014-10-16 10:37:34 -04:00
Paul Davis
dcd2f98f7f tweak implementation of Session::audible_frame() to be a little more defensible, and correct problems with record align/playhead position while disconnected from physical outputs 2014-10-16 10:37:34 -04:00