On Tue, Feb 14, 2012 at 8:53 PM, Edward K. Ream <[email protected]> wrote:
> Rev 4984 contains the new code that computes the global finalized > dicts. The code is pretty much as envisioned in the post: look for > the g.new_config switch if you are interested in the details. Rev 4985 completes the first draft of the new_config code. This rev should be safe to use because the new code is presently disabled, but as always, please report any new problems immediately. This rev collapses significant complexity. Init code will never be easy, but this new code is about as easy as straightforward as it is possible to imagine. Here is the checkin log. QQQQQ Completed the first draft of the (still disabled) new_config code. Likely the last code commit before changeover. LeoApp.py: - Added LM.readLocalSettings. - Improved traces of settings dicts. LeoCommands.py: - Rewrote all c.config.getters except the "unusual" getters that simply retrieve global g.app.config data. - Rewrote c.config.set. LeoGlobals.py: - Added a call [guarded by g.new_load] to c.loadManager.readLocalSettings(c), the entry point for the new local config code. - Improved tracing of g.TypedDict and g.TypedDictOfLists classes. repr(d) now reports the number of keys, which is surprisingly handy. QQQQQ 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.
