1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-13 15:38:56 +02:00

23 Commits

Author SHA1 Message Date
Leland Lucius
f434789f34 Fix crash in new binary AutoSave
Would happen when writing tags with a value whose length was greater
than 65535 due to the use of shorts.  Now uses int instead.
2015-07-08 10:13:34 -05:00
Leland Lucius
f3f8e9cedb Make autosave filename English to work with Arabic translation on LInux
And just fix up a few comments.
2015-06-07 12:38:29 -05:00
Leland Lucius
0ef7ccb1d1 Fix permissions...not sure why this was happening though 2015-05-29 19:49:28 -05:00
Paul Licameli
0eb35418e8 Catch exceptions when opening recovery files so we don't crash on corrupt files 2015-05-25 07:00:43 -04:00
Leland Lucius
b3092a53a8 Fix bug #960
Which was initially reported by Paul, but Gale's description gave
me the means to reproduce it here.
2015-05-22 12:33:12 -05:00
David Bailes
f458df1c7b Changes to a number of dialogs so that the NVDA screen reader can read the titles. Missed these in my last patch. The accessibility name of the dialog is set to the title. 2015-05-18 13:57:05 +01:00
Leland Lucius
afe47be9e1 Clean up a few warnings 2015-04-26 16:46:14 -05:00
Daniel Winzen
d3a308ff2b Fix errors 2015-04-22 14:53:01 +02:00
Leland Lucius
9b8d538037 Open the the autosave file in binary mode
Will prevent line ends from throwing of the number of bytes read.
2015-04-19 03:41:16 -05:00
Leland Lucius
0c0650588a Allow recovery of 2.1.0 or earlier autosave files 2015-04-19 00:36:55 -05:00
Leland Lucius
3e1fbcd5ec Additional autosave speed improvement and 1 fix
This changes the autosave XML file to a binary representation
during writing to speed up autosave processing.  A lot of the
time used during autosave is a result of having to convert and
print all of the values to the XML file.

Writing the same information, but in binary format, reduces
all of that to just the bare essentials and the actual write
I/O.

During recovery, the binary file is read and converted to
the real xML representation and processing happens as it
did before.

It is a noticeable difference with very long or many tracks.

The included fix has to do with append recording.

Say you have 3 tracks and you want to append recorded audio
to the middle track.  Sometime later Audacity crashes and
upon recovery, the recorded audio is actually appended to
the third track, not the second one.

This fixes that by adding an "autosaveid" to each track as
it is written to the autosave file.  The same ID is written
to the recording recovery appends to the autosave file.

Then, during recovery, the IDs are matched up and the audio
gets appended to the proper track.

These autosaveid attributes are only present in the autosave
file and not in saved project files.
2015-04-17 16:58:26 -05:00
lllucius
b9647586af Committing patch from bug #794 2015-01-04 19:44:54 +00:00
v.audacity
2fe6e2ea5f Gale's patch for Bug 714 - Automatic Crash Recovery: more intuitive wording 2014-08-01 20:06:55 +00:00
benjamin.drung@gmail.com
277932dccb Remove trailing spaces. 2014-06-03 20:30:19 +00:00
martynshaw99
4ce2643d5f Remove the
// Indentation settings for Vim and Emacs
etc. lines from all files, as Campbell's patch (except for other changes to Languages.cpp)
2013-09-24 00:14:37 +00:00
james.k.crook@gmail.com
dba81b3f1c Cleanup: Fixed lots of trivial MSVC warnings. 2013-08-25 21:51:26 +00:00
james.k.crook@gmail.com
69476e785c Fixed more internationalisation hints. 2012-03-20 15:36:02 +00:00
v.audacity
5f5b9778de Fixes per Vigilant Sentry (http://www.vigilantsw.com/)
* Fix memory leaks.

* Add comments about initializations and checking for successful results.

* Add checks for NULL deref.

* Consistency in "TODO" vs "TO-DO" comments!
2012-02-08 05:09:14 +00:00
v.audacity
003221bb95 (minor change)
No need to check passed-in value of parameter that's used only for return value.
2010-07-17 00:11:57 +00:00
mchinen
fb9e6e5f1a Fix autorecover to recover more than just 3 recording tracks
Also fix mac crash due to assertion where envelope len is zero after recovery.
2010-07-09 16:17:45 +00:00
v.audacity
7501b9a865 minor changes on brief code review 2010-07-06 21:39:08 +00:00
v.audacity
b85ca7057d Remove call to OnZoomFit after recovery, so that zoom and selection are restored as well. I think when AutoRecovery was written, zoom and selection were not stored in the aup files, so this was a default. 2010-06-30 23:22:23 +00:00
ra
e74978ba77 Locate and position the current Audacity source code, and clear a variety of old junk out of the way into junk-branches 2010-01-23 19:44:49 +00:00