Paul Davis
ee49c0a0c2
change placement of ruler divider so that the lower line is at the specified height, rather than the upper
2014-11-26 13:53:33 +02:00
Paul Davis
74707d900c
do the right thing when TrackingText::offset is changed
2014-11-25 20:44:26 +02:00
Paul Davis
c3e0cad199
Fix method hiding in Canvas::Text
2014-11-25 20:44:01 +02:00
Paul Davis
019940e3a5
make Tracks treat MMC RecordStrobe like RecordPause, since there is no conception of a punch range
2014-11-25 19:26:35 +02:00
GZharun
f40f680bcc
[Summary] Fixed MAC build
2014-11-25 18:11:13 +02:00
Greg Zharun
bd7c257625
[Summary] Restored Asynchronous Midi input processing on Windows by providing Windows specific implementation of CrossThreadChannel synchronization class which serves Event Loops
...
[Details] Restored SceneIn and MMC ports processing
Fixed crash during exit on both platforms
[Reviewed by] Paul Davis
2014-11-25 17:40:27 +02:00
Paul Davis
108fe931c3
remove artificial, accidental and utterly unintended limit of the numbering of scene changes
2014-11-25 16:29:43 +02:00
Paul Davis
3551e2a066
change ruler rendering to change tick heights and move text down
2014-11-25 15:31:41 +02:00
Paul Davis
10776d498a
remove port_sources management from MackieControl
...
This was necessary due to a bug/design issue between Glibmm and Glib (see https://bugzilla.gnome.org/show_bug.cgi?id=561885 )
but the problem needs to be managed by the *creator* of the IOSource and that has now moved inside CrossThreadChannel.
2014-11-24 19:38:35 +02:00
Paul Davis
5b108f6f7d
remove port_sources management from MidiControlUI
...
This was necessary due to a bug/design issue between Glibmm and Glib (see https://bugzilla.gnome.org/show_bug.cgi?id=561885 )
but the problem needs to be managed by the *creator* of the IOSource and that has now moved inside CrossThreadChannel.
2014-11-24 19:29:23 +02:00
Paul Davis
5fe8a7321f
add missing API
2014-11-24 19:29:22 +02:00
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