13
0
Commit Graph

14491 Commits

Author SHA1 Message Date
c2ae228dd3 add mouse mode enums to enums.cc (just for utility purposes) 2014-10-21 11:49:27 -04:00
f369208334 Disallow midi-note duration changes beyond region boundaries
Fixes crash/assert with negative Beats.

TODO discuss alternative:
 automatically extend/trim region (if possible) or
 accept but hide notes that are out of bounds. That would need
 some solution for ghost notes which still can have negative Beats
 while dragging.
2014-10-21 15:48:11 +02:00
4cde08cdb8 fix midi-ghost region y-scale 2014-10-21 14:05:41 +02:00
58fec98a4d fix track height resizing on OSX.
If the transport is running, g_idle with G_PRIORITY_DEFAULT_IDLE is
never called.

TODO: check other g_idle functions in libs/gtkmm2ext
2014-10-21 13:20:17 +02:00
31b033f0d2 fix region drag/drop from region list
The canvas’ Y-offset (rulers & scroll) needs to be subtracted here.
2014-10-21 11:46:15 +02:00
148c1f1768 fix stuck key-grab/scrolling.
Problem: mouse-scrolling over a MIDI region in internal edit mode
never released “magic widget focus” (mod keys and global scrolls after
that were ignored). -> added to leave_notify.

Also, the MouseModeChanged signal needs to be emitted when internal edit,
mode changes in order to trigger MidiRegionView::mouse_mode_changed(), 
which in turn releases the magic focus while still hovering over a MIDI
region.
2014-10-21 11:07:53 +02:00
a9532179d5 Midi Region: pass unhandled scroll events to regionview
see note in MidiRegionView:📜 “allow PrimaryModifier scroll
through so that it still works for zoom.”
2014-10-21 11:01:28 +02:00
fbaae45eb1 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-20 23:30:49 +02:00
825e2c823c add support for VST plugins without any parameters 2014-10-20 23:30:48 +02:00
a1245de1ba track height fixes:
* retain [custom] track-height
  Editor::override_visible_track_count() is called repeatedly (for
  every change), there was a 50/50 chance of it saving the right value.

* adjust default for new sessions: use “Normal” track height until
  told otherwise.
2014-10-20 20:33:28 +02:00
ffde2fb5f9 OS 10.10 compile fixes
* fix clang pickiness regarding boolean
 * ignore ‘verify’ macro
 * tested with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
2014-10-19 23:15:13 +02:00
892909b052 separate host and target (OSX) 2014-10-19 23:13:50 +02:00
6f1d0b07ce git ignore OSX packaging 2014-10-19 23:13:41 +02:00
ab445a0e28 windows: don’t popup message box when libjack is not found 2014-10-17 10:58:49 +02:00
d34bd9e6a0 fix midi automation sliders
Allow controls to work without a list. see also 34c1465 and b469cd2
2014-10-16 21:21:45 +02:00
8d8717800d add tearoff reattach for the editor 2014-10-16 13:44:36 -04:00
8097b8c762 add action and menu entry for "reattach all tearoffs".
So far only does the transport tearoff
2014-10-16 13:44:36 -04:00
6970972191 add OSX 10.9 version flags
TODO: here, Xcode 6.0.1 and OS10.9.5  mmacosx-version-min=10.5 works
and produces binaries compatible with 10.5 or later, but that may 
no be standard. - Please x-check, for now 10.8 should work everywhere.
2014-10-16 16:16:41 +02:00
542ed52c13 include default UI config file in linux package 2014-10-16 07:22:26 -04:00
6024431e10 package ui_dark.rc file in linux packages 2014-10-16 06:17:52 -04:00
fd79656d60 remove duplicate windows includes 2014-10-16 11:51:47 +02:00
ad017365f7 Merge branch 'cairocanvas' 2014-10-16 05:12:52 -04:00
0477d11476 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-15 21:12:35 -04:00
e250eb5525 forward port ffd5c24 from master (extend video file ext list) 2014-10-16 01:16:07 +02:00
49b9d22217 remove debug output 2014-10-15 19:08:46 -04:00
5d53335300 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-15 18:44:22 -04:00
ab658d7ca1 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-15 18:44:22 -04:00
7e764ea405 allow internal generators to make noise, even if we are not rolling, and using auto-input 2014-10-15 11:09:00 -05:00
8dc4187f1a allow zero-latency sessions
e.g. sessions with disconnected master-out,
or Dummmy (both jack and ardour) with no latency.
2014-10-15 15:49:49 +02:00
76edbdf5dc make backend selection by product name more explicit 2014-10-14 16:58:11 -04:00
f77f54a6e2 correct msg in fatal error 2014-10-14 12:57:39 -04:00
128b240f46 remove code commented out in 0874426a (2009/06) 2014-10-14 12:56:28 -04:00
d3a4a92bd5 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-13 22:40:08 -04:00
fc08e10562 fix note 0015914 (part of #5589) 2014-10-13 21:02:20 -04:00
4d0f30f5a8 fix note 0015900 on #5589 (cursor doesn't change when switching edit point 2014-10-13 15:19:07 -04:00
b945fa69ba remove default/testing tooltips from the canvas 2014-10-13 13:53:07 -04:00
7263877f06 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-12 23:09:35 -04:00
6600cf0daa migrate windows build script to ardour-build-tools repository 2014-10-12 11:33:51 +02:00
848db8fbd5 fix scanning of VST shell plugins 2014-10-11 22:19:23 +02:00
7ea039ee91 add script to run vst-scanner in gdb 2014-10-11 21:00:59 +02:00
250ea066ef revert 8ca546e - original version was correct (note added) 2014-10-11 15:00:52 +02:00
8525a0b258 add a Dummy Backend Loopback mode: 2014-10-11 14:47:35 +02:00
e19e6dc73a amend 5d0303b - fix editor summary leak 2014-10-11 13:36:52 +02:00
8ca546ec88 fix LTC generator latency compensation. 2014-10-11 11:15:08 +02:00
fa9780ba67 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-10 13:22:50 -04:00
d1e303247b ensure registration of all SessionEvent types 2014-10-10 13:22:50 -04:00
446a8b69d9 make output of SessionEventManager::dump_events() a bit more readable 2014-10-10 13:22:50 -04:00
5d0303b851 fix memory leak in editor summary. 2014-10-10 16:18:03 +02:00
ac420ba87d amend previous commit
blame gitx 0.15.1949: it updates the stage view
even though the changes are not staged.
2014-10-10 15:24:52 +02:00
3121f5b2fc add script to run ardour in valgrind/massif 2014-10-10 15:03:26 +02:00