ardour.git
9 years agoRemove (no longer needed) header files from our MSVC project (gtk2_ardour)
John Emmas [Mon, 15 Dec 2014 10:22:20 +0000 (10:22 +0000)]
Remove (no longer needed) header files from our MSVC project (gtk2_ardour)

9 years agoadd missing UIConfiguration::modifier()
Paul Davis [Mon, 15 Dec 2014 04:48:20 +0000 (23:48 -0500)]
add missing UIConfiguration::modifier()

9 years agofix up SVAModifier constructors
Paul Davis [Mon, 15 Dec 2014 04:41:31 +0000 (23:41 -0500)]
fix up SVAModifier constructors

9 years agofix XML syntax error
Paul Davis [Mon, 15 Dec 2014 04:36:11 +0000 (23:36 -0500)]
fix XML syntax error

9 years agobasic code to use SVModifier plus one definition in dark.colors
Paul Davis [Mon, 15 Dec 2014 04:34:59 +0000 (23:34 -0500)]
basic code to use SVModifier plus one definition in dark.colors

9 years agoadd SVAModifier to ArdourCanvas color code
Paul Davis [Mon, 15 Dec 2014 04:34:36 +0000 (23:34 -0500)]
add SVAModifier to ArdourCanvas color code

9 years agofix up requested color names everywhere.
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

9 years agonew version of dark.colors
Paul Davis [Sun, 14 Dec 2014 21:14:47 +0000 (16:14 -0500)]
new version of dark.colors

9 years agoremove now-unused headers
Paul Davis [Sun, 14 Dec 2014 21:14:32 +0000 (16:14 -0500)]
remove now-unused headers

9 years agoremove base color concept from UIConfiguration and ThemeManager.
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.

9 years agoinitial pass to replace all UIConfiguration::get_XXXXXX() calls with UIConfiguration...
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

9 years agomove ScopedFileDescriptor into libpbd and use it
Paul Davis [Sun, 14 Dec 2014 17:26:00 +0000 (12:26 -0500)]
move ScopedFileDescriptor into libpbd and use it

9 years agomerge conflict resolution (text colors are no longer specified explicitly)
Paul Davis [Sun, 14 Dec 2014 17:18:55 +0000 (12:18 -0500)]
merge conflict resolution (text colors are no longer specified explicitly)

9 years agofixed merge conflict
Paul Davis [Fri, 12 Dec 2014 20:28:16 +0000 (15:28 -0500)]
fixed merge conflict

9 years agoOnly attempt to close our peakfile '_fd' if we have a valid handle
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)

9 years agoOnly attempt to close '_peakfile_fd' if we have a valid handle
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

9 years agoStructure MIDI device selector by manufacturer.
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.

9 years agoUse ArdourDropdown for MIDI device selector.
David Robillard [Sat, 13 Dec 2014 04:38:41 +0000 (23:38 -0500)]
Use ArdourDropdown for MIDI device selector.

9 years agohide a lot of color debugging noise
Paul Davis [Fri, 12 Dec 2014 18:26:17 +0000 (13:26 -0500)]
hide a lot of color debugging noise

9 years ago show-more-ui-prefs-from-view-window is only a mixbus thing
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

9 years agomore color tweaks
Ben Loftis [Fri, 12 Dec 2014 17:27:29 +0000 (11:27 -0600)]
more color tweaks

9 years agomore color tweaks
Ben Loftis [Fri, 12 Dec 2014 17:03:36 +0000 (11:03 -0600)]
more color tweaks

9 years agoderive ArdourButton LED inactive color from active color, rather than requiring expli...
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

9 years agoRemove (no longer needed) sources from our MSVC project (libpbd)
John Emmas [Fri, 12 Dec 2014 09:08:16 +0000 (09:08 +0000)]
Remove (no longer needed) sources from our MSVC project (libpbd)

9 years agorescue some of the worst casualties of the color changes
Ben Loftis [Fri, 12 Dec 2014 00:01:11 +0000 (18:01 -0600)]
rescue some of the worst casualties of the color changes

9 years agoremove unnecessary button fill color definitions AND fix up "variable" names in COLOR...
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

9 years agoremove unnecessary button fill colors
Paul Davis [Thu, 11 Dec 2014 22:04:40 +0000 (17:04 -0500)]
remove unnecessary button fill colors

9 years agofall back on "generic button" colors in ArdourButton if specifically named fills...
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

9 years agoallow UIConfiguration::color() to tell caller that it could not find the named color
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

9 years agotweaks to minsec and timecode ruler display, especially at very high zoom.
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

9 years agoadd Grygorii Zharun to contributor list
Paul Davis [Thu, 11 Dec 2014 14:04:38 +0000 (09:04 -0500)]
add Grygorii Zharun to contributor list

9 years agofix indentation
Paul Davis [Thu, 11 Dec 2014 14:04:26 +0000 (09:04 -0500)]
fix indentation

