Commit graph

16273 commits

Author SHA1 Message Date
Paul Davis
d5be54080f add a pure virtual FileSource::close() method so that FileSource::set_path() can ensure we no longer have a handle open 2015-04-20 16:31:06 -04:00
Paul Davis
d263cf7ded remove _file_path member from Evoral::SMF 2015-04-20 15:44:20 -04:00
Paul Davis
ced4378d09 Merge branch 'master' into saveas
Conflicts:
	gtk2_ardour/ardour.menus.in
	libs/ardour/session_state.cc
2015-04-20 15:10:41 -04:00
Paul Davis
00f06ca9e9 update russian translation 2015-04-19 13:57:18 -04:00
Robin Gareus
cda08d1605 attempt to fix the strip club 2015-04-19 16:21:28 +02:00
Robin Gareus
9ad49ca5e5 transport button HiDPI scaling 2015-04-18 20:20:49 +02:00
Robin Gareus
b23b3e0891 HiDPI button tweaks 2015-04-18 20:20:21 +02:00
Paul Davis
e1aa66cb3f fix mingw build 2015-04-17 18:23:10 -04:00
Paul Davis
ebf3c6adb9 fix typo after localedir change 2015-04-17 11:55:17 -04:00
John Emmas
f8650acb47 Don't modify a RouteUISelection that we've just erased 2015-04-17 16:13:40 +01:00
Robin Gareus
bb4576b700 Dummy: fix sine/square frequency sweep 2015-04-17 17:09:52 +02:00
Paul Davis
76b28e7ff2 fix novice-level mistake that causes localedir to point to random, reusable (typically stack) memory 2015-04-17 11:00:33 -04:00
nick_m
dff83c77cf Amend ac1f7e0b 2015-04-17 05:36:13 +10:00
nick_m
ac1f7e0b9f Indicate all clips on rectified view. 2015-04-17 05:26:57 +10:00
nick_m
7f41de7427 Improve waveview height and scaling.
The top line of the selection rect is arguably 1 px too low, but
waveviews seem centered on the area properly.
2015-04-17 05:03:51 +10:00
Robin Gareus
d24195c41e VST: fix a copy/paste typo and possible segfault
fix by Drumfix.
2015-04-16 18:29:08 +02:00
Paul Davis
4512d013eb put all of the Mackie control surface code into the ArdourSurface namespace 2015-04-15 20:37:20 -04:00
Paul Davis
12cb11b286 update german translation 2015-04-15 20:19:18 -04:00
Paul Davis
d65bf920fd update russian translation 2015-04-15 20:18:26 -04:00
Paul Davis
7f659a0463 add ArdourSurface to OSC class to help reduce global namespace pollution 2015-04-15 17:21:55 -04:00
Robin Gareus
69e41c3b38 disable -rdynamic by default
see man 3 dlopen. Ideally we’d use RTLD_DEEPBIND,
but it’s neither portable and rather new (glibc 2.3.4).

This fixes issues with symbol conflicts in plugins
e.g. http://pastebin.com/FkFkf3Mm  (plugin expects
its own OSC[illator?] class but gets ardour’s
OpenSoundControl instead).
2015-04-15 20:31:27 +02:00
Paul Davis
2d227a03a3 fix for memory overrun during read_peaks(), from sebastian reichelt 2015-04-15 13:32:34 -04:00
Robin Gareus
96ce9c304e Replace control list locks with RWLocks
towards fixing #6238 and #6096.


GUI thread:
#2  Glib::Threads::Mutex::Lock::Lock
#3  Evoral::ControlList::eval 
#4  Evoral::Control::get_double 
#5  ARDOUR::AutomationControl::get_value
#6  ProcessorEntry::Control::control_changed
..
#15 PBD::Timer::timeout_handler


at the same time: Audio Thread (try-lock, fails)

#0  Evoral::Curve::rt_safe_get_vector
#1  ARDOUR::Amp::setup_gain_automation
#2  ARDOUR::Route::process_output_buffers

Due to the failed try-lock.. AMP::_apply_gain_automation
is false. and Amp::run() uses a different gain factor.
-> click.
2015-04-15 18:13:56 +02:00
Robin Gareus
9391da0c24 portaudio backend: allow Pa_GetDeviceInfo to fail. 2015-04-15 03:05:09 +02:00
John Emmas
15bf19961f When running on Windows, hide the Engine dialog before calling 'push_state_to_backend()'
For some reason we don't understand 'push_state_to_backend()' can interfere with hiding the dialog (causing a partially hidden dialog to remain on screen). It's most likely a timing issue with the Windows version of GTK. Fortunately, reversing the calling order seems to fix it - BUT...

