Merge mozilla-central to electrolysis

This commit is contained in:
Benjamin Smedberg 2009-12-21 10:22:07 -05:00
commit 19c038b0b2
279 changed files with 10000 additions and 13125 deletions

View File

@ -202,6 +202,9 @@ else
BUILDID = $(shell $(PYTHON) $(srcdir)/config/printconfigsetting.py $(DIST)/bin/platform.ini Build BuildID)
endif
MOZ_SOURCE_STAMP = $(shell hg -R $(srcdir) parent --template="{node|short}\n" 2>/dev/null)
export MOZ_SOURCE_STAMP
#XXX: this is a hack, since we don't want to clobber for MSVC
# PGO support, but we can't do this test in client.mk
ifneq ($(OS_ARCH)_$(GNU_CC), WINNT_)

View File

@ -115,9 +115,9 @@ function addA11yLoadEvent(aFunc)
if (state.value & STATE_BUSY)
return waitForDocLoad();
aFunc.call();
window.setTimeout(aFunc, 150);
},
200
0
);
}
@ -125,7 +125,7 @@ function addA11yLoadEvent(aFunc)
}
////////////////////////////////////////////////////////////////////////////////
// Get DOM node/accesible helpers
// Helpers for getting DOM node/accessible
/**
* Return the DOM node by identifier (may be accessible, DOM node or ID).

View File

@ -69,9 +69,9 @@ GRE_BUILDID = $(shell $(PYTHON) $(topsrcdir)/config/printconfigsetting.py $(LIBX
DEFINES += -DGRE_MILESTONE=$(GRE_MILESTONE) -DGRE_BUILDID=$(GRE_BUILDID)
SOURCE_STAMP := $(shell cd $(topsrcdir) ; hg identify . 2>/dev/null | cut -f1 -d' ')
ifdef SOURCE_STAMP
DEFINES += -DMOZ_SOURCE_STAMP="$(SOURCE_STAMP)"
MOZ_SOURCE_STAMP ?= $(shell hg -R $(topsrcdir) parent --template="{node|short}\n" 2>/dev/null)
ifdef MOZ_SOURCE_STAMP
DEFINES += -DMOZ_SOURCE_STAMP="$(MOZ_SOURCE_STAMP)"
endif
SOURCE_REPO := $(shell hg -R $(topsrcdir) showconfig paths.default 2>/dev/null | sed -e "s/^ssh:/http:/")

View File

@ -148,11 +148,11 @@ window[chromehidden~="toolbar"] toolbar:not(.toolbar-primary):not(.chromeclass-m
#navigator-toolbox[inFullscreen="true"] > #fullscr-toggler,
#nav-bar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
display: -moz-box;
display: -moz-box;
}
#nav-bar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text {
display: none;
display: none;
}
/* ::::: Keyboard UI Panel ::::: */

View File