9 years ago[Summary] Fixed issue with shifted playhead polygon when new session is created
GZharun [Mon, 15 Sep 2014 11:28:13 +0000 (14:28 +0300)]
[Summary] Fixed issue with shifted playhead polygon when new session is created

9 years agoMerge branch 'nofilemanager'
Paul Davis [Wed, 10 Dec 2014 23:29:41 +0000 (18:29 -0500)]
Merge branch 'nofilemanager'

9 years agoRevert "fix some cast warnings"
Paul Davis [Wed, 10 Dec 2014 23:29:00 +0000 (18:29 -0500)]
Revert "fix some cast warnings"

This reverts commit 17707b9674958391949e59a724a264cdcc2d65ff.

9 years agoremove file manager LRU cache from code.
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.

9 years agofix some cast warnings
Paul Davis [Wed, 10 Dec 2014 23:27:06 +0000 (18:27 -0500)]
fix some cast warnings

9 years agofix some cast warnings
Paul Davis [Wed, 10 Dec 2014 23:13:12 +0000 (18:13 -0500)]
fix some cast warnings

9 years agosimpler approach for Apple setrlimit() compatibility issue
Paul Davis [Wed, 10 Dec 2014 20:59:00 +0000 (15:59 -0500)]
simpler approach for Apple setrlimit() compatibility issue

9 years agotracked down another remaining SessionHandleRef
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()

9 years agotry some alternate, hard numbers when resetting open file limits on OS X
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

9 years agofix binding file bundle path
Robin Gareus [Wed, 10 Dec 2014 19:15:55 +0000 (20:15 +0100)]
fix binding file bundle path

9 years agoO_DIRECT makes no sense in this test because it requires page/block-sized writes
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

9 years agoremove ugly and unnecessary debugging output
Paul Davis [Wed, 10 Dec 2014 18:37:03 +0000 (13:37 -0500)]
remove ugly and unnecessary debugging output

9 years agoadd support for O_DIRECT/F_NOCACHE to check impact of buffer cache avoidance
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

9 years agoUse DEBUG_THREAD_SELF when using DEBUG_TRACE with pthread IDs
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)

9 years agoremove unnecessary sleep
Paul Davis [Wed, 10 Dec 2014 16:46:28 +0000 (11:46 -0500)]
remove unnecessary sleep

9 years agoadd sndfile I/O test application, used for testing disk bandwidth for writing audio...
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

9 years agouse correct conditional to choose between different DEBUG_THREAD_SELF macros
Paul Davis [Wed, 10 Dec 2014 16:07:18 +0000 (11:07 -0500)]
use correct conditional to choose between different DEBUG_THREAD_SELF macros

9 years agoadd DEBUG_THREAD_SELF to allow use of DEBUG_TRACE with thread IDs on both normal...
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

9 years agoupdate_time_selection_display should work when in smart mode
Ben Loftis [Tue, 9 Dec 2014 22:18:30 +0000 (16:18 -0600)]
update_time_selection_display should work when in smart mode

9 years agoadd set-session-extents-from-edit-range
Ben Loftis [Tue, 9 Dec 2014 22:17:47 +0000 (16:17 -0600)]
add set-session-extents-from-edit-range

9 years agomore DEBUG::Butler output, formatting corrections, and a warning on cerr if capture...
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

9 years agofix meter scale colors (meterbridge)
Robin Gareus [Tue, 9 Dec 2014 18:39:44 +0000 (19:39 +0100)]
fix meter scale colors (meterbridge)

9 years agoremove superfluous PBD/ARDOUR:: init calls
Robin Gareus [Tue, 9 Dec 2014 14:45:06 +0000 (15:45 +0100)]
remove superfluous PBD/ARDOUR:: init calls

this reverts 339670b

9 years agoadd DEBUG::Butler and use it
Paul Davis [Tue, 9 Dec 2014 15:18:29 +0000 (10:18 -0500)]
add DEBUG::Butler and use it

9 years agocorrect install location for .mo files (i18n) and cleanup LOCALEDIR use a bit
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

9 years agoinstall single color theme file during waf install
Paul Davis [Tue, 9 Dec 2014 03:18:50 +0000 (22:18 -0500)]
install single color theme file during waf install

9 years agoremove debug output
Paul Davis [Tue, 9 Dec 2014 03:09:37 +0000 (22:09 -0500)]
remove debug output

9 years agomore tweaking of color management.
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.

9 years agoanother metric ton of color work
Paul Davis [Mon, 8 Dec 2014 23:19:11 +0000 (18:19 -0500)]
another metric ton of color work

9 years agolots more color work, closer and closer to being ready for ... being taken apart...
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

9 years agochange packaging of GTK rc file for OS X and Linux.
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

9 years agochange GTK rc file system to use just a single file, which is color-neutral.
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

9 years agomore color work, including removing rgba{_p_}_from_style()
Paul Davis [Mon, 8 Dec 2014 15:13:27 +0000 (10:13 -0500)]
more color work, including removing rgba{_p_}_from_style()

9 years agonoop, simplify code.
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.

