Commit Graph

10555 Commits

Author SHA1 Message Date
Robin Gareus
2a27cc4758 GUI support for type-0/1 SMF import (display channel/track count)
This needs further work:

Type-1 SMF are always
   "One [Ardour] track per [MIDI] track"

Only type-0 SMF have the option
   "One [Ardour] track per [MIDI] channel"
and
   "One [Ardour] track per [MIDI] file"


This is ambiguous with multi-channel audio or multiple selection,
mixed audio+midi and worse with mixed type0/1 .mid selection.

This calls for a dedicated dropdown to select MIDI Import Disposition
for type-0 SMF.
2016-10-05 21:01:21 +02:00
Robin Gareus
b233a56a80 fix interface - proessor_selection is not a Lua C-Function 2016-10-05 01:14:43 +02:00
Kamil Rytarowski
f9c83a04f1 Fix ldd(1) parsing on NetBSD
* NetBSD

$ ldd /bin/cat
/bin/cat:
        -lc.12 => /lib/libc.so.12

 * Linux

$ ldd /usr/bin/cat
        linux-vdso.so.1 =>  (0x0000726abb373000)
        libc.so.6 => /lib64/libc.so.6 (0x0000726abafa7000)
        /lib64/ld-linux-x86-64.so.2 (0x0000726abb374000)
2016-10-04 22:15:33 +02:00
Ben Loftis
07acc1dfa6 revert previous unintended commit 2016-09-30 10:59:14 -05:00
Ben Loftis
ea10f0a53e fix: using arrow-keys on selected mixer strips would recursively affect grouped faders 2016-09-30 10:52:46 -05:00
Robin Gareus
3d256ff2c2 Constrain Samplerate selection when session is loaded
Ardour does not allow to change the rate of a session itself.
2016-09-30 16:50:00 +02:00
Robin Gareus
7f8ec25e25 fix sample-rate display: show active (not desired) rate 2016-09-30 16:50:00 +02:00
Tim Mayberry
2637aaee23 Fix finding of splash file and display in About dialog 2016-09-30 22:37:00 +10:00
Robin Gareus
10d05f0ee3 some Collaborative Albums from the early 80's 2016-09-29 20:46:23 +02:00
Paul Davis
587439acf8 fix crash on OS X el capitan when using command line arguments 2016-09-29 13:05:38 -04:00
Paul Davis
1f88b6d35f make error dump on stderr slightly more obvious 2016-09-28 11:28:45 -05:00
Paul Davis
78d02eb620 Revert "Editor does not need to reset track/stripable selection, since Selection already maintains that itself"
This reverts commit 57652d7d50f706e2f0e525c6f48c1fc7830cf222.
2016-09-27 14:59:32 -05:00
Paul Davis
56af59953f move "logmeter.h" from gtk2_ardour into libs/ardour 2016-09-27 14:59:32 -05:00
Paul Davis
37233fe92f TimeAxisView::set_selected() needs to call AxisView::set_selected() 2016-09-27 14:59:32 -05:00
Paul Davis
238ca58c93 Editor does not need to reset track/stripable selection, since Selection already maintains that itself 2016-09-27 14:59:32 -05:00
Paul Davis
67540ad0f5 add explicit "duplicate-regions" action 2016-09-27 14:59:31 -05:00
Paul Davis
7f31a40932 add "quantize" action for control surface access 2016-09-27 14:59:31 -05:00
Paul Davis
9c2a517cb0 don't get into nested run loops if quantize is reinvoked (e.g control surface) while already in progress 2016-09-27 14:59:31 -05:00
Paul Davis
72e2935842 minor tweak to quantize dialog so that we can test if it is visible 2016-09-27 14:59:31 -05:00
Paul Davis
d2e59c308e various tweaks to port matrix display logic to try to avoid a few wierd things 2016-09-27 14:59:30 -05:00
Paul Davis
cf28d71783 push2: basic GUI dialog 2016-09-27 14:59:30 -05:00
Paul Davis
8fd4d32789 add a new action to allow surfaces to access Keyboard::close_current_dialog() 2016-09-27 14:59:29 -05:00
Paul Davis
413fe2cf9a adjustments to build nascent push2 surface support 2016-09-27 14:59:29 -05:00
Robin Gareus
dd1550b263 hide unfinished "Archive" feature for 5.4 release 2016-09-27 01:23:20 +02:00
Robin Gareus
8e8a0a9ef4 GUI option to Exclude unused sources 2016-09-23 20:43:26 +02:00
nick_m
4270569528 Fix bug where drawing long notes placed the new note on the previous snap line.
- NoteCreateDrag already applies this shift, so it was
	  always applied twice to the note start frame.
2016-09-23 05:06:03 +10:00
nick_m
080e7755a6 Remove _midi_regions_use_bbt_beats from Session, _start_pulse and _length_pulse from MidiRegion.
- _start/length_beats are now quarter notes regardless
	  of loaded session version.

	- also restores note colour update
