Commit graph

7499 commits

Author SHA1 Message Date
Paul Davis
ca506df094 add API to Ruler to optionally draw a divider (2 single pixel horizontal lines) at some position within the vertical extent of the ruler 2014-11-24 19:29:22 +02:00
Paul Davis
4911ce6db0 correct implementation for Rectangle::vertical_fraction() 2014-11-24 19:29:22 +02:00
Paul Davis
5ffa87b8ad add Rectangle::vertical_fraction() as a convenience method 2014-11-24 19:29:22 +02:00
Paul Davis
9b921615b6 change SessionEvent::Immediate to -1, and ensure that clear_events() uses it rather than a hard-coded value
This fixes a design error of using zero as the flag for an "Immediate" event's action frame. Zero
is a perfectly legitimate action frame for an event (e.g. a Skip event), and using zero was causing
skip events with action-frame == 0 to be treated as immediate, not scheduled.
2014-11-24 09:52:49 +02:00
VKamyshniy
753096efc5 [Commit] Compilation error fix 2014-11-24 02:54:09 +02:00
Greg Zharun
53391399c4 [Summary] Added error reporting for MIDI device initialization on Windows 2014-11-23 18:47:06 +02:00
Paul Davis
7715fe3918 remove use of CrossThreadChannel::selectable() to allow cross-platform implementation of CrossThreadChannel via Glib::IOSource 2014-11-23 17:53:18 +02:00
YPozdnyakov
bd1848dbf1 [Summary]: bug fix and small refactoring 2014-11-21 17:58:00 +02:00
VKamyshniy
45191a8449 [Summary] Fixing incorrectly changed #define 2014-11-20 21:10:02 +02:00
VKamyshniy
c0defccf67 [Summary] No chance of using cairo image surface 2014-11-20 21:04:51 +02:00
VKamyshniy
e85e5e3436 [Summary] No chance of using cairo image surface 2014-11-20 21:04:24 +02:00
VKamyshniy
b77dce1f44 [Summary] Bug fix 2014-11-20 13:21:32 +02:00
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