9 years agoWhen we pass an integer clarify which overloaded version of sqrt() to call
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

9 years agoDon't switch to internal when switching to draw.
David Robillard [Mon, 8 Dec 2014 04:59:07 +0000 (23:59 -0500)]
Don't switch to internal when switching to draw.

9 years agoFix alignment of automation paste.
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...

9 years agoFix uninitialized value in note create drag.
David Robillard [Mon, 8 Dec 2014 01:36:32 +0000 (20:36 -0500)]
Fix uninitialized value in note create drag.

9 years agoDraw region automation with draw in either mode.
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.

9 years agoUnify gain and draw tools.
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.

9 years agoFix and simplify step_mouse_mode.
David Robillard [Mon, 8 Dec 2014 00:04:33 +0000 (19:04 -0500)]
Fix and simplify step_mouse_mode.

9 years agoFix shift-rect-select with MIDI notes.
David Robillard [Sun, 7 Dec 2014 22:29:48 +0000 (17:29 -0500)]
Fix shift-rect-select with MIDI notes.

9 years agonew code-level defaults for audio peak meter colors
Paul Davis [Sun, 7 Dec 2014 21:11:09 +0000 (16:11 -0500)]
new code-level defaults for audio peak meter colors

9 years agoRevert "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.

9 years agonew code-level defaults for audio peak meter colors
Paul Davis [Sun, 7 Dec 2014 21:09:52 +0000 (16:09 -0500)]
new code-level defaults for audio peak meter colors

9 years agosane audio meter default colors
Robin Gareus [Sun, 7 Dec 2014 21:01:26 +0000 (22:01 +0100)]
sane audio meter default colors

9 years agoremove old alias names for meter fills from default_ui_config
Paul Davis [Sun, 7 Dec 2014 20:12:28 +0000 (15:12 -0500)]
remove old alias names for meter fills from default_ui_config

9 years agothe return of correct audio meter colors
Paul Davis [Sun, 7 Dec 2014 20:06:33 +0000 (15:06 -0500)]
the return of correct audio meter colors

9 years agoremove stacktrace
Paul Davis [Sun, 7 Dec 2014 19:23:24 +0000 (14:23 -0500)]
remove stacktrace

9 years agofix up various issues with UIConfiguration, saving state, RC file loading etc.
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.

9 years agoremove all explicit button text colors; use contrasting_text_color() instead.
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

9 years agofix up a logic problem when editing palette colors
Paul Davis [Sun, 7 Dec 2014 18:44:12 +0000 (13:44 -0500)]
fix up a logic problem when editing palette colors

9 years agoremove debug output
Paul Davis [Sun, 7 Dec 2014 18:44:00 +0000 (13:44 -0500)]
remove debug output

9 years agofix default gtk background color
Paul Davis [Sun, 7 Dec 2014 18:43:40 +0000 (13:43 -0500)]
fix default gtk background color

9 years agobig strides in color management
Paul Davis [Sun, 7 Dec 2014 18:12:36 +0000 (13:12 -0500)]
big strides in color management

9 years agorevert UIConfiguration back to a normal member of ARDOUR_UI
Paul Davis [Sun, 7 Dec 2014 18:12:21 +0000 (13:12 -0500)]
revert UIConfiguration back to a normal member of ARDOUR_UI

9 years agofirst mostly-working build supporting GTK rethemeing via the Theme Manager
Paul Davis [Sat, 6 Dec 2014 20:27:18 +0000 (15:27 -0500)]
first mostly-working build supporting GTK rethemeing via the Theme Manager

9 years agoAdd a newly introduced header file to our MSVC project (gtk2_ardour)
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)

9 years agoAdd some newly introduced source files to our MSVC project (libardour)
John Emmas [Sun, 7 Dec 2014 13:31:41 +0000 (13:31 +0000)]
Add some newly introduced source files to our MSVC project (libardour)

9 years agoMake draw tool add points to track automation.
David Robillard [Sun, 7 Dec 2014 05:26:00 +0000 (00:26 -0500)]
Make draw tool add points to track automation.

9 years agoAdd legatize and remove overlap MIDI operations.
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...

9 years agoSupport keyboard shift-click to select many notes.
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.

9 years agoNudge notes by 1 bar if secondary modifier active.
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.

9 years agoRemove unnecessary includes.
David Robillard [Sun, 7 Dec 2014 01:58:58 +0000 (20:58 -0500)]
Remove unnecessary includes.

9 years agoAllow creation of MIDI control points object tool.
David Robillard [Sun, 7 Dec 2014 01:01:06 +0000 (20:01 -0500)]
Allow creation of MIDI control points object tool.

9 years agoGrab keyboard only with note selection.
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.

9 years agoFix crash on quit when in a non-route time axis.
David Robillard [Sat, 6 Dec 2014 23:42:35 +0000 (18:42 -0500)]
Fix crash on quit when in a non-route time axis.

9 years agoInvalidate iterator whenever model changes.
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...