summaryrefslogtreecommitdiff
path: root/libs/ardour/utils.cc
AgeCommit message (Collapse)Author
2017-09-18globally change all use of "frame" to refer to audio into "sample".Paul Davis
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible
2017-09-18Add support for Latch AutomationRobin Gareus
2017-06-26Add convenience fn to compute a file's sha1sumRobin Gareus
2017-06-21Fix/update maximum gain computationRobin Gareus
2017-06-21Remove Cruft -- AutomationStyle never did anything.Robin Gareus
Trim automation is planned via SlavableAC as normal AutomationMode. Some of this code have a revival (a special "Trim+Preview" state before merging Automation but that has to be more general than Pan & Gain.
2016-12-18Shorten sync-button label/sizeRobin Gareus
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-05-31universal change in the design of the way Route/Track controls are designed ↵Paul Davis
and used. The controls now own their own state, rather than proxy for state in their owners. Massive changes all over the code to accomodate this. Many things are not finished. Consider this a backup safety commit
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 ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-10-04Change a few instances of 'stat()' to use 'g_stat()' (for UTF8 compatibility ↵John Emmas
on Windows)
2015-09-08RF64, RF64 (WAV) and MBWF native file header formatsPaul Davis
2015-07-26Move ARDOUR::touch_file to pbd/file_utils.hTim Mayberry
2015-07-26Use g_open instead of ::open in ARDOUR::touch_file for portabilityTim Mayberry
2015-07-25Revert "A few more instances of non-glib 'open()' getting used without ↵Tim Mayberry
locale-specific input paths" This reverts commit 52ef02b387d8267315547129f7f100048a5c1166.
2015-07-23A few more instances of non-glib 'open()' getting used without ↵John Emmas
locale-specific input paths (noticed by Todd. probably more to come...)
2015-07-15amend 3a5ac7fRobin Gareus
2015-07-15update existing dpm meter-falloff config to new fastest.Robin Gareus
2015-06-29(re)implement Yevgeny's LTC branch changes in the context of ↵Paul Davis
ardour-merge-from-tracks (just the libs/* section)
2014-11-14add abort() to non-reached codeRobin Gareus
This cleans up a lot of false-positives in static analysis and also helps compilers to optimize code paths in general. (tagging the fatal stingstream operator as ‘noreturn’ is far less trivial)
2014-07-01Merge branch 'ripple-mode-cc' into cairocanvasColin Fletcher
Fix up merge conflicts in gtk2_ardour/editor_mouse.cc gtk2_ardour/editor_ops.cc Also fix up compile errors.
2014-06-30Disallow empty names for Groups, automatically enumerate themRobin Gareus
2014-06-26bump take-name after every recordingRobin Gareus
2014-06-25namespace libardour utilsRobin Gareus
2014-05-07Ripple mode: basic implementationColin Fletcher
Add a value for Ripple to EditMode enum. Add Ripple edit mode to edit mode dropdown, by adding it to the Editor::build_edit_mode_menu() helper function, and remove the old code that added items to the (now unused) Editor::edit_mode_strings. Add the regions that should be affected by the drag to RegionDrag::_views so that the drag carries them along automatically. Use a copy of the RegionList in Playlist::core_ripple(), since bad things happen when iterating over regions and they get moved around in the list. Handle rippling in removal of regions from playlist. When dragging in ripple mode, exclude all regions that lie before the original start position of the selected regions being dragged from rippling: this is what Mixbus does. Make editor dragging respect snap-to settings, by using the existing compute_x_delta() function, which did almost the right thing. Move setting of _last_frame_position out of that function so all ripple-dragged regions can move. Ripple when dragging from region list: even though Mixbus doesn't do this, it seems like a good idea. Prevent multi-track selection being dragged across tracks, by making RegionMotionDrag::y_movement_allowed() virtual, and overriding it in RegionRippleDrag to forbid dragging of selections containing regions on more than one track to dofferent tracks in ripple mode. Remember which TimeAxisView a ripple-mode drag that's allowed cross-track drags started from, so that the effect of rippling regions after any region that's dragged off that track can be undone.
2014-01-10Merge windows+cc branch into cairocanvas branch. Not finished, need to now ↵Paul Davis
merge windows branch to get changes from there
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-06Merge branch 'master' into windows+ccJohn Emmas
Conflicts (hopefully resolved): gtk2_ardour/ardour_ui.cc gtk2_ardour/ardour_ui.h gtk2_ardour/ardour_ui_options.cc
2013-09-19switch from JACK_Slave to Engine_SlavePaul Davis
2013-08-04'libs/ardour' - Compiler specific includes and includesJohn Emmas
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-10-14use translatable strings for TC info,Robin Gareus
and prepare delta display git-svn-id: svn://localhost/ardour2/branches/3.0@13275 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-12skeleton framework for LTC-slaveRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31Remove unused method.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12516 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
2012-01-18restore ability to create TOC and CUE files during export. this is an option ↵Paul Davis
in a given export format, not a per-export choice. so you need export formats with them set (or not) in order to utilize this choice. the resulting CUE/TOC files have not been checked with a burner (e.g. cdrdao) and testing of them would be appreciated - i (paul) have no CD burner h/w git-svn-id: svn://localhost/ardour2/branches/3.0@11266 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-18make monitor section an optional feature than can be added/removed as ↵Paul Davis
needed. this is a big commit, and breakage is possible. it has been moderately tested. this commit also locks the remote control ID of the master bus to 318 and the monitor section (if any) to 319. the numbers are based on MIDI Machine Control limits git-svn-id: svn://localhost/ardour2/branches/3.0@11256 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-11-21use return value of realpath() and note an error if it occursPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10732 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11remove debug outputPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10552 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11cleanup regexp after usePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10536 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-11use home-grown solution for path_expand(), rather than wordexp() which is ↵Paul Davis
broken in different ways on different platforms git-svn-id: svn://localhost/ardour2/branches/3.0@10535 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-10next attempt to fix the use of wordexp(3) ...Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10532 d708f5d6-7413-0410-9779-e7cbd77b26cf