Commit graph

15563 commits

Author SHA1 Message Date
Ben Loftis
f603ca174e in mixbus, treat the canvas rulers just like the canvas wrt mouse-wheel-zoom 2015-01-29 11:23:49 -06:00
Ben Loftis
59bbb8500b consolidate using SECONDARY+number bindings for region properties, such as gain, mute, etc 2015-01-29 11:03:54 -06:00
Ben Loftis
ff2ebf17b8 switch WINDOW bindings to use SECONDARY instead and displace any bindings that conflicted 2015-01-29 11:03:54 -06:00
Paul Davis
d8a01eb93e fix up and comment fmt-bindings tool 2015-01-28 21:05:12 -05:00
Paul Davis
dab3346623 use gtk_accel_groups_active() in preference to gtk_window_activate_key() since the latter behaves incorrectly
The window version will not activate bindings like <Mod4><Super>-space, whereas the former one works correctly. We already used
the former one just above, when handling "fakekeys".

Also add a utility function to show modifier state.
2015-01-28 21:03:03 -05:00
Robin Gareus
def2147b4c fix -Wreorder in 6377fe89 2015-01-29 02:28:25 +01:00
Robin Gareus
c11a7a1bd7 allow bundling of lv2core
Don’t statically initiate the lv2 world, use explicit call after 
scanning bundles.


lilv_world_load_specifications() and lilv_world_load_plugin_classes()
are only ever called after lilv_world_load_all(), so we postpone
the call to it.
2015-01-29 02:13:33 +01:00
David Robillard
a4e159b1c0 Map window bindings to alt.
As they were before, got caught in the crossfire of super key bindings fix.
2015-01-28 18:52:54 -05:00
Robin Gareus
6b360950ce guess what?! 2015-01-28 23:50:07 +01:00
Robin Gareus
bc3f606e16 add lv2core to bundles
The ontology is needed for plugin classification.
2015-01-28 23:08:06 +01:00
Robin Gareus
9f93df0313 readtest: calculate running average and stddev 2015-01-28 17:29:33 +01:00
Robin Gareus
07e53fc2e7 read-test format directly for gnuplot 2015-01-28 14:43:35 +01:00
Robin Gareus
cf8e7bc135 ALSA-backend separate report for error and x-run 2015-01-28 13:47:24 +01:00
Robin Gareus
397ce4ccc7 ALSA-Backend prefer ppoll() 2015-01-28 13:47:24 +01:00
Robin Gareus
de85bfd857 fix #6117 - fader prelight 2015-01-28 02:22:52 +01:00
Robin Gareus
36bbd14113 towards fixing #5711
Don’t call ::output() [here: SilenceTrimmer::process()] 
with no data to process. 

If (position + N * period-size) % chunksize == 0;
frames_left == 0 before the last call to ::output().
chunker.h:60 keeps the ProcessContext<T>::EndOfInput
flag and the SilenceTrimmer will already have done ‘in_end’ processing.
2015-01-27 23:13:55 +01:00
Valeriy Kamyshniy
6377fe89a6 [Summary] Adding missing initialization of the date &time formats. “Init trashes” caused a bit ruined logic of the export dialog. 2015-01-27 17:06:54 -05:00
Robin Gareus
bc7b5844a9 fix printf format-security warning.
warning: format string is not a string literal (potentially insecure) [-Wformat-security]
2015-01-27 14:04:19 +01:00
John Emmas
302dc2bea3 Don't try to dereference a NULL ptr (the function 'ARDOUR::IO::nth()' can return an invalid ptr, so let's make sure we test for it)
Note 1: Potentially we could have the same issue with 'AutomationLine::nth()' (although the current code seems okay)

Note 2: This (specific) problem seems mostly to affect Mixbus3 when it tries to load an old (version2) session from Ardour2. Mixbus can mark certain IO ports as being 'unused'. While loading sessions, function 'ARDOUR::IO::ensure_ports_locked()' deletes any unused ports. But later, the function 'ARDOUR::IO::make_connections_2X()' was crashing while trying to connect those (now NULL) ports. This commit fixes that crash but there's some evidence that it might only have moved the problem elsewhere. The version2 sessions now open successfully - but an MSVC (Debug) build now crashes whilst closing them (the Release build however, is okay). Someone who's more familiar with the code than me should review the Mixbus3/Ardour2 loading procedure to make sure it's safe.
2015-01-27 11:59:23 +00:00
Paul Davis
0f46d7b107 ignore context menu click events, notably during drag but also for a couple of other purposes
Conflicts:
	gtk2_ardour/editor_canvas_events.cc
