Skip to content

v1.0.10 data integrity release: Improve add/remove sheet, add backups

Compare
Choose a tag to compare
@tomcl tomcl released this 13 Dec 15:12
· 2126 commits to master since this release

The work for this version concentrates on making the UI more foolproof and increasing data integrity.

This version uses a new autorouter with less flexible routing. The old-style connections can still be used with the -old-style-connections binaries. They suffer from intermittent crashes - if these have been bothering you use the new router.

This version aims to add protection against inadvertent data loss of different types. It also add some extra protection that would detect and prevent possible bugs where an incorrect autosave can cause data loss if selected when a project is re-opened.

It corrects a "feature" where changing sheet with unsaved changes saves the changes to disk, but not to the app's copy, so changing back to the previous sheet loses the new data. this should have been discovered earlier, apologies.

  • Unsaved changes vanish in-memory on sheet change feature changed. Now unsaved changes are updated in memory. (fixed 20:22 13 Dec)
  • A backup mechanism has been added where backups are automatically saved when loading a project and the "autosave" and "normal save" versions of any sheet differ by more than a small amount. This allows recovery when an autosave or normal save is wrongly chosen. This feature is still experimental but if you ignore it, it will not matter, it does not change other functionality.
  • Better interlocks have been added to the file operations: sheet rename, add, delete, open. There is no evidence these are needed, but better safe than sorry since incorrect autosaves could create data loss if they happened when data structures were inconsistent, and then were selected on project load.
  • Remove sheet now works properly whether removing the current sheet, or some other sheet
  • Add sheet now always delivers a blank new sheet.
  • A possible user error where an added sheet name contains disallowed characters (e.g. '.') has been prevented with good error messages. Sheet names with '.' characters cause problems, and the correct solution for existing circuits with them is to rename files. Previously sheets with some other punctuation in names would still work correctly, this remains true, but all new sheets will be created with only alphanumeric or space names and certain limitations (spaces cannot start or end a name).
  • 01:05 14th Work around a compiler bug that in rare cases makes width errors in wires from constants to output ports (and maybe other things) sticky. Until this bug is fixed in the compiler its exact effects are not understood but the only case we have is one that will always go away if a correct design is saved and than reloaded.,

20:30 13th - uploads corrected for defect that prevented RH tab from being changed.