summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/utils.h
AgeCommit message (Collapse)Author
2015-07-26Move ARDOUR::touch_file to pbd/file_utils.hTim Mayberry
2015-07-15update existing dpm meter-falloff config to new fastest.Robin Gareus
2014-06-26bump take-name after every recordingRobin Gareus
2014-06-25namespace libardour utilsRobin Gareus
2013-12-27merge exportvis branch into cairocanvas, to reduce the number of "floating" ↵Paul Davis
branches. Still need to add API export/visibility macros for the canvas library.
2013-12-10add cmp_nocase_utf8()Nils Philippsen
This is like cmp_nocase(), only that it doesn't use toupper(), tolower() and therefore is agnostic of the current locale, and attempts to compare strings in a UTF8-aware way (or falls back to ASCII if one of the strings isn't UTF8-encoded).
2013-10-17add export visibility macros across libardourPaul Davis
2013-07-10meter line-up and fall-off standard values & namesRobin Gareus
2013-03-20move path_expand() and search_path_expand() into libpbd, and use them to ↵Paul Davis
expand search paths given to pathscanner objects (always)
2013-03-17Save LV2 presets with relative URIs to their own bundle, in the same style ↵David Robillard
as Jalv.
2012-12-20replace characters that would make an export filename illegal on any/all ↵Paul Davis
filesystems with "_" git-svn-id: svn://localhost/ardour2/branches/3.0@13689 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-23probable fix for not being able to find audio files in a 2.X session that ↵Paul Davis
had "illegal" characters in the session name - adds the 2.X version of the search path to the audio file search path, if it exists git-svn-id: svn://localhost/ardour2/branches/3.0@13321 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-28Add path_is_within to decide if a path is within a givenCarl Hetherington
directory, taking symlinks into account, and use it to decide whether a file is within the session folder. Should fix #4552. git-svn-id: svn://localhost/ardour2/branches/3.0@12468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-12move string_is_affirmative() into libpbdPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11936 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-05Add new inodes_same() method.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11590 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07improved WORKING fix for search path issuesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10940 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-19much ado about nothing when it comes to gain controlPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9748 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-09split out ARDOUR::how_many_dsp_threads() ; fix test for whether to use use ↵Paul Davis
route_graph or just process routes in-thread git-svn-id: svn://localhost/ardour2/branches/3.0@8793 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-23Use MTC instead of MIDI Timecode as the string for the external sync button. ↵Carl Hetherington
Fixes #3621. git-svn-id: svn://localhost/ardour2/branches/3.0@8332 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03Remove all use of nframes_t.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-13make ardour3 build and link on OS X (tiger, at least)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8018 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-14remove Glib::ustring from libardour; allow any characters except '/' and '\' ↵Paul Davis
in paths (may cause issues when loading creatively named 2.X sessions; fix a couple of details of name collection and usage from the startup dialog git-svn-id: svn://localhost/ardour2/branches/3.0@7772 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-22second (and hopefully) final part of changes to respond to header format ↵Paul Davis
changes sensibly: lookup existing files correctly, and don't end up with gapped "take" numbers for successive files since we now remove ::removable() sources when switching to new ones (for audio) git-svn-id: svn://localhost/ardour2/branches/3.0@7470 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-22first part of using appropriate .ext extensions for the current chosen ↵Paul Davis
native file header format git-svn-id: svn://localhost/ardour2/branches/3.0@7468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-02forward port ConfigVariable<bool> fix from 2.XPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7216 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-19MIDI region forking, plus Playlist::regions_to_read() fix forward ported ↵Paul Davis
from 2.X. region forking requires a few cleanups git-svn-id: svn://localhost/ardour2/branches/3.0@7118 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-30restore excess calls to sync-order stuff (for now); allow MIDI controllers ↵Paul Davis
to use the same non-linear fader response as the gui; add various flags to PBD::Controllable and remove URI from that class git-svn-id: svn://localhost/ardour2/branches/3.0@6414 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-0990% done with external sync design changes (GUI now has toggle switch for ↵Paul Davis
ext/int sync; source chosen separately, currently in ardour prefs dialog ; fix libmidi++ and compilation scripts to correctly build JACK+ALSA support; minor contiuing tweaks on transport stuff git-svn-id: svn://localhost/ardour2/branches/3.0@6048 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-28* libardour uses ARDOUR::nframes_t and ARDOUR::nframes64_t explicitly in headersPaul Davis
* use explicit operator<< and operator>> that in turn use PBD::EnumWriter when serializing and deserializing to/from rc files * adds scrolling in mixer window (from 2.X) * BBT math stuff - untested, but basically operational * move LocaleGuard into its own file(s) in libs/pbd * Tempo now uses nframes64_t everywhere (except for sample rate values) * as in 2.X, use mkstemp and hack to avoid temp file nonsense, and remove erroneous free() from disk stats output git-svn-id: svn://localhost/ardour2/branches/3.0@5961 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-27Update BBT_Time add and subtract interfaces (stubs, just for unit test ↵David Robillard
building). Build unit tests against libardour itself rather than compiling in bits. git-svn-id: svn://localhost/ardour2/branches/3.0@5949 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14Strip trailing whitespace and fix other whitespace errors (e.g. space/tab ↵David Robillard
mixing). Whitespace changes only. Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-02string_is_affirmative() fix for 3.0Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@5723 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-13merge pre- and post-fader processor boxes; start removing Placement (not ↵Paul Davis
finished) ; add -DWAF_BUILD and use per-directory foobar-config.h to correctly pick up configure-time settings like HAVE_OGG ; check for libgiomm (part of upgrade to newer gtk stack); 32 bit marker reload fix from 2.X; audiounit IO config cache fix from 2.X; multi-add route template fix from 2.X; plugin GUI delete fix from 2.X; solo button labels are A or P for listen mode git-svn-id: svn://localhost/ardour2/branches/3.0@5344 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-16Remove preferences menu options that have been moved into one or other ↵Carl Hetherington
preferences dialog. git-svn-id: svn://localhost/ardour2/branches/3.0@5085 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-14First stage of options rework.Carl Hetherington
- Split Configuration into RCConfiguration and SessionConfiguration; the first for options which are saved to .rc files and the second for options which are saved in a session file. - Move some options from the old `master' Configuration object into SessionConfiguration; this needs more refinement. - Reflect many RCConfiguration options in an expanded Edit->Preferences dialog; my intention is to remove the corresponding menu items eventually. git-svn-id: svn://localhost/ardour2/branches/3.0@5075 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-02-16Merge with 2.0-ongoing R3071.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@3074 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-04Remove unused utility function elapsed_time_to_strTim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2398 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-06-27Remove unused and non-portable utility functionTim Mayberry
git-svn-id: svn://localhost/ardour2/trunk@2039 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-28remove Id: lines from many/all headers and some more source filesPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1535 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-03* added max peak hold state to IO so that the true held peaks can be displayedJesse Chappell
in the numeric field in the gui. * returned meter falloff to proper slower speeds git-svn-id: svn://localhost/ardour2/trunk@1265 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-02finish use of EnumWriter for saving flags etc. throughout the session filePaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1259 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-12-21use ustring more; handle embedding of "paired" files as per mantis #1362Paul Davis
git-svn-id: svn://localhost/ardour2/trunk@1241 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-29many important changes to configuration system and specific parametersPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@935 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-28fixes for destructive track offsets of various kinds; move from ↵Paul Davis
jack_nframes_t -> nframes_t git-svn-id: svn://localhost/ardour2/trunk@933 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-25the BIG CONFIG patchPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@926 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-31Fixed compilation of CoreAudioSourceTaybin Rutkin
Seperated AUDIOUNITS support from COREAUDIO support. Fixed metadata saving in SfdbUI. git-svn-id: svn://localhost/ardour2/trunk@879 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-31merge changes from harrison branch back into trunk, by handPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@878 d708f5d6-7413-0410-9779-e7cbd77b26cf