Commit graph

15967 commits

Author SHA1 Message Date
nick_m
bc20da35f7 Revert mistaken change in e7b0e67bc8 2015-03-22 05:35:13 +11:00
Robin Gareus
a10e17411f fix --disable-plugins (bypass ‘em all) 2015-03-21 17:52:27 +01:00
Robin Gareus
614fc8c7bb fix visual undo.
TODO: Check if it’s feasible/required to add a
GUIPropertiesChanged signal and have axis-views
subscribe to it.
2015-03-21 16:50:47 +01:00
Robin Gareus
5dc7866132 only temp. disable visual state saving. 2015-03-21 16:09:35 +01:00
Robin Gareus
f121d04d6d vertical fit: hide tracks in-between 2015-03-21 16:09:35 +01:00
nick_m
85587c19a4 Right align some more numeric entries in the meter/tempo dialogs. 2015-03-22 00:33:27 +11:00
nick_m
69a6c4d747 Provide an image if there are no peaks. 2015-03-22 00:31:32 +11:00
Robin Gareus
0f2ead3d6b fix redraw of automation ControlPoints 2015-03-20 23:31:21 +01:00
Robin Gareus
322ec39761 error-log button: acknowledge new errors w/o hiding Log
override toggle, in case new errors show up while
the log window is already visible
2015-03-20 22:48:53 +01:00
Robin Gareus
6981e0495d disable light theme until it gets fixed
(or at most past the 4.0 release tag)
2015-03-20 22:40:47 +01:00
Robin Gareus
d682ced80f Error-log button: reset on LED click & button click 2015-03-20 22:12:40 +01:00
Robin Gareus
2a9d7286f9 fix AWOL semicolon in 9f842f3 2015-03-20 22:08:17 +01:00
Robin Gareus
9f842f3247 NOOP, whitespace 2015-03-20 21:38:26 +01:00
Robin Gareus
410cf8e79d OSC log errors 2015-03-20 21:32:56 +01:00
Robin Gareus
7619edd1f6 OSC: fix crash when trying to set output params 2015-03-20 21:19:25 +01:00
Robin Gareus
17e1e2641b OSC fix plugin numbering:
ignore non-plugin processors for OSC
/ardour/routes/plugin/parameter

fixes issue with hidden internal processors. (rec-en
track adds a hidden [meter] processor at the top,
internal returns on busses have returns etc.)
2015-03-20 20:27:15 +01:00
Robin Gareus
a563007fcc add missing return value 2015-03-20 16:17:07 +01:00
nick_m
53f452dde1 Don't open peakfiles O_NONBLOCK or O_NOATIME.
O_NOATIME removed due to what appears to be a bug in fuse where open fails.
O_NONBLOCK was basically unjustifiable.
2015-03-21 01:02:51 +11:00
Robin Gareus
26ce7b5f1b add a non-interleaved mode to the Portaudio backend 2015-03-20 11:45:56 +01:00
Robin Gareus
1ca9cd228e update track-height scaling:
“number of visible tracks”: count automation lanes
as tracks. Distribute equally.

“Summary View”: the visual lane represents both
track + automation. Set the total height.

Left to do: recursive “Shrink” and “Expand” tools
if there is no explicit selection.
2015-03-19 21:55:28 +01:00
Robin Gareus
f1ce87a699 add API to select TAV height mode.
preparation for further Summary and Number of visible
track count fixes.

* “Only Self”: don’t resize child-views (old default)
* “Total Height”: distribute height equally among 
   all visible child [automation] lanes
* “Height per Lane”: given height should be applied
   to all sub-views.
2015-03-19 21:47:34 +01:00
Robin Gareus
6874bca886 vertical scroll stop on automation lanes 2015-03-19 20:32:59 +01:00
Robin Gareus
f39d450640 fix very unlikely null pointer dereference. 2015-03-17 17:01:50 +01:00
Robin Gareus
abfdcb5439 fix windows + VST debug versions
pthread.h needs to be included before pbd/debug.h
otherwise PTW32_VERSION is not defined, bug in 831f298
2015-03-17 16:30:16 +01:00
John Emmas
247d0493bf Change the way we call 'Gtk::Main' when building with MSVC
This is just to accommodate the fact that 'command_line_parse_error()' uses pointers to argc & argv
2015-03-17 14:54:39 +00:00
Robin Gareus
a2bcb815ef Error Log button, only handle LMB
Allow to fall though to the bar’s context menu.
2015-03-17 11:59:30 +01:00
Robin Gareus
741bcc9fa4 Abutton: only LMB clicks are “clicks”. 2015-03-17 11:58:59 +01:00
Robin Gareus
99f28d1966 initialize uninitialized variable
just another hint for clang/static analysis.
2015-03-17 04:11:19 +01:00
Robin Gareus
edb86929f5 amend 6aa6c2d, queue redraw for custom-LED change 2015-03-17 04:02:59 +01:00
Robin Gareus
6aa6c2d552 AButton: decouple indicator color and active state.
If a custom LED color is used, the LED does not
reflect the ExplicitActive state. Hence the 
Body Element (if visible) should be used just like
for buttons without LED indicator.
2015-03-17 02:08:41 +01:00
Robin Gareus
bf43019eed change the error-log button to toggle the log window 2015-03-17 02:05:02 +01:00
Robin Gareus
5c0e3d4f04 always pack the log-LED into the status widget.
not only does this provide consistent look & feel,
but now the status-bar can never be empty.

Before to this change, a small useless black
rectangle remained when all elements were hidden.
2015-03-16 23:39:23 +01:00
Ben Loftis
c3d76155a9 fix typo 2015-03-16 17:07:26 -05:00
Paul Davis
5188f02cfe hide issues with g_close() not being available in somewhat older versions of glib 2015-03-16 13:34:35 -05:00
Robin Gareus
3a1071e5e9 use tri-state text-less LED for error-log button. 2015-03-16 19:04:36 +01:00
Robin Gareus
28e4708825 AButton: allow to set custom LED color (for > 2 states) 2015-03-16 19:04:36 +01:00
Paul Davis
d57546dea2 add a warning when using a free/demo version 2015-03-16 13:03:33 -05:00
Paul Davis
72b19e60fe fix compiler warning 2015-03-16 13:02:20 -05:00
Paul Davis
8ff477ab1a add PBD::toggle_file_existence() 2015-03-16 13:00:28 -05:00
Paul Davis
11a702149e avoid possible shared remote control IDs in large (>317 track) session 2015-03-16 13:00:09 -05:00
Robin Gareus
7b1c7efc1c work-around engine dialog crashes.
Thanks to brilliant detective work by John E. we
can now reveal that the actual crash in
EngineControl::print_channel_count() is caused
by a seemingly unrelated exception.

The root cause however is waves/ASIO backend reporting a
buffersize that is not in list of available buffer-sizes
it reported earlier.
2015-03-16 15:09:59 +01:00
Robin Gareus
4c2ea510e3 add API to query Gtk::ComboBoxText entries
..the overly complex C++ style variant.
iterate twice..  hell yeah.
2015-03-16 14:38:21 +01:00
Paul Davis
26ba494083 prevent single-axis drags in the editor summary from affecting the other axis.
In theory, the EditorSummary::get_editor()/set_editor() calls
should be no-ops if the values are just passed between them,
but this turns out to be not precisely the case. Rather than
figure out exactly how ensure that this is true, mark the
new rect boundaries for the non-moving axis with -1 so that
we know to leave it alone
2015-03-15 12:13:03 -05:00
nick_m
135e865302 Add route dialog order hint changes.
Add an option to insert new routes at the top of the list ("First").
Reorder/rename the entries in the dialog.
Session's _order_hint is now the signed int it always wanted to be.
2015-03-16 04:01:30 +11:00
David Robillard
a5db1d588e Fix dragging regions to/from drop zone (#6137).
The previous code assumed that dragging up from the drop zone into the last
track is always valid.  This is not true when the type of the dragged region(s)
do not match that route, which resulted in a crash and/or bizarre behaviour.

This took entirely too long to figure out, there are some real nightmares in
the region drag code...
2015-03-15 03:45:26 -04:00
Robin Gareus
7679f7802b improve port-matrix text contrast 2015-03-14 22:59:07 +01:00
Robin Gareus
b6eeeaa95b desaturate port matrix colors
grün und blau schmückt die sau.
2015-03-14 22:59:07 +01:00
Robin Gareus
0544a4039b note to self. 2015-03-14 22:59:07 +01:00
Robin Gareus
d8d9f9b486 proper port unregistration (just some refactoring, noop) 2015-03-14 22:59:07 +01:00
nick_m
8a37c1cd83 Non-transient ArdourDialogs and ArdourWindows appear in the centre
of the screen initially (first use in a new session) rather than at
the mouse position.
2015-03-15 06:25:06 +11:00