From: Andreas L. <lu...@ip...> - 2001-06-28 13:46:17
|
I checked in important bug fixes and new features. You can access this prerelease via anonymous CVS. Final release will be in two weeks, or after remaining problems have been fixed. Please report any remaining bugs and problems. Andreas Ludwig === very important changes === In the pretty printer, a direct "write" call has broken internal position counting. This is now fixed, and the overwrite internal positions options now works fine for start positions. This is important for graphical frontend that can now find the exact start position of a token after displaying the pretty printed output. Added a method for Java compile time control flow analysis to SourceInfo and some auxiliaries to StatementKit, including the very convenient ControlFlowWalker. This allows to find out whether the end of a void method or a constructor or initializer is reachable: it is not admissible to insert statements that cannot be reached. --- quite important changes --- Refactored PrettyPrinter interface: removed unnecessary internal functions thereby reducing recursion depth, renamed printInternalIndentation to printElementIndentation, folded duplicated code. --- negligible changes --- Added a new interface for ProgramElementWalkers, now implemented by AbstractTreeWalker. Minor patches in XReferenceHTMLGenerator: creates output directory when needed; underlining was broken for "new"; references are now contained in only one "X.html" file and entries are joined globally - the total size is decreased somewhat. Added a starters' tour to the home page, linking to example sources and generated html input and output pages. This increases the size of a distribution a bit, but should attract more people. |