Splitting debug pref pane into 3 panes to save room (40888). Debug gets general stuff, debug1 gets events stuff, debug2 gets networking stuff. Explicitly picked generic names for these files in case usage changes later. r=slamm
git-svn-id: svn://10.0.0.236/trunk@228471 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
03af8d6ec4
commit
5f4cdca02a
@ -34,9 +34,7 @@
|
||||
<script language="JavaScript">
|
||||
<![CDATA[
|
||||
_elementIDs = ["nglayoutDebugWindow",
|
||||
"debugXULBoxes", "nglayoutDebugPaintFlashing", "nglayoutDebugPaintDumping",
|
||||
"nglayoutDebugInvalidateDumping", "nglayoutDebugEventDumping", "nglayoutDebugMotionEventDumping",
|
||||
"nglayoutDebugCrossingEventDumping", "nglayoutDebugDisableXULCache", "browserEnableCache",
|
||||
"debugXULBoxes", "nglayoutDebugDisableXULCache", "browserEnableCache",
|
||||
"browserEnableDiskCache", "nglayoutDebugEnableXPCOMRefcntLog", "showAboutAsStupidModalWindow",
|
||||
"browserEnableTBDnD"];
|
||||
]]>
|
||||
@ -46,61 +44,7 @@
|
||||
|
||||
<!-- nothing on this page has accesskeys because this is a temporary debug
|
||||
panel and you can damn well click the widgets! -->
|
||||
|
||||
<box>
|
||||
<!-- Event Debugging -->
|
||||
<titledbox orient="vertical" autostretch="never" flex="1">
|
||||
<title><text value="&debugEventDebugging.label;"/></title>
|
||||
|
||||
<checkbox id="nglayoutDebugPaintFlashing" value="&debugPaintFlashing.label;"
|
||||
pref="true" preftype="bool" prefstring="nglayout.debug.paint_flashing"
|
||||
prefattribute="checked"/>
|
||||
<checkbox id="nglayoutDebugPaintDumping" value="&debugPaintDumping.label;"
|
||||
pref="true" preftype="bool" prefstring="nglayout.debug.paint_dumping"
|
||||
prefattribute="checked"/>
|
||||
<checkbox id="nglayoutDebugInvalidateDumping" value="&debugInvalidateDumping.label;"
|
||||
pref="true" preftype="bool" prefstring="nglayout.debug.invalidate_dumping"
|
||||
prefattribute="checked"/>
|
||||
<checkbox id="nglayoutDebugEventDumping" value="&debugEventDumping.label;"
|
||||
pref="true" preftype="bool" prefstring="nglayout.debug.invalidate_dumping"
|
||||
prefattribute="checked"/>
|
||||
<checkbox id="nglayoutDebugMotionEventDumping" value="&debugMotionEventDumping.label;"
|
||||
pref="true" preftype="bool" prefstring="nglayout.debug.motion_event_dumping"
|
||||
prefattribute="checked"/>
|
||||
<checkbox id="nglayoutDebugCrossingEventDumping" value="&debugCrossingEventDumping.label;"
|
||||
pref="true" preftype="bool" prefstring="nglayout.debug.motion_event_dumping"
|
||||
prefattribute="checked"/>
|
||||
</titledbox>
|
||||
<titledbox orient="vertical" autostretch="never" flex="1" valign="top">
|
||||
<title><text value="&widgetRendering.label;"/></title>
|
||||
<checkbox id="nglayoutDebugWindow" value="&debugWindow.label;"
|
||||
pref="true" preftype="bool" prefstring="nglayout.widget.debugWindow"
|
||||
prefattribute="checked"/>
|
||||
<checkbox id="debugXULBoxes" value="&debugXULBox.label;"
|
||||
pref="true" preftype="bool" prefstring="xul.debug.box"
|
||||
prefattribute="checked"/>
|
||||
</titledbox>
|
||||
</box>
|
||||
|
||||
<box>
|
||||
<titledbox orient="vertical" autostretch="never" flex="1">
|
||||
<title><text value="&debugNetworking.label;"/></title>
|
||||
<checkbox id="browserEnableKeepAlive" value="&debugEnableKeepAlive.label;"
|
||||
pref="true" preftype="bool" prefstring="network.http.keep-alive"
|
||||
prefattribute="checked"/>
|
||||
<checkbox id="browserEnablePipelining" value="&debugEnablePipelining.label;"
|
||||
pref="true" preftype="bool" prefstring="network.http.pipelining"
|
||||
prefattribute="checked"/>
|
||||
<text class="label" value="&httpVersion.label;" for="httpVersionString"/>
|
||||
<textfield id="httpVersionString" wsm_persist="true" maxlength="3" flex="0"
|
||||
pref="true" preftype="string" prefstring="network.http.version"
|
||||
prefattribute="value"/>
|
||||
<text class="label" value="&acceptEncoding.label;" for="acceptEncodingString"/>
|
||||
<textfield id="acceptEncodingString" flex="1" wsm_persist="true"
|
||||
pref="true" preftype="string" prefstring="network.http.accept-encoding"
|
||||
prefattribute="value"/>
|
||||
</titledbox>
|
||||
<titledbox orient="vertical" autostretch="never" flex="1">
|
||||
<titledbox orient="vertical">
|
||||
<title><text value="&debugMiscellaneous.label;"/></title>
|
||||
|
||||
<checkbox id="nglayoutDebugDisableXULCache" value="&debugDisableXULCache.label;"
|
||||
@ -122,7 +66,20 @@
|
||||
pref="true" preftype="bool" prefstring="browser.show_about_as_stupid_modal_window"
|
||||
prefattribute="checked"/>
|
||||
</titledbox>
|
||||
</box>
|
||||
|
||||
|
||||
<titledbox orient="vertical">
|
||||
<title><text value="&widgetRendering.label;"/></title>
|
||||
<checkbox id="nglayoutDebugWindow" value="&debugWindow.label;"
|
||||
pref="true" preftype="bool" prefstring="nglayout.widget.debugWindow"
|
||||
prefattribute="checked"/>
|
||||
<checkbox id="debugXULBoxes" value="&debugXULBox.label;"
|
||||
pref="true" preftype="bool" prefstring="xul.debug.box"
|
||||
prefattribute="checked"/>
|
||||
</titledbox>
|
||||
|
||||
|
||||
|
||||
|
||||
</window>
|
||||
|
||||
|
||||
72
mozilla/suite/debugQA/content/pref-debug1.xul
Normal file
72
mozilla/suite/debugQA/content/pref-debug1.xul
Normal file
@ -0,0 +1,72 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
The contents of this file are subject to the Netscape Public
|
||||
License Version 1.1 (the "License"); you may not use this file
|
||||
except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS
|
||||
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
implied. See the License for the specific language governing
|
||||
rights and limitations under the License.
|
||||
|
||||
The Original Code is Mozilla Communicator client code, released
|
||||
March 31, 1998.
|
||||
|
||||
The Initial Developer of the Original Code is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
-->
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-debug1.dtd" >
|
||||
|
||||
<window xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel('chrome://communicator/content/pref/pref-debug1.xul');">
|
||||
|
||||
<script language="JavaScript">
|
||||
<![CDATA[
|
||||
_elementIDs = ["nglayoutDebugPaintFlashing", "nglayoutDebugPaintDumping",
|
||||
"nglayoutDebugInvalidateDumping", "nglayoutDebugEventDumping",
|
||||
"nglayoutDebugMotionEventDumping", "nglayoutDebugCrossingEventDumping", ];
|
||||
]]>
|
||||
</script>
|
||||
|
||||
<box class="box-smallheader" title="&lHeader;"/>
|
||||
|
||||
<!-- nothing on this page has accesskeys because this is a temporary debug
|
||||
panel and you can damn well click the widgets! -->
|
||||
|
||||
<!-- Event Debugging -->
|
||||
<titledbox orient="vertical">
|
||||
<title><text value="&debugEventDebugging.label;"/></title>
|
||||
|
||||
<checkbox id="nglayoutDebugPaintFlashing" value="&debugPaintFlashing.label;"
|
||||
pref="true" preftype="bool" prefstring="nglayout.debug.paint_flashing"
|
||||
prefattribute="checked"/>
|
||||
<checkbox id="nglayoutDebugPaintDumping" value="&debugPaintDumping.label;"
|
||||
pref="true" preftype="bool" prefstring="nglayout.debug.paint_dumping"
|
||||
prefattribute="checked"/>
|
||||
<checkbox id="nglayoutDebugInvalidateDumping" value="&debugInvalidateDumping.label;"
|
||||
pref="true" preftype="bool" prefstring="nglayout.debug.invalidate_dumping"
|
||||
prefattribute="checked"/>
|
||||
<checkbox id="nglayoutDebugEventDumping" value="&debugEventDumping.label;"
|
||||
pref="true" preftype="bool" prefstring="nglayout.debug.invalidate_dumping"
|
||||
prefattribute="checked"/>
|
||||
<checkbox id="nglayoutDebugMotionEventDumping" value="&debugMotionEventDumping.label;"
|
||||
pref="true" preftype="bool" prefstring="nglayout.debug.motion_event_dumping"
|
||||
prefattribute="checked"/>
|
||||
<checkbox id="nglayoutDebugCrossingEventDumping" value="&debugCrossingEventDumping.label;"
|
||||
pref="true" preftype="bool" prefstring="nglayout.debug.motion_event_dumping"
|
||||
prefattribute="checked"/>
|
||||
</titledbox>
|
||||
|
||||
</window>
|
||||
|
||||
65
mozilla/suite/debugQA/content/pref-debug2.xul
Normal file
65
mozilla/suite/debugQA/content/pref-debug2.xul
Normal file
@ -0,0 +1,65 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
The contents of this file are subject to the Netscape Public
|
||||
License Version 1.1 (the "License"); you may not use this file
|
||||
except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS
|
||||
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
implied. See the License for the specific language governing
|
||||
rights and limitations under the License.
|
||||
|
||||
The Original Code is Mozilla Communicator client code, released
|
||||
March 31, 1998.
|
||||
|
||||
The Initial Developer of the Original Code is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
-->
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-debug2.dtd" >
|
||||
|
||||
<window xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
class="color-dialog"
|
||||
orient="vertical"
|
||||
onload="parent.initPanel('chrome://communicator/content/pref/pref-debug2.xul');">
|
||||
|
||||
<script language="JavaScript">
|
||||
<![CDATA[
|
||||
_elementIDs = ["browserEnableKeepAlive", "browserEnablePipelining",
|
||||
"httpVersionString", "acceptEncodingString"];
|
||||
]]>
|
||||
</script>
|
||||
|
||||
<box class="box-smallheader" title="&lHeader;"/>
|
||||
|
||||
<!-- nothing on this page has accesskeys because this is a temporary debug
|
||||
panel and you can damn well click the widgets! -->
|
||||
|
||||
<titledbox orient="vertical">
|
||||
<title><text value="&debugNetworking.label;"/></title>
|
||||
<checkbox id="browserEnableKeepAlive" value="&debugEnableKeepAlive.label;"
|
||||
pref="true" preftype="bool" prefstring="network.http.keep-alive"
|
||||
prefattribute="checked"/>
|
||||
<checkbox id="browserEnablePipelining" value="&debugEnablePipelining.label;"
|
||||
pref="true" preftype="bool" prefstring="network.http.pipelining"
|
||||
prefattribute="checked"/>
|
||||
<text class="label" value="&httpVersion.label;" for="httpVersionString"/>
|
||||
<textfield id="httpVersionString" wsm_persist="true" maxlength="3" flex="0"
|
||||
pref="true" preftype="string" prefstring="network.http.version"
|
||||
prefattribute="value"/>
|
||||
<text class="label" value="&acceptEncoding.label;" for="acceptEncodingString"/>
|
||||
<textfield id="acceptEncodingString" flex="1" wsm_persist="true"
|
||||
pref="true" preftype="string" prefstring="network.http.accept-encoding"
|
||||
prefattribute="value"/>
|
||||
</titledbox>
|
||||
|
||||
</window>
|
||||
|
||||
@ -3,31 +3,8 @@
|
||||
<!--LOCALIZATION NOTE : FILE DONT_TRANSLATE This file should not be translated -->
|
||||
<!ENTITY window.title "Debug">
|
||||
|
||||
<!ENTITY lHeader "Debug">
|
||||
<!ENTITY rHeader "Layout and Rendering debugging preferences">
|
||||
|
||||
<!-- Debug: Turn on gfx-rendered widgets -->
|
||||
<!ENTITY widgetRendering.label "Rendering">
|
||||
<!ENTITY gfxScrollbars.label "gfx scrollbars">
|
||||
<!ENTITY debugWindow.label "debug window">
|
||||
<!ENTITY debugXULBox.label "debug XUL boxes">
|
||||
<!ENTITY debugEnableTBDnD.label "Personal Toolbar Drag & Drop (buggy)">
|
||||
|
||||
<!-- Event Debugging -->
|
||||
<!ENTITY debugEventDebugging.label "Event Debugging">
|
||||
<!ENTITY debugPaintFlashing.label "Paint Flashing (Caps-Lck toggles)">
|
||||
<!ENTITY debugPaintDumping.label "Paint Dumping">
|
||||
<!ENTITY debugInvalidateDumping.label "Invalidate Dumping">
|
||||
<!ENTITY debugEventDumping.label "Event Dumping">
|
||||
<!ENTITY debugMotionEventDumping.label "Motion Event Dumping">
|
||||
<!ENTITY debugCrossingEventDumping.label "Crossing Event Dumping">
|
||||
|
||||
<!-- Network-->
|
||||
<!ENTITY debugNetworking.label "Networking">
|
||||
<!ENTITY debugEnableKeepAlive.label "Enable Keep Alive">
|
||||
<!ENTITY debugEnablePipelining.label "Enable HTTP Pipelining">
|
||||
<!ENTITY acceptEncoding.label "Accept-Encoding">
|
||||
<!ENTITY httpVersion.label "HTTP Version">
|
||||
<!ENTITY lHeader "Debug General">
|
||||
<!ENTITY rHeader "General debugging preferences">
|
||||
|
||||
<!-- Miscelleneous -->
|
||||
<!ENTITY debugMiscellaneous.label "Miscellaneous">
|
||||
@ -36,3 +13,12 @@
|
||||
<!ENTITY debugEnableDiskCache.label "Enable Disk Cache">
|
||||
<!ENTITY debugEnableXPCOMRefcntLog.label "Enable XPCOM Refcount Log">
|
||||
<!ENTITY debugShowAboutAsStupidModalWindow.label "Show 'About' as modal dialog">
|
||||
|
||||
<!-- Debug: Turn on gfx-rendered widgets -->
|
||||
<!ENTITY widgetRendering.label "Rendering">
|
||||
<!ENTITY gfxScrollbars.label "gfx scrollbars">
|
||||
<!ENTITY debugWindow.label "debug window">
|
||||
<!ENTITY debugXULBox.label "debug XUL boxes">
|
||||
<!ENTITY debugEnableTBDnD.label "Personal Toolbar Drag & Drop (buggy)">
|
||||
|
||||
|
||||
|
||||
17
mozilla/suite/debugQA/locales/en-US/pref-debug1.dtd
Normal file
17
mozilla/suite/debugQA/locales/en-US/pref-debug1.dtd
Normal file
@ -0,0 +1,17 @@
|
||||
<!-- extracted from content/pref-debug.xul -->
|
||||
|
||||
<!--LOCALIZATION NOTE : FILE DONT_TRANSLATE This file should not be translated -->
|
||||
<!ENTITY window.title "Debug">
|
||||
|
||||
<!ENTITY lHeader "Debug Events">
|
||||
<!ENTITY rHeader "Event debugging preferences">
|
||||
|
||||
<!-- Event Debugging -->
|
||||
<!ENTITY debugEventDebugging.label "Event Debugging">
|
||||
<!ENTITY debugPaintFlashing.label "Paint Flashing (Caps-Lock toggles)">
|
||||
<!ENTITY debugPaintDumping.label "Paint Dumping">
|
||||
<!ENTITY debugInvalidateDumping.label "Invalidate Dumping">
|
||||
<!ENTITY debugEventDumping.label "Event Dumping">
|
||||
<!ENTITY debugMotionEventDumping.label "Motion Event Dumping">
|
||||
<!ENTITY debugCrossingEventDumping.label "Crossing Event Dumping">
|
||||
|
||||
15
mozilla/suite/debugQA/locales/en-US/pref-debug2.dtd
Normal file
15
mozilla/suite/debugQA/locales/en-US/pref-debug2.dtd
Normal file
@ -0,0 +1,15 @@
|
||||
<!-- extracted from content/pref-debug.xul -->
|
||||
|
||||
<!--LOCALIZATION NOTE : FILE DONT_TRANSLATE This file should not be translated -->
|
||||
<!ENTITY window.title "Debug">
|
||||
|
||||
<!ENTITY lHeader "Debug Networking">
|
||||
<!ENTITY rHeader "Network debugging preferences">
|
||||
|
||||
<!-- Network-->
|
||||
<!ENTITY debugNetworking.label "Networking">
|
||||
<!ENTITY debugEnableKeepAlive.label "Enable Keep Alive">
|
||||
<!ENTITY debugEnablePipelining.label "Enable HTTP Pipelining">
|
||||
<!ENTITY acceptEncoding.label "Accept-Encoding">
|
||||
<!ENTITY httpVersion.label "HTTP Version">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user