Rev 4991 features several excellent code simplifications centered on g.openWithFileName.
The new changes are widespread. I have *not* tested the pymacs module and the create sessions commands directly. I've tested all the other changed code either manually or with unit tests. Please report any problems immediately. Here is the checkin log: QQQQQ Another round of code cleanup centered on g.openWithFileName. All unit tests pass, and pylint is happy. Besides the g.openWithFileName work, here are some other changes. leoApp.py: - Removed obsolete LM.doPostPluginsInit. It will be restored soon. - Removed LM.createFrame & helpers. They are gone for good. leoGlobals.py: - More work simplifying g.openWithFileName. - Added "force" argument to g.openWithFileName. leoTest.py: - Preliminary code preparing to correct some recent code rot. runLeo.py: - Substantially simplified doPostPluginsInit using g.openWithFileName. - Removed createFrame method and helpers. Hurray! free_layout.py: - Added a new guard for f.top. mod_http.py: - Use new calling sequence for g.openWithFileName. screenshots.py: - Use new newCommander method. 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.
