Commit graph

7468 commits

Author SHA1 Message Date
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
Paul Davis
134f00ecaf subtle changes to accomplish two goals (1) playhead should stop where the user pressed stopped (2) captured regions should end where the playhead ends 2014-10-16 10:37:34 -04:00
GZharun
d9da8bf287 [Summary] Added graphics which Igor provided 2014-10-16 15:42:31 +03:00
Robin Gareus
5f7a41d413 add a Dummy Backend Loopback mode:
Conflicts:
	libs/backends/dummy/dummy_audiobackend.cc
	libs/backends/dummy/dummy_audiobackend.h
2014-10-16 05:34:43 -04:00
Robin Gareus
b2fb61aaa1 revert 8ca546e - original version was correct (note added) 2014-10-16 05:34:43 -04:00
Robin Gareus
df14c506b4 fix LTC generator latency compensation. 2014-10-16 05:34:43 -04:00
GZharun
e09e36afde [Summary] Optimized Tracks removing/adding but redundant actions cut off 2014-10-16 11:57:09 +03:00
GZharun
fc6429cad4 [Summary] Removed redundant actions. This will be handled during route destruction 2014-10-15 11:18:40 +03:00
GZharun
0969e46e4a [Summary] Reworked tracks deletion algorithm to remove multiple tracks at once and do common actions only once for all deleted tracks 2014-10-14 13:33:50 +03:00
Paul Davis
fc096e91ed ensure registration of all SessionEvent types 2014-10-10 14:05:27 -04:00
Paul Davis
dd1a701f21 make output of SessionEventManager::dump_events() a bit more readable 2014-10-10 14:05:27 -04:00
Robin Gareus
687be0369f cleanup unused nested regions:
This and two previous commits fixes #5979
2014-10-10 14:05:27 -04:00
Robin Gareus
6618a93e80 Properly count nested regions 2014-10-10 14:05:27 -04:00
Robin Gareus
d0aa50de7a re-reference regions during uncombine - #5979 2014-10-10 14:05:27 -04:00
Robin Gareus
332cb302c3 fix dup free in waves/midi:
The PortMidi queue just holds a pointer to the midi events.
The same Midi events are free()d during WavesMidiBuffer::clear()
which is called at cycle start for every buffer and in the dtor
of the WavesMidiBuffer.
2014-10-10 14:05:27 -04:00
Robin Gareus
da481b2930 fix wavesbackend midi timing 2014-10-10 14:05:27 -04:00
Robin Gareus
289b783597 initialize some uninitialized vars - closes #5974 2014-10-10 14:05:27 -04:00
Robin Gareus
70ad1c354d fix crashes for plugin using maxBlockLength during latency compute. 2014-10-10 14:05:27 -04:00
Paul Davis
ad105741f1 avoid a set of calls to gettext() and/or cousins from global constructor scope 2014-10-10 14:05:27 -04:00
Robin Gareus
a341c44095 fix VST user cache typo: info/blacklist 2014-10-10 14:05:27 -04:00