1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

33 Commits

Author SHA1 Message Date
Paul Licameli
5a61428d4d Don't stop recovering projects in case one of them fails...
... This matters now that ProjectManager::OpenProject really can return null.
2021-05-24 20:04:58 -04:00
Paul Licameli
a1650771b1 New argument for ProjectManager::OpenProject, not yet implemented...
... It is false in exactly the cases where there is now also a check first for
the safety of opening a project file.

Those are the cases where a new project was made for imports, but this was not
necessary for safety.  Yet old behavior will be preserved in such cases.
2021-05-24 20:04:58 -04:00
Paul Licameli
c96d5f12bc Comments; range-for; fix unchecked dereferences of pointer-to-pointer 2021-05-24 20:04:57 -04:00
Leland Lucius
95a7fc6362 Bug 2707 - Opened projects not being removed from "audacity.cfg" 2021-03-23 12:43:46 -05:00
Paul Licameli
43574553fc Break dependency cycle introduced at 50f3321...
... This only cuts and pastes some functions from FileNames to another new file
and namespace, and changes namespace qualifiers where they are called.

The cycle resulted because of the need to include widgets/ErrorDialog.h
2021-01-16 13:28:37 -05:00
Leland Lucius
a49cf61033 Don't crash during Auto Recovery
Steps:

1)	New project
2)	Generate chirp
3)	New Project
4)	Generate chirp
5)	Kill Audacity
6)	Restart Audacity
7)	Unselect the 2nd item
8)	Click "Discard Selected"
9)	Click "Yes" to confirm
10)     Click "Recovery Selected"

Crash...
2021-01-06 01:13:09 -06:00
Paul Licameli
7e1e339f72 Bug2599: -wal and -shm of discarded temp projects should clean up 2020-11-24 14:38:58 -05:00
Paul Licameli
14c300c672 Bug2542: Discard button of auto recovery should work with UP 2020-11-19 15:18:01 -05:00
James Crook
b9212d8393 Bug 2543 - Enh: Project Items are not ticked by default in Project Recovery Dialog 2020-09-13 12:47:17 +01:00
Leland Lucius
f179fae2c1 AUP3: Removed unneeded ESCAPE key handling 2020-08-05 10:26:53 -05:00
Leland Lucius
9050817426 AUP3: Skip auto recovery if Escape is pressed 2020-08-05 10:25:15 -05:00
Leland Lucius
7772f46345 AUP3: Remove unwanted method 2020-08-05 09:26:06 -05:00
Leland Lucius
81598541de AUP3: Set default button in Auto Recovery dialog 2020-08-05 08:31:44 -05:00
Leland Lucius
021508c7b9 AUP3: Ensure list has initial focus in Auto Recovery dialog 2020-08-04 09:55:31 -05:00
Leland Lucius
0ff51ffcee AUP3: Accessibility fixes in Auto Recovery dialog 2020-08-04 09:49:36 -05:00
Leland Lucius
bfa17b7b69 AUP3: Select/unselect all by clicking column header in AutoRecovery dialog 2020-08-02 12:30:36 -05:00
Leland Lucius
59c3b360b7 AUP3: Make Auto Recovery dialog resizable 2020-07-31 18:24:32 -05:00
Leland Lucius
38d13ebdc0 AUP3: Do not physically delete project if not temp 2020-07-27 20:56:29 -05:00
Leland Lucius
6fef14dd08 AUP3: Rework Compact Project menu item and AutoRecoverDialog
Plus a couple of fixes that prevent leaving temporary files
after a project is loaded.
2020-07-26 02:01:37 -05:00
Leland Lucius
674cfe68c9 AUP3: Offer the active project name for Save Backup
This provides a "template" for the user to modify.
2020-07-25 20:48:15 -05:00
Leland Lucius
03762d0ca3 AUP3: Fix unopened project file 2020-07-25 18:47:30 -05:00
Leland Lucius
df8b7f52ce AUP3: Let's try using just the active projects list 2020-07-23 21:30:09 -05:00
Leland Lucius
a1e83c141a AUP3: AutoRecoveryDialog experiment
Looking for feedback...
2020-07-23 01:19:29 -05:00
Leland Lucius
d39590cf41 AUP3: First round of updates
!!! THERE WILL NO DOUBT BE BUGS !!!

This is a big one and there's still several things to
complete. Just want to get this in the wild to start
receiving feedback.

One big thing right now is that it will NOT load pre-aup3
files.  An importer is on the way for that.
2020-07-01 02:30:18 -05:00
Paul Licameli
4d09705a73 Change XO to XXO in many more places, with no effects at all...
... because the two macros have the same expansion, and are both checked for
in the --keyword arguments passed to msgfmt by locale/update_po_files.sh.

This commit makes ONLY such changes, and comments in Internat.h.  It is big
but quite harmless.

The intention is to introduce a type distinction in a later release, by defining
XXO differently.  XXO is used where & characters in strings (for hotkeys of menu
items or control prompts) are permitted, XO where not.
2020-05-22 13:07:50 -04:00
Paul Licameli
455d3185a8 TranslatableString for list control column headers, menus 2019-12-23 19:02:21 -05:00
Paul Licameli
707a069712 ShuttleGui::AddVariableText takes TranslatableString 2019-12-23 18:53:00 -05:00
Paul Licameli
b404eb7800 TranslatableString for static text box captions 2019-12-23 18:52:37 -05:00
Paul Licameli
1944ac2040 TranslatableString for labels of ShuttleGui buttons 2019-12-23 15:35:48 -05:00
Paul Licameli
dc39f22442 AudacityMessageBox takes TranslatableString message and caption 2019-12-20 21:32:50 -05:00
Paul Licameli
53ee9c9800 TranslatableString for titles, names, labels of wxDialogWrappers...
... Found one missed translation in CommandTargets.cpp
2019-12-16 10:58:05 -05:00
Paul Licameli
ae353fe61f Specify list control columns and styles all in one call 2019-11-28 14:24:44 -05:00
Paul Licameli
0c6cda50c3 Split AutoRecoveryDialog.cpp from AutoRecovery.cpp...
... leaving AutoRecovery as a lower-level file, to be used by ProjectHistory
for auto-save, and not including ProjectManager.

The new file floats to a high level of the graph, but AutoRecovery.cpp
remains in the big strongly connected component.
2019-06-09 12:10:48 -04:00