summaryrefslogtreecommitdiff
path: root/libs/pbd
AgeCommit message (Collapse)Author
2015-12-13portable pthread_self() debug messageRobin Gareus
2015-12-12change AbstractUI implementation to use EventLoop::event_loop_name() and add ↵Paul Davis
extra DEBUG_TRACE statements to track thread registration with event loops
2015-12-12fix endless-loop-at-shutdown bug now that abstract UI request buffers are usedPaul Davis
2015-12-12move BaseUI::_name into EventLoop; rename access method in EventLoop as ↵Paul Davis
event_loop_name() to clarify usage
2015-12-12NO-OP re-indentRobin Gareus
2015-12-12remove invalid free. - fixes crash with generic midi surfaceRobin Gareus
if there is a per_thread_request_buffer, get_request() simply puts a POD RequestType on the ringbuffer's head. send_request() increases the write-pointer. There is no memory to free.
2015-12-07NetBSD: Stop hardcoding Python binary nameKamil Rytarowski
Caught with pkgsrc on NetBSD
2015-12-02rename ProcessSemaphore to Semaphore (libs)Robin Gareus
2015-12-02consolidate semaphore implementation (part three)Robin Gareus
2015-12-02consolidate semaphore implementation (part one)Robin Gareus
2015-12-02prefer pthread-semaphores (posix API) with mingwRobin Gareus
Hopefully this resolves glitches on hyperthreading machines. Apart from using unnamed Semaphores, pthread-w32 includes additional locks (guess: mem-barriers), a fallback implementation and windows-specific tricks that I'd rather not want to know about :)
2015-12-01Don't indent inside namespace declaration to be consistent with ardour styleTim Mayberry
2015-12-01Use PBD::demangle_symbol in PBD::demangled_name<T> to reduce code duplicationTim Mayberry
2015-12-01Rename PBD::symbol_demangle and some variable names to improve readabilityTim Mayberry
Rename PBD::symbol_demangle to demangle_symbol so the transitive verb is infront of the object. Rename some local variables and fix documentation.
2015-12-01Move PBD symbol demangle functions into pbd/demangle.h/ccTim Mayberry
Add pbd/demangle.cc source file and move functions from pbd/stacktrace.cc into it
2015-11-29NOOP, remove trailing whitespace, replace tabs in python scriptsRobin Gareus
2015-11-17use thread private data **pointer** correctly for Stateful::ID regenerationPaul Davis
2015-11-16fix inadvertently commit error related to at-process-exit deletion for ↵Paul Davis
thread private variable
2015-11-16correct value testing for Stateful thread-private variable controlling ID ↵Paul Davis
regeneration
2015-11-12provide a mechanism to force ID regeneration/reset in PBD::Stateful when ↵Paul Davis
settingthe ID object from XML or string sources
2015-11-10Use XMLNode::remove_child_and_delete in Stateful::add_extra_xmlTim Mayberry
As the node being replaced has been added with XMLNode::add_child_nocopy the node also needs to be deleted or a memory leak occurs.
2015-11-10Use constructor initialization list in Stateful classTim Mayberry
2015-11-10Replace spaces with tabs in pbd/stateful.hTim Mayberry
2015-10-30add API to suspend timers signal emission.Robin Gareus
2015-10-23fix crash on SystemExec::TerminateRobin Gareus
if Terminated() connects in the same thread and deletes the class itself the closure in interposer_thread() can fail.
2015-10-22Add PBD::Searchpath::contains method to check if a Searchpath contains a pathTim Mayberry
2015-10-22Expose protected PBD::Searchpath APITim Mayberry
I prefer to use these as they are more explicit than using the overloaded operators.
2015-10-21add commentary and clean up blank linesPaul Davis
2015-10-21variable name change: percent is 0..100, 0..1.0 is a fractionPaul Davis
2015-10-21ensure that mutator function for CONFIG_VARIABLE_SPECIAL is used when ↵Paul Davis
assigning initial value during construction
2015-10-20possible fix for invalid cleanup space calc on win32.Robin Gareus
2015-10-20NOOP, re-indentRobin Gareus
2015-10-15add safety checking when setting up DEBUG bits4.4Paul Davis
2015-10-08in a CrossThread object, ensure destruction of the channel and source used ↵Paul Davis
on Posix The source holds a reference to the channel; both must be unref'ed/destroyed in order to fully clean up resources
2015-10-07allow to load huge VST plugin states -fixes #6623Robin Gareus
by default libxml has a XML_MAX_TEXT_LENGTH of 10M with base64 encoding that allows at most 2.5MB state. set XML_PARSE_HUGE to read large sessions
2015-10-05use quotes for in-tree pbd/glib wrapper includeRobin Gareus
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from .cpp and .hpp files missed by ↵Paul Davis
previous commit
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
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