Commit graph

14504 commits

Author SHA1 Message Date
Robin Gareus
aa7fdf82a0 windows: allow loading session with absolute path 2014-10-22 15:22:55 +02:00
Robin Gareus
1428d003df hide splash screen on Windows
..until we get GDK window stack to play along.
2014-10-22 14:30:11 +02:00
Paul Davis
6f6c5b212c revert to previous waf version 2014-10-21 22:58:58 -04:00
Paul Davis
ba4d1cd1c1 remove "canvasvar_" from all functions related to obtaining values from ARDOUR_UI::config() 2014-10-21 22:58:58 -04:00
Ben Loftis
90df6f3fe6 some keyboard layouts have KP_Separator instead of KP_Decimal 2014-10-21 16:36:15 -05:00
Paul Davis
65821f96b8 slightly closer to correct color for peak display button when not active.
This cannot be correct at present because all buttons get a fade applied to them.
2014-10-21 17:26:52 -04:00
Paul Davis
7f15aaf0cf set correct font for peak display button 2014-10-21 17:26:21 -04:00
Paul Davis
00f604019d add ::set_layout_font (const Pango::FontDescription&) to ArdourButton 2014-10-21 17:25:50 -04:00
Paul Davis
58f7d02bf2 change the peak display widget from Gtkmm2ext::FocusEntry to ArdourButton, since it is absolutely not editable.
This adds a new button name and corresponding colors in default_ui_config which requires a theme reset
2014-10-21 16:01:31 -04:00
Robin Gareus
88d6cb2654 migrate build & package scripts to where they belong.
The build stack-script remains in ardour-build-tools.
2014-10-21 21:21:01 +02:00
Paul Davis
b2a183d4b7 a few tweaks to zoom computations so that zoom-to-range works correctly 2014-10-21 14:48:45 -04:00
Paul Davis
b73f725676 remove mouse zoom mode; bind z to zoom-to-range 2014-10-21 12:47:53 -04:00
Paul Davis
46f5c0c769 fix note 15897 on #5589 - only use fader cursor for region gain line when in mouse gain mode 2014-10-21 11:50:06 -04:00
Paul Davis
c2ae228dd3 add mouse mode enums to enums.cc (just for utility purposes) 2014-10-21 11:49:27 -04:00
Robin Gareus
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
Robin Gareus
4cde08cdb8 fix midi-ghost region y-scale 2014-10-21 14:05:41 +02:00
Robin Gareus
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
Robin Gareus
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
Robin Gareus
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
Robin Gareus
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
Robin Gareus
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
Robin Gareus
825e2c823c add support for VST plugins without any parameters 2014-10-20 23:30:48 +02:00
Robin Gareus
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
Robin Gareus
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
Robin Gareus
892909b052 separate host and target (OSX) 2014-10-19 23:13:50 +02:00
Robin Gareus
6f1d0b07ce git ignore OSX packaging 2014-10-19 23:13:41 +02:00
Robin Gareus
ab445a0e28 windows: don’t popup message box when libjack is not found 2014-10-17 10:58:49 +02:00
Robin Gareus
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
Paul Davis
8d8717800d add tearoff reattach for the editor 2014-10-16 13:44:36 -04:00
Paul Davis
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
Robin Gareus
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
Paul Davis
542ed52c13 include default UI config file in linux package 2014-10-16 07:22:26 -04:00
Paul Davis
6024431e10 package ui_dark.rc file in linux packages 2014-10-16 06:17:52 -04:00
Robin Gareus
fd79656d60 remove duplicate windows includes 2014-10-16 11:51:47 +02:00
Paul Davis
ad017365f7 Merge branch 'cairocanvas' 2014-10-16 05:12:52 -04:00
Paul Davis
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
Robin Gareus
e250eb5525 forward port ffd5c24 from master (extend video file ext list) 2014-10-16 01:16:07 +02:00
Paul Davis
49b9d22217 remove debug output 2014-10-15 19:08:46 -04:00
Paul Davis
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
Paul Davis
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
Ben Loftis
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
Robin Gareus
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
Paul Davis
76edbdf5dc make backend selection by product name more explicit 2014-10-14 16:58:11 -04:00
Paul Davis
f77f54a6e2 correct msg in fatal error 2014-10-14 12:57:39 -04:00
Paul Davis
128b240f46 remove code commented out in 0874426a (2009/06) 2014-10-14 12:56:28 -04:00
Paul Davis
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
Paul Davis
fc08e10562 fix note 0015914 (part of #5589) 2014-10-13 21:02:20 -04:00
Paul Davis
4d0f30f5a8 fix note 0015900 on #5589 (cursor doesn't change when switching edit point 2014-10-13 15:19:07 -04:00
Paul Davis
b945fa69ba remove default/testing tooltips from the canvas 2014-10-13 13:53:07 -04:00
Paul Davis
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