2016-09-23 03:39:05 +10:00
Robin Gareus
a957d058e4 Update Archive GUI: expose audio-encoding, set progress text 2016-09-21 13:04:29 +02:00
Robin Gareus
03fe02703d GUI updates for archiving sessions 2016-09-21 04:06:23 +02:00
Robin Gareus
1733f5bcef add missing files 2016-09-20 20:07:56 +02:00
Robin Gareus
5232e0f2af GUI support to archive session 2016-09-20 19:52:56 +02:00
Robin Gareus
7fe91a7d1c fix another crash at exit #7033
Don't construct the bindings editor only to disconnect its signals
2016-09-18 10:03:37 +02:00
Tim Mayberry
078889efa8 Save changes when toggling checkboxes in ExportDialog
I used the Widget::on_hide method in the ExportFileDialog to defer the saving
of changes in state of the analysis and soundcloud-upload checkboxes as it was
not possible to save the format xml state directly from the
ToggleButton::toggled() signal as it created a recursive loop and also to
prevent saving the state more than once.

Even though the ExportProfileManager::FormatListChanged signal is no longer
emitted when saving format state and the crash no longer occurs without this
change. I think it is worth saving explicitily from in the toggle callbacks to
reduce the complexity of understanding what is taking place and when even if it
is less efficient.

There is definitely more opportunity for refactoring and redesign.
2016-09-17 22:03:16 +10:00
Robin Gareus
0996656ecc Allow to query HTTP headers 2016-09-16 01:39:04 +02:00
Robin Gareus
b302f70265 Skip pin-management for MB channelstrip plugins 2016-09-15 15:32:45 +02:00
Guido Aulisi
e2b724194e Do not delete selected MIDI notes while dragging. (See #6602)
This is not caused by commit_reversible_command, but because
NoteDrag::total_dx calls Evoral::Note<Evoral::Beats>::time()
with invalid MIDI note (deleted).
2016-09-15 23:24:36 +10:00
Tim Mayberry
1ee63d2610 Restore state of analyze and soundcloud upload checkboxes in ExportDialog
This should be a proper fix for bug #7003, now that I've spent a bit more time
reading the code. The options are now stored as part of the export format
state.
2016-09-14 20:36:04 +10:00
Robin Gareus
8e995be5cf copy demo sessions 2016-09-13 19:31:38 +02:00
Tim Mayberry
3193aa93ce Rename Struct defined in freesound header to be less generic
This could potentially conflict with a struct declared in the
ardour/soundcloud_upload.h file.
2016-09-13 14:55:02 +10:00
Tim Mayberry
cec0c57b78 Remove duplicate header includes in gtk2_ardour 2016-09-13 14:55:02 +10:00
Tim Mayberry
7d31ec02b3 Add missing header include guards in various gtk2_ardour headers 2016-09-13 14:54:54 +10:00
Robin Gareus
55af1d539f allow running from src-tree using system-wide gtk-themes w/color defs 2016-09-12 12:01:07 +02:00
Tim Mayberry
fc0114a7e2 Fix #7015, Crash while aborting Region trim using Esc key
There were two issues:

The first is that TrimDrag::aborted was calling TrimDrag::finished with a null
GdkEvent which caused a segfault when dereferencing. So avoid that by passing
in a dummy event as we are just going to undo the operation in the next step
anyway so it shouldn't matter if it is valid(AFAICT).

The other is that TrimDrag:aborted was calling Editor::undo() which was in turn
calling TrimDrag::aborted leading to infinite recursion and stack overflow.
Calling Session::undo() directly seems to avoid that issue.

This fix feels like a bit of a hack...but it seems to work and is better than a
crash.
2016-09-11 22:53:00 +10:00
Tim Mayberry
dab6e8a2d3 Fix #7003, Store/Restore state of checkboxes in Export dialog 2016-09-11 09:29:53 +10:00
Paul Davis
3f95b5ac19 closing the normalize dialog should not run normalize (#7016) 2016-09-09 19:15:10 -04:00
Paul Davis
673e580726 fix WM close handling for session lock dialog (#7017) 2016-09-09 19:09:15 -04:00
Paul Davis
835b874e1e add ActionManager::rec_sensitive_actions and put "add track/bus" in this group, which is disabled during active recording 2016-09-06 16:56:51 -04:00
Paul Davis
73fe0e4b97 use moved version of reset_focus() 2016-09-06 16:56:51 -04:00
Paul Davis
c9ece0d6c6 use moved version of reset_focus() 2016-09-06 16:17:39 -04:00
Paul Davis
07bb5ff347 move kbd focus reset method into ARDOUR_UI where it (probably) belongs 2016-09-06 16:17:08 -04:00