I'd like to propose that we integrate r4138, which fixes a regression with Debug.write.

Reward: Debug.write works for multiple arguments again

Risk: low


Begin forwarded message:

From: [EMAIL PROTECTED]
Date: March 7, 2007 8:54:53 PM PST
To: laszlo-checkins@openlaszlo.org
Subject: [Laszlo-checkins] r4138 - openlaszlo/branches/legals/WEB- INF/lps/lfc/debugger
Reply-To: laszlo-dev@openlaszlo.org

Author: jgrandy
Date: 2007-03-07 20:54:51 -0800 (Wed, 07 Mar 2007)
New Revision: 4138

Modified:
   openlaszlo/branches/legals/WEB-INF/lps/lfc/debugger/LzFormat.lzs
Log:
Change 20070307-jgrandyw-Y by [EMAIL PROTECTED] on 2007-03-07 15:18:08 PST
    in /Users/jgrandyw/dev/svn/openlaszlo/branches/legals

Summary: Fix Debug.write per ptw's advice

New Features:

Bugs Fixed:LPP-3666

Technical Reviewer: ptw
QA Reviewer: hqm
Doc Reviewer:

Documentation:

Release Notes:

Details:


Tests:

Files:
M      WEB-INF/lps/lfc/debugger/LzFormat.lzs


Modified: openlaszlo/branches/legals/WEB-INF/lps/lfc/debugger/ LzFormat.lzs
===================================================================
--- openlaszlo/branches/legals/WEB-INF/lps/lfc/debugger/ LzFormat.lzs 2007-03-08 03:31:06 UTC (rev 4137) +++ openlaszlo/branches/legals/WEB-INF/lps/lfc/debugger/ LzFormat.lzs 2007-03-08 04:54:51 UTC (rev 4138)
@@ -59,7 +59,7 @@
 // Debug.addHTMLText is platform-specific

 /**
-  * Implements Debug.write in the core debugger
+ * Implements <xref linkend="Debug+debug.write"/> in the core debugger
   * @access private
   */
 Debug.writeInternal = function (objects) {
@@ -72,16 +72,16 @@
 /**
   * Display one or more objects on the debug console.
   *
- * Note: <xref linkend="Debug.prototype.format"/> allows more control
+  * Note: <xref linkend="Debug+debug.format"/> allows more control
   * over displaying multiple objects. Use it instead of Debug.write.
   *
   * <code>Debug.write</code> displays objects on the debug console in
   * an informative format.  Simple objects are represented as
* themselves. Printed Complex objects are represented by their type * and a concise description. Long representations (and long Strings) - * are abbreviated if they are longer than Debug.printLength. Complex + * are abbreviated if they are longer than <xref linkend="Debug +debug.printLength"/>. Complex
   * objects and abbreviated objects presented as links.  Clicking on
-  * the link will invoke <code>Debug.inspect</code> on the object,
+ * the link will invoke <xref linkend="Debug+debug.inspect"/> on the object,
   * giving more detail.
   *
* @param Object... objects: One or more objects to display. Multiple
@@ -91,8 +91,8 @@
   * @devnote This alias allows platform-specific overrides that
   * call writeInternal
   */
-Debug.write = function (objects) {
-    Debug.writeInternal(objects);
+Debug.write = function () {
+    return this.writeInternal.apply(this, arguments);
 }


@@ -215,7 +215,7 @@
   * argument as if by `Debug.__String` with the 'pretty' option and
   * creates a 'hotlink' so the object can be inspected.  If alternate
* format is requested (#), `w` uses the full `Debug.__String` format
-  * used by Debug.write.  `%w` format obeys Debug.printLength.  If a
+ * used by <xref linkend="Debug+debug.write"/>. `%w` format obeys <xref linkend="Debug+debug.printLength"/>. If a
   * precision is specified, that is used as printLength.
   *
   * @param string control: A control string where % indicates a
@@ -228,7 +228,7 @@
   * coreced to a string or HTML (the latter supports the hot-linking
   * feature).
   *
- * @devnote For backwards compatibility with Debug.write, if control is not a + * @devnote For backwards compatibility with <xref linkend="Debug +debug.write"/>, if control is not a
   * string or control has no formatting directives but there are
   * multiple arguments, all the arguments are emitted separated by
   * spaces.
@@ -447,7 +447,7 @@

 /**
   * Formatted output.
- * Formats its arguments using <xref linkend="Debug.prototype.formatToString"/>. + * Formats its arguments using <xref linkend="Debug +debug.formatToString"/>.
   *
   * @param string control: A control string where % indicates a
   * subsequent argument is to be substituted


_______________________________________________
Laszlo-checkins mailing list
Laszlo-checkins@openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to