Rev 2282 of the 46-maint branch now contains important bug fixes that
will form the basis of Leo 4.6.3.  A summary of the checkin logs:

Rev 2280:

A major bug fix to the Leo 4.6.2 code base:
disable caching in leoAtFile.read for all but @thin and @shadow trees.
In particular, @file and @noref files are no longer cached.
This prevents serious file-read errors for such files.

Removed spurious clones from unitTest.leo, the node at-file-test.py.
Prior to the above fix, it was impossible to do so.

Added top-level g.enableDB var in leoGlobals.py.

Added --no-cache command-line argument. When specified, it sets
g.enableDB to False.

Rev 2281:

Several one-line changes related to signon.
These are needed in order to do Alt-6 in leoPy.leo without crashing.

These have already been done in the trunk: I did them again here by
hand.

Rev 2282:

recommit after Ville's g.assertUI changes

All unit tests pass in unitTest.leo and in leoPy.leo.  Pylint is
happy.

Summary:

I am unexpected happy about the caching changes.  That is, I think the
present minimalist changes may well suffice now and forever.  In
particular:

1. I was able to fix some unexpected clones in unitTest.leo, the node
at-file-test.py without any fuss.  Previously, my changes did not
"stick".

2. The "reading" messages for @file and @noref files suffice, I think,
as a faint deprecation warning about such files.  This is important.
It would quickly become quite annoying for Leo to issue an explicit
deprecation warning about @file and @noref nodes, even if such a
warning were given only once each time Leo started up.  And it would
be absurd to enable such a nag with a user option.

So this is good:

- We have something that clearly works better than the 4.6.2 code
base, yet makes minimal changes to that base.

- We have a subtle solution to the deprecation warning problem.

- We can still run unit tests for @file nodes, etc.

A good day's work so far.  I'll be merging the 46-maint branch with
the trunk, and then the one-node branch asap.

Naturally, any reports of problems with the 46-main branch are most
welcome.

Edward

P.S.  I'll release 4.6.3 beta 1 (or maybe rc1) as soon as I finish the
script that creates the .nsi file. This must take precedence over the
one-node branch, but I don't expect much interference between the two
projects.  I'd like to finish both in the next few days, and certainly
before I leave for vacation.

EKR

--~--~---------~--~----~------------~-------~--~----~
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