[Laszlo-dev] For Review: Change 41721 Summary: More debugger reorg

P T Withington ptw at pobox.com
Sun Apr 23 14:55:43 EDT 2006


Change 41721 by ptw at ptw-legals-4 on 2006/04/23 11:34:05 *pending*

	Summary: More debugger reorg
	
	Technical Reviewer: hminsky (pending)
	QA Reviewer: ben (pending)
	Doc Reviewer: n/a (pending)
	
	Details:
	
	LzRuntime: Fix type-oh so early warnings work again
	
	LzCompiler: The compiler no longer emits filenames with "'s.
	Add a newline to the fallback messages.
	
	debugger/kernel.js:  Dummy LzDebugWindow for when the user
	includes the <debug> tag.
	
	LzBrowser.js: stub out getVersion (which is supposed to return
	the Flash runtime version -- callees should be prepared to get
	back undefined in DHTML, or not call it!).
	
	LzIdle.js: Port callOnIdle.
	
	DHTMLwrite.java: Fix type-oh.
	
	ToplevelCompiler.java: Include components/debugger/library not just
	the debugger file (in case anyone had the illusion that it
	actually was a library!)
	
	Compiler.java: Fix precedence of new in unparser.
	
	JavascriptGenerator.java: Teach the compiler to correctly
	check for undefined references in prefix, postfix, and
	assignment expressions.  Do everything in one pass (the second
	pass only served to waste cycles and broke #pragma).  Fix
	script cache so that buildlfc notices when you change an
	included file.  Don't check closed over references for
	undefined.  Only emit undefined checks when requested.
	
	components/debugger/library: use <switch> tag to not include
	component debugger for DHTML.
	
	lzunit.lzx:  I am told this is defunct, but I find it useful
	for testing the compiler, at least for now.  Since it is
	defunct, I have bashed it to make it work in DHTML by removing
	some of the 'features' it had grown.
	
	lzunit-test:  Make this understand that there are non-swf
	runtimes now.
	
	simple.lzx:  Remove the pointless <debug> tag.
	
	Tests: smokecheck/simple.lzx

Affected files ...

... //depot/lps-legals/WEB-INF/lps/lfc/compiler/LzRuntime.lzs#1 edit
... //depot/lps-legals/WEB-INF/lps/lfc/debugger/LzCompiler.lzs#2 edit
... //depot/lps-legals/WEB-INF/lps/lfc/debugger/kernel.js#2 edit
... //depot/lps-legals/WEB-INF/lps/lfc/services/LzBrowser.js#1 edit
... //depot/lps-legals/WEB-INF/lps/lfc/services/LzIdle.js#1 edit
... //depot/lps-legals/WEB-INF/lps/server/src/org/openlaszlo/compiler/ 
DHTMLWriter.java#5 edit
... //depot/lps-legals/WEB-INF/lps/server/src/org/openlaszlo/compiler/ 
ToplevelCompiler.java#5 edit
... //depot/lps-legals/WEB-INF/lps/server/src/org/openlaszlo/sc/ 
Compiler.java#11 edit
... //depot/lps-legals/WEB-INF/lps/server/src/org/openlaszlo/sc/ 
JavascriptGenerator.java#14 edit
... //depot/lps-legals/lps/components/debugger/library.lzx#1 edit
... //depot/lps-legals/lps/components/lzunit/lzunit.lzx#6 edit
... //depot/lps-legals/test/smoke/lzunit-test.lzl#1 edit
... //depot/lps-legals/test/smoke/simple.lzx#1 edit


-------------- next part --------------
A non-text attachment was scrubbed...
Name: changeset-41721.zip
Type: application/zip
Size: 130530 bytes
Desc: not available
Url : http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20060423/0632729d/changeset-41721-0001.zip


More information about the Laszlo-dev mailing list