ardour.git
10 years agoInclude unistd.h for usleep on MinGW
Paul Davis [Thu, 11 Jul 2013 17:01:16 +0000 (13:01 -0400)]
Include unistd.h for usleep on MinGW

10 years agoChanges to get IPMIDIPort to compile(but not functional) on MinGW
Paul Davis [Thu, 11 Jul 2013 17:00:42 +0000 (13:00 -0400)]
Changes to get IPMIDIPort to compile(but not functional) on MinGW

10 years agoInclude pthread.h as it isn't included via jack headers on windows
Paul Davis [Thu, 11 Jul 2013 16:58:44 +0000 (12:58 -0400)]
Include pthread.h as it isn't included via jack headers on windows

10 years ago Use timeout source to process ui requests on windows
Paul Davis [Thu, 11 Jul 2013 16:56:35 +0000 (12:56 -0400)]
 Use timeout source to process ui requests on windows

Using a timeout source to process ui events/requests is suboptimal
but it works for the moment. Have to use g_source functions as glibmm
functions are not thread safe AFAIK.

Behaviour should be exactly the same on unix.

10 years agoHide UI request mechanism from inheriting classes
Paul Davis [Thu, 11 Jul 2013 16:52:46 +0000 (12:52 -0400)]
Hide UI request mechanism from inheriting classes

10 years agoIfdef unix specific test for mingw build
Paul Davis [Thu, 11 Jul 2013 16:47:56 +0000 (12:47 -0400)]
Ifdef unix specific test for mingw build

10 years agoDon't use parts of signal.h that aren't defined when using mingw
Paul Davis [Thu, 11 Jul 2013 16:46:52 +0000 (12:46 -0400)]
Don't use parts of signal.h that aren't defined when using mingw

10 years agoAdd implementation for ProcessSemaphore on windows
Paul Davis [Thu, 11 Jul 2013 16:46:05 +0000 (12:46 -0400)]
Add implementation for ProcessSemaphore on windows

10 years agoInclude io.h on windows for access
Paul Davis [Thu, 11 Jul 2013 16:44:33 +0000 (12:44 -0400)]
Include io.h on windows for access

10 years agoAdd an empty implementation of PBD::mountpoint for mingw
Paul Davis [Thu, 11 Jul 2013 16:43:55 +0000 (12:43 -0400)]
Add an empty implementation of PBD::mountpoint for mingw

PBD::mountpoint is only used to find peakfiles for old sessions, so it might
not be necessary to implement this for windows.

10 years agoUse pbd/resource.h in PBD::FileManager
Paul Davis [Thu, 11 Jul 2013 16:42:53 +0000 (12:42 -0400)]
Use pbd/resource.h in PBD::FileManager

10 years agoAdd pbd/resource.h for portable access to resource limits
Paul Davis [Thu, 11 Jul 2013 16:41:55 +0000 (12:41 -0400)]
Add pbd/resource.h for portable access to resource limits

10 years agoFallback to gettimeofday for access time in FileManager
Paul Davis [Thu, 11 Jul 2013 16:39:24 +0000 (12:39 -0400)]
Fallback to gettimeofday for access time in FileManager

10 years agoUse boost::tokenizer in PBD::parse_debug_options for portability
Paul Davis [Thu, 11 Jul 2013 16:36:16 +0000 (12:36 -0400)]
Use boost::tokenizer in PBD::parse_debug_options for portability

10 years agoUse boost::uuid instead of libuuid
Paul Davis [Thu, 11 Jul 2013 16:30:32 +0000 (12:30 -0400)]
Use boost::uuid instead of libuuid

10 years agoAdd clean script to windows stuff to save a bit of typing
Paul Davis [Thu, 11 Jul 2013 16:26:29 +0000 (12:26 -0400)]
Add clean script to windows stuff to save a bit of typing

10 years agoAdd Windows building/packaging scripts
Paul Davis [Thu, 11 Jul 2013 16:23:50 +0000 (12:23 -0400)]
Add Windows building/packaging scripts

10 years agoOnly call configure in surface subdirectories if the required deps are available
Paul Davis [Thu, 11 Jul 2013 16:23:05 +0000 (12:23 -0400)]
Only call configure in surface subdirectories if the required deps are available

I think these checks should probably be in the surface build files so they
are self contained...

10 years agoFix some usage of non-standard types for portability
Paul Davis [Thu, 11 Jul 2013 16:05:37 +0000 (12:05 -0400)]
Fix some usage of non-standard types for portability

10 years agoUse PBD::pthread_name in debug output instead of pthread_self
Paul Davis [Thu, 11 Jul 2013 16:01:17 +0000 (12:01 -0400)]
Use PBD::pthread_name in debug output instead of pthread_self

10 years agoUse PBD::pthread_name in debug output for portability
Paul Davis [Thu, 11 Jul 2013 15:53:24 +0000 (11:53 -0400)]
Use PBD::pthread_name in debug output for portability

10 years agoUse pthread_equal in libmidi++ for portability
Paul Davis [Thu, 11 Jul 2013 15:51:59 +0000 (11:51 -0400)]
Use pthread_equal in libmidi++ for portability

10 years agoUse default constructor for pthread_t in InterthreadInfo ctor
Paul Davis [Thu, 11 Jul 2013 15:50:25 +0000 (11:50 -0400)]
Use default constructor for pthread_t in InterthreadInfo ctor

10 years ago Use a std::list instead of std::set for the ThreadMap in libpbd
Paul Davis [Thu, 11 Jul 2013 15:43:43 +0000 (11:43 -0400)]
 Use a std::list instead of std::set for the ThreadMap in libpbd

pthread_t can't work with std::set using the pthread lib on windows
as there is no operator< defined for the type

10 years agoUse pthread_equals in libpbd for portability
Paul Davis [Thu, 11 Jul 2013 15:40:59 +0000 (11:40 -0400)]
Use pthread_equals in libpbd for portability

10 years agoUse g_random_int instead of ::random for portability
Paul Davis [Thu, 11 Jul 2013 15:38:46 +0000 (11:38 -0400)]
Use g_random_int instead of ::random for portability

10 years agoUse g_setenv and g_getenv for portability
Paul Davis [Thu, 11 Jul 2013 15:37:25 +0000 (11:37 -0400)]
Use g_setenv and g_getenv for portability

10 years agoRemove non-portable and unnused header includes
Paul Davis [Thu, 11 Jul 2013 15:34:37 +0000 (11:34 -0400)]
Remove non-portable and unnused header includes

10 years agoFix portability of test and use temporary test
Paul Davis [Thu, 11 Jul 2013 15:12:39 +0000 (11:12 -0400)]
Fix portability of test and use temporary test

10 years agoUse common test function to create temporary session
Paul Davis [Thu, 11 Jul 2013 15:11:45 +0000 (11:11 -0400)]
Use common test function to create temporary session

10 years agoadd new files from test changes by timbyr
Paul Davis [Thu, 11 Jul 2013 15:10:56 +0000 (11:10 -0400)]
add new files from test changes by timbyr

10 years agotheoretically: "Add new_test_output_dir to common libardour test" but actually featur...
Paul Davis [Thu, 11 Jul 2013 15:07:13 +0000 (11:07 -0400)]
theoretically: "Add new_test_output_dir to common libardour test" but actually features addition of new files, thus losing git history for these two which came from tim mayberry

10 years agoUse test_search_path function in ardour test
Paul Davis [Thu, 11 Jul 2013 15:01:36 +0000 (11:01 -0400)]
Use test_search_path function in ardour test

10 years agoAdd test_search_path function in libardour testsuite
Paul Davis [Thu, 11 Jul 2013 15:00:59 +0000 (11:00 -0400)]
Add test_search_path function in libardour testsuite

10 years agoUse test_search_path to find test data in xpath test
Paul Davis [Thu, 11 Jul 2013 14:59:30 +0000 (10:59 -0400)]
Use test_search_path to find test data in xpath test

10 years agoAdd test_search_path function in PBD testsuite
Paul Davis [Thu, 11 Jul 2013 14:58:35 +0000 (10:58 -0400)]
Add test_search_path function in PBD testsuite

10 years agoAdd --single-tests option to also build each libardour test as a separate program
Paul Davis [Thu, 11 Jul 2013 14:57:21 +0000 (10:57 -0400)]
Add --single-tests option to also build each libardour test as a separate program

10 years agodisable libardour unit tests that do not function correctly (for windows, at least)
Paul Davis [Thu, 11 Jul 2013 14:31:47 +0000 (10:31 -0400)]
disable libardour unit tests that do not function correctly (for windows, at least)

10 years agohandle aux-send processor-box action
Robin Gareus [Thu, 11 Jul 2013 09:36:38 +0000 (11:36 +0200)]
handle aux-send processor-box action

fixes http://tracker.ardour.org/view.php?id=5574

10 years agoamend cb7bcb6d - locked-solo button style
Robin Gareus [Thu, 11 Jul 2013 00:31:30 +0000 (02:31 +0200)]
amend cb7bcb6d - locked-solo button style

10 years agoreplace Lock^Wshopping-bag icon with button-sensitivity
Robin Gareus [Wed, 10 Jul 2013 23:59:26 +0000 (01:59 +0200)]
replace Lock^Wshopping-bag icon with button-sensitivity

10 years agometerbridge update solo-button label (AFL,PFL, locked)
Robin Gareus [Wed, 10 Jul 2013 23:50:30 +0000 (01:50 +0200)]
meterbridge update solo-button label (AFL,PFL, locked)

10 years agolight up track seperator
Robin Gareus [Wed, 10 Jul 2013 23:07:38 +0000 (01:07 +0200)]
light up track seperator

10 years agodisplay separator on newly created tracks.
Robin Gareus [Wed, 10 Jul 2013 22:38:43 +0000 (00:38 +0200)]
display separator on newly created tracks.

10 years agoupdate mixer-meter (width) and panner if channel count changes
Robin Gareus [Wed, 10 Jul 2013 22:14:27 +0000 (00:14 +0200)]
update mixer-meter (width) and panner if channel count changes

10 years agorework narrow mode metric (again)
Robin Gareus [Wed, 10 Jul 2013 20:35:51 +0000 (22:35 +0200)]
rework narrow mode metric (again)

10 years agoardour-button - fix test+LED margin
Robin Gareus [Wed, 10 Jul 2013 20:34:39 +0000 (22:34 +0200)]
ardour-button - fix test+LED margin

10 years agosave width of mixer-strip when changing _all_ strips
Robin Gareus [Wed, 10 Jul 2013 19:40:42 +0000 (21:40 +0200)]
save width of mixer-strip when changing _all_ strips

10 years agoqueue axis resize if port-config changes
Robin Gareus [Wed, 10 Jul 2013 18:48:42 +0000 (20:48 +0200)]
queue axis resize if port-config changes

10 years agonarrow down multi-channel tracks
Robin Gareus [Wed, 10 Jul 2013 16:38:25 +0000 (18:38 +0200)]
narrow down multi-channel tracks

10 years agoslimming diet for the narrow-mixer strip
Robin Gareus [Wed, 10 Jul 2013 15:13:45 +0000 (17:13 +0200)]
slimming diet for the narrow-mixer strip

10 years agoremove another instance of xmmintrin.h
Paul Davis [Wed, 10 Jul 2013 15:04:35 +0000 (11:04 -0400)]
remove another instance of xmmintrin.h

10 years agoremove unnecessary include of xmmintrin.h
Paul Davis [Wed, 10 Jul 2013 14:57:05 +0000 (10:57 -0400)]
remove unnecessary include of xmmintrin.h

10 years agofix ProxyBase::save_pos_and_size
Robin Gareus [Wed, 10 Jul 2013 13:22:56 +0000 (15:22 +0200)]
fix ProxyBase::save_pos_and_size

win() may return NULL -- although if we get a size-request we
can be sure the window exists. -- NTL this feels better :)

10 years agotweak window-proxy session-management logic
Robin Gareus [Wed, 10 Jul 2013 13:21:24 +0000 (15:21 +0200)]
tweak window-proxy session-management logic

10 years agofix tracks & bus inspector display
Robin Gareus [Wed, 10 Jul 2013 11:16:42 +0000 (13:16 +0200)]
fix tracks & bus inspector display

10 years agofix port-matrix (update with session)
Robin Gareus [Wed, 10 Jul 2013 11:16:11 +0000 (13:16 +0200)]
fix port-matrix (update with session)

10 years agocleanup - prepare narrow mixer strips
Robin Gareus [Wed, 10 Jul 2013 13:11:51 +0000 (15:11 +0200)]
cleanup - prepare narrow mixer strips

10 years agolimit meterbridge window height to multiples of 16px
Robin Gareus [Wed, 10 Jul 2013 00:42:29 +0000 (02:42 +0200)]
limit meterbridge window height to multiples of 16px

(workaround to bad resizing performance, realloc drawing areas)

10 years agoRevert "show track-ID in mixer" and "...towards unique track numbers."
Robin Gareus [Tue, 9 Jul 2013 23:56:20 +0000 (01:56 +0200)]
Revert "show track-ID in mixer" and "...towards unique track numbers."

This reverts commits:
  ca54ea2b462869bfd9254a493d073ca1e9ad4b8e.
  9e87e058e26b87013e89ddf5d3b7358d50024d60.

10 years agoremove unique track number from meterbridge
Robin Gareus [Tue, 9 Jul 2013 23:53:53 +0000 (01:53 +0200)]
remove unique track number from meterbridge

10 years agoremove cruft
Robin Gareus [Tue, 9 Jul 2013 23:45:10 +0000 (01:45 +0200)]
remove cruft

10 years agoRevert "replace "-inf" with UTF8 infinity symbol"
Robin Gareus [Tue, 9 Jul 2013 22:02:35 +0000 (00:02 +0200)]
Revert "replace "-inf" with UTF8 infinity symbol"

This reverts commit 7f2000ec8b0d6e0d3a6e22db44a8859301d35791.

10 years agoEpisode VI: Return of the ZeroDBline
Robin Gareus [Tue, 9 Jul 2013 22:02:17 +0000 (00:02 +0200)]
Episode VI: Return of the ZeroDBline

10 years agoEpisode V: the gainfader line strikes back
Robin Gareus [Wed, 10 Jul 2013 13:23:59 +0000 (15:23 +0200)]
Episode V: the gainfader line strikes back

10 years agofix meterbridge window pos+size state save
Robin Gareus [Tue, 9 Jul 2013 17:48:15 +0000 (19:48 +0200)]
fix meterbridge window pos+size state save

...even if window is not open when session is closed.

10 years agometerbridge label rework - phase one (better, but not good)
Robin Gareus [Tue, 9 Jul 2013 17:47:39 +0000 (19:47 +0200)]
meterbridge label rework - phase one (better, but not good)

10 years agohide solo button on master-bus
Robin Gareus [Tue, 9 Jul 2013 14:36:58 +0000 (16:36 +0200)]
hide solo button on master-bus

10 years agofix crash on session unload
Robin Gareus [Tue, 9 Jul 2013 14:27:33 +0000 (16:27 +0200)]
fix crash on session unload

10 years agoreplace "-inf" with UTF8 infinity symbol
Robin Gareus [Tue, 9 Jul 2013 14:23:14 +0000 (16:23 +0200)]
replace "-inf" with UTF8 infinity symbol

10 years agodisable number display on meterbridge by default
Robin Gareus [Tue, 9 Jul 2013 14:22:07 +0000 (16:22 +0200)]
disable number display on meterbridge by default

10 years agoremove outdated TODO
Robin Gareus [Tue, 9 Jul 2013 11:10:05 +0000 (13:10 +0200)]
remove outdated TODO

disabled routes are no longer displayed on meterbridge

10 years agouse accurate log10 for meter (fast_log2 is unsuitable inaccurate)
Robin Gareus [Tue, 9 Jul 2013 11:13:27 +0000 (13:13 +0200)]
use accurate log10 for meter (fast_log2 is unsuitable inaccurate)

fast_coefficient_to_dB() returns a lower bound value, unsuitable
to catch audio peaks. The difference to 20*log10 is as large as 0.4 dB!

The effective speedup of fast_log10 compared to log10f is marginal
(sweep of all 24bit values)

  i686 (1.6GHz Intel core):  2.36 [times faster]
  x86_64 (core2 2.4GHz):     1.63
  x86_64 (I3 2.80GHz):       2.03

the execution time of one log10f() averaged over a
sweep of all 24 bit values

  i686 (1.6GHz Intel core):  0.131 usec
  x86_64 (core2 2.4GHz):     0.033 usec
  x86_64 (I3 2.80GHz):       0.044 usec

PeakMeter::run() is called from dedicated non-rt, no harm done.

10 years agometerbridge show full name on tooltip
Robin Gareus [Tue, 9 Jul 2013 10:43:10 +0000 (12:43 +0200)]
meterbridge show full name on tooltip

10 years agoupdate meter config
Robin Gareus [Tue, 9 Jul 2013 10:42:12 +0000 (12:42 +0200)]
update meter config

10 years agofix initial display of name/id on meterbridge
Robin Gareus [Tue, 9 Jul 2013 03:27:24 +0000 (05:27 +0200)]
fix initial display of name/id on meterbridge

10 years agoshow track-ID in mixer
Robin Gareus [Tue, 9 Jul 2013 11:12:09 +0000 (13:12 +0200)]
show track-ID in mixer

10 years agoclean up meterbridge options
Robin Gareus [Tue, 9 Jul 2013 01:36:06 +0000 (03:36 +0200)]
clean up meterbridge options

10 years agonumber/name on meterbridge
Robin Gareus [Tue, 9 Jul 2013 01:22:13 +0000 (03:22 +0200)]
number/name on meterbridge

10 years agoleave route-button show/hide up to route-UI.
Robin Gareus [Tue, 9 Jul 2013 01:34:44 +0000 (03:34 +0200)]
leave route-button show/hide up to route-UI.

10 years ago...use unique track numbers on meterbridge.
Robin Gareus [Mon, 8 Jul 2013 23:26:17 +0000 (01:26 +0200)]
...use unique track numbers on meterbridge.

10 years ago...towards unique track numbers.
Robin Gareus [Mon, 8 Jul 2013 23:25:54 +0000 (01:25 +0200)]
...towards unique track numbers.

10 years agoallow to include solo,mute buttons on meterbridge
Robin Gareus [Mon, 8 Jul 2013 21:56:03 +0000 (23:56 +0200)]
allow to include solo,mute buttons on meterbridge

10 years agotweak alignment of meterbridge number-labels
Robin Gareus [Mon, 8 Jul 2013 15:58:52 +0000 (17:58 +0200)]
tweak alignment of meterbridge number-labels

10 years agoremove b0rked attempt at meter-thread regularity.
Robin Gareus [Mon, 8 Jul 2013 15:58:38 +0000 (17:58 +0200)]
remove b0rked attempt at meter-thread regularity.

eventually fall-off should be calculated in the audio-thread, anyway
and this thread will be obsolete..

10 years agoTask Force Viking: operation green line
Robin Gareus [Mon, 8 Jul 2013 15:55:29 +0000 (17:55 +0200)]
Task Force Viking: operation green line

10 years agometerbridge: if track-name starts with number, display only number
Robin Gareus [Mon, 8 Jul 2013 14:24:17 +0000 (16:24 +0200)]
meterbridge: if track-name starts with number, display only number

10 years agofixed width meter metric areas
Robin Gareus [Mon, 8 Jul 2013 14:23:35 +0000 (16:23 +0200)]
fixed width meter metric areas

10 years agofix RMS+Peak meter for MIDI-tracks
Robin Gareus [Mon, 8 Jul 2013 00:26:17 +0000 (02:26 +0200)]
fix RMS+Peak meter for MIDI-tracks

10 years agoadd convenience functions to switch meter-types.. (maybe too much?!)
Robin Gareus [Mon, 8 Jul 2013 00:07:40 +0000 (02:07 +0200)]
add convenience functions to switch meter-types.. (maybe too much?!)

10 years agowith RMS meters: use "peak indicator" as DPM
Robin Gareus [Sun, 7 Jul 2013 23:06:02 +0000 (01:06 +0200)]
with RMS meters: use "peak indicator" as DPM

10 years agoignore state-changes during [meter] context-menu popup (gtkmm bug?)
Robin Gareus [Sun, 7 Jul 2013 17:04:07 +0000 (19:04 +0200)]
ignore state-changes during [meter] context-menu popup (gtkmm bug?)

10 years agouse digital max-peak with RMS meter
Robin Gareus [Sun, 7 Jul 2013 17:31:09 +0000 (19:31 +0200)]
use digital max-peak with RMS meter

10 years agoshare meter-type among meter instances.
Robin Gareus [Sun, 7 Jul 2013 12:39:26 +0000 (14:39 +0200)]
share meter-type among meter instances.

10 years agoprepare meter type unification
Robin Gareus [Sun, 7 Jul 2013 11:34:36 +0000 (13:34 +0200)]
prepare meter type unification

10 years agotest/fix - possible cause of meter-freezing..
Robin Gareus [Sun, 7 Jul 2013 11:07:00 +0000 (13:07 +0200)]
test/fix - possible cause of meter-freezing..

10 years agofix meterbridge metric display switch
Robin Gareus [Sun, 7 Jul 2013 09:58:27 +0000 (11:58 +0200)]
fix meterbridge metric display switch

10 years agoremember meter type with session
Robin Gareus [Sun, 7 Jul 2013 04:17:02 +0000 (06:17 +0200)]
remember meter type with session

10 years agoamend to 212d2ac5d and 8becd4413 - fix port connection matrix crash on close
Robin Gareus [Wed, 10 Jul 2013 12:19:48 +0000 (14:19 +0200)]
amend to 212d2ac5d and 8becd4413 - fix port connection matrix crash on close

10 years agodon't reset meter background/highlight on click.
Robin Gareus [Sun, 7 Jul 2013 00:52:37 +0000 (02:52 +0200)]
don't reset meter background/highlight on click.