Paul Davis [Mon, 15 Dec 2014 04:34:59 +0000 (23:34 -0500)]
basic code to use SVModifier plus one definition in dark.colors
Paul Davis [Mon, 15 Dec 2014 04:34:36 +0000 (23:34 -0500)]
add SVAModifier to ArdourCanvas color code
Paul Davis [Sun, 14 Dec 2014 21:15:38 +0000 (16:15 -0500)]
fix up requested color names everywhere.
Thank <deity> for emacs ... space-uncamelcase-word-at-point FTW
Paul Davis [Sun, 14 Dec 2014 21:14:47 +0000 (16:14 -0500)]
new version of dark.colors
Paul Davis [Sun, 14 Dec 2014 21:14:32 +0000 (16:14 -0500)]
remove now-unused headers
Paul Davis [Sun, 14 Dec 2014 21:14:18 +0000 (16:14 -0500)]
remove base color concept from UIConfiguration and ThemeManager.
What used to be "relative colors" (defined relative to base colors) are now defined
in absolute terms.
Paul Davis [Sun, 14 Dec 2014 17:27:07 +0000 (12:27 -0500)]
initial pass to replace all UIConfiguration::get_XXXXXX() calls with UIConfiguration::color(name).
IMPORTANT: names have not been downcased and spaced yet, so many colors are not found
Paul Davis [Sun, 14 Dec 2014 17:26:00 +0000 (12:26 -0500)]
move ScopedFileDescriptor into libpbd and use it
Paul Davis [Sun, 14 Dec 2014 17:18:55 +0000 (12:18 -0500)]
merge conflict resolution (text colors are no longer specified explicitly)
Paul Davis [Fri, 12 Dec 2014 20:28:16 +0000 (15:28 -0500)]
fixed merge conflict
John Emmas [Sun, 14 Dec 2014 10:39:29 +0000 (10:39 +0000)]
Only attempt to close our peakfile '_fd' if we have a valid handle
(yesterday's fix was needed in a 2nd place)
John Emmas [Sat, 13 Dec 2014 12:46:24 +0000 (12:46 +0000)]
Only attempt to close '_peakfile_fd' if we have a valid handle
David Robillard [Sat, 13 Dec 2014 05:37:34 +0000 (00:37 -0500)]
Structure MIDI device selector by manufacturer.
Unfortunately we store the state of models as simply model, so if there's ever
duplicate model names, we're somewhat screwed, but this makes the (previously
unmanageably huge) menu usable, while retaining the "model name as global
identifier" state unmodified.
David Robillard [Sat, 13 Dec 2014 04:38:41 +0000 (23:38 -0500)]
Use ArdourDropdown for MIDI device selector.
Paul Davis [Fri, 12 Dec 2014 18:26:17 +0000 (13:26 -0500)]
hide a lot of color debugging noise
Ben Loftis [Fri, 12 Dec 2014 18:32:32 +0000 (12:32 -0600)]
show-more-ui-prefs-from-view-window is only a mixbus thing
Ben Loftis [Fri, 12 Dec 2014 17:27:29 +0000 (11:27 -0600)]
more color tweaks
Ben Loftis [Fri, 12 Dec 2014 17:03:36 +0000 (11:03 -0600)]
more color tweaks
Paul Davis [Fri, 12 Dec 2014 16:48:40 +0000 (11:48 -0500)]
derive ArdourButton LED inactive color from active color, rather than requiring explicit definition
John Emmas [Fri, 12 Dec 2014 09:08:16 +0000 (09:08 +0000)]
Remove (no longer needed) sources from our MSVC project (libpbd)
Ben Loftis [Fri, 12 Dec 2014 00:01:11 +0000 (18:01 -0600)]
rescue some of the worst casualties of the color changes
Paul Davis [Thu, 11 Dec 2014 22:05:13 +0000 (17:05 -0500)]
remove unnecessary button fill color definitions AND fix up "variable" names in COLOR_ALIAS macros (makes no difference to function
Paul Davis [Thu, 11 Dec 2014 22:04:40 +0000 (17:04 -0500)]
remove unnecessary button fill colors
Paul Davis [Thu, 11 Dec 2014 22:04:21 +0000 (17:04 -0500)]
fall back on "generic button" colors in ArdourButton if specifically named fills + LED colors are not defined
Paul Davis [Thu, 11 Dec 2014 22:03:52 +0000 (17:03 -0500)]
allow UIConfiguration::color() to tell caller that it could not find the named color
Paul Davis [Thu, 11 Dec 2014 17:51:01 +0000 (12:51 -0500)]
tweaks to minsec and timecode ruler display, especially at very high zoom.
Imported from work on Tracks done in Tel Aviv, November 2014
Paul Davis [Thu, 11 Dec 2014 14:04:38 +0000 (09:04 -0500)]
add Grygorii Zharun to contributor list
Paul Davis [Thu, 11 Dec 2014 14:04:26 +0000 (09:04 -0500)]
fix indentation
GZharun [Mon, 15 Sep 2014 11:28:13 +0000 (14:28 +0300)]
[Summary] Fixed issue with shifted playhead polygon when new session is created
Paul Davis [Wed, 10 Dec 2014 23:29:41 +0000 (18:29 -0500)]
Merge branch 'nofilemanager'
Paul Davis [Wed, 10 Dec 2014 23:29:00 +0000 (18:29 -0500)]
Revert "fix some cast warnings"
This reverts commit
17707b9674958391949e59a724a264cdcc2d65ff.
Paul Davis [Wed, 10 Dec 2014 23:28:55 +0000 (18:28 -0500)]
remove file manager LRU cache from code.
This was a very clever attempt to fix a non-problem. If the platform doesn't have enough file descriptors available
then the platform is broken and we're not going to hack around trying to fix it.
Paul Davis [Wed, 10 Dec 2014 23:27:06 +0000 (18:27 -0500)]
fix some cast warnings
Paul Davis [Wed, 10 Dec 2014 23:13:12 +0000 (18:13 -0500)]
fix some cast warnings
Paul Davis [Wed, 10 Dec 2014 20:59:00 +0000 (15:59 -0500)]
simpler approach for Apple setrlimit() compatibility issue
Robin Gareus [Wed, 10 Dec 2014 20:44:50 +0000 (21:44 +0100)]
tracked down another remaining SessionHandleRef
import_status.sources kept references to the
most recently imported ARDOUR::SndFileSource
“all new sources” from Session::import_files()
Paul Davis [Wed, 10 Dec 2014 20:27:22 +0000 (15:27 -0500)]
try some alternate, hard numbers when resetting open file limits on OS X
Robin Gareus [Wed, 10 Dec 2014 19:15:55 +0000 (20:15 +0100)]
fix binding file bundle path
Paul Davis [Wed, 10 Dec 2014 18:55:53 +0000 (13:55 -0500)]
O_DIRECT makes no sense in this test because it requires page/block-sized writes
Paul Davis [Wed, 10 Dec 2014 18:37:03 +0000 (13:37 -0500)]
remove ugly and unnecessary debugging output
Paul Davis [Wed, 10 Dec 2014 18:35:57 +0000 (13:35 -0500)]
add support for O_DIRECT/F_NOCACHE to check impact of buffer cache avoidance
John Emmas [Wed, 10 Dec 2014 16:53:47 +0000 (16:53 +0000)]
Use DEBUG_THREAD_SELF when using DEBUG_TRACE with pthread IDs
(supports both normal pthreads usage and PTW32)
Paul Davis [Wed, 10 Dec 2014 16:46:28 +0000 (11:46 -0500)]
remove unnecessary sleep
Paul Davis [Wed, 10 Dec 2014 16:44:55 +0000 (11:44 -0500)]
add sndfile I/O test application, used for testing disk bandwidth for writing audio files
Paul Davis [Wed, 10 Dec 2014 16:07:18 +0000 (11:07 -0500)]
use correct conditional to choose between different DEBUG_THREAD_SELF macros
Paul Davis [Wed, 10 Dec 2014 14:32:25 +0000 (09:32 -0500)]
add DEBUG_THREAD_SELF to allow use of DEBUG_TRACE with thread IDs on both normal pthreads platforms and PTW32
Ben Loftis [Tue, 9 Dec 2014 22:18:30 +0000 (16:18 -0600)]
update_time_selection_display should work when in smart mode
Ben Loftis [Tue, 9 Dec 2014 22:17:47 +0000 (16:17 -0600)]
add set-session-extents-from-edit-range
Paul Davis [Tue, 9 Dec 2014 21:36:37 +0000 (16:36 -0500)]
more DEBUG::Butler output, formatting corrections, and a warning on cerr if capture/playback buffers are too full/empty
Robin Gareus [Tue, 9 Dec 2014 18:39:44 +0000 (19:39 +0100)]
fix meter scale colors (meterbridge)
Robin Gareus [Tue, 9 Dec 2014 14:45:06 +0000 (15:45 +0100)]
remove superfluous PBD/ARDOUR:: init calls
this reverts
339670b
Paul Davis [Tue, 9 Dec 2014 15:18:29 +0000 (10:18 -0500)]
add DEBUG::Butler and use it
Paul Davis [Tue, 9 Dec 2014 13:19:11 +0000 (08:19 -0500)]
correct install location for .mo files (i18n) and cleanup LOCALEDIR use a bit
Paul Davis [Tue, 9 Dec 2014 03:18:50 +0000 (22:18 -0500)]
install single color theme file during waf install
Paul Davis [Tue, 9 Dec 2014 03:09:37 +0000 (22:09 -0500)]
remove debug output
Paul Davis [Tue, 9 Dec 2014 03:02:32 +0000 (22:02 -0500)]
more tweaking of color management.
User's own modification to NAME.colors are stored in $CONFIG/my-NAME.colors now.
Paul Davis [Mon, 8 Dec 2014 23:19:11 +0000 (18:19 -0500)]
another metric ton of color work
Paul Davis [Mon, 8 Dec 2014 20:52:18 +0000 (15:52 -0500)]
lots more color work, closer and closer to being ready for ... being taken apart again
Paul Davis [Mon, 8 Dec 2014 16:03:47 +0000 (11:03 -0500)]
change packaging of GTK rc file for OS X and Linux.
I cannot find the equivalent location for Windows
Paul Davis [Mon, 8 Dec 2014 16:00:00 +0000 (11:00 -0500)]
change GTK rc file system to use just a single file, which is color-neutral.
* packaging scripts need modification
* light theme file left in place to help with possible generation of alternate theme
Paul Davis [Mon, 8 Dec 2014 15:13:27 +0000 (10:13 -0500)]
more color work, including removing rgba{_p_}_from_style()
Robin Gareus [Mon, 8 Dec 2014 17:46:54 +0000 (18:46 +0100)]
noop, simplify code.
(!mixer || !editor) are checked at the top of the funtion
and also used without checks further down.
John Emmas [Mon, 8 Dec 2014 10:29:45 +0000 (10:29 +0000)]
When we pass an integer clarify which overloaded version of sqrt() to call
David Robillard [Mon, 8 Dec 2014 04:59:07 +0000 (23:59 -0500)]
Don't switch to internal when switching to draw.
David Robillard [Mon, 8 Dec 2014 04:16:42 +0000 (23:16 -0500)]
Fix alignment of automation paste.
Preserve alignment between notes and control points when doing an internal
copy/paste of both.
Relative alignment between points on multi-paste is still not preserved. Both
behaviours here are actually useful, perhaps a modifier...
David Robillard [Mon, 8 Dec 2014 01:36:32 +0000 (20:36 -0500)]
Fix uninitialized value in note create drag.
David Robillard [Mon, 8 Dec 2014 00:54:47 +0000 (19:54 -0500)]
Draw region automation with draw in either mode.
Perhaps debatable if contents should be edited when not in internal mode
whatsoever, but consistent with audio region gain and track automation. It's
less of a problem with the draw tool than, say, object since drawing stuff is
its entire purpose.
David Robillard [Mon, 8 Dec 2014 00:53:46 +0000 (19:53 -0500)]
Unify gain and draw tools.
There might be a few special cases lingering around from attempts at magic tool
business, but this seems to work fine as far as I can tell.
David Robillard [Mon, 8 Dec 2014 00:04:33 +0000 (19:04 -0500)]
Fix and simplify step_mouse_mode.
David Robillard [Sun, 7 Dec 2014 22:29:48 +0000 (17:29 -0500)]
Fix shift-rect-select with MIDI notes.
Paul Davis [Sun, 7 Dec 2014 21:11:09 +0000 (16:11 -0500)]
new code-level defaults for audio peak meter colors
Paul Davis [Sun, 7 Dec 2014 21:10:39 +0000 (16:10 -0500)]
Revert "new code-level defaults for audio peak meter colors"
This reverts commit
564d2860f85340ea091cfa4d92cb5f84d2a40fb1.
Paul Davis [Sun, 7 Dec 2014 21:09:52 +0000 (16:09 -0500)]
new code-level defaults for audio peak meter colors
Robin Gareus [Sun, 7 Dec 2014 21:01:26 +0000 (22:01 +0100)]
sane audio meter default colors
Paul Davis [Sun, 7 Dec 2014 20:12:28 +0000 (15:12 -0500)]
remove old alias names for meter fills from default_ui_config
Paul Davis [Sun, 7 Dec 2014 20:06:33 +0000 (15:06 -0500)]
the return of correct audio meter colors
Paul Davis [Sun, 7 Dec 2014 19:23:24 +0000 (14:23 -0500)]
remove stacktrace
Paul Davis [Sun, 7 Dec 2014 19:20:17 +0000 (14:20 -0500)]
fix up various issues with UIConfiguration, saving state, RC file loading etc.
Paul Davis [Sun, 7 Dec 2014 18:55:40 +0000 (13:55 -0500)]
remove all explicit button text colors; use contrasting_text_color() instead.
Also, use a slightly off-white rather than pure white, which should really be configurable
Paul Davis [Sun, 7 Dec 2014 18:44:12 +0000 (13:44 -0500)]
fix up a logic problem when editing palette colors
Paul Davis [Sun, 7 Dec 2014 18:44:00 +0000 (13:44 -0500)]
remove debug output
Paul Davis [Sun, 7 Dec 2014 18:43:40 +0000 (13:43 -0500)]
fix default gtk background color
Paul Davis [Sun, 7 Dec 2014 18:12:36 +0000 (13:12 -0500)]
big strides in color management
Paul Davis [Sun, 7 Dec 2014 18:12:21 +0000 (13:12 -0500)]
revert UIConfiguration back to a normal member of ARDOUR_UI
Paul Davis [Sat, 6 Dec 2014 20:27:18 +0000 (15:27 -0500)]
first mostly-working build supporting GTK rethemeing via the Theme Manager
John Emmas [Sun, 7 Dec 2014 13:32:50 +0000 (13:32 +0000)]
Add a newly introduced header file to our MSVC project (gtk2_ardour)
John Emmas [Sun, 7 Dec 2014 13:31:41 +0000 (13:31 +0000)]
Add some newly introduced source files to our MSVC project (libardour)
David Robillard [Sun, 7 Dec 2014 05:26:00 +0000 (00:26 -0500)]
Make draw tool add points to track automation.
David Robillard [Sun, 7 Dec 2014 04:42:11 +0000 (23:42 -0500)]
Add legatize and remove overlap MIDI operations.
We're going to need the ability to apply MIDI edit operations to a note/control
selection soon...
David Robillard [Sun, 7 Dec 2014 03:02:25 +0000 (22:02 -0500)]
Support keyboard shift-click to select many notes.
Also support selecting with button 1 if shift is held, more discoverable.
David Robillard [Sun, 7 Dec 2014 02:29:48 +0000 (21:29 -0500)]
Nudge notes by 1 bar if secondary modifier active.
Similar to how transpose moves an octave if the same modifier is active.
David Robillard [Sun, 7 Dec 2014 01:58:58 +0000 (20:58 -0500)]
Remove unnecessary includes.
David Robillard [Sun, 7 Dec 2014 01:01:06 +0000 (20:01 -0500)]
Allow creation of MIDI control points object tool.
David Robillard [Sun, 7 Dec 2014 00:56:36 +0000 (19:56 -0500)]
Grab keyboard only with note selection.
When entered, the keyboard is grabbed when the selection becomes non-empty, and
ungrabbed if it becomes empty again or the region is left or the user switches
out of internal mode.
This fixes scroll in internal mode and note moving with arrow keys. Also frees
up useful keybindings when there is no note selection, which is much nicer than
the "nothing works in edit mode at all" greedy grab approach used previously.
Attempt #
874327892 of getting this damned grabbing right.
David Robillard [Sat, 6 Dec 2014 23:42:35 +0000 (18:42 -0500)]
Fix crash on quit when in a non-route time axis.
David Robillard [Sat, 6 Dec 2014 23:04:30 +0000 (18:04 -0500)]
Invalidate iterator whenever model changes.
I suspect this is an underlying cause of several tricky to reproduce bugs, but
we'll have to wait around and see...
David Robillard [Sat, 6 Dec 2014 23:02:36 +0000 (18:02 -0500)]
Fix crash on shift+rclick of region to remove.
This doesn't seem to have been touched for years, and I don't see how such an
obvious bug could possibly have been around for so long, but, well, this fixes
it as far as I can tell.
David Robillard [Sat, 6 Dec 2014 22:46:12 +0000 (17:46 -0500)]
Fix crash when resizing a track quickly.
Triggered by resize drag an automation track very quickly upwards to shrink it
to the minimum. Caused by unsigned integer underflow.
Robin Gareus [Sat, 6 Dec 2014 22:51:33 +0000 (23:51 +0100)]
midnam test: don't clutter up output.
David Robillard [Sat, 6 Dec 2014 21:46:00 +0000 (16:46 -0500)]
Fix crash when showing MIDI regions we shouldn't.
I am not sure what causes this, but it can happen when finishing a record
sometimes. Probably MidiSource::_writing isn't updated in the right order with
whatever triggers the redisplay, but at least not crashing is better...