summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
AgeCommit message (Collapse)Author
2017-03-31Add an API to query if the audible frame is latent pending a locateRobin Gareus
eg. at the end of a loop, the session may already be playing the beginning of the loop. The TransportLooped signal was emitted. Yet due to playback latency, the audible frame is still at the end of the loop. To interpolate the playhead position the UI needs to be able to know: Relying on the TransportLooped signal is not sufficient because it does not take playback latency into account.
2017-03-12Optimize Session::set_dirty()Robin Gareus
2017-02-22Prepare re-locating missing external files.Robin Gareus
2017-02-22NO-OP; whitespaceRobin Gareus
2017-02-09fix save_as()' inadvertent marking a session as dirty during the process of ↵Paul Davis
saving state to disk
2017-02-09NO-OP: whitespace removalPaul Davis
2017-02-09when adding a default start/end range to a Location while saving a template, ↵Paul Davis
do not mark the current session dirty
2017-01-27mark session dirty when dragging tempo markers.nick_m
2017-01-21update bbe62da55a - use last-modified-with, strip git-revRobin Gareus
2017-01-20Extract program version that a session was created withRobin Gareus
2017-01-20Plug a memory leak (recent session list, session info)Robin Gareus
2017-01-16Prepare session-wide implicit monitoring overridesRobin Gareus
2017-01-08prototype track/bus sharing: state-exportRobin Gareus
2017-01-05Fixing LV2_SUPPORT #ifdefsDobroslav Slavenskoj
2016-12-30Remove cruft (old MIDI feedback API)Robin Gareus
2016-12-29allow all types of range location (loop, start, end etc.) to be glued to ↵nick_m
bars and beats.
2016-12-27Normalize audio when archiving to fixed-point format.Robin Gareus
2016-12-08Speed up recent session display (for many large sessions)Robin Gareus
- don't parse XML into XMLTree - only read the file, extract relevant elements - don't read session-template contents, only test file
2016-12-05Add Lua bindings to manage GroupsRobin Gareus
2016-10-30extend Mixbus' "Safe Mode"Robin Gareus
2016-10-20infrastructure for save/restore of MIDI port user-provided informationPaul Davis
2016-10-19infrastructure for MIDI-input-follows-selectionPaul Davis
2016-10-13Allow opening sessions with files embedded from removable drivesRobin Gareus
Otherwise Windows shows a critical error for files embedded from removable devices.
2016-10-04Detect free space on NetBSDKamil Rytarowski
2016-09-30don't include session-search paths with templatesRobin Gareus
2016-09-28output more stuff to the error channel if/when a session fails to load/be ↵Paul Davis
created
2016-09-23add an option to exclude unused Audio Sources when archiving the sessionRobin Gareus
2016-09-23fix a typo.Robin Gareus
Really a no-op, AudioSource::length() ignores the position, and for regular regions > 0 is equivalent to != 0
2016-09-23Remove _midi_regions_use_bbt_beats from Session, _start_pulse and ↵nick_m
_length_pulse from MidiRegion. - _start/length_beats are now quarter notes regardless of loaded session version. - also restores note colour update
2016-09-21report archive encoding progressRobin Gareus
2016-09-21Add option to flac encode audio when archivingRobin Gareus
2016-09-20initial support for archiving sessionsRobin Gareus
2016-09-15Send/show error message if g_stat fails in Session::cleanup_sourcesTim Mayberry
let the user/developer know if this does occur rather than just silently skipping the file. Fix some whitespace issues while we are changing indentation.
2016-09-15Use g_strerror() instead of ::strerror() in Session::cleanup_sourcesTim Mayberry
The error is generated by a glib function so use the glib version of this function(it also consistent with usage in the rest the file).
2016-09-15Use g_rename() instead of ::rename() in Session::cleanup_sourcesTim Mayberry
The paths are in UTF-8 encoding and ::rename expects paths in the system codepage encoding so ::rename will fail for any paths that contain characters that aren't in the system codepage. This fixes Flush Wastebasket on Windows where paths contain characters that aren't in the system codepage(usually most non-ascii characters).
2016-09-14Check a return value from 'g_stat()'John Emmas
Some Mixbus users (on Windows) have reported seeing ludicrously high figures for the amount of disk space that'll be recovered if they choose to clean up unused sources. I can't see anything obviously wrong in Ardour's code - except for one situation where we don't check a return value after calling 'g_stat()'. On Windows, the relevant path should be (hopefully!) in UTF8 format and the first thing that g_stat() does is to convert it to UTF16. If that conversion fails for some reason, g_stat() will return an error status and statbuf will be uninitialized - but at the moment, we're not checking this. As an experiment, let's check the returned value and find out if these user reports go away. Unfortunately, if it does fix the problem then we've got an even bigger problem - because somehow, a Windows user can create source files with invalid names which can't be later deleted!!
2016-09-07Fix incorrect estimate of future revision.nick_m
2016-09-07Load midi region length and start correctly in sessions modified by v5.0 -> ↵nick_m
5.3-41
2016-08-17do not allow undo/redo while actively recordingPaul Davis
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-07-12once the user has explicitly set the session range end, playlist/range ↵Paul Davis
changes do not move it. The user may drag the marker, edit in the Location UI, or use nudge, to set the end
2016-06-28changes in logic used by source cleanup to avoid endless recursion in ↵Paul Davis
sessions with deeply nested/recursive compound regions. This also fixes some potentially dangerous cleanup logic related to two sources with the same name (but different paths)
2016-06-26Enable build for FreeBSD (part 1/2)Robin Gareus
Adopted from Michael Beer -- GH pull-request #232 with minor changes: * rebased on master, * removed trailing whitespace, * don't explicitly change saved configuration defaults (wscript) * moved sys/wait (WNOHANG) to header include * separate changes in GUI and lib
2016-06-10noop: comment fix.Paul Davis
2016-06-06remove incorrect allocation of a second VCAManager in a session.Paul Davis
Fixes warning about a SessionHandleRef at session close
2016-06-01save version string with session for informational purposesRobin Gareus
2016-05-31fix SNAFU in which Stripable::rec_enable_control() was incorrectly defined ↵Paul Davis
as ::recenable_control() Make Mackie support code use the Stripable to access the rec-enable control while we're here
2016-05-31improve/extend Session::controllable_by_descriptor()Paul Davis
2016-05-31remove debug outputPaul Davis
2016-05-31move ControllableDescriptor from libpbd to libardour; add support for ↵Paul Davis
describing VCAs