If there's no session loaded yet, the user can be left with a very long wait while nothing seems to be happening. The next thing the user would normally see would be the splash image. So let's display it slightly early (so the user can at least see that something's happening).

Sadly, it's all very kludgy - but a lot better than what we had before...  :)
2015-04-14 11:22:14 +01:00
Robin Gareus
2d8aa1d2ff simplify coaxing clock value out of ardour 2015-04-14 12:09:45 +02:00
Paul Davis
edb9a24727 when building context menu for click on mixer strip, ensure clicked-on strip sets selection appropriately 2015-04-13 22:43:22 -04:00
Paul Davis
aab777b490 add braces 2015-04-13 22:25:55 -04:00
Paul Davis
d45620d636 now that there is only 1 effective selection, adjust add-new-track-or-bus option for after/before selection 2015-04-13 22:24:10 -04:00
Paul Davis
05cd32a9f0 remove UI configuration variable link-editor-and-mixer-selection, and make behaviour be equivalent to this option always being true 2015-04-13 21:57:35 -04:00
Robin Gareus
d00ab0221a allow to set/change loop-range via OSC 2015-04-12 23:40:35 +02:00
Paul Davis
aef6805114 fix issue with logic controlling rude isolate button 2015-04-13 09:02:25 -04:00
Paul Davis
d0e636e1a8 remove unused local variable 2015-04-11 10:57:42 -04:00
Paul Davis
74df563d6f gtk2_ardour code should use translation domain "gtk2_ardour[MAJOR_VERSION]" not gtk2_ardour3 2015-04-11 10:35:34 -04:00
Robin Gareus
348c361f79 disable LED-style meters by default 2015-04-11 11:06:09 +02:00
nick_m
5c89ff2837 Remove unused pointer to nothing. 2015-04-11 05:36:05 +10:00
nick_m
5ce8551576 Fix dangling location on new location -> undo. 2015-04-11 04:45:45 +10:00
Colin Fletcher
30d95bbb8c Merge branch 'uk-english'
Merge the UK English localisation.
2015-04-10 18:25:58 +01:00
Robin Gareus
6c93bcc64f allow MIDI bindings for boolean automation 2015-04-10 17:14:11 +02:00
Paul Davis
a4ec7c9e60 bump copyright duration 2015-04-09 21:16:55 -04:00
John Emmas
b3fb73812c Position (and size) canvas tooltips such that they better resemble Gtk tooltips
Mixbus in particular uses both types of tooltip so we might as well make them look the same.

N.B. The appearance is fine now on Windows but needs to be tested on the other platforms (i.e. some tweaking might be necessary).
2015-04-09 15:46:12 +01:00
John Emmas
2234fd4b8a Delete a canvas tooltip after we've finished with it
All canvas objects share just one tooltip object which is based around Gtk::Label. The Label expands if the current tooltip text is wider than the previous text. However, it doesn't shrink again if the next tooltip has shorter text. Eventually, this results in some very strange looking tooltips (especially in Mixbus where they're used quite extensively).

Deleting the object after use will force a new object to get generated next time (at the correct size). There's still only ever one object per canvas but it's no longer persistent.
2015-04-09 15:42:00 +01:00
Robin Gareus
85e701880b redraw playhead only if pixel position changed. 2015-04-08 12:31:44 +02:00
Robin Gareus
70a493d510 renice transport icons 2015-04-08 11:29:55 +02:00
Robin Gareus
47eb9d3fe1 NOOP, cleanup & comments 2015-04-08 10:18:39 +02:00
Robin Gareus
2356d63d14 construct a metronom 2015-04-08 01:28:52 +02:00
Robin Gareus
c9f9bb263f more transport button caironizing. 2015-04-08 00:00:23 +02:00
Robin Gareus
1c4fc896d0 fix de7d6a7 (too narrow bar) 2015-04-07 22:39:42 +02:00
Robin Gareus
de7d6a7f2c renice transport buttons (part one) 2015-04-07 22:34:09 +02:00
Robin Gareus
d25e8f2233 update ArdourButton Icon API 2015-04-07 22:34:09 +02:00