@ -440,6 +440,8 @@ const gPopupBlockerObserver = {
if (gPrivateBrowsingUI.privateBrowsingEnabled)
blockedPopupAllowSite.setAttribute("disabled", "true");
else
blockedPopupAllowSite.removeAttribute("disabled");
var item = aEvent.target.lastChild;
while (item && item.getAttribute("observes") != "blockedPopupsSeparator") {
@ -1062,8 +1064,6 @@ function BrowserStartup() {
gURLBar.setAttribute("enablehistory", "false");
}
CombinedStopReload.wrap();
allTabs.readPref();
setTimeout(delayedStartup, 0, isLoadingBlank, mustLoadSidebar);
@ -1388,8 +1388,6 @@ function BrowserShutdown()
ctrlTab.uninit();
allTabs.uninit();
CombinedStopReload.uninit();
gGestureSupport.init(false);
FullScreen.cleanup();
@ -3321,8 +3319,6 @@ function BrowserCustomizeToolbar()
if (splitter)
splitter.parentNode.removeChild(splitter);
CombinedStopReload.unwrap();
var customizeURL = "chrome://global/content/customizeToolbar.xul";
gCustomizeSheet = getBoolPref("toolbar.customization.usesheet", false);
@ -3393,8 +3389,6 @@ function BrowserToolboxCustomizeDone(aToolboxChanged) {
UpdateUrlbarSearchSplitterState();
CombinedStopReload.wrap();
gHomeButton.updatePersonalToolbarStyle();
// Update the urlbar
@ -3951,10 +3945,14 @@ var XULBrowserWindow = {
onStateChange: function (aWebProgress, aRequest, aStateFlags, aStatus) {
const nsIWebProgressListener = Ci.nsIWebProgressListener;
const nsIChannel = Ci.nsIChannel;
if (aStateFlags & nsIWebProgressListener.STATE_START &&
aStateFlags & nsIWebProgressListener.STATE_IS_NETWORK) {
if (aStateFlags & nsIWebProgressListener.STATE_START) {
// This (thanks to the filter) is a network start or the first
// stray request (the first request outside of the document load),
// initialize the throbber and his friends.
if (aRequest && aWebProgress.DOMWindow == content)
// Call start document load listeners (only if this is a network load)
if (aStateFlags & nsIWebProgressListener.STATE_IS_NETWORK &&
aRequest && aWebProgress.DOMWindow == content)
this.startDocumentLoad(aRequest);
this.isBusy = true;
@ -3977,7 +3975,6 @@ var XULBrowserWindow = {
// XXX: This needs to be based on window activity...
this.stopCommand.removeAttribute("disabled");
CombinedStopReload.switchToStop();
}
}
else if (aStateFlags & nsIWebProgressListener.STATE_STOP) {
@ -4045,7 +4042,6 @@ var XULBrowserWindow = {
this.throbberElement.removeAttribute("busy");
this.stopCommand.setAttribute("disabled", "true");
CombinedStopReload.switchToReload(aRequest instanceof Ci.nsIRequest);
}
}
},
@ -4320,105 +4316,7 @@ var XULBrowserWindow = {
} catch (e) {
}
}
};
var CombinedStopReload = {
wrap: function () {
if (this.container)
return;
var stop = document.getElementById("stop-button");
if (!stop)
return;
var reload = document.getElementById("reload-button");
if (!reload)
return;
this._reloadBeforeStop = (reload.nextSibling == stop);
if (!this._reloadBeforeStop && stop.nextSibling != reload)
return;
this.container = document.createElement("deck");
this.container.id = "stop-reload-container";
stop.parentNode.replaceChild(this.container, stop);
this.container.appendChild(stop);
this.container.appendChild(reload);
this.stop = stop;
this.reload = reload;
this.container.selectedPanel =
XULBrowserWindow.stopCommand.getAttribute("disabled") == "true"
? reload : stop;
stop.addEventListener("click", this, false);
},
handleEvent: function (event) {
// the only event we listen to is "click" on the stop button
if (event.button == 0 &&
!this.stop.disabled)
this._stopClicked = true;
},
switchToStop: function () {
if (!this.container)
return;
this._cancelTransition();
this.container.selectedPanel = this.stop;
},
switchToReload: function (aDelay) {
if (!this.container)
return;
if (!aDelay || this._stopClicked) {
this._stopClicked = false;
this._cancelTransition();
this.container.selectedPanel = this.reload;
return;
}
if (this._timer)
return;
this._timer = setTimeout(function (self) {
self._timer = 0;
self.container.selectedPanel = self.reload;
}, 650, this);
},
_cancelTransition: function () {
if (this._timer) {
clearTimeout(this._timer);
this._timer = 0;
}
},
unwrap: function () {
if (!this.container)
return;
var toolbar = this.container.parentNode;
if (this._reloadBeforeStop) {
toolbar.replaceChild(this.stop, this.container);
toolbar.insertBefore(this.reload, this.stop);
} else {
toolbar.replaceChild(this.reload, this.container);
toolbar.insertBefore(this.stop, this.reload);
}
this.uninit();
},
uninit: function () {
this._cancelTransition();
if (this.container) {
this.stop.removeEventListener("click", this, false);
this.container = null;
this.reload = null;
this.stop = null;
}
}
};
}
var TabsProgressListener = {
onProgressChange: function (aBrowser, aWebProgress, aRequest,

View File

@ -296,10 +296,16 @@
style="visibility:hidden"/>
</stack>
</panel>
</popupset>
<!-- Bookmarks and history tooltip -->
<tooltip id="bhTooltip"/>
<!-- Bookmarks and history tooltip -->
<tooltip id="bhTooltip"/>
<panel id="customizeToolbarSheetPopup" noautohide="true">
<iframe id="customizeToolbarSheetIFrame"
style="&dialog.style;"
hidden="true"/>
</panel>
</popupset>
<toolbox id="navigator-toolbox" class="toolbox-top" mode="icons"
#ifdef WINCE
@ -596,11 +602,6 @@
onclick="return contentAreaClick(event, false);"/>
</vbox>
</hbox>
<panel id="customizeToolbarSheetPopup" noautohide="true">
<iframe id="customizeToolbarSheetIFrame"
style="&dialog.style;"
hidden="true"/>
</panel>
<vbox id="browser-bottombox">
<findbar browserid="content" id="FindToolbar"/>

View File

@ -92,6 +92,8 @@ var gSanitizePromptDialog = {
if (this.selectedTimespan === Sanitizer.TIMESPAN_EVERYTHING) {
this.prepareWarning();
this.warningBox.hidden = false;
document.title =
this.bundleBrowser.getString("sanitizeDialog2.everything.title");
}
else
this.warningBox.hidden = true;

View File

@ -475,7 +475,7 @@ function buildHelpMenu()
#ifdef MOZ_UPDATER
var updates =
Components.classes["@mozilla.org/updates/update-service;1"].
getService(Components.interfaces.nsIApplicationUpdateService2);
getService(Components.interfaces.nsIApplicationUpdateService);
var um =
Components.classes["@mozilla.org/updates/update-manager;1"].
getService(Components.interfaces.nsIUpdateManager);

View File

@ -471,6 +471,9 @@ var nsBrowserContentHandler = {
}
if (cmdLine.handleFlag("silent", false))
cmdLine.preventDefault = true;
if (cmdLine.findFlag("private-toggle", false) >= 0 &&
cmdLine.state != cmdLine.STATE_INITIAL_LAUNCH)
cmdLine.preventDefault = true;
var searchParam = cmdLine.handleFlagWithParam("search", false);
if (searchParam) {

View File

@ -66,8 +66,7 @@ const BOOKMARKS_BACKUP_MAX_BACKUPS = 10;
// Factory object
const BrowserGlueServiceFactory = {
_instance: null,
createInstance: function (outer, iid)
{
createInstance: function BGSF_createInstance(outer, iid) {
if (outer != null)
throw Components.results.NS_ERROR_NO_AGGREGATION;
return this._instance == null ?
@ -124,8 +123,7 @@ BrowserGlue.prototype = {
_isPlacesLockedObserver: false,
_isPlacesDatabaseLocked: false,
_setPrefToSaveSession: function(aForce)
{
_setPrefToSaveSession: function BG__setPrefToSaveSession(aForce) {
if (!this._saveSession && !aForce)
return;
@ -138,8 +136,7 @@ BrowserGlue.prototype = {
},
// nsIObserver implementation
observe: function(subject, topic, data)
{
observe: function BG_observe(subject, topic, data) {
switch(topic) {
case "xpcom-shutdown":
this._dispose();
@ -217,8 +214,7 @@ BrowserGlue.prototype = {
},
// initialization (called on application startup)
_init: function()
{
_init: function BG__init() {
// observer registration
const osvr = this._observerService;
osvr.addObserver(this, "xpcom-shutdown", false);
@ -241,8 +237,7 @@ BrowserGlue.prototype = {
},
// cleanup (called on application shutdown)
_dispose: function()
{
_dispose: function BG__dispose() {
// observer removal
const osvr = this._observerService;
osvr.removeObserver(this, "xpcom-shutdown");
@ -265,16 +260,14 @@ BrowserGlue.prototype = {
osvr.removeObserver(this, "places-database-locked");
},
_onAppDefaults: function()
{
_onAppDefaults: function BG__onAppDefaults() {
// apply distribution customizations (prefs)
// other customizations are applied in _onProfileStartup()
this._distributionCustomizer.applyPrefDefaults();
},
// profile startup handler (contains profile initialization routines)
_onProfileStartup: function()
{
_onProfileStartup: function BG__onProfileStartup() {
this._sanitizer.onStartup();
// check if we're in safe mode
var app = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULAppInfo).
@ -314,8 +307,7 @@ BrowserGlue.prototype = {
},
// profile shutdown handler (contains profile cleanup routines)
_onProfileShutdown: function()
{
_onProfileShutdown: function BG__onProfileShutdown() {
#ifdef WINCE
// If there's a pending update, clear cache to free up disk space.
try {
@ -335,8 +327,7 @@ BrowserGlue.prototype = {
},
// Browser startup complete. All initial windows have opened.
_onBrowserStartup: function()
{
_onBrowserStartup: function BG__onBrowserStartup() {
// Show about:rights notification, if needed.
if (this._shouldShowRights())
this._showRightsNotification();
@ -389,8 +380,7 @@ BrowserGlue.prototype = {
#endif
},
_onQuitRequest: function(aCancelQuit, aQuitType)
{
_onQuitRequest: function BG__onQuitRequest(aCancelQuit, aQuitType) {
// If user has already dismissed quit request, then do nothing
if ((aCancelQuit instanceof Ci.nsISupportsPRBool) && aCancelQuit.data)
return;
@ -515,7 +505,7 @@ BrowserGlue.prototype = {
* before, if a newer version is available, or if the override pref says to
* always show it.
*/
_shouldShowRights : function () {
_shouldShowRights: function BG__shouldShowRights() {
// Look for an unconditional override pref. If set, do what it says.
// (true --> never show, false --> always show)
try {
@ -547,7 +537,7 @@ BrowserGlue.prototype = {
return true;
},
_showRightsNotification : function () {
_showRightsNotification: function BG__showRightsNotification() {
// Stick the notification onto the selected tab of the active browser window.
var win = this.getMostRecentBrowserWindow();
var browser = win.gBrowser; // for closure in notification bar callback
@ -580,7 +570,7 @@ BrowserGlue.prototype = {
box.persistence = 3; // arbitrary number, just so bar sticks around for a bit
},
_showPluginUpdatePage : function () {
_showPluginUpdatePage: function BG__showPluginUpdatePage() {
this._prefs.setBoolPref(PREF_PLUGINS_NOTIFYUSER, false);
var formatter = Cc["@mozilla.org/toolkit/URLFormatterService;1"].
@ -612,7 +602,7 @@ BrowserGlue.prototype = {
* Set to true by safe-mode dialog to indicate we must restore default
* bookmarks.
*/
_initPlaces: function bg__initPlaces() {
_initPlaces: function BG__initPlaces() {
// We must instantiate the history service since it will tell us if we
// need to import or restore bookmarks due to first-run, corruption or
// forced migration (due to a major schema change).
@ -758,7 +748,7 @@ BrowserGlue.prototype = {
* Note: quit-application-granted notification is received twice
* so replace this method with a no-op when first called.
*/
_shutdownPlaces: function bg__shutdownPlaces() {
_shutdownPlaces: function BG__shutdownPlaces() {
this._backupBookmarks();
// Backup bookmarks to bookmarks.html to support apps that depend
@ -778,7 +768,7 @@ BrowserGlue.prototype = {
/**
* Backup bookmarks if needed.
*/
_backupBookmarks: function nsBrowserGlue__backupBookmarks() {
_backupBookmarks: function BG__backupBookmarks() {
Cu.import("resource://gre/modules/utils.js");
let lastBackupFile = PlacesUtils.backups.getMostRecent();
@ -800,7 +790,7 @@ BrowserGlue.prototype = {
/**
* Show the notificationBox for a locked places database.
*/
_showPlacesLockedNotificationBox: function nsBrowserGlue__showPlacesLockedNotificationBox() {
_showPlacesLockedNotificationBox: function BG__showPlacesLockedNotificationBox() {
var brandBundle = this._bundleService.createBundle("chrome://branding/locale/brand.properties");
var applicationName = brandBundle.GetStringFromName("brandShortName");
var placesBundle = this._bundleService.createBundle("chrome://browser/locale/places/places.properties");
@ -835,7 +825,7 @@ BrowserGlue.prototype = {
box.persistence = -1; // Until user closes it
},
_migrateUI: function bg__migrateUI() {
_migrateUI: function BG__migrateUI() {
var migration = 0;
try {
migration = this._prefs.getIntPref("browser.migration.version");
@ -886,14 +876,14 @@ BrowserGlue.prototype = {
}
},
_getPersist: function bg__getPersist(aSource, aProperty) {
_getPersist: function BG__getPersist(aSource, aProperty) {
var target = this._dataSource.GetTarget(aSource, aProperty, true);
if (target instanceof Ci.nsIRDFLiteral)
return target.Value;
return null;
},
_setPersist: function bg__setPersist(aSource, aProperty, aTarget) {
_setPersist: function BG__setPersist(aSource, aProperty, aTarget) {
this._dirty = true;
try {
var oldTarget = this._dataSource.GetTarget(aSource, aProperty, true);
@ -914,12 +904,12 @@ BrowserGlue.prototype = {
// public nsIBrowserGlue members
// ------------------------------
sanitize: function(aParentWindow)
{
sanitize: function BG_sanitize(aParentWindow) {
this._sanitizer.sanitize(aParentWindow);
},
ensurePlacesDefaultQueriesInitialized: function() {
ensurePlacesDefaultQueriesInitialized:
function BG_ensurePlacesDefaultQueriesInitialized() {
// This is actual version of the smart bookmarks, must be increased every
// time smart bookmarks change.
// When adding a new smart bookmark below, its newInVersion property must
@ -951,13 +941,13 @@ BrowserGlue.prototype = {
getService(Ci.nsIAnnotationService);
var callback = {
_uri: function(aSpec) {
_uri: function BG_EPDQI__uri(aSpec) {
return Cc["@mozilla.org/network/io-service;1"].
getService(Ci.nsIIOService).
newURI(aSpec, null, null);
},
runBatched: function() {
runBatched: function BG_EPDQI_runBatched() {
var smartBookmarks = [];
var bookmarksMenuIndex = 0;
var bookmarksToolbarIndex = 0;
@ -1082,8 +1072,7 @@ BrowserGlue.prototype = {
#endif
// this returns the most recent non-popup browser window
getMostRecentBrowserWindow : function ()
{
getMostRecentBrowserWindow: function BG_getMostRecentBrowserWindow() {
var wm = Cc["@mozilla.org/appshell/window-mediator;1"].
getService(Components.interfaces.nsIWindowMediator);
@ -1147,7 +1136,7 @@ GeolocationPrompt.prototype = {
QueryInterface: XPCOMUtils.generateQI([Ci.nsIGeolocationPrompt]),
prompt: function(request) {
prompt: function GP_prompt(request) {
var pm = Cc["@mozilla.org/permissionmanager;1"].getService(Ci.nsIPermissionManager);
var result = pm.testExactPermission(request.requestingURI, "geo");

View File

@ -624,8 +624,7 @@
<parameter name="aParentPopup"/>
<parameter name="aBefore"/>
<body><![CDATA[
var element = PlacesUIUtils.createMenuItemForNode(aChild);
let element = PlacesUIUtils.createMenuItemForNode(aChild);
if (aBefore)
aParentPopup.insertBefore(element, aBefore);
else {
@ -642,6 +641,28 @@
if (aParentPopup._endMarker != -1)
aParentPopup._endMarker++;
#ifdef XP_MACOSX
// Bug 529062:
// We rely on the menu* bindings, but those aren't never applied
// in native mac menus, for elements which are added to the document
// through appendChild / insertBefore.
if (this.parentNode.parentNode.localName != "menubar")
return;
function applyBinding(elm) {
// getPropertyCSSValue is semi-deprecared, but there's no
// alternative for parsing css_uri values reliably.
let elmBindingURI = window.getComputedStyle(element, "")
.getPropertyCSSValue("-moz-binding");
if (elmBindingURI.primitiveType == CSSPrimitiveValue.CSS_URI)
document.addBinding(elm, elmBindingURI.getStringValue());
}
applyBinding(element);
if (element.localName == "menu")
applyBinding(element.firstChild);
#endif
]]></body>
</method>

View File

@ -548,6 +548,10 @@ function run_test() {
flags: 0,
value: 123,
expires: Ci.nsIAnnotationService.EXPIRE_NEVER };
var hs = Cc["@mozilla.org/browser/nav-history-service;1"].
getService(Ci.nsINavHistoryService);
hs.addVisit(uri("http://www.mozilla.org/"), Date.now() * 1000, null,
hs.TRANSITION_TYPED, false, 0);
var genPageAnnoTxn = ptSvc.setPageAnnotation(uri("http://www.mozilla.org/"), pageAnnoObj);
genPageAnnoTxn.doTransaction();
do_check_true(annosvc.pageHasAnnotation(uri("http://www.mozilla.org/"), "testAnno/testInt"));

View File

@ -403,7 +403,7 @@ var gAdvancedPane = {
{
var aus =
Components.classes["@mozilla.org/updates/update-service;1"].
getService(Components.interfaces.nsIApplicationUpdateService2);
getService(Components.interfaces.nsIApplicationUpdateService);
var enabledPref = document.getElementById("app.update.enabled");
var enableAppUpdate = document.getElementById("enableAppUpdate");

View File

@ -450,7 +450,10 @@ PrivateBrowsingService.prototype = {
case "command-line-startup":
this._obs.removeObserver(this, "command-line-startup");
aSubject.QueryInterface(Ci.nsICommandLine);
this.handle(aSubject);
if (aSubject.findFlag("private", false) >= 0) {
this.privateBrowsingEnabled = true;
this._autoStarted = true;
}
break;
case "sessionstore-browser-state-restored":
if (this._currentStatus == STATE_WAITING_FOR_RESTORE) {
@ -464,14 +467,17 @@ PrivateBrowsingService.prototype = {
// nsICommandLineHandler
handle: function PBS_handle(aCmdLine) {
if (aCmdLine.handleFlag("private", false)) {
this.privateBrowsingEnabled = true;
this._autoStarted = true;
if (aCmdLine.handleFlag("private", false))
; // It has already been handled
else if (aCmdLine.handleFlag("private-toggle", false)) {
this.privateBrowsingEnabled = !this.privateBrowsingEnabled;
this._autoStarted = false;
}
},
get helpInfo PBS_get_helpInfo() {
return " -private Enable private browsing mode.\n";
return " -private Enable private browsing mode.\n" +
" -private-toggle Toggle private browsing mode.\n";
},
// nsIPrivateBrowsingService

View File

@ -48,6 +48,7 @@ _BROWSER_TEST_FILES = \
browser_console_clear.js \
browser_privatebrowsing_beforeunload.js \
browser_privatebrowsing_certexceptionsui.js \
browser_privatebrowsing_commandline_toggle.js \
browser_privatebrowsing_crh.js \
browser_privatebrowsing_downloadmonitor.js \
browser_privatebrowsing_fastswitch.js \
@ -61,6 +62,7 @@ _BROWSER_TEST_FILES = \
browser_privatebrowsing_openlocation.js \
browser_privatebrowsing_pageinfo.js \
browser_privatebrowsing_placestitle.js \
browser_privatebrowsing_popupblocker.js \
browser_privatebrowsing_popupmode.js \
browser_privatebrowsing_searchbar.js \
browser_privatebrowsing_sslsite_transition.js \
@ -73,6 +75,9 @@ _BROWSER_TEST_FILES = \
browser_privatebrowsing_windowtitle_page.html \
browser_privatebrowsing_zoom.js \
browser_privatebrowsing_zoomrestore.js \
ctxmenu.html \
ctxmenu-image.png \
popup.html \
staller.sjs \
title.sjs \
$(NULL)

View File

@ -0,0 +1,160 @@
/* ***** 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 Private Browsing Tests.
*
* The Initial Developer of the Original Code is
* Ehsan Akhgari.
* Portions created by the Initial Developer are Copyright (C) 2009
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Ehsan Akhgari <ehsan.akhgari@gmail.com> (Original Author)
*
* 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 ***** */
// This test makes sure that private browsing toggles correctly via the -private
// command line argument.
function test() {
// initialization
let pb = Cc["@mozilla.org/privatebrowsing;1"].
getService(Ci.nsIPrivateBrowsingService);
let ww = Cc["@mozilla.org/embedcomp/window-watcher;1"].
getService(Ci.nsIWindowWatcher);
waitForExplicitFinish();
function simulatePrivateCommandLineArgument() {
function testprivatecl() {
}
testprivatecl.prototype = {
_arguments: ["private-toggle"],
get length getLength() {
return this._arguments.length;
},
getArgument: function getArgument(aIndex) {
return this._arguments[aIndex];
},
findFlag: function findFlag(aFlag, aCaseSensitive) {
for (let i = 0; i < this._arguments.length; ++i)
if (aCaseSensitive ?
(this._arguments[i] == aFlag) :
(this._arguments[i].toLowerCase() == aFlag.toLowerCase()))
return i;
return -1;
},
removeArguments: function removeArguments(aStart, aEnd) {
this._arguments.splice(aStart, aEnd - aStart + 1);
},
handleFlag: function handleFlag (aFlag, aCaseSensitive) {
let res = this.findFlag(aFlag, aCaseSensitive);
if (res > -1) {
this.removeArguments(res, res);
return true;
}
return false;
},
handleFlagWithParam: function handleFlagWithParam(aFlag, aCaseSensitive) {
return null;
},
STATE_INITIAL_LAUNCH: 0,
STATE_REMOTE_AUTO: 1,
STATE_REMOTE_EXPLICIT: 2,
get state getState() {
return this.STATE_REMOTE_AUTO;
},
preventDefault: false,
workingDirectory: null,
windowContext: null,
resolveFile: function resolveFile (aArgument) {
return null;
},
resolveURI: function resolveURI (aArgument) {
return null;
},
QueryInterface: function(aIID) {
if (!aIID.equals(Ci.nsICommandLine)
&& !aIID.equals(Ci.nsISupports))
throw Cr.NS_ERROR_NO_INTERFACE;
return this;
}
};
let testcl = new testprivatecl();
let catMan = Cc["@mozilla.org/categorymanager;1"].
getService(Ci.nsICategoryManager);
let categories = catMan.enumerateCategory("command-line-handler");
while (categories.hasMoreElements()) {
let category = categories.getNext().QueryInterface(Ci.nsISupportsCString).data;
let contractID = catMan.getCategoryEntry("command-line-handler", category);
let handler = Cc[contractID].getService(Ci.nsICommandLineHandler);
handler.handle(testcl);
}
}
let observer = {
observe: function (aSubject, aTopic, aData) {
isnot(aTopic, "domwindowopened", "The -private-toggle argument should be silent");
}
};
ww.registerNotification(observer);
let tab = gBrowser.selectedTab;
let browser = gBrowser.getBrowserForTab(tab);
browser.addEventListener("load", function () {
browser.removeEventListener("load", arguments.callee, true);
ok(!pb.privateBrowsingEnabled, "The private browsing mode should not be started");
is(browser.contentWindow.location, "about:", "The correct page has been loaded");
simulatePrivateCommandLineArgument();
tab = gBrowser.selectedTab;
browser = gBrowser.getBrowserForTab(tab);
browser.addEventListener("load", function() {
browser.removeEventListener("load", arguments.callee, true);
ok(pb.privateBrowsingEnabled, "The private browsing mode should be started");
is(browser.contentWindow.location, "about:privatebrowsing",
"about:privatebrowsing should now be loaded");
simulatePrivateCommandLineArgument();
tab = gBrowser.selectedTab;
browser = gBrowser.getBrowserForTab(tab);
browser.addEventListener("load", function() {
browser.removeEventListener("load", arguments.callee, true);
ok(!pb.privateBrowsingEnabled, "The private browsing mode should be stopped");
is(browser.contentWindow.location, "about:",
"about: should now be loaded");
let newTab = gBrowser.addTab();
gBrowser.removeTab(tab);
ww.unregisterNotification(observer);
finish();
}, true);
}, true);
}, true);
browser.loadURI("about:");
}

View File

@ -0,0 +1,89 @@
/* ***** 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 Private Browsing Tests.
*
* The Initial Developer of the Original Code is
* Ehsan Akhgari.
* Portions created by the Initial Developer are Copyright (C) 2009
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Ehsan Akhgari <ehsan.akhgari@gmail.com> (Original Author)
*
* 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 ***** */
// This test makes sure that private browsing mode disables the Block Image
// context menu item.
function test() {
// initialization
let pb = Cc["@mozilla.org/privatebrowsing;1"].
getService(Ci.nsIPrivateBrowsingService);
const TEST_URI = "http://localhost:8888/browser/browser/components/privatebrowsing/test/browser/ctxmenu.html";
waitForExplicitFinish();
function checkBlockImageMenuItem(expectedHidden, callback) {
let tab = gBrowser.addTab();
gBrowser.selectedTab = tab;
let browser = gBrowser.getBrowserForTab(tab);
browser.addEventListener("load", function() {
browser.removeEventListener("load", arguments.callee, true);
executeSoon(function() {
let contextMenu = document.getElementById("contentAreaContextMenu");
let blockImage = document.getElementById("context-blockimage");
let image = browser.contentDocument.getElementsByTagName("img")[0];
ok(image, "The content image should be accessible");
contextMenu.addEventListener("popupshown", function() {
contextMenu.removeEventListener("popupshown", arguments.callee, false);
is(blockImage.hidden, expectedHidden,
"The Block Image menu item should " + (expectedHidden ? "" : "not ") + "be hidden");
contextMenu.hidePopup();
gBrowser.removeTab(tab);
callback();
}, false);
document.popupNode = image;
EventUtils.synthesizeMouse(image, 2, 2,
{type: "contextmenu", button: 2},
browser.contentWindow);
});
}, true);
browser.loadURI(TEST_URI);
}
checkBlockImageMenuItem(false, function() {
pb.privateBrowsingEnabled = true;
checkBlockImageMenuItem(true, function() {
pb.privateBrowsingEnabled = false;
checkBlockImageMenuItem(false, finish);
});
});
}

View File

@ -0,0 +1,117 @@
/* ***** 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 Private Browsing Tests.
*
* The Initial Developer of the Original Code is
* Ehsan Akhgari.
* Portions created by the Initial Developer are Copyright (C) 2009
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Ehsan Akhgari <ehsan.akhgari@gmail.com> (Original Author)
*
* 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 ***** */
// This test makes sure that private browsing mode disables the "remember"
// option in the cookie accept dialog.
function test() {
// initialization
let pb = Cc["@mozilla.org/privatebrowsing;1"].
getService(Ci.nsIPrivateBrowsingService);
let ww = Cc["@mozilla.org/embedcomp/window-watcher;1"].
getService(Ci.nsIWindowWatcher);
let cp = Cc["@mozilla.org/embedcomp/cookieprompt-service;1"].
getService(Ci.nsICookiePromptService);
waitForExplicitFinish();
function checkRememberOption(expectedDisabled, callback) {
let observer = {
observe: function(aSubject, aTopic, aData) {
if (aTopic === "domwindowopened") {
ww.unregisterNotification(this);
let win = aSubject.QueryInterface(Ci.nsIDOMWindow);
win.addEventListener("load", function onLoad(event) {
win.removeEventListener("load", onLoad, false);
executeSoon(function() {
let doc = win.document;
let remember = doc.getElementById("persistDomainAcceptance");
ok(remember, "The remember checkbox should exist");
if (expectedDisabled)
is(remember.getAttribute("disabled"), "true",
"The checkbox should be disabled");
else
ok(!remember.hasAttribute("disabled"),
"The checkbox should not be disabled");
win.close();
callback();
});
}, false);
}
}
};
ww.registerNotification(observer);
let remember = {};
const time = (new Date("Jan 1, 2030")).getTime() / 1000;
let cookie = {
name: "foo",
value: "bar",
isDomain: true,
host: "mozilla.org",
path: "/baz",
isSecure: false,
expires: time,
status: 0,
policy: 0,
isSession: false,
expiry: time,
isHttpOnly: true,
QueryInterface: function(iid) {
const validIIDs = [Components.interfaces.nsISupports,
Components.interfaces.nsICookie,
Components.interfaces.nsICookie2];
for (var i = 0; i < validIIDs.length; ++i)
if (iid == validIIDs[i])
return this;
throw Components.results.NS_ERROR_NO_INTERFACE;
}
};
cp.cookieDialog(window, cookie, "mozilla.org", 10, false, remember);
}
checkRememberOption(false, function() {
pb.privateBrowsingEnabled = true;
checkRememberOption(true, function() {
pb.privateBrowsingEnabled = false;
checkRememberOption(false, finish);
});
});
}

View File

@ -0,0 +1,101 @@
/* ***** 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 Private Browsing Tests.
*
* The Initial Developer of the Original Code is
* Ehsan Akhgari.
* Portions created by the Initial Developer are Copyright (C) 2009
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Ehsan Akhgari <ehsan.akhgari@gmail.com> (Original Author)
*
* 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 ***** */
// This test makes sure that private browsing mode disables the remember option
// for the popup blocker menu.
function test() {
// initialization
let pb = Cc["@mozilla.org/privatebrowsing;1"].
getService(Ci.nsIPrivateBrowsingService);
let oldPopupPolicy = gPrefService.getBoolPref("dom.disable_open_during_load");
gPrefService.setBoolPref("dom.disable_open_during_load", true);
const TEST_URI = "http://localhost:8888/browser/browser/components/privatebrowsing/test/browser/popup.html";
waitForExplicitFinish();
function testPopupBlockerMenuItem(expectedDisabled, callback) {
gBrowser.addEventListener("DOMUpdatePageReport", function() {
gBrowser.removeEventListener("DOMUpdatePageReport", arguments.callee, false);
executeSoon(function() {
let pageReportButton = document.getElementById("page-report-button");
let notification = gBrowser.getNotificationBox().getNotificationWithValue("popup-blocked");
ok(!pageReportButton.hidden, "The page report button should not be hidden");
ok(notification, "The notification box should be displayed");
function checkMenuItem(callback) {
document.addEventListener("popupshown", function(event) {
document.removeEventListener("popupshown", arguments.callee, false);
if (expectedDisabled)
is(document.getElementById("blockedPopupAllowSite").getAttribute("disabled"), "true",
"The allow popups menu item should be disabled");
event.originalTarget.hidePopup();
callback();
}, false);
}
checkMenuItem(function() {
checkMenuItem(function() {
gBrowser.removeTab(tab);
callback();
});
notification.querySelector("button").doCommand();
});
EventUtils.synthesizeMouse(document.getElementById("page-report-button"), 1, 1, {});
});
}, false);
let tab = gBrowser.addTab(TEST_URI);
gBrowser.selectedTab = tab;
}
testPopupBlockerMenuItem(false, function() {
pb.privateBrowsingEnabled = true;
testPopupBlockerMenuItem(true, function() {
pb.privateBrowsingEnabled = false;
testPopupBlockerMenuItem(false, function() {
gPrefService.setBoolPref("dom.disable_open_during_load", oldPopupPolicy);
finish();
});
});
});
}

View File

@ -60,13 +60,19 @@ function test() {
// test the gPrivateBrowsingUI object
ok(gPrivateBrowsingUI, "The gPrivateBrowsingUI object exists");
is(pb.privateBrowsingEnabled, false, "The private browsing mode should not be started initially");
is(gPrivateBrowsingUI.privateBrowsingEnabled, false, "gPrivateBrowsingUI should expose the correct private browsing status");
ok(pbMenuItem, "The Private Browsing menu item exists");
is(pbMenuItem.getAttribute("label"), pbMenuItem.getAttribute("startlabel"), "The Private Browsing menu item should read \"Start Private Browsing\"");
gPrivateBrowsingUI.toggleMode();
is(pb.privateBrowsingEnabled, true, "The private browsing mode should be started");
is(gPrivateBrowsingUI.privateBrowsingEnabled, true, "gPrivateBrowsingUI should expose the correct private browsing status");
// check to see if the Private Browsing mode was activated successfully
is(observer.data, "enter", "Private Browsing mode was activated using the gPrivateBrowsingUI object");
is(pbMenuItem.getAttribute("label"), pbMenuItem.getAttribute("stoplabel"), "The Private Browsing menu item should read \"Stop Private Browsing\"");
gPrivateBrowsingUI.toggleMode()
is(pb.privateBrowsingEnabled, false, "The private browsing mode should not be started");
is(gPrivateBrowsingUI.privateBrowsingEnabled, false, "gPrivateBrowsingUI should expose the correct private browsing status");
// check to see if the Private Browsing mode was deactivated successfully
is(observer.data, "exit", "Private Browsing mode was deactivated using the gPrivateBrowsingUI object");
is(pbMenuItem.getAttribute("label"), pbMenuItem.getAttribute("startlabel"), "The Private Browsing menu item should read \"Start Private Browsing\"");

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -0,0 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Page containing an image</title>
</head>
<body>
<img src="ctxmenu-image.png">
</body>
</html>

View File

@ -0,0 +1,11 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Page creating a popup</title>
</head>
<body>
<script type="text/javascript">
window.open("data:text/plain,test", "testwin");
</script>
</body>
</html>

View File

@ -97,10 +97,13 @@ testprivatecl.prototype = {
function do_test() {
// initialization
let pb = Cc[PRIVATEBROWSING_CONTRACT_ID].
getService(Ci.nsIPrivateBrowsingService);
getService(Ci.nsIPrivateBrowsingService).
QueryInterface(Ci.nsIObserver);
let testcl = new testprivatecl();
pb.observe(testcl, "command-line-startup", null);
let catMan = Cc["@mozilla.org/categorymanager;1"].
getService(Ci.nsICategoryManager);
let categories = catMan.enumerateCategory("command-line-handler");

View File

@ -66,12 +66,16 @@ function test() {
gPrefService.setIntPref("browser.sessionstore.max_windows_undo",
curClosedWindowCount + 1);
var origWin;
let windowObserver = {
observe: function(aSubject, aTopic, aData) {
let theWin = aSubject.QueryInterface(Ci.nsIDOMWindow);
if (origWin && theWin != origWin)
return;
switch(aTopic) {
switch (aTopic) {
case "domwindowopened":
origWin = theWin;
theWin.addEventListener("load", function () {
theWin.removeEventListener("load", arguments.callee, false);
executeSoon(function() {

View File

@ -52,8 +52,6 @@ function test() {
let ss = Cc["@mozilla.org/browser/sessionstore;1"].
getService(Ci.nsISessionStore);
let ww = Cc["@mozilla.org/embedcomp/window-watcher;1"].
getService(Ci.nsIWindowWatcher);
waitForExplicitFinish();
@ -68,44 +66,21 @@ function test() {
}]
};
let windowObserver = {
observe: function(aSubject, aTopic, aData) {
let theWin = aSubject.QueryInterface(Ci.nsIDOMWindow);
switch(aTopic) {
case "domwindowopened":
theWin.addEventListener("load", function () {
theWin.removeEventListener("load", arguments.callee, false);
executeSoon(function() {
var gotError = false;
try {
ss.setWindowState(theWin, JSON.stringify(state), true);
} catch (e) {
if (/NS_ERROR_MALFORMED_URI/.test(e))
gotError = true;
}
ok(!gotError, "Didn't get a malformed URI error.");
executeSoon(function() {
theWin.close();
});
});
}, false);
break;
case "domwindowclosed":
ww.unregisterNotification(this);
is(browserWindowsCount(), 1, "Only one browser window should be open eventually");
finish();
break;
var theWin = openDialog(location, "", "chrome,all,dialog=no");
theWin.addEventListener("load", function () {
executeSoon(function () {
var gotError = false;
try {
ss.setWindowState(theWin, JSON.stringify(state), true);
} catch (e) {
if (/NS_ERROR_MALFORMED_URI/.test(e))
gotError = true;
}
}
}
ww.registerNotification(windowObserver);
ww.openWindow(null,
location,
"_blank",
"chrome,all,dialog=no",
null);
ok(!gotError, "Didn't get a malformed URI error.");
theWin.close();
is(browserWindowsCount(), 1, "Only one browser window should be open eventually");
finish();
});
}, false);
}

View File

@ -764,6 +764,37 @@ nsChromeRegistry::GetSelectedLocale(const nsACString& aPackage, nsACString& aLoc
return NS_OK;
}
NS_IMETHODIMP
nsChromeRegistry::IsLocaleRTL(const nsACString& package, PRBool *aResult)
{
*aResult = PR_FALSE;
nsCAutoString locale;
GetSelectedLocale(package, locale);
if (locale.Length() < 2)
return NS_OK;
// first check the intl.uidirection.<locale> preference, and if that is not
// set, check the same preference but with just the first two characters of
// the locale. If that isn't set, default to left-to-right.
nsCAutoString prefString = NS_LITERAL_CSTRING("intl.uidirection.") + locale;
nsCOMPtr<nsIPrefBranch> prefBranch (do_GetService(NS_PREFSERVICE_CONTRACTID));
if (!prefBranch)
return NS_OK;
nsXPIDLCString dir;
prefBranch->GetCharPref(prefString.get(), getter_Copies(dir));
if (dir.IsEmpty()) {
PRInt32 hyphen = prefString.FindChar('-');
if (hyphen >= 1) {
nsCAutoString shortPref(Substring(prefString, 0, hyphen));
prefBranch->GetCharPref(shortPref.get(), getter_Copies(dir));
}
}
*aResult = dir.EqualsLiteral("rtl");
return NS_OK;
}
NS_IMETHODIMP
nsChromeRegistry::GetLocalesForPackage(const nsACString& aPackage,
nsIUTF8StringEnumerator* *aResult)

View File

@ -1012,10 +1012,17 @@ bzlib.h
#ifdef MOZ_PLATFORM_HILDON
hildon-uri.h
hildon-mime.h
hildon-file-chooser-dialog.h
#endif
#ifdef NS_OSSO
libosso.h
osso-mem.h
#endif
#ifdef MOZ_ENABLE_GIO
gio/gio.h
#endif
#ifdef MOZ_ENABLE_LIBCONIC
conic/conicconnection.h
conic/conicconnectionevent.h
conic/conicstatisticsevent.h
#endif

View File

@ -80,7 +80,7 @@ interface nsIChromeRegistry : nsISupports
[notxpcom] boolean wrappersEnabled(in nsIURI aURI);
};
[scriptable, uuid(2860e205-490e-4b06-90b6-87160d35a5a7)]
[scriptable, uuid(c2461347-2b8f-48c7-9d59-3a61fb868828)]
interface nsIXULChromeRegistry : nsIChromeRegistry
{
/* Should be called when locales change to reload all chrome (including XUL). */
@ -88,6 +88,9 @@ interface nsIXULChromeRegistry : nsIChromeRegistry
ACString getSelectedLocale(in ACString packageName);
// Get the direction of the locale via the intl.uidirection.<locale> pref
boolean isLocaleRTL(in ACString package);
/* Should be called when skins change. Reloads only stylesheets. */
void refreshSkins();

View File

@ -2786,6 +2786,8 @@ nsGenericElement::doPreHandleEvent(nsIContent* aContent,
{
//FIXME! Document how this event retargeting works, Bug 329124.
aVisitor.mCanHandle = PR_TRUE;
aVisitor.mMayHaveListenerManager =
aContent->HasFlag(NODE_HAS_LISTENERMANAGER);
// Don't propagate mouseover and mouseout events when mouse is moving
// inside native anonymous content.

View File

@ -91,6 +91,24 @@ function checkModification(e, funcName, argument, expectedRes, before, after) {
}
}
function assignToClassListStrict(e) {
"use strict";
try {
e.classList = "foo";
ok(false, "assigning to classList didn't throw");
} catch (e) { }
}
function assignToClassList(e) {
try {
var expect = e.classList;
e.classList = "foo";
is(e.classList, expect, "classList should be unchanged after assignment");
} catch (e) {
ok(false, "assigning to classList threw");
}
}
function testClassList(e) {
// basic tests
@ -101,10 +119,9 @@ function testClassList(e) {
is(typeof(e.classList.add), "function", "no classList.add function");
is(typeof(e.classList.remove), "function", "no classList.remove function");
is(typeof(e.classList.toggle), "function", "no classList.toggle function");
try {
e.classList = "foo";
ok(false, "assigning to classList didn't throw");
} catch (e) { }
assignToClassListStrict(e);
assignToClassList(e);
// length attribute

View File

@ -136,8 +136,8 @@ public:
: nsEventChainVisitor(aPresContext, aEvent, aDOMEvent, aEventStatus),
mCanHandle(PR_TRUE), mForceContentDispatch(PR_FALSE),
mRelatedTargetIsInAnon(PR_FALSE), mOriginalTargetIsInAnon(aIsInAnon),
mWantsWillHandleEvent(PR_FALSE), mParentTarget(nsnull),
mEventTargetAtParent(nsnull) {}
mWantsWillHandleEvent(PR_FALSE), mMayHaveListenerManager(PR_TRUE),
mParentTarget(nsnull), mEventTargetAtParent(nsnull) {}
void Reset() {
mItemFlags = 0;
@ -145,6 +145,7 @@ public:
mCanHandle = PR_TRUE;
mForceContentDispatch = PR_FALSE;
mWantsWillHandleEvent = PR_FALSE;
mMayHaveListenerManager = PR_TRUE;
mParentTarget = nsnull;
mEventTargetAtParent = nsnull;
}
@ -182,6 +183,12 @@ public:
*/
PRPackedBool mWantsWillHandleEvent;
/**
* If it is known that the current target doesn't have a listener manager
* when PreHandleEvent is called, set this to PR_FALSE.
*/
PRPackedBool mMayHaveListenerManager;
/**
* Parent item in the event target chain.
*/

View File

@ -51,6 +51,7 @@
#define NS_TARGET_CHAIN_FORCE_CONTENT_DISPATCH (1 << 0)
#define NS_TARGET_CHAIN_WANTS_WILL_HANDLE_EVENT (1 << 1)
#define NS_TARGET_CHAIN_MAY_HAVE_MANAGER (1 << 2)
// nsEventTargetChainItem represents a single item in the event target chain.
class nsEventTargetChainItem
@ -118,7 +119,6 @@ public:
return !!(mFlags & NS_TARGET_CHAIN_FORCE_CONTENT_DISPATCH);
}
void SetWantsWillHandleEvent(PRBool aWants)
{
if (aWants) {
@ -133,6 +133,20 @@ public:
return !!(mFlags & NS_TARGET_CHAIN_WANTS_WILL_HANDLE_EVENT);
}
void SetMayHaveListenerManager(PRBool aMayHave)
{
if (aMayHave) {
mFlags |= NS_TARGET_CHAIN_MAY_HAVE_MANAGER;
} else {
mFlags &= ~NS_TARGET_CHAIN_MAY_HAVE_MANAGER;
}
}
PRBool MayHaveListenerManager()
{
return !!(mFlags & NS_TARGET_CHAIN_MAY_HAVE_MANAGER);
}
nsPIDOMEventTarget* CurrentTarget()
{
return mTarget;
@ -158,12 +172,37 @@ public:
/**
* If the current item in the event target chain has an event listener
* manager, this method sets the .currentTarget to the CurrentTarget()
* and calls nsIEventListenerManager::HandleEvent().
* manager, this method calls nsIEventListenerManager::HandleEvent().
*/
nsresult HandleEvent(nsEventChainPostVisitor& aVisitor, PRUint32 aFlags,
PRBool aMayHaveNewListenerManagers,
nsCxPusher* aPusher);
nsCxPusher* aPusher)
{
if (WantsWillHandleEvent()) {
mTarget->WillHandleEvent(aVisitor);
}
if (aVisitor.mEvent->flags & NS_EVENT_FLAG_STOP_DISPATCH) {
return NS_OK;
}
if (!mManager) {
if (!MayHaveListenerManager() && !aMayHaveNewListenerManagers) {
return NS_OK;
}
mManager = mTarget->GetListenerManager(PR_FALSE);
}
if (mManager) {
NS_ASSERTION(aVisitor.mEvent->currentTarget == nsnull,
"CurrentTarget should be null!");
mManager->HandleEvent(aVisitor.mPresContext, aVisitor.mEvent,
&aVisitor.mDOMEvent,
CurrentTarget(), aFlags,
&aVisitor.mEventStatus,
aPusher);
NS_ASSERTION(aVisitor.mEvent->currentTarget == nsnull,
"CurrentTarget should be null!");
}
return NS_OK;
}
/**
* Copies mItemFlags and mItemData to aVisitor and calls PostHandleEvent.
@ -217,43 +256,12 @@ nsEventTargetChainItem::PreHandleEvent(nsEventChainPreVisitor& aVisitor)
nsresult rv = mTarget->PreHandleEvent(aVisitor);
SetForceContentDispatch(aVisitor.mForceContentDispatch);
SetWantsWillHandleEvent(aVisitor.mWantsWillHandleEvent);
SetMayHaveListenerManager(aVisitor.mMayHaveListenerManager);
mItemFlags = aVisitor.mItemFlags;
mItemData = aVisitor.mItemData;
return rv;
}
nsresult
nsEventTargetChainItem::HandleEvent(nsEventChainPostVisitor& aVisitor,
PRUint32 aFlags,
PRBool aMayHaveNewListenerManagers,
nsCxPusher* aPusher)
{
if (WantsWillHandleEvent()) {
mTarget->WillHandleEvent(aVisitor);
}
if (aVisitor.mEvent->flags & NS_EVENT_FLAG_STOP_DISPATCH) {
return NS_OK;
}
if (!mManager) {
if (!aMayHaveNewListenerManagers) {
return NS_OK;
}
mManager = mTarget->GetListenerManager(PR_FALSE);
}
if (mManager) {
NS_ASSERTION(aVisitor.mEvent->currentTarget == nsnull,
"CurrentTarget should be null!");
mManager->HandleEvent(aVisitor.mPresContext, aVisitor.mEvent,
&aVisitor.mDOMEvent,
CurrentTarget(), aFlags,
&aVisitor.mEventStatus,
aPusher);
NS_ASSERTION(aVisitor.mEvent->currentTarget == nsnull,
"CurrentTarget should be null!");
}
return NS_OK;
}
nsresult
nsEventTargetChainItem::PostHandleEvent(nsEventChainPostVisitor& aVisitor)
{
@ -470,6 +478,14 @@ nsEventDispatcher::Dispatch(nsISupports* aTarget,
nsCOMPtr<nsPIDOMEventTarget> target = do_QueryInterface(aTarget);
#ifdef DEBUG
if (!nsContentUtils::IsSafeToRunScript()) {
nsresult rv = NS_ERROR_FAILURE;
if (target->GetContextForEventHandlers(&rv) ||
NS_FAILED(rv)) {
NS_ERROR("This is unsafe!");
}
}
if (aDOMEvent) {
nsCOMPtr<nsIPrivateDOMEvent> privEvt(do_QueryInterface(aDOMEvent));
if (privEvt) {
@ -580,7 +596,7 @@ nsEventDispatcher::Dispatch(nsISupports* aTarget,
NS_EVENT_FLAG_BUBBLE |
NS_EVENT_FLAG_CAPTURE,
aCallback,
PR_TRUE,
PR_FALSE,
&pusher);
preVisitor.mEventStatus = postVisitor.mEventStatus;

View File

@ -12,13 +12,13 @@ function startTest() {
return false;
ok(!v.seeking, "seeking should default to false");
try {
v.seeking = 1;
readonly = false;
v.seeking = true;
readonly = v.seeking === false;
}
catch(e) {
readonly = true;
readonly = "threw exception: " + e;
}
ok(readonly, "seeking should be readonly");
is(readonly, true, "seeking should be readonly");
v.play();
v.currentTime=seekTime;

View File

@ -10,17 +10,37 @@
<video id='v1' onerror="event.stopPropagation();"></video><audio id='a1' onerror="event.stopPropagation();"></audio>
<pre id="test">
<script class="testbody" type="text/javascript">
"use strict";
var v1 = document.getElementById('v1');
var a1 = document.getElementById('a1');
var passed = true;
var passed = "truthy";
try {
v1.networkState = 0;
} catch (e) {
passed = !passed;
}
try {
a1.networkState = 0;
passed = false;
} catch(e) { }
ok(passed, "Should not be able to set networkState (readonly attribute)");
} catch (e) {
passed = !passed;
}
ok(passed === true,
"Setting networkState throws in strict mode (readonly attribute)");
</script>
<script class="testbody" type="text/javascript">
var v1 = document.getElementById('v1');
var a1 = document.getElementById('a1');
var passed = false;
var oldv1ns = v1.networkState, olda1ns = a1.networkState;
try {
v1.networkState = 0;
a1.networkState = 0;
passed = v1.networkState === oldv1ns && a1.networkState === olda1ns;
} catch (e) { }
ok(passed, "Should not be able to modify networkState (readonly attribute)");
</script>
</pre>
</body>

View File

@ -10,20 +10,42 @@
<video id='v1' onerror="event.stopPropagation();"></video><audio id='a1' onerror="event.stopPropagation();"></audio>
<pre id="test">
<script class="testbody" type="text/javascript">
"use strict";
var v1 = document.getElementById('v1');
var a1 = document.getElementById('a1');
var passed = true;
var passed = "truthy";
is(v1.readyState, 0);
is(a1.readyState, 0);
try {
v1.readyState = 0;
} catch (e) {
passed = !passed;
}
try {
a1.readyState = 0;
passed = false;
} catch (e) {
passed = !passed;
}
ok(passed === true,
"Setting readyState throws in strict mode (readonly attribute)");
</script>
<script class="testbody" type="text/javascript">
var v1 = document.getElementById('v1');
var a1 = document.getElementById('a1');
var passed = false;
is(v1.readyState, 0);
is(a1.readyState, 0);
try {
v1.readyState = 1;
a1.readyState = 1;
passed = v1.readyState === 0 && a1.readyState === 0;
} catch(e) { }
ok(passed, "Should not be able to set readyState (readonly attribute)");
</script>
</pre>
</body>

View File

@ -24,17 +24,35 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=371724
<script class="testbody" type="text/javascript">
/** Test for Bug 371724 **/
SimpleTest.waitForExplicitFinish();
function doe() {
var isException = false;
function checkReadOnly() {
var elt = document.getElementById('a');
var oldValue = elt.hallo;
var actual;
try {
document.getElementById('a').hallo = false;
elt.hallo = false;
actual = elt.hallo;
} catch (ex) {
isException = ex.name;
actual = "" + ex;
}
ok(isException == "TypeError", "Setting a readonly xbl property should throw a TypeError exception");
is(actual, true,
"Setting a readonly xbl property should do nothing if !strict");
checkReadOnlyStrict();
}
function checkReadOnlyStrict() {
"use strict";
var elt = document.getElementById('a');
var actual;
try {
elt.hallo = false;
actual = "should have thrown";
} catch (ex) {
actual = ex instanceof TypeError;
}
is(actual, true,
"Setting a readonly xbl property should throw a TypeError exception if strict");
SimpleTest.finish();
}
setTimeout(doe, 600);
addLoadEvent(checkReadOnly);
</script>
</pre>
</body>

View File

@ -4700,27 +4700,10 @@ nsXULDocument::IsDocumentRightToLeft()
}
}
nsCAutoString locale;
reg->GetSelectedLocale(package, locale);
if (locale.Length() >= 2) {
// first check the intl.uidirection.<locale> preference,
// and if that is not set, check the same preference but
// with just the first two characters of the locale. If
// that isn't set, default to left-to-right.
nsCAutoString prefString =
NS_LITERAL_CSTRING("intl.uidirection.") + locale;
nsAdoptingCString dir = nsContentUtils::GetCharPref(prefString.get());
if (dir.IsEmpty()) {
PRInt32 hyphen = prefString.FindChar('-');
if (hyphen >= 1) {
nsCAutoString shortPref(Substring(prefString, 0, hyphen));
dir = nsContentUtils::GetCharPref(shortPref.get());
}
}
mDocDirection = dir.EqualsLiteral("rtl") ?
Direction_RightToLeft : Direction_LeftToRight;
}
PRBool isRTL = PR_FALSE;
reg->IsLocaleRTL(package, &isRTL);
mDocDirection = isRTL ?
Direction_RightToLeft : Direction_LeftToRight;
}
}

View File

@ -6199,7 +6199,7 @@ nsDocShell::CreateAboutBlankContentViewer(nsIPrincipal* aPrincipal,
viewer->SetDOMDocument(domdoc);
SetCurrentURI(blankDoc->GetDocumentURI(), nsnull, PR_TRUE);
rv = NS_OK;
rv = mIsBeingDestroyed ? NS_ERROR_NOT_AVAILABLE : NS_OK;
}
}
}

View File

@ -1648,6 +1648,28 @@ nsFocusManager::Focus(nsPIDOMWindow* aWindow,
mFirstFocusEvent = nsnull;
}
class FocusBlurEvent : public nsRunnable
{
public:
FocusBlurEvent(nsISupports* aTarget, PRUint32 aType,
nsPresContext* aContext, PRBool aWindowRaised)
: mTarget(aTarget), mType(aType), mContext(aContext),
mWindowRaised(aWindowRaised) {}
NS_IMETHOD Run()
{
nsFocusEvent event(PR_TRUE, mType);
event.flags |= NS_EVENT_FLAG_CANT_BUBBLE;
event.fromRaise = mWindowRaised;
return nsEventDispatcher::Dispatch(mTarget, mContext, &event);
}
nsCOMPtr<nsISupports> mTarget;
PRUint32 mType;
nsCOMPtr<nsPresContext> mContext;
PRBool mWindowRaised;
};
void
nsFocusManager::SendFocusOrBlurEvent(PRUint32 aType,
nsIPresShell* aPresShell,
@ -1684,14 +1706,9 @@ nsFocusManager::SendFocusOrBlurEvent(PRUint32 aType,
return;
}
nsCOMPtr<nsPresContext> presContext = aPresShell->GetPresContext();
nsEventStatus status = nsEventStatus_eIgnore;
nsFocusEvent event(PR_TRUE, aType);
event.flags |= NS_EVENT_FLAG_CANT_BUBBLE;
event.fromRaise = aWindowRaised;
nsEventDispatcher::Dispatch(aTarget, presContext, &event, nsnull, &status);
nsContentUtils::AddScriptRunner(
new FocusBlurEvent(aTarget, aType, aPresShell->GetPresContext(),
aWindowRaised));
}
void

View File

@ -6231,6 +6231,22 @@ nsGlobalWindow::ShowModalDialog(const nsAString& aURI, nsIVariant *aArgs,
return NS_OK;
}
class CommandDispatcher : public nsRunnable
{
public:
CommandDispatcher(nsIDOMXULCommandDispatcher* aDispatcher,
const nsAString& aAction)
: mDispatcher(aDispatcher), mAction(aAction) {}
NS_IMETHOD Run()
{
return mDispatcher->UpdateCommands(mAction);
}
nsCOMPtr<nsIDOMXULCommandDispatcher> mDispatcher;
nsString mAction;
};
NS_IMETHODIMP
nsGlobalWindow::UpdateCommands(const nsAString& anAction)
{
@ -6245,7 +6261,10 @@ nsGlobalWindow::UpdateCommands(const nsAString& anAction)
// Retrieve the command dispatcher and call updateCommands on it.
nsCOMPtr<nsIDOMXULCommandDispatcher> xulCommandDispatcher;
xulDoc->GetCommandDispatcher(getter_AddRefs(xulCommandDispatcher));
xulCommandDispatcher->UpdateCommands(anAction);
if (xulCommandDispatcher) {
nsContentUtils::AddScriptRunner(new CommandDispatcher(xulCommandDispatcher,
anAction));
}
}
return NS_OK;

View File

@ -418,6 +418,129 @@ NS_HandleScriptError(nsIScriptGlobalObject *aScriptGlobal,
return called;
}
class ScriptErrorEvent : public nsRunnable
{
public:
ScriptErrorEvent(nsIScriptGlobalObject* aScriptGlobal,
PRUint32 aLineNr, PRUint32 aColumn, PRUint32 aFlags,
const nsAString& aErrorMsg,
const nsAString& aFileName,
const nsAString& aSourceLine,
PRBool aDispatchEvent)
: mScriptGlobal(aScriptGlobal), mLineNr(aLineNr), mColumn(aColumn),
mFlags(aFlags), mErrorMsg(aErrorMsg), mFileName(aFileName),
mSourceLine(aSourceLine), mDispatchEvent(aDispatchEvent) {}
NS_IMETHOD Run()
{
nsEventStatus status = nsEventStatus_eIgnore;
// First, notify the DOM that we have a script error.
if (mDispatchEvent) {
nsCOMPtr<nsPIDOMWindow> win(do_QueryInterface(mScriptGlobal));
nsIDocShell* docShell = win ? win->GetDocShell() : nsnull;
if (docShell &&
!JSREPORT_IS_WARNING(mFlags) &&
!sHandlingScriptError) {
sHandlingScriptError = PR_TRUE; // Recursion prevention
nsCOMPtr<nsPresContext> presContext;
docShell->GetPresContext(getter_AddRefs(presContext));
if (presContext) {
nsScriptErrorEvent errorevent(PR_TRUE, NS_LOAD_ERROR);
errorevent.fileName = mFileName.get();
nsCOMPtr<nsIScriptObjectPrincipal> sop(do_QueryInterface(win));
NS_ENSURE_STATE(sop);
nsIPrincipal* p = sop->GetPrincipal();
NS_ENSURE_STATE(p);
PRBool sameOrigin = mFileName.IsVoid();
if (p && !sameOrigin) {
nsCOMPtr<nsIURI> errorURI;
NS_NewURI(getter_AddRefs(errorURI), mFileName);
if (errorURI) {
// FIXME: Once error reports contain the origin of the
// error (principals) we should change this to do the
// security check based on the principals and not
// URIs. See bug 387476.
sameOrigin = NS_SUCCEEDED(p->CheckMayLoad(errorURI, PR_FALSE));
}
}
NS_NAMED_LITERAL_STRING(xoriginMsg, "Script error.");
if (sameOrigin) {
errorevent.errorMsg = mErrorMsg.get();
errorevent.lineNr = mLineNr;
} else {
NS_WARNING("Not same origin error!");
errorevent.errorMsg = xoriginMsg.get();
errorevent.lineNr = 0;
}
nsEventDispatcher::Dispatch(win, presContext, &errorevent, nsnull,
&status);
}
sHandlingScriptError = PR_FALSE;
}
}
if (status != nsEventStatus_eConsumeNoDefault) {
// Make an nsIScriptError and populate it with information from
// this error.
nsCOMPtr<nsIScriptError> errorObject =
do_CreateInstance("@mozilla.org/scripterror;1");
if (errorObject != nsnull) {
nsresult rv = NS_ERROR_NOT_AVAILABLE;
// Set category to chrome or content
nsCOMPtr<nsIScriptObjectPrincipal> scriptPrincipal =
do_QueryInterface(mScriptGlobal);
NS_ASSERTION(scriptPrincipal, "Global objects must implement "
"nsIScriptObjectPrincipal");
nsCOMPtr<nsIPrincipal> systemPrincipal;
sSecurityManager->GetSystemPrincipal(getter_AddRefs(systemPrincipal));
const char * category =
scriptPrincipal->GetPrincipal() == systemPrincipal
? "chrome javascript"
: "content javascript";
rv = errorObject->Init(mErrorMsg.get(), mFileName.get(),
mSourceLine.get(),
mLineNr, mColumn, mFlags,
category);
if (NS_SUCCEEDED(rv)) {
nsCOMPtr<nsIConsoleService> consoleService =
do_GetService(NS_CONSOLESERVICE_CONTRACTID, &rv);
if (NS_SUCCEEDED(rv)) {
consoleService->LogMessage(errorObject);
}
}
}
}
return NS_OK;
}
nsCOMPtr<nsIScriptGlobalObject> mScriptGlobal;
PRUint32 mLineNr;
PRUint32 mColumn;
PRUint32 mFlags;
nsString mErrorMsg;
nsString mFileName;
nsString mSourceLine;
PRBool mDispatchEvent;
static PRBool sHandlingScriptError;
};
PRBool ScriptErrorEvent::sHandlingScriptError = PR_FALSE;
// NOTE: This function could be refactored to use the above. The only reason
// it has not been done is that the code below only fills the error event
// after it has a good nsPresContext - whereas using the above function
@ -457,8 +580,6 @@ NS_ScriptErrorReporter(JSContext *cx,
// XXX this means we are not going to get error reports on non DOM contexts
nsIScriptContext *context = nsJSUtils::GetDynamicScriptContext(cx);
nsEventStatus status = nsEventStatus_eIgnore;
// Note: we must do this before running any more code on cx (if cx is the
// dynamic script context).
::JS_ClearPendingException(cx);
@ -468,9 +589,11 @@ NS_ScriptErrorReporter(JSContext *cx,
if (globalObject) {
nsAutoString fileName, msg;
NS_NAMED_LITERAL_STRING(xoriginMsg, "Script error.");
fileName.AssignWithConversion(report->filename);
if (!report->filename) {
fileName.SetIsVoid(PR_TRUE);
} else {
fileName.AssignWithConversion(report->filename);
}
const PRUnichar *m = reinterpret_cast<const PRUnichar*>
(report->ucmessage);
@ -482,107 +605,20 @@ NS_ScriptErrorReporter(JSContext *cx,
msg.AssignWithConversion(message);
}
// First, notify the DOM that we have a script error.
/* We do not try to report Out Of Memory via a dom
* event because the dom event handler would encounter
* an OOM exception trying to process the event, and
* then we'd need to generate a new OOM event for that
* new OOM instance -- this isn't pretty.
*/
{
// Scope to make sure we're not using |win| in the rest of
// this function when we should be using |globalObject|. We
// only need |win| for the event dispatch.
nsCOMPtr<nsPIDOMWindow> win(do_QueryInterface(globalObject));
nsIDocShell *docShell = win ? win->GetDocShell() : nsnull;
if (docShell &&
(report->errorNumber != JSMSG_OUT_OF_MEMORY &&
!JSREPORT_IS_WARNING(report->flags))) {
static PRInt32 errorDepth; // Recursion prevention
++errorDepth;
nsCOMPtr<nsPresContext> presContext;
docShell->GetPresContext(getter_AddRefs(presContext));
if (presContext && errorDepth < 2) {
nsScriptErrorEvent errorevent(PR_TRUE, NS_LOAD_ERROR);
errorevent.fileName = fileName.get();
nsCOMPtr<nsIScriptObjectPrincipal> sop(do_QueryInterface(win));
nsIPrincipal *p = sop->GetPrincipal();
PRBool sameOrigin = (report->filename == nsnull);
if (p && !sameOrigin) {
nsCOMPtr<nsIURI> errorURI;
NS_NewURI(getter_AddRefs(errorURI), report->filename);
if (errorURI) {
// FIXME: Once error reports contain the origin of the
// error (principals) we should change this to do the
// security check based on the principals and not
// URIs. See bug 387476.
sameOrigin = NS_SUCCEEDED(p->CheckMayLoad(errorURI, PR_FALSE));
}
}
if (sameOrigin) {
errorevent.errorMsg = msg.get();
errorevent.lineNr = report->lineno;
} else {
errorevent.errorMsg = xoriginMsg.get();
errorevent.lineNr = 0;
}
// Dispatch() must be synchronous for the recursion block
// (errorDepth) to work.
nsEventDispatcher::Dispatch(win, presContext, &errorevent, nsnull,
&status);
}
--errorDepth;
}
}
if (status != nsEventStatus_eConsumeNoDefault) {
// Make an nsIScriptError and populate it with information from
// this error.
nsCOMPtr<nsIScriptError> errorObject =
do_CreateInstance("@mozilla.org/scripterror;1");
if (errorObject != nsnull) {
nsresult rv = NS_ERROR_NOT_AVAILABLE;
// Set category to chrome or content
nsCOMPtr<nsIScriptObjectPrincipal> scriptPrincipal =
do_QueryInterface(globalObject);
NS_ASSERTION(scriptPrincipal, "Global objects must implement "
"nsIScriptObjectPrincipal");
nsCOMPtr<nsIPrincipal> systemPrincipal;
sSecurityManager->GetSystemPrincipal(getter_AddRefs(systemPrincipal));
const char * category =
scriptPrincipal->GetPrincipal() == systemPrincipal
? "chrome javascript"
: "content javascript";
PRUint32 column = report->uctokenptr - report->uclinebuf;
rv = errorObject->Init(msg.get(), fileName.get(),
reinterpret_cast<const PRUnichar*>
(report->uclinebuf),
report->lineno, column, report->flags,
category);
if (NS_SUCCEEDED(rv)) {
nsCOMPtr<nsIConsoleService> consoleService =
do_GetService(NS_CONSOLESERVICE_CONTRACTID, &rv);
if (NS_SUCCEEDED(rv)) {
consoleService->LogMessage(errorObject);
}
}
}
}
nsAutoString sourceLine;
sourceLine.Assign(reinterpret_cast<const PRUnichar*>(report->uclinebuf));
nsContentUtils::AddScriptRunner(
new ScriptErrorEvent(globalObject, report->lineno,
report->uctokenptr - report->uclinebuf,
report->flags, msg, fileName, sourceLine,
report->errorNumber != JSMSG_OUT_OF_MEMORY));
}
}
@ -607,8 +643,7 @@ NS_ScriptErrorReporter(JSContext *cx,
} else {
error.Append(message);
}
if (status != nsEventStatus_eIgnore && !JSREPORT_IS_WARNING(report->flags))
error.Append(" Error was suppressed by event handler\n");
fprintf(stderr, "%s\n", error.get());
fflush(stderr);
#endif

View File

@ -106,6 +106,7 @@ _TEST_FILES = \
child_bug260264.html \
grandchild_bug260264.html \
utils_bug260264.js \
test_bug531176.html \
test_bug534362.html \
iframe_bug534362.html \
test_bug531542.html \

View File

@ -0,0 +1,61 @@
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=531176
-->
<head>
<title>Test for Bug 531176</title>
<script type="application/javascript" src="/MochiKit/packed.js"></script>
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=531176">Mozilla Bug 531176</a>
<p id="display"></p>
<div id="content" style="display: none">
</div>
<pre id="test">
<script type="application/javascript">
/** Test for Bug 531176 **/
var errorCount = 0;
function errorHandler(msg, filename, linenr) {
is(msg, "syntax error", "Wrong error!");
is(filename, window.location, "Wrong filename!");
is(linenr, 1, "Wrong linenr!");
++errorCount;
}
window.onerror = errorHandler;
document.body.setAttribute("onclick", "var x=;");
is(errorCount, 1, "Error handler should have been called! (1)");
function recursiveHandler(msg, filename, linenr) {
is(msg, "syntax error", "Wrong error!");
is(filename, window.location, "Wrong filename!");
is(linenr, 1, "Wrong linenr!");
++errorCount;
document.body.setAttribute("onclick", "var z=;");
}
window.onerror = recursiveHandler;
document.body.setAttribute("onclick", "var y=;");
is(errorCount, 2, "Error handler should have been called! (2)");
// Check that error handler works even after recursion error.
document.body.setAttribute("onclick", "var foo=;");
is(errorCount, 3, "Error handler should have been called! (3)");
window.onerror = function() { ++errorCount; };
</script>
<script>
var foo =;
</script>
<script>
is(errorCount, 4, "Error handler should have been called! (4)");
</script>
</pre>
</body>
</html>

View File

@ -244,9 +244,24 @@ nsAuthSSPI::Init(const char *serviceName,
SEC_WCHAR *package;
package = (SEC_WCHAR *) pTypeName[(int)mPackage];
rv = MakeSN(serviceName, mServiceName);
if (NS_FAILED(rv))
return rv;
if (mPackage == PACKAGE_TYPE_NTLM) {
// (bug 535193) For NTLM, just use the uri host, do not do canonical host lookups.
// The incoming serviceName is in the format: "protocol@hostname", SSPI expects
// "<service class>/<hostname>", so swap the '@' for a '/'.
mServiceName.Assign(serviceName);
PRInt32 index = mServiceName.FindChar('@');
if (index == kNotFound)
return NS_ERROR_UNEXPECTED;
mServiceName.Replace(index, 1, '/');
}
else {
// Kerberos requires the canonical host, MakeSN takes care of this through a
// DNS lookup.
rv = MakeSN(serviceName, mServiceName);
if (NS_FAILED(rv))
return rv;
}
mServiceFlags = serviceFlags;

View File

@ -0,0 +1,122 @@
const Cc = Components.classes;
const Ci = Components.interfaces;
function run_test()
{
var cm = Cc["@mozilla.org/cookiemanager;1"].getService(Ci.nsICookieManager2);
cm.removeAll();
// test eviction under the 50 cookies per base domain limit. this means
// that cookies for foo.com and bar.foo.com should count toward this limit,
// while cookies for baz.com should not. there are several tests we perform
// to make sure the base domain logic is working correctly.
// 1) simplest case: set 100 cookies for "foo.bar" and make sure 50 survive.
setCookies(cm, "foo.bar", 100);
do_check_eq(countCookies(cm, "foo.bar", "foo.bar"), 50);
// 2) set cookies for different subdomains of "foo.baz", and an unrelated
// domain, and make sure all 50 within the "foo.baz" base domain are counted.
setCookies(cm, "foo.baz", 10);
setCookies(cm, ".foo.baz", 10);
setCookies(cm, "bar.foo.baz", 10);
setCookies(cm, "baz.bar.foo.baz", 10);
setCookies(cm, "unrelated.domain", 50);
do_check_eq(countCookies(cm, "foo.baz", "baz.bar.foo.baz"), 40);
setCookies(cm, "foo.baz", 20);
do_check_eq(countCookies(cm, "foo.baz", "baz.bar.foo.baz"), 50);
// 3) ensure cookies are evicted by order of lastAccessed time, if the
// limit on cookies per base domain is reached.
setCookies(cm, "horse.radish", 10);
// sleep a while, to make sure the first batch of cookies is older than
// the second (timer resolution varies on different platforms).
sleep(2 * 1000);
setCookies(cm, "tasty.horse.radish", 50);
do_check_eq(countCookies(cm, "horse.radish", "horse.radish"), 50);
let enumerator = cm.enumerator;
while (enumerator.hasMoreElements()) {
let cookie = enumerator.getNext().QueryInterface(Ci.nsICookie2);
if (cookie.host == "horse.radish")
do_throw("cookies not evicted by lastAccessed order");
}
cm.removeAll();
}
// set 'aNumber' cookies with host 'aHost', with distinct names.
function
setCookies(aCM, aHost, aNumber)
{
let expiry = (Date.now() + 1e6) * 1000;
for (let i = 0; i < aNumber; ++i)
aCM.add(aHost, "", "test" + i, "eviction", false, false, false, expiry);
}
// count how many cookies are within domain 'aBaseDomain', using three
// independent interface methods on nsICookieManager2:
// 1) 'enumerator', an enumerator of all cookies;
// 2) 'countCookiesFromHost', which returns the number of cookies within the
// base domain of 'aHost',
// 3) 'getCookiesFromHost', which returns an enumerator of 2).
function
countCookies(aCM, aBaseDomain, aHost)
{
let enumerator = aCM.enumerator;
// count how many cookies are within domain 'aBaseDomain' using the cookie
// enumerator.
let cookies = [];
while (enumerator.hasMoreElements()) {
let cookie = enumerator.getNext().QueryInterface(Ci.nsICookie2);
if (cookie.host.length >= aBaseDomain.length &&
cookie.host.slice(cookie.host.length - aBaseDomain.length) == aBaseDomain)
cookies.push(cookie);
}
// confirm the count using countCookiesFromHost and getCookiesFromHost.
let result = cookies.length;
do_check_eq(aCM.countCookiesFromHost(aBaseDomain), cookies.length);
do_check_eq(aCM.countCookiesFromHost(aHost), cookies.length);
enumerator = aCM.getCookiesFromHost(aHost);
while (enumerator.hasMoreElements()) {
let cookie = enumerator.getNext().QueryInterface(Ci.nsICookie2);
if (cookie.host.length >= aBaseDomain.length &&
cookie.host.slice(cookie.host.length - aBaseDomain.length) == aBaseDomain) {
let found = false;
for (let i = 0; i < cookies.length; ++i) {
if (cookies[i].host == cookie.host && cookies[i].name == cookie.name) {
found = true;
cookies.splice(i, 1);
break;
}
}
if (!found)
do_throw("cookie " + cookie.name + " not found in master enumerator");
} else {
do_throw("cookie host " + cookie.host + " not within domain " + aBaseDomain);
}
}
do_check_eq(cookies.length, 0);
return result;
}
// delay for a number of milliseconds
function sleep(delay)
{
var start = Date.now();
while (Date.now() < start + delay);
}

View File

@ -1824,22 +1824,22 @@ gfxFontUtils::MakeEOTHeader(const PRUint8 *aFontData, PRUint32 aFontDataLength,
PRUint32 nameoff = names[i].offset; // offset from base of string storage
// sanity check the name string location
if (PRUint64(nameOffset) + PRUint64(nameStringsBase) + PRUint64(nameoff)
+ PRUint64(namelen) > dataLength) {
if (PRUint64(nameOffset) + PRUint64(nameStringsBase) +
PRUint64(nameoff) + PRUint64(namelen) > dataLength) {
return NS_ERROR_FAILURE;
}
strOffset = nameOffset + nameStringsBase + nameoff + namelen;
// output 2-byte str size
strOffset = nameOffset + nameStringsBase + nameoff;
// output 2-byte str size
strLen = namelen & (~1); // UTF-16 string len must be even
*((PRUint16*) eotEnd) = PRUint16(strLen);
eotEnd += 2;
// length is number of UTF-16 chars, not bytes
CopySwapUTF16(reinterpret_cast<const PRUint16*>(aFontData + strOffset),
reinterpret_cast<PRUint16*>(eotEnd),
(strLen >> 1));
// length is number of UTF-16 chars, not bytes
CopySwapUTF16(reinterpret_cast<const PRUint16*>(aFontData + strOffset),
reinterpret_cast<PRUint16*>(eotEnd),
(strLen >> 1));
eotEnd += strLen;
// add 2-byte zero padding to the end of each string

View File

@ -191,6 +191,7 @@ sk=x-central-euro
sl=x-central-euro
sm=x-western
so=x-western
son=x-western
sq=x-western
sr=x-cyrillic
ss=x-western

View File

@ -218,6 +218,7 @@ sk.accept = true
sl.accept = true
sm.accept = true
so.accept = true
son-ml.accept = true
sq.accept = true
sr.accept = true
ss.accept = true

View File

@ -67,10 +67,6 @@ endif
DIRS += src
ifdef MOZ_MATHML
DIRS += ucvmath
endif
ifdef ENABLE_TESTS
TOOL_DIRS += tests
endif

View File

@ -1,90 +0,0 @@
#
# ***** 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 MathML Project.
#
# The Initial Developer of the Original Code is
# The University Of Queensland.
# Portions created by the Initial Developer are Copyright (C) 1999
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Roger B. Sidje <rbs@maths.uq.edu.au>
#
# 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 *****
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = ucvmath
LIBRARY_NAME = ucvmath
EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsUCvMathModule
GRE_MODULE = 1
LIBXUL_LIBRARY = 1
LOCAL_INCLUDES = -I$(srcdir)/../util
CPPSRCS = \
nsUnicodeToMathematica1.cpp \
nsUnicodeToMathematica2.cpp \
nsUnicodeToMathematica3.cpp \
nsUnicodeToMathematica4.cpp \
nsUnicodeToMathematica5.cpp \
nsUnicodeToMTExtra.cpp \
nsUCvMathModule.cpp \
$(NULL)
ifeq (,$(filter OS2 WINNT,$(OS_ARCH)))
CPPSRCS += \
nsUnicodeToTeXCMRt1.cpp \
nsUnicodeToTeXCMMIt1.cpp \
nsUnicodeToTeXCMSYt1.cpp \
nsUnicodeToTeXCMEXt1.cpp \
$(NULL)
endif
CPPSRCS += \
nsUnicodeToTeXCMRttf.cpp \
nsUnicodeToTeXCMMIttf.cpp \
nsUnicodeToTeXCMSYttf.cpp \
nsUnicodeToTeXCMEXttf.cpp \
$(NULL)
EXPORTS = nsUCvMathCID.h
EXTRA_DSO_LDOPTS += \
../util/$(LIB_PREFIX)ucvutil_s.$(LIB_SUFFIX) \
$(MOZ_COMPONENT_LIBS) \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@ -1,500 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = 0028
srcEnd = 003F
destBegin = 0028
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = F8EB
srcEnd = F8F4
destBegin = 00E6
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = F8F6
srcEnd = F8FE
destBegin = 00F6
End of Item 0002
Begin of Item 0003
Format 1
srcBegin = 0020
srcEnd = 0027
mappingOffset = 0000
Mapping =
0020 0021 008D 0023 FFFD 0025 0026 008C
End of Item 0003
Begin of Item 0004
Format 2
srcBegin = 0040
destBegin = 009E
End of Item 0004
Begin of Item 0005
Format 1
srcBegin = 005B
srcEnd = 0060
mappingOffset = 0008
Mapping =
005B FFFD 005D 0060 005F 008B
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = 007B
srcEnd = 007E
mappingOffset = 000E
Mapping =
007B 007C 007D 007E
End of Item 0006
Begin of Item 0007
Format 1
srcBegin = 00A9
srcEnd = 00B7
mappingOffset = 0012
Mapping =
00D3 FFFD FFFD 00D8 FFFD 00D2 FFFD 00B0
00B1 FFFD FFFD FFFD FFFD FFFD 00D7
End of Item 0007
Begin of Item 0008
Format 2
srcBegin = 00D7
destBegin = 00B4
End of Item 0008
Begin of Item 0009
Format 2
srcBegin = 00F7
destBegin = 00B8
End of Item 0009
Begin of Item 000A
Format 2
srcBegin = 0303
destBegin = 008E
End of Item 000A
Begin of Item 000B
Format 2
srcBegin = 0331
destBegin = 008F
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 0391
srcEnd = 03D6
mappingOffset = 0021
Mapping =
0041 0042 0047 0044 0045 005A 0048 0051
0049 004B 004C 004D 004E 0058 004F 0050
0052 FFFD 0053 0054 0055 0046 0043 0059
0057 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
0061 0062 0067 0064 0065 007A 0068 0071
0069 006B 006C 006D 006E 0078 006F 0070
0072 0056 0073 0074 0075 0066 0063 0079
0077 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
004A 00A1 FFFD FFFD 006A 0076
End of Item 000C
Begin of Item 000D
Format 2
srcBegin = 2010
destBegin = 0080
End of Item 000D
Begin of Item 000E
Format 1
srcBegin = 2022
srcEnd = 2026
mappingOffset = 0067
Mapping =
00B7 FFFD FFFD FFFD 00BC
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 2032
srcEnd = 2033
mappingOffset = 006C
Mapping =
00A2 00B2
End of Item 000F
Begin of Item 0010
Format 2
srcBegin = 2043
destBegin = 0085
End of Item 0010
Begin of Item 0011
Format 1
srcBegin = 2111
srcEnd = 2122
mappingOffset = 006E
Mapping =
00C1 FFFD FFFD FFFD FFFD FFFD FFFD 00C3
FFFD FFFD FFFD 00C2 FFFD FFFD FFFD FFFD
FFFD 00D4
End of Item 0011
Begin of Item 0012
Format 2
srcBegin = 2135
destBegin = 00C0
End of Item 0012
Begin of Item 0013
Format 1
srcBegin = 2146
srcEnd = 2148
mappingOffset = 0080
Mapping =
00E2 00E3 00E4
End of Item 0013
Begin of Item 0014
Format 1
srcBegin = 2190
srcEnd = 2195
mappingOffset = 0083
Mapping =
00AC 00AD 00AE 00AF 00AB 0097
End of Item 0014
Begin of Item 0015
Format 2
srcBegin = 21B5
destBegin = 00BF
End of Item 0015
Begin of Item 0016
Format 1
srcBegin = 21D0
srcEnd = 21D5
mappingOffset = 0089
Mapping =
00DC 00DD 00DE 00DF 00DB 0090
End of Item 0016
Begin of Item 0017
Format 1
srcBegin = 2200
srcEnd = 2234
mappingOffset = 008F
Mapping =
0022 FFFD 00B6 0024 FFFD 00C6 FFFD 00D1
00CE 00CF FFFD FFFD FFFD 0027 FFFD 00D5
FFFD 00E5 FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 00D6 FFFD FFFD 00B5 00A5 FFFD
00D0 FFFD FFFD FFFD FFFD FFFD FFFD 00D9
00DA FFFD FFFD 00F2 FFFD FFFD FFFD FFFD
FFFD FFFD FFFD FFFD 005C
End of Item 0017
Begin of Item 0018
Format 1
srcBegin = 2245
srcEnd = 2248
mappingOffset = 00C4
Mapping =
0040 FFFD FFFD 00BB
End of Item 0018
Begin of Item 0019
Format 2
srcBegin = 2254
destBegin = 009B
End of Item 0019
Begin of Item 001A
Format 1
srcBegin = 2260
srcEnd = 226B
mappingOffset = 00C8
Mapping =
00B9 00BA FFFD FFFD 00A3 00B3 FFFD FFFD
FFFD FFFD 0086 0087
End of Item 001A
Begin of Item 001B
Format 1
srcBegin = 2282
srcEnd = 2287
mappingOffset = 00D4
Mapping =
00CC 00C9 00CB FFFD 00CD 009D
End of Item 001B
Begin of Item 001C
Format 1
srcBegin = 2295
srcEnd = 2297
mappingOffset = 00DA
Mapping =
00C5 FFFD 00C4
End of Item 001C
Begin of Item 001D
Format 2
srcBegin = 22A5
destBegin = 005E
End of Item 001D
Begin of Item 001E
Format 1
srcBegin = 22C2
srcEnd = 22C4
mappingOffset = 00DD
Mapping =
00C8 00C7 009C
End of Item 001E
Begin of Item 001F
Format 2
srcBegin = 22F1
destBegin = 0084
End of Item 001F
Begin of Item 0020
Format 1
srcBegin = 2317
srcEnd = 232A
mappingOffset = 00E0
Mapping =
00F0 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD 00F5 00F3 FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 00E1 00F1
End of Item 0020
Begin of Item 0021
Format 2
srcBegin = 2423
destBegin = 0088
End of Item 0021
Begin of Item 0022
Format 1
srcBegin = 25A0
srcEnd = 25AA
mappingOffset = 00F4
Mapping =
0082 0083 FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 009F
End of Item 0022
Begin of Item 0023
Format 2
srcBegin = 25CA
destBegin = 00E0
End of Item 0023
Begin of Item 0024
Format 1
srcBegin = 2660
srcEnd = 2663
mappingOffset = 00FF
Mapping =
00AA 00A9 00A8 00A7
End of Item 0024
Begin of Item 0025
Format 2
srcBegin = 29EB
destBegin = 00A6
End of Item 0025
Begin of Item 0026
Format 2
srcBegin = 2A75
destBegin = 008A
End of Item 0026
Begin of Item 0027
Format 2
srcBegin = EFFE
destBegin = 0091
End of Item 0027
Begin of Item 0028
Format 2
srcBegin = F030
destBegin = 0093
End of Item 0028
Begin of Item 0029
Format 1
srcBegin = F576
srcEnd = F57B
mappingOffset = 0103
Mapping =
0098 0099 009A 0092 0094 0096
End of Item 0029
Begin of Item 002A
Format 1
srcBegin = F8E6
srcEnd = F8E7
mappingOffset = 0109
Mapping =
00BD 00BE
End of Item 002A
Begin of Item 002B
Format 2
srcBegin = F8F5
destBegin = 00F4
End of Item 002B
========================================================*/
/* Offset=0x0000 ItemOfList */
0x002C,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0010,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0094,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0003 */
/* Total of Format 1 : 0x0016 */
/* Total of Format 2 : 0x0013 */
/* Total of Format 3 : 0x0000 */
0x1000, 0x1112, 0x2222, 0x1121, 0x1212, 0x1121, 0x1121, 0x2121,
0x2121, 0x2221, 0x2112, 0x0000,
/*-------------------------------------------------------*/
/* Offset=0x0010 Start of MapCell Array */
/* 0000 */ 0x0028, 0x003F, 0x0028,
/* 0001 */ 0xF8EB, 0xF8F4, 0x00E6,
/* 0002 */ 0xF8F6, 0xF8FE, 0x00F6,
/* 0003 */ 0x0020, 0x0027, 0x0000,
/* 0004 */ 0x0040, 0x0000, 0x009E,
/* 0005 */ 0x005B, 0x0060, 0x0008,
/* 0006 */ 0x007B, 0x007E, 0x000E,
/* 0007 */ 0x00A9, 0x00B7, 0x0012,
/* 0008 */ 0x00D7, 0x0000, 0x00B4,
/* 0009 */ 0x00F7, 0x0000, 0x00B8,
/* 000A */ 0x0303, 0x0000, 0x008E,
/* 000B */ 0x0331, 0x0000, 0x008F,
/* 000C */ 0x0391, 0x03D6, 0x0021,
/* 000D */ 0x2010, 0x0000, 0x0080,
/* 000E */ 0x2022, 0x2026, 0x0067,
/* 000F */ 0x2032, 0x2033, 0x006C,
/* 0010 */ 0x2043, 0x0000, 0x0085,
/* 0011 */ 0x2111, 0x2122, 0x006E,
/* 0012 */ 0x2135, 0x0000, 0x00C0,
/* 0013 */ 0x2146, 0x2148, 0x0080,
/* 0014 */ 0x2190, 0x2195, 0x0083,
/* 0015 */ 0x21B5, 0x0000, 0x00BF,
/* 0016 */ 0x21D0, 0x21D5, 0x0089,
/* 0017 */ 0x2200, 0x2234, 0x008F,
/* 0018 */ 0x2245, 0x2248, 0x00C4,
/* 0019 */ 0x2254, 0x0000, 0x009B,
/* 001A */ 0x2260, 0x226B, 0x00C8,
/* 001B */ 0x2282, 0x2287, 0x00D4,
/* 001C */ 0x2295, 0x2297, 0x00DA,
/* 001D */ 0x22A5, 0x0000, 0x005E,
/* 001E */ 0x22C2, 0x22C4, 0x00DD,
/* 001F */ 0x22F1, 0x0000, 0x0084,
/* 0020 */ 0x2317, 0x232A, 0x00E0,
/* 0021 */ 0x2423, 0x0000, 0x0088,
/* 0022 */ 0x25A0, 0x25AA, 0x00F4,
/* 0023 */ 0x25CA, 0x0000, 0x00E0,
/* 0024 */ 0x2660, 0x2663, 0x00FF,
/* 0025 */ 0x29EB, 0x0000, 0x00A6,
/* 0026 */ 0x2A75, 0x0000, 0x008A,
/* 0027 */ 0xEFFE, 0x0000, 0x0091,
/* 0028 */ 0xF030, 0x0000, 0x0093,
/* 0029 */ 0xF576, 0xF57B, 0x0103,
/* 002A */ 0xF8E6, 0xF8E7, 0x0109,
/* 002B */ 0xF8F5, 0x0000, 0x00F4,
/*-------------------------------------------------------*/
/* Offset=0x0094 Start of MappingTable */
/* 0000 */ 0x0020, 0x0021, 0x008D, 0x0023, 0xFFFD, 0x0025, 0x0026, 0x008C,
/* 0008 */ 0x005B, 0xFFFD, 0x005D, 0x0060, 0x005F, 0x008B, 0x007B, 0x007C,
/* 0010 */ 0x007D, 0x007E, 0x00D3, 0xFFFD, 0xFFFD, 0x00D8, 0xFFFD, 0x00D2,
/* 0018 */ 0xFFFD, 0x00B0, 0x00B1, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0020 */ 0x00D7, 0x0041, 0x0042, 0x0047, 0x0044, 0x0045, 0x005A, 0x0048,
/* 0028 */ 0x0051, 0x0049, 0x004B, 0x004C, 0x004D, 0x004E, 0x0058, 0x004F,
/* 0030 */ 0x0050, 0x0052, 0xFFFD, 0x0053, 0x0054, 0x0055, 0x0046, 0x0043,
/* 0038 */ 0x0059, 0x0057, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0040 */ 0xFFFD, 0x0061, 0x0062, 0x0067, 0x0064, 0x0065, 0x007A, 0x0068,
/* 0048 */ 0x0071, 0x0069, 0x006B, 0x006C, 0x006D, 0x006E, 0x0078, 0x006F,
/* 0050 */ 0x0070, 0x0072, 0x0056, 0x0073, 0x0074, 0x0075, 0x0066, 0x0063,
/* 0058 */ 0x0079, 0x0077, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0060 */ 0xFFFD, 0x004A, 0x00A1, 0xFFFD, 0xFFFD, 0x006A, 0x0076, 0x00B7,
/* 0068 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x00BC, 0x00A2, 0x00B2, 0x00C1, 0xFFFD,
/* 0070 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00C3, 0xFFFD, 0xFFFD,
/* 0078 */ 0xFFFD, 0x00C2, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00D4,
/* 0080 */ 0x00E2, 0x00E3, 0x00E4, 0x00AC, 0x00AD, 0x00AE, 0x00AF, 0x00AB,
/* 0088 */ 0x0097, 0x00DC, 0x00DD, 0x00DE, 0x00DF, 0x00DB, 0x0090, 0x0022,
/* 0090 */ 0xFFFD, 0x00B6, 0x0024, 0xFFFD, 0x00C6, 0xFFFD, 0x00D1, 0x00CE,
/* 0098 */ 0x00CF, 0xFFFD, 0xFFFD, 0xFFFD, 0x0027, 0xFFFD, 0x00D5, 0xFFFD,
/* 00A0 */ 0x00E5, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00A8 */ 0xFFFD, 0x00D6, 0xFFFD, 0xFFFD, 0x00B5, 0x00A5, 0xFFFD, 0x00D0,
/* 00B0 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00D9, 0x00DA,
/* 00B8 */ 0xFFFD, 0xFFFD, 0x00F2, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00C0 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x005C, 0x0040, 0xFFFD, 0xFFFD, 0x00BB,
/* 00C8 */ 0x00B9, 0x00BA, 0xFFFD, 0xFFFD, 0x00A3, 0x00B3, 0xFFFD, 0xFFFD,
/* 00D0 */ 0xFFFD, 0xFFFD, 0x0086, 0x0087, 0x00CC, 0x00C9, 0x00CB, 0xFFFD,
/* 00D8 */ 0x00CD, 0x009D, 0x00C5, 0xFFFD, 0x00C4, 0x00C8, 0x00C7, 0x009C,
/* 00E0 */ 0x00F0, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00E8 */ 0xFFFD, 0x00F5, 0x00F3, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00F0 */ 0xFFFD, 0xFFFD, 0x00E1, 0x00F1, 0x0082, 0x0083, 0xFFFD, 0xFFFD,
/* 00F8 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x009F, 0x00AA,
/* 0100 */ 0x00A9, 0x00A8, 0x00A7, 0x0098, 0x0099, 0x009A, 0x0092, 0x0094,
/* 0108 */ 0x0096, 0x00BD, 0x00BE,
/* End of table Total Length = 0x019F * 2 */

View File

@ -1,338 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = F078
srcEnd = F07D
destBegin = 0086
End of Item 0000
Begin of Item 0001
Format 1
srcBegin = 0020
srcEnd = 002F
mappingOffset = 0000
Mapping =
0020 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
0048 004C FFFD FFFD FFFD FFFD FFFD 0090
End of Item 0001
Begin of Item 0002
Format 1
srcBegin = 005B
srcEnd = 005D
mappingOffset = 0010
Mapping =
0040 FFFD 0044
End of Item 0002
Begin of Item 0003
Format 1
srcBegin = 007B
srcEnd = 007D
mappingOffset = 0013
Mapping =
0038 FFFD 003C
End of Item 0003
Begin of Item 0004
Format 2
srcBegin = 02C7
destBegin = 00C7
End of Item 0004
Begin of Item 0005
Format 1
srcBegin = 02D8
srcEnd = 02DC
mappingOffset = 0016
Mapping =
00F1 FFFD 00C6 FFFD 00F3
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = 0308
srcEnd = 0311
mappingOffset = 001B
Mapping =
00D0 FFFD FFFD FFFD FFFD FFFD FFFD 00F0
FFFD 00F2
End of Item 0006
Begin of Item 0007
Format 1
srcBegin = 2032
srcEnd = 2036
mappingOffset = 0025
Mapping =
00F7 00F8 FFFD 00F9 00FA
End of Item 0007
Begin of Item 0008
Format 1
srcBegin = 20D6
srcEnd = 20E1
mappingOffset = 002A
Mapping =
00D5 00D7 FFFD FFFD FFFD 00D1 FFFD FFFD
FFFD FFFD FFFD 00D8
End of Item 0008
Begin of Item 0009
Format 1
srcBegin = 21BC
srcEnd = 21C0
mappingOffset = 0036
Mapping =
00D2 FFFD FFFD FFFD 00D3
End of Item 0009
Begin of Item 000A
Format 1
srcBegin = 220F
srcEnd = 2233
mappingOffset = 003B
Mapping =
00DB 00FF 00DA FFFD FFFD FFFD FFFD 0094
FFFD FFFD FFFD 0030 FFFD FFFD FFFD FFFD
FFFD FFFD FFFD FFFD 00A0 FFFD 00C0 FFFD
00EF 00EE FFFD FFFD 00D9 FFFD FFFD 0098
0099 FFFD FFFD 009B 009A
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 228E
srcEnd = 2294
mappingOffset = 0060
Mapping =
009D FFFD FFFD FFFD FFFD 009E 009F
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 22C0
srcEnd = 22C3
mappingOffset = 0067
Mapping =
00DF 00DE 00DD 00DC
End of Item 000C
Begin of Item 000D
Format 1
srcBegin = 2308
srcEnd = 230B
mappingOffset = 006B
Mapping =
0060 0070 0064 0074
End of Item 000D
Begin of Item 000E
Format 1
srcBegin = 2329
srcEnd = 232A
mappingOffset = 006F
Mapping =
0058 005C
End of Item 000E
Begin of Item 000F
Format 2
srcBegin = 2758
destBegin = 00C8
End of Item 000F
Begin of Item 0010
Format 2
srcBegin = 294E
destBegin = 00D4
End of Item 0010
Begin of Item 0011
Format 1
srcBegin = 2A0D
srcEnd = 2A16
mappingOffset = 0071
Mapping =
00CD FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD 009C
End of Item 0011
Begin of Item 0012
Format 1
srcBegin = 301A
srcEnd = 301B
mappingOffset = 007B
Mapping =
0050 0054
End of Item 0012
Begin of Item 0013
Format 1
srcBegin = EFC9
srcEnd = F02F
mappingOffset = 007D
Mapping =
0092 0096 FFFD FFFD 00AF 00BF 00A8 00B8
FFFD FFFD FFFD FFFD FFFD FFFD 00E2 00E4
00E0 00E6 00E8 00AD FFFD FFFD 00E3 00E5
00E1 00E7 00E9 00BD FFFD FFFD FFFD FFFD
FFFD FFFD FFFD 00F4 00F5 00F6 0042 0046
0066 0076 0062 0072 003A 003E 0031 0032
0033 FFFD 0034 0035 0036 FFFD FFFD FFFD
FFFD FFFD FFFD FFFD FFFD 0049 004D 0041
0045 0065 0075 0061 0071 0039 003D FFFD
FFFD 00C4 00C5 0091 0095 004A 004E 004B
004F 0043 0047 0067 0077 0063 0073 003B
003F FFFD FFFD 0093 0097 FFFD FFFD FFFD
FFFD 005A 005E 0059 005D 005B 005F
End of Item 0013
Begin of Item 0014
Format 1
srcBegin = F070
srcEnd = F097
mappingOffset = 00E4
Mapping =
0051 0052 0053 0055 0056 0057 0068 0078
FFFD FFFD FFFD FFFD FFFD FFFD 00A1 00A2
00A3 00A9 00AA 00AB 00AC 00AE 00B9 00BA
00BB 00BC 00BE 00C1 00C2 00C3 00CE 00CF
00D6 00EA 00EB 00EC 00ED 00C9 00CB 00CC
End of Item 0014
Begin of Item 0015
Format 1
srcBegin = F8EB
srcEnd = F8FE
mappingOffset = 010C
Mapping =
0069 006A 006B 0080 0081 0082 006C 006D
006E 006F FFFD 0079 007A 007B 0083 0084
0085 007C 007D 007E
End of Item 0015
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0016,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x000A,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x004C,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0001 */
/* Total of Format 1 : 0x0012 */
/* Total of Format 2 : 0x0003 */
/* Total of Format 3 : 0x0000 */
0x1110, 0x1112, 0x1111, 0x2111, 0x1112, 0x0011,
/*-------------------------------------------------------*/
/* Offset=0x000A Start of MapCell Array */
/* 0000 */ 0xF078, 0xF07D, 0x0086,
/* 0001 */ 0x0020, 0x002F, 0x0000,
/* 0002 */ 0x005B, 0x005D, 0x0010,
/* 0003 */ 0x007B, 0x007D, 0x0013,
/* 0004 */ 0x02C7, 0x0000, 0x00C7,
/* 0005 */ 0x02D8, 0x02DC, 0x0016,
/* 0006 */ 0x0308, 0x0311, 0x001B,
/* 0007 */ 0x2032, 0x2036, 0x0025,
/* 0008 */ 0x20D6, 0x20E1, 0x002A,
/* 0009 */ 0x21BC, 0x21C0, 0x0036,
/* 000A */ 0x220F, 0x2233, 0x003B,
/* 000B */ 0x228E, 0x2294, 0x0060,
/* 000C */ 0x22C0, 0x22C3, 0x0067,
/* 000D */ 0x2308, 0x230B, 0x006B,
/* 000E */ 0x2329, 0x232A, 0x006F,
/* 000F */ 0x2758, 0x0000, 0x00C8,
/* 0010 */ 0x294E, 0x0000, 0x00D4,
/* 0011 */ 0x2A0D, 0x2A16, 0x0071,
/* 0012 */ 0x301A, 0x301B, 0x007B,
/* 0013 */ 0xEFC9, 0xF02F, 0x007D,
/* 0014 */ 0xF070, 0xF097, 0x00E4,
/* 0015 */ 0xF8EB, 0xF8FE, 0x010C,
/*-------------------------------------------------------*/
/* Offset=0x004C Start of MappingTable */
/* 0000 */ 0x0020, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0008 */ 0x0048, 0x004C, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0090,
/* 0010 */ 0x0040, 0xFFFD, 0x0044, 0x0038, 0xFFFD, 0x003C, 0x00F1, 0xFFFD,
/* 0018 */ 0x00C6, 0xFFFD, 0x00F3, 0x00D0, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0020 */ 0xFFFD, 0xFFFD, 0x00F0, 0xFFFD, 0x00F2, 0x00F7, 0x00F8, 0xFFFD,
/* 0028 */ 0x00F9, 0x00FA, 0x00D5, 0x00D7, 0xFFFD, 0xFFFD, 0xFFFD, 0x00D1,
/* 0030 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00D8, 0x00D2, 0xFFFD,
/* 0038 */ 0xFFFD, 0xFFFD, 0x00D3, 0x00DB, 0x00FF, 0x00DA, 0xFFFD, 0xFFFD,
/* 0040 */ 0xFFFD, 0xFFFD, 0x0094, 0xFFFD, 0xFFFD, 0xFFFD, 0x0030, 0xFFFD,
/* 0048 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A0,
/* 0050 */ 0xFFFD, 0x00C0, 0xFFFD, 0x00EF, 0x00EE, 0xFFFD, 0xFFFD, 0x00D9,
/* 0058 */ 0xFFFD, 0xFFFD, 0x0098, 0x0099, 0xFFFD, 0xFFFD, 0x009B, 0x009A,
/* 0060 */ 0x009D, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x009E, 0x009F, 0x00DF,
/* 0068 */ 0x00DE, 0x00DD, 0x00DC, 0x0060, 0x0070, 0x0064, 0x0074, 0x0058,
/* 0070 */ 0x005C, 0x00CD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0078 */ 0xFFFD, 0xFFFD, 0x009C, 0x0050, 0x0054, 0x0092, 0x0096, 0xFFFD,
/* 0080 */ 0xFFFD, 0x00AF, 0x00BF, 0x00A8, 0x00B8, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0088 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x00E2, 0x00E4, 0x00E0, 0x00E6, 0x00E8,
/* 0090 */ 0x00AD, 0xFFFD, 0xFFFD, 0x00E3, 0x00E5, 0x00E1, 0x00E7, 0x00E9,
/* 0098 */ 0x00BD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00A0 */ 0x00F4, 0x00F5, 0x00F6, 0x0042, 0x0046, 0x0066, 0x0076, 0x0062,
/* 00A8 */ 0x0072, 0x003A, 0x003E, 0x0031, 0x0032, 0x0033, 0xFFFD, 0x0034,
/* 00B0 */ 0x0035, 0x0036, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00B8 */ 0xFFFD, 0xFFFD, 0x0049, 0x004D, 0x0041, 0x0045, 0x0065, 0x0075,
/* 00C0 */ 0x0061, 0x0071, 0x0039, 0x003D, 0xFFFD, 0xFFFD, 0x00C4, 0x00C5,
/* 00C8 */ 0x0091, 0x0095, 0x004A, 0x004E, 0x004B, 0x004F, 0x0043, 0x0047,
/* 00D0 */ 0x0067, 0x0077, 0x0063, 0x0073, 0x003B, 0x003F, 0xFFFD, 0xFFFD,
/* 00D8 */ 0x0093, 0x0097, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x005A, 0x005E,
/* 00E0 */ 0x0059, 0x005D, 0x005B, 0x005F, 0x0051, 0x0052, 0x0053, 0x0055,
/* 00E8 */ 0x0056, 0x0057, 0x0068, 0x0078, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00F0 */ 0xFFFD, 0xFFFD, 0x00A1, 0x00A2, 0x00A3, 0x00A9, 0x00AA, 0x00AB,
/* 00F8 */ 0x00AC, 0x00AE, 0x00B9, 0x00BA, 0x00BB, 0x00BC, 0x00BE, 0x00C1,
/* 0100 */ 0x00C2, 0x00C3, 0x00CE, 0x00CF, 0x00D6, 0x00EA, 0x00EB, 0x00EC,
/* 0108 */ 0x00ED, 0x00C9, 0x00CB, 0x00CC, 0x0069, 0x006A, 0x006B, 0x0080,
/* 0110 */ 0x0081, 0x0082, 0x006C, 0x006D, 0x006E, 0x006F, 0xFFFD, 0x0079,
/* 0118 */ 0x007A, 0x007B, 0x0083, 0x0084, 0x0085, 0x007C, 0x007D, 0x007E,
/* End of table Total Length = 0x016C * 2 */

View File

@ -1,477 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 2
srcBegin = 0020
destBegin = 0020
End of Item 0000
Begin of Item 0001
Format 2
srcBegin = 003D
destBegin = 0057
End of Item 0001
Begin of Item 0002
Format 1
srcBegin = 00A1
srcEnd = 00D0
mappingOffset = 0000
Mapping =
00CC 00C9 00CB FFFD 00CF FFFD 00CD FFFD
FFFD FFFD FFFD FFFD FFFD FFFD FFFD 00D8
FFFD FFFD FFFD FFFD 00D0 00CE FFFD FFFD
FFFD FFFD FFFD FFFD FFFD FFFD 00C8 FFFD
FFFD FFFD FFFD FFFD 00DE FFFD FFFD FFFD
FFFD FFFD FFFD FFFD FFFD FFFD FFFD 00C2
End of Item 0002
Begin of Item 0003
Format 1
srcBegin = 00DD
srcEnd = 00DE
mappingOffset = 0030
Mapping =
00C0 00C4
End of Item 0003
Begin of Item 0004
Format 2
srcBegin = 00F0
destBegin = 00C3
End of Item 0004
Begin of Item 0005
Format 1
srcBegin = 00FD
srcEnd = 00FE
mappingOffset = 0032
Mapping =
00C1 00C5
End of Item 0005
Begin of Item 0006
Format 2
srcBegin = 0131
destBegin = 00D2
End of Item 0006
Begin of Item 0007
Format 1
srcBegin = 0141
srcEnd = 0142
mappingOffset = 0034
Mapping =
00C6 00C7
End of Item 0007
Begin of Item 0008
Format 1
srcBegin = 0190
srcEnd = 019B
mappingOffset = 0036
Mapping =
00FB FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD FFFD 00DF
End of Item 0008
Begin of Item 0009
Format 2
srcBegin = 03B5
destBegin = 00B6
End of Item 0009
Begin of Item 000A
Format 2
srcBegin = 03C2
destBegin = 00B9
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 03DA
srcEnd = 03E0
mappingOffset = 0042
Mapping =
00B3 FFFD 00B2 FFFD FFFD FFFD 00B5
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 03F0
srcEnd = 03F1
mappingOffset = 0049
Mapping =
00BF 00B7
End of Item 000C
Begin of Item 000D
Format 1
srcBegin = 2020
srcEnd = 2021
mappingOffset = 004B
Mapping =
00D6 00D7
End of Item 000D
Begin of Item 000E
Format 2
srcBegin = 210F
destBegin = 00D1
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 2127
srcEnd = 2138
mappingOffset = 004D
Mapping =
00B0 FFFD FFFD FFFD 00CA FFFD FFFD FFFD
FFFD FFFD FFFD FFFD FFFD FFFD FFFD 00BC
00BD 00BE
End of Item 000F
Begin of Item 0010
Format 2
srcBegin = 2145
destBegin = 00FF
End of Item 0010
Begin of Item 0011
Format 1
srcBegin = 2204
srcEnd = 2250
mappingOffset = 005F
Mapping =
00B1 00AF FFFD FFFD FFFD FFFD FFFD 009C
009D FFFD FFFD FFFD FFFD FFFD FFFD 00A1
FFFD FFFD FFFD FFFD FFFD 00E9 FFFD FFFD
FFFD FFFD FFFD 00AC FFFD 00AD 00AE FFFD
FFFD FFFD FFFD 002D 002F 0027 0028 0021
FFFD FFFD 0022 0023 FFFD FFFD 0025 0024
FFFD 008B FFFD 009B FFFD FFFD FFFD FFFD
FFFD FFFD FFFD FFFD 00AA 004C 003F 003E
004E FFFD FFFD 003D FFFD 004D FFFD FFFD
FFFD 005E 0051 0050 0055
End of Item 0011
Begin of Item 0012
Format 1
srcBegin = 2262
srcEnd = 22BA
mappingOffset = 00AC
Mapping =
0054 FFFD 0062 0072 0063 0073 006A 007A
0060 0070 00A9 005F 0065 0075 0068 0078
0064 0074 006B 007B 0088 0098 0089 0099
0080 0090 0082 0092 0083 0093 0084 0094
FFFD FFFD FFFD 008E FFFD FFFD 008D 008F
FFFD FFFD FFFD FFFD 0029 006C 007C 006D
007D 002A 002B FFFD 009E FFFD FFFD 009F
FFFD FFFD FFFD FFFD FFFD FFFD FFFD FFFD
00A2 00A4 00A7 00A6 FFFD FFFD 00A3 FFFD
FFFD FFFD FFFD FFFD FFFD FFFD FFFD FFFD
0030 0040 0031 0041 FFFD FFFD FFFD FFFD
00A8
End of Item 0012
Begin of Item 0013
Format 2
srcBegin = 22C8
destBegin = 00AB
End of Item 0013
Begin of Item 0014
Format 1
srcBegin = 22D5
srcEnd = 22ED
mappingOffset = 0105
Mapping =
00A0 FFFD FFFD FFFD FFFD 008A 009A FFFD
FFFD FFFD FFFD 0086 0096 006F 008C FFFD
FFFD FFFD FFFD 0087 0097 0033 0043 0034
0044
End of Item 0014
Begin of Item 0015
Format 1
srcBegin = 2322
srcEnd = 2323
mappingOffset = 011E
Mapping =
005B 005C
End of Item 0015
Begin of Item 0016
Format 2
srcBegin = 2353
destBegin = 00DD
End of Item 0016
Begin of Item 0017
Format 2
srcBegin = 2370
destBegin = 00DC
End of Item 0017
Begin of Item 0018
Format 1
srcBegin = 25A0
srcEnd = 25CF
mappingOffset = 0120
Mapping =
00E0 00E1 FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 00E4 00E5 FFFD FFFD 00F0 00F1
FFFD FFFD 00F2 00F3 FFFD FFFD FFFD FFFD
FFFD FFFD FFFD FFFD 00F4 00F5 FFFD FFFD
FFFD FFFD FFFD FFFD FFFD FFFD 00ED 00EF
FFFD FFFD FFFD 00E8 FFFD FFFD FFFD 00E7
End of Item 0018
Begin of Item 0019
Format 2
srcBegin = 25E6
destBegin = 00EA
End of Item 0019
Begin of Item 001A
Format 1
srcBegin = 25FD
srcEnd = 2605
mappingOffset = 0150
Mapping =
00E3 00E2 FFFD FFFD FFFD FFFD FFFD FFFD
00F8
End of Item 001A
Begin of Item 001B
Format 1
srcBegin = 266D
srcEnd = 266F
mappingOffset = 0159
Mapping =
00D9 00DA 00DB
End of Item 001B
Begin of Item 001C
Format 2
srcBegin = 2736
destBegin = 00F7
End of Item 001C
Begin of Item 001D
Format 2
srcBegin = 2970
destBegin = 0056
End of Item 001D
Begin of Item 001E
Format 2
srcBegin = 29EB
destBegin = 00F6
End of Item 001E
Begin of Item 001F
Format 2
srcBegin = 2A16
destBegin = 0026
End of Item 001F
Begin of Item 0020
Format 1
srcBegin = 2AA1
srcEnd = 2AA2
mappingOffset = 015C
Mapping =
0061 0071
End of Item 0020
Begin of Item 0021
Format 2
srcBegin = 2AE4
destBegin = 00A5
End of Item 0021
Begin of Item 0022
Format 2
srcBegin = ED03
destBegin = 00B8
End of Item 0022
Begin of Item 0023
Format 2
srcBegin = EEF0
destBegin = 00D4
End of Item 0023
Begin of Item 0024
Format 1
srcBegin = EF01
srcEnd = EF15
mappingOffset = 015E
Mapping =
003C FFFD FFFD FFFD FFFD FFFD FFFD 004F
FFFD FFFD FFFD 0053 0052 FFFD FFFD FFFD
FFFD FFFD 0066 FFFD 0076
End of Item 0024
Begin of Item 0025
Format 1
srcBegin = EF29
srcEnd = EF2A
mappingOffset = 0173
Mapping =
0067 0077
End of Item 0025
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0026,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x000E,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0080,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0000 */
/* Total of Format 1 : 0x0013 */
/* Total of Format 2 : 0x0013 */
/* Total of Format 3 : 0x0000 */
0x1122, 0x1212, 0x1221, 0x1211, 0x2112, 0x2211, 0x1121, 0x2222,
0x2221, 0x0011,
/*-------------------------------------------------------*/
/* Offset=0x000E Start of MapCell Array */
/* 0000 */ 0x0020, 0x0000, 0x0020,
/* 0001 */ 0x003D, 0x0000, 0x0057,
/* 0002 */ 0x00A1, 0x00D0, 0x0000,
/* 0003 */ 0x00DD, 0x00DE, 0x0030,
/* 0004 */ 0x00F0, 0x0000, 0x00C3,
/* 0005 */ 0x00FD, 0x00FE, 0x0032,
/* 0006 */ 0x0131, 0x0000, 0x00D2,
/* 0007 */ 0x0141, 0x0142, 0x0034,
/* 0008 */ 0x0190, 0x019B, 0x0036,
/* 0009 */ 0x03B5, 0x0000, 0x00B6,
/* 000A */ 0x03C2, 0x0000, 0x00B9,
/* 000B */ 0x03DA, 0x03E0, 0x0042,
/* 000C */ 0x03F0, 0x03F1, 0x0049,
/* 000D */ 0x2020, 0x2021, 0x004B,
/* 000E */ 0x210F, 0x0000, 0x00D1,
/* 000F */ 0x2127, 0x2138, 0x004D,
/* 0010 */ 0x2145, 0x0000, 0x00FF,
/* 0011 */ 0x2204, 0x2250, 0x005F,
/* 0012 */ 0x2262, 0x22BA, 0x00AC,
/* 0013 */ 0x22C8, 0x0000, 0x00AB,
/* 0014 */ 0x22D5, 0x22ED, 0x0105,
/* 0015 */ 0x2322, 0x2323, 0x011E,
/* 0016 */ 0x2353, 0x0000, 0x00DD,
/* 0017 */ 0x2370, 0x0000, 0x00DC,
/* 0018 */ 0x25A0, 0x25CF, 0x0120,
/* 0019 */ 0x25E6, 0x0000, 0x00EA,
/* 001A */ 0x25FD, 0x2605, 0x0150,
/* 001B */ 0x266D, 0x266F, 0x0159,
/* 001C */ 0x2736, 0x0000, 0x00F7,
/* 001D */ 0x2970, 0x0000, 0x0056,
/* 001E */ 0x29EB, 0x0000, 0x00F6,
/* 001F */ 0x2A16, 0x0000, 0x0026,
/* 0020 */ 0x2AA1, 0x2AA2, 0x015C,
/* 0021 */ 0x2AE4, 0x0000, 0x00A5,
/* 0022 */ 0xED03, 0x0000, 0x00B8,
/* 0023 */ 0xEEF0, 0x0000, 0x00D4,
/* 0024 */ 0xEF01, 0xEF15, 0x015E,
/* 0025 */ 0xEF29, 0xEF2A, 0x0173,
/*-------------------------------------------------------*/
/* Offset=0x0080 Start of MappingTable */
/* 0000 */ 0x00CC, 0x00C9, 0x00CB, 0xFFFD, 0x00CF, 0xFFFD, 0x00CD, 0xFFFD,
/* 0008 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00D8,
/* 0010 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00D0, 0x00CE, 0xFFFD, 0xFFFD,
/* 0018 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00C8, 0xFFFD,
/* 0020 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00DE, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0028 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00C2,
/* 0030 */ 0x00C0, 0x00C4, 0x00C1, 0x00C5, 0x00C6, 0x00C7, 0x00FB, 0xFFFD,
/* 0038 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0040 */ 0xFFFD, 0x00DF, 0x00B3, 0xFFFD, 0x00B2, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0048 */ 0x00B5, 0x00BF, 0x00B7, 0x00D6, 0x00D7, 0x00B0, 0xFFFD, 0xFFFD,
/* 0050 */ 0xFFFD, 0x00CA, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0058 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00BC, 0x00BD, 0x00BE, 0x00B1,
/* 0060 */ 0x00AF, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x009C, 0x009D,
/* 0068 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A1, 0xFFFD,
/* 0070 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00E9, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0078 */ 0xFFFD, 0xFFFD, 0x00AC, 0xFFFD, 0x00AD, 0x00AE, 0xFFFD, 0xFFFD,
/* 0080 */ 0xFFFD, 0xFFFD, 0x002D, 0x002F, 0x0027, 0x0028, 0x0021, 0xFFFD,
/* 0088 */ 0xFFFD, 0x0022, 0x0023, 0xFFFD, 0xFFFD, 0x0025, 0x0024, 0xFFFD,
/* 0090 */ 0x008B, 0xFFFD, 0x009B, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0098 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x00AA, 0x004C, 0x003F, 0x003E, 0x004E,
/* 00A0 */ 0xFFFD, 0xFFFD, 0x003D, 0xFFFD, 0x004D, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00A8 */ 0x005E, 0x0051, 0x0050, 0x0055, 0x0054, 0xFFFD, 0x0062, 0x0072,
/* 00B0 */ 0x0063, 0x0073, 0x006A, 0x007A, 0x0060, 0x0070, 0x00A9, 0x005F,
/* 00B8 */ 0x0065, 0x0075, 0x0068, 0x0078, 0x0064, 0x0074, 0x006B, 0x007B,
/* 00C0 */ 0x0088, 0x0098, 0x0089, 0x0099, 0x0080, 0x0090, 0x0082, 0x0092,
/* 00C8 */ 0x0083, 0x0093, 0x0084, 0x0094, 0xFFFD, 0xFFFD, 0xFFFD, 0x008E,
/* 00D0 */ 0xFFFD, 0xFFFD, 0x008D, 0x008F, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00D8 */ 0x0029, 0x006C, 0x007C, 0x006D, 0x007D, 0x002A, 0x002B, 0xFFFD,
/* 00E0 */ 0x009E, 0xFFFD, 0xFFFD, 0x009F, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00E8 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A2, 0x00A4, 0x00A7, 0x00A6,
/* 00F0 */ 0xFFFD, 0xFFFD, 0x00A3, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00F8 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0030, 0x0040, 0x0031, 0x0041,
/* 0100 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A8, 0x00A0, 0xFFFD, 0xFFFD,
/* 0108 */ 0xFFFD, 0xFFFD, 0x008A, 0x009A, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0110 */ 0x0086, 0x0096, 0x006F, 0x008C, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0118 */ 0x0087, 0x0097, 0x0033, 0x0043, 0x0034, 0x0044, 0x005B, 0x005C,
/* 0120 */ 0x00E0, 0x00E1, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0128 */ 0xFFFD, 0xFFFD, 0x00E4, 0x00E5, 0xFFFD, 0xFFFD, 0x00F0, 0x00F1,
/* 0130 */ 0xFFFD, 0xFFFD, 0x00F2, 0x00F3, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0138 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00F4, 0x00F5, 0xFFFD, 0xFFFD,
/* 0140 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00ED, 0x00EF,
/* 0148 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x00E8, 0xFFFD, 0xFFFD, 0xFFFD, 0x00E7,
/* 0150 */ 0x00E3, 0x00E2, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0158 */ 0x00F8, 0x00D9, 0x00DA, 0x00DB, 0x0061, 0x0071, 0x003C, 0xFFFD,
/* 0160 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x004F, 0xFFFD, 0xFFFD,
/* 0168 */ 0xFFFD, 0x0053, 0x0052, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0170 */ 0x0066, 0xFFFD, 0x0076, 0x0067, 0x0077,
/* End of table Total Length = 0x01F5 * 2 */

View File

@ -1,432 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = F041
srcEnd = F046
destBegin = 006A
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = F047
srcEnd = F04C
destBegin = 0071
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = F04D
srcEnd = F052
destBegin = 0081
End of Item 0002
Begin of Item 0003
Format 0
srcBegin = F057
srcEnd = F05C
destBegin = 0091
End of Item 0003
Begin of Item 0004
Format 0
srcBegin = F062
srcEnd = F067
destBegin = 00A1
End of Item 0004
Begin of Item 0005
Format 2
srcBegin = 0020
destBegin = 0020
End of Item 0005
Begin of Item 0006
Format 2
srcBegin = 00B7
destBegin = 00BD
End of Item 0006
Begin of Item 0007
Format 2
srcBegin = 02C7
destBegin = 00C0
End of Item 0007
Begin of Item 0008
Format 1
srcBegin = 0302
srcEnd = 0307
mappingOffset = 0000
Mapping =
00B0 FFFD FFFD FFFD FFFD 00BC
End of Item 0008
Begin of Item 0009
Format 2
srcBegin = 0327
destBegin = 00DE
End of Item 0009
Begin of Item 000A
Format 1
srcBegin = 2012
srcEnd = 2014
mappingOffset = 0006
Mapping =
007C 007D 007E
End of Item 000A
Begin of Item 000B
Format 2
srcBegin = 2026
destBegin = 00B4
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 2032
srcEnd = 2035
mappingOffset = 0009
Mapping =
00AF FFFD FFFD 009F
End of Item 000C
Begin of Item 000D
Format 1
srcBegin = 2190
srcEnd = 21AA
mappingOffset = 000D
Mapping =
0050 0060 0054 0063 FFFD FFFD 0088 0089
008A 0087 FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD FFFD FFFD 0022 0026 0023 0027
FFFD 004E 004F
End of Item 000D
Begin of Item 000E
Format 1
srcBegin = 21BC
srcEnd = 21CC
mappingOffset = 0028
Mapping =
0030 0033 0055 0040 0031 0034 0064 0042
0056 005C 0057 FFFD FFFD FFFD FFFD 0047
0046
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 21E4
srcEnd = 21E5
mappingOffset = 0039
Mapping =
007B 0021
End of Item 000F
Begin of Item 0010
Format 2
srcBegin = 21F5
destBegin = 005D
End of Item 0010
Begin of Item 0011
Format 2
srcBegin = 22A0
destBegin = 00CB
End of Item 0011
Begin of Item 0012
Format 1
srcBegin = 22EE
srcEnd = 22F1
mappingOffset = 003B
Mapping =
00B6 00B5 00B7 00B8
End of Item 0012
Begin of Item 0013
Format 1
srcBegin = 2318
srcEnd = 231E
mappingOffset = 003F
Mapping =
00ED FFFD 00DD FFFD FFFD FFFD 008F
End of Item 0013
Begin of Item 0014
Format 1
srcBegin = 23B4
srcEnd = 23B5
mappingOffset = 0046
Mapping =
0070 0080
End of Item 0014
Begin of Item 0015
Format 2
srcBegin = 2423
destBegin = 00EF
End of Item 0015
Begin of Item 0016
Format 1
srcBegin = 25AA
srcEnd = 25C2
mappingOffset = 0048
Mapping =
00D6 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 00C4 FFFD FFFD FFFD 00C5 FFFD
FFFD FFFD FFFD FFFD 00C6 FFFD FFFD FFFD
00C7
End of Item 0016
Begin of Item 0017
Format 1
srcBegin = 2639
srcEnd = 263A
mappingOffset = 0061
Mapping =
00CE 00CC
End of Item 0017
Begin of Item 0018
Format 1
srcBegin = 2912
srcEnd = 2913
mappingOffset = 0063
Mapping =
0024 0025
End of Item 0018
Begin of Item 0019
Format 1
srcBegin = 294E
srcEnd = 2961
mappingOffset = 0065
Mapping =
0032 0037 0035 0036 0028 0029 003A 003B
002A 002B 0038 0039 002C 002D 003E 003F
002E 002F 003C 003D
End of Item 0019
Begin of Item 001A
Format 1
srcBegin = 296E
srcEnd = 296F
mappingOffset = 0079
Mapping =
004C 004D
End of Item 001A
Begin of Item 001B
Format 1
srcBegin = EEF7
srcEnd = EEF8
mappingOffset = 007B
Mapping =
0079 007A
End of Item 001B
Begin of Item 001C
Format 1
srcBegin = EF27
srcEnd = EF28
mappingOffset = 007D
Mapping =
0077 0078
End of Item 001C
Begin of Item 001D
Format 1
srcBegin = EFB9
srcEnd = EFBB
mappingOffset = 007F
Mapping =
0053 00C9 00C8
End of Item 001D
Begin of Item 001E
Format 1
srcBegin = EFE9
srcEnd = EFEB
mappingOffset = 0082
Mapping =
00B1 00B2 00B3
End of Item 001E
Begin of Item 001F
Format 1
srcBegin = F001
srcEnd = F004
mappingOffset = 0085
Mapping =
009B 009E 00AB 00AE
End of Item 001F
Begin of Item 0020
Format 1
srcBegin = F031
srcEnd = F040
mappingOffset = 0089
Mapping =
0048 0049 004A 004B 0052 0058 0059 005A
005B 0061 0062 0065 0069 0067 0068 0066
End of Item 0020
Begin of Item 0021
Format 1
srcBegin = F053
srcEnd = F06F
mappingOffset = 0099
Mapping =
008B 008C 008D 008E FFFD FFFD FFFD FFFD
FFFD FFFD 0098 0099 009A 009C 009D FFFD
FFFD FFFD FFFD FFFD FFFD 00A8 00A9 00AA
00AC 00AD 00C1 00C2 00C3
End of Item 0021
Begin of Item 0022
Format 1
srcBegin = F8E6
srcEnd = F8E7
mappingOffset = 00B6
Mapping =
0041 0051
End of Item 0022
Begin of Item 0023
Format 1
srcBegin = FE35
srcEnd = FE38
mappingOffset = 00B8
Mapping =
0090 00A0 0097 00A7
End of Item 0023
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0024,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x000E,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x007A,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0005 */
/* Total of Format 1 : 0x0017 */
/* Total of Format 2 : 0x0008 */
/* Total of Format 3 : 0x0000 */
0x0000, 0x2220, 0x2121, 0x1111, 0x1122, 0x1121, 0x1111, 0x1111,
0x1111, 0x0000,
/*-------------------------------------------------------*/
/* Offset=0x000E Start of MapCell Array */
/* 0000 */ 0xF041, 0xF046, 0x006A,
/* 0001 */ 0xF047, 0xF04C, 0x0071,
/* 0002 */ 0xF04D, 0xF052, 0x0081,
/* 0003 */ 0xF057, 0xF05C, 0x0091,
/* 0004 */ 0xF062, 0xF067, 0x00A1,
/* 0005 */ 0x0020, 0x0000, 0x0020,
/* 0006 */ 0x00B7, 0x0000, 0x00BD,
/* 0007 */ 0x02C7, 0x0000, 0x00C0,
/* 0008 */ 0x0302, 0x0307, 0x0000,
/* 0009 */ 0x0327, 0x0000, 0x00DE,
/* 000A */ 0x2012, 0x2014, 0x0006,
/* 000B */ 0x2026, 0x0000, 0x00B4,
/* 000C */ 0x2032, 0x2035, 0x0009,
/* 000D */ 0x2190, 0x21AA, 0x000D,
/* 000E */ 0x21BC, 0x21CC, 0x0028,
/* 000F */ 0x21E4, 0x21E5, 0x0039,
/* 0010 */ 0x21F5, 0x0000, 0x005D,
/* 0011 */ 0x22A0, 0x0000, 0x00CB,
/* 0012 */ 0x22EE, 0x22F1, 0x003B,
/* 0013 */ 0x2318, 0x231E, 0x003F,
/* 0014 */ 0x23B4, 0x23B5, 0x0046,
/* 0015 */ 0x2423, 0x0000, 0x00EF,
/* 0016 */ 0x25AA, 0x25C2, 0x0048,
/* 0017 */ 0x2639, 0x263A, 0x0061,
/* 0018 */ 0x2912, 0x2913, 0x0063,
/* 0019 */ 0x294E, 0x2961, 0x0065,
/* 001A */ 0x296E, 0x296F, 0x0079,
/* 001B */ 0xEEF7, 0xEEF8, 0x007B,
/* 001C */ 0xEF27, 0xEF28, 0x007D,
/* 001D */ 0xEFB9, 0xEFBB, 0x007F,
/* 001E */ 0xEFE9, 0xEFEB, 0x0082,
/* 001F */ 0xF001, 0xF004, 0x0085,
/* 0020 */ 0xF031, 0xF040, 0x0089,
/* 0021 */ 0xF053, 0xF06F, 0x0099,
/* 0022 */ 0xF8E6, 0xF8E7, 0x00B6,
/* 0023 */ 0xFE35, 0xFE38, 0x00B8,
/*-------------------------------------------------------*/
/* Offset=0x007A Start of MappingTable */
/* 0000 */ 0x00B0, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00BC, 0x007C, 0x007D,
/* 0008 */ 0x007E, 0x00AF, 0xFFFD, 0xFFFD, 0x009F, 0x0050, 0x0060, 0x0054,
/* 0010 */ 0x0063, 0xFFFD, 0xFFFD, 0x0088, 0x0089, 0x008A, 0x0087, 0xFFFD,
/* 0018 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0020 */ 0xFFFD, 0x0022, 0x0026, 0x0023, 0x0027, 0xFFFD, 0x004E, 0x004F,
/* 0028 */ 0x0030, 0x0033, 0x0055, 0x0040, 0x0031, 0x0034, 0x0064, 0x0042,
/* 0030 */ 0x0056, 0x005C, 0x0057, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0047,
/* 0038 */ 0x0046, 0x007B, 0x0021, 0x00B6, 0x00B5, 0x00B7, 0x00B8, 0x00ED,
/* 0040 */ 0xFFFD, 0x00DD, 0xFFFD, 0xFFFD, 0xFFFD, 0x008F, 0x0070, 0x0080,
/* 0048 */ 0x00D6, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0050 */ 0xFFFD, 0xFFFD, 0x00C4, 0xFFFD, 0xFFFD, 0xFFFD, 0x00C5, 0xFFFD,
/* 0058 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00C6, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0060 */ 0x00C7, 0x00CE, 0x00CC, 0x0024, 0x0025, 0x0032, 0x0037, 0x0035,
/* 0068 */ 0x0036, 0x0028, 0x0029, 0x003A, 0x003B, 0x002A, 0x002B, 0x0038,
/* 0070 */ 0x0039, 0x002C, 0x002D, 0x003E, 0x003F, 0x002E, 0x002F, 0x003C,
/* 0078 */ 0x003D, 0x004C, 0x004D, 0x0079, 0x007A, 0x0077, 0x0078, 0x0053,
/* 0080 */ 0x00C9, 0x00C8, 0x00B1, 0x00B2, 0x00B3, 0x009B, 0x009E, 0x00AB,
/* 0088 */ 0x00AE, 0x0048, 0x0049, 0x004A, 0x004B, 0x0052, 0x0058, 0x0059,
/* 0090 */ 0x005A, 0x005B, 0x0061, 0x0062, 0x0065, 0x0069, 0x0067, 0x0068,
/* 0098 */ 0x0066, 0x008B, 0x008C, 0x008D, 0x008E, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00A0 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x0098, 0x0099, 0x009A, 0x009C, 0x009D,
/* 00A8 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A8, 0x00A9,
/* 00B0 */ 0x00AA, 0x00AC, 0x00AD, 0x00C1, 0x00C2, 0x00C3, 0x0041, 0x0051,
/* 00B8 */ 0x0090, 0x00A0, 0x0097, 0x00A7,
/* End of table Total Length = 0x0136 * 2 */

View File

@ -1,222 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = EF3F
srcEnd = EF46
destBegin = 0053
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = EF52
srcEnd = EF5C
destBegin = 0070
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = EF6B
srcEnd = EF71
destBegin = 0092
End of Item 0002
Begin of Item 0003
Format 0
srcBegin = EF77
srcEnd = EF8B
destBegin = 009F
End of Item 0003
Begin of Item 0004
Format 0
srcBegin = EF98
srcEnd = EF9E
destBegin = 00D2
End of Item 0004
Begin of Item 0005
Format 0
srcBegin = EF9F
srcEnd = EFB8
destBegin = 00DA
End of Item 0005
Begin of Item 0006
Format 2
srcBegin = 0020
destBegin = 0020
End of Item 0006
Begin of Item 0007
Format 1
srcBegin = 2018
srcEnd = 201D
mappingOffset = 0000
Mapping =
00F8 00F7 FFFD FFFD 00FA 00F9
End of Item 0007
Begin of Item 0008
Format 1
srcBegin = 2102
srcEnd = 2134
mappingOffset = 0006
Mapping =
00C2 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
0067 0048 0087 00C7 FFFD FFFD 0049 0088
004C 007B FFFD 00CD FFFD FFFD FFFD 00CF
00D0 0052 0091 00D1 FFFD FFFD FFFD FFFD
FFFD FFFD 00D9 FFFD FFFD FFFD 0099 FFFD
FFFD FFFD 0042 0082 FFFD 0065 0045 0046
FFFD 004D 006F
End of Item 0008
Begin of Item 0009
Format 2
srcBegin = 25A1
destBegin = 00FC
End of Item 0009
Begin of Item 000A
Format 2
srcBegin = 25B3
destBegin = 00FD
End of Item 000A
Begin of Item 000B
Format 2
srcBegin = 25CB
destBegin = 00FB
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = EF35
srcEnd = EF51
mappingOffset = 0039
Mapping =
0041 0043 0044 0047 004A 004B 004E 004F
0050 0051 FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 0061 0062 0063 0064 0066 0068
0069 006A 006B 006D 006E
End of Item 000C
Begin of Item 000D
Format 1
srcBegin = EF5D
srcEnd = EF76
mappingOffset = 0056
Mapping =
00B4 00B5 0083 0084 0085 0086 0089 008A
008B 008C 00B6 00B7 00B8 00B9 FFFD FFFD
FFFD FFFD FFFD FFFD FFFD 009A 009B 009C
00BA 00BB
End of Item 000D
Begin of Item 000E
Format 1
srcBegin = EF8C
srcEnd = EF97
mappingOffset = 0070
Mapping =
00C0 00C1 00C3 00C4 00C5 00C6 00C8 00C9
00BC 00CB 00CC 00CE
End of Item 000E
========================================================*/
/* Offset=0x0000 ItemOfList */
0x000F,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0008,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0035,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0006 */
/* Total of Format 1 : 0x0005 */
/* Total of Format 2 : 0x0004 */
/* Total of Format 3 : 0x0000 */
0x0000, 0x1200, 0x2221, 0x0111,
/*-------------------------------------------------------*/
/* Offset=0x0008 Start of MapCell Array */
/* 0000 */ 0xEF3F, 0xEF46, 0x0053,
/* 0001 */ 0xEF52, 0xEF5C, 0x0070,
/* 0002 */ 0xEF6B, 0xEF71, 0x0092,
/* 0003 */ 0xEF77, 0xEF8B, 0x009F,
/* 0004 */ 0xEF98, 0xEF9E, 0x00D2,
/* 0005 */ 0xEF9F, 0xEFB8, 0x00DA,
/* 0006 */ 0x0020, 0x0000, 0x0020,
/* 0007 */ 0x2018, 0x201D, 0x0000,
/* 0008 */ 0x2102, 0x2134, 0x0006,
/* 0009 */ 0x25A1, 0x0000, 0x00FC,
/* 000A */ 0x25B3, 0x0000, 0x00FD,
/* 000B */ 0x25CB, 0x0000, 0x00FB,
/* 000C */ 0xEF35, 0xEF51, 0x0039,
/* 000D */ 0xEF5D, 0xEF76, 0x0056,
/* 000E */ 0xEF8C, 0xEF97, 0x0070,
/*-------------------------------------------------------*/
/* Offset=0x0035 Start of MappingTable */
/* 0000 */ 0x00F8, 0x00F7, 0xFFFD, 0xFFFD, 0x00FA, 0x00F9, 0x00C2, 0xFFFD,
/* 0008 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0067, 0x0048,
/* 0010 */ 0x0087, 0x00C7, 0xFFFD, 0xFFFD, 0x0049, 0x0088, 0x004C, 0x007B,
/* 0018 */ 0xFFFD, 0x00CD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00CF, 0x00D0, 0x0052,
/* 0020 */ 0x0091, 0x00D1, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0028 */ 0x00D9, 0xFFFD, 0xFFFD, 0xFFFD, 0x0099, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0030 */ 0x0042, 0x0082, 0xFFFD, 0x0065, 0x0045, 0x0046, 0xFFFD, 0x004D,
/* 0038 */ 0x006F, 0x0041, 0x0043, 0x0044, 0x0047, 0x004A, 0x004B, 0x004E,
/* 0040 */ 0x004F, 0x0050, 0x0051, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0048 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x0061, 0x0062, 0x0063, 0x0064, 0x0066,
/* 0050 */ 0x0068, 0x0069, 0x006A, 0x006B, 0x006D, 0x006E, 0x00B4, 0x00B5,
/* 0058 */ 0x0083, 0x0084, 0x0085, 0x0086, 0x0089, 0x008A, 0x008B, 0x008C,
/* 0060 */ 0x00B6, 0x00B7, 0x00B8, 0x00B9, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0068 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x009A, 0x009B, 0x009C, 0x00BA, 0x00BB,
/* 0070 */ 0x00C0, 0x00C1, 0x00C3, 0x00C4, 0x00C5, 0x00C6, 0x00C8, 0x00C9,
/* 0078 */ 0x00BC, 0x00CB, 0x00CC, 0x00CE,
/* End of table Total Length = 0x00B1 * 2 */

View File

@ -1,246 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 2
srcBegin = 0020
destBegin = 0020
End of Item 0000
Begin of Item 0001
Format 2
srcBegin = 019B
destBegin = 0044
End of Item 0001
Begin of Item 0002
Format 1
srcBegin = 0300
srcEnd = 0307
mappingOffset = 0000
Mapping =
0023 FFFD 0024 0025 FFFD FFFD FFFD 0026
End of Item 0002
Begin of Item 0003
Format 2
srcBegin = 2026
destBegin = 004B
End of Item 0003
Begin of Item 0004
Format 2
srcBegin = 2035
destBegin = 0060
End of Item 0004
Begin of Item 0005
Format 1
srcBegin = 20D0
srcEnd = 20E1
mappingOffset = 0008
Mapping =
0077 0076 FFFD FFFD FFFD FFFD 0073 0072
FFFD FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD 0074
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = 210F
srcEnd = 2113
mappingOffset = 001A
Mapping =
0068 FFFD FFFD FFFD 006C
End of Item 0006
Begin of Item 0007
Format 2
srcBegin = 2195
destBegin = 0062
End of Item 0007
Begin of Item 0008
Format 2
srcBegin = 21A6
destBegin = 0061
End of Item 0008
Begin of Item 0009
Format 2
srcBegin = 21D5
destBegin = 0063
End of Item 0009
Begin of Item 000A
Format 1
srcBegin = 2210
srcEnd = 2218
mappingOffset = 001F
Mapping =
0043 FFFD FFFD 006D FFFD FFFD FFFD FFFD
006F
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 2229
srcEnd = 2235
mappingOffset = 0028
Mapping =
0049 0055 FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD FFFD FFFD 0051
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 227A
srcEnd = 227B
mappingOffset = 0035
Mapping =
0070 0066
End of Item 000C
Begin of Item 000D
Format 1
srcBegin = 22B2
srcEnd = 22B3
mappingOffset = 0037
Mapping =
003C 003E
End of Item 000D
Begin of Item 000E
Format 1
srcBegin = 22EE
srcEnd = 22F1
mappingOffset = 0039
Mapping =
004D 004C 004E 004F
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 2322
srcEnd = 2323
mappingOffset = 003D
Mapping =
0029 0028
End of Item 000F
Begin of Item 0010
Format 2
srcBegin = EB00
destBegin = 0075
End of Item 0010
Begin of Item 0011
Format 1
srcBegin = EC00
srcEnd = EC06
mappingOffset = 003F
Mapping =
0031 0032 0033 0034 0036 0037 0038
End of Item 0011
Begin of Item 0012
Format 1
srcBegin = F612
srcEnd = F613
mappingOffset = 0046
Mapping =
007D 007B
End of Item 0012
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0013,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0009,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0042,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0000 */
/* Total of Format 1 : 0x000B */
/* Total of Format 2 : 0x0008 */
/* Total of Format 3 : 0x0000 */
0x2122, 0x2112, 0x1122, 0x1111, 0x0112,
/*-------------------------------------------------------*/
/* Offset=0x0009 Start of MapCell Array */
/* 0000 */ 0x0020, 0x0000, 0x0020,
/* 0001 */ 0x019B, 0x0000, 0x0044,
/* 0002 */ 0x0300, 0x0307, 0x0000,
/* 0003 */ 0x2026, 0x0000, 0x004B,
/* 0004 */ 0x2035, 0x0000, 0x0060,
/* 0005 */ 0x20D0, 0x20E1, 0x0008,
/* 0006 */ 0x210F, 0x2113, 0x001A,
/* 0007 */ 0x2195, 0x0000, 0x0062,
/* 0008 */ 0x21A6, 0x0000, 0x0061,
/* 0009 */ 0x21D5, 0x0000, 0x0063,
/* 000A */ 0x2210, 0x2218, 0x001F,
/* 000B */ 0x2229, 0x2235, 0x0028,
/* 000C */ 0x227A, 0x227B, 0x0035,
/* 000D */ 0x22B2, 0x22B3, 0x0037,
/* 000E */ 0x22EE, 0x22F1, 0x0039,
/* 000F */ 0x2322, 0x2323, 0x003D,
/* 0010 */ 0xEB00, 0x0000, 0x0075,
/* 0011 */ 0xEC00, 0xEC06, 0x003F,
/* 0012 */ 0xF612, 0xF613, 0x0046,
/*-------------------------------------------------------*/
/* Offset=0x0042 Start of MappingTable */
/* 0000 */ 0x0023, 0xFFFD, 0x0024, 0x0025, 0xFFFD, 0xFFFD, 0xFFFD, 0x0026,
/* 0008 */ 0x0077, 0x0076, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0073, 0x0072,
/* 0010 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0018 */ 0xFFFD, 0x0074, 0x0068, 0xFFFD, 0xFFFD, 0xFFFD, 0x006C, 0x0043,
/* 0020 */ 0xFFFD, 0xFFFD, 0x006D, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x006F,
/* 0028 */ 0x0049, 0x0055, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0030 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0051, 0x0070, 0x0066, 0x003C,
/* 0038 */ 0x003E, 0x004D, 0x004C, 0x004E, 0x004F, 0x0029, 0x0028, 0x0031,
/* 0040 */ 0x0032, 0x0033, 0x0034, 0x0036, 0x0037, 0x0038, 0x007D, 0x007B,
/* End of table Total Length = 0x008A * 2 */

View File

@ -1,114 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 nsUCvMathCID_h___
#define nsUCvMathCID_h___
#include "nsISupports.h"
// Class ID for our UnicodeToTeXCMRttf (TeX Roman -TTF) charset converter
// {67671792-8e25-4487-b1b7-5073cfa95fee}
#define NS_UNICODETOTEXCMRTTF_CID \
{ 0x67671792, 0x8e25, 0x4487, {0xb1, 0xb7, 0x50, 0x73, 0xcf, 0xa9, 0x5f, 0xee}}
// Class ID for our UnicodeToTeXCMMIttf (TeX Math Italic -TTF) charset converter
// {73bb7c12-dbab-4ae2-aecf-a0331dec916f}
#define NS_UNICODETOTEXCMMITTF_CID \
{0x73bb7c12, 0xdbab, 0x4ae2, {0xae, 0xcf, 0xa0, 0x33, 0x1d, 0xec, 0x91, 0x6f}}
// Class ID for our UnicodeToTeXCMSYttf (TeX Symbol -TTF) charset converter
// {e332db00-e076-11d3-b32f-004005a7a7e4}
#define NS_UNICODETOTEXCMSYTTF_CID \
{ 0xe332db00, 0xe076, 0x11d3, {0xb3, 0x2f, 0x0, 0x40, 0x05, 0xa7, 0xa7, 0xe4}}
// Class ID for our UnicodeToTeXCMEXttf (TeX Extension -TTF) charset converter
// {e91f9440-e076-11d3-b32f-004005a7a7e4}
#define NS_UNICODETOTEXCMEXTTF_CID \
{ 0xe91f9440, 0xe076, 0x11d3, {0xb3, 0x2f, 0x0, 0x40, 0x05, 0xa7, 0xa7, 0xe4}}
// Class ID for our UnicodeToTeXCMRt1 (TeX Roman -Type1) charset converter
// {d5eb483c-67c0-4286-a4a6-330e58a82300}
#define NS_UNICODETOTEXCMRT1_CID \
{0xd5eb483c, 0x67c0, 0x4286, {0xa4, 0xa6, 0x33, 0x0e, 0x58, 0xa8, 0x23, 0x00}}
// Class ID for our UnicodeToTeXCMMIt1 (TeX Math Italic -Type1) charset converter
// {bd1326a6-5a14-48de-97cc-95b5195f4fb9}
#define NS_UNICODETOTEXCMMIT1_CID \
{0xbd1326a6, 0x5a14, 0x48de, {0x97, 0xcc, 0x95, 0xb5, 0x19, 0x5f, 0x4f, 0xb9}}
// Class ID for our UnicodeToTeXCMSYt1 (TeX Symbol -Type1) charset converter
// {e768ebef-70f9-4fe3-8835-4f4f3fd996e2}
#define NS_UNICODETOTEXCMSYT1_CID \
{ 0xe768ebef, 0x70f9, 0x4fe3, {0x88, 0x35, 0x4f, 0x4f, 0x3f, 0xd9, 0x96, 0xe2}}
// Class ID for our UnicodeToTeXCMEXt1 (TeX Extension -Type1) charset converter
// {f01cb3e7-4ace-414e-a2b7-eaba03e9c86c}
#define NS_UNICODETOTEXCMEXT1_CID \
{ 0xf01cb3e7, 0x4ace, 0x414e, {0xa2, 0xb7, 0xea, 0xba, 0x03, 0xe9, 0xc8, 0x6c}}
// Class ID for our UnicodeToMathematica1 charset converter
// {758e4f20-e2f2-11d3-b32f-004005a7a7e4}
#define NS_UNICODETOMATHEMATICA1_CID \
{ 0x758e4f20, 0xe2f2, 0x11d3, {0xb3, 0x2f, 0x0, 0x40, 0x05, 0xa7, 0xa7, 0xe4}}
// Class ID for our UnicodeToMathematica2 charset converter
// {7e6e57c0-e2f2-11d3-b32f-004005a7a7e4}
#define NS_UNICODETOMATHEMATICA2_CID \
{ 0x7e6e57c0, 0xe2f2, 0x11d3, {0xb3, 0x2f, 0x0, 0x40, 0x05, 0xa7, 0xa7, 0xe4}}
// Class ID for our UnicodeToMathematica3 charset converter
// {830b5f80-11d3-b32f-004005a7a7e4}
#define NS_UNICODETOMATHEMATICA3_CID \
{ 0x830b5f80, 0xe2f2, 0x11d3, {0xb3, 0x2f, 0x0, 0x40, 0x05, 0xa7, 0xa7, 0xe4}}
// Class ID for our UnicodeToMathematica4 charset converter
// {87ed1160-e2f2-11d3-b32f-004005a7a7e4}
#define NS_UNICODETOMATHEMATICA4_CID \
{ 0x87ed1160, 0xe2f2, 0x11d3, {0xb3, 0x2f, 0x0, 0x40, 0x05, 0xa7, 0xa7, 0xe4}}
// Class ID for our UnicodeToMathematica5 charset converter
// {8a0dce80-e2f2-11d3-b32f-004005a7a7e4}
#define NS_UNICODETOMATHEMATICA5_CID \
{ 0x8a0dce80, 0xe2f2, 0x11d3, {0xb3, 0x2f, 0x0, 0x40, 0x05, 0xa7, 0xa7, 0xe4}}
// Class ID for our UnicodeToMTExtra charset converter
// {0cb0d9a0-f503-11d3-b32f-004005a7a7e4}
#define NS_UNICODETOMTEXTRA_CID \
{ 0x0cb0d9a0, 0xf503, 0x11d3, {0xb3, 0x2f, 0x0, 0x40, 0x05, 0xa7, 0xa7, 0xe4}}
#endif /* nsUCvMathCID_h___ */

View File

@ -1,44 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 nsUCvMathDll_h___
#define nsUCvMathDll_h___
#include "prtypes.h"
#endif /* nsUCvMathDll_h___ */

View File

@ -1,195 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 ***** */
#include "pratom.h"
#include "nspr.h"
#include "nsString.h"
#include "nsCOMPtr.h"
#include "nsIFactory.h"
#include "nsIGenericFactory.h"
#include "nsIServiceManager.h"
#include "nsICharsetConverterManager.h"
#include "nsICategoryManager.h"
#include "nsEncoderDecoderUtils.h"
#include "nsIModule.h"
#include "nsUCvMathCID.h"
#include "nsUCvMathDll.h"
#include "nsCRT.h"
#include "nsUnicodeToTeXCMRttf.h"
#include "nsUnicodeToTeXCMMIttf.h"
#include "nsUnicodeToTeXCMSYttf.h"
#include "nsUnicodeToTeXCMEXttf.h"
#if !defined(XP_WIN) && !defined(XP_OS2) && !defined(XP_MAC) && !defined(XP_MACOSX)
#include "nsUnicodeToTeXCMRt1.h"
#include "nsUnicodeToTeXCMMIt1.h"
#include "nsUnicodeToTeXCMSYt1.h"
#include "nsUnicodeToTeXCMEXt1.h"
#endif
#include "nsUnicodeToMathematica1.h"
#include "nsUnicodeToMathematica2.h"
#include "nsUnicodeToMathematica3.h"
#include "nsUnicodeToMathematica4.h"
#include "nsUnicodeToMathematica5.h"
#include "nsUnicodeToMTExtra.h"
//----------------------------------------------------------------------------
// Global functions and data [declaration]
#define DECODER_NAME_BASE "Unicode Decoder-"
#define ENCODER_NAME_BASE "Unicode Encoder-"
NS_CONVERTER_REGISTRY_START
NS_UCONV_REG_UNREG_ENCODER("x-ttf-cmr", NS_UNICODETOTEXCMRTTF_CID)
NS_UCONV_REG_UNREG_ENCODER("x-ttf-cmmi", NS_UNICODETOTEXCMMITTF_CID)
NS_UCONV_REG_UNREG_ENCODER("x-ttf-cmsy", NS_UNICODETOTEXCMSYTTF_CID)
NS_UCONV_REG_UNREG_ENCODER("x-ttf-cmex", NS_UNICODETOTEXCMEXTTF_CID)
#if !defined(XP_WIN) && !defined(XP_OS2) && !defined(XP_MAC) && !defined(XP_MACOSX)
NS_UCONV_REG_UNREG_ENCODER("x-t1-cmr", NS_UNICODETOTEXCMRT1_CID)
NS_UCONV_REG_UNREG_ENCODER("x-t1-cmmi", NS_UNICODETOTEXCMMIT1_CID)
NS_UCONV_REG_UNREG_ENCODER("x-t1-cmsy", NS_UNICODETOTEXCMSYT1_CID)
NS_UCONV_REG_UNREG_ENCODER("x-t1-cmex", NS_UNICODETOTEXCMEXT1_CID)
#endif
NS_UCONV_REG_UNREG_ENCODER("x-mathematica1", NS_UNICODETOMATHEMATICA1_CID)
NS_UCONV_REG_UNREG_ENCODER("x-mathematica2", NS_UNICODETOMATHEMATICA2_CID)
NS_UCONV_REG_UNREG_ENCODER("x-mathematica3", NS_UNICODETOMATHEMATICA3_CID)
NS_UCONV_REG_UNREG_ENCODER("x-mathematica4", NS_UNICODETOMATHEMATICA4_CID)
NS_UCONV_REG_UNREG_ENCODER("x-mathematica5", NS_UNICODETOMATHEMATICA5_CID)
NS_UCONV_REG_UNREG_ENCODER("x-mtextra", NS_UNICODETOMTEXTRA_CID)
NS_CONVERTER_REGISTRY_END
NS_IMPL_NSUCONVERTERREGSELF
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToTeXCMRttf)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToTeXCMMIttf)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToTeXCMSYttf)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToTeXCMEXttf)
#if !defined(XP_WIN) && !defined(XP_OS2) && !defined(XP_MAC) && !defined(XP_MACOSX)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToTeXCMRt1)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToTeXCMMIt1)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToTeXCMSYt1)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToTeXCMEXt1)
#endif
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToMathematica1)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToMathematica2)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToMathematica3)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToMathematica4)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToMathematica5)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToMTExtra)
static const nsModuleComponentInfo components[] =
{
{
ENCODER_NAME_BASE "x-ttf-cmr" , NS_UNICODETOTEXCMRTTF_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-ttf-cmr",
nsUnicodeToTeXCMRttfConstructor,
},
{
ENCODER_NAME_BASE "x-ttf-cmmi" , NS_UNICODETOTEXCMMITTF_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-ttf-cmmi",
nsUnicodeToTeXCMMIttfConstructor,
},
{
ENCODER_NAME_BASE "x-ttf-cmsy" , NS_UNICODETOTEXCMSYTTF_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-ttf-cmsy",
nsUnicodeToTeXCMSYttfConstructor,
},
{
ENCODER_NAME_BASE "x-ttf-cmex" , NS_UNICODETOTEXCMEXTTF_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-ttf-cmex",
nsUnicodeToTeXCMEXttfConstructor,
},
#if !defined(XP_WIN) && !defined(XP_OS2) && !defined(XP_MAC) && !defined(XP_MACOSX)
{
ENCODER_NAME_BASE "x-t1-cmr" , NS_UNICODETOTEXCMRT1_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-t1-cmr",
nsUnicodeToTeXCMRt1Constructor,
},
{
ENCODER_NAME_BASE "x-t1-cmmi" , NS_UNICODETOTEXCMMIT1_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-t1-cmmi",
nsUnicodeToTeXCMMIt1Constructor,
},
{
ENCODER_NAME_BASE "x-t1-cmsy" , NS_UNICODETOTEXCMSYT1_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-t1-cmsy",
nsUnicodeToTeXCMSYt1Constructor,
},
{
ENCODER_NAME_BASE "x-t1-cmex" , NS_UNICODETOTEXCMEXT1_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-t1-cmex",
nsUnicodeToTeXCMEXt1Constructor,
},
#endif
{
ENCODER_NAME_BASE "x-mathematica1" , NS_UNICODETOMATHEMATICA1_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-mathematica1",
nsUnicodeToMathematica1Constructor,
nsUConverterRegSelf, nsUConverterUnregSelf,
},
{
ENCODER_NAME_BASE "x-mathematica2" , NS_UNICODETOMATHEMATICA2_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-mathematica2",
nsUnicodeToMathematica2Constructor,
},
{
ENCODER_NAME_BASE "x-mathematica3" , NS_UNICODETOMATHEMATICA3_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-mathematica3",
nsUnicodeToMathematica3Constructor,
},
{
ENCODER_NAME_BASE "x-mathematica4" , NS_UNICODETOMATHEMATICA4_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-mathematica4",
nsUnicodeToMathematica4Constructor,
},
{
ENCODER_NAME_BASE "x-mathematica5" , NS_UNICODETOMATHEMATICA5_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-mathematica5",
nsUnicodeToMathematica5Constructor,
},
{
ENCODER_NAME_BASE "x-mtextra" , NS_UNICODETOMTEXTRA_CID,
NS_UNICODEENCODER_CONTRACTID_BASE "x-mtextra",
nsUnicodeToMTExtraConstructor,
}
};
NS_IMPL_NSGETMODULE(nsUCvMathModule, components)

View File

@ -1,55 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 ***** */
#include "nsUnicodeToMTExtra.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "mtextra.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToMTExtra [implementation]
nsUnicodeToMTExtra::nsUnicodeToMTExtra()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

View File

@ -1,55 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 ***** */
#include "nsUnicodeToMathematica1.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "mathematica1.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica1 [implementation]
nsUnicodeToMathematica1::nsUnicodeToMathematica1()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

View File

@ -1,61 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 nsUnicodeToMathematica1_h___
#define nsUnicodeToMathematica1_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica1 [declaration]
/**
* A character set converter from Unicode to Math1.
*
*/
class nsUnicodeToMathematica1 : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToMathematica1();
};
#endif /* nsUnicodeToMathematica1_h___ */

View File

@ -1,55 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 ***** */
#include "nsUnicodeToMathematica2.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "mathematica2.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica2 [implementation]
nsUnicodeToMathematica2::nsUnicodeToMathematica2()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

View File

@ -1,61 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 nsUnicodeToMathematica2_h___
#define nsUnicodeToMathematica2_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica2 [declaration]
/**
* A character set converter from Unicode to Math1.
*
*/
class nsUnicodeToMathematica2 : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToMathematica2();
};
#endif /* nsUnicodeToMathematica2_h___ */

View File

@ -1,55 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 ***** */
#include "nsUnicodeToMathematica3.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "mathematica3.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica3 [implementation]
nsUnicodeToMathematica3::nsUnicodeToMathematica3()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

View File

@ -1,61 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 nsUnicodeToMathematica3_h___
#define nsUnicodeToMathematica3_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica3 [declaration]
/**
* A character set converter from Unicode to Math1.
*
*/
class nsUnicodeToMathematica3 : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToMathematica3();
};
#endif /* nsUnicodeToMathematica3_h___ */

View File

@ -1,55 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 ***** */
#include "nsUnicodeToMathematica4.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "mathematica4.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica4 [implementation]
nsUnicodeToMathematica4::nsUnicodeToMathematica4()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

View File

@ -1,61 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 nsUnicodeToMathematica4_h___
#define nsUnicodeToMathematica4_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica4 [declaration]
/**
* A character set converter from Unicode to Math1.
*
*/
class nsUnicodeToMathematica4 : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToMathematica4();
};
#endif /* nsUnicodeToMathematica4_h___ */

View File

@ -1,55 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 ***** */
#include "nsUnicodeToMathematica5.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "mathematica5.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica5 [implementation]
nsUnicodeToMathematica5::nsUnicodeToMathematica5()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

View File

@ -1,61 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 nsUnicodeToMathematica5_h___
#define nsUnicodeToMathematica5_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToMathematica5 [declaration]
/**
* A character set converter from Unicode to Math1.
*
*/
class nsUnicodeToMathematica5 : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToMathematica5();
};
#endif /* nsUnicodeToMathematica5_h___ */

View File

@ -1,55 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 ***** */
#include "nsUnicodeToTeXCMEXt1.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "texcmex-t1.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMEXt1 [implementation]
nsUnicodeToTeXCMEXt1::nsUnicodeToTeXCMEXt1()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

View File

@ -1,61 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 nsUnicodeToTeXCMEXt1_h___
#define nsUnicodeToTeXCMEXt1_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMEXt1 [declaration]
/**
* A character set converter from Unicode to TeXCMEXt1 (TeX's Computer Modern Extension).
*
*/
class nsUnicodeToTeXCMEXt1 : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToTeXCMEXt1();
};
#endif /* nsUnicodeToTeXCMEXt1_h___ */

View File

@ -1,55 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 ***** */
#include "nsUnicodeToTeXCMEXttf.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "texcmex-ttf.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMEXttf [implementation]
nsUnicodeToTeXCMEXttf::nsUnicodeToTeXCMEXttf()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

View File

@ -1,61 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 nsUnicodeToTeXCMEXttf_h___
#define nsUnicodeToTeXCMEXttf_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMEXttf [declaration]
/**
* A character set converter from Unicode to TeXCMEXttf (TeX's Computer Modern Extension).
*
*/
class nsUnicodeToTeXCMEXttf : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToTeXCMEXttf();
};
#endif /* nsUnicodeToTeXCMEXttf_h___ */

View File

@ -1,55 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 ***** */
#include "nsUnicodeToTeXCMMIt1.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "texcmmi-t1.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMMIt1 [implementation]
nsUnicodeToTeXCMMIt1::nsUnicodeToTeXCMMIt1()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable,1)
{
}

View File

@ -1,61 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 nsUnicodeToTeXCMMIt1_h___
#define nsUnicodeToTeXCMMIt1_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMMIt1 [declaration]
/**
* A character set converter from Unicode to TeXCMMIt1 (TeX's Computer Modern Math Italic).
*
*/
class nsUnicodeToTeXCMMIt1 : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToTeXCMMIt1();
};
#endif /* nsUnicodeToTeXCMMIt1_h___ */

View File

@ -1,55 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 ***** */
#include "nsUnicodeToTeXCMMIttf.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "texcmmi-ttf.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMMIttf [implementation]
nsUnicodeToTeXCMMIttf::nsUnicodeToTeXCMMIttf()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

View File

@ -1,61 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 nsUnicodeToTeXCMMIttf_h___
#define nsUnicodeToTeXCMMIttf_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMMIttf [declaration]
/**
* A character set converter from Unicode to TeXCMMIttf (TeX's Computer Modern Math Italic).
*
*/
class nsUnicodeToTeXCMMIttf : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToTeXCMMIttf();
};
#endif /* nsUnicodeToTeXCMMIttf_h___ */

View File

@ -1,55 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 ***** */
#include "nsUnicodeToTeXCMRt1.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "texcmr-t1.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMRt1 [implementation]
nsUnicodeToTeXCMRt1::nsUnicodeToTeXCMRt1()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

View File

@ -1,61 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 nsUnicodeToTeXCMRt1_h___
#define nsUnicodeToTeXCMRt1_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMRt1 [declaration]
/**
* A character set converter from Unicode to TeXCMRt1 (TeX's Computer Modern Roman).
*
*/
class nsUnicodeToTeXCMRt1 : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToTeXCMRt1();
};
#endif /* nsUnicodeToTeXCMRt1_h___ */

View File

@ -1,55 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 ***** */
#include "nsUnicodeToTeXCMRttf.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "texcmr-ttf.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMRttf [implementation]
nsUnicodeToTeXCMRttf::nsUnicodeToTeXCMRttf()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

View File

@ -1,61 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 nsUnicodeToTeXCMRttf_h___
#define nsUnicodeToTeXCMRttf_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMRttf [declaration]
/**
* A character set converter from Unicode to TeXCMRttf (TeX's Computer Modern Roman).
*
*/
class nsUnicodeToTeXCMRttf : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToTeXCMRttf();
};
#endif /* nsUnicodeToTeXCMRttf_h___ */

View File

@ -1,55 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 ***** */
#include "nsUnicodeToTeXCMSYt1.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "texcmsy-t1.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMSYt1 [implementation]
nsUnicodeToTeXCMSYt1::nsUnicodeToTeXCMSYt1()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

View File

@ -1,61 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 nsUnicodeToTeXCMSYt1_h___
#define nsUnicodeToTeXCMSYt1_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMSYt1 [declaration]
/**
* A character set converter from Unicode to TeXCMSYt1 (TeX's Computer Modern Symbol).
*
*/
class nsUnicodeToTeXCMSYt1 : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToTeXCMSYt1();
};
#endif /* nsUnicodeToTeXCMSYt1_h___ */

View File

@ -1,55 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 ***** */
#include "nsUnicodeToTeXCMSYttf.h"
//----------------------------------------------------------------------
// Global functions and data [declaration]
static const PRUint16 g_ufMappingTable[] = {
#include "texcmsy-ttf.uf"
};
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMSYttf [implementation]
nsUnicodeToTeXCMSYttf::nsUnicodeToTeXCMSYttf()
: nsTableEncoderSupport(u1ByteCharset,
(uMappingTable*) &g_ufMappingTable, 1)
{
}

View File

@ -1,61 +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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* 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 nsUnicodeToTeXCMSYttf_h___
#define nsUnicodeToTeXCMSYttf_h___
#include "nsUCSupport.h"
//----------------------------------------------------------------------
// Class nsUnicodeToTeXCMSYttf [declaration]
/**
* A character set converter from Unicode to TeXCMSYttf (TeX's Computer Modern Symbol).
*
*/
class nsUnicodeToTeXCMSYttf : public nsTableEncoderSupport
{
public:
/**
* Class constructor.
*/
nsUnicodeToTeXCMSYttf();
};
#endif /* nsUnicodeToTeXCMSYttf_h___ */

View File

@ -1,139 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = EFBC
srcEnd = EFC4
destBegin = 0021
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = EFCD
srcEnd = F005
destBegin = 0046
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = F006
srcEnd = F00F
destBegin = 0000
End of Item 0002
Begin of Item 0003
Format 0
srcBegin = F012
srcEnd = F021
destBegin = 000C
End of Item 0003
Begin of Item 0004
Format 1
srcBegin = EFC7
srcEnd = EFCA
mappingOffset = 0000
Mapping =
002C 002D 002E 002F
End of Item 0004
Begin of Item 0005
Format 1
srcBegin = F024
srcEnd = F02F
mappingOffset = 0004
Mapping =
001E 001F 0020 007F 002A 002B 0044 0045
000A 000B 001C 001D
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = F8E6
srcEnd = F8FE
mappingOffset = 0010
Mapping =
003F FFFD FFFD FFFD FFFD 0030 0042 0040
0032 0036 0034 0038 003C 003A 003E FFFD
0031 0043 0041 0033 0037 0035 0039 003D
003B
End of Item 0006
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0007,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0006,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x001B,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0004 */
/* Total of Format 1 : 0x0003 */
/* Total of Format 2 : 0x0000 */
/* Total of Format 3 : 0x0000 */
0x0000, 0x0111,
/*-------------------------------------------------------*/
/* Offset=0x0006 Start of MapCell Array */
/* 0000 */ 0xEFBC, 0xEFC4, 0x0021,
/* 0001 */ 0xEFCD, 0xF005, 0x0046,
/* 0002 */ 0xF006, 0xF00F, 0x0000,
/* 0003 */ 0xF012, 0xF021, 0x000C,
/* 0004 */ 0xEFC7, 0xEFCA, 0x0000,
/* 0005 */ 0xF024, 0xF02F, 0x0004,
/* 0006 */ 0xF8E6, 0xF8FE, 0x0010,
/*-------------------------------------------------------*/
/* Offset=0x001B Start of MappingTable */
/* 0000 */ 0x002C, 0x002D, 0x002E, 0x002F, 0x001E, 0x001F, 0x0020, 0x007F,
/* 0008 */ 0x002A, 0x002B, 0x0044, 0x0045, 0x000A, 0x000B, 0x001C, 0x001D,
/* 0010 */ 0x003F, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0030, 0x0042, 0x0040,
/* 0018 */ 0x0032, 0x0036, 0x0034, 0x0038, 0x003C, 0x003A, 0x003E, 0xFFFD,
/* 0020 */ 0x0031, 0x0043, 0x0041, 0x0033, 0x0037, 0x0035, 0x0039, 0x003D,
/* 0028 */ 0x003B,
/* End of table Total Length = 0x0044 * 2 */

View File

@ -1,139 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = EFBC
srcEnd = EFC4
destBegin = 0021
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = EFCD
srcEnd = F005
destBegin = 0046
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = F006
srcEnd = F00F
destBegin = 00A1
End of Item 0002
Begin of Item 0003
Format 0
srcBegin = F012
srcEnd = F021
destBegin = 00AF
End of Item 0003
Begin of Item 0004
Format 1
srcBegin = EFC7
srcEnd = EFCA
mappingOffset = 0000
Mapping =
002C 002D 002E 002F
End of Item 0004
Begin of Item 0005
Format 1
srcBegin = F024
srcEnd = F02F
mappingOffset = 0004
Mapping =
00C1 00C2 00C3 00C4 002A 002B 0044 0045
00AD 00AE 00BF 00C0
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = F8E6
srcEnd = F8FE
mappingOffset = 0010
Mapping =
003F FFFD FFFD FFFD FFFD 0030 0042 0040
0032 0036 0034 0038 003C 003A 003E FFFD
0031 0043 0041 0033 0037 0035 0039 003D
003B
End of Item 0006
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0007,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0006,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x001B,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0004 */
/* Total of Format 1 : 0x0003 */
/* Total of Format 2 : 0x0000 */
/* Total of Format 3 : 0x0000 */
0x0000, 0x0111,
/*-------------------------------------------------------*/
/* Offset=0x0006 Start of MapCell Array */
/* 0000 */ 0xEFBC, 0xEFC4, 0x0021,
/* 0001 */ 0xEFCD, 0xF005, 0x0046,
/* 0002 */ 0xF006, 0xF00F, 0x00A1,
/* 0003 */ 0xF012, 0xF021, 0x00AF,
/* 0004 */ 0xEFC7, 0xEFCA, 0x0000,
/* 0005 */ 0xF024, 0xF02F, 0x0004,
/* 0006 */ 0xF8E6, 0xF8FE, 0x0010,
/*-------------------------------------------------------*/
/* Offset=0x001B Start of MappingTable */
/* 0000 */ 0x002C, 0x002D, 0x002E, 0x002F, 0x00C1, 0x00C2, 0x00C3, 0x00C4,
/* 0008 */ 0x002A, 0x002B, 0x0044, 0x0045, 0x00AD, 0x00AE, 0x00BF, 0x00C0,
/* 0010 */ 0x003F, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0030, 0x0042, 0x0040,
/* 0018 */ 0x0032, 0x0036, 0x0034, 0x0038, 0x003C, 0x003A, 0x003E, 0xFFFD,
/* 0020 */ 0x0031, 0x0043, 0x0041, 0x0033, 0x0037, 0x0035, 0x0039, 0x003D,
/* 0028 */ 0x003B,
/* End of table Total Length = 0x0044 * 2 */

View File

@ -1,285 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = 0030
srcEnd = 0039
destBegin = 0030
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = 0041
srcEnd = 005A
destBegin = 0041
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = 0061
srcEnd = 007A
destBegin = 0061
End of Item 0002
Begin of Item 0003
Format 0
srcBegin = 03B1
srcEnd = 03BE
destBegin = 000B
End of Item 0003
Begin of Item 0004
Format 0
srcBegin = 03C3
srcEnd = 03C9
destBegin = 001B
End of Item 0004
Begin of Item 0005
Format 1
srcBegin = 002C
srcEnd = 002F
mappingOffset = 0000
Mapping =
003B FFFD 003A 003D
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = 003C
srcEnd = 003E
mappingOffset = 0004
Mapping =
003C FFFD 003E
End of Item 0006
Begin of Item 0007
Format 2
srcBegin = 0131
destBegin = 007B
End of Item 0007
Begin of Item 0008
Format 2
srcBegin = 025B
destBegin = 0022
End of Item 0008
Begin of Item 0009
Format 2
srcBegin = 0311
destBegin = 007F
End of Item 0009
Begin of Item 000A
Format 1
srcBegin = 0393
srcEnd = 03A9
mappingOffset = 0007
Mapping =
0000 0001 FFFD FFFD FFFD 0002 FFFD FFFD
0003 FFFD FFFD 0004 FFFD 0005 FFFD FFFD
0006 FFFD 0007 0008 FFFD 0009 000A
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 03C0
srcEnd = 03C2
mappingOffset = 001E
Mapping =
0019 001A 0026
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 03D1
srcEnd = 03D6
mappingOffset = 0021
Mapping =
0023 FFFD FFFD FFFD 0027 0024
End of Item 000C
Begin of Item 000D
Format 2
srcBegin = 03F1
destBegin = 0025
End of Item 000D
Begin of Item 000E
Format 2
srcBegin = 20D7
destBegin = 007E
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 2113
srcEnd = 2118
mappingOffset = 0027
Mapping =
0060 FFFD FFFD FFFD FFFD 007D
End of Item 000F
Begin of Item 0010
Format 1
srcBegin = 21BC
srcEnd = 21C1
mappingOffset = 002D
Mapping =
0028 0029 FFFD FFFD 002A 002B
End of Item 0010
Begin of Item 0011
Format 2
srcBegin = 2202
destBegin = 0040
End of Item 0011
Begin of Item 0012
Format 2
srcBegin = 22C6
destBegin = 003F
End of Item 0012
Begin of Item 0013
Format 1
srcBegin = 2322
srcEnd = 2323
mappingOffset = 0033
Mapping =
005F 005E
End of Item 0013
Begin of Item 0014
Format 1
srcBegin = 25B9
srcEnd = 25C3
mappingOffset = 0035
Mapping =
002E FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 002F
End of Item 0014
Begin of Item 0015
Format 1
srcBegin = 266D
srcEnd = 266F
mappingOffset = 0040
Mapping =
005B 005C 005D
End of Item 0015
Begin of Item 0016
Format 2
srcBegin = EEF0
destBegin = 007C
End of Item 0016
Begin of Item 0017
Format 1
srcBegin = EFBA
srcEnd = EFBB
mappingOffset = 0043
Mapping =
002C 002D
End of Item 0017
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0018,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x000B,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0053,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0005 */
/* Total of Format 1 : 0x000B */
/* Total of Format 2 : 0x0008 */
/* Total of Format 3 : 0x0000 */
0x0000, 0x2110, 0x1122, 0x1221, 0x1221, 0x1211, 0x0000,
/*-------------------------------------------------------*/
/* Offset=0x000B Start of MapCell Array */
/* 0000 */ 0x0030, 0x0039, 0x0030,
/* 0001 */ 0x0041, 0x005A, 0x0041,
/* 0002 */ 0x0061, 0x007A, 0x0061,
/* 0003 */ 0x03B1, 0x03BE, 0x000B,
/* 0004 */ 0x03C3, 0x03C9, 0x001B,
/* 0005 */ 0x002C, 0x002F, 0x0000,
/* 0006 */ 0x003C, 0x003E, 0x0004,
/* 0007 */ 0x0131, 0x0000, 0x007B,
/* 0008 */ 0x025B, 0x0000, 0x0022,
/* 0009 */ 0x0311, 0x0000, 0x007F,
/* 000A */ 0x0393, 0x03A9, 0x0007,
/* 000B */ 0x03C0, 0x03C2, 0x001E,
/* 000C */ 0x03D1, 0x03D6, 0x0021,
/* 000D */ 0x03F1, 0x0000, 0x0025,
/* 000E */ 0x20D7, 0x0000, 0x007E,
/* 000F */ 0x2113, 0x2118, 0x0027,
/* 0010 */ 0x21BC, 0x21C1, 0x002D,
/* 0011 */ 0x2202, 0x0000, 0x0040,
/* 0012 */ 0x22C6, 0x0000, 0x003F,
/* 0013 */ 0x2322, 0x2323, 0x0033,
/* 0014 */ 0x25B9, 0x25C3, 0x0035,
/* 0015 */ 0x266D, 0x266F, 0x0040,
/* 0016 */ 0xEEF0, 0x0000, 0x007C,
/* 0017 */ 0xEFBA, 0xEFBB, 0x0043,
/*-------------------------------------------------------*/
/* Offset=0x0053 Start of MappingTable */
/* 0000 */ 0x003B, 0xFFFD, 0x003A, 0x003D, 0x003C, 0xFFFD, 0x003E, 0x0000,
/* 0008 */ 0x0001, 0xFFFD, 0xFFFD, 0xFFFD, 0x0002, 0xFFFD, 0xFFFD, 0x0003,
/* 0010 */ 0xFFFD, 0xFFFD, 0x0004, 0xFFFD, 0x0005, 0xFFFD, 0xFFFD, 0x0006,
/* 0018 */ 0xFFFD, 0x0007, 0x0008, 0xFFFD, 0x0009, 0x000A, 0x0019, 0x001A,
/* 0020 */ 0x0026, 0x0023, 0xFFFD, 0xFFFD, 0xFFFD, 0x0027, 0x0024, 0x0060,
/* 0028 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x007D, 0x0028, 0x0029, 0xFFFD,
/* 0030 */ 0xFFFD, 0x002A, 0x002B, 0x005F, 0x005E, 0x002E, 0xFFFD, 0xFFFD,
/* 0038 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x002F,
/* 0040 */ 0x005B, 0x005C, 0x005D, 0x002C, 0x002D,
/* End of table Total Length = 0x0098 * 2 */

View File

@ -1,288 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = 0030
srcEnd = 0039
destBegin = 0030
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = 0041
srcEnd = 005A
destBegin = 0041
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = 0061
srcEnd = 007A
destBegin = 0061
End of Item 0002
Begin of Item 0003
Format 0
srcBegin = 03B1
srcEnd = 03B9
destBegin = 00AE
End of Item 0003
Begin of Item 0004
Format 0
srcBegin = 03C3
srcEnd = 03C8
destBegin = 00BE
End of Item 0004
Begin of Item 0005
Format 2
srcBegin = 0020
destBegin = 0020
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = 002C
srcEnd = 002F
mappingOffset = 0000
Mapping =
003B FFFD 003A 003D
End of Item 0006
Begin of Item 0007
Format 1
srcBegin = 003C
srcEnd = 003E
mappingOffset = 0004
Mapping =
003C FFFD 003E
End of Item 0007
Begin of Item 0008
Format 2
srcBegin = 0131
destBegin = 007B
End of Item 0008
Begin of Item 0009
Format 2
srcBegin = 025B
destBegin = 0022
End of Item 0009
Begin of Item 000A
Format 2
srcBegin = 0311
destBegin = 00C4
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 0393
srcEnd = 03A9
mappingOffset = 0007
Mapping =
00A1 00A2 FFFD FFFD FFFD 00A3 FFFD FFFD
00A4 FFFD FFFD 00A5 FFFD 00A6 FFFD FFFD
00A7 FFFD 00A8 00A9 FFFD 00AA 00AD
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 03BA
srcEnd = 03D6
mappingOffset = 001E
Mapping =
0080 00B8 00B9 00BA 00BB FFFD 00BC 00BD
0026 FFFD FFFD FFFD FFFD FFFD FFFD 0021
FFFD FFFD FFFD FFFD FFFD FFFD FFFD 0023
FFFD FFFD FFFD 0027 0024
End of Item 000C
Begin of Item 000D
Format 2
srcBegin = 03F1
destBegin = 0025
End of Item 000D
Begin of Item 000E
Format 2
srcBegin = 20D7
destBegin = 007E
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 2113
srcEnd = 2118
mappingOffset = 003B
Mapping =
0060 FFFD FFFD FFFD FFFD 007D
End of Item 000F
Begin of Item 0010
Format 1
srcBegin = 21BC
srcEnd = 21C1
mappingOffset = 0041
Mapping =
0028 0029 FFFD FFFD 002A 002B
End of Item 0010
Begin of Item 0011
Format 2
srcBegin = 2202
destBegin = 0040
End of Item 0011
Begin of Item 0012
Format 2
srcBegin = 22C6
destBegin = 003F
End of Item 0012
Begin of Item 0013
Format 1
srcBegin = 2322
srcEnd = 2323
mappingOffset = 0047
Mapping =
005F 005E
End of Item 0013
Begin of Item 0014
Format 1
srcBegin = 25B9
srcEnd = 25C3
mappingOffset = 0049
Mapping =
002E FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 002F
End of Item 0014
Begin of Item 0015
Format 1
srcBegin = 266D
srcEnd = 266F
mappingOffset = 0054
Mapping =
005B 005C 005D
End of Item 0015
Begin of Item 0016
Format 2
srcBegin = EEF0
destBegin = 007C
End of Item 0016
Begin of Item 0017
Format 1
srcBegin = EFBA
srcEnd = EFBB
mappingOffset = 0057
Mapping =
002C 002D
End of Item 0017
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0018,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x000B,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0053,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0005 */
/* Total of Format 1 : 0x000A */
/* Total of Format 2 : 0x0009 */
/* Total of Format 3 : 0x0000 */
0x0000, 0x1120, 0x1222, 0x1221, 0x1221, 0x1211, 0x0000,
/*-------------------------------------------------------*/
/* Offset=0x000B Start of MapCell Array */
/* 0000 */ 0x0030, 0x0039, 0x0030,
/* 0001 */ 0x0041, 0x005A, 0x0041,
/* 0002 */ 0x0061, 0x007A, 0x0061,
/* 0003 */ 0x03B1, 0x03B9, 0x00AE,
/* 0004 */ 0x03C3, 0x03C8, 0x00BE,
/* 0005 */ 0x0020, 0x0000, 0x0020,
/* 0006 */ 0x002C, 0x002F, 0x0000,
/* 0007 */ 0x003C, 0x003E, 0x0004,
/* 0008 */ 0x0131, 0x0000, 0x007B,
/* 0009 */ 0x025B, 0x0000, 0x0022,
/* 000A */ 0x0311, 0x0000, 0x00C4,
/* 000B */ 0x0393, 0x03A9, 0x0007,
/* 000C */ 0x03BA, 0x03D6, 0x001E,
/* 000D */ 0x03F1, 0x0000, 0x0025,
/* 000E */ 0x20D7, 0x0000, 0x007E,
/* 000F */ 0x2113, 0x2118, 0x003B,
/* 0010 */ 0x21BC, 0x21C1, 0x0041,
/* 0011 */ 0x2202, 0x0000, 0x0040,
/* 0012 */ 0x22C6, 0x0000, 0x003F,
/* 0013 */ 0x2322, 0x2323, 0x0047,
/* 0014 */ 0x25B9, 0x25C3, 0x0049,
/* 0015 */ 0x266D, 0x266F, 0x0054,
/* 0016 */ 0xEEF0, 0x0000, 0x007C,
/* 0017 */ 0xEFBA, 0xEFBB, 0x0057,
/*-------------------------------------------------------*/
/* Offset=0x0053 Start of MappingTable */
/* 0000 */ 0x003B, 0xFFFD, 0x003A, 0x003D, 0x003C, 0xFFFD, 0x003E, 0x00A1,
/* 0008 */ 0x00A2, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A3, 0xFFFD, 0xFFFD, 0x00A4,
/* 0010 */ 0xFFFD, 0xFFFD, 0x00A5, 0xFFFD, 0x00A6, 0xFFFD, 0xFFFD, 0x00A7,
/* 0018 */ 0xFFFD, 0x00A8, 0x00A9, 0xFFFD, 0x00AA, 0x00AD, 0x0080, 0x00B8,
/* 0020 */ 0x00B9, 0x00BA, 0x00BB, 0xFFFD, 0x00BC, 0x00BD, 0x0026, 0xFFFD,
/* 0028 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0021, 0xFFFD, 0xFFFD,
/* 0030 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0023, 0xFFFD, 0xFFFD,
/* 0038 */ 0xFFFD, 0x0027, 0x0024, 0x0060, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0040 */ 0x007D, 0x0028, 0x0029, 0xFFFD, 0xFFFD, 0x002A, 0x002B, 0x005F,
/* 0048 */ 0x005E, 0x002E, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0050 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x002F, 0x005B, 0x005C, 0x005D, 0x002C,
/* 0058 */ 0x002D,
/* End of table Total Length = 0x00AC * 2 */

View File

@ -1,207 +0,0 @@
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = 0023
srcEnd = 003B
destBegin = 0023
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = 003F
srcEnd = 005B
destBegin = 003F
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = 0061
srcEnd = 007A
destBegin = 0061
End of Item 0002
Begin of Item 0003
Format 2
srcBegin = 0021
destBegin = 0021
End of Item 0003
Begin of Item 0004
Format 2
srcBegin = 003D
destBegin = 003D
End of Item 0004
Begin of Item 0005
Format 2
srcBegin = 005D
destBegin = 005D
End of Item 0005
Begin of Item 0006
Format 2
srcBegin = 00A1
destBegin = 003C
End of Item 0006
Begin of Item 0007
Format 1
srcBegin = 00BF
srcEnd = 00C6
mappingOffset = 0000
Mapping =
003E FFFD FFFD FFFD FFFD FFFD FFFD 001D
End of Item 0007
Begin of Item 0008
Format 1
srcBegin = 00D8
srcEnd = 00E6
mappingOffset = 0008
Mapping =
001F FFFD FFFD FFFD FFFD FFFD FFFD 0019
FFFD FFFD FFFD FFFD FFFD FFFD 001A
End of Item 0008
Begin of Item 0009
Format 2
srcBegin = 00F8
destBegin = 001C
End of Item 0009
Begin of Item 000A
Format 2
srcBegin = 0131
destBegin = 0010
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 0152
srcEnd = 0153
mappingOffset = 0017
Mapping =
001E 001B
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 0300
srcEnd = 030C
mappingOffset = 0019
Mapping =
0012 0013 005E 007E FFFD 0016 0015 005F
007F FFFD 0017 007D 0014
End of Item 000C
Begin of Item 000D
Format 2
srcBegin = 0327
destBegin = 0018
End of Item 000D
Begin of Item 000E
Format 2
srcBegin = 0337
destBegin = 0020
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 0393
srcEnd = 03A9
mappingOffset = 0026
Mapping =
0000 0001 FFFD FFFD FFFD 0002 FFFD FFFD
0003 FFFD FFFD 0004 FFFD 0005 FFFD FFFD
0006 FFFD 0007 0008 FFFD 0009 000A
End of Item 000F
Begin of Item 0010
Format 1
srcBegin = 2013
srcEnd = 201D
mappingOffset = 003D
Mapping =
007B 007C FFFD FFFD FFFD 0060 FFFD FFFD
FFFD 005C 0022
End of Item 0010
Begin of Item 0011
Format 2
srcBegin = EEF0
destBegin = 0011
End of Item 0011
Begin of Item 0012
Format 1
srcBegin = FB00
srcEnd = FB04
mappingOffset = 0048
Mapping =
000B 000C 000D 000E 000F
End of Item 0012
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0013,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0009,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0042,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0003 */
/* Total of Format 1 : 0x0007 */
/* Total of Format 2 : 0x0009 */
/* Total of Format 3 : 0x0000 */
0x2000, 0x1222, 0x1221, 0x1221, 0x0121,
/*-------------------------------------------------------*/
/* Offset=0x0009 Start of MapCell Array */
/* 0000 */ 0x0023, 0x003B, 0x0023,
/* 0001 */ 0x003F, 0x005B, 0x003F,
/* 0002 */ 0x0061, 0x007A, 0x0061,
/* 0003 */ 0x0021, 0x0000, 0x0021,
/* 0004 */ 0x003D, 0x0000, 0x003D,
/* 0005 */ 0x005D, 0x0000, 0x005D,
/* 0006 */ 0x00A1, 0x0000, 0x003C,
/* 0007 */ 0x00BF, 0x00C6, 0x0000,
/* 0008 */ 0x00D8, 0x00E6, 0x0008,
/* 0009 */ 0x00F8, 0x0000, 0x001C,
/* 000A */ 0x0131, 0x0000, 0x0010,
/* 000B */ 0x0152, 0x0153, 0x0017,
/* 000C */ 0x0300, 0x030C, 0x0019,
/* 000D */ 0x0327, 0x0000, 0x0018,
/* 000E */ 0x0337, 0x0000, 0x0020,
/* 000F */ 0x0393, 0x03A9, 0x0026,
/* 0010 */ 0x2013, 0x201D, 0x003D,
/* 0011 */ 0xEEF0, 0x0000, 0x0011,
/* 0012 */ 0xFB00, 0xFB04, 0x0048,
/*-------------------------------------------------------*/
/* Offset=0x0042 Start of MappingTable */
/* 0000 */ 0x003E, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x001D,
/* 0008 */ 0x001F, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0019,
/* 0010 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x001A, 0x001E,
/* 0018 */ 0x001B, 0x0012, 0x0013, 0x005E, 0x007E, 0xFFFD, 0x0016, 0x0015,
/* 0020 */ 0x005F, 0x007F, 0xFFFD, 0x0017, 0x007D, 0x0014, 0x0000, 0x0001,
/* 0028 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x0002, 0xFFFD, 0xFFFD, 0x0003, 0xFFFD,
/* 0030 */ 0xFFFD, 0x0004, 0xFFFD, 0x0005, 0xFFFD, 0xFFFD, 0x0006, 0xFFFD,
/* 0038 */ 0x0007, 0x0008, 0xFFFD, 0x0009, 0x000A, 0x007B, 0x007C, 0xFFFD,
/* 0040 */ 0xFFFD, 0xFFFD, 0x0060, 0xFFFD, 0xFFFD, 0xFFFD, 0x005C, 0x0022,
/* 0048 */ 0x000B, 0x000C, 0x000D, 0x000E, 0x000F,
/* End of table Total Length = 0x008F * 2 */

View File

@ -1,242 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = 0023
srcEnd = 003B
destBegin = 0023
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = 003F
srcEnd = 005B
destBegin = 003F
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = 0061
srcEnd = 007A
destBegin = 0061
End of Item 0002
Begin of Item 0003
Format 1
srcBegin = 0020
srcEnd = 0021
mappingOffset = 0000
Mapping =
0020 0021
End of Item 0003
Begin of Item 0004
Format 2
srcBegin = 003D
destBegin = 003D
End of Item 0004
Begin of Item 0005
Format 2
srcBegin = 005D
destBegin = 005D
End of Item 0005
Begin of Item 0006
Format 2
srcBegin = 00A1
destBegin = 003C
End of Item 0006
Begin of Item 0007
Format 1
srcBegin = 00BF
srcEnd = 00C6
mappingOffset = 0002
Mapping =
003E FFFD FFFD FFFD FFFD FFFD FFFD 00C0
End of Item 0007
Begin of Item 0008
Format 1
srcBegin = 00D8
srcEnd = 00E6
mappingOffset = 000A
Mapping =
00C2 FFFD FFFD FFFD FFFD FFFD FFFD 00BC
FFFD FFFD FFFD FFFD FFFD FFFD 00BD
End of Item 0008
Begin of Item 0009
Format 2
srcBegin = 00F8
destBegin = 00BF
End of Item 0009
Begin of Item 000A
Format 2
srcBegin = 0131
destBegin = 00B3
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 0152
srcEnd = 0153
mappingOffset = 0019
Mapping =
00C1 00BE
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 0300
srcEnd = 030B
mappingOffset = 001B
Mapping =
00B5 00B6 005E 007E FFFD 00B9 00B8 005F
00C4 FFFD 00BA 007D
End of Item 000C
Begin of Item 000D
Format 2
srcBegin = 0327
destBegin = 00BB
End of Item 000D
Begin of Item 000E
Format 2
srcBegin = 0337
destBegin = 00C3
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 0393
srcEnd = 03A9
mappingOffset = 0027
Mapping =
00A1 00A2 FFFD FFFD FFFD 00A3 FFFD FFFD
00A4 FFFD FFFD 00A5 FFFD 00A6 FFFD FFFD
00A7 FFFD 00A8 00A9 FFFD 00AA 00AD
End of Item 000F
Begin of Item 0010
Format 1
srcBegin = 2013
srcEnd = 201D
mappingOffset = 003E
Mapping =
007B 007C FFFD FFFD FFFD 0060 FFFD FFFD
FFFD 005C 0022
End of Item 0010
Begin of Item 0011
Format 2
srcBegin = EEF0
destBegin = 00B4
End of Item 0011
Begin of Item 0012
Format 1
srcBegin = FB00
srcEnd = FB04
mappingOffset = 0049
Mapping =
00AE 00AF 00B0 00B1 00B2
End of Item 0012
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0013,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0009,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0042,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0003 */
/* Total of Format 1 : 0x0008 */
/* Total of Format 2 : 0x0008 */
/* Total of Format 3 : 0x0000 */
0x1000, 0x1222, 0x1221, 0x1221, 0x0121,
/*-------------------------------------------------------*/
/* Offset=0x0009 Start of MapCell Array */
/* 0000 */ 0x0023, 0x003B, 0x0023,
/* 0001 */ 0x003F, 0x005B, 0x003F,
/* 0002 */ 0x0061, 0x007A, 0x0061,
/* 0003 */ 0x0020, 0x0021, 0x0000,
/* 0004 */ 0x003D, 0x0000, 0x003D,
/* 0005 */ 0x005D, 0x0000, 0x005D,
/* 0006 */ 0x00A1, 0x0000, 0x003C,
/* 0007 */ 0x00BF, 0x00C6, 0x0002,
/* 0008 */ 0x00D8, 0x00E6, 0x000A,
/* 0009 */ 0x00F8, 0x0000, 0x00BF,
/* 000A */ 0x0131, 0x0000, 0x00B3,
/* 000B */ 0x0152, 0x0153, 0x0019,
/* 000C */ 0x0300, 0x030B, 0x001B,
/* 000D */ 0x0327, 0x0000, 0x00BB,
/* 000E */ 0x0337, 0x0000, 0x00C3,
/* 000F */ 0x0393, 0x03A9, 0x0027,
/* 0010 */ 0x2013, 0x201D, 0x003E,
/* 0011 */ 0xEEF0, 0x0000, 0x00B4,
/* 0012 */ 0xFB00, 0xFB04, 0x0049,
/*-------------------------------------------------------*/
/* Offset=0x0042 Start of MappingTable */
/* 0000 */ 0x0020, 0x0021, 0x003E, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0008 */ 0xFFFD, 0x00C0, 0x00C2, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0010 */ 0xFFFD, 0x00BC, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0018 */ 0x00BD, 0x00C1, 0x00BE, 0x00B5, 0x00B6, 0x005E, 0x007E, 0xFFFD,
/* 0020 */ 0x00B9, 0x00B8, 0x005F, 0x00C4, 0xFFFD, 0x00BA, 0x007D, 0x00A1,
/* 0028 */ 0x00A2, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A3, 0xFFFD, 0xFFFD, 0x00A4,
/* 0030 */ 0xFFFD, 0xFFFD, 0x00A5, 0xFFFD, 0x00A6, 0xFFFD, 0xFFFD, 0x00A7,
/* 0038 */ 0xFFFD, 0x00A8, 0x00A9, 0xFFFD, 0x00AA, 0x00AD, 0x007B, 0x007C,
/* 0040 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x0060, 0xFFFD, 0xFFFD, 0xFFFD, 0x005C,
/* 0048 */ 0x0022, 0x00AE, 0x00AF, 0x00B0, 0x00B1, 0x00B2,
/* End of table Total Length = 0x0090 * 2 */

View File

@ -1,334 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*
* This Original Code has been modified by Roger B. Sidje.
* Modifications made by Roger B. Sidje described herein are
* Copyright (C) 2000 The University Of Queensland.
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 08/March/2000 RBS. Support for Mathematical fonts.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = EF3F
srcEnd = EF46
destBegin = 0053
End of Item 0000
Begin of Item 0001
Format 1
srcBegin = 007B
srcEnd = 007D
mappingOffset = 0000
Mapping =
0066 FFFD 0067
End of Item 0001
Begin of Item 0002
Format 1
srcBegin = 00A7
srcEnd = 00B7
mappingOffset = 0003
Mapping =
0078 FFFD FFFD FFFD FFFD 003A FFFD FFFD
FFFD FFFD 0006 FFFD FFFD FFFD FFFD 007B
0001
End of Item 0002
Begin of Item 0003
Format 2
srcBegin = 00D7
destBegin = 0002
End of Item 0003
Begin of Item 0004
Format 2
srcBegin = 00F7
destBegin = 0004
End of Item 0004
Begin of Item 0005
Format 2
srcBegin = 0338
destBegin = 0036
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = 2020
srcEnd = 2021
mappingOffset = 0014
Mapping =
0079 007A
End of Item 0006
Begin of Item 0007
Format 2
srcBegin = 2032
destBegin = 0030
End of Item 0007
Begin of Item 0008
Format 1
srcBegin = 210B
srcEnd = 211C
mappingOffset = 0016
Mapping =
0048 FFFD FFFD FFFD FFFD 0049 003D 004C
FFFD FFFD FFFD FFFD FFFD FFFD FFFD FFFD
0052 003C
End of Item 0008
Begin of Item 0009
Format 1
srcBegin = 212C
srcEnd = 2135
mappingOffset = 0028
Mapping =
0042 FFFD FFFD FFFD 0045 0046 FFFD 004D
FFFD 0040
End of Item 0009
Begin of Item 000A
Format 1
srcBegin = 2190
srcEnd = 2199
mappingOffset = 0032
Mapping =
0020 0022 0021 0023 0024 006C 002D 0025
0026 002E
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 21D0
srcEnd = 21D5
mappingOffset = 003C
Mapping =
0028 002A 0029 002B 002C 006D
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 2200
srcEnd = 222B
mappingOffset = 0042
Mapping =
0038 FFFD FFFD 0039 FFFD 003B FFFD 0072
0032 FFFD FFFD 0033 FFFD FFFD FFFD FFFD
0071 FFFD 0000 0007 FFFD FFFD 006E FFFD
000E 000F 0070 FFFD FFFD 002F 0031 FFFD
FFFD FFFD FFFD 006A FFFD 006B FFFD 005E
005F 005C 005B 0073
End of Item 000C
Begin of Item 000D
Format 1
srcBegin = 223C
srcEnd = 224D
mappingOffset = 006E
Mapping =
0018 FFFD FFFD FFFD 006F FFFD 0027 0010
FFFD 0019 FFFD FFFD FFFD FFFD FFFD FFFD
FFFD 0011
End of Item 000D
Begin of Item 000E
Format 1
srcBegin = 2264
srcEnd = 226B
mappingOffset = 0080
Mapping =
0014 0015 FFFD FFFD FFFD FFFD 001C 001D
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 227A
srcEnd = 22A5
mappingOffset = 0088
Mapping =
001E 001F 0016 0017 FFFD FFFD FFFD FFFD
001A 001B FFFD FFFD 0012 0013 FFFD FFFD
FFFD FFFD FFFD FFFD 005D FFFD FFFD 0076
0077 0075 0074 0008 0009 000A 000B 000C
FFFD FFFD FFFD FFFD FFFD FFFD FFFD FFFD
0060 0061 003E 003F
End of Item 000F
Begin of Item 0010
Format 1
srcBegin = 22C4
srcEnd = 22C6
mappingOffset = 00B4
Mapping =
0005 FFFD 0003
End of Item 0010
Begin of Item 0011
Format 1
srcBegin = 2308
srcEnd = 230B
mappingOffset = 00B7
Mapping =
0064 0065 0062 0063
End of Item 0011
Begin of Item 0012
Format 1
srcBegin = 2329
srcEnd = 232A
mappingOffset = 00BB
Mapping =
0068 0069
End of Item 0012
Begin of Item 0013
Format 1
srcBegin = 25B3
srcEnd = 25BD
mappingOffset = 00BD
Mapping =
0034 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 0035
End of Item 0013
Begin of Item 0014
Format 2
srcBegin = 25CB
destBegin = 000D
End of Item 0014
Begin of Item 0015
Format 1
srcBegin = 2660
srcEnd = 2663
mappingOffset = 00C8
Mapping =
007F 007E 007D 007C
End of Item 0015
Begin of Item 0016
Format 1
srcBegin = EF35
srcEnd = EF3E
mappingOffset = 00CC
Mapping =
0041 0043 0044 0047 004A 004B 004E 004F
0050 0051
End of Item 0016
Begin of Item 0017
Format 2
srcBegin = EFB9
destBegin = 0037
End of Item 0017
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0018,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x000B,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0053,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0001 */
/* Total of Format 1 : 0x0011 */
/* Total of Format 2 : 0x0006 */
/* Total of Format 3 : 0x0000 */
0x2110, 0x2122, 0x1111, 0x1111, 0x1111, 0x2112, 0x0000,
/*-------------------------------------------------------*/
/* Offset=0x000B Start of MapCell Array */
/* 0000 */ 0xEF3F, 0xEF46, 0x0053,
/* 0001 */ 0x007B, 0x007D, 0x0000,
/* 0002 */ 0x00A7, 0x00B7, 0x0003,
/* 0003 */ 0x00D7, 0x0000, 0x0002,
/* 0004 */ 0x00F7, 0x0000, 0x0004,
/* 0005 */ 0x0338, 0x0000, 0x0036,
/* 0006 */ 0x2020, 0x2021, 0x0014,
/* 0007 */ 0x2032, 0x0000, 0x0030,
/* 0008 */ 0x210B, 0x211C, 0x0016,
/* 0009 */ 0x212C, 0x2135, 0x0028,
/* 000A */ 0x2190, 0x2199, 0x0032,
/* 000B */ 0x21D0, 0x21D5, 0x003C,
/* 000C */ 0x2200, 0x222B, 0x0042,
/* 000D */ 0x223C, 0x224D, 0x006E,
/* 000E */ 0x2264, 0x226B, 0x0080,
/* 000F */ 0x227A, 0x22A5, 0x0088,
/* 0010 */ 0x22C4, 0x22C6, 0x00B4,
/* 0011 */ 0x2308, 0x230B, 0x00B7,
/* 0012 */ 0x2329, 0x232A, 0x00BB,
/* 0013 */ 0x25B3, 0x25BD, 0x00BD,
/* 0014 */ 0x25CB, 0x0000, 0x000D,
/* 0015 */ 0x2660, 0x2663, 0x00C8,
/* 0016 */ 0xEF35, 0xEF3E, 0x00CC,
/* 0017 */ 0xEFB9, 0x0000, 0x0037,
/*-------------------------------------------------------*/
/* Offset=0x0053 Start of MappingTable */
/* 0000 */ 0x0066, 0xFFFD, 0x0067, 0x0078, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0008 */ 0x003A, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0006, 0xFFFD, 0xFFFD,
/* 0010 */ 0xFFFD, 0xFFFD, 0x007B, 0x0001, 0x0079, 0x007A, 0x0048, 0xFFFD,
/* 0018 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x0049, 0x003D, 0x004C, 0xFFFD, 0xFFFD,
/* 0020 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0052, 0x003C,
/* 0028 */ 0x0042, 0xFFFD, 0xFFFD, 0xFFFD, 0x0045, 0x0046, 0xFFFD, 0x004D,
/* 0030 */ 0xFFFD, 0x0040, 0x0020, 0x0022, 0x0021, 0x0023, 0x0024, 0x006C,
/* 0038 */ 0x002D, 0x0025, 0x0026, 0x002E, 0x0028, 0x002A, 0x0029, 0x002B,
/* 0040 */ 0x002C, 0x006D, 0x0038, 0xFFFD, 0xFFFD, 0x0039, 0xFFFD, 0x003B,
/* 0048 */ 0xFFFD, 0x0072, 0x0032, 0xFFFD, 0xFFFD, 0x0033, 0xFFFD, 0xFFFD,
/* 0050 */ 0xFFFD, 0xFFFD, 0x0071, 0xFFFD, 0x0000, 0x0007, 0xFFFD, 0xFFFD,
/* 0058 */ 0x006E, 0xFFFD, 0x000E, 0x000F, 0x0070, 0xFFFD, 0xFFFD, 0x002F,
/* 0060 */ 0x0031, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x006A, 0xFFFD, 0x006B,
/* 0068 */ 0xFFFD, 0x005E, 0x005F, 0x005C, 0x005B, 0x0073, 0x0018, 0xFFFD,
/* 0070 */ 0xFFFD, 0xFFFD, 0x006F, 0xFFFD, 0x0027, 0x0010, 0xFFFD, 0x0019,
/* 0078 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0011,
/* 0080 */ 0x0014, 0x0015, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x001C, 0x001D,
/* 0088 */ 0x001E, 0x001F, 0x0016, 0x0017, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0090 */ 0x001A, 0x001B, 0xFFFD, 0xFFFD, 0x0012, 0x0013, 0xFFFD, 0xFFFD,
/* 0098 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x005D, 0xFFFD, 0xFFFD, 0x0076,
/* 00A0 */ 0x0077, 0x0075, 0x0074, 0x0008, 0x0009, 0x000A, 0x000B, 0x000C,
/* 00A8 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00B0 */ 0x0060, 0x0061, 0x003E, 0x003F, 0x0005, 0xFFFD, 0x0003, 0x0064,
/* 00B8 */ 0x0065, 0x0062, 0x0063, 0x0068, 0x0069, 0x0034, 0xFFFD, 0xFFFD,
/* 00C0 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0035,
/* 00C8 */ 0x007F, 0x007E, 0x007D, 0x007C, 0x0041, 0x0043, 0x0044, 0x0047,
/* 00D0 */ 0x004A, 0x004B, 0x004E, 0x004F, 0x0050, 0x0051,
/* End of table Total Length = 0x0129 * 2 */

View File

@ -1,311 +0,0 @@
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = EF3F
srcEnd = EF46
destBegin = 0053
End of Item 0000
Begin of Item 0001
Format 2
srcBegin = 005C
destBegin = 006E
End of Item 0001
Begin of Item 0002
Format 1
srcBegin = 007B
srcEnd = 007D
mappingOffset = 0000
Mapping =
0066 FFFD 0067
End of Item 0002
Begin of Item 0003
Format 1
srcBegin = 00A0
srcEnd = 00B6
mappingOffset = 0003
Mapping =
00A0 FFFD FFFD FFFD FFFD FFFD FFFD 0078
FFFD FFFD FFFD FFFD 003A FFFD FFFD FFFD
FFFD 00A7 FFFD FFFD FFFD FFFD 007B
End of Item 0003
Begin of Item 0004
Format 2
srcBegin = 00D7
destBegin = 00A3
End of Item 0004
Begin of Item 0005
Format 2
srcBegin = 00F7
destBegin = 00A5
End of Item 0005
Begin of Item 0006
Format 2
srcBegin = 0338
destBegin = 0036
End of Item 0006
Begin of Item 0007
Format 1
srcBegin = 2020
srcEnd = 2021
mappingOffset = 001A
Mapping =
0079 007A
End of Item 0007
Begin of Item 0008
Format 2
srcBegin = 2032
destBegin = 0030
End of Item 0008
Begin of Item 0009
Format 1
srcBegin = 210B
srcEnd = 211C
mappingOffset = 001C
Mapping =
0048 FFFD FFFD FFFD FFFD 0049 003D 004C
FFFD FFFD FFFD FFFD FFFD FFFD FFFD FFFD
0052 003C
End of Item 0009
Begin of Item 000A
Format 1
srcBegin = 212C
srcEnd = 2135
mappingOffset = 002E
Mapping =
0042 FFFD FFFD FFFD 0045 0046 FFFD 004D
FFFD 0040
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 2190
srcEnd = 2199
mappingOffset = 0038
Mapping =
00C3 0022 0021 0023 0024 006C 002D 0025
0026 002E
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 21D0
srcEnd = 21D5
mappingOffset = 0042
Mapping =
0028 002A 0029 002B 002C 006D
End of Item 000C
Begin of Item 000D
Format 1
srcBegin = 2200
srcEnd = 222B
mappingOffset = 0048
Mapping =
0038 FFFD FFFD 0039 FFFD 003B FFFD 0072
0032 FFFD FFFD 0033 FFFD FFFD FFFD FFFD
0071 FFFD 00A1 00A8 FFFD FFFD FFFD 00A4
00B1 00B2 0070 FFFD FFFD 002F 0031 FFFD
FFFD FFFD FFFD 006A FFFD 006B FFFD 005E
005F 005C 005B 0073
End of Item 000D
Begin of Item 000E
Format 1
srcBegin = 223C
srcEnd = 224D
mappingOffset = 0074
Mapping =
00BB FFFD FFFD FFFD 006F FFFD FFFD 0027
FFFD FFFD FFFD FFFD 00BC FFFD FFFD FFFD
FFFD 00B3
End of Item 000E
Begin of Item 000F
Format 1
srcBegin = 2261
srcEnd = 226B
mappingOffset = 0086
Mapping =
00B4 FFFD FFFD 00B7 00B8 FFFD FFFD FFFD
FFFD 00BF 00C0
End of Item 000F
Begin of Item 0010
Format 1
srcBegin = 227A
srcEnd = 22A5
mappingOffset = 0091
Mapping =
00C1 00C2 00B9 00BA FFFD FFFD FFFD FFFD
00BD 00BE FFFD FFFD 00B5 00B6 FFFD FFFD
FFFD FFFD FFFD FFFD 005D FFFD FFFD 0076
0077 0075 0074 00A9 00AA 00AD 00AE 00AF
FFFD FFFD FFFD FFFD FFFD FFFD FFFD FFFD
0060 0061 003E 003F
End of Item 0010
Begin of Item 0011
Format 1
srcBegin = 22C4
srcEnd = 22C5
mappingOffset = 00BD
Mapping =
00A6 00A2
End of Item 0011
Begin of Item 0012
Format 1
srcBegin = 2308
srcEnd = 230B
mappingOffset = 00BF
Mapping =
0064 0065 0062 0063
End of Item 0012
Begin of Item 0013
Format 1
srcBegin = 2329
srcEnd = 232A
mappingOffset = 00C3
Mapping =
0068 0069
End of Item 0013
Begin of Item 0014
Format 1
srcBegin = 25B3
srcEnd = 25BD
mappingOffset = 00C5
Mapping =
0034 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD FFFD 0035
End of Item 0014
Begin of Item 0015
Format 2
srcBegin = 25CB
destBegin = 00B0
End of Item 0015
Begin of Item 0016
Format 1
srcBegin = 2660
srcEnd = 2663
mappingOffset = 00D0
Mapping =
00C4 007E 007D 007C
End of Item 0016
Begin of Item 0017
Format 1
srcBegin = EF35
srcEnd = EF3E
mappingOffset = 00D4
Mapping =
0041 0043 0044 0047 004A 004B 004E 004F
0050 0051
End of Item 0017
Begin of Item 0018
Format 2
srcBegin = EFB9
destBegin = 0037
End of Item 0018
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0019,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x000B,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0056,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0001 */
/* Total of Format 1 : 0x0011 */
/* Total of Format 2 : 0x0007 */
/* Total of Format 3 : 0x0000 */
0x1120, 0x1222, 0x1112, 0x1111, 0x1111, 0x1121, 0x0002,
/*-------------------------------------------------------*/
/* Offset=0x000B Start of MapCell Array */
/* 0000 */ 0xEF3F, 0xEF46, 0x0053,
/* 0001 */ 0x005C, 0x0000, 0x006E,
/* 0002 */ 0x007B, 0x007D, 0x0000,
/* 0003 */ 0x00A0, 0x00B6, 0x0003,
/* 0004 */ 0x00D7, 0x0000, 0x00A3,
/* 0005 */ 0x00F7, 0x0000, 0x00A5,
/* 0006 */ 0x0338, 0x0000, 0x0036,
/* 0007 */ 0x2020, 0x2021, 0x001A,
/* 0008 */ 0x2032, 0x0000, 0x0030,
/* 0009 */ 0x210B, 0x211C, 0x001C,
/* 000A */ 0x212C, 0x2135, 0x002E,
/* 000B */ 0x2190, 0x2199, 0x0038,
/* 000C */ 0x21D0, 0x21D5, 0x0042,
/* 000D */ 0x2200, 0x222B, 0x0048,
/* 000E */ 0x223C, 0x224D, 0x0074,
/* 000F */ 0x2261, 0x226B, 0x0086,
/* 0010 */ 0x227A, 0x22A5, 0x0091,
/* 0011 */ 0x22C4, 0x22C5, 0x00BD,
/* 0012 */ 0x2308, 0x230B, 0x00BF,
/* 0013 */ 0x2329, 0x232A, 0x00C3,
/* 0014 */ 0x25B3, 0x25BD, 0x00C5,
/* 0015 */ 0x25CB, 0x0000, 0x00B0,
/* 0016 */ 0x2660, 0x2663, 0x00D0,
/* 0017 */ 0xEF35, 0xEF3E, 0x00D4,
/* 0018 */ 0xEFB9, 0x0000, 0x0037,
/*-------------------------------------------------------*/
/* Offset=0x0056 Start of MappingTable */
/* 0000 */ 0x0066, 0xFFFD, 0x0067, 0x00A0, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0008 */ 0xFFFD, 0xFFFD, 0x0078, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x003A,
/* 0010 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A7, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0018 */ 0xFFFD, 0x007B, 0x0079, 0x007A, 0x0048, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0020 */ 0xFFFD, 0x0049, 0x003D, 0x004C, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0028 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0052, 0x003C, 0x0042, 0xFFFD,
/* 0030 */ 0xFFFD, 0xFFFD, 0x0045, 0x0046, 0xFFFD, 0x004D, 0xFFFD, 0x0040,
/* 0038 */ 0x00C3, 0x0022, 0x0021, 0x0023, 0x0024, 0x006C, 0x002D, 0x0025,
/* 0040 */ 0x0026, 0x002E, 0x0028, 0x002A, 0x0029, 0x002B, 0x002C, 0x006D,
/* 0048 */ 0x0038, 0xFFFD, 0xFFFD, 0x0039, 0xFFFD, 0x003B, 0xFFFD, 0x0072,
/* 0050 */ 0x0032, 0xFFFD, 0xFFFD, 0x0033, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0058 */ 0x0071, 0xFFFD, 0x00A1, 0x00A8, 0xFFFD, 0xFFFD, 0xFFFD, 0x00A4,
/* 0060 */ 0x00B1, 0x00B2, 0x0070, 0xFFFD, 0xFFFD, 0x002F, 0x0031, 0xFFFD,
/* 0068 */ 0xFFFD, 0xFFFD, 0xFFFD, 0x006A, 0xFFFD, 0x006B, 0xFFFD, 0x005E,
/* 0070 */ 0x005F, 0x005C, 0x005B, 0x0073, 0x00BB, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0078 */ 0x006F, 0xFFFD, 0xFFFD, 0x0027, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0080 */ 0x00BC, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00B3, 0x00B4, 0xFFFD,
/* 0088 */ 0xFFFD, 0x00B7, 0x00B8, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00BF,
/* 0090 */ 0x00C0, 0x00C1, 0x00C2, 0x00B9, 0x00BA, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0098 */ 0xFFFD, 0x00BD, 0x00BE, 0xFFFD, 0xFFFD, 0x00B5, 0x00B6, 0xFFFD,
/* 00A0 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x005D, 0xFFFD, 0xFFFD,
/* 00A8 */ 0x0076, 0x0077, 0x0075, 0x0074, 0x00A9, 0x00AA, 0x00AD, 0x00AE,
/* 00B0 */ 0x00AF, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 00B8 */ 0xFFFD, 0x0060, 0x0061, 0x003E, 0x003F, 0x00A6, 0x00A2, 0x0064,
/* 00C0 */ 0x0065, 0x0062, 0x0063, 0x0068, 0x0069, 0x0034, 0xFFFD, 0xFFFD,
/* 00C8 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x0035,
/* 00D0 */ 0x00C4, 0x007E, 0x007D, 0x007C, 0x0041, 0x0043, 0x0044, 0x0047,
/* 00D8 */ 0x004A, 0x004B, 0x004E, 0x004F, 0x0050, 0x0051,
/* End of table Total Length = 0x0134 * 2 */

View File

@ -54,7 +54,7 @@ public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IUGENCATEGORY_IID)
/**
* Read http://www.unicode.org/Public/UNIDATA/UCD.html#General_Category_Values
* Read http://unicode.org/reports/tr44/#General_Category_Values
* for the detailed definition of the following categories
*/
typedef enum {

View File

@ -91,10 +91,13 @@ static const PRUint16 gToUpper[] =
0x01f5, ((0x04 << 8) | 0x04), 0xffff ,
0x01fb, ((0x24 << 8) | 0x02), 0xffff ,
0x0223, ((0x10 << 8) | 0x02), 0xffff ,
0x023c, ((0x06 << 8) | 0x06), 0xffff ,
0x0247, ((0x08 << 8) | 0x02), 0xffff ,
0x023c, ((0x00 << 8) | 0x00), 0xffff ,
0x023f, ((0x01 << 8) | 0x01), 0x2a3f ,
0x0242, ((0x05 << 8) | 0x05), 0xffff ,
0x0249, ((0x06 << 8) | 0x02), 0xffff ,
0x0250, ((0x00 << 8) | 0x00), 0x2a1f ,
0x0251, ((0x00 << 8) | 0x00), 0x2a1c ,
0x0252, ((0x00 << 8) | 0x00), 0x2a1e ,
0x0253, ((0x00 << 8) | 0x00), 0xff2e ,
0x0254, ((0x00 << 8) | 0x00), 0xff32 ,
0x0256, ((0x01 << 8) | 0x01), 0xff33 ,
@ -144,7 +147,7 @@ static const PRUint16 gToUpper[] =
0x048b, ((0x34 << 8) | 0x02), 0xffff ,
0x04c2, ((0x0c << 8) | 0x02), 0xffff ,
0x04cf, ((0x00 << 8) | 0x00), 0xfff1 ,
0x04d1, ((0x52 << 8) | 0x02), 0xffff ,
0x04d1, ((0x54 << 8) | 0x02), 0xffff ,
0x0561, ((0x25 << 8) | 0x01), 0xffd0 ,
0x1d79, ((0x00 << 8) | 0x00), 0x8a04 ,
0x1d7d, ((0x00 << 8) | 0x00), 0x0ee6 ,
@ -186,6 +189,7 @@ static const PRUint16 gToUpper[] =
0x2c68, ((0x04 << 8) | 0x02), 0xffff ,
0x2c73, ((0x03 << 8) | 0x03), 0xffff ,
0x2c81, ((0x62 << 8) | 0x02), 0xffff ,
0x2cec, ((0x02 << 8) | 0x02), 0xffff ,
0x2d00, ((0x25 << 8) | 0x01), 0xe3a0 ,
0xa641, ((0x1e << 8) | 0x02), 0xffff ,
0xa663, ((0x0a << 8) | 0x02), 0xffff ,
@ -198,7 +202,7 @@ static const PRUint16 gToUpper[] =
0xff41, ((0x19 << 8) | 0x01), 0xffe0
};
static const PRUint32 gToUpperItems = 145;
static const PRUint32 gToUpperItems = 149;
static const PRUint16 gToLower[] =
{ /* From To Every Diff */
@ -285,7 +289,7 @@ static const PRUint16 gToLower[] =
0x048a, ((0x34 << 8) | 0x02), 0x0001 ,
0x04c0, ((0x00 << 8) | 0x00), 0x000f ,
0x04c1, ((0x0c << 8) | 0x02), 0x0001 ,
0x04d0, ((0x52 << 8) | 0x02), 0x0001 ,
0x04d0, ((0x54 << 8) | 0x02), 0x0001 ,
0x0531, ((0x25 << 8) | 0x01), 0x0030 ,
0x10a0, ((0x25 << 8) | 0x01), 0x1c60 ,
0x1e00, ((0x94 << 8) | 0x02), 0x0001 ,
@ -330,8 +334,11 @@ static const PRUint16 gToLower[] =
0x2c6d, ((0x00 << 8) | 0x00), 0xd5e4 ,
0x2c6e, ((0x00 << 8) | 0x00), 0xd603 ,
0x2c6f, ((0x00 << 8) | 0x00), 0xd5e1 ,
0x2c70, ((0x00 << 8) | 0x00), 0xd5e2 ,
0x2c72, ((0x03 << 8) | 0x03), 0x0001 ,
0x2c7e, ((0x01 << 8) | 0x01), 0xd5c1 ,
0x2c80, ((0x62 << 8) | 0x02), 0x0001 ,
0x2ceb, ((0x02 << 8) | 0x02), 0x0001 ,
0xa640, ((0x1e << 8) | 0x02), 0x0001 ,
0xa662, ((0x0a << 8) | 0x02), 0x0001 ,
0xa680, ((0x16 << 8) | 0x02), 0x0001 ,
@ -344,7 +351,7 @@ static const PRUint16 gToLower[] =
0xff21, ((0x19 << 8) | 0x01), 0x0020
};
static const PRUint32 gToLowerItems = 140;
static const PRUint32 gToLowerItems = 143;
static const PRUint32 gCaseBlocks [8] = {
0xE001003F,

File diff suppressed because it is too large Load Diff

View File

@ -421,10 +421,11 @@ entity.2540=6
entity.2541=7
entity.2542=8
entity.2543=9
entity.2548=[1]
entity.2549=[2]
entity.2550=[3]
entity.2551=[4]
entity.2548=[1/16]
entity.2549=[1/8]
entity.2550=[3/16]
entity.2551=[1/4]
entity.2552=[3/4]
entity.2553=[16]
entity.2662=0
entity.2663=1
@ -645,6 +646,27 @@ entity.6614=6
entity.6615=7
entity.6616=8
entity.6617=9
entity.6618=1
entity.6784=0
entity.6785=1
entity.6786=2
entity.6787=3
entity.6788=4
entity.6789=5
entity.6790=6
entity.6791=7
entity.6792=8
entity.6793=9
entity.6800=0
entity.6801=1
entity.6802=2
entity.6803=3
entity.6804=4
entity.6805=5
entity.6806=6
entity.6807=7
entity.6808=8
entity.6809=9
entity.6992=0
entity.6993=1
entity.6994=2
@ -1058,6 +1080,9 @@ entity.8518=d
entity.8519=e
entity.8520=i
entity.8521=j
entity.8528=1/7
entity.8529=1/9
entity.8530=1/10
entity.8531=1/3
entity.8532=2/3
entity.8533=1/5
@ -1110,6 +1135,7 @@ entity.8581=[6]
entity.8582=[50]
entity.8583=[50000]
entity.8584=[100000]
entity.8585=0/3
entity.9312=(1)
entity.9313=(2)
entity.9314=(3)
@ -1357,6 +1383,22 @@ entity.42534=6
entity.42535=7
entity.42536=8
entity.42537=9
entity.42726=[1]
entity.42727=[2]
entity.42728=[3]
entity.42729=[4]
entity.42730=[5]
entity.42731=[6]
entity.42732=[7]
entity.42733=[8]
entity.42734=[9]
entity.42735=[0]
entity.43056=[1/4]
entity.43057=[1/2]
entity.43058=[3/4]
entity.43059=[1/16]
entity.43060=[1/8]
entity.43061=[3/16]
entity.43216=0
entity.43217=1
entity.43218=2
@ -1377,6 +1419,16 @@ entity.43270=6
entity.43271=7
entity.43272=8
entity.43273=9
entity.43472=0
entity.43473=1
entity.43474=2
entity.43475=3
entity.43476=4
entity.43477=5
entity.43478=6
entity.43479=7
entity.43480=8
entity.43481=9
entity.43600=0
entity.43601=1
entity.43602=2
@ -1387,6 +1439,16 @@ entity.43606=6
entity.43607=7
entity.43608=8
entity.43609=9
entity.44016=0
entity.44017=1
entity.44018=2
entity.44019=3
entity.44020=4
entity.44021=5
entity.44022=6
entity.44023=7
entity.44024=8
entity.44025=9
entity.64256=ff
entity.64257=fi
entity.64258=fl
@ -1637,10 +1699,20 @@ entity.66726=6
entity.66727=7
entity.66728=8
entity.66729=9
entity.67672=[1]
entity.67673=[2]
entity.67674=[3]
entity.67675=[10]
entity.67676=[20]
entity.67677=[100]
entity.67678=[1000]
entity.67679=[10000]
entity.67862=[1]
entity.67863=[10]
entity.67864=[20]
entity.67865=[100]
entity.67866=[2]
entity.67867=[3]
entity.68160=[1]
entity.68161=[2]
entity.68162=[3]
@ -1649,6 +1721,55 @@ entity.68164=[10]
entity.68165=[20]
entity.68166=[100]
entity.68167=[1000]
entity.68221=[1]
entity.68222=[50]
entity.68440=[1]
entity.68441=[2]
entity.68442=[3]
entity.68443=[4]
entity.68444=[10]
entity.68445=[20]
entity.68446=[100]
entity.68447=[1000]
entity.68472=[1]
entity.68473=[2]
entity.68474=[3]
entity.68475=[4]
entity.68476=[10]
entity.68477=[20]
entity.68478=[100]
entity.68479=[1000]
entity.69216=[1]
entity.69217=[2]
entity.69218=[3]
entity.69219=[4]
entity.69220=[5]
entity.69221=[6]
entity.69222=[7]
entity.69223=[8]
entity.69224=[9]
entity.69225=[10]
entity.69226=[20]
entity.69227=[30]
entity.69228=[40]
entity.69229=[50]
entity.69230=[60]
entity.69231=[70]
entity.69232=[80]
entity.69233=[90]
entity.69234=[100]
entity.69235=[200]
entity.69236=[300]
entity.69237=[400]
entity.69238=[500]
entity.69239=[600]
entity.69240=[700]
entity.69241=[800]
entity.69242=[900]
entity.69243=[1/2]
entity.69244=[1/4]
entity.69245=[1/3]
entity.69246=[2/3]
entity.74752=[2]
entity.74753=[3]
entity.74754=[4]
@ -2464,3 +2585,45 @@ entity.120828=6
entity.120829=7
entity.120830=8
entity.120831=9
entity.127232=0.
entity.127233=0,
entity.127234=1,
entity.127235=2,
entity.127236=3,
entity.127237=4,
entity.127238=5,
entity.127239=6,
entity.127240=7,
entity.127241=8,
entity.127242=9,
entity.127248=(A)
entity.127249=(B)
entity.127250=(C)
entity.127251=(D)
entity.127252=(E)
entity.127253=(F)
entity.127254=(G)
entity.127255=(H)
entity.127256=(I)
entity.127257=(J)
entity.127258=(K)
entity.127259=(L)
entity.127260=(M)
entity.127261=(N)
entity.127262=(O)
entity.127263=(P)
entity.127264=(Q)
entity.127265=(R)
entity.127266=(S)
entity.127267=(T)
entity.127268=(U)
entity.127269=(V)
entity.127270=(W)
entity.127271=(X)
entity.127272=(Y)
entity.127273=(Z)
entity.127274=S
entity.127275=(C)
entity.127276=(R)
entity.127277=(CD)
entity.127278=(WZ)

View File

@ -1,4 +1,4 @@
/* Tests transliteration of new characters in Unicode 5.1
/* Tests transliteration of new characters in Unicode 5.1 and 5.2
*/
const inTeluguFractions = "\u0C78\u0C79\u0C7A\u0C7B\u0C7C\u0C7D\u0C7E";
@ -11,14 +11,16 @@ const inMalayalamNumbers = "\u0D70\u0D71\u0D72\u0D73\u0D74\u0D75";
VAI DIGIT FIVE,
SAURASHTRA DIGIT SIX
KAYAH LI DIGIT SEVEN
CHAM DIGIT EIGHT */
const inDigits = "\u1091\u1BB2\u1C43\u1C54\uA625\uA8D6\uA907\uAA58";
CHAM DIGIT EIGHT
JAVANESE DIGIT NINE
MEETEI MAYEK DIGIT ZERO */
const inDigits = "\u1091\u1BB2\u1C43\u1C54\uA625\uA8D6\uA907\uAA58\uA9D9\uABF0";
const inRomanNumerals = "\u2185\u2186\u2187\u2188";
const inSuperSubscripts = "\u2C7C\u2C7D";
const expectedTeluguFractions = "[0][1][2][3][1][2][3]";
const expectedMalayalamNumbers = "[10][100][1000][1/4][1/2][3/4]";
const expectedDigits = "12345678";
const expectedDigits = "1234567890";
const expectedRomanNumerals = "[6][50][50000][100000]";
const expectedSuperSubscripts = "v(j)^(V)";

Some files were not shown because too many files have changed in this diff Show More