summaryrefslogtreecommitdiff
path: root/libs/pbd
AgeCommit message (Collapse)Author
2019-12-10revert to single buffer for disk playback, and 5.x-style overwritePaul Davis
Also address issues with MIDI and also atomicity of _pending_overwrite
2019-12-09Fix deprecated-copy warningsDavid Robillard
It's long been a guideline (and IIRC a Weff-c++ warning) that either all, or none, of the copy methods should be defined, but this became a standard warning in GCC9. Presumably to account for a later language change though I'm not sure which. I don't remember why the ChanMapping copy constructor can't just be a simple copy (it's just a map of POD), but figure it's safer to just copy what that does.
2019-12-09Fix catch of polymorphic type by valueDavid Robillard
2019-12-08MSVC project changes needed to support the new 'mp3 import' stuffJohn Emmas
2019-12-07initial conversion to double buffering inside DiskReaderPaul Davis
Second buffer is not used (or allocated) yet.
2019-11-09Remove invalid error messageRobin Gareus
This clause is in NO_VFORK, vfork_exec_wrapper is irrelevant there
2019-11-09Fix child-process communication (video monitor in particular)Robin Gareus
103ef2ba08e5 introduced an API to write raw data (const void*) to a child process, along with the previous API to write (std::string const&) VideoMonitor uses write_to_stdin("fixed text"), and g++ interprets this to use the (const void*) API instead of the std::string, which breaks communication.
2019-11-06move at-exit messages about pool utilization to DEBUG_TRACEPaul Davis
2019-11-03Fix build -- 'printf' was not declared in this scopeRobin Gareus
2019-11-02make it more likely that debug messages are printed without x-thread ↵Paul Davis
interruption
2019-11-01Fix XML-writer edge-case (empty content)Robin Gareus
2019-10-28add new debug bit (DebugTimestamps) that adds timestamps to all debug messagesPaul Davis
2019-10-07Invert Pan-Azimuth (up means left)Robin Gareus
It's a well established convention that pan y-axis automation, or vertical uses (top) +1 for left. This special cases rotary knobs (and horizontal sliders) to retain a clockwise movement (or movement to the right) for panning to the right.
2019-09-30Fix use of doxygen documented parameters in running textRobin Gareus
2019-09-30Fix some more doxygen warningsRobin Gareus
2019-09-30Fix a few hundred doxygen warnings..Robin Gareus
There are still over a hundred left, but this addresses many already. In particular @param references to undocumented parameters. Most notably in audio_backend.h
2019-09-26Another try at C++11/boost spinlock initializationRobin Gareus
2019-09-18Consistent use of abort() /* NOTREACHED */Robin Gareus
This fixes some static analysis warnings: PBD::fatal transmitter needs to be connected to a function that aborts. This is usually the case with GUI
2019-09-17add finite state machine to control/manage transport statePaul Davis
2019-09-17fix thinko when testing for internal seek with negative distancePaul Davis
2019-09-05Reduce stdout/stderr clutter, prefer DEBUG_TRACERobin Gareus
2019-08-12Add PBD API to hard-link filesRobin Gareus
2019-08-03Update core library GPL boilerplate and (C) from git logRobin Gareus
2019-07-31Fix C++11 NSDMIRobin Gareus
2019-07-29Another try at fixing our 'spinlock_t' compatibilityJohn Emmas
2019-07-29Partially undo 6d4b94df13 for MSVC and C++98 compatRobin Gareus
2019-07-28Reduce compiler warnings when boost uses std-atomicsRobin Gareus
This works around for compilers with non-static-data-member initialization. spinlock_t is-a struct { lockType _; } and BOOST_DETAIL_SPINLOCK_INIT initializes the first member of the struct. All defines of BOOST_DETAIL_SPINLOCK_INIT include c-style curly braces to initialize the struct's data member. However, modern C++ compiler interpret the braces differently resulting in copy constriction of the initializer.
2019-07-28Yet another spinlock init hack for g++8 std::atomicsRobin Gareus
Perhaps we should rather implement this ourselves, using <boost/atomic.hpp>
2019-07-28Prevent spinlock copy constructionRobin Gareus
2019-07-28Another attempt at improving spinlock initRobin Gareus
2019-07-28Follow up d8ae3fdRobin Gareus
Depending on implementation, d8ae3fd may only construct the spinlock once to `sl_init`. Later it is only copy-constructed and that leads to compile and/or runtmime errors. e.g. gcc-8.3 fails to compile error: use of deleted function ‘boost::detail::spinlock::spinlock(const boost::detail::spinlock&)’
2019-07-27MSVC requires an already initialized object to initialize our ↵John Emmas
boost::detail::spinlock (rather than the simpler #define) Hopefully this'll work for the other builds too.
2019-07-26Correctly initialize spintlock_tRobin Gareus
Depending on underlying implementation, boost::detail::spinlock needs to be explicitly initialized
2019-07-26Prefix all env variable with "ARDOUR_"Robin Gareus
In particular "CONCURRENCY" can be problematic. But in general it's good practice to use a namespace prefix for app-specifics.
2019-07-10Add lock-free multiple producer multiple reader queueRobin Gareus
2019-07-04Use exit-status macros for compatibility 2/3Robin Gareus
2019-04-14Correct a typo that crept in somewhereJohn Emmas
2019-04-13NO-OP: <tab> after <space> fixes in libsRobin Gareus
2019-04-12Mixbus likes hyperthreading on MacRobin Gareus
2019-04-08NO-OP: whitespace & revert samples -> [stack]framesRobin Gareus
2019-03-26Remove extra quotes from meta-dataRobin Gareus
Arguments are passed as argp[] array to execve() and don't need to be enclosed by quotes.
2019-03-26Fix mingw compile (declare int64_t and int32_t)Robin Gareus
2019-03-23Remove static Destroyed(*), prefer StatefulDestructable APIRobin Gareus
This also add a debug-dump method to show remaining registered Controllables.
2019-03-23Re-add Controllable registryRobin Gareus
To facilitate a central registry with weak/shared pointer lookup, enable_shared_from_this<ARDOUR::AutomationControl> was migrated to enable_shared_from_this<PBD::Controllable> The main (and only) user is generic-midi surface's state interface :(
2019-03-23Use weak-pointer for Controllable learningRobin Gareus
2019-03-23Remove c-pointer Controllable* registryRobin Gareus
2019-03-23Remove unusued API Create/Delete BindingRobin Gareus
2019-03-18make PlaybackBuffer<T>'s power-of-two size computation available to othersPaul Davis
2019-03-07Pass stderr mode properly to vfork wrapperRobin Gareus
2019-03-05Close stderr of child processes on MacOSRobin Gareus
This fixes a bug on some modern mac systems. Related to setup_logging() changing stderr to use ASL and write to com.apple.console. When a forked application writes to stderr while ASL is used, the child is terminated for some reason.