Approved! P T Withington wrote: > Change 20091201-ptw-U by [email protected] on 2009-12-01 16:53:32 EST > in /Users/ptw/OpenLaszlo/trunk-2 > for http://svn.openlaszlo.org/openlaszlo/trunk > > Summary: Make debugging and backtracing work in binary libraries > > Bugs Fixed: LPP-8636 lzc -c --debug --backtrace should work > > Technical Reviewer: hminsky (pending) > QA Reviewer: max (pending) > > Release Notes: > It is now possible to compile a binary library and preserve debug > information. This can be useful if you suspect that the binary > compilation process may be introducing bugs into your program. > > Overview: > > Normally a binary library strips all extraneous information to > reduce the size of the library and speed compilation using the > library. This change makes it so that if you compile a binary > library with the --debug flag, local names and file/line > information is preserved in the binary libary to aid debugging. > > Details: > > LibraryWriter: Pass compiler properties to compressor. Move > unparsing into compressor. > > ToplevelCompiler: Don't include the debugger console if you are > not linking > > Compiler: Remove bogus function name insertion from bygone days. > > Function: Don't include prefix in source location > > JavascriptCompressor: Import compiler options. Set unparser > options from compiler options. > > JavascriptGenerator: Remove obsolete methodName pragma > > ParseTreePrinter: Learn how to insert annotations into unparsed > Javascript that will be accepted by our script compiler. > > Tests: > Library-compiled a large library and visually inspected it. > > Files: > M WEB-INF/lps/server/src/org/openlaszlo/sc/JavascriptGenerator.java > M WEB-INF/lps/server/src/org/openlaszlo/sc/Compiler.java > M WEB-INF/lps/server/src/org/openlaszlo/sc/JavascriptCompressor.java > M WEB-INF/lps/server/src/org/openlaszlo/sc/Function.java > M WEB-INF/lps/server/src/org/openlaszlo/sc/ParseTreePrinter.java > M WEB-INF/lps/server/src/org/openlaszlo/compiler/ToplevelCompiler.java > M WEB-INF/lps/server/src/org/openlaszlo/compiler/LibraryWriter.java > M WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java > > > Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20091201-ptw-U.tar
-- Regards, Max Carlson OpenLaszlo.org _______________________________________________ Laszlo-reviews mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews
