lp:~widelands-dev/widelands/handling-various-fs-errors

Created by Arty and last modified
Get this branch:
bzr branch lp:~widelands-dev/widelands/handling-various-fs-errors
Members of Widelands Developers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Widelands Developers
Project:
widelands
Status:
Merged

Recent revisions

8904. By artydent

in map save menu:
- when making a directory failed only because a file/dir with that name already existed, then the make directory dialogue is reopened immediately (focussed on the edit box and with the same name in it)
- make directory dialogue can now be canceled by pressing Escape

8903. By artydent

small fixes

8902. By artydent

merged trunk

8901. By artydent

compliance to style guide

8900. By artydent

In Load/Save menu for games/replays:
- All deletion errors are caught, player gets a message.
- When deleting multiplayer replays, also the corresponding syncstream file is deleted.
- After deleting replays, the table now respects the Show Filenames setting.

In Save menu for maps:
- Errors when trying to create a directory are now caught, player gets a message.
- Directory creation now doesn't allow names with map extensions, because the game would just trying to interpret them as maps and not show as directories. A tooltip is shown.
- Directory creation can now also be triggered by pressing Enter in the name edit box.

Other file errors are caught and logged:
- syncstream deletion in SyncWrapper destructor
- in Map::get_correct_loader
- file deletion/renaming in GameClient::handle_packet

8899. By artydent

made codecheck happy

8898. By artydent

- some filesystem errorchecking added
- more specific filesystem exceptions thrown

8897. By artydent

Merged trunk.

8896. By artydent

Whenever a map is fully loaded (editor/game/replay) the map is immediately saved to a temp file and the map's filesystem is reassigned to that temp file in a special directory. So when map/save files are handled anywhere, there won't be any filesystem conflicts with or even accidentally deletion of the map filesystem (which would lead to corrupt save files later).

Temp files are automatically deleted when not needed anymore.

Upon application start, any found temp files that are older than a week are considered accidental leftovers (e.g. from crashes) and deleted.

8895. By Wideland's Bunnybot <email address hidden>

Merged lp:~widelands-dev/widelands/frisian-buildings:
Improved graphics for the frisian sentinel

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:widelands
This branch contains Public information 
Everyone can see this information.