Skip to content

Qtfred autosave system#7463

Merged
BMagnu merged 4 commits into
scp-fs2open:masterfrom
MjnMixael:qtfred-autosave-system
Jun 4, 2026
Merged

Qtfred autosave system#7463
BMagnu merged 4 commits into
scp-fs2open:masterfrom
MjnMixael:qtfred-autosave-system

Conversation

@MjnMixael

Copy link
Copy Markdown
Contributor

Entirely removes the old undo system (backup.00#) from QtFRED and replaces it with a timed autosave feature. Timer defaults to 5 minutes and is configurable in Preferences. Additionally, users can enable/disable writing .bak files upon normal saving in preferences.

This is the first step towards QtFRED's true undo system where ctrl-z/y work entirely in memory and do not read/write files to disk as a sort of ad-hoc undo. Later phases for the undo system will follow this PR in manageable chunks.

Some save_config fields were removed/added to keep FRED2 working with the old undo system for now. That can all be removed once FRED2 is deprecated.

@MjnMixael MjnMixael added the qtfred A feature or issue related to qtFred. label May 15, 2026
@github-project-automation github-project-automation Bot moved this to Work In Progress (PRs) in qtFRED2 May 15, 2026
@MjnMixael MjnMixael added this to the Release 26.0 milestone May 15, 2026
@MjnMixael MjnMixael force-pushed the qtfred-autosave-system branch from dc16e4b to 287a001 Compare May 16, 2026 15:08
@MjnMixael MjnMixael force-pushed the qtfred-autosave-system branch from 287a001 to 9a30677 Compare May 26, 2026 13:37
Comment thread code/missioneditor/missionsave.h
Comment thread qtfred/src/mission/Editor.cpp
@MjnMixael MjnMixael force-pushed the qtfred-autosave-system branch from 9a30677 to c0d6ddc Compare June 1, 2026 13:50
@github-project-automation github-project-automation Bot moved this from Work In Progress (PRs) to In Review (PRs) in qtFRED2 Jun 2, 2026
@BMagnu BMagnu merged commit 03ea836 into scp-fs2open:master Jun 4, 2026
20 checks passed
@github-project-automation github-project-automation Bot moved this from In Review (PRs) to Done in qtFRED2 Jun 4, 2026
@MjnMixael MjnMixael deleted the qtfred-autosave-system branch June 4, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

qtfred A feature or issue related to qtFred.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants