summaryrefslogtreecommitdiff
path: root/libs/pbd
AgeCommit message (Collapse)Author
2015-09-27update semantics of PBD::remove_directory()Robin Gareus
Remove the directory recursively including itself. The function is used in two places only: * LV2Plugin::add_state() -- no change, remove tmp. state * Session::save_as() -- on error, remove target In both cases removing the folder itself is correct.
2015-09-21PBD::Debug to stdoutRobin Gareus
fixes debug output on windows. std::cerr is lost, only std::cout, printf() and fprintf(stderr, ..) work.
2015-09-19Fix windows test to also pass under wineTim Mayberry
It looks as if the default timer resolution for applications running under wine is different than Windows so just test that the minimum timer resolution is below a certain amount rather than checking before and after calling timeBeginPeriod
2015-09-18Make sure that those recently moved functions will be visible if they're ↵John Emmas
needed outside of libpbd
2015-09-18MSVC projects - accommodate some modules that recently got moved or removedJohn Emmas
(mostly these got moved out of the PortAudio backend and into libpbd)
2015-09-17add string_compose argument specializations so that empty std::string and ↵Paul Davis
empty C strings are handled as intended
2015-09-17Add test to libpbd to check PBD::touch_file and pbd/gstdio_compat.hTim Mayberry
GStatBuf is not usable on 32 bit Windows without the redefinition in pbd/gstdio_compat.h so add a test to check for the correct behavior of g_stat and g_utime on all platforms now that the issue is fixed.
2015-09-17fix g_lstat() Robin Gareus
2015-09-17use pbd's gstdio compatibility wrapperRobin Gareus
2015-09-17add glib/stdio compat wrapper for mingw64-w32Robin Gareus
2015-09-16Add PBD::QPC::initialize to initialize timer and call it from PBD::initTim Mayberry
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-16Make sure the QPC frequency is cached so the timer can be usedTim Mayberry
2015-09-16Put functions inside anonymous namespace and use static for internal linkageTim Mayberry
2015-09-16Mark strings intended for developers/debugging as not for translationTim Mayberry
2015-09-16De/Initialize MMCSS on windows in PBD::init/cleanup instead of in PA BackendTim Mayberry
2015-09-16Move Windows MMCSS related utility functions into libpbdTim Mayberry
2015-09-16Add PBD::DebugBit for debugging thread related debugging outputTim Mayberry
2015-09-16Perform QPC timer check on windows in PBD::init when PBD_TEST_TIMERS env is ↵Tim Mayberry
defined
2015-09-16Rename PBD::QPC::get_timer_valid to check_timer_valid and perform timer testTim Mayberry
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-16Add windows specific test for pbd/windows_timer_utils.h APITim Mayberry
2015-09-16Fix PBD::MMTIMER::reset_resolution and add some documentationTim Mayberry
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-16Remove glib timer test from pbd testsuiteTim Mayberry
There are no test assertions and it takes a long time to execute the test so just leave it disabled for now.
2015-09-16Move Windows timer utility functions from PA backend into libpbdTim Mayberry
2015-09-13allow to run unit-test under wine from srcdir.Robin Gareus
2015-09-12plug some memory leaks in libsRobin Gareus
2015-09-12Event Pool usage debugging, see also 6ade16b38Robin Gareus
2015-09-05add missing includeRobin Gareus
2015-09-05fix bitwise enum parsingRobin Gareus
2015-09-02Move AudioBackend related debug bits into libardourTim Mayberry
I put these in libpbd as that is where the debug bits are for the Waves backend but I think it makes more sense for them to be in libardour as that is where the AudioBackend class is defined I left the Waves debug bits in libpbd for now.
2015-08-19Add PBD::DebugBit for debugging issues with undo historyTim Mayberry
2015-08-18Change return type and name of get_win_special_folderTim Mayberry
Rename it get_win_special_folder_path to indicate what it is returning Move documentation for the function into the header and use doxygen style comments. Fixes a couple of memory leaks in ArdourVideoToolPaths class although it looks as if there are more.
2015-08-18Fix Searchpath::operator+ to return by value rather than reference and not ↵Tim Mayberry
modify *this ladspa_search_path was the only function using this API and it is unaffected by the change
2015-08-16Add '_xgetbv()' for MSVC-9 and earlierJohn Emmas
2015-08-14tweaks for AVX detectionPaul Davis
2015-08-12fix PPC buildsRobin Gareus
2015-08-11comment tweak to show that the __cpuid() intrinsic belongs to MSVC and mingwPaul Davis
2015-08-12fix mingw compilationRobin Gareus
2015-08-11can't use xgetbv instruction with apple gcc under OS X LionPaul Davis
2015-08-11clean up FPU code with some ideas from Chromium and the webPaul Davis
2015-08-11fix stupid logic error in testing separate bits required for AVX supportPaul Davis
2015-08-11improved solution for xgetbv() on windows and linux with all compilersPaul Davis
2015-08-11#ifdef out AVX detection on APPLEPaul Davis
2015-08-11add required test of OS support for AVX register usePaul Davis
2015-08-11add test for CPU/FPU AVX capabilitiesPaul Davis
2015-08-07remove cruftRobin Gareus
2015-08-03amend e09c620; now with semicolon :)Robin Gareus
2015-08-03fix backslashes in quotes (windows), fixes VST scanRobin Gareus
2015-07-31WinMME based midi input/output for portaudio backendTim Mayberry
TODO: Use MMCSS to elevate thread priorities Enable/test and fix SYSEX related code
2015-07-26Move ARDOUR::touch_file to pbd/file_utils.hTim Mayberry
2015-07-25Revert "When saving a session (in a non-English locale) make sure that we ↵Tim Mayberry
use a locale-specific path" This reverts commit cf5a8651d848fa5333e1c567286fc0eec2b0a0f7.