summaryrefslogtreecommitdiff
path: root/libs/pbd
AgeCommit message (Collapse)Author
2015-06-12We were 2 more debug "bits" away from overflow, so recast PBD::DEBUG ↵Paul Davis
mechanism away from a 64bit integer and toward std::bitset. Clean up a few minor related PBD::DEBUG issues along the way
2015-06-09Add the new (UINTSDEFINED) preprocessor directive to all out MSVC projects ↵John Emmas
(just to be on the safe side)
2015-04-30add a sanity checkRobin Gareus
2015-04-30Correctly dereference 'fxbuf' when building with MSVCJohn Emmas
2015-04-30When testing for x86 / x64 architecture, don't forget the symbols that MSVC ↵John Emmas
can understand
2015-04-27allow to compile PBD::Signals w/o connection debuggingRobin Gareus
2015-04-27const iteratorsRobin Gareus
2015-04-26Expose “/route/trim” midi binding.Robin Gareus
2015-04-24windows 32bit asm/fpu support.Robin Gareus
This still leaves cache_aligned_malloc() in libs/pbd/malign.cc pending _aligned_free (windows crashes when using free() on memory allocated with _aligned_malloc()). So far however there seems to be no issue with default malloc for audio+midi buffers on win32…
2015-04-24add missing regexp support to pbd/wscriptRobin Gareus
2015-04-24separate build host & target (fix win32 asm)Robin Gareus
2015-04-22Remove a 'no longer needed' source from our MSVC project (libpbd)John Emmas
(FPU functionality was recently merged into a single source file)
2015-04-21<intrin.h> is for windows onlyPaul Davis
2015-04-21add required header for windows compile of FPU codePaul Davis
2015-04-21fix build of FPU code on OS X by reverting to use of _LP64 to identify 32/64 ↵Paul Davis
bit situation
2015-04-21merge all mingw and msvc specific code for FPU information into ↵Paul Davis
libs/pbd/fpu.cc and remove msvc-specific version
2015-04-21[Summary] Added SSE sound processing functions support for Windows. Version 1.Greg Zharun
Conflicts: wscript
2015-03-16hide issues with g_close() not being available in somewhat older versions of ↵Paul Davis
glib
2015-03-16add PBD::toggle_file_existence()Paul Davis
2015-03-12Revert commit 635578b3 relating to pthread debuggingTim Mayberry
This breaks the build for windows builds that don't use the pthreads_win32 library. Using the opaque pthread_t type like this is probably not a great idea. Using PBD::pthread_name is another option that I've used elsewhere that seems more useful.
2015-03-12Define DEBUG_THREAD_SELF when debug is enabledTim Mayberry
2015-03-11fix “no per-thread pool” abortRobin Gareus
For some backends the process thread can change (e.g. switch coreaudio headphone + internal speakers) If there are existing x-thread event calls this can lead to the following situation: 1) SessionEvent::operator new 2) audioengine process thread change 3) SessionEvent::operator delete -> crash, wrong thread SessionEvent::operator delete can safely push the event back to the pool for later cleanup..
2015-03-09Move 'poor_mans_glob()' into libpbdJohn Emmas
2015-03-08Reduce run time/output of PBD::Timer unit testTim Mayberry
2015-03-08Fix PBD::copy_file on windows to work with non-ascii pathsTim Mayberry
This breakage was indicated by the filesystem unit tests.
2015-03-03recursive regexp file search.Robin Gareus
2015-03-01Xthread: blocking read + non-blocking write mode.Robin Gareus
Needed for switching the butler to use Crossthreads.
2015-02-28In libpbd the sources 'localeguard.cc/.h' and 'locale_guard.cc/.h' are ↵John Emmas
essentially identical now - so let's remove the former pair which were only ever needed when building with MSVC (should hopefully avoid future confusion !!)
2015-02-27Fix unnecessary const violation.David Robillard
2015-02-14fix testPathIsWithin unit-test:Robin Gareus
* use absolute path * fix copy/paste typo: bar->jim for symlink test
2015-02-12Fix whitespace in pbd/debug.hTim Mayberry
2015-02-12Add local PwdReset class to reset pwd in event of test failureTim Mayberry
This fixes subsequent tests that rely on pwd but not PBD::path_is_within breakage caused by commit 2689848e
2015-02-12Add some more test assertions so that tests fail when they shouldTim Mayberry
2015-02-07Properly deallocate memory when clearing selection_op_history andnick_m
before XMLNode*s. Improve some comments.
2015-02-06Make undo/redo work for:nick_m
undo (n) where n > 1 redo (m) where m < n new transaction. Previously the redo list was left untouched. This would lead to utter nonsense in the redo list. AFAICT this never worked.
2015-02-05make two obvously const methods actually be constPaul Davis
2015-02-05expand PBD::Pool API and add additional DEBUG_TRACE output.Paul Davis
Expanded API splits apart some CrossThreadPool functionality, and provides access to current pool status information (available(), total(), used(), pending_size())
2015-02-03Add an extra test to prevent 'PBD::path_is_within()' from looping infinitely ↵John Emmas
on Windows The infinite loop would happen if the 2 supplied paths were on different Windows drives - for example if one was on drive C:\ and the other on drive E:\ I don't think this new test will be detrimental to the other platforms but if it is, we could easily separate it out with a '#ifdef PLATFORM_WINDOWS' directive.
2015-01-19use C locale, because POSIX locale is not supported on windows, and ↵Ben Loftis
operation is undefined. C works on all platforms
2015-01-18On Windows, #include <shellapi.h> so we can use ShellExecute()John Emmas
2015-01-18fix open_uri for windowsBen Loftis
2015-01-18Dramatically improve windows session-save-time by avoiding recursive calls ↵Ben Loftis
to set_locale.
2015-01-10Add support for the C99 function 'log2()' which is newly needed by ↵John Emmas
'gtk2_ardour/tempo_lines.cc' (but isn't available from MSVC). These changes are MSVC specific and shouldn't affect the other builds. (incidentally, libpbd already offers a function called 'fast_log2()'. Not sure if that could have been used instead...)
2015-01-09remove cruft (old unused pre-git version files)Robin Gareus
2015-01-02Accommodate some newly introduced source files for building with MSVC (libpbd)John Emmas
2015-01-01Add PBD debug macros for recording timing dataTim Mayberry
2015-01-01Add tests that show the timing differences between the Glib/mm based timeoutsTim Mayberry
This shows that PBD::Timer is pretty much identical in terms of timing and CPU usage as Glib TimeoutSources. They also show the differences on Windows when setting the minimum Multimedia Timer resolution using timeBeginPeriod
2015-01-01Add PBD::Timer/StandardTimer/BlinkTimer classes for convenient timeoutsTim Mayberry
2015-01-01Add Timing, TimingData and Timed classes for time measurement to pbd/timing.hTim Mayberry
2014-12-26class 'PBD::Configuration' doesn't actually get exported from libpbd - so ↵John Emmas
make sure we don't decorate it with LIBPBD_API