2015-01-26 16:39:22 -05:00
Paul Davis
b9464fc4db remove unnecessary commented-out line.
Session is marked as in-deletion during deletion itself
2015-01-26 11:58:43 -05:00
Paul Davis
cab01bac6c on OS X, do not require click to activate the application 2015-01-26 11:55:58 -05:00
Robin Gareus
47f8125b35 amend e3da18fd 2015-01-26 17:14:24 +01:00
Paul Davis
208a2a1926 rename ARDOUR_UI::idle_load() to ARDOUR_UI::load_from_application_api() to correctly indicate function 2015-01-26 10:39:14 -05:00
Paul Davis
78ec211733 fix incorrect logic when loading session via NextStep document API 2015-01-25 12:53:48 -05:00
Paul Davis
bd3643a597 fix declaration of Cocoa NSApplicationDelegate methods 2015-01-25 12:52:26 -05:00
Paul Davis
7c7f642a6f Revert "alter default disk chunk sizes"
This reverts commit 3068e55e51.
2015-01-25 11:42:35 -05:00
Robin Gareus
031f68fb9d add a simple status indicator to the Engine Dialog 2015-01-25 10:19:46 +01:00
Robin Gareus
e6bb75cf01 audio-engine use internal API to stop
emit signal(s) when engine is stopped due to backend
change.
2015-01-25 10:19:06 +01:00
Robin Gareus
37b8412aa3 fix latency measurement result display
If measurement is fast (<100ms), the GUI timeout function
never displayed the measured value.
2015-01-25 10:18:33 +01:00
Robin Gareus
232d67bc53 midi note paste undo fix. 2015-01-25 01:56:19 +01:00
Paul Davis
1fb83d698c make butler thread merely ask for session state save, not actually do the save itself.
This prevents the possibility of cross-thread calls in the GUI when it adds its state
to the session via extra XML
2015-01-24 19:27:28 -05:00
Paul Davis
0b5ceaca4e add handler for, and connect to, Session::SaveSessionRequested 2015-01-24 19:17:13 -05:00
Paul Davis
ab3ec791ea Add a new signal (not yet used) to initiate session saves; alter signal name for existing signal used to allow other objects to add XML state to session 2015-01-24 19:06:31 -05:00
Paul Davis
3068e55e51 alter default disk chunk sizes 2015-01-24 19:05:05 -05:00
Paul Davis
5ff6402dad add function to get data width for ARDOUR::SampleFormat 2015-01-24 18:53:10 -05:00
Paul Davis
ccd881d518 ScrollGroup::covers_{window,canvas}() need to account for possible non-zero position of the group.
They also do NOT need to consider scroll offset
2015-01-24 18:48:28 -05:00
Paul Davis
e84e1f7403 ScrollGroups are kept in their own list, so ::window_to_canvas() does not need to inspect root group children to find them
Conflicts:
	libs/canvas/canvas.cc
2015-01-24 18:48:15 -05:00
Robin Gareus
db28eefc49 ALSA backend: synchronous switch to/from freewheeling 2015-01-24 23:39:41 +01:00
Robin Gareus
f2ea059db3 DummyBackend: sync switch to freewheeling 2015-01-24 22:45:42 +01:00
Robin Gareus
e3da18fd2f fix copy/drag abort. 2015-01-24 20:40:07 +01:00
Paul Davis
22435bb53d make MouseCursors invalid cursor API be static; use to initialize default cursor value in Drag API; use C API to set canvas cursor 2015-01-24 12:26:58 -05:00
Paul Davis
b4e32cd94b make -n (numfiles) argument do something 2015-01-23 16:17:35 -05:00
Paul Davis
90c1e0ffd2 allow use of null pointer as a valid cursor (implies using cursor of parent window) 2015-01-23 15:19:36 -05:00
Paul Davis
fe08965d91 fix indentation from prior commit 2015-01-23 13:45:21 -05:00
GZharun
6976a78100 [Summary] Fixed bug 45163: Trim range from right corner of timeline leads Tracks to crash
[Details] Crash was provoked because of an attempt to add commands to the session reversible command, but when autoscroll started and trim began with autoscroll the session reversible command was not created for for Trim Drag.
2015-01-23 13:43:52 -05:00
Paul Davis
21cb2d6ff9 add write tester script 2015-01-23 12:25:49 -05:00
Paul Davis
849da554a7 adjust sftest.cc to be more usable as a write-bandwidth tester 2015-01-23 12:25:49 -05:00
Paul Davis
85f9615c26 fix small bug when using -N for nocache 2015-01-23 12:25:49 -05:00
Paul Davis
3b2c23be93 split apart read and write chunk size and offer platform-dependent sizes for reading. Write chunk size should remain unchanged from before. 2015-01-23 12:25:49 -05:00