Commit graph

16541 commits

Author SHA1 Message Date
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
nick_m
4e865a1c54 Session import dialog is no longer a transient for the editor. 2015-03-15 05:23:09 +11:00
Robin Gareus
b1ff942101 OSX has a wall clock already. 2015-03-14 18:28:37 +01:00
Robin Gareus
fe7dd8d862 tweak status-bar spacing 2015-03-14 18:28:36 +01:00
Robin Gareus
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
David Robillard
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
David Robillard
0028630ece Fix stretch for MIDI regions (#6164). 2015-03-14 00:39:52 -04:00
David Robillard
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
David Robillard
700cb13b36 Fix note visibility (#0006168). 2015-03-13 22:30:11 -04:00
David Robillard
51f4e33dd1 Don't expand track headers to show MIDI stuff.
Fixes bug #0006138.  This solution does make the other label move when settings
are changed (presumably what the fixed width stuff was for), but I don't think
this is a big deal.  Lesser of two evils, at least.
2015-03-13 22:09:13 -04:00
Robin Gareus
524f322250 ignore master & monitor when “solo all [in group]”
should fix #6193
2015-03-14 01:49:32 +01:00
Ben Loftis
ffd32ae5e1 Right-clicking on the Loop/Punch ruler should "Do Something". 2015-03-13 16:25:59 -05:00
John Emmas
94e36450d2 Fix some build anomalies between PROGRAM_NAME and PROGRAM_VERSION
When building with MSVC, some libraries had PROGRAM_NAME set to "Mixbus" and PROGRAM_VERSION set to "3". Whereas other libraries had PROGRAM_NAME set to "Mixbus3" while PROGRAM_VERSION was an empty string.

I've a horrible feeling there must have been a reason for this but I can't quite think what it was. Hopefully though, this change will standardize everything.
2015-03-13 17:40:53 +00:00
nick_m
4d349f3d3a Align number entry in the meter dialog to the right in lieu of finding
the reason behind ComboBoxText's apparent miscalculation of its' layout
width).
2015-03-14 03:56:14 +11:00
nick_m
4f57a56f04 Don't show stock icons in any buttons (explicitly setting an image will
still work).
2015-03-14 03:53:43 +11:00
nick_m
88e5fccbf1 Don't set the following dialogs to be transients for the editor:
Control point dialog
Edit note dialog
Both types of tempo dialog
Both types of meter dialog.
2015-03-14 03:52:03 +11:00
Robin Gareus
5090934a2c clean out cruft from CoreAudio Backend 2015-03-13 14:05:12 +01:00
Robin Gareus
7a4f1cb98f only jack+windows use portaudio.
fixes missing lib if portaudio-backend is used on on non-windows
platforms (pkg-config defines HAVE_PORTAUDIO)
2015-03-13 13:32:14 +01:00
Robin Gareus
1cca79258a call me Mr. Backend
simple blocking (no callback) PortAudio Backend
2015-03-13 13:32:14 +01:00
Paul Davis
b58c1df07d check for old configuration files and copy if user requests it.
A restart is required. There is a circular dependency between the config files and the GUI, and this restart breaks it
2015-03-12 17:45:42 -05:00
Paul Davis
9a05a0fbfb alter config file copying infrastructure so it can be used at a suitable time in the instance's lifetime 2015-03-12 17:45:42 -05:00
Robin Gareus
b8e9e17fac always show language dialog on windows 2015-03-12 20:31:06 +01:00
Robin Gareus
7a730c2295 NOOP whitespace fixes. 2015-03-12 20:31:06 +01:00
nick_m
1a6bacb1f0 Don't mess with the track selection at all from the editor route list
when adding tracks (thinko in last commit).
2015-03-13 04:01:55 +11:00
Robin Gareus
3bd3dc04b1 fix 0096aa5 (at least for mingw) 2015-03-12 17:57:10 +01:00
nick_m
9ec393422f Add new routes to selection in the editor, rather than the editor
route list.
Fixes new tracks not being selected.
Also begin selection op history when adding routes.
2015-03-13 02:47:16 +11:00
Robin Gareus
b622bc18fc amend 7bb9d04, fix midi looping 2015-03-12 16:18:06 +01:00
Robin Gareus
37a9ef0501 indicate MIDI port names (vs audio system ports) 2015-03-12 16:18:06 +01:00
Paul Davis
523509c389 add seek info to readtest 2015-03-12 10:06:15 -05:00
Paul Davis
0096aa5391 try to clean MSVC/Windows mess in main(), hopefully without breaking anything 2015-03-12 10:06:15 -05:00
Robin Gareus
7bb9d04859 cont’d work on a16dd7c, fixes #6170 2015-03-12 15:23:05 +01:00
Robin Gareus
a16dd7c071 explain midi starvation, issue #6170
this is not a fix yet, just some comments and
code cleanup done while reading/investigating:

* limit reads to available write-space
* skip inactive tracks
* handle potential unsigned + negative value.
2015-03-12 15:22:18 +01:00
Tim Mayberry
831f2989ac Revert commit 635578b3 relating to pthread debugging
This breaks the build for windows builds that don't use the pthreads_win32
library. Using the opaque pthread_t type like this is probably not a great
idea. Using PBD::pthread_name is another option that I've used elsewhere
that seems more useful.
2015-03-12 23:05:31 +10:00
Tim Mayberry
0f8da2d4cd Define DEBUG_THREAD_SELF when debug is enabled 2015-03-12 23:04:25 +10:00
Tim Mayberry
a9c449c4af Use DEBUG_THREAD_SELF macro in session_vst.cc 2015-03-12 23:04:14 +10:00
Tim Mayberry
5476b48539 Don't try linking libclearlooks files with mingw build
I believe this is unnecessary for cross and native builds
2015-03-12 23:03:59 +10:00
Tim Mayberry
47b1c2889c Include windows.h in Dummy backend for LARGE_INTEGER
This is necessary for a native build using MSYS2 and mingw-w64
2015-03-12 23:03:45 +10:00
Tim Mayberry
4c4863248c Include windows.h on windows build for LARGE_INTEGER
This is necessary for a native build using MSYS2 with mingw-w64
2015-03-12 23:03:32 +10:00
Robin Gareus
ec4eb85cb9 OSX use xjadeo directly (no IPC indirection) 2015-03-12 13:19:26 +01:00
Robin Gareus
b0405c3c2c pimp readtest. 2015-03-12 13:15:12 +01:00