summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
AgeCommit message (Collapse)Author
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
2016-05-31first vaguely working version using PresentationInfoPaul Davis
remote control ID and "order keys" have been removed.
2016-05-31save and restore vca assignmentsPaul Davis
2016-05-31change API of Controllable::Changed signal to include (from_self, ↵Paul Davis
GroupControlDisposition) This allows the signal to convey more information, which may be required by some handlers of a control's Changed signal
2016-05-31don't increment actual VCA counter when saving session statePaul Davis
2016-05-31add required headerPaul Davis
2016-05-31save+restore VCA counter value across instancesPaul Davis
2016-05-31save/restore VCAManager statePaul Davis
2016-05-31Session HAS-A VCAManagerPaul Davis
2016-05-27Tempo ramps - update midi regions and locations when dragging tempo.nick_m
- also make locations and regions use a double beat rather than bbt for musical position.
2016-05-07make boost shared_ptr debugging a little easier to turn on/offPaul Davis
2016-05-07a few strategic LocaleGuards..Robin Gareus
..to prevent switching forth and back during individual ::state(), ::set_state() when loading/saving the session or locating.
2016-05-07Revert "Add a global state localeguard (and one for route templates)"Robin Gareus
This reverts commit 2b7a047e92bc5ebe3287860ff9c9f2fb0acb193c.
2016-05-07fix LocaleGuard contstructor (3dc77280)Robin Gareus
2016-05-07Add a global state localeguard (and one for route templates)Robin Gareus
2016-05-05we always only use the "C" locale when saving.Robin Gareus
2016-05-04OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one)Paul Davis
2016-04-24plug some memory leaks in libardourRobin Gareus
2016-04-18add notification if Engine Rate changes and mismatches session's SRRobin Gareus