On Feb 25, 9:55 am, "Edward K. Ream" <[email protected]> wrote:
> Rev 3005 of the trunk contains the last contemplated changes for Leo
> 4.7.1.  All unit tests pass in the usual places.

I've just added the following to the 4.7.1 release notes.  It explains
in detail what the danger was:

Fixed a dangerous bug that could cause data loss when converting @file
nodes from file-like to thin-like sentinels. The problem arose because
it was too easy to save the .leo file (thus deleting the tnodeList)
without forcing the converted external files to be saved. The next
time Leo attempted to read the external files, the tnodeList would be
missing and data would be lost.

Leo's read logic now determines whether the file has file-like
sentinels by reading the *uncached* contents of the file. When
converting file-like sentinels to thin-like sentinels, Leo warns that
it is converting the file and sets the @file node dirty. This ensures
that Leo will write the converted external file whenever Leo writes
the .leo file. This will make it impossible for a naive user to lose
data. A sophisticated user might cause problems by using the write-
outline-only command...

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to