summaryrefslogtreecommitdiff
path: root/libs/pbd
AgeCommit message (Collapse)Author
2009-01-30first pass at internal sends. this is a very tentative work in progress, and ↵Paul Davis
it is possible that major changes may follow in the near future. it is certainly not complete, but the fundamental changes to Port/Buffer operation merit a commit at this point git-svn-id: svn://localhost/ardour2/branches/3.0@4464 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-29Fix some compiling warnings and errors in OS XSakari Bergen
git-svn-id: svn://localhost/ardour2/branches/3.0@4358 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-18Remove unnecessary 0 checks before delete; see ↵Carl Hetherington
http://www.parashift.com/c++-faq-lite/freestore-mgmt.html#faq-16.8 Apologies for the big commit. git-svn-id: svn://localhost/ardour2/branches/3.0@4332 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-12most of the 2.X->3.0 commit (up to rev 4299) except for ↵Paul Davis
gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet git-svn-id: svn://localhost/ardour2/branches/3.0@4313 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-25* fixed jitter problems for midi clock and removed superfluous UI elementsHans Baier
git-svn-id: svn://localhost/ardour2/branches/3.0@4008 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-05Normalize XML property name style, preserving old session loading (on load _ ↵David Robillard
will be converted to -). Still to go: Non-consistent PBD tag names, colours. git-svn-id: svn://localhost/ardour2/branches/3.0@3872 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-29Remove unused can_send_feedback API.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@3827 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-23Make PBD::SearchPath less silly/boilerplatey.David Robillard
Remove unnecessary copy in find_matching_files_in_search_path. git-svn-id: svn://localhost/ardour2/branches/3.0@3797 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-19* Added PBD::UUIDSakari Bergen
* uuid headers are needed for building! * Export presets and format profiles use UUID * Moved ExportPreset class away from ExportProfileManager * Workaround for Gtk::NoteBook bug in ExportMainDialog git-svn-id: svn://localhost/ardour2/branches/3.0@3762 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-10merge 2.0-ongoing into 3.0 @ 3581 - 3710Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@3712 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-10merge from 2.0-ongoing @ 3581Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@3711 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-02rollback to 3428, before the mysterious removal of libs/* at 3431/3432Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@3435 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-02remove empty sigc++2 directoryDoug McLain
git-svn-id: svn://localhost/ardour2/branches/3.0@3432 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-25* splitted midi++/event.h in header and implementationHans Baier
* added to_string(), to_xml() and from_xml() to MIDI::Event * added partial support for midnam-Patchfiles (http://www.sonosphere.com/dtds/MIDINameDocument.dtd): midnam_patch.h/.cc * added validation support to xml++.cc/.h * added XMLNode::add_property(const char *name, const long value) * added test to pbd/tests/xpath.cc git-svn-id: svn://localhost/ardour2/branches/3.0@3412 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-23* added midnam test file for xpathHans Baier
* added to_string() to MIDI::Event * added XMLNode::attribute_value for attribute nodes * debugging output in MidiModel (incorrect rendering of Pitchbender events: Notes lost * added xpath tests for midnam files git-svn-id: svn://localhost/ardour2/branches/3.0@3406 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-23* changed return type for pbd/xml++ xpath support to use boost::shared_ptrHans Baier
git-svn-id: svn://localhost/ardour2/branches/3.0@3402 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-22* added more tests and profiling for pbd/xml++ xpath supportHans Baier
git-svn-id: svn://localhost/ardour2/branches/3.0@3387 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-22* added XPath support to pbd/xml++Hans Baier
git-svn-id: svn://localhost/ardour2/branches/3.0@3384 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-02Fixes for GCC 4.3.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@3303 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-04-11merge 3.0 from 2.0-ongoing@3243Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@3248 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-17merge with 2.0-ongoing @ rev 3147Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@3152 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-21Fix install path problems (s/ardour2/ardour3).David Robillard
Fix finding of keybindings file when running from source tree (via ardev/ardbg). Fix clashing keybindings for zoom stuff. Add note tool keybinding and menu entry. git-svn-id: svn://localhost/ardour2/branches/3.0@3099 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-16Merge with 2.0-ongoing R3071.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@3074 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-10Committed underlay support (from Audun).David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@3037 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-16virtualize Port object; clean up automation tracks from track deletionPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@2556 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-12add keybinding editorPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@2543 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-11merge from 2.0-ongoing by hand, minus key binding editorPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@2539 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-09If sys::copy_file fails, try and remove the target file before throwing an ↵Tim Mayberry
exception git-svn-id: svn://localhost/ardour2/trunk@2435 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-09Add function sys::rename to pbd/filesystem.h/cc. Renames a file, uses g_rename.Tim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2431 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04Add PBD::sys::operator/ to pbd/filesystem for convenient path buildingTim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2412 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04Use path::leaf in sys::basename and sys::extensionTim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2407 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04Add path::leaf method function to the PBD::sys::path classTim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2406 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04Add PBD::sys::extension for getting the filename extension of a fileTim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2405 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04Modify PBD::sys::basename to match boost::filesystem behaviour and document it.Tim Mayberry
This makes this function equivalent to PBD::basename_nosuffix, sys::basename takes a path as an argument rather than a string but that is ok as a path can automatically constructed from a string. git-svn-id: svn://localhost/ardour2/trunk@2404 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04Add path::branch_path to the PBD::sys::path classTim Mayberry
This is basically equivalent to Glib::path_get_dirname but returning an empty string(path) if a path doesn't contain any directory components rather than "." git-svn-id: svn://localhost/ardour2/trunk@2403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04Add some documentation regarding the PBD::sys namespace and my ↵Tim Mayberry
justifications for writing that code git-svn-id: svn://localhost/ardour2/trunk@2401 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04Remove unused function PBD::copy_fileTim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2381 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04Add function PBD::sys::copy_file intended to replace PBD::copy_fileTim Mayberry
Basically moving PBD::copy_file implementation to pbd/filesystem.h/cc. The implementation itself looks like it could be improved to use much less memory when copying big files by reading and writing in chunks but I don't think that is an issue at present. git-svn-id: svn://localhost/ardour2/trunk@2376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04Add function PBD::sys::remove as a wrapper to g_unlinkTim Mayberry
API is intended to be indentical(apart from the string type) to boost::filesystem::remove git-svn-id: svn://localhost/ardour2/trunk@2372 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04Rename PBD::SearchPath::get_string to PBD::SearchPath::to_stringTim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2369 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-06merge changes to libmidi++ API from 2.0-ongoingPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@2256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-01Better MidiModel command framework, ready to go for all your canvas editing ↵David Robillard
needs. Rewrote MidiEvent to be a well-behaved self-contained object that optionally owns it's buffer, has proper copying semantics, etc. Fixed crazy bugs triggered by adding lots of events with varying times to a region. Speed up initial session display significantly (don't redraw each MIDI region tons of times, though still happens more than once and can use fixing...). git-svn-id: svn://localhost/ardour2/trunk@2213 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-16Fix formatting of command stuff to adhere to The Guidelines(TM).David Robillard
git-svn-id: svn://localhost/ardour2/trunk@2130 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27allow user tweaking of everything that might have inherent latency; add GUI ↵Paul Davis
for track level adjustment and widget that can be (but is not yet) embedded in a plugin GUI git-svn-id: svn://localhost/ardour2/trunk@2075 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27Add PBD::system_data_directories and PBD::system_config_directoriesTim Mayberry
These two functions are for convenience and wrap the glib functions g_get_system_data_dirs and g_get_system_config_dirs. git-svn-id: svn://localhost/ardour2/trunk@2051 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27Replace code for finding ControlProtocols/Surface plugins with a portable ↵Tim Mayberry
equivalent. Remove Session::control_protocol_path and the supporting non-portable Session::suffixed_search_path from Session. Add ARDOUR::control_protocol_search_path which is used in place of Session::control_protocol_path Replace ARDOUR::get_system_module_path with ARDOUR::system_module_directory which is used by ARDOUR::control_protocol_search_path Export ARDOUR_SURFACES_PATH in gtk2_ardour/ardev_common.sh which is returned by ARDOUR::control_protocol_search_path if defined. This means the control surfaces in the libs/surfaces/* directories can now be used without installing them. Add pbd/file_utils.h/cc containing functions for finding files matching a certain pattern Update documentation in SearchPath and add another constructor that takes a sys::path git-svn-id: svn://localhost/ardour2/trunk@2049 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27Use ARDOUR::user_config_directory in Configuration::*instant_xmlTim Mayberry
Stateful::add_instant_xml was modified so it would create the user config directory if it doesn't exist, create_directories may throw if it cannot be created. This isn't a change in behaviour as ARDOUR::get_user_ardour_path also throws an exception(although I can't see any existing code to handle it) git-svn-id: svn://localhost/ardour2/trunk@2043 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17Modify PBD::Stateful::add_instant_xml/instant_xml to take a PBD::sys::path ↵Tim Mayberry
instead of a string git-svn-id: svn://localhost/ardour2/trunk@2013 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17Make Stateful::*instant_xml methods protected and non-virtualTim Mayberry
Add add_instant_xml and instant_xml methods to the Session class which call the corresponding Stateful methods with the session directory for the directory argument Add add_instant_xml and instant_xml methods to the Configuration class which call the Stateful methods with ARDOUR::get_user_ardour_path() for the directory argument git-svn-id: svn://localhost/ardour2/trunk@2012 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-17Move Stateful class declared in pbd/stateful.h into the PBD namespaceTim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2011 d708f5d6-7413-0410-9779-e7cbd77b26cf