c256075e63
Remove tooltips() member from ARDOUR_UI and use Gtk_UI::set_tip
2015-09-16 16:55:17 -04:00
b8e9ee50e0
Use Forward declaration for non-MSVC compilers in ardour_ui.h
...
I can't test this with MSVC so John might have to fix this, just
adding the necessary header includes inside MSVC specific ifdef
but I think it should be OK
2015-09-16 16:55:17 -04:00
513ecad1f0
Forward declare Meterbridge class in ardour_ui.h
2015-09-16 16:55:17 -04:00
553c3ef557
Remove ui_config.h inclusion from ardour_ui.h
2015-09-16 16:55:17 -04:00
6b019a4953
Move UIConfiguration Singleton into UIConfiguration header
...
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16 16:55:17 -04:00
45d487f16e
Move ARDOUR_UI::ui_scale into UIConfiguration class
2015-09-16 16:55:17 -04:00
74db5abc7e
Add ardour/types.h to ardour/parameter_descriptor.h for AutomationType
2015-09-16 16:55:17 -04:00
c99bf353a5
Remove inclusion of ardour_ui.h from ui_config.cc
2015-09-16 16:55:17 -04:00
fc1e7dbb55
Move DPIReset and ColorsChanged signals into UIConfiguration
2015-09-16 16:55:17 -04:00
0fd1aa3808
Remove unused header include
2015-09-16 16:55:17 -04:00
2d47183dc9
Move util functions into UIConfiguration as they depend on it anyway
2015-09-16 16:55:17 -04:00
2e8af0c917
Remove duplicate extern declaration
...
DPIReset signal is declared in global_signals.h
2015-09-16 16:55:17 -04:00
482b71d35e
add datetime to snapshot sidebar
...
Currently only information, not sortable.
2015-09-16 22:17:34 +02:00
18afd09b3b
unify recent session dialogs
2015-09-16 21:37:56 +02:00
f2f7a21aea
fix d6029f9
(recent sort-order)
...
add one, because (-0 == +0)
2015-09-16 19:30:41 +02:00
eda0a24454
add Hour:Minute to last-modified.
2015-09-16 19:01:13 +02:00
d6029f9285
remeber recent-session sort-column
2015-09-16 18:59:04 +02:00
b3e447f421
highlight default sort column
2015-09-16 18:24:57 +02:00
7e65835c0e
disable even/odd row highlight for GtKTreeview.
...
Almost all TreeViews in Ardour had this disabled.
A few cases where it wasn't produced odd rendering artifacts. e.g.:
* Radio-buttons in the Plugin Manager used "base color" regardless of even/odd lines
* Sortable trees only used even/odd background for the sort-column (not others)
2015-09-16 18:24:57 +02:00
1691e965a5
update reported DSP load for ALSA & Dummy
2015-09-16 18:24:57 +02:00
1c43383e92
CoreAudio: use libardour provided DSP load calc.
2015-09-16 18:24:57 +02:00
e125c78070
fix DSP load bounds 0..1 and add unbound API
2015-09-16 18:24:57 +02:00
570d92c527
user-sortable recent session list
2015-09-16 18:24:56 +02:00
1fb38a416a
add "last modified" column to session-dialog
2015-09-16 18:24:56 +02:00
6c43ca5334
partially revert de53fac
(pre-sort session list)
...
<glib> header includes and commends remain for later use
2015-09-16 18:24:56 +02:00
119e56e7eb
Add PBD::QPC::initialize to initialize timer and call it from PBD::init
...
Check timer for invalid frequency
Precalculate timer tick rate to save a few instructions
Don't use static variables inside functions to avoid checking for initialization
Use static functions inside anonymous namespace for internal linkage
2015-09-16 23:59:38 +10:00
9bd893a6a2
Make sure the QPC frequency is cached so the timer can be used
2015-09-16 22:50:37 +10:00
7b82277c7e
Don't try and split a region when dragging, should fix bug #6338
2015-09-16 16:28:18 +10:00
faa38a0d29
Use ARDOUR::DSPLoadCalculator in DummyBackend
2015-09-16 11:22:17 +10:00
305f1d73bb
Use PBD::get_microseconds() from pbd/windows_timer_utils.h in DummyBackend
2015-09-16 11:22:17 +10:00
782dbf0e3f
Set max time of DSPLoadCalculator in every cycle in ALSA backend
2015-09-16 11:22:17 +10:00
ccfe3e1015
Use ARDOUR::DSPLoadCalculator in ALSA Backend
2015-09-16 11:22:17 +10:00
449b57d583
Add test for DSPLoadCalculator to libardour tests
2015-09-16 11:22:17 +10:00
158c12eb92
Add DSPLoadCalculator::set_max_time() to set max time based on samplerate and period size
2015-09-16 11:22:17 +10:00
35a1c3b6a5
Put functions inside anonymous namespace and use static for internal linkage
2015-09-16 11:22:17 +10:00
5d9144173b
Mark strings intended for developers/debugging as not for translation
2015-09-16 11:22:17 +10:00
d007fc05b1
De/Initialize MMCSS on windows in PBD::init/cleanup instead of in PA Backend
2015-09-16 11:22:16 +10:00
091c4ed3a7
Move Windows MMCSS related utility functions into libpbd
2015-09-16 11:22:16 +10:00
76a0c823ca
Add PBD::DebugBit for debugging thread related debugging output
2015-09-16 11:22:16 +10:00
d76fe212b7
Move MMCSS related utility functions into PBD namespace
...
In preparation for moving to libpbd
2015-09-16 11:22:16 +10:00
f58e3abdbe
Perform QPC timer check on windows in PBD::init when PBD_TEST_TIMERS env is defined
2015-09-16 11:22:16 +10:00
f4cb4e479d
Rename PBD::QPC::get_timer_valid to check_timer_valid and perform timer test
...
I'm not sure if this test is going to be effective as I don't have hardware to
test on at the moment. As noted in the documentation, Windows XP should be the
only OS where QPC uses a timer source that is non-monotonic(multi-core with
non-syncronized TSC).
2015-09-16 11:22:16 +10:00
cd05d46c00
Add windows specific test for pbd/windows_timer_utils.h API
2015-09-16 11:22:16 +10:00
a88b2da6a9
Fix PBD::MMTIMER::reset_resolution and add some documentation
...
timeEndPeriod must be called with the same timer resolution value used in
timeBeginPeriod. When the process exits the timer resolution is restored anyway
so this is not very important.
2015-09-16 11:22:16 +10:00
62f75b8b16
Remove glib timer test from pbd testsuite
...
There are no test assertions and it takes a long time to execute the test so
just leave it disabled for now.
2015-09-16 11:22:16 +10:00
3f5c01e4eb
Move Windows timer utility functions from PA backend into libpbd
2015-09-16 11:22:16 +10:00
4ffe8ffc0f
Put Windows timer functions into PBD namespace in preparation for moving them to libpbd
...
Add functions for get/set the Multimedia timer resolution, although we are
really only interested in the minimum, this will facilitate testing
Put timer utility functions inside nested namespaces as they are platform
specific
2015-09-16 11:22:16 +10:00
4330db1aa7
Update timestamp types in CycleTimer class to be signed
2015-09-16 11:22:16 +10:00
08e18a0cb4
Move implementation for DSPLoadCalculator back into header
...
It can be inline now that it is much simpler
2015-09-16 11:22:16 +10:00
f5e7aa11f9
Use same algorithm as CA and ALSA backends in DSPLoadCalculation
...
Stop using an averaging of the values until we can establish whether it is
really necessary.
2015-09-16 11:22:16 +10:00