Convert CR-LF and CR linebreaks to LF.
This commit is contained in:
Родитель
14040d486b
Коммит
13ad340e6a
|
@ -46,11 +46,11 @@
|
|||
<label value="&address.label;"/>
|
||||
<hbox align="start">
|
||||
<textbox id="url" flex="1" oninput="gPermissionManager.onHostInput(event.target);"/>
|
||||
</hbox>
|
||||
<hbox pack="end">
|
||||
<button id="btnBlock" disabled="true"
|
||||
</hbox>
|
||||
<hbox pack="end">
|
||||
<button id="btnBlock" disabled="true"
|
||||
label="&block.label;" oncommand="gPermissionManager.addPermission(nsIPermissionManager.DENY_ACTION);"/>
|
||||
<button id="btnSession" disabled="true"
|
||||
<button id="btnSession" disabled="true"
|
||||
label="&session.label;" oncommand="gPermissionManager.addPermission(nsICookiePermission.ACCESS_SESSION);"/>
|
||||
<button id="btnAllow" disabled="true"
|
||||
label="&allow.label;" oncommand="gPermissionManager.addPermission(nsIPermissionManager.ALLOW_ACTION);"/>
|
||||
|
|
|
@ -1,45 +0,0 @@
|
|||
function upgradeCleanup()
|
||||
{
|
||||
// Obsolete files from previous Netscape installation which
|
||||
// need to be cleaned up.
|
||||
deleteThisFile("Components", "l10n.ini");
|
||||
}
|
||||
|
||||
// main
|
||||
var srDest;
|
||||
var err;
|
||||
var communicatorFolder;
|
||||
|
||||
srDest = $SpaceRequired$;
|
||||
err = initInstall("Quality Feedback Utility", "Quality Feedback Utility", "$Version$");
|
||||
logComment("initInstall: " + err);
|
||||
|
||||
communicatorFolder = getFolder("Communicator");
|
||||
logComment("communicatorFolder: " + communicatorFolder);
|
||||
|
||||
if(verifyDiskSpace(communicatorFolder, srDest))
|
||||
{
|
||||
setPackageFolder(communicatorFolder);
|
||||
|
||||
upgradeCleanup();
|
||||
err = addDirectory("",
|
||||
"$Version$",
|
||||
"bin", // dir name in jar to extract
|
||||
communicatorFolder, // Where to put this file (Returned from getFolder)
|
||||
"", // subdir name to create relative to communicatorFolder
|
||||
true ); // Force Flag
|
||||
logComment("addDirectory() returned: " + err);
|
||||
|
||||
// check return value
|
||||
if(!err)
|
||||
{
|
||||
err = performInstall();
|
||||
logComment("performInstall() returned: " + err);
|
||||
}
|
||||
else
|
||||
cancelInstall(err);
|
||||
}
|
||||
else
|
||||
cancelInstall(INSUFFICIENT_DISK_SPACE);
|
||||
|
||||
// end main
|
|
@ -429,173 +429,173 @@ toolbar[iconsize="small"] .toolbarbutton-1 {
|
|||
list-style-image: url("chrome://browser/skin/Toolbar-small.png");
|
||||
padding: 1px 3px 1px 3px !important;
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #back-button {
|
||||
-moz-image-region: rect(0px 24px 24px 0px);
|
||||
}
|
||||
|
||||
/* back button */
|
||||
|
||||
toolbar[iconsize="small"] #back-button[buttondown="true"] {
|
||||
-moz-image-region: rect(24px 24px 48px 0px);
|
||||
}
|
||||
toolbar[iconsize="small"] #back-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 24px 72px 0px) !important;
|
||||
}
|
||||
|
||||
/* forward button */
|
||||
|
||||
toolbar[iconsize="small"] #forward-button {
|
||||
-moz-image-region: rect(0px 48px 24px 24px);
|
||||
padding-right: 2px;
|
||||
}
|
||||
toolbar[iconsize="small"] #forward-button[buttondown="true"] {
|
||||
-moz-image-region: rect(24px 48px 48px 24px);
|
||||
}
|
||||
toolbar[iconsize="small"] #forward-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 48px 72px 24px) !important;
|
||||
}
|
||||
|
||||
/* stop button */
|
||||
|
||||
toolbar[iconsize="small"] #stop-button {
|
||||
-moz-image-region: rect(0px 72px 24px 48px);
|
||||
}
|
||||
toolbar[iconsize="small"] #stop-button:active {
|
||||
-moz-image-region: rect(24px 72px 48px 48px);
|
||||
}
|
||||
toolbar[iconsize="small"] #stop-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 72px 72px 48px) !important;
|
||||
}
|
||||
|
||||
/* reload button */
|
||||
|
||||
toolbar[iconsize="small"] #reload-button {
|
||||
-moz-image-region: rect(0px 96px 24px 72px);
|
||||
}
|
||||
toolbar[iconsize="small"] #reload-button:active {
|
||||
-moz-image-region: rect(24px 96px 48px 72px);
|
||||
}
|
||||
toolbar[iconsize="small"] #reload-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 96px 72px 72px);
|
||||
}
|
||||
|
||||
/* home button */
|
||||
|
||||
toolbar[iconsize="small"] #home-button {
|
||||
-moz-image-region: rect(0px 120px 24px 96px);
|
||||
}
|
||||
toolbar[iconsize="small"] #home-button:active {
|
||||
-moz-image-region: rect(24px 120px 48px 96px);
|
||||
}
|
||||
|
||||
/* download manager button */
|
||||
|
||||
toolbar[iconsize="small"] #downloads-button {
|
||||
-moz-image-region: rect(0px 144px 24px 120px);
|
||||
}
|
||||
toolbar[iconsize="small"] #downloads-button:active {
|
||||
-moz-image-region: rect(24px 144px 48px 120px);
|
||||
}
|
||||
toolbar[iconsize="small"] #downloads-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 144px 72px 120px) !important;
|
||||
}
|
||||
|
||||
/* history sidebar button */
|
||||
|
||||
toolbar[iconsize="small"] #history-button {
|
||||
-moz-image-region: rect(0px 168px 24px 144px);
|
||||
}
|
||||
toolbar[iconsize="small"] #history-button:active {
|
||||
-moz-image-region: rect(24px 168px 48px 144px);
|
||||
}
|
||||
toolbar[iconsize="small"] #history-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 168px 72px 144px) !important;
|
||||
}
|
||||
|
||||
/* bookmark sidebar button */
|
||||
|
||||
toolbar[iconsize="small"] #bookmarks-button {
|
||||
-moz-image-region: rect(0px 192px 24px 168px);
|
||||
}
|
||||
toolbar[iconsize="small"] #bookmarks-button:active {
|
||||
-moz-image-region: rect(24px 192px 48px 168px);
|
||||
}
|
||||
toolbar[iconsize="small"] #bookmarks-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 192px 72px 168px) !important;
|
||||
}
|
||||
|
||||
/* print button */
|
||||
|
||||
toolbar[iconsize="small"] #print-button {
|
||||
-moz-image-region: rect(0px 216px 24px 192px);
|
||||
}
|
||||
toolbar[iconsize="small"] #print-button:active {
|
||||
-moz-image-region: rect(24px 216px 48px 192px);
|
||||
}
|
||||
toolbar[iconsize="small"] #print-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 216px 72px 192px) !important;
|
||||
}
|
||||
|
||||
/* new tab button */
|
||||
|
||||
toolbar[iconsize="small"] #new-tab-button {
|
||||
-moz-image-region: rect(0px 240px 24px 216px);
|
||||
}
|
||||
toolbar[iconsize="small"] #new-tab-button:active {
|
||||
-moz-image-region: rect(24px 240px 48px 216px);
|
||||
}
|
||||
toolbar[iconsize="small"] #new-tab-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 240px 72px 216px) !important;
|
||||
}
|
||||
|
||||
/* new window button */
|
||||
|
||||
toolbar[iconsize="small"] #new-window-button {
|
||||
-moz-image-region: rect(0px 264px 24px 240px);
|
||||
}
|
||||
toolbar[iconsize="small"] #new-window-button:active {
|
||||
-moz-image-region: rect(24px 264px 48px 240px);
|
||||
}
|
||||
toolbar[iconsize="small"] #new-window-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 264px 72px 240px) !important;
|
||||
}
|
||||
|
||||
/* cut button */
|
||||
|
||||
toolbar[iconsize="small"] #cut-button {
|
||||
-moz-image-region: rect(0px 288px 24px 264px);
|
||||
}
|
||||
toolbar[iconsize="small"] #cut-button:active {
|
||||
-moz-image-region: rect(24px 288px 48px 264px);
|
||||
}
|
||||
toolbar[iconsize="small"] #cut-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 288px 72px 264px) !important;
|
||||
}
|
||||
|
||||
/* copy button */
|
||||
|
||||
toolbar[iconsize="small"] #copy-button {
|
||||
-moz-image-region: rect(0px 312px 24px 288px);
|
||||
}
|
||||
toolbar[iconsize="small"] #copy-button:active {
|
||||
-moz-image-region: rect(24px 312px 48px 288px);
|
||||
}
|
||||
toolbar[iconsize="small"] #copy-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 312px 72px 288px);
|
||||
}
|
||||
|
||||
/* paste button */
|
||||
|
||||
toolbar[iconsize="small"] #paste-button {
|
||||
-moz-image-region: rect(0px 336px 24px 312px);
|
||||
}
|
||||
toolbar[iconsize="small"] #paste-button:active {
|
||||
-moz-image-region: rect(24px 336px 48px 312px);
|
||||
}
|
||||
toolbar[iconsize="small"] #paste-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 336px 72px 312px);
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #back-button {
|
||||
-moz-image-region: rect(0px 24px 24px 0px);
|
||||
}
|
||||
|
||||
/* back button */
|
||||
|
||||
toolbar[iconsize="small"] #back-button[buttondown="true"] {
|
||||
-moz-image-region: rect(24px 24px 48px 0px);
|
||||
}
|
||||
toolbar[iconsize="small"] #back-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 24px 72px 0px) !important;
|
||||
}
|
||||
|
||||
/* forward button */
|
||||
|
||||
toolbar[iconsize="small"] #forward-button {
|
||||
-moz-image-region: rect(0px 48px 24px 24px);
|
||||
padding-right: 2px;
|
||||
}
|
||||
toolbar[iconsize="small"] #forward-button[buttondown="true"] {
|
||||
-moz-image-region: rect(24px 48px 48px 24px);
|
||||
}
|
||||
toolbar[iconsize="small"] #forward-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 48px 72px 24px) !important;
|
||||
}
|
||||
|
||||
/* stop button */
|
||||
|
||||
toolbar[iconsize="small"] #stop-button {
|
||||
-moz-image-region: rect(0px 72px 24px 48px);
|
||||
}
|
||||
toolbar[iconsize="small"] #stop-button:active {
|
||||
-moz-image-region: rect(24px 72px 48px 48px);
|
||||
}
|
||||
toolbar[iconsize="small"] #stop-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 72px 72px 48px) !important;
|
||||
}
|
||||
|
||||
/* reload button */
|
||||
|
||||
toolbar[iconsize="small"] #reload-button {
|
||||
-moz-image-region: rect(0px 96px 24px 72px);
|
||||
}
|
||||
toolbar[iconsize="small"] #reload-button:active {
|
||||
-moz-image-region: rect(24px 96px 48px 72px);
|
||||
}
|
||||
toolbar[iconsize="small"] #reload-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 96px 72px 72px);
|
||||
}
|
||||
|
||||
/* home button */
|
||||
|
||||
toolbar[iconsize="small"] #home-button {
|
||||
-moz-image-region: rect(0px 120px 24px 96px);
|
||||
}
|
||||
toolbar[iconsize="small"] #home-button:active {
|
||||
-moz-image-region: rect(24px 120px 48px 96px);
|
||||
}
|
||||
|
||||
/* download manager button */
|
||||
|
||||
toolbar[iconsize="small"] #downloads-button {
|
||||
-moz-image-region: rect(0px 144px 24px 120px);
|
||||
}
|
||||
toolbar[iconsize="small"] #downloads-button:active {
|
||||
-moz-image-region: rect(24px 144px 48px 120px);
|
||||
}
|
||||
toolbar[iconsize="small"] #downloads-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 144px 72px 120px) !important;
|
||||
}
|
||||
|
||||
/* history sidebar button */
|
||||
|
||||
toolbar[iconsize="small"] #history-button {
|
||||
-moz-image-region: rect(0px 168px 24px 144px);
|
||||
}
|
||||
toolbar[iconsize="small"] #history-button:active {
|
||||
-moz-image-region: rect(24px 168px 48px 144px);
|
||||
}
|
||||
toolbar[iconsize="small"] #history-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 168px 72px 144px) !important;
|
||||
}
|
||||
|
||||
/* bookmark sidebar button */
|
||||
|
||||
toolbar[iconsize="small"] #bookmarks-button {
|
||||
-moz-image-region: rect(0px 192px 24px 168px);
|
||||
}
|
||||
toolbar[iconsize="small"] #bookmarks-button:active {
|
||||
-moz-image-region: rect(24px 192px 48px 168px);
|
||||
}
|
||||
toolbar[iconsize="small"] #bookmarks-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 192px 72px 168px) !important;
|
||||
}
|
||||
|
||||
/* print button */
|
||||
|
||||
toolbar[iconsize="small"] #print-button {
|
||||
-moz-image-region: rect(0px 216px 24px 192px);
|
||||
}
|
||||
toolbar[iconsize="small"] #print-button:active {
|
||||
-moz-image-region: rect(24px 216px 48px 192px);
|
||||
}
|
||||
toolbar[iconsize="small"] #print-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 216px 72px 192px) !important;
|
||||
}
|
||||
|
||||
/* new tab button */
|
||||
|
||||
toolbar[iconsize="small"] #new-tab-button {
|
||||
-moz-image-region: rect(0px 240px 24px 216px);
|
||||
}
|
||||
toolbar[iconsize="small"] #new-tab-button:active {
|
||||
-moz-image-region: rect(24px 240px 48px 216px);
|
||||
}
|
||||
toolbar[iconsize="small"] #new-tab-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 240px 72px 216px) !important;
|
||||
}
|
||||
|
||||
/* new window button */
|
||||
|
||||
toolbar[iconsize="small"] #new-window-button {
|
||||
-moz-image-region: rect(0px 264px 24px 240px);
|
||||
}
|
||||
toolbar[iconsize="small"] #new-window-button:active {
|
||||
-moz-image-region: rect(24px 264px 48px 240px);
|
||||
}
|
||||
toolbar[iconsize="small"] #new-window-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 264px 72px 240px) !important;
|
||||
}
|
||||
|
||||
/* cut button */
|
||||
|
||||
toolbar[iconsize="small"] #cut-button {
|
||||
-moz-image-region: rect(0px 288px 24px 264px);
|
||||
}
|
||||
toolbar[iconsize="small"] #cut-button:active {
|
||||
-moz-image-region: rect(24px 288px 48px 264px);
|
||||
}
|
||||
toolbar[iconsize="small"] #cut-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 288px 72px 264px) !important;
|
||||
}
|
||||
|
||||
/* copy button */
|
||||
|
||||
toolbar[iconsize="small"] #copy-button {
|
||||
-moz-image-region: rect(0px 312px 24px 288px);
|
||||
}
|
||||
toolbar[iconsize="small"] #copy-button:active {
|
||||
-moz-image-region: rect(24px 312px 48px 288px);
|
||||
}
|
||||
toolbar[iconsize="small"] #copy-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 312px 72px 288px);
|
||||
}
|
||||
|
||||
/* paste button */
|
||||
|
||||
toolbar[iconsize="small"] #paste-button {
|
||||
-moz-image-region: rect(0px 336px 24px 312px);
|
||||
}
|
||||
toolbar[iconsize="small"] #paste-button:active {
|
||||
-moz-image-region: rect(24px 336px 48px 312px);
|
||||
}
|
||||
toolbar[iconsize="small"] #paste-button[disabled="true"] {
|
||||
-moz-image-region: rect(48px 336px 72px 312px);
|
||||
}
|
||||
|
||||
/* ::::: fullscreen window controls ::::: */
|
||||
|
||||
|
@ -809,7 +809,7 @@ sidebarheader {
|
|||
|
||||
|
||||
#navigator-throbber[busy="true"] {
|
||||
list-style-image: url("chrome://global/skin/icons/loading_16.gif");
|
||||
list-style-image: url("chrome://global/skin/icons/loading_16.gif");
|
||||
}
|
||||
|
||||
toolbar[iconsize="small"] #navigator-throbber,
|
||||
|
@ -847,11 +847,14 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
|
|||
display: none !important;
|
||||
}
|
||||
|
||||
/* ::::: close button ::::: */
.tabs-closebutton {
|
||||
/* ::::: close button ::::: */
|
||||
|
||||
.tabs-closebutton {
|
||||
padding-right: 4px;
|
||||
list-style-image: url("chrome://global/skin/icons/closetab.png") !important;
|
||||
list-style-image: none;
|
||||
border: none;
}
|
||||
border: none;
|
||||
}
|
||||
|
||||
.tabs-closebutton:hover > .toolbarbutton-icon {
|
||||
background-image: none !important;
|
||||
|
|
|
@ -29,7 +29,17 @@
|
|||
</content>
|
||||
</binding>
|
||||
|
||||
<binding id="bm-toolbarbutton" display="xul:button"
extends="chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton">
<resources>
<stylesheet src="chrome://global/skin/toolbarbutton.css"/>
</resources>
<content>
<children includes="observes|template|menupopup|tooltip"/>
<xul:spacer class="bookmark-image-left" xbl:inherits="accesskey,crop,toolbarmode,buttonstyle"/>
|
||||
<xul:label class="toolbarbutton-text" crop="right" flex="1"
xbl:inherits="value=label,accesskey,crop,toolbarmode,buttonstyle"/>
|
||||
<xul:spacer class="bookmark-image-right" xbl:inherits="accesskey,crop,toolbarmode,buttonstyle"/>
</content>
</binding>
|
||||
<binding id="bm-toolbarbutton" display="xul:button"
|
||||
extends="chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton">
|
||||
<resources>
|
||||
<stylesheet src="chrome://global/skin/toolbarbutton.css"/>
|
||||
</resources>
|
||||
<content>
|
||||
<children includes="observes|template|menupopup|tooltip"/>
|
||||
<xul:spacer class="bookmark-image-left" xbl:inherits="accesskey,crop,toolbarmode,buttonstyle"/>
|
||||
<xul:label class="toolbarbutton-text" crop="right" flex="1"
|
||||
xbl:inherits="value=label,accesskey,crop,toolbarmode,buttonstyle"/>
|
||||
<xul:spacer class="bookmark-image-right" xbl:inherits="accesskey,crop,toolbarmode,buttonstyle"/>
|
||||
</content>
|
||||
</binding>
|
||||
</bindings>
|
||||
|
|
|
@ -1696,7 +1696,7 @@ jsj_JavaConstructorWrapper(JSContext *cx, JSObject *obj,
|
|||
|
||||
/* XXX, workaround for bug 200016, all classes in sun.plugin package should not
|
||||
be accessible in liveconnect.
|
||||
Ideally, this checking should be done in JPI side, but it's not going to happen
|
||||
Ideally, this checking should be done in JPI side, but it's not going to happen
|
||||
until Sun JRE 1.5.1 */
|
||||
if (strstr(class_descriptor->name, "sun.plugin.") == class_descriptor->name)
|
||||
return JS_FALSE;
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla 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/MPL/
|
||||
*
|
||||
* 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.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either of the GNU General Public License Version 2 or later (the "GPL"),
|
||||
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef nsPresState_h_
|
||||
#define nsPresState_h_
|
||||
|
||||
#include "nsStringFwd.h"
|
||||
#include "nsInterfaceHashtable.h"
|
||||
|
||||
class nsPresState
|
||||
{
|
||||
public:
|
||||
NS_HIDDEN_(nsresult) Init();
|
||||
|
||||
NS_HIDDEN_(nsresult) GetStatePropertyAsSupports(const nsAString& aName,
|
||||
nsISupports** aResult);
|
||||
|
||||
NS_HIDDEN_(nsresult) SetStatePropertyAsSupports(const nsAString& aName,
|
||||
nsISupports* aValue);
|
||||
|
||||
NS_HIDDEN_(nsresult) GetStateProperty(const nsAString& aProperty,
|
||||
nsAString& aResult);
|
||||
|
||||
NS_HIDDEN_(nsresult) SetStateProperty(const nsAString& aProperty,
|
||||
const nsAString& aValue);
|
||||
|
||||
NS_HIDDEN_(nsresult) RemoveStateProperty(const nsAString& aProperty);
|
||||
|
||||
// MEMBER VARIABLES
|
||||
protected:
|
||||
// A string table that holds property/value pairs.
|
||||
nsInterfaceHashtable<nsStringHashKey,nsISupports> mPropertyTable;
|
||||
};
|
||||
|
||||
NS_HIDDEN_(nsresult) NS_NewPresState(nsPresState **aState);
|
||||
|
||||
#endif
|
||||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla 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/MPL/
|
||||
*
|
||||
* 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.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either of the GNU General Public License Version 2 or later (the "GPL"),
|
||||
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifndef nsPresState_h_
|
||||
#define nsPresState_h_
|
||||
|
||||
#include "nsStringFwd.h"
|
||||
#include "nsInterfaceHashtable.h"
|
||||
|
||||
class nsPresState
|
||||
{
|
||||
public:
|
||||
NS_HIDDEN_(nsresult) Init();
|
||||
|
||||
NS_HIDDEN_(nsresult) GetStatePropertyAsSupports(const nsAString& aName,
|
||||
nsISupports** aResult);
|
||||
|
||||
NS_HIDDEN_(nsresult) SetStatePropertyAsSupports(const nsAString& aName,
|
||||
nsISupports* aValue);
|
||||
|
||||
NS_HIDDEN_(nsresult) GetStateProperty(const nsAString& aProperty,
|
||||
nsAString& aResult);
|
||||
|
||||
NS_HIDDEN_(nsresult) SetStateProperty(const nsAString& aProperty,
|
||||
const nsAString& aValue);
|
||||
|
||||
NS_HIDDEN_(nsresult) RemoveStateProperty(const nsAString& aProperty);
|
||||
|
||||
// MEMBER VARIABLES
|
||||
protected:
|
||||
// A string table that holds property/value pairs.
|
||||
nsInterfaceHashtable<nsStringHashKey,nsISupports> mPropertyTable;
|
||||
};
|
||||
|
||||
NS_HIDDEN_(nsresult) NS_NewPresState(nsPresState **aState);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -35,30 +35,30 @@
|
|||
-
|
||||
- ***** END LICENSE BLOCK ***** -->
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<title>Layout Regression tests</title>
|
||||
<style type="text/css">
|
||||
body {font-family:arial}
|
||||
.screen {background-color:silver; color:blue}
|
||||
pre.screen {display:table-cell}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Table Regression Tests</h1>
|
||||
<h6>Bernd Mielke</h6>
|
||||
<h2>About This Document</h2>
|
||||
<h2>About This Document</h2>
|
||||
<p>
|
||||
This document describes my guerilla approach to successfully running the table layout regression tests. It should encourage more people to run those tests.
|
||||
|
||||
<h2>Subject Overview</h2>
|
||||
This document describes my guerilla approach to successfully running the table layout regression tests. It should encourage more people to run those tests.
|
||||
|
||||
<h2>Subject Overview</h2>
|
||||
<p>
|
||||
The table element and its children are one of the major layout components that can create some structure on the screen. They are widely (ab)used by page authors. Every small change in the table code can generate a bunch of bugzilla entries and a lot of seemingly unrelated dupes. With the high frequency of checkins in to the source tree it is difficult and time consuming to track the regression down to a single checkin. The risk of becoming very infamous can be reduced by running the layout regression tests.
|
||||
|
||||
<h2>Prerequisites</h2>
|
||||
<h2>Prerequisites</h2>
|
||||
<p>
|
||||
In order to run these tests, you will need to have:
|
||||
<ol>
|
||||
|
@ -68,7 +68,7 @@ In order to run these tests, you will need to have:
|
|||
<li>patience and time.
|
||||
</ol>
|
||||
|
||||
<h2>Test Runs</h2>
|
||||
<h2>Test Runs</h2>
|
||||
|
||||
<ul>
|
||||
<li>Go to the <code>%MOZ_SRC%/layout/html/tests/block</code> directory.
|
||||
|
@ -225,8 +225,8 @@ regression test s:\mozilla\layout\html\tests\table\dom\verify\appendColGroup1.rg
|
|||
<p>
|
||||
The first regression test has failed and it is marked so.
|
||||
|
||||
|
||||
<h2>Adding new regression tests</h2>
|
||||
|
||||
<h2>Adding new regression tests</h2>
|
||||
<p>
|
||||
Once you have checked in the code:
|
||||
<ul>
|
||||
|
@ -237,8 +237,8 @@ Once you have checked in the code:
|
|||
<li>Update the <code>file_list<b>x</b>.txt</code> in order to include your file.
|
||||
</ul>
|
||||
<p>I would like to thank Chris Karnaze for his guidance and fantasai for his language support.
|
||||
<div style="text-align:right"><i><regression.html> <Last updated:
|
||||
2002-06-16 <a href="mailto:bernd.mielke@snafu.de">Bernd Mielke</a></i></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<div style="text-align:right"><i><regression.html> <Last updated:
|
||||
2002-06-16 <a href="mailto:bernd.mielke@snafu.de">Bernd Mielke</a></i></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,238 +1,238 @@
|
|||
# BidiMirroring-1.txt
|
||||
#
|
||||
# This file is an informative supplement to the UnicodeData file. It
|
||||
# lists characters that have the mirrored property
|
||||
# where there is another Unicode character that typically has a glyph
|
||||
# that is the mirror image of the original character's glyph.
|
||||
# The repertoire covered by the file is Unicode 3.0.1.
|
||||
#
|
||||
# The file contains a list of lines with mappings from one code point
|
||||
# to another one for character-based mirroring.
|
||||
# Note that for "real" mirroring, a rendering engine needs to select
|
||||
# appropriate alternative glyphs, and that many Unicode characters do not
|
||||
# have a mirror-image Unicode character.
|
||||
#
|
||||
# Each mapping line contains two fields, separated by a semicolon (';').
|
||||
# Each of the two fields contains a code point represented as a
|
||||
# variable-length hexadecimal value with 4 to 6 digits.
|
||||
# A comment indicates where the characters are "BEST FIT" mirroring.
|
||||
#
|
||||
# Code points with the "mirrored" property but no appropriate mirrors are
|
||||
# listed as comments at the end of the file.
|
||||
#
|
||||
# For information on bidi mirroring, see UTR #21: Bidirectional Algorithm,
|
||||
# at http://www.unicode.org/unicode/reports/tr9/
|
||||
#
|
||||
# Please address any comments to <errata@unicode.org>.
|
||||
# Note that this is an archival address: messages will be checked,
|
||||
# but do not expect an immediate response.
|
||||
#
|
||||
# This file was originally created by Markus Scherer
|
||||
#
|
||||
# ############################################################
|
||||
|
||||
0028; 0029 # LEFT PARENTHESIS
|
||||
0029; 0028 # RIGHT PARENTHESIS
|
||||
003C; 003E # LESS-THAN SIGN
|
||||
003E; 003C # GREATER-THAN SIGN
|
||||
005B; 005D # LEFT SQUARE BRACKET
|
||||
005D; 005B # RIGHT SQUARE BRACKET
|
||||
007B; 007D # LEFT CURLY BRACKET
|
||||
007D; 007B # RIGHT CURLY BRACKET
|
||||
00AB; 00BB # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
|
||||
00BB; 00AB # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
|
||||
2039; 203A # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
|
||||
203A; 2039 # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
|
||||
2045; 2046 # LEFT SQUARE BRACKET WITH QUILL
|
||||
2046; 2045 # RIGHT SQUARE BRACKET WITH QUILL
|
||||
207D; 207E # SUPERSCRIPT LEFT PARENTHESIS
|
||||
207E; 207D # SUPERSCRIPT RIGHT PARENTHESIS
|
||||
208D; 208E # SUBSCRIPT LEFT PARENTHESIS
|
||||
208E; 208D # SUBSCRIPT RIGHT PARENTHESIS
|
||||
2208; 220B # ELEMENT OF
|
||||
2209; 220C # NOT AN ELEMENT OF
|
||||
220A; 220D # SMALL ELEMENT OF
|
||||
220B; 2208 # CONTAINS AS MEMBER
|
||||
220C; 2209 # DOES NOT CONTAIN AS MEMBER
|
||||
220D; 220A # SMALL CONTAINS AS MEMBER
|
||||
223C; 223D # TILDE OPERATOR
|
||||
223D; 223C # REVERSED TILDE
|
||||
2243; 22CD # ASYMPTOTICALLY EQUAL TO
|
||||
2252; 2253 # APPROXIMATELY EQUAL TO OR THE IMAGE OF
|
||||
2253; 2252 # IMAGE OF OR APPROXIMATELY EQUAL TO
|
||||
2254; 2255 # COLON EQUALS
|
||||
2255; 2254 # EQUALS COLON
|
||||
2264; 2265 # LESS-THAN OR EQUAL TO
|
||||
2265; 2264 # GREATER-THAN OR EQUAL TO
|
||||
2266; 2267 # LESS-THAN OVER EQUAL TO
|
||||
2267; 2266 # GREATER-THAN OVER EQUAL TO
|
||||
2268; 2269 # [BEST FIT] LESS-THAN BUT NOT EQUAL TO
|
||||
2269; 2268 # [BEST FIT] GREATER-THAN BUT NOT EQUAL TO
|
||||
226A; 226B # MUCH LESS-THAN
|
||||
226B; 226A # MUCH GREATER-THAN
|
||||
226E; 226F # [BEST FIT] NOT LESS-THAN
|
||||
226F; 226E # [BEST FIT] NOT GREATER-THAN
|
||||
2270; 2271 # [BEST FIT] NEITHER LESS-THAN NOR EQUAL TO
|
||||
2271; 2270 # [BEST FIT] NEITHER GREATER-THAN NOR EQUAL TO
|
||||
2272; 2273 # [BEST FIT] LESS-THAN OR EQUIVALENT TO
|
||||
2273; 2272 # [BEST FIT] GREATER-THAN OR EQUIVALENT TO
|
||||
2274; 2275 # [BEST FIT] NEITHER LESS-THAN NOR EQUIVALENT TO
|
||||
2275; 2274 # [BEST FIT] NEITHER GREATER-THAN NOR EQUIVALENT TO
|
||||
2276; 2277 # LESS-THAN OR GREATER-THAN
|
||||
2277; 2276 # GREATER-THAN OR LESS-THAN
|
||||
2278; 2279 # NEITHER LESS-THAN NOR GREATER-THAN
|
||||
2279; 2278 # NEITHER GREATER-THAN NOR LESS-THAN
|
||||
227A; 227B # PRECEDES
|
||||
227B; 227A # SUCCEEDS
|
||||
227C; 227D # PRECEDES OR EQUAL TO
|
||||
227D; 227C # SUCCEEDS OR EQUAL TO
|
||||
227E; 227F # [BEST FIT] PRECEDES OR EQUIVALENT TO
|
||||
227F; 227E # [BEST FIT] SUCCEEDS OR EQUIVALENT TO
|
||||
2280; 2281 # [BEST FIT] DOES NOT PRECEDE
|
||||
2281; 2280 # [BEST FIT] DOES NOT SUCCEED
|
||||
2282; 2283 # SUBSET OF
|
||||
2283; 2282 # SUPERSET OF
|
||||
2284; 2285 # [BEST FIT] NOT A SUBSET OF
|
||||
2285; 2284 # [BEST FIT] NOT A SUPERSET OF
|
||||
2286; 2287 # SUBSET OF OR EQUAL TO
|
||||
2287; 2286 # SUPERSET OF OR EQUAL TO
|
||||
2288; 2289 # [BEST FIT] NEITHER A SUBSET OF NOR EQUAL TO
|
||||
2289; 2288 # [BEST FIT] NEITHER A SUPERSET OF NOR EQUAL TO
|
||||
228A; 228B # [BEST FIT] SUBSET OF WITH NOT EQUAL TO
|
||||
228B; 228A # [BEST FIT] SUPERSET OF WITH NOT EQUAL TO
|
||||
228F; 2290 # SQUARE IMAGE OF
|
||||
2290; 228F # SQUARE ORIGINAL OF
|
||||
2291; 2292 # SQUARE IMAGE OF OR EQUAL TO
|
||||
2292; 2291 # SQUARE ORIGINAL OF OR EQUAL TO
|
||||
22A2; 22A3 # RIGHT TACK
|
||||
22A3; 22A2 # LEFT TACK
|
||||
22B0; 22B1 # PRECEDES UNDER RELATION
|
||||
22B1; 22B0 # SUCCEEDS UNDER RELATION
|
||||
22B2; 22B3 # NORMAL SUBGROUP OF
|
||||
22B3; 22B2 # CONTAINS AS NORMAL SUBGROUP
|
||||
22B4; 22B5 # NORMAL SUBGROUP OF OR EQUAL TO
|
||||
22B5; 22B4 # CONTAINS AS NORMAL SUBGROUP OR EQUAL TO
|
||||
22B6; 22B7 # ORIGINAL OF
|
||||
22B7; 22B6 # IMAGE OF
|
||||
22C9; 22CA # LEFT NORMAL FACTOR SEMIDIRECT PRODUCT
|
||||
22CA; 22C9 # RIGHT NORMAL FACTOR SEMIDIRECT PRODUCT
|
||||
22CB; 22CC # LEFT SEMIDIRECT PRODUCT
|
||||
22CC; 22CB # RIGHT SEMIDIRECT PRODUCT
|
||||
22CD; 2243 # REVERSED TILDE EQUALS
|
||||
22D0; 22D1 # DOUBLE SUBSET
|
||||
22D1; 22D0 # DOUBLE SUPERSET
|
||||
22D6; 22D7 # LESS-THAN WITH DOT
|
||||
22D7; 22D6 # GREATER-THAN WITH DOT
|
||||
22D8; 22D9 # VERY MUCH LESS-THAN
|
||||
22D9; 22D8 # VERY MUCH GREATER-THAN
|
||||
22DA; 22DB # LESS-THAN EQUAL TO OR GREATER-THAN
|
||||
22DB; 22DA # GREATER-THAN EQUAL TO OR LESS-THAN
|
||||
22DC; 22DD # EQUAL TO OR LESS-THAN
|
||||
22DD; 22DC # EQUAL TO OR GREATER-THAN
|
||||
22DE; 22DF # EQUAL TO OR PRECEDES
|
||||
22DF; 22DE # EQUAL TO OR SUCCEEDS
|
||||
22E0; 22E1 # [BEST FIT] DOES NOT PRECEDE OR EQUAL
|
||||
22E1; 22E0 # [BEST FIT] DOES NOT SUCCEED OR EQUAL
|
||||
22E2; 22E3 # [BEST FIT] NOT SQUARE IMAGE OF OR EQUAL TO
|
||||
22E3; 22E2 # [BEST FIT] NOT SQUARE ORIGINAL OF OR EQUAL TO
|
||||
22E4; 22E5 # [BEST FIT] SQUARE IMAGE OF OR NOT EQUAL TO
|
||||
22E5; 22E4 # [BEST FIT] SQUARE ORIGINAL OF OR NOT EQUAL TO
|
||||
22E6; 22E7 # [BEST FIT] LESS-THAN BUT NOT EQUIVALENT TO
|
||||
22E7; 22E6 # [BEST FIT] GREATER-THAN BUT NOT EQUIVALENT TO
|
||||
22E8; 22E9 # [BEST FIT] PRECEDES BUT NOT EQUIVALENT TO
|
||||
22E9; 22E8 # [BEST FIT] SUCCEEDS BUT NOT EQUIVALENT TO
|
||||
22EA; 22EB # [BEST FIT] NOT NORMAL SUBGROUP OF
|
||||
22EB; 22EA # [BEST FIT] DOES NOT CONTAIN AS NORMAL SUBGROUP
|
||||
22EC; 22ED # [BEST FIT] NOT NORMAL SUBGROUP OF OR EQUAL TO
|
||||
22ED; 22EC # [BEST FIT] DOES NOT CONTAIN AS NORMAL SUBGROUP OR EQUAL
|
||||
22F0; 22F1 # UP RIGHT DIAGONAL ELLIPSIS
|
||||
22F1; 22F0 # DOWN RIGHT DIAGONAL ELLIPSIS
|
||||
2308; 2309 # LEFT CEILING
|
||||
2309; 2308 # RIGHT CEILING
|
||||
230A; 230B # LEFT FLOOR
|
||||
230B; 230A # RIGHT FLOOR
|
||||
2329; 232A # LEFT-POINTING ANGLE BRACKET
|
||||
232A; 2329 # RIGHT-POINTING ANGLE BRACKET
|
||||
3008; 3009 # LEFT ANGLE BRACKET
|
||||
3009; 3008 # RIGHT ANGLE BRACKET
|
||||
300A; 300B # LEFT DOUBLE ANGLE BRACKET
|
||||
300B; 300A # RIGHT DOUBLE ANGLE BRACKET
|
||||
300C; 300D # [BEST FIT] LEFT CORNER BRACKET
|
||||
300D; 300C # [BEST FIT] RIGHT CORNER BRACKET
|
||||
300E; 300F # [BEST FIT] LEFT WHITE CORNER BRACKET
|
||||
300F; 300E # [BEST FIT] RIGHT WHITE CORNER BRACKET
|
||||
3010; 3011 # LEFT BLACK LENTICULAR BRACKET
|
||||
3011; 3010 # RIGHT BLACK LENTICULAR BRACKET
|
||||
3014; 3015 # [BEST FIT] LEFT TORTOISE SHELL BRACKET
|
||||
3015; 3014 # [BEST FIT] RIGHT TORTOISE SHELL BRACKET
|
||||
3016; 3017 # LEFT WHITE LENTICULAR BRACKET
|
||||
3017; 3016 # RIGHT WHITE LENTICULAR BRACKET
|
||||
3018; 3019 # LEFT WHITE TORTOISE SHELL BRACKET
|
||||
3019; 3018 # RIGHT WHITE TORTOISE SHELL BRACKET
|
||||
301A; 301B # LEFT WHITE SQUARE BRACKET
|
||||
301B; 301A # RIGHT WHITE SQUARE BRACKET
|
||||
|
||||
# The following characters have no appropriate mirroring character
|
||||
|
||||
# 2201; COMPLEMENT
|
||||
# 2202; PARTIAL DIFFERENTIAL
|
||||
# 2203; THERE EXISTS
|
||||
# 2204; THERE DOES NOT EXIST
|
||||
# 2211; N-ARY SUMMATION
|
||||
# 2215; DIVISION SLASH
|
||||
# 2216; SET MINUS
|
||||
# 221A; SQUARE ROOT
|
||||
# 221B; CUBE ROOT
|
||||
# 221C; FOURTH ROOT
|
||||
# 221D; PROPORTIONAL TO
|
||||
# 221F; RIGHT ANGLE
|
||||
# 2220; ANGLE
|
||||
# 2221; MEASURED ANGLE
|
||||
# 2222; SPHERICAL ANGLE
|
||||
# 2224; DOES NOT DIVIDE
|
||||
# 2226; NOT PARALLEL TO
|
||||
# 222B; INTEGRAL
|
||||
# 222C; DOUBLE INTEGRAL
|
||||
# 222D; TRIPLE INTEGRAL
|
||||
# 222E; CONTOUR INTEGRAL
|
||||
# 222F; SURFACE INTEGRAL
|
||||
# 2230; VOLUME INTEGRAL
|
||||
# 2231; CLOCKWISE INTEGRAL
|
||||
# 2232; CLOCKWISE CONTOUR INTEGRAL
|
||||
# 2233; ANTICLOCKWISE CONTOUR INTEGRAL
|
||||
# 2239; EXCESS
|
||||
# 223B; HOMOTHETIC
|
||||
# 223E; INVERTED LAZY S
|
||||
# 223F; SINE WAVE
|
||||
# 2240; WREATH PRODUCT
|
||||
# 2241; NOT TILDE
|
||||
# 2242; MINUS TILDE
|
||||
# 2244; NOT ASYMPTOTICALLY EQUAL TO
|
||||
# 2245; APPROXIMATELY EQUAL TO
|
||||
# 2246; APPROXIMATELY BUT NOT ACTUALLY EQUAL TO
|
||||
# 2247; NEITHER APPROXIMATELY NOR ACTUALLY EQUAL TO
|
||||
# 2248; ALMOST EQUAL TO
|
||||
# 2249; NOT ALMOST EQUAL TO
|
||||
# 224A; ALMOST EQUAL OR EQUAL TO
|
||||
# 224B; TRIPLE TILDE
|
||||
# 224C; ALL EQUAL TO
|
||||
# 225F; QUESTIONED EQUAL TO
|
||||
# 2260; NOT EQUAL TO
|
||||
# 2262; NOT IDENTICAL TO
|
||||
# 228C; MULTISET
|
||||
# 2298; CIRCLED DIVISION SLASH
|
||||
# 22A6; ASSERTION
|
||||
# 22A7; MODELS
|
||||
# 22A8; TRUE
|
||||
# 22A9; FORCES
|
||||
# 22AA; TRIPLE VERTICAL BAR RIGHT TURNSTILE
|
||||
# 22AB; DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE
|
||||
# 22AC; DOES NOT PROVE
|
||||
# 22AD; NOT TRUE
|
||||
# 22AE; DOES NOT FORCE
|
||||
# 22AF; NEGATED DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE
|
||||
# 22B8; MULTIMAP
|
||||
# 22BE; RIGHT ANGLE WITH ARC
|
||||
# 22BF; RIGHT TRIANGLE
|
||||
# 2320; TOP HALF INTEGRAL
|
||||
# 2321; BOTTOM HALF INTEGRAL
|
||||
# BidiMirroring-1.txt
|
||||
#
|
||||
# This file is an informative supplement to the UnicodeData file. It
|
||||
# lists characters that have the mirrored property
|
||||
# where there is another Unicode character that typically has a glyph
|
||||
# that is the mirror image of the original character's glyph.
|
||||
# The repertoire covered by the file is Unicode 3.0.1.
|
||||
#
|
||||
# The file contains a list of lines with mappings from one code point
|
||||
# to another one for character-based mirroring.
|
||||
# Note that for "real" mirroring, a rendering engine needs to select
|
||||
# appropriate alternative glyphs, and that many Unicode characters do not
|
||||
# have a mirror-image Unicode character.
|
||||
#
|
||||
# Each mapping line contains two fields, separated by a semicolon (';').
|
||||
# Each of the two fields contains a code point represented as a
|
||||
# variable-length hexadecimal value with 4 to 6 digits.
|
||||
# A comment indicates where the characters are "BEST FIT" mirroring.
|
||||
#
|
||||
# Code points with the "mirrored" property but no appropriate mirrors are
|
||||
# listed as comments at the end of the file.
|
||||
#
|
||||
# For information on bidi mirroring, see UTR #21: Bidirectional Algorithm,
|
||||
# at http://www.unicode.org/unicode/reports/tr9/
|
||||
#
|
||||
# Please address any comments to <errata@unicode.org>.
|
||||
# Note that this is an archival address: messages will be checked,
|
||||
# but do not expect an immediate response.
|
||||
#
|
||||
# This file was originally created by Markus Scherer
|
||||
#
|
||||
# ############################################################
|
||||
|
||||
0028; 0029 # LEFT PARENTHESIS
|
||||
0029; 0028 # RIGHT PARENTHESIS
|
||||
003C; 003E # LESS-THAN SIGN
|
||||
003E; 003C # GREATER-THAN SIGN
|
||||
005B; 005D # LEFT SQUARE BRACKET
|
||||
005D; 005B # RIGHT SQUARE BRACKET
|
||||
007B; 007D # LEFT CURLY BRACKET
|
||||
007D; 007B # RIGHT CURLY BRACKET
|
||||
00AB; 00BB # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
|
||||
00BB; 00AB # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
|
||||
2039; 203A # SINGLE LEFT-POINTING ANGLE QUOTATION MARK
|
||||
203A; 2039 # SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
|
||||
2045; 2046 # LEFT SQUARE BRACKET WITH QUILL
|
||||
2046; 2045 # RIGHT SQUARE BRACKET WITH QUILL
|
||||
207D; 207E # SUPERSCRIPT LEFT PARENTHESIS
|
||||
207E; 207D # SUPERSCRIPT RIGHT PARENTHESIS
|
||||
208D; 208E # SUBSCRIPT LEFT PARENTHESIS
|
||||
208E; 208D # SUBSCRIPT RIGHT PARENTHESIS
|
||||
2208; 220B # ELEMENT OF
|
||||
2209; 220C # NOT AN ELEMENT OF
|
||||
220A; 220D # SMALL ELEMENT OF
|
||||
220B; 2208 # CONTAINS AS MEMBER
|
||||
220C; 2209 # DOES NOT CONTAIN AS MEMBER
|
||||
220D; 220A # SMALL CONTAINS AS MEMBER
|
||||
223C; 223D # TILDE OPERATOR
|
||||
223D; 223C # REVERSED TILDE
|
||||
2243; 22CD # ASYMPTOTICALLY EQUAL TO
|
||||
2252; 2253 # APPROXIMATELY EQUAL TO OR THE IMAGE OF
|
||||
2253; 2252 # IMAGE OF OR APPROXIMATELY EQUAL TO
|
||||
2254; 2255 # COLON EQUALS
|
||||
2255; 2254 # EQUALS COLON
|
||||
2264; 2265 # LESS-THAN OR EQUAL TO
|
||||
2265; 2264 # GREATER-THAN OR EQUAL TO
|
||||
2266; 2267 # LESS-THAN OVER EQUAL TO
|
||||
2267; 2266 # GREATER-THAN OVER EQUAL TO
|
||||
2268; 2269 # [BEST FIT] LESS-THAN BUT NOT EQUAL TO
|
||||
2269; 2268 # [BEST FIT] GREATER-THAN BUT NOT EQUAL TO
|
||||
226A; 226B # MUCH LESS-THAN
|
||||
226B; 226A # MUCH GREATER-THAN
|
||||
226E; 226F # [BEST FIT] NOT LESS-THAN
|
||||
226F; 226E # [BEST FIT] NOT GREATER-THAN
|
||||
2270; 2271 # [BEST FIT] NEITHER LESS-THAN NOR EQUAL TO
|
||||
2271; 2270 # [BEST FIT] NEITHER GREATER-THAN NOR EQUAL TO
|
||||
2272; 2273 # [BEST FIT] LESS-THAN OR EQUIVALENT TO
|
||||
2273; 2272 # [BEST FIT] GREATER-THAN OR EQUIVALENT TO
|
||||
2274; 2275 # [BEST FIT] NEITHER LESS-THAN NOR EQUIVALENT TO
|
||||
2275; 2274 # [BEST FIT] NEITHER GREATER-THAN NOR EQUIVALENT TO
|
||||
2276; 2277 # LESS-THAN OR GREATER-THAN
|
||||
2277; 2276 # GREATER-THAN OR LESS-THAN
|
||||
2278; 2279 # NEITHER LESS-THAN NOR GREATER-THAN
|
||||
2279; 2278 # NEITHER GREATER-THAN NOR LESS-THAN
|
||||
227A; 227B # PRECEDES
|
||||
227B; 227A # SUCCEEDS
|
||||
227C; 227D # PRECEDES OR EQUAL TO
|
||||
227D; 227C # SUCCEEDS OR EQUAL TO
|
||||
227E; 227F # [BEST FIT] PRECEDES OR EQUIVALENT TO
|
||||
227F; 227E # [BEST FIT] SUCCEEDS OR EQUIVALENT TO
|
||||
2280; 2281 # [BEST FIT] DOES NOT PRECEDE
|
||||
2281; 2280 # [BEST FIT] DOES NOT SUCCEED
|
||||
2282; 2283 # SUBSET OF
|
||||
2283; 2282 # SUPERSET OF
|
||||
2284; 2285 # [BEST FIT] NOT A SUBSET OF
|
||||
2285; 2284 # [BEST FIT] NOT A SUPERSET OF
|
||||
2286; 2287 # SUBSET OF OR EQUAL TO
|
||||
2287; 2286 # SUPERSET OF OR EQUAL TO
|
||||
2288; 2289 # [BEST FIT] NEITHER A SUBSET OF NOR EQUAL TO
|
||||
2289; 2288 # [BEST FIT] NEITHER A SUPERSET OF NOR EQUAL TO
|
||||
228A; 228B # [BEST FIT] SUBSET OF WITH NOT EQUAL TO
|
||||
228B; 228A # [BEST FIT] SUPERSET OF WITH NOT EQUAL TO
|
||||
228F; 2290 # SQUARE IMAGE OF
|
||||
2290; 228F # SQUARE ORIGINAL OF
|
||||
2291; 2292 # SQUARE IMAGE OF OR EQUAL TO
|
||||
2292; 2291 # SQUARE ORIGINAL OF OR EQUAL TO
|
||||
22A2; 22A3 # RIGHT TACK
|
||||
22A3; 22A2 # LEFT TACK
|
||||
22B0; 22B1 # PRECEDES UNDER RELATION
|
||||
22B1; 22B0 # SUCCEEDS UNDER RELATION
|
||||
22B2; 22B3 # NORMAL SUBGROUP OF
|
||||
22B3; 22B2 # CONTAINS AS NORMAL SUBGROUP
|
||||
22B4; 22B5 # NORMAL SUBGROUP OF OR EQUAL TO
|
||||
22B5; 22B4 # CONTAINS AS NORMAL SUBGROUP OR EQUAL TO
|
||||
22B6; 22B7 # ORIGINAL OF
|
||||
22B7; 22B6 # IMAGE OF
|
||||
22C9; 22CA # LEFT NORMAL FACTOR SEMIDIRECT PRODUCT
|
||||
22CA; 22C9 # RIGHT NORMAL FACTOR SEMIDIRECT PRODUCT
|
||||
22CB; 22CC # LEFT SEMIDIRECT PRODUCT
|
||||
22CC; 22CB # RIGHT SEMIDIRECT PRODUCT
|
||||
22CD; 2243 # REVERSED TILDE EQUALS
|
||||
22D0; 22D1 # DOUBLE SUBSET
|
||||
22D1; 22D0 # DOUBLE SUPERSET
|
||||
22D6; 22D7 # LESS-THAN WITH DOT
|
||||
22D7; 22D6 # GREATER-THAN WITH DOT
|
||||
22D8; 22D9 # VERY MUCH LESS-THAN
|
||||
22D9; 22D8 # VERY MUCH GREATER-THAN
|
||||
22DA; 22DB # LESS-THAN EQUAL TO OR GREATER-THAN
|
||||
22DB; 22DA # GREATER-THAN EQUAL TO OR LESS-THAN
|
||||
22DC; 22DD # EQUAL TO OR LESS-THAN
|
||||
22DD; 22DC # EQUAL TO OR GREATER-THAN
|
||||
22DE; 22DF # EQUAL TO OR PRECEDES
|
||||
22DF; 22DE # EQUAL TO OR SUCCEEDS
|
||||
22E0; 22E1 # [BEST FIT] DOES NOT PRECEDE OR EQUAL
|
||||
22E1; 22E0 # [BEST FIT] DOES NOT SUCCEED OR EQUAL
|
||||
22E2; 22E3 # [BEST FIT] NOT SQUARE IMAGE OF OR EQUAL TO
|
||||
22E3; 22E2 # [BEST FIT] NOT SQUARE ORIGINAL OF OR EQUAL TO
|
||||
22E4; 22E5 # [BEST FIT] SQUARE IMAGE OF OR NOT EQUAL TO
|
||||
22E5; 22E4 # [BEST FIT] SQUARE ORIGINAL OF OR NOT EQUAL TO
|
||||
22E6; 22E7 # [BEST FIT] LESS-THAN BUT NOT EQUIVALENT TO
|
||||
22E7; 22E6 # [BEST FIT] GREATER-THAN BUT NOT EQUIVALENT TO
|
||||
22E8; 22E9 # [BEST FIT] PRECEDES BUT NOT EQUIVALENT TO
|
||||
22E9; 22E8 # [BEST FIT] SUCCEEDS BUT NOT EQUIVALENT TO
|
||||
22EA; 22EB # [BEST FIT] NOT NORMAL SUBGROUP OF
|
||||
22EB; 22EA # [BEST FIT] DOES NOT CONTAIN AS NORMAL SUBGROUP
|
||||
22EC; 22ED # [BEST FIT] NOT NORMAL SUBGROUP OF OR EQUAL TO
|
||||
22ED; 22EC # [BEST FIT] DOES NOT CONTAIN AS NORMAL SUBGROUP OR EQUAL
|
||||
22F0; 22F1 # UP RIGHT DIAGONAL ELLIPSIS
|
||||
22F1; 22F0 # DOWN RIGHT DIAGONAL ELLIPSIS
|
||||
2308; 2309 # LEFT CEILING
|
||||
2309; 2308 # RIGHT CEILING
|
||||
230A; 230B # LEFT FLOOR
|
||||
230B; 230A # RIGHT FLOOR
|
||||
2329; 232A # LEFT-POINTING ANGLE BRACKET
|
||||
232A; 2329 # RIGHT-POINTING ANGLE BRACKET
|
||||
3008; 3009 # LEFT ANGLE BRACKET
|
||||
3009; 3008 # RIGHT ANGLE BRACKET
|
||||
300A; 300B # LEFT DOUBLE ANGLE BRACKET
|
||||
300B; 300A # RIGHT DOUBLE ANGLE BRACKET
|
||||
300C; 300D # [BEST FIT] LEFT CORNER BRACKET
|
||||
300D; 300C # [BEST FIT] RIGHT CORNER BRACKET
|
||||
300E; 300F # [BEST FIT] LEFT WHITE CORNER BRACKET
|
||||
300F; 300E # [BEST FIT] RIGHT WHITE CORNER BRACKET
|
||||
3010; 3011 # LEFT BLACK LENTICULAR BRACKET
|
||||
3011; 3010 # RIGHT BLACK LENTICULAR BRACKET
|
||||
3014; 3015 # [BEST FIT] LEFT TORTOISE SHELL BRACKET
|
||||
3015; 3014 # [BEST FIT] RIGHT TORTOISE SHELL BRACKET
|
||||
3016; 3017 # LEFT WHITE LENTICULAR BRACKET
|
||||
3017; 3016 # RIGHT WHITE LENTICULAR BRACKET
|
||||
3018; 3019 # LEFT WHITE TORTOISE SHELL BRACKET
|
||||
3019; 3018 # RIGHT WHITE TORTOISE SHELL BRACKET
|
||||
301A; 301B # LEFT WHITE SQUARE BRACKET
|
||||
301B; 301A # RIGHT WHITE SQUARE BRACKET
|
||||
|
||||
# The following characters have no appropriate mirroring character
|
||||
|
||||
# 2201; COMPLEMENT
|
||||
# 2202; PARTIAL DIFFERENTIAL
|
||||
# 2203; THERE EXISTS
|
||||
# 2204; THERE DOES NOT EXIST
|
||||
# 2211; N-ARY SUMMATION
|
||||
# 2215; DIVISION SLASH
|
||||
# 2216; SET MINUS
|
||||
# 221A; SQUARE ROOT
|
||||
# 221B; CUBE ROOT
|
||||
# 221C; FOURTH ROOT
|
||||
# 221D; PROPORTIONAL TO
|
||||
# 221F; RIGHT ANGLE
|
||||
# 2220; ANGLE
|
||||
# 2221; MEASURED ANGLE
|
||||
# 2222; SPHERICAL ANGLE
|
||||
# 2224; DOES NOT DIVIDE
|
||||
# 2226; NOT PARALLEL TO
|
||||
# 222B; INTEGRAL
|
||||
# 222C; DOUBLE INTEGRAL
|
||||
# 222D; TRIPLE INTEGRAL
|
||||
# 222E; CONTOUR INTEGRAL
|
||||
# 222F; SURFACE INTEGRAL
|
||||
# 2230; VOLUME INTEGRAL
|
||||
# 2231; CLOCKWISE INTEGRAL
|
||||
# 2232; CLOCKWISE CONTOUR INTEGRAL
|
||||
# 2233; ANTICLOCKWISE CONTOUR INTEGRAL
|
||||
# 2239; EXCESS
|
||||
# 223B; HOMOTHETIC
|
||||
# 223E; INVERTED LAZY S
|
||||
# 223F; SINE WAVE
|
||||
# 2240; WREATH PRODUCT
|
||||
# 2241; NOT TILDE
|
||||
# 2242; MINUS TILDE
|
||||
# 2244; NOT ASYMPTOTICALLY EQUAL TO
|
||||
# 2245; APPROXIMATELY EQUAL TO
|
||||
# 2246; APPROXIMATELY BUT NOT ACTUALLY EQUAL TO
|
||||
# 2247; NEITHER APPROXIMATELY NOR ACTUALLY EQUAL TO
|
||||
# 2248; ALMOST EQUAL TO
|
||||
# 2249; NOT ALMOST EQUAL TO
|
||||
# 224A; ALMOST EQUAL OR EQUAL TO
|
||||
# 224B; TRIPLE TILDE
|
||||
# 224C; ALL EQUAL TO
|
||||
# 225F; QUESTIONED EQUAL TO
|
||||
# 2260; NOT EQUAL TO
|
||||
# 2262; NOT IDENTICAL TO
|
||||
# 228C; MULTISET
|
||||
# 2298; CIRCLED DIVISION SLASH
|
||||
# 22A6; ASSERTION
|
||||
# 22A7; MODELS
|
||||
# 22A8; TRUE
|
||||
# 22A9; FORCES
|
||||
# 22AA; TRIPLE VERTICAL BAR RIGHT TURNSTILE
|
||||
# 22AB; DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE
|
||||
# 22AC; DOES NOT PROVE
|
||||
# 22AD; NOT TRUE
|
||||
# 22AE; DOES NOT FORCE
|
||||
# 22AF; NEGATED DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE
|
||||
# 22B8; MULTIMAP
|
||||
# 22BE; RIGHT ANGLE WITH ARC
|
||||
# 22BF; RIGHT TRIANGLE
|
||||
# 2320; TOP HALF INTEGRAL
|
||||
# 2321; BOTTOM HALF INTEGRAL
|
||||
|
|
|
@ -22,4 +22,4 @@
|
|||
<!ENTITY javaScriptConsoleCmd.accesskey "S">
|
||||
|
||||
<!ENTITY tasksMenu.label "Tools">
|
||||
<!ENTITY tasksMenu.accesskey "T">
|
||||
<!ENTITY tasksMenu.accesskey "T">
|
||||
|
|
|
@ -75,10 +75,10 @@
|
|||
.alertText[clickable="true"]:hover:active {
|
||||
color: #424F63;
|
||||
}
|
||||
|
||||
.alertTextBox
|
||||
{
|
||||
padding-right: 10px;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
|
||||
.alertTextBox
|
||||
{
|
||||
padding-right: 10px;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
<!ENTITY lookInMenuList.label "Look in:">
|
||||
<!ENTITY lookInMenuList.accesskey "L">
|
||||
<!ENTITY lookInMenuList.accesskey "L">
|
||||
<!ENTITY textInput.label "File name:">
|
||||
<!ENTITY textInput.accesskey "n">
|
||||
<!ENTITY textInput.accesskey "n">
|
||||
<!ENTITY filterMenuList.label "Files of type:">
|
||||
<!ENTITY filterMenuList.accesskey "t">
|
||||
<!ENTITY filterMenuList.accesskey "t">
|
||||
<!ENTITY name.label "Name">
|
||||
<!ENTITY size.label "Size">
|
||||
<!ENTITY lastModified.label "Last Modified">
|
||||
<!ENTITY permissions.label "Permissions">
|
||||
<!ENTITY showHiddenFiles.label "Show hidden files and directories">
|
||||
<!ENTITY showHiddenFiles.accesskey "S">
|
||||
<!ENTITY showHiddenFiles.accesskey "S">
|
||||
|
||||
<!ENTITY noPermissionError.label "You do not have the permissions necessary to view this directory.">
|
||||
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
WIN_INSTALLER_CHARSET = CP1252
|
||||
|
||||
# possibilities are:
|
||||
# ANSI_CHARSET CP1252
|
||||
# BALTIC_CHARSET CP1257
|
||||
# CHINESEBIG5_CHARSET CP950
|
||||
# EASTEUROPE_CHARSET CP1250
|
||||
# GB2312_CHARSET CP936
|
||||
# GREEK_CHARSET CP1253
|
||||
# HANGUL_CHARSET CP949
|
||||
# RUSSIAN_CHARSET CP1251
|
||||
# SHIFTJIS_CHARSET CP932
|
||||
# TURKISH_CHARSET CP1254
|
||||
# VIETNAMESE_CHARSET CP1258
|
||||
# Korean language edition of Windows:
|
||||
# JOHAB_CHARSET CP1361
|
||||
# Middle East language edition of Windows:
|
||||
# ARABIC_CHARSET CP1256
|
||||
# HEBREW_CHARSET CP1255
|
||||
# Thai language edition of Windows:
|
||||
# THAI_CHARSET CP874
|
||||
|
||||
WIN_INSTALLER_CHARSET = CP1252
|
||||
|
||||
# possibilities are:
|
||||
# ANSI_CHARSET CP1252
|
||||
# BALTIC_CHARSET CP1257
|
||||
# CHINESEBIG5_CHARSET CP950
|
||||
# EASTEUROPE_CHARSET CP1250
|
||||
# GB2312_CHARSET CP936
|
||||
# GREEK_CHARSET CP1253
|
||||
# HANGUL_CHARSET CP949
|
||||
# RUSSIAN_CHARSET CP1251
|
||||
# SHIFTJIS_CHARSET CP932
|
||||
# TURKISH_CHARSET CP1254
|
||||
# VIETNAMESE_CHARSET CP1258
|
||||
# Korean language edition of Windows:
|
||||
# JOHAB_CHARSET CP1361
|
||||
# Middle East language edition of Windows:
|
||||
# ARABIC_CHARSET CP1256
|
||||
# HEBREW_CHARSET CP1255
|
||||
# Thai language edition of Windows:
|
||||
# THAI_CHARSET CP874
|
||||
|
||||
|
|
|
@ -101,12 +101,24 @@
|
|||
|
||||
#defaultAppName {
|
||||
margin-left: 6px !important;
|
||||
}
/*
#fileHandlersListContainer {
-moz-binding: url("chrome://mozapps/skin/downloads/downloads.xml#download-view");
|
||||
}
|
||||
|
||||
/*
|
||||
#fileHandlersListContainer {
|
||||
-moz-binding: url("chrome://mozapps/skin/downloads/downloads.xml#download-view");
|
||||
-moz-appearance: listbox;
|
||||
-moz-user-focus: normal;
|
||||
}
* We apply the background to both of these elements since the tree leaves a 2-3px
* strip on its right side unpainted. We can't just paint the background layer either
* because the tree erases its background with white, obscuring the bottom layer.
#fileHandlersList, #fileHandlersListContainer > .downloadViewInner1 {
background-image: url("chrome://mozapps/skin/downloads/downloadsBG.png");
|
||||
}
|
||||
|
||||
* We apply the background to both of these elements since the tree leaves a 2-3px
|
||||
* strip on its right side unpainted. We can't just paint the background layer either
|
||||
* because the tree erases its background with white, obscuring the bottom layer.
|
||||
#fileHandlersList, #fileHandlersListContainer > .downloadViewInner1 {
|
||||
background-image: url("chrome://mozapps/skin/downloads/downloadsBG.png");
|
||||
background-attachment: fixed;
|
||||
background-repeat: no-repeat;
|
||||
background-position: bottom right;
-moz-appearance: none;
border: none;
|
||||
background-position: bottom right;
|
||||
-moz-appearance: none;
|
||||
border: none;
|
||||
}
|
||||
*/
|
||||
|
|
|
@ -1,40 +1,40 @@
|
|||
/* ..... page navigation ..... */
|
||||
|
||||
.home-arrow {
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-lft-sharp-end.gif");
|
||||
}
|
||||
|
||||
.end-arrow {
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-rit-sharp-end.gif");
|
||||
}
|
||||
|
||||
.left-arrow {
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-lft-sharp.gif");
|
||||
}
|
||||
|
||||
.right-arrow {
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-rit-sharp.gif");
|
||||
}
|
||||
|
||||
/* ...... scale in/decrement ..... */
|
||||
|
||||
.up-arrow {
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-up-sharp.gif");
|
||||
}
|
||||
|
||||
.down-arrow {
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-dn-sharp.gif");
|
||||
}
|
||||
|
||||
|
||||
/* ..... orientation ..... */
|
||||
|
||||
.toolbar-portrait-page {
|
||||
list-style-image: url("chrome://global/skin/icons/Print-preview.png");
|
||||
-moz-image-region: rect(0px 16px 16px 0px);
|
||||
}
|
||||
|
||||
.toolbar-landscape-page {
|
||||
list-style-image: url("chrome://global/skin/icons/Print-preview.png");
|
||||
-moz-image-region: rect(0px 32px 16px 16px);
|
||||
}
|
||||
/* ..... page navigation ..... */
|
||||
|
||||
.home-arrow {
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-lft-sharp-end.gif");
|
||||
}
|
||||
|
||||
.end-arrow {
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-rit-sharp-end.gif");
|
||||
}
|
||||
|
||||
.left-arrow {
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-lft-sharp.gif");
|
||||
}
|
||||
|
||||
.right-arrow {
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-rit-sharp.gif");
|
||||
}
|
||||
|
||||
/* ...... scale in/decrement ..... */
|
||||
|
||||
.up-arrow {
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-up-sharp.gif");
|
||||
}
|
||||
|
||||
.down-arrow {
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-dn-sharp.gif");
|
||||
}
|
||||
|
||||
|
||||
/* ..... orientation ..... */
|
||||
|
||||
.toolbar-portrait-page {
|
||||
list-style-image: url("chrome://global/skin/icons/Print-preview.png");
|
||||
-moz-image-region: rect(0px 16px 16px 0px);
|
||||
}
|
||||
|
||||
.toolbar-landscape-page {
|
||||
list-style-image: url("chrome://global/skin/icons/Print-preview.png");
|
||||
-moz-image-region: rect(0px 32px 16px 16px);
|
||||
}
|
||||
|
|
|
@ -1,118 +1,118 @@
|
|||
/*
|
||||
* 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-2001 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Joe Hewitt (hewitt@netscape.com)
|
||||
*/
|
||||
|
||||
/* ===== toolbar.css ====================================================
|
||||
== Styles used by XUL toolbar-related elements.
|
||||
======================================================================= */
|
||||
|
||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
||||
/* ::::: toolbox ::::: */
|
||||
|
||||
toolbox {
|
||||
-moz-appearance: toolbox;
|
||||
background-color: -moz-Dialog;
|
||||
}
|
||||
|
||||
/* ::::: toolbar & menubar ::::: */
|
||||
|
||||
toolbar {
|
||||
min-width: 1px;
|
||||
min-height: 20px;
|
||||
border-top: 1px solid ThreeDHighlight;
|
||||
border-bottom: 1px solid ThreeDShadow;
|
||||
}
|
||||
|
||||
toolbar[type="menubar"], menubar {
|
||||
min-width: 1px;
|
||||
min-height: 20px;
|
||||
border-bottom: 1px solid ThreeDShadow;
|
||||
border-top: 0px !important;
|
||||
}
|
||||
|
||||
/* ::::: toolbar decorations ::::: */
|
||||
|
||||
toolbarseparator {
|
||||
margin : 2px 0.2em;
|
||||
border-right : 1px solid ThreeDHighlight;
|
||||
border-left : 1px solid ThreeDShadow;
|
||||
width : 2px;
|
||||
}
|
||||
|
||||
toolbarspacer {
|
||||
width: 15px;
|
||||
}
|
||||
|
||||
/* ::::: toolbarpaletteitem ::::: */
|
||||
|
||||
toolbarpaletteitem {
|
||||
cursor: -moz-grab;
|
||||
}
|
||||
|
||||
.toolbarpaletteitem-box[type="spacer"],
|
||||
.toolbarpaletteitem-box[type="spring"] {
|
||||
border: 1px solid #808080;
|
||||
background-color: #FFF !important;
|
||||
}
|
||||
|
||||
toolbarpaletteitem[place="toolbar"] {
|
||||
margin-left: -2px;
|
||||
margin-right: -2px;
|
||||
border-left: 2px solid transparent;
|
||||
border-right: 2px solid transparent;
|
||||
}
|
||||
|
||||
toolbarpaletteitem[place="toolbar"] > toolbarspacer {
|
||||
width: 11px;
|
||||
}
|
||||
|
||||
.toolbarpaletteitem-box[type="spacer"][place="toolbar"],
|
||||
.toolbarpaletteitem-box[type="spring"][place="toolbar"] {
|
||||
margin: 2px 2px 2px 0;
|
||||
}
|
||||
|
||||
.toolbarpaletteitem-box[type="separator"][place="palette"] {
|
||||
width: 2px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.toolbarpaletteitem-box[type="spacer"][place="palette"],
|
||||
.toolbarpaletteitem-box[type="spring"][place="palette"] {
|
||||
margin-bottom: 2px;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.toolbarpaletteitem-box[type="spring"][place="palette"] {
|
||||
background: url("chrome://global/skin/toolbar/spring.gif") no-repeat center;
|
||||
}
|
||||
|
||||
/* ..... drag and drop feedback ..... */
|
||||
|
||||
toolbarpaletteitem[dragover="left"] {
|
||||
border-left-color: #000000;
|
||||
}
|
||||
|
||||
toolbarpaletteitem[dragover="right"] {
|
||||
border-right-color: #000000;
|
||||
}
|
||||
/*
|
||||
* 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-2001 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Joe Hewitt (hewitt@netscape.com)
|
||||
*/
|
||||
|
||||
/* ===== toolbar.css ====================================================
|
||||
== Styles used by XUL toolbar-related elements.
|
||||
======================================================================= */
|
||||
|
||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
||||
/* ::::: toolbox ::::: */
|
||||
|
||||
toolbox {
|
||||
-moz-appearance: toolbox;
|
||||
background-color: -moz-Dialog;
|
||||
}
|
||||
|
||||
/* ::::: toolbar & menubar ::::: */
|
||||
|
||||
toolbar {
|
||||
min-width: 1px;
|
||||
min-height: 20px;
|
||||
border-top: 1px solid ThreeDHighlight;
|
||||
border-bottom: 1px solid ThreeDShadow;
|
||||
}
|
||||
|
||||
toolbar[type="menubar"], menubar {
|
||||
min-width: 1px;
|
||||
min-height: 20px;
|
||||
border-bottom: 1px solid ThreeDShadow;
|
||||
border-top: 0px !important;
|
||||
}
|
||||
|
||||
/* ::::: toolbar decorations ::::: */
|
||||
|
||||
toolbarseparator {
|
||||
margin : 2px 0.2em;
|
||||
border-right : 1px solid ThreeDHighlight;
|
||||
border-left : 1px solid ThreeDShadow;
|
||||
width : 2px;
|
||||
}
|
||||
|
||||
toolbarspacer {
|
||||
width: 15px;
|
||||
}
|
||||
|
||||
/* ::::: toolbarpaletteitem ::::: */
|
||||
|
||||
toolbarpaletteitem {
|
||||
cursor: -moz-grab;
|
||||
}
|
||||
|
||||
.toolbarpaletteitem-box[type="spacer"],
|
||||
.toolbarpaletteitem-box[type="spring"] {
|
||||
border: 1px solid #808080;
|
||||
background-color: #FFF !important;
|
||||
}
|
||||
|
||||
toolbarpaletteitem[place="toolbar"] {
|
||||
margin-left: -2px;
|
||||
margin-right: -2px;
|
||||
border-left: 2px solid transparent;
|
||||
border-right: 2px solid transparent;
|
||||
}
|
||||
|
||||
toolbarpaletteitem[place="toolbar"] > toolbarspacer {
|
||||
width: 11px;
|
||||
}
|
||||
|
||||
.toolbarpaletteitem-box[type="spacer"][place="toolbar"],
|
||||
.toolbarpaletteitem-box[type="spring"][place="toolbar"] {
|
||||
margin: 2px 2px 2px 0;
|
||||
}
|
||||
|
||||
.toolbarpaletteitem-box[type="separator"][place="palette"] {
|
||||
width: 2px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.toolbarpaletteitem-box[type="spacer"][place="palette"],
|
||||
.toolbarpaletteitem-box[type="spring"][place="palette"] {
|
||||
margin-bottom: 2px;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.toolbarpaletteitem-box[type="spring"][place="palette"] {
|
||||
background: url("chrome://global/skin/toolbar/spring.gif") no-repeat center;
|
||||
}
|
||||
|
||||
/* ..... drag and drop feedback ..... */
|
||||
|
||||
toolbarpaletteitem[dragover="left"] {
|
||||
border-left-color: #000000;
|
||||
}
|
||||
|
||||
toolbarpaletteitem[dragover="right"] {
|
||||
border-right-color: #000000;
|
||||
}
|
||||
|
|
|
@ -101,12 +101,24 @@
|
|||
|
||||
#defaultAppName {
|
||||
margin-left: 6px !important;
|
||||
}
/*
#fileHandlersListContainer {
-moz-binding: url("chrome://mozapps/skin/downloads/downloads.xml#download-view");
|
||||
}
|
||||
|
||||
/*
|
||||
#fileHandlersListContainer {
|
||||
-moz-binding: url("chrome://mozapps/skin/downloads/downloads.xml#download-view");
|
||||
-moz-appearance: listbox;
|
||||
-moz-user-focus: normal;
|
||||
}
* We apply the background to both of these elements since the tree leaves a 2-3px
* strip on its right side unpainted. We can't just paint the background layer either
* because the tree erases its background with white, obscuring the bottom layer.
#fileHandlersList, #fileHandlersListContainer > .downloadViewInner1 {
background-image: url("chrome://mozapps/skin/downloads/downloadsBG.png");
|
||||
}
|
||||
|
||||
* We apply the background to both of these elements since the tree leaves a 2-3px
|
||||
* strip on its right side unpainted. We can't just paint the background layer either
|
||||
* because the tree erases its background with white, obscuring the bottom layer.
|
||||
#fileHandlersList, #fileHandlersListContainer > .downloadViewInner1 {
|
||||
background-image: url("chrome://mozapps/skin/downloads/downloadsBG.png");
|
||||
background-attachment: fixed;
|
||||
background-repeat: no-repeat;
|
||||
background-position: bottom right;
-moz-appearance: none;
border: none;
|
||||
background-position: bottom right;
|
||||
-moz-appearance: none;
|
||||
border: none;
|
||||
}
|
||||
*/
|
||||
|
|
|
@ -72,16 +72,16 @@ NS_IMETHODIMP nsBidiKeyboard::SetLangFromBidiLevel(PRUint8 aLevel)
|
|||
|
||||
NS_ASSERTION(*currentLocaleName,
|
||||
"currentLocaleName has string length == 0");
|
||||
|
||||
#if 0
|
||||
/* This implementation of automatic keyboard layout switching is too buggy to be useful
|
||||
and the feature itself is inconsistent with Windows. See Bug 162242 */
|
||||
|
||||
#if 0
|
||||
/* This implementation of automatic keyboard layout switching is too buggy to be useful
|
||||
and the feature itself is inconsistent with Windows. See Bug 162242 */
|
||||
if (strcmp(mCurrentLocaleName, currentLocaleName)) {
|
||||
if (!::LoadKeyboardLayout(currentLocaleName, KLF_ACTIVATE | KLF_SUBSTITUTE_OK)) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
|
@ -95,9 +95,9 @@ NS_IMETHODIMP nsDragService::InvokeDragSession (nsIDOMNode *aDOMNode, nsISupport
|
|||
// Try and get source URI of the items that are being dragged
|
||||
nsIURI *uri = nsnull;
|
||||
|
||||
nsCOMPtr<nsIDocument> doc(do_QueryInterface(mSourceDocument));
|
||||
if (doc) {
|
||||
uri = doc->GetDocumentURI();
|
||||
nsCOMPtr<nsIDocument> doc(do_QueryInterface(mSourceDocument));
|
||||
if (doc) {
|
||||
uri = doc->GetDocumentURI();
|
||||
}
|
||||
|
||||
PRUint32 numItemsToDrag = 0;
|
||||
|
|
|
@ -1,352 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla 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/MPL/
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Netscape Communications Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 1998
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Bill Law law@netscape.com
|
||||
* IBM Corp.
|
||||
* Achim Hasenmueller <achimha@innotek.de>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either of the GNU General Public License Version 2 or later (the "GPL"),
|
||||
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
// Splash screen dialog ID.
|
||||
#define IDD_SPLASH 100
|
||||
|
||||
// Splash screen bitmap ID.
|
||||
#define IDB_SPLASH 101
|
||||
|
||||
// DDE application name
|
||||
#define ID_DDE_APPLICATION_NAME 102
|
||||
|
||||
/*
|
||||
* OS/2 DDEML library headers
|
||||
* For more information, please refer to the Windows documentation
|
||||
*/
|
||||
|
||||
#ifndef _H_DDEML
|
||||
#define _H_DDEML
|
||||
|
||||
/* all structures must be byte aligned */
|
||||
#pragma pack(1)
|
||||
|
||||
/* custom type definitions */
|
||||
typedef LHANDLE HCONV;
|
||||
typedef LHANDLE HCONVLIST;
|
||||
typedef LHANDLE HDATA;
|
||||
typedef LHANDLE HDDEINST;
|
||||
typedef LHANDLE HSZ;
|
||||
typedef HCONV *PHCONV;
|
||||
typedef HCONVLIST *PHCONVLIST;
|
||||
typedef HDATA *PHDATA;
|
||||
typedef HDDEINST *PHDDEINST;
|
||||
typedef HSZ *PHSZ;
|
||||
typedef HDATA (APIENTRY FNDDECB)(ULONG, USHORT, USHORT, HCONV, HSZ, HSZ, HDATA, ULONG, ULONG);
|
||||
typedef FNDDECB *PFNDDECB;
|
||||
|
||||
/* constant definitions */
|
||||
#define XCLASS_BOOL 0x1000
|
||||
#define XCLASS_DATA 0x2000
|
||||
#define XCLASS_FLAGS 0x4000
|
||||
#define XCLASS_NOTIFICATION 0x8000
|
||||
#define XTYPF_NOBLOCK 0x0002
|
||||
#define XTYPF_NODATA 0x0004
|
||||
#define XTYPF_ACKREQ 0x0008
|
||||
#define XTYP_ERROR (0x0000 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK)
|
||||
#define XTYP_ADVDATA (0x0010 | XCLASS_FLAGS)
|
||||
#define XTYP_ADVREQ (0x0020 | XCLASS_DATA | XTYPF_NOBLOCK)
|
||||
#define XTYP_ADVSTART (0x0030 | XCLASS_BOOL)
|
||||
#define XTYP_ADVSTOP (0x0040 | XCLASS_NOTIFICATION)
|
||||
#define XTYP_EXECUTE (0x0050 | XCLASS_FLAGS)
|
||||
#define XTYP_CONNECT (0x0060 | XCLASS_BOOL | XTYPF_NOBLOCK)
|
||||
#define XTYP_CONNECT_CONFIRM (0x0070 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK)
|
||||
#define XTYP_XACT_COMPLETE (0x0080 | XCLASS_NOTIFICATION)
|
||||
#define XTYP_POKE (0x0090 | XCLASS_FLAGS)
|
||||
#define XTYP_REGISTER (0x00A0 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK)
|
||||
#define XTYP_REQUEST (0x00B0 | XCLASS_DATA)
|
||||
#define XTYP_DISCONNECT (0x00C0 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK)
|
||||
#define XTYP_UNREGISTER (0x00D0 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK)
|
||||
#define XTYP_WILDCONNECT (0x00E0 | XCLASS_DATA | XTYPF_NOBLOCK)
|
||||
#define XTYP_MONITOR (0x00F0 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK)
|
||||
#define ST_CONNECTED ((USHORT)0x0001)
|
||||
#define ST_ADVISE ((USHORT)0x0002)
|
||||
#define ST_ISLOCAL ((USHORT)0x0004)
|
||||
#define ST_BLOCKED ((USHORT)0x0008)
|
||||
#define ST_CLIENT ((USHORT)0x0010)
|
||||
#define ST_TERMINATED ((USHORT)0x0020)
|
||||
#define ST_INLIST ((USHORT)0x0040)
|
||||
#define ST_BLOCKNEXT ((USHORT)0x0080)
|
||||
#define ST_ISSELF ((USHORT)0x0100)
|
||||
#define XST_NULL 0
|
||||
#define XST_INCOMPLETE 1
|
||||
#define XST_CONNECTED 2
|
||||
#define XST_INITSENT 3
|
||||
#define XST_INITACKRCVD 4
|
||||
#define XST_REQSENT 5
|
||||
#define XST_DATARCVD 6
|
||||
#define XST_POKESENT 7
|
||||
#define XST_POKEACKRCVD 8
|
||||
#define XST_EXECSENT 9
|
||||
#define XST_EXECACKRCVD 10
|
||||
#define XST_ADVSENT 11
|
||||
#define XST_UNADVSENT 12
|
||||
#define XST_ADVACKRCVD 13
|
||||
#define XST_UNADVACKRCVD 14
|
||||
#define XST_ADVDATASENT 15
|
||||
#define XST_ADVDATAACKRCVD 16
|
||||
#define MF_HSZ ((ULONG)0x01000000L)
|
||||
#define MF_SENDMSGS ((ULONG)0x02000000L)
|
||||
#define MF_POSTMSGS ((ULONG)0x04000000L)
|
||||
#define MF_CALLBACKS ((ULONG)0x08000000L)
|
||||
#define MF_ERRORS ((ULONG)0x10000000L)
|
||||
#define MF_LINKS ((ULONG)0x20000000L)
|
||||
#define MF_CONV ((ULONG)0x40000000L)
|
||||
#define CBF_FAIL_SELFCONNECTIONS ((ULONG)0x00001000L)
|
||||
#define CBF_FAIL_CONNECTIONS ((ULONG)0x00002000L)
|
||||
#define CBF_FAIL_ADVISES ((ULONG)0x00004000L)
|
||||
#define CBF_FAIL_EXECUTES ((ULONG)0x00008000L)
|
||||
#define CBF_FAIL_POKES ((ULONG)0x00010000L)
|
||||
#define CBF_FAIL_REQUESTS ((ULONG)0x00020000L)
|
||||
#define CBF_FAIL_ALLSVRXACTIONS ((ULONG)0x0003f000L)
|
||||
#define CBF_SKIP_CONNECT_CONFIRMS ((ULONG)0x00040000L)
|
||||
#define CBF_SKIP_REGISTRATIONS ((ULONG)0x00080000L)
|
||||
#define CBF_SKIP_UNREGISTRATIONS ((ULONG)0x00100000L)
|
||||
#define CBF_SKIP_DISCONNECTS ((ULONG)0x00200000L)
|
||||
#define CBF_SKIP_ALLNOTIFICATIONS ((ULONG)0x003c0000L)
|
||||
#define CBF_MASK ((ULONG)0x00FFF000L)
|
||||
#define APPF_CLIENTONLY ((ULONG)0x00000010L)
|
||||
#define APPF_FILTERINITS ((ULONG)0x00000020L)
|
||||
#define APPF_MASK ((ULONG)0x00000FF0L)
|
||||
#define APPCLASS_STANDARD ((ULONG)0x00000000L)
|
||||
#define APPCLASS_MONITOR ((ULONG)0x00000001L)
|
||||
#define APPCLASS_MASK ((ULONG)0x0000000FL)
|
||||
#define CBR_BLOCK ((ULONG)-1L)
|
||||
#define QID_SYNC ((ULONG)-1L)
|
||||
#define TIMEOUT_ASYNC ((ULONG)-1L)
|
||||
#define CADV_LATEACK 0xFFFF
|
||||
#define MH_CREATE ((USHORT)0x0001)
|
||||
#define MH_KEEP ((USHORT)0x0002)
|
||||
#define MH_DELETE ((USHORT)0x0003)
|
||||
#define MH_CLEANUP ((USHORT)0x0004)
|
||||
#define MH_SYS_CREATE ((USHORT)0x0005)
|
||||
#define MH_SYS_KEEP ((USHORT)0x0006)
|
||||
#define MH_SYS_DELETE ((USHORT)0x0007)
|
||||
#define DDEERR_NO_ERROR 0
|
||||
#define DDEERR_FIRST 0x7000
|
||||
#define DDEERR_BUSY 0x7001
|
||||
#define DDEERR_INVALID_USAGE 0x7002
|
||||
#define DDEERR_INVALID_PARAMETER 0x7003
|
||||
#define DDEERR_MEMORY_ERROR 0x7004
|
||||
#define DDEERR_NO_CONV_ESTABLISHED 0x7005
|
||||
#define DDEERR_NO_MEMORY 0x7006
|
||||
#define DDEERR_NO_MSG_QUEUE 0x7007
|
||||
#define DDEERR_NOT_INITIALIZED 0x7008
|
||||
#define DDEERR_NOT_PROCESSED 0x7009
|
||||
#define DDEERR_POSTMSG_FAILED 0x700a
|
||||
#define DDEERR_REENTRANCY 0x700b
|
||||
#define DDEERR_SERVER_DIED 0x700c
|
||||
#define DDEERR_SYSTEM_ERROR 0x700d
|
||||
#define DDEERR_TIMEOUT_ADVACK 0x700e
|
||||
#define DDEERR_TIMEOUT_EXECACK 0x700f
|
||||
#define DDEERR_TIMEOUT_POKEACK 0x7010
|
||||
#define DDEERR_TIMEOUT_DATAACK 0x7011
|
||||
#define DDEERR_TIMEOUT_UNADVACK 0x7012
|
||||
#define DDEERR_UNKNOWN_QUEUE_ID 0x7013
|
||||
#define DDEERR_LAST 0x70FF
|
||||
#define CSH_CASESENSITIVE ((ULONG)0x00000001L)
|
||||
#define CSH_ERROR 0L
|
||||
#define CSH_EQ 1L
|
||||
#define CSH_LT 2L
|
||||
#define CSH_GT 3L
|
||||
#define HDATA_APPOWNED ((ULONG)DDEPM_NOFREE)
|
||||
#define EC_ENABLEALL ((USHORT) 0x0000)
|
||||
#define EC_ENABLEONE ST_BLOCKNEXT
|
||||
#define EC_DISABLE ST_BLOCKED
|
||||
#define EC_QUERYWAITING ((USHORT)0x0002)
|
||||
#define DNS_REGISTER ((ULONG)0x00000001L)
|
||||
#define DNS_UNREGISTER ((ULONG)0x00000002L)
|
||||
#define DNS_FILTERON ((ULONG)0x00000004L)
|
||||
#define DNS_FILTEROFF ((ULONG)0x00000008L)
|
||||
|
||||
/* structure definitions */
|
||||
typedef struct
|
||||
{
|
||||
ULONG cb;
|
||||
ULONG hUser;
|
||||
HCONV hConvPartner;
|
||||
HSZ hszServicePartner;
|
||||
HSZ hszServiceRequest;
|
||||
HSZ hszTopic;
|
||||
HSZ hszItem;
|
||||
USHORT usFormat;
|
||||
USHORT fsType;
|
||||
USHORT fsStatus;
|
||||
USHORT usState;
|
||||
ULONG ulLastError;
|
||||
HCONVLIST hConvList;
|
||||
CONVCONTEXT ConvCtxt;
|
||||
HWND hwnd;
|
||||
HWND hwndPartner;
|
||||
} CONVINFO, *PCONVINFO;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
HSZ hszService;
|
||||
HSZ hszTopic;
|
||||
} HSZPAIR, *PHSZPAIR;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
ULONG cb;
|
||||
ULONG ulTime;
|
||||
ULONG hTask;
|
||||
ULONG ulRet;
|
||||
USHORT fsType;
|
||||
USHORT usFormat;
|
||||
HCONV hConv;
|
||||
HSZ hsz1;
|
||||
HSZ hsz2;
|
||||
HDATA hData;
|
||||
ULONG ulData1;
|
||||
ULONG ulData2;
|
||||
CONVCONTEXT ConvCtxt;
|
||||
ULONG cbData;
|
||||
BYTE abData[32];
|
||||
} MONCBSTRUCT, *PMONCBSTRUCT;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
ULONG cb;
|
||||
BOOL fConnect;
|
||||
ULONG ulTime;
|
||||
ULONG hTaskPartner;
|
||||
HSZ hszService;
|
||||
HSZ hszTopic;
|
||||
HCONV hConvClient;
|
||||
HCONV hConvServer;
|
||||
} MONCONVSTRUCT, *PMONCONVSTRUCT;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
ULONG cb;
|
||||
ULONG ulLastError;
|
||||
ULONG ulTime;
|
||||
ULONG hTask;
|
||||
} MONERRSTRUCT, *PMONERRSTRUCT;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
ULONG cb;
|
||||
USHORT fsAction;
|
||||
ULONG ulTime;
|
||||
HSZ hsz;
|
||||
ULONG hTask;
|
||||
ULONG ulReserved;
|
||||
CHAR szString[1];
|
||||
} MONHSZSTRUCT, *PMONHSZSTRUCT;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
ULONG cb;
|
||||
ULONG ulTime;
|
||||
ULONG hTask;
|
||||
HSZ hszService;
|
||||
HSZ hszTopic;
|
||||
HSZ hszItem;
|
||||
HCONV hConvServer;
|
||||
HCONV hConvClient;
|
||||
BOOL fServer;
|
||||
BOOL fEstablished;
|
||||
USHORT fsStatus;
|
||||
USHORT usFormat;
|
||||
} MONLINKSTRUCT, *PMONLINKSTRUCT;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
ULONG cb;
|
||||
HWND hwndTo;
|
||||
ULONG ulTime;
|
||||
ULONG hTask;
|
||||
ULONG idMsg;
|
||||
MPARAM mp1;
|
||||
MPARAM mp2;
|
||||
USHORT fsStatus;
|
||||
USHORT usFormat;
|
||||
USHORT offszString1;
|
||||
USHORT offszString2;
|
||||
ULONG cbData;
|
||||
BYTE abData[32];
|
||||
} MONMSGSTRUCT, *PMONMSGSTRUCT;
|
||||
|
||||
|
||||
/* API definitions */
|
||||
BOOL (* APIENTRY WinDdeAbandonTransaction)(HDDEINST, HCONV, ULONG);
|
||||
PVOID (* APIENTRY WinDdeAccessData)(HDATA, PULONG);
|
||||
HDATA (* APIENTRY WinDdeAddData)(HDATA, PVOID, ULONG, ULONG);
|
||||
ULONG (* APIENTRY WinDdeCompareStringHandles)(HSZ, HSZ, ULONG);
|
||||
HCONV (* APIENTRY WinDdeConnect)(HDDEINST, HSZ, HSZ, PCONVCONTEXT);
|
||||
HCONVLIST (* APIENTRY WinDdeConnectList)(HDDEINST, HSZ, HSZ, HCONVLIST, PCONVCONTEXT);
|
||||
HDATA (* APIENTRY WinDdeCreateDataHandle)(PVOID, ULONG, ULONG, HSZ, USHORT, ULONG);
|
||||
HSZ (* APIENTRY WinDdeCreateStringHandle)(PSZ, ULONG);
|
||||
BOOL (* APIENTRY WinDdeDisconnect)(HCONV);
|
||||
BOOL (* APIENTRY WinDdeDisconnectList)(HCONVLIST);
|
||||
BOOL (* APIENTRY WinDdeEnableCallback)(HDDEINST, HCONV, ULONG);
|
||||
BOOL (* APIENTRY WinDdeFreeDataHandle)(HDATA);
|
||||
BOOL (* APIENTRY WinDdeFreeStringHandle)(HSZ);
|
||||
ULONG (* APIENTRY WinDdeGetData)(HDATA, PVOID, ULONG, ULONG);
|
||||
ULONG (* APIENTRY WinDdeInitialize)(PHDDEINST, PFNDDECB, ULONG, ULONG);
|
||||
BOOL (* APIENTRY WinDdeKeepStringHandle)(HSZ);
|
||||
HDATA (* APIENTRY WinDdeNameService)(HDDEINST, HSZ, HSZ, ULONG);
|
||||
BOOL (* APIENTRY WinDdePostAdvise)(HDDEINST, HSZ, HSZ);
|
||||
ULONG (* APIENTRY WinDdeQueryConvInfo)(HCONV, ULONG, PCONVINFO);
|
||||
HCONV (* APIENTRY WinDdeQueryNextServer)(HCONVLIST, HCONV);
|
||||
ULONG (* APIENTRY WinDdeQueryString)(HSZ, PSZ, ULONG, ULONG);
|
||||
HCONV (* APIENTRY WinDdeReconnect)(HCONV);
|
||||
BOOL (* APIENTRY WinDdeSetUserHandle)(HCONV, ULONG, ULONG);
|
||||
HDATA (* APIENTRY WinDdeSubmitTransaction)(PVOID, ULONG, HCONV, HSZ, USHORT, USHORT, ULONG, PULONG);
|
||||
BOOL (* APIENTRY WinDdeUninitialize)(HDDEINST);
|
||||
|
||||
/* restore structure packing */
|
||||
#pragma pack()
|
||||
|
||||
#endif /* _H_DDEML */
|
||||
|
||||
typedef ULONG DWORD;
|
||||
typedef PBYTE LPBYTE;
|
||||
typedef HDATA HDDEDATA;
|
||||
|
||||
#define CP_WINANSI 0 // When 0 is specified for codepage on these
|
||||
// dde functions, it will use the codepage
|
||||
// that is associated with the current thread.
|
||||
// CP_WINANSI in win32 means that the non
|
||||
// unicode version of DdeCreateStringHandle
|
||||
// was used.
|
|
@ -59,7 +59,7 @@
|
|||
<script type="application/x-javascript" src="chrome://global/content/filepicker.js"/>
|
||||
|
||||
<hbox align="center">
|
||||
<label value="&lookInMenuList.label;" control="lookInMenuList" accesskey="&lookInMenuList.accesskey;"/>
|
||||
<label value="&lookInMenuList.label;" control="lookInMenuList" accesskey="&lookInMenuList.accesskey;"/>
|
||||
<menulist id="lookInMenuList" flex="1" oncommand="onDirectoryChanged(event.target);" crop="start">
|
||||
<menupopup id="lookInMenu"/>
|
||||
</menulist>
|
||||
|
@ -100,19 +100,19 @@
|
|||
|
||||
<rows>
|
||||
<row align="center">
|
||||
<label value="&textInput.label;" id="textInputLabel" control="textInput" accesskey="&textInput.accesskey;"/>
|
||||
<label value="&textInput.label;" id="textInputLabel" control="textInput" accesskey="&textInput.accesskey;"/>
|
||||
<textbox id="textInput" flex="1" oninput="doEnabling()"
|
||||
onfocus="onTextFieldFocus();"/>
|
||||
</row>
|
||||
<row id="filterBox" hidden="true" align="center">
|
||||
<label value="&filterMenuList.label;" control="filterMenuList" accesskey="&filterMenuList.accesskey;"/>
|
||||
<label value="&filterMenuList.label;" control="filterMenuList" accesskey="&filterMenuList.accesskey;"/>
|
||||
<menulist id="filterMenuList" flex="1" oncommand="onFilterChanged(event.target);"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<hbox class="dialog-button-box" align="center">
|
||||
<checkbox label="&showHiddenFiles.label;" oncommand="toggleShowHidden();"
|
||||
flex="1" align="left" accesskey="&showHiddenFiles.accesskey;"/>
|
||||
flex="1" align="left" accesskey="&showHiddenFiles.accesskey;"/>
|
||||
<button dlgtype="accept" class="dialog-button"/>
|
||||
<button dlgtype="cancel" class="dialog-button"/>
|
||||
</hbox>
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
<!ENTITY lookInMenuList.label "Look in:">
|
||||
<!ENTITY lookInMenuList.accesskey "L">
|
||||
<!ENTITY lookInMenuList.accesskey "L">
|
||||
<!ENTITY textInput.label "File name:">
|
||||
<!ENTITY textInput.accesskey "n">
|
||||
<!ENTITY textInput.accesskey "n">
|
||||
<!ENTITY filterMenuList.label "Files of type:">
|
||||
<!ENTITY filterMenuList.accesskey "t">
|
||||
<!ENTITY filterMenuList.accesskey "t">
|
||||
<!ENTITY name.label "Name">
|
||||
<!ENTITY size.label "Size">
|
||||
<!ENTITY lastModified.label "Last Modified">
|
||||
<!ENTITY permissions.label "Permissions">
|
||||
<!ENTITY showHiddenFiles.label "Show hidden files and directories">
|
||||
<!ENTITY showHiddenFiles.accesskey "S">
|
||||
<!ENTITY showHiddenFiles.accesskey "S">
|
||||
|
||||
<!ENTITY noPermissionError.label "You do not have the permissions necessary to view this directory.">
|
||||
|
||||
|
|
|
@ -1,45 +0,0 @@
|
|||
function upgradeCleanup()
|
||||
{
|
||||
// Obsolete files from previous Netscape installation which
|
||||
// need to be cleaned up.
|
||||
deleteThisFile("Components", "l10n.ini");
|
||||
}
|
||||
|
||||
// main
|
||||
var srDest;
|
||||
var err;
|
||||
var communicatorFolder;
|
||||
|
||||
srDest = $SpaceRequired$;
|
||||
err = initInstall("Quality Feedback Utility", "Quality Feedback Utility", "$Version$");
|
||||
logComment("initInstall: " + err);
|
||||
|
||||
communicatorFolder = getFolder("Communicator");
|
||||
logComment("communicatorFolder: " + communicatorFolder);
|
||||
|
||||
if(verifyDiskSpace(communicatorFolder, srDest))
|
||||
{
|
||||
setPackageFolder(communicatorFolder);
|
||||
|
||||
upgradeCleanup();
|
||||
err = addDirectory("",
|
||||
"$Version$",
|
||||
"bin", // dir name in jar to extract
|
||||
communicatorFolder, // Where to put this file (Returned from getFolder)
|
||||
"", // subdir name to create relative to communicatorFolder
|
||||
true ); // Force Flag
|
||||
logComment("addDirectory() returned: " + err);
|
||||
|
||||
// check return value
|
||||
if(!err)
|
||||
{
|
||||
err = performInstall();
|
||||
logComment("performInstall() returned: " + err);
|
||||
}
|
||||
else
|
||||
cancelInstall(err);
|
||||
}
|
||||
else
|
||||
cancelInstall(INSUFFICIENT_DISK_SPACE);
|
||||
|
||||
// end main
|
Загрузка…
Ссылка в новой задаче