13
0
Commit Graph

8106 Commits

Author SHA1 Message Date
ec86ca2a4d replace LinkButton
make link work on OSX and Windows:
Gtk-WARNING **: Unable to show ‘…’: Operation not supported
2015-03-23 00:23:06 +01:00
91405a1b2f consolidate plugin freebie messages, fix #6151 2015-03-23 00:05:47 +01:00
675444c7dd Engine: remember state only on “Apply” and “OK”
filed under “another scary engine dialog change”
2015-03-22 01:28:33 +01:00
7e2f8bd872 amend 157299a, really fix “Show Toolbars” 2015-03-21 21:52:40 +01:00
157299a2f0 “Show Toolbars” is not saved and on by default. 2015-03-21 21:38:36 +01:00
3812925a62 consistent ordering of Ruler Actions. 2015-03-21 19:44:58 +01:00
9cdb0e2765 Change default zoom to Playhead 2015-03-21 19:44:58 +01:00
7dd51f6fb3 properly apply default state
Actions that also have a private editor variable
need to be applied regardless of XML state.
2015-03-21 19:44:58 +01:00
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
5dc7866132 only temp. disable visual state saving. 2015-03-21 16:09:35 +01:00
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
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
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
d682ced80f Error-log button: reset on LED click & button click 2015-03-20 22:12:40 +01:00
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
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
6874bca886 vertical scroll stop on automation lanes 2015-03-19 20:32:59 +01:00
f39d450640 fix very unlikely null pointer dereference. 2015-03-17 17:01:50 +01:00
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
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
741bcc9fa4 Abutton: only LMB clicks are “clicks”. 2015-03-17 11:58:59 +01:00
99f28d1966 initialize uninitialized variable
just another hint for clang/static analysis.
2015-03-17 04:11:19 +01:00
edb86929f5 amend 6aa6c2d, queue redraw for custom-LED change 2015-03-17 04:02:59 +01:00
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
bf43019eed change the error-log button to toggle the log window 2015-03-17 02:05:02 +01:00
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
c3d76155a9 fix typo 2015-03-16 17:07:26 -05:00
3a1071e5e9 use tri-state text-less LED for error-log button. 2015-03-16 19:04:36 +01:00
28e4708825 AButton: allow to set custom LED color (for > 2 states) 2015-03-16 19:04:36 +01:00
d57546dea2 add a warning when using a free/demo version 2015-03-16 13:03:33 -05:00
11a702149e avoid possible shared remote control IDs in large (>317 track) session 2015-03-16 13:00:09 -05:00
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
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
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
7679f7802b improve port-matrix text contrast 2015-03-14 22:59:07 +01:00
b6eeeaa95b desaturate port matrix colors
grün und blau schmückt die sau.
2015-03-14 22:59:07 +01:00
0544a4039b note to self. 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
nick_m
4e865a1c54 Session import dialog is no longer a transient for the editor. 2015-03-15 05:23:09 +11:00
b1ff942101 OSX has a wall clock already. 2015-03-14 18:28:37 +01:00
fe7dd8d862 tweak status-bar spacing 2015-03-14 18:28:36 +01:00
83babb8a52 automatic error log window popup be gone. 2015-03-14 18:28:36 +01:00
nick_m
7d188c8a1e Remove the use of Window::set_keep_above() throughout startup.
This has been tested, but needs testing on more platforms (check for
obscured windows/dialogs.
Also use WIN_POS_CENTER in the "ask about loading session" dialog.
2015-03-15 03:06:39 +11:00
nick_m
80e1687482 Keep the left hand list pane of the mixer the same size when resizing
the mixer window (thanks JohnE).
Speeds up redisplay a bit.
2015-03-15 03:00:06 +11:00
nick_m
bf72a02f74 Fix incorrect track ordering when creating a session from a template
(supplied order keys are correct).
This really shouldn't be needed, but historically there have been races
between the treeview and the editor order keys.
Interesting to note that there have been no reported ordering bugs when
loading sessions.
2015-03-15 02:57:39 +11:00
b72fc759c0 Only sound selected notes momentarily (#6142).
This is debatable, the "sustained until mouse release" behaviour is handy
sometimes, but this way seems like what most people probably want.

Also, this "fire it and forget it and let it delete itself a bit later" thing
with MidiPlayer makes me nervous.  I guess it's unlikely someone manages to
select a note then delete a track within 100ms, but, well...
2015-03-14 01:12:29 -04:00
86c6541323 Move PC flags to avoid obscuring region name.
Fixes bug #6179.  Top vs. bottom seems pretty arbitrary to me, and this solves
the obscuring issue (which is quite common since there are often PC events at
the start of MIDI files), so bottom it is.
2015-03-14 00:21:29 -04:00
700cb13b36 Fix note visibility (#0006168). 2015-03-13 22:30:11 -04:00