[Jspro-cvs] jsPro/debug debug.css,1.3,1.4 debug.html,1.4,1.5 debug.js,1.6,1.7
Brought to you by:
wigleys
From: Stuart W. <wi...@us...> - 2005-01-19 16:33:40
|
Update of /cvsroot/jspro/jsPro/debug In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13676/debug Modified Files: debug.css debug.html debug.js Log Message: - Updated copyright message. - Added contributions from Dieter Raber - Started reformatting code for new style guidelines Index: debug.js =================================================================== RCS file: /cvsroot/jspro/jsPro/debug/debug.js,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** debug.js 22 Sep 2003 05:07:41 -0000 1.6 --- debug.js 19 Jan 2005 16:33:27 -0000 1.7 *************** *** 1,25 **** /** ! * +-------------------------------------------------------------------------+ ! * | jsPro - Debug | ! * +-------------------------------------------------------------------------+ ! * | Copyright (C) 2001-2003 Stuart Wigley | ! * +-------------------------------------------------------------------------+ ! * | This library is free software; you can redistribute it and/or modify it | ! * | under the terms of the GNU Lesser General Public License as published by| ! * | the Free Software Foundation; either version 2.1 of the License, or (at | ! * | your option) any later version. | ! * | | ! * | This library is distributed in the hope that it will be useful, but | ! * | WITHOUT ANY WARRANTY; without even the implied warranty of | ! * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | ! * | General Public License for more details. | ! * | | ! * | You should have received a copy of the GNU Lesser General Public License| ! * | along with this library; if not, write to the Free Software Foundation, | ! * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ! * +-------------------------------------------------------------------------+ ! * | Authors: Stuart Wigley <stu...@ya...> | ! * | Randolph Fielding <gat...@ci...> | ! * +-------------------------------------------------------------------------+ * $Id$ */ --- 1,25 ---- /** ! * +---------------------------------------------------------------------------+ ! * | jsPro - Debug | ! * +---------------------------------------------------------------------------+ ! * | Copyright (C) 2001-2005 Stuart Wigley | ! * +---------------------------------------------------------------------------+ ! * | This library is free software; you can redistribute it and/or modify it | ! * | under the terms of the GNU Lesser General Public License as published by | ! * | the Free Software Foundation; either version 2.1 of the License, or (at | ! * | your option) any later version. | ! * | | ! * | This library is distributed in the hope that it will be useful, but | ! * | WITHOUT ANY WARRANTY; without even the implied warranty of | ! * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | ! * | General Public License for more details. | ! * | | ! * | You should have received a copy of the GNU Lesser General Public License | ! * | along with this library; if not, write to the Free Software Foundation, | ! * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ! * +---------------------------------------------------------------------------+ ! * | Authors: Stuart Wigley <stu...@ya...> | ! * | Randolph Fielding <gat...@ci...> | ! * +---------------------------------------------------------------------------+ * $Id$ */ *************** *** 35,39 **** */ function Debug() { - this.debugWindow = window.open('../debug/debug.html', 'debug', 'width=400,height=600,resizable=yes,scrollbars=yes'); } --- 35,38 ---- *************** *** 72,84 **** oMessageContainer.removeChild(oMessageContainer.firstChild); } ! } ! catch (vError) { ! if (vError instanceof Error) { vError.handleError(); } ! } ! finally { ! return vError ? null : true; } --- 71,79 ---- oMessageContainer.removeChild(oMessageContainer.firstChild); } ! } catch (vError) { if (vError instanceof Error) { vError.handleError(); } ! } finally { return vError ? null : true; } *************** *** 181,193 **** oBodyCell.appendChild(oDocument.createTextNode(sBody)); oDebugWindow.focus(); ! } ! catch (vError) { ! if (vError instanceof Error) { vError.handleError(); } ! } ! finally { ! return vError ? null : true; } --- 176,184 ---- oBodyCell.appendChild(oDocument.createTextNode(sBody)); oDebugWindow.focus(); ! } catch (vError) { if (vError instanceof Error) { vError.handleError(); } ! } finally { return vError ? null : true; } Index: debug.html =================================================================== RCS file: /cvsroot/jspro/jsPro/debug/debug.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** debug.html 14 Sep 2003 08:27:27 -0000 1.4 --- debug.html 19 Jan 2005 16:33:27 -0000 1.5 *************** *** 1,26 **** <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- ! * +-------------------------------------------------------------------------+ ! * | jsPro - Debug Window | ! * +-------------------------------------------------------------------------+ ! * | Copyright (C) 2001-2003 Stuart Wigley | ! * +-------------------------------------------------------------------------+ ! * | This library is free software; you can redistribute it and/or modify it | ! * | under the terms of the GNU Lesser General Public License as published by| ! * | the Free Software Foundation; either version 2.1 of the License, or (at | ! * | your option) any later version. | ! * | | ! * | This library is distributed in the hope that it will be useful, but | ! * | WITHOUT ANY WARRANTY; without even the implied warranty of | ! * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | ! * | General Public License for more details. | ! * | | ! * | You should have received a copy of the GNU Lesser General Public License| ! * | along with this library; if not, write to the Free Software Foundation, | ! * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ! * +-------------------------------------------------------------------------+ ! * | Authors: Stuart Wigley <stu...@ya...> | ! * +-------------------------------------------------------------------------+ * $Id$ --> --- 1,27 ---- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> + <!-- ! * +===========================================================================+ ! * | jsPro - Debug Window | ! * +===========================================================================+ ! * | Copyright (C) 2001-2005 Stuart Wigley | ! * +===========================================================================+ ! * | This library is free software; you can redistribute it and/or modify it | ! * | under the terms of the GNU Lesser General Public License as published by | ! * | the Free Software Foundation; either version 2.1 of the License, or (at | ! * | your option) any later version. | ! * | | ! * | This library is distributed in the hope that it will be useful, but | ! * | WITHOUT ANY WARRANTY; without even the implied warranty of | ! * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | ! * | General Public License for more details. | ! * | | ! * | You should have received a copy of the GNU Lesser General Public License | ! * | along with this library; if not, write to the Free Software Foundation, | ! * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ! * +===========================================================================+ ! * | Authors: Stuart Wigley <stu...@ya...> | ! * +===========================================================================+ * $Id$ --> Index: debug.css =================================================================== RCS file: /cvsroot/jspro/jsPro/debug/debug.css,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** debug.css 14 Sep 2003 08:55:07 -0000 1.3 --- debug.css 19 Jan 2005 16:33:27 -0000 1.4 *************** *** 1,25 **** /** ! * +-------------------------------------------------------------------------+ ! * | jsPro - Debug Window Stylesheet | ! * +-------------------------------------------------------------------------+ ! * | Copyright (C) 2001-2003 Stuart Wigley | ! * +-------------------------------------------------------------------------+ ! * | This library is free software; you can redistribute it and/or modify it | ! * | under the terms of the GNU Lesser General Public License as published by| ! * | the Free Software Foundation; either version 2.1 of the License, or (at | ! * | your option) any later version. | ! * | | ! * | This library is distributed in the hope that it will be useful, but | ! * | WITHOUT ANY WARRANTY; without even the implied warranty of | ! * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | ! * | General Public License for more details. | ! * | | ! * | You should have received a copy of the GNU Lesser General Public License| ! * | along with this library; if not, write to the Free Software Foundation, | ! * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ! * +-------------------------------------------------------------------------+ ! * | Authors: Stuart Wigley <stu...@ya...> | ! * | Randolph Fielding <gat...@ci...> | ! * +-------------------------------------------------------------------------+ * $Id$ */ --- 1,25 ---- /** ! * +---------------------------------------------------------------------------+ ! * | jsPro - Debug Window Stylesheet | ! * +---------------------------------------------------------------------------+ ! * | Copyright (C) 2001-2005 Stuart Wigley | ! * +---------------------------------------------------------------------------+ ! * | This library is free software; you can redistribute it and/or modify it | ! * | under the terms of the GNU Lesser General Public License as published by | ! * | the Free Software Foundation; either version 2.1 of the License, or (at | ! * | your option) any later version. | ! * | | ! * | This library is distributed in the hope that it will be useful, but | ! * | WITHOUT ANY WARRANTY; without even the implied warranty of | ! * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | ! * | General Public License for more details. | ! * | | ! * | You should have received a copy of the GNU Lesser General Public License | ! * | along with this library; if not, write to the Free Software Foundation, | ! * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ! * +---------------------------------------------------------------------------+ ! * | Authors: Stuart Wigley <stu...@ya...> | ! * | Randolph Fielding <gat...@ci...> | ! * +---------------------------------------------------------------------------+ * $Id$ */ |