From fcff26010d6997cd451b15b2799f1ced0d35a2fb Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Sun, 6 Feb 2000 07:56:31 +0000 Subject: [PATCH] appcores are finally dead on mac, windows and linux. r=alecf --- xpfe/AppCores/.cvsignore | 1 - xpfe/AppCores/Makefile.in | 32 - xpfe/AppCores/idl/.cvsignore | 1 - xpfe/AppCores/idl/AppCoresManager.idl | 13 - xpfe/AppCores/idl/BaseAppCore.idl | 15 - xpfe/AppCores/idl/Makefile.in | 34 - xpfe/AppCores/idl/PrefsCore.idl | 18 - xpfe/AppCores/idl/ToolkitCore.idl | 12 - xpfe/AppCores/idl/makefile.win | 69 -- xpfe/AppCores/idl/nsIDOMBaseAppCore.idl | 46 -- xpfe/AppCores/idl/nsIDOMNodeList.idl | 30 - xpfe/AppCores/idl/nsIDOMWindow.idl | 3 - xpfe/AppCores/idl/nsIDOMXULElement.idl | 2 - xpfe/AppCores/idl/nsIDOMXULTreeElement.idl | 2 - xpfe/AppCores/macbuild/AppCores.mcp | Bin 61661 -> 0 bytes xpfe/AppCores/macbuild/AppCoresPrefix.h | 31 - xpfe/AppCores/macbuild/AppCoresPrefix_debug.h | 31 - xpfe/AppCores/makefile.win | 26 - xpfe/AppCores/public/.cvsignore | 1 - xpfe/AppCores/public/MANIFEST | 9 - xpfe/AppCores/public/Makefile.in | 40 -- xpfe/AppCores/public/makefile.win | 36 - xpfe/AppCores/public/nsAppCoresCIDs.h | 105 --- xpfe/AppCores/public/nsIDOMAppCoresManager.h | 74 -- xpfe/AppCores/public/nsIDOMBaseAppCore.h | 65 -- xpfe/AppCores/public/nsIDOMBrowserAppCore.h | 175 ----- xpfe/AppCores/public/nsIDOMToolkitCore.h | 75 --- xpfe/AppCores/src/.cvsignore | 1 - xpfe/AppCores/src/Makefile.in | 56 -- xpfe/AppCores/src/makefile.win | 250 ------- xpfe/AppCores/src/nsAppCores.cpp | 138 ---- xpfe/AppCores/src/nsAppCores.h | 57 -- xpfe/AppCores/src/nsAppCoresManager.cpp | 295 -------- xpfe/AppCores/src/nsAppCoresManager.h | 68 -- .../AppCores/src/nsAppCoresManagerFactory.cpp | 117 ---- xpfe/AppCores/src/nsAppCoresManagerFactory.h | 51 -- xpfe/AppCores/src/nsAppCoresNameSet.cpp | 93 --- xpfe/AppCores/src/nsAppCoresNameSet.h | 45 -- xpfe/AppCores/src/nsBaseAppCore.cpp | 216 ------ xpfe/AppCores/src/nsBaseAppCore.h | 73 -- xpfe/AppCores/src/nsCookieCoreFactory.cpp | 121 ---- xpfe/AppCores/src/nsCookieCoreFactory.h | 51 -- xpfe/AppCores/src/nsJSAppCoresManager.cpp | 536 --------------- xpfe/AppCores/src/nsJSBaseAppCore.cpp | 467 ------------- xpfe/AppCores/src/nsJSToolkitCore.cpp | 636 ------------------ xpfe/AppCores/src/nsSignonCoreFactory.cpp | 121 ---- xpfe/AppCores/src/nsSignonCoreFactory.h | 51 -- xpfe/AppCores/src/nsToolkitCore.cpp | 371 ---------- xpfe/AppCores/src/nsToolkitCore.h | 72 -- xpfe/AppCores/src/nsToolkitCoreFactory.cpp | 102 --- xpfe/AppCores/src/nsToolkitCoreFactory.h | 50 -- xpfe/AppCores/src/nsWalletCoreFactory.cpp | 121 ---- xpfe/AppCores/src/nsWalletCoreFactory.h | 51 -- xpfe/AppCores/xul/.cvsignore | 1 - xpfe/AppCores/xul/Makefile.in | 110 --- xpfe/AppCores/xul/Password.html | 70 -- xpfe/AppCores/xul/resources/.cvsignore | 2 - .../AppCores/xul/resources/DialogAddrIcon.gif | Bin 342 -> 0 bytes .../xul/resources/DialogAddrIcon_mo.gif | Bin 352 -> 0 bytes .../AppCores/xul/resources/DialogCompIcon.gif | Bin 379 -> 0 bytes .../xul/resources/DialogCompIcon_mo.gif | Bin 393 -> 0 bytes .../AppCores/xul/resources/DialogMailIcon.gif | Bin 330 -> 0 bytes .../xul/resources/DialogMailIcon_mo.gif | Bin 401 -> 0 bytes xpfe/AppCores/xul/resources/DialogNavIcon.gif | Bin 317 -> 0 bytes .../xul/resources/DialogNavIcon_mo.gif | Bin 314 -> 0 bytes xpfe/AppCores/xul/resources/Mail_Forward.gif | Bin 1015 -> 0 bytes xpfe/AppCores/xul/resources/Mail_GetMsg.gif | Bin 1044 -> 0 bytes xpfe/AppCores/xul/resources/Mail_NewMsg.gif | Bin 1032 -> 0 bytes xpfe/AppCores/xul/resources/Mail_Reply.gif | Bin 1016 -> 0 bytes xpfe/AppCores/xul/resources/Mail_SendMsg.gif | Bin 1006 -> 0 bytes .../xul/resources/StatusBar-insecure.gif | Bin 157 -> 0 bytes .../xul/resources/StatusBar-secure.gif | Bin 164 -> 0 bytes xpfe/AppCores/xul/resources/TB_Back.gif | Bin 147 -> 0 bytes xpfe/AppCores/xul/resources/TB_Back_dis.gif | Bin 147 -> 0 bytes xpfe/AppCores/xul/resources/TB_Back_mo.gif | Bin 147 -> 0 bytes xpfe/AppCores/xul/resources/TB_Bookmarks.gif | Bin 938 -> 0 bytes .../xul/resources/TB_Bookmarks_mo.gif | Bin 949 -> 0 bytes xpfe/AppCores/xul/resources/TB_Edit.gif | Bin 172 -> 0 bytes xpfe/AppCores/xul/resources/TB_EditPage.gif | Bin 268 -> 0 bytes xpfe/AppCores/xul/resources/TB_Forward.gif | Bin 146 -> 0 bytes .../AppCores/xul/resources/TB_Forward_dis.gif | Bin 146 -> 0 bytes xpfe/AppCores/xul/resources/TB_Forward_mo.gif | Bin 146 -> 0 bytes xpfe/AppCores/xul/resources/TB_HTab.gif | Bin 108 -> 0 bytes xpfe/AppCores/xul/resources/TB_HTab_mo.gif | Bin 120 -> 0 bytes xpfe/AppCores/xul/resources/TB_Home.gif | Bin 144 -> 0 bytes xpfe/AppCores/xul/resources/TB_Home_mo.gif | Bin 144 -> 0 bytes xpfe/AppCores/xul/resources/TB_LoadImages.gif | Bin 240 -> 0 bytes xpfe/AppCores/xul/resources/TB_Location.gif | Bin 91 -> 0 bytes .../AppCores/xul/resources/TB_Location_mo.gif | Bin 103 -> 0 bytes xpfe/AppCores/xul/resources/TB_MiniAddr.gif | Bin 171 -> 0 bytes xpfe/AppCores/xul/resources/TB_MiniComp.gif | Bin 180 -> 0 bytes xpfe/AppCores/xul/resources/TB_MiniMail.gif | Bin 180 -> 0 bytes xpfe/AppCores/xul/resources/TB_MiniNav.gif | Bin 192 -> 0 bytes xpfe/AppCores/xul/resources/TB_MiniTab.gif | Bin 857 -> 0 bytes .../AppCores/xul/resources/TB_MixSecurity.gif | Bin 223 -> 0 bytes xpfe/AppCores/xul/resources/TB_Netscape.gif | Bin 194 -> 0 bytes .../AppCores/xul/resources/TB_Netscape_mo.gif | Bin 213 -> 0 bytes xpfe/AppCores/xul/resources/TB_NewBack.gif | Bin 926 -> 0 bytes xpfe/AppCores/xul/resources/TB_NewForward.gif | Bin 922 -> 0 bytes xpfe/AppCores/xul/resources/TB_NewHome.gif | Bin 943 -> 0 bytes xpfe/AppCores/xul/resources/TB_NewPrint.gif | Bin 940 -> 0 bytes xpfe/AppCores/xul/resources/TB_NewReload.gif | Bin 957 -> 0 bytes xpfe/AppCores/xul/resources/TB_NewSearch.gif | Bin 924 -> 0 bytes xpfe/AppCores/xul/resources/TB_NewStop.gif | Bin 931 -> 0 bytes .../xul/resources/TB_PersonalIcon.gif | Bin 879 -> 0 bytes xpfe/AppCores/xul/resources/TB_Places.gif | Bin 175 -> 0 bytes xpfe/AppCores/xul/resources/TB_Places_mo.gif | Bin 223 -> 0 bytes xpfe/AppCores/xul/resources/TB_Print.gif | Bin 203 -> 0 bytes xpfe/AppCores/xul/resources/TB_Print_mo.gif | Bin 215 -> 0 bytes xpfe/AppCores/xul/resources/TB_Reload.gif | Bin 175 -> 0 bytes xpfe/AppCores/xul/resources/TB_Reload_mo.gif | Bin 175 -> 0 bytes xpfe/AppCores/xul/resources/TB_Search.gif | Bin 113 -> 0 bytes xpfe/AppCores/xul/resources/TB_Search_mo.gif | Bin 113 -> 0 bytes xpfe/AppCores/xul/resources/TB_Secure.gif | Bin 224 -> 0 bytes xpfe/AppCores/xul/resources/TB_Secure_mo.gif | Bin 264 -> 0 bytes xpfe/AppCores/xul/resources/TB_Stop.gif | Bin 142 -> 0 bytes xpfe/AppCores/xul/resources/TB_Stop_dis.gif | Bin 142 -> 0 bytes xpfe/AppCores/xul/resources/TB_Stop_mo.gif | Bin 142 -> 0 bytes xpfe/AppCores/xul/resources/TB_Tab.gif | Bin 88 -> 0 bytes xpfe/AppCores/xul/resources/TB_TabSmall.gif | Bin 82 -> 0 bytes .../AppCores/xul/resources/TB_TabSmall_mo.gif | Bin 82 -> 0 bytes xpfe/AppCores/xul/resources/TB_Tab_mo.gif | Bin 88 -> 0 bytes xpfe/AppCores/xul/resources/TB_Unsecure.gif | Bin 204 -> 0 bytes .../xul/resources/TB_WhatsRelated.gif | Bin 241 -> 0 bytes .../xul/resources/TB_WhatsRelated_mo.gif | Bin 309 -> 0 bytes xpfe/AppCores/xul/resources/TB_popup.gif | Bin 67 -> 0 bytes .../xul/resources/grippy-horizontal-after.gif | Bin 157 -> 0 bytes .../resources/grippy-horizontal-before.gif | Bin 157 -> 0 bytes .../xul/resources/grippy-vertical-after.gif | Bin 145 -> 0 bytes .../xul/resources/grippy-vertical-before.gif | Bin 144 -> 0 bytes xpfe/AppCores/xul/resources/throbbingN.gif | Bin 17637 -> 0 bytes 131 files changed, 5339 deletions(-) delete mode 100644 xpfe/AppCores/.cvsignore delete mode 100644 xpfe/AppCores/Makefile.in delete mode 100644 xpfe/AppCores/idl/.cvsignore delete mode 100644 xpfe/AppCores/idl/AppCoresManager.idl delete mode 100644 xpfe/AppCores/idl/BaseAppCore.idl delete mode 100644 xpfe/AppCores/idl/Makefile.in delete mode 100644 xpfe/AppCores/idl/PrefsCore.idl delete mode 100644 xpfe/AppCores/idl/ToolkitCore.idl delete mode 100644 xpfe/AppCores/idl/makefile.win delete mode 100644 xpfe/AppCores/idl/nsIDOMBaseAppCore.idl delete mode 100644 xpfe/AppCores/idl/nsIDOMNodeList.idl delete mode 100644 xpfe/AppCores/idl/nsIDOMWindow.idl delete mode 100644 xpfe/AppCores/idl/nsIDOMXULElement.idl delete mode 100644 xpfe/AppCores/idl/nsIDOMXULTreeElement.idl delete mode 100644 xpfe/AppCores/macbuild/AppCores.mcp delete mode 100644 xpfe/AppCores/macbuild/AppCoresPrefix.h delete mode 100644 xpfe/AppCores/macbuild/AppCoresPrefix_debug.h delete mode 100644 xpfe/AppCores/makefile.win delete mode 100644 xpfe/AppCores/public/.cvsignore delete mode 100644 xpfe/AppCores/public/MANIFEST delete mode 100644 xpfe/AppCores/public/Makefile.in delete mode 100644 xpfe/AppCores/public/makefile.win delete mode 100644 xpfe/AppCores/public/nsAppCoresCIDs.h delete mode 100644 xpfe/AppCores/public/nsIDOMAppCoresManager.h delete mode 100644 xpfe/AppCores/public/nsIDOMBaseAppCore.h delete mode 100644 xpfe/AppCores/public/nsIDOMBrowserAppCore.h delete mode 100644 xpfe/AppCores/public/nsIDOMToolkitCore.h delete mode 100644 xpfe/AppCores/src/.cvsignore delete mode 100644 xpfe/AppCores/src/Makefile.in delete mode 100644 xpfe/AppCores/src/makefile.win delete mode 100644 xpfe/AppCores/src/nsAppCores.cpp delete mode 100644 xpfe/AppCores/src/nsAppCores.h delete mode 100644 xpfe/AppCores/src/nsAppCoresManager.cpp delete mode 100644 xpfe/AppCores/src/nsAppCoresManager.h delete mode 100644 xpfe/AppCores/src/nsAppCoresManagerFactory.cpp delete mode 100644 xpfe/AppCores/src/nsAppCoresManagerFactory.h delete mode 100644 xpfe/AppCores/src/nsAppCoresNameSet.cpp delete mode 100644 xpfe/AppCores/src/nsAppCoresNameSet.h delete mode 100644 xpfe/AppCores/src/nsBaseAppCore.cpp delete mode 100644 xpfe/AppCores/src/nsBaseAppCore.h delete mode 100644 xpfe/AppCores/src/nsCookieCoreFactory.cpp delete mode 100644 xpfe/AppCores/src/nsCookieCoreFactory.h delete mode 100644 xpfe/AppCores/src/nsJSAppCoresManager.cpp delete mode 100644 xpfe/AppCores/src/nsJSBaseAppCore.cpp delete mode 100644 xpfe/AppCores/src/nsJSToolkitCore.cpp delete mode 100644 xpfe/AppCores/src/nsSignonCoreFactory.cpp delete mode 100644 xpfe/AppCores/src/nsSignonCoreFactory.h delete mode 100644 xpfe/AppCores/src/nsToolkitCore.cpp delete mode 100644 xpfe/AppCores/src/nsToolkitCore.h delete mode 100644 xpfe/AppCores/src/nsToolkitCoreFactory.cpp delete mode 100644 xpfe/AppCores/src/nsToolkitCoreFactory.h delete mode 100644 xpfe/AppCores/src/nsWalletCoreFactory.cpp delete mode 100644 xpfe/AppCores/src/nsWalletCoreFactory.h delete mode 100644 xpfe/AppCores/xul/.cvsignore delete mode 100644 xpfe/AppCores/xul/Makefile.in delete mode 100644 xpfe/AppCores/xul/Password.html delete mode 100644 xpfe/AppCores/xul/resources/.cvsignore delete mode 100644 xpfe/AppCores/xul/resources/DialogAddrIcon.gif delete mode 100644 xpfe/AppCores/xul/resources/DialogAddrIcon_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/DialogCompIcon.gif delete mode 100644 xpfe/AppCores/xul/resources/DialogCompIcon_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/DialogMailIcon.gif delete mode 100644 xpfe/AppCores/xul/resources/DialogMailIcon_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/DialogNavIcon.gif delete mode 100644 xpfe/AppCores/xul/resources/DialogNavIcon_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/Mail_Forward.gif delete mode 100644 xpfe/AppCores/xul/resources/Mail_GetMsg.gif delete mode 100644 xpfe/AppCores/xul/resources/Mail_NewMsg.gif delete mode 100644 xpfe/AppCores/xul/resources/Mail_Reply.gif delete mode 100644 xpfe/AppCores/xul/resources/Mail_SendMsg.gif delete mode 100644 xpfe/AppCores/xul/resources/StatusBar-insecure.gif delete mode 100644 xpfe/AppCores/xul/resources/StatusBar-secure.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Back.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Back_dis.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Back_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Bookmarks.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Bookmarks_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Edit.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_EditPage.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Forward.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Forward_dis.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Forward_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_HTab.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_HTab_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Home.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Home_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_LoadImages.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Location.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Location_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_MiniAddr.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_MiniComp.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_MiniMail.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_MiniNav.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_MiniTab.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_MixSecurity.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Netscape.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Netscape_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_NewBack.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_NewForward.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_NewHome.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_NewPrint.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_NewReload.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_NewSearch.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_NewStop.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_PersonalIcon.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Places.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Places_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Print.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Print_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Reload.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Reload_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Search.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Search_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Secure.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Secure_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Stop.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Stop_dis.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Stop_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Tab.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_TabSmall.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_TabSmall_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Tab_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_Unsecure.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_WhatsRelated.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_WhatsRelated_mo.gif delete mode 100644 xpfe/AppCores/xul/resources/TB_popup.gif delete mode 100644 xpfe/AppCores/xul/resources/grippy-horizontal-after.gif delete mode 100644 xpfe/AppCores/xul/resources/grippy-horizontal-before.gif delete mode 100644 xpfe/AppCores/xul/resources/grippy-vertical-after.gif delete mode 100644 xpfe/AppCores/xul/resources/grippy-vertical-before.gif delete mode 100644 xpfe/AppCores/xul/resources/throbbingN.gif diff --git a/xpfe/AppCores/.cvsignore b/xpfe/AppCores/.cvsignore deleted file mode 100644 index f3c7a7c5da68..000000000000 --- a/xpfe/AppCores/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -Makefile diff --git a/xpfe/AppCores/Makefile.in b/xpfe/AppCores/Makefile.in deleted file mode 100644 index 938a3e44d69e..000000000000 --- a/xpfe/AppCores/Makefile.in +++ /dev/null @@ -1,32 +0,0 @@ -# -# The contents of this file are subject to the Netscape Public -# License Version 1.1 (the "License"); you may not use this file -# except in compliance with the License. You may obtain a copy of -# the License at http://www.mozilla.org/NPL/ -# -# Software distributed under the License is distributed on an "AS -# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or -# implied. See the License for the specific language governing -# rights and limitations under the License. -# -# The Original Code is mozilla.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): -# - -DEPTH = ../.. -topsrcdir = @top_srcdir@ -srcdir = @srcdir@ -VPATH = @srcdir@ - -include $(DEPTH)/config/autoconf.mk - -DIRS = public src xul idl - -include $(topsrcdir)/config/rules.mk - diff --git a/xpfe/AppCores/idl/.cvsignore b/xpfe/AppCores/idl/.cvsignore deleted file mode 100644 index f3c7a7c5da68..000000000000 --- a/xpfe/AppCores/idl/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -Makefile diff --git a/xpfe/AppCores/idl/AppCoresManager.idl b/xpfe/AppCores/idl/AppCoresManager.idl deleted file mode 100644 index ced7bfc1809e..000000000000 --- a/xpfe/AppCores/idl/AppCoresManager.idl +++ /dev/null @@ -1,13 +0,0 @@ -interface AppCoresManager -{ -/* IID: { 0x18c2f981, 0xb09f, 0x11d2, \ - {0xbc, 0xde, 0x00, 0x80, 0x5f, 0x0e, 0x13, 0x53}} */ - - void Startup(); - void Shutdown(); - - void Add(in BaseAppCore appcore); - void Remove(in BaseAppCore appcore); - - BaseAppCore Find(in wstring id); -}; diff --git a/xpfe/AppCores/idl/BaseAppCore.idl b/xpfe/AppCores/idl/BaseAppCore.idl deleted file mode 100644 index 28c1eea015cc..000000000000 --- a/xpfe/AppCores/idl/BaseAppCore.idl +++ /dev/null @@ -1,15 +0,0 @@ -interface BaseAppCore -{ -/* IID: { 0xbe5c13bd, 0xba9f, 0x11d2, \ - {0x96, 0xc4, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56}} */ - - readonly attribute wstring id; - - void BaseAppCore(); - void Init(in wstring id); - void SetDocumentCharset(in wstring charset); - - -}; - - diff --git a/xpfe/AppCores/idl/Makefile.in b/xpfe/AppCores/idl/Makefile.in deleted file mode 100644 index 3c6fb9e9f7de..000000000000 --- a/xpfe/AppCores/idl/Makefile.in +++ /dev/null @@ -1,34 +0,0 @@ -# -# The contents of this file are subject to the Netscape Public -# License Version 1.1 (the "License"); you may not use this file -# except in compliance with the License. You may obtain a copy of -# the License at http://www.mozilla.org/NPL/ -# -# Software distributed under the License is distributed on an "AS -# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or -# implied. See the License for the specific language governing -# rights and limitations under the License. -# -# The Original Code is mozilla.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): -# - -DEPTH = ../../.. -topsrcdir = @top_srcdir@ -srcdir = @srcdir@ -VPATH = @srcdir@ - -include $(DEPTH)/config/autoconf.mk - -MODULE = appcores - -XPIDLSRCS = nsIDOMBaseAppCore.idl - -include $(topsrcdir)/config/rules.mk - diff --git a/xpfe/AppCores/idl/PrefsCore.idl b/xpfe/AppCores/idl/PrefsCore.idl deleted file mode 100644 index 515306af9e53..000000000000 --- a/xpfe/AppCores/idl/PrefsCore.idl +++ /dev/null @@ -1,18 +0,0 @@ -interface PrefsCore : BaseAppCore -{ -/* IID: { 0x55af8384, 0xe11e, 0x11d2, \ - {0x91, 0x5f, 0xa0, 0x53, 0xf0, 0x5f, 0xf7, 0xbc}} */ - - void PrefsCore(); - - void ShowWindow(in Window currentFrontWin); - - void ChangePanel(in wstring url); - void PanelLoaded(in Window win); - - void SavePrefs(); - void CancelPrefs(); - void SetSubstitutionVar(in int stringnum, in string val); -}; - - diff --git a/xpfe/AppCores/idl/ToolkitCore.idl b/xpfe/AppCores/idl/ToolkitCore.idl deleted file mode 100644 index c2c4745959e7..000000000000 --- a/xpfe/AppCores/idl/ToolkitCore.idl +++ /dev/null @@ -1,12 +0,0 @@ -interface ToolkitCore : BaseAppCore -{ -/* IID: { 0x1cab9340, 0xc122, 0x11d2, \ - {0x81, 0xb2, 0x00, 0x60, 0x08, 0x3a, 0x0b, 0xcf}} *\ - - void ToolkitCore(); - void ShowDialog(in wstring url, in Window parent); - void ShowWindow(in wstring url, in Window parent); - void ShowWindowWithArgs(in wstring url, in Window parent, in wstring args); - void ShowModalDialog(in wstring url, in Window parent); - void CloseWindow(in Window window); -}; diff --git a/xpfe/AppCores/idl/makefile.win b/xpfe/AppCores/idl/makefile.win deleted file mode 100644 index 29bb0691ce7d..000000000000 --- a/xpfe/AppCores/idl/makefile.win +++ /dev/null @@ -1,69 +0,0 @@ -#!nmake -# -# 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): - -# This makefile isn't intended to be run as a normal part of the build -# (and isn't, at time of checkin!): it's a convenience for development work. -# If the IDL compiler has been built (also not a normal part of the build), -# then running this makefile will generate the h and cpp stubs from idl -# in this directory, using the DOM IDL compiler. In practice, since -# the stubs are pregenerated and checked in, you will want to delete -# every file from IDLSRCS except the one you're working on, and then -# run this makefile during development, only. - -DEPTH=..\..\.. - - -!ifndef IDLSRCS -IDLSRCS= \ - AppCoresManager.idl \ - BaseAppCore.idl \ - ToolkitCore.idl -!endif - - -XPCOM_DESTDIR=..\public -JSSTUB_DESTDIR=..\src - -GENXDIR=genx -GENJSDIR=genjs - -!include <$(DEPTH)\config\rules.mak> - -$(GENXDIR): - -mkdir $(GENXDIR) - -$(GENJSDIR): - -mkdir $(GENJSDIR) - -IDLC=$(DIST)\bin\idlc.exe -GENIID=$(DIST)\bin\geniid.pl - -export:: $(GENXDIR) $(GENJSDIR) $(IDLSRCS) - @echo +++ make: generating xpcom headers - $(IDLC) -d $(GENXDIR) -x $(IDLSRCS) - @echo +++ make: generating JavaScript stubs - $(IDLC) -d $(GENJSDIR) -j $(IDLSRCS) - -install:: - $(MAKE_INSTALL:/=\) $(GENXDIR)\nsIDOM*.h $(XPCOM_DESTDIR) - $(MAKE_INSTALL:/=\) $(GENJSDIR)\nsJS*.cpp $(JSSTUB_DESTDIR) - $(RM) -r $(GENXDIR) - $(RM) -r $(GENJSDIR) diff --git a/xpfe/AppCores/idl/nsIDOMBaseAppCore.idl b/xpfe/AppCores/idl/nsIDOMBaseAppCore.idl deleted file mode 100644 index 51a215d04c40..000000000000 --- a/xpfe/AppCores/idl/nsIDOMBaseAppCore.idl +++ /dev/null @@ -1,46 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- - * - * 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): - */ - -/* stub interface for compatibility with XPIDL */ -#include "nsISupports.idl" - -%{C++ -#include "nsString.h" -#include "nsIScriptContext.h" -%} -native nsString(nsString&); -native constnsString(const nsString&); - -[uuid(be5c13bd-ba9f-11d2-96c4-0060b0fb9956)] -interface nsIDOMBaseAppCore : nsISupports -{ - void GetId(in nsString id); - void Init(in constnsString id); - void SetDocumentCharset(in constnsString charset); -}; - - -%{C++ -extern "C" NS_DOM nsresult NS_InitBaseAppCoreClass(nsIScriptContext *aContext, void **aPrototype); - -extern "C" NS_DOM nsresult NS_NewScriptBaseAppCore(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn); -%} diff --git a/xpfe/AppCores/idl/nsIDOMNodeList.idl b/xpfe/AppCores/idl/nsIDOMNodeList.idl deleted file mode 100644 index fdfb22ebdce9..000000000000 --- a/xpfe/AppCores/idl/nsIDOMNodeList.idl +++ /dev/null @@ -1,30 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- - * - * 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): - */ - -/* stub interface for compatibility with XPIDL */ -#include "nsISupports.idl" - -interface nsIDOMNodeList : nsISupports -{ - readonly attribute unsigned long length; -}; - diff --git a/xpfe/AppCores/idl/nsIDOMWindow.idl b/xpfe/AppCores/idl/nsIDOMWindow.idl deleted file mode 100644 index 8a936a684ca0..000000000000 --- a/xpfe/AppCores/idl/nsIDOMWindow.idl +++ /dev/null @@ -1,3 +0,0 @@ -/* stub interface for compatibility with XPIDL */ -interface nsIDOMWindow {}; - diff --git a/xpfe/AppCores/idl/nsIDOMXULElement.idl b/xpfe/AppCores/idl/nsIDOMXULElement.idl deleted file mode 100644 index 6eb9d382db91..000000000000 --- a/xpfe/AppCores/idl/nsIDOMXULElement.idl +++ /dev/null @@ -1,2 +0,0 @@ -/* stub interface for compatibility with XPIDL */ -interface nsIDOMXULElement {}; diff --git a/xpfe/AppCores/idl/nsIDOMXULTreeElement.idl b/xpfe/AppCores/idl/nsIDOMXULTreeElement.idl deleted file mode 100644 index 44d865ebf3b0..000000000000 --- a/xpfe/AppCores/idl/nsIDOMXULTreeElement.idl +++ /dev/null @@ -1,2 +0,0 @@ -/* stub interface for compatibility with XPIDL */ -interface nsIDOMXULTreeElement {}; diff --git a/xpfe/AppCores/macbuild/AppCores.mcp b/xpfe/AppCores/macbuild/AppCores.mcp deleted file mode 100644 index 8c4342315a2fae7f4669a9aa20409e4087648c14..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 61661 zcmeHQ3v?V;dA_@PTaxXV#IfVV-aPI2A^DZWFXD$Dwq&iOXywRp9@a{`me!VbH@hpp z5^N^~LU^Q{7W>e{Igmnl^gs%f&_bat(9oDd`ruI#C=j5WrW`_n(n2Yx>G$1xXLn|H zW_J_`okW`d=)eCz|NqaOd;kBx^SE8JA-~#%vsz1g3!Pzz*Pk zU>7hAYy*w}JAwOv_X1xBJOexnJO>;FJ^%~@Gr%mc8`uNv1>Oei14e-TK;(wl3w#)O z6L1S~8*n>tGjJ>L7T^xxYk{`{cLH|-cLVnTTY#;=n}JNQN?X0Jsns1YQSR3A_=w8h9;m74Qb&8sJ(W@>(un}F8?UjtkW zTmoDQTm-xvcp2~t;4??`5ZFKV zmwlyA858=1ZDSwVPWq7jV~oQ<<_mqvSTJYlyKW$JDFkFZ*iZVOK4#9+uk<-%#{6KO zFz(C;<^XfT@D+2z$Oq;ObC6@=KHvzDImmIu{N{LJ&TtGFdBd@h03HJF2F8G6z{9{K zkU7QtOaYDDVtg5wA>c6ZDDW6?5EunA_RNzs@LpgBm<2L7m`}YxjvtPzejxKc2b=&N z2c7^j2bjZm0q+LZ1DP+(Bj%2gOU$1-AajU0%{;0AE&v_@#(}4RCxP>Tn}E#8aUgTp z0M@-CfC5N=p8=jjmDrD=!FDbaP2{pWhHqVa+r~}VTx`Qe_Eql30OtW$0apXp0+#@n0;d#a7waW$#2xLo7 zUt8pGYgd;|H%B&c9y4XC>NIYFvZL{_v286A*<5Nov_F38L@E=@io9a?@Nhhv4fRHI zqb6y86eBAaio|odL~_KWXitpALt*S~74MlyjKxB2Cvk^oGM0B-Bk@c~RaZD@OLNPb zHKCT&cpBAZ>~cKEC#}_oqr*LskQ(m2(PVtAunWSDiemA-@uXGQn#e}8+4%U7?6Tgrc5CIv6hq#P*mHMw9B#BUt}lMN&`Z5fNV>2q zk2!qAk$x%)kyUGnlT~F8mQ`zwm{n&9n^k3xomFcKpp!BmMXRznlvcetp2ZqV zP>a3p!7~TP|!Grzo2%Fe8I#P z^n$`1Zb#~n%1UJqu$-8X&QyAbDBDf!p|5Lwa=HGc4dR4va?n>>rr|IZ7Z`q%}w>B!asU2Nx zvvKva&Ccd*o7TAHc4$aTdl*f1@=bexuf8XD*sV939maD&{xQVe#3ehO{G&WejiYM{ zYFDomOl%G*DD1va8k-xGu-F4i?$&vWwy58xn8@UT@5ZCa7$2J4bF(X&9GQrYxErWZ zo`2YMh=V*BCVJAC>v2)HriNWcfqP3;XQjTVktUr>`%D(LrWG_!tui_BWI7QWD?DZ! zT~qtplv9|-Fy;mL>QGHrs#kHwM9MzM`C@~>*H*?v)C73G=pZ}_R8yrwd;q+f&J^OW z!1DzN;W;2*E)aeSl%fVT1-5O}^a(ywR&d=1AJC4j(w6ntR<2n?d&ixWVAue109 z1rT^E3cg4I1m2B;FH``5&!XVuE+Ftt6nwz~2>cfczU~49SqEQx0fK8$@bwoU*olIE z0R%@-@O2m<_z()dkO2fAN5K~}fFS$J7c_w2cTg;steTVJD>py|>kE+s-;CmF$%={& z&}%dw1HD%BXF;#i{Ch#K*Zdbi=`TRVk5H_Xtf*v6R%xF48#T}RS8M(l=o-zx4U~Nb zRQ@T7b&?g8{{-5kdHRZN1yr$reANi3+Kys_WJMKU&u!E^bAzt}0afQwY?iF3`XuO0 zn*SQ;&6;OE+@knu=E4@uvmaYE-vY{<08~d&@YsOrGbnaQR#d+W^tGD*4Ct+z{|4wz z&HoZ~m*Q&}^WB2dMcpioKE*HP332Xa{l#657a4#$ z(uib5-8g8!=HCi>K=U5~Wy}C|UqLY-SyA_6(1VJf$FY8g=9!O&G*4gNsd>uo(mY=0 z%Gb#t^UkBVN6VR4hc*9I&_T`r1eCD^)YqdJlB}p_-VJM>evN7VZqT^qPkI8a5bp$?ulWywF3>!4hU168{JcbR zLU1fB(){zFuhIO^Krhw&OQ4r2KES#cYyJvQ_8Ac1cx0aefn6w;k^{dV1?>QV2#RHr z#Y-#DD>ct?%=0WDz;Ux&vLf(%per>0e$bHS{{r-C&3_5>8qI$j^jgjT1eAUU$nadR zdG_xH&C_@tT2E9q~73|E-nx`*s(LCF-Mf2N1w`%@2 z&~2J$o2dg-JcMG0WJSdVP+r>r6(2@%t7JvR)1W&w|19V(&C|EL6<=8ax<~WOmln;_ zm#vy-8{0G=25r|o{YhT~Do>)=Cs|SX7SImOzX!Ba^G|>>p8%DgMbRZ$b{GvF)jiSy&5wfKu6f3t`2nc< zLlg%kE2`MeJ2Zb0^pNJC1HDu8{{hNz4ya<=c#Q;9*P*yavZ8t^D18K|W*!Za1HThR zRI;L){T|Xh>9FQApfSxq0vgx+yFia<{v)6xn*S6i`v$1~GKz#`MfHzBk81umpvM$n z(*QcAd5*1d&2I%|o&jnY&y-|E4f~zeJoWc#{wyfl3aEJ$MOLz+<^!NP%`?^$ntulL zxaR)_^n~Vr3CbJ-)bf0JO0uGM8R%)vuLQkM^IJgg*F5t=Uw>=qzcWhiQd$=ZxET53 zS?>WX>{(kE z9qH}cxZY&a9nllk7Fi@0LqtuYlj-5qxM}+|sy1zgBVD1$D0b16HGvf!$y_{hB#IbC zauY*Y5yr|D%7>!axNTp(8$2WTG`t|K3aMt=$zq|pW{8ZAsy-N7?6$!hjg(_p_DpHm zFvTUadcKs?rB<&WJkX_eh2Y4Ee%od^n#4?M##vevURgtTbQ}lE>0S1qHRuyHh9r|Z zk&S0c39S`(Mzn2K*U%X$t`#z;dOIWGXkyHC^v*~>KJgifW=t}hiLq&IMe%MXiP_X> ztSQbs%}C#vWQItEDsQ1SIYq2aQKmg&mfXdbv<-=ZvD(?tV9524W>P~#@yy<_3FZFo zcn%A)j)haPiLq$LRJm25DoSRRw~i%pCU3FZt`f5&xVzCyYaX@55;!ktoeru+X01l4 z&}JirIwKZqSwrE)gZ)*5-p-#2Im}x#sdPuu7(yJ+Y;9j_yQ!m&Th^9wsXqo;KDYDR zRTur=5x2k6@{rrDb`EeSf>L?L7b; z6G@CDQ%O^Gosj|A2a~AC#v~YpdkdS^1{BL_T~xhEVAWe|E0`JbQE?&>!|Fn_yQRQz zcS|aDEMfLlL15IOE?}LJf<`*J8v@)eBynF6$zhf1M7l{oQdn+B{0-j&z6WO719%AF ze8sgv^=yF0gbH&L@=pw4_)LDC2fKRMUGKq;^A9(8uv-AT8$H-9f!&sZUB2lM7oL0| z<($k`4|Z3;Zkq=?&QEOjV0R_#c6hK0!EToayH&93D%iQkZ8hw|9_-e_uFr$rI@t9W z>|FiKxwr!!>^LuWy9YbYy$*P=+X1^H1v^*2gkg8egB|A?&rGA8*W>zjaJ+_ml7aE$ z7wi`V?t^`PU%bsB-|^(Khhi_i^f>1>eVCgb=tOeZ^I|{p0`Cq^>-pum>6kg)>mc4Q zaiUaCmdFJI;i@a(Xtuct@9K~(*&*xPqNzkEUV$Mt4q=U~vjO|UCF2Lrp!uq!(U13Ru^D?0}RyWOxG@z4*h+dA#Rj_b9`&cWcg zUhTXd*SCY?HQ*AU0Dku57r7d?THaDM?9z8s+l)$lIww8ABzg$|!k-cfY}=O24Esqj zCv$oO!-iu@?qPy7=D&#+wfQd3kVL!_=5r6OB(pfIpKkzsP4uZ z^pbrIhVe;3Ned6kU9jnIJJ{dE?@&tsKC8%oVdrM1u3qvdcAZUXpV*bVTtpE z{ubEtZbgQyr!UgiQlyxqfb~cZ4(ZRCUG}$pdFWy@U6GLWl*tW#?^q5pnC>iRQ%*k! zgX#Jvwe0=TvR7J$g~MHY%6SOOUd&&YI+}-jyV@NUCZVT#23qv5B$#%bBs&QESL4XB zeD3SgXEg%XtZ`9GvG;mP4<7IJ=pQn0Y1Aa@DOr){dg3Qb*5lGli&*-(^a<1YdA4P5 zwXqOH){`DCSyQ=woio)_D)OG|nT9j3?3ey+3f0@wi7)!x-N7i9 z8rHvv;h^*=8id_UUQujc?K`$Iix0pZ6(*sVdT8DRCz*DeG~289DEGmkmw2(NrgS=0 zwsR#~IjD6_Qw$pGQ9qEW{x5>A)=KK9lzA?s@rZz%FxwE2d-Q4B~jxF>+YX zB=33oyUUI+$$MV+dZu9{vtK=XIzx^PH3`GL1IE3)YkPXTrgU1CM;k;r9cLESGm~eQ z{5_PbcZ~UnQg>p=G2^Fu%GOi*lI*>n(zm>msHbE_p6i+EdvF&&=g;6JdnMzgf3w4- zA|nse`0r080RHhMm*$+yw`X{?R3?^-SD~JC$@}MW{mR!f4OckzY!TPL#D|W) zOqh-<H`gF1*3Y?6W zkzLA5{)+5U-Z8D>z*1H>OF5EE#ajRRQJeDOr){dS-exh)cf; zt3f=jzHq7M9FjrC9V@#_MZTPW^7Tx^nOC-_2&EG@0M%`bL-Q2QfO{koIX8Io7r9FjvaQ9rL266YelG2D9E@k*&N?Tn<9yugEU;OF=THS7g_Uih?H$t^uDOw)FJ1 zMGm)ibs56BMe(0k8Z9qLi{F%ndk!6%uKD&!IXAEqp!e|qTU6e4{(pR%9!=Q61i@yxMoh%>^Ibx21t7tbW)xlr55^jInrFEiaY+3J1!SBD4i zPgZ=G(;nc$Ss&)M2mE`AxgCG>-oK}q^C>W04)E_OrpuGB)_Q8N_+I|;V;q62OI5Tf zH8F)>m*9Mu`n9ycxr3jZx?4>1YxvKVfwu?hg7;Z#4V<%XPkF1-UW0$*W%tPBw+|oA z=AxM?B-Z2)Y2O2RZWsC6z6X2{IC$VPTonlO)tFIR^A7ZOG^I1~BZ-p^yFjG&;W)G0 zS>WI96pcLA$SaRk%*sS(UtO5X#%2Ye4qy9fMdmAp&+XO+Awe8%^{R6XE7t4!5{{{GSf{<8{S z=z9P>;Cr$Y3-D#-LNT7r+2##aKwfhWa@%}cU={vl4dqE|E1JJ7M1!uU;)R0lhQH=N zKT`FW|zrIoRnC071Pvx`YxipV!>O%DyY~K$#f4j^iZ$x`UXgrs-*;k={u@LqN zt9|uvu-!kN8%tT`RiDE4Dzpdo=JwQdqn&HV(^;E**Za`U&EvTd9M^1L^|L}f;PTM? zH(+bWqxSjBd7Y3yJ|30*&07o6{zLkww=0_q1m65(C>AMY{jWid{+d>RgnLYWGs){t z!`|?lNnZ6lVvl`&MEB%Q+?A-w63$AYkx= zhT;Jbi;YR)ImSM{I&E%-2{$W69?NXh^5&%q$Hy(Kc}#5YWi}{hgBk!(-t4fPndkTVRQjKYKd_5h)f;PlJ9) z%jt)HC2x2fR4xD#=U?~^_ybDb`c3#jANS|1hX`o+Dhd^s^WXXf_yJ0VIQ!{*T+YAk z^$;ACV)5wKd|b}|^Lrq>L&@KPc|apBPq8nDlziV0^Km)LdCv{xTAEmGE zQu1bwD;1aX&wT^@-Adl@6HpzO*h%pBDEWT2S;gf-{|fMjmArxDRLAA&_237Uym3CL zj!PqB7}avdSNrEl|h906$Er5Ko}LMqHj*1wl-T#hAE5aO6v{u_-x35rPATNfdF7w& zZ(RmHNvRN@N1o`oY=0PS7K|U@^H0M+)v}%2KlV8YIIaL+cn0!sN%@YKTvW${H{T%2PC4U0@3jN!Y7kR8kCI83&1+SN_UZkIOzbct)`u~ky+z4Lx z>;KrN<3Pa09Vm3a-u^A{Cn$xSIjr(+`*Ul-Gv@#oF>Z{0eVj2rCB@=P$X}yh%jx6O zO8(`W^ZnYf?0LxUQ}VxOJaxZ*(FFc}Eq@GD_v^!pz`st*pTN3rbsnpJk$pO&R?NYa~tp diff --git a/xpfe/AppCores/macbuild/AppCoresPrefix.h b/xpfe/AppCores/macbuild/AppCoresPrefix.h deleted file mode 100644 index 68dd23de3832..000000000000 --- a/xpfe/AppCores/macbuild/AppCoresPrefix.h +++ /dev/null @@ -1,31 +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): - */ - -/* Defining the following causes NS_DOM to be defined as NS_EXPORT. */ -/* This is a temporary solution to fix export problem with auto */ -/* generated files (nsJSxxx.cpp) who are declared as extern "C" */ -/* NS_DOM. As Mailnews is build into a separate project and need */ -/* NS_InitJSBaseAppCore, NS_InitJSBaseAppCore must be correctly */ -/* exported, for more information, email to ducarroz@netscape.com */ -#define _IMPL_NS_DOM - -#include "MacSharedPrefix.h" diff --git a/xpfe/AppCores/macbuild/AppCoresPrefix_debug.h b/xpfe/AppCores/macbuild/AppCoresPrefix_debug.h deleted file mode 100644 index 1f0a5dd723eb..000000000000 --- a/xpfe/AppCores/macbuild/AppCoresPrefix_debug.h +++ /dev/null @@ -1,31 +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): - */ - -/* Defining the following causes NS_DOM to be defined as NS_EXPORT. */ -/* This is a temporary solution to fix export problem with auto */ -/* generated files (nsJSxxx.cpp) who are declared as extern "C" */ -/* NS_DOM. As Mailnews is build into a separate project and need */ -/* NS_InitJSBaseAppCore, NS_InitJSBaseAppCore must be correctly */ -/* exported, for more information, email to ducarroz@netscape.com */ -#define _IMPL_NS_DOM - -#include "MacSharedPrefix_debug.h" diff --git a/xpfe/AppCores/makefile.win b/xpfe/AppCores/makefile.win deleted file mode 100644 index 78197b8426c6..000000000000 --- a/xpfe/AppCores/makefile.win +++ /dev/null @@ -1,26 +0,0 @@ -#!nmake -# -# 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): - -DEPTH=..\.. - -DIRS=public src - -include <$(DEPTH)\config\rules.mak> diff --git a/xpfe/AppCores/public/.cvsignore b/xpfe/AppCores/public/.cvsignore deleted file mode 100644 index f3c7a7c5da68..000000000000 --- a/xpfe/AppCores/public/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -Makefile diff --git a/xpfe/AppCores/public/MANIFEST b/xpfe/AppCores/public/MANIFEST deleted file mode 100644 index 7979c308f51c..000000000000 --- a/xpfe/AppCores/public/MANIFEST +++ /dev/null @@ -1,9 +0,0 @@ -# -# This is a list of local files which get copied to the mozilla:dist:appcores directory -# - -nsIDOMAppCoresManager.h -nsIDOMBaseAppCore.h -nsIDOMToolkitCore.h -nsIDOMBrowserAppCore.h -nsAppCoresCIDs.h diff --git a/xpfe/AppCores/public/Makefile.in b/xpfe/AppCores/public/Makefile.in deleted file mode 100644 index 327239fc7390..000000000000 --- a/xpfe/AppCores/public/Makefile.in +++ /dev/null @@ -1,40 +0,0 @@ -# -# The contents of this file are subject to the Netscape Public -# License Version 1.1 (the "License"); you may not use this file -# except in compliance with the License. You may obtain a copy of -# the License at http://www.mozilla.org/NPL/ -# -# Software distributed under the License is distributed on an "AS -# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or -# implied. See the License for the specific language governing -# rights and limitations under the License. -# -# The Original Code is mozilla.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): -# - -DEPTH = ../../.. -topsrcdir = @top_srcdir@ -srcdir = @srcdir@ -VPATH = @srcdir@ - -include $(DEPTH)/config/autoconf.mk - -EXPORTS = \ - nsIDOMAppCoresManager.h \ - nsIDOMBaseAppCore.h \ - nsIDOMToolkitCore.h \ - nsIDOMBrowserAppCore.h \ - nsAppCoresCIDs.h \ - $(NULL) - -EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS)) - -include $(topsrcdir)/config/rules.mk - diff --git a/xpfe/AppCores/public/makefile.win b/xpfe/AppCores/public/makefile.win deleted file mode 100644 index 1ef5de4029ad..000000000000 --- a/xpfe/AppCores/public/makefile.win +++ /dev/null @@ -1,36 +0,0 @@ -#!nmake -# -# 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): - -DEPTH=..\..\.. - - - -MODULE=appcores - -EXPORTS= \ - nsIDOMAppCoresManager.h \ - nsIDOMBaseAppCore.h \ - nsIDOMToolkitCore.h \ - nsIDOMBrowserAppCore.h \ - nsAppCoresCIDs.h - -include <$(DEPTH)\config\rules.mak> - diff --git a/xpfe/AppCores/public/nsAppCoresCIDs.h b/xpfe/AppCores/public/nsAppCoresCIDs.h deleted file mode 100644 index bc1033a4237d..000000000000 --- a/xpfe/AppCores/public/nsAppCoresCIDs.h +++ /dev/null @@ -1,105 +0,0 @@ -#ifndef nsAppCoresCIDs_h___ -#define nsAppCoresCIDs_h___ - -#define NS_APPCORESMANAGER_CID \ -{ /* B2A68893-BFA2-11d2-96C8-0060B0FB9956 */ \ - 0xb2a68893, 0xbfa2, 0x11d2, { 0x96, 0xc8, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56 } \ -} - -#define NS_APPCORESFACTORY_CID \ -{ /* B2A68894-BFA2-11d2-96C8-0060B0FB9956 */ \ - 0xb2a68894, 0xbfa2, 0x11d2, { 0x96, 0xc8, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56} \ -} - -#define NS_DOMPROPSCORE_CID \ -{ /* D23EC5D6-E91E-11D2-AAD6-00805F8A4905 */ \ - 0xd23ec5d6, 0xe91e, 0x11d2, { 0xaa, 0xd6, 0x0, 0x80, 0x5f, 0x8a, 0x49, 0x5 } \ -} - -#define NS_MAILCORE_CID \ -{ /* B2A68895-BFA2-11d2-96C8-0060B0FB9956 */ \ - 0xb2a68895, 0xbfa2, 0x11d2, { 0x96, 0xc8, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56} \ -} - -#define NS_PROFILECORE_CID \ -{ /* 3c6dac41-f917-11d2-9f5c-006008a6efe9 */ \ - 0x3c6dac41, 0xf917, 0x11d2, { 0x9f, 0x5c, 0x00, 0x60, 0x08, 0xa6, 0xef, 0xe9} \ -} - -#define NS_RDFCORE_CID \ -{ /* 22dcf4e0-cd1d-11d2-8b7e-00805f8a7db5 */ \ - 0x22dcf4e0, 0xcd1d, 0x11d2, { 0x8b, 0x7e, 0x0, 0x80, 0x5f, 0x8a, 0x7d, 0xb5} \ -} - -#define NS_MAILCOREFACTORY_CID \ -{ /* B2A68896-BFA2-11d2-96C8-0060B0FB9956 */ \ - 0xb2a68896, 0xbfa2, 0x11d2, { 0x96, 0xc8, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56 } \ -} - -#define NS_TOOLBARCORE_CID \ -{ /* BF4AE23E-BA9B-11d2-96C4-0060B0FB9956 */ \ - 0xbf4ae23e, 0xba9b, 0x11d2, \ - {0x96, 0xc4, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56} \ -} - -#define NS_TOOLBARCORE_FACTORY_CID \ -{ /* BF4AE23F-BA9B-11d2-96C4-0060B0FB9956 */ \ - 00xbf4ae23f, 0xba9b, 0x11d2, \ - {0x96, 0xc4, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56} \ -} - -#define NS_BROWSERAPPCORE_CID \ -{ /* BF4AE23E-BA9B-11d2-96C4-0060B0FB9956 */ \ - 0x108d75a0, 0xbab5, 0x11d2, \ - {0x96, 0xc4, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56} \ -} - -#define NS_BROWSERAPPCORE_FACTORY_CID \ -{ /* BF4AE23F-BA9B-11d2-96C4-0060B0FB9956 */ \ - 0x108d759f, 0xbab5, 0x11d2, \ - {0x96, 0xc4, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56} \ -} - -#define NS_BROWSERAPPCORE_FACTORY_CID \ -{ /* BF4AE23F-BA9B-11d2-96C4-0060B0FB9956 */ \ - 0x108d759f, 0xbab5, 0x11d2, \ - {0x96, 0xc4, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56} \ -} - -#define NS_TOOLKITCORE_CID \ -{ /* 1cab9340-c122-11d2-81b2-0060083a0bcf */ \ - 0x1cab9340, 0xc122, 0x11d2, \ - {0x81, 0xb2, 0x00, 0x60, 0x08, 0x3a, 0x0b, 0xcf} \ -} - -#define NS_TOOLKITCORE_FACTORY_CID \ -{ /* 1cab9341-c122-11d2-81b2-0060083a0bcf */ \ - 0x1cab9341, 0xc122, 0x11d2, \ - {0x81, 0xb2, 0x00, 0x60, 0x08, 0x3a, 0x0b, 0xcf} \ -} - -#define NS_THROBBERGLUE_FACTORY_CID \ -{ /* 771C3121-BC44-11d2-8A3F-00805F8A6608 */ \ - 0x771c3121, 0xbc44, 0x11d2, \ - {0x8a, 0x3f, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x8} \ -} - -#define NS_THROBBERGLUE_CID \ -{ /* {7A3C4060-BC45-11d2-8A3F-00805F8A6608} */ \ - 0x7a3c4060, 0xbc45, 0x11d2, \ - { 0x8a, 0x3f, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x8 } \ -} - -#define NS_EDITORAPPCORE_CID \ -{ /* {} */ \ - 0x9afff72b, 0xca9a, 0x11d2, \ - { 0x96, 0xc9, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56 } \ -} - -#define NS_EDITORAPPCORE_FACTORY_CID \ -{ /* {739C5B4F-CA9D-11d2-96C9-0060B0FB9956} */ \ - 0x739c5b4f, 0xca9d, 0x11d2, \ - {0x96, 0xc9, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56} \ -} - -#endif /* nsAppCoresCIDs_h___ */ diff --git a/xpfe/AppCores/public/nsIDOMAppCoresManager.h b/xpfe/AppCores/public/nsIDOMAppCoresManager.h deleted file mode 100644 index 2ebe7e0301aa..000000000000 --- a/xpfe/AppCores/public/nsIDOMAppCoresManager.h +++ /dev/null @@ -1,74 +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): - */ -/* AUTO-GENERATED. DO NOT EDIT!!! */ - -#ifndef nsIDOMAppCoresManager_h__ -#define nsIDOMAppCoresManager_h__ - -#include "nsISupports.h" -#include "nsString.h" -#include "nsIScriptContext.h" - -class nsIDOMBaseAppCore; - -#define NS_IDOMAPPCORESMANAGER_IID \ - { 0x18c2f981, 0xb09f, 0x11d2, \ - {0xbc, 0xde, 0x00, 0x80, 0x5f, 0x0e, 0x13, 0x53}} - -class nsIDOMAppCoresManager : public nsISupports { -public: - static const nsIID& GetIID() { static nsIID iid = NS_IDOMAPPCORESMANAGER_IID; return iid; } - - NS_IMETHOD Startup()=0; - - NS_IMETHOD Shutdown()=0; - - NS_IMETHOD Add(nsIDOMBaseAppCore* aAppcore)=0; - - NS_IMETHOD Remove(nsIDOMBaseAppCore* aAppcore)=0; - - NS_IMETHOD Find(const nsString& aId, nsIDOMBaseAppCore** aReturn)=0; -}; - - -#define NS_DECL_IDOMAPPCORESMANAGER \ - NS_IMETHOD Startup(); \ - NS_IMETHOD Shutdown(); \ - NS_IMETHOD Add(nsIDOMBaseAppCore* aAppcore); \ - NS_IMETHOD Remove(nsIDOMBaseAppCore* aAppcore); \ - NS_IMETHOD Find(const nsString& aId, nsIDOMBaseAppCore** aReturn); \ - - - -#define NS_FORWARD_IDOMAPPCORESMANAGER(_to) \ - NS_IMETHOD Startup() { return _to Startup(); } \ - NS_IMETHOD Shutdown() { return _to Shutdown(); } \ - NS_IMETHOD Add(nsIDOMBaseAppCore* aAppcore) { return _to Add(aAppcore); } \ - NS_IMETHOD Remove(nsIDOMBaseAppCore* aAppcore) { return _to Remove(aAppcore); } \ - NS_IMETHOD Find(const nsString& aId, nsIDOMBaseAppCore** aReturn) { return _to Find(aId, aReturn); } \ - - -extern "C" NS_DOM nsresult NS_InitAppCoresManagerClass(nsIScriptContext *aContext, void **aPrototype); - -extern "C" NS_DOM nsresult NS_NewScriptAppCoresManager(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn); - -#endif // nsIDOMAppCoresManager_h__ diff --git a/xpfe/AppCores/public/nsIDOMBaseAppCore.h b/xpfe/AppCores/public/nsIDOMBaseAppCore.h deleted file mode 100644 index 382e6867bb35..000000000000 --- a/xpfe/AppCores/public/nsIDOMBaseAppCore.h +++ /dev/null @@ -1,65 +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): - */ -/* AUTO-GENERATED. DO NOT EDIT!!! */ - -#ifndef nsIDOMBaseAppCore_h__ -#define nsIDOMBaseAppCore_h__ - -#include "nsISupports.h" -#include "nsString.h" -#include "nsIScriptContext.h" - - -#define NS_IDOMBASEAPPCORE_IID \ - { 0xbe5c13bd, 0xba9f, 0x11d2, \ - {0x96, 0xc4, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56}} - -class nsIDOMBaseAppCore : public nsISupports { -public: - static const nsIID& GetIID() { static nsIID iid = NS_IDOMBASEAPPCORE_IID; return iid; } - - NS_IMETHOD GetId(nsString& aId)=0; - - NS_IMETHOD Init(const nsString& aId)=0; - - NS_IMETHOD SetDocumentCharset(const nsString& aCharset)=0; -}; - - -#define NS_DECL_IDOMBASEAPPCORE \ - NS_IMETHOD GetId(nsString& aId); \ - NS_IMETHOD Init(const nsString& aId); \ - NS_IMETHOD SetDocumentCharset(const nsString& aCharset); \ - - - -#define NS_FORWARD_IDOMBASEAPPCORE(_to) \ - NS_IMETHOD GetId(nsString& aId) { return _to GetId(aId); } \ - NS_IMETHOD Init(const nsString& aId) { return _to Init(aId); } \ - NS_IMETHOD SetDocumentCharset(const nsString& aCharset) { return _to SetDocumentCharset(aCharset); } \ - - -extern "C" NS_DOM nsresult NS_InitBaseAppCoreClass(nsIScriptContext *aContext, void **aPrototype); - -extern "C" NS_DOM nsresult NS_NewScriptBaseAppCore(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn); - -#endif // nsIDOMBaseAppCore_h__ diff --git a/xpfe/AppCores/public/nsIDOMBrowserAppCore.h b/xpfe/AppCores/public/nsIDOMBrowserAppCore.h deleted file mode 100644 index 1e35ae37dde0..000000000000 --- a/xpfe/AppCores/public/nsIDOMBrowserAppCore.h +++ /dev/null @@ -1,175 +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): - */ -/* AUTO-GENERATED. DO NOT EDIT!!! */ - -#ifndef nsIDOMBrowserAppCore_h__ -#define nsIDOMBrowserAppCore_h__ - -#include "nsISupports.h" -#include "nsString.h" -#include "nsIScriptContext.h" -#include "nsIDOMBaseAppCore.h" - -class nsIDOMWindow; - -#define NS_IDOMBROWSERAPPCORE_IID \ - { 0xb0ffb697, 0xbab4, 0x11d2, \ - {0x96, 0xc4, 0x0, 0x60, 0xb0, 0xfb, 0x99, 0x56}} - -class nsIDOMBrowserAppCore : public nsIDOMBaseAppCore { -public: - static const nsIID& GetIID() { static nsIID iid = NS_IDOMBROWSERAPPCORE_IID; return iid; } - - NS_IMETHOD Back()=0; - - NS_IMETHOD Forward()=0; - - NS_IMETHOD Reload(PRUint32 aReloadType)=0; - - NS_IMETHOD Stop()=0; - - NS_IMETHOD LoadUrl(const nsString& aUrl)=0; - - NS_IMETHOD LoadInitialPage()=0; - - NS_IMETHOD BackButtonPopup()=0; - - NS_IMETHOD ForwardButtonPopup()=0; - - NS_IMETHOD GotoHistoryIndex(PRInt32 aIndex)=0; - - NS_IMETHOD WalletPreview(nsIDOMWindow* aWin, nsIDOMWindow* aForm)=0; - - NS_IMETHOD CookieViewer(nsIDOMWindow* aWin)=0; - - NS_IMETHOD SignonViewer(nsIDOMWindow* aWin)=0; - - NS_IMETHOD WalletEditor(nsIDOMWindow* aWin)=0; - - NS_IMETHOD WalletChangePassword()=0; - - NS_IMETHOD WalletQuickFillin(nsIDOMWindow* aWin)=0; - - NS_IMETHOD WalletRequestToCapture(nsIDOMWindow* aWin)=0; - - NS_IMETHOD WalletSamples()=0; - - NS_IMETHOD SetToolbarWindow(nsIDOMWindow* aWin)=0; - - NS_IMETHOD SetContentWindow(nsIDOMWindow* aWin)=0; - - NS_IMETHOD SetWebShellWindow(nsIDOMWindow* aWin)=0; - - NS_IMETHOD NewWindow()=0; - - NS_IMETHOD OpenWindow()=0; - - NS_IMETHOD PrintPreview()=0; - - NS_IMETHOD Copy()=0; - - NS_IMETHOD Print()=0; - - NS_IMETHOD Close()=0; - - NS_IMETHOD Exit()=0; - - NS_IMETHOD SelectAll()=0; - - NS_IMETHOD Find()=0; - - NS_IMETHOD FindNext()=0; -}; - - -#define NS_DECL_IDOMBROWSERAPPCORE \ - NS_IMETHOD Back(); \ - NS_IMETHOD Forward(); \ - NS_IMETHOD Reload(PRUint32 aReloadType); \ - NS_IMETHOD Stop(); \ - NS_IMETHOD LoadUrl(const nsString& aUrl); \ - NS_IMETHOD LoadInitialPage(); \ - NS_IMETHOD BackButtonPopup(); \ - NS_IMETHOD ForwardButtonPopup(); \ - NS_IMETHOD GotoHistoryIndex(PRInt32 aIndex); \ - NS_IMETHOD WalletPreview(nsIDOMWindow* aWin, nsIDOMWindow* aForm); \ - NS_IMETHOD CookieViewer(nsIDOMWindow* aWin); \ - NS_IMETHOD SignonViewer(nsIDOMWindow* aWin); \ - NS_IMETHOD WalletEditor(nsIDOMWindow* aWin); \ - NS_IMETHOD WalletChangePassword(); \ - NS_IMETHOD WalletQuickFillin(nsIDOMWindow* aWin); \ - NS_IMETHOD WalletRequestToCapture(nsIDOMWindow* aWin); \ - NS_IMETHOD WalletSamples(); \ - NS_IMETHOD SetToolbarWindow(nsIDOMWindow* aWin); \ - NS_IMETHOD SetContentWindow(nsIDOMWindow* aWin); \ - NS_IMETHOD SetWebShellWindow(nsIDOMWindow* aWin); \ - NS_IMETHOD NewWindow(); \ - NS_IMETHOD OpenWindow(); \ - NS_IMETHOD PrintPreview(); \ - NS_IMETHOD Copy(); \ - NS_IMETHOD Print(); \ - NS_IMETHOD Close(); \ - NS_IMETHOD Exit(); \ - NS_IMETHOD SelectAll(); \ - NS_IMETHOD Find(); \ - NS_IMETHOD FindNext(); \ - - - -#define NS_FORWARD_IDOMBROWSERAPPCORE(_to) \ - NS_IMETHOD Back() { return _to Back(); } \ - NS_IMETHOD Forward() { return _to Forward(); } \ - NS_IMETHOD Reload(PRUint32 aReloadType) { return _to Reload(aReloadType); } \ - NS_IMETHOD Stop() { return _to Stop(); } \ - NS_IMETHOD LoadUrl(const nsString& aUrl) { return _to LoadUrl(aUrl); } \ - NS_IMETHOD LoadInitialPage() { return _to LoadInitialPage(); } \ - NS_IMETHOD BackButtonPopup() { return _to BackButtonPopup(); } \ - NS_IMETHOD ForwardButtonPopup() { return _to ForwardButtonPopup(); } \ - NS_IMETHOD GotoHistoryIndex(PRInt32 aIndex) { return _to GotoHistoryIndex(aIndex); } \ - NS_IMETHOD WalletPreview(nsIDOMWindow* aWin, nsIDOMWindow* aForm) { return _to WalletPreview(aWin, aForm); } \ - NS_IMETHOD CookieViewer(nsIDOMWindow* aWin) { return _to CookieViewer(aWin); } \ - NS_IMETHOD SignonViewer(nsIDOMWindow* aWin) { return _to SignonViewer(aWin); } \ - NS_IMETHOD WalletEditor(nsIDOMWindow* aWin) { return _to WalletEditor(aWin); } \ - NS_IMETHOD WalletChangePassword() { return _to WalletChangePassword(); } \ - NS_IMETHOD WalletQuickFillin(nsIDOMWindow* aWin) { return _to WalletQuickFillin(aWin); } \ - NS_IMETHOD WalletRequestToCapture(nsIDOMWindow* aWin) { return _to WalletRequestToCapture(aWin); } \ - NS_IMETHOD WalletSamples() { return _to WalletSamples(); } \ - NS_IMETHOD SetToolbarWindow(nsIDOMWindow* aWin) { return _to SetToolbarWindow(aWin); } \ - NS_IMETHOD SetContentWindow(nsIDOMWindow* aWin) { return _to SetContentWindow(aWin); } \ - NS_IMETHOD SetWebShellWindow(nsIDOMWindow* aWin) { return _to SetWebShellWindow(aWin); } \ - NS_IMETHOD NewWindow() { return _to NewWindow(); } \ - NS_IMETHOD OpenWindow() { return _to OpenWindow(); } \ - NS_IMETHOD PrintPreview() { return _to PrintPreview(); } \ - NS_IMETHOD Copy() { return _to Copy(); } \ - NS_IMETHOD Print() { return _to Print(); } \ - NS_IMETHOD Close() { return _to Close(); } \ - NS_IMETHOD Exit() { return _to Exit(); } \ - NS_IMETHOD SelectAll() { return _to SelectAll(); } \ - NS_IMETHOD Find() { return _to Find(); } \ - NS_IMETHOD FindNext() { return _to FindNext(); } \ - - -extern "C" NS_DOM nsresult NS_InitBrowserAppCoreClass(nsIScriptContext *aContext, void **aPrototype); - -extern "C" NS_DOM nsresult NS_NewScriptBrowserAppCore(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn); - -#endif // nsIDOMBrowserAppCore_h__ diff --git a/xpfe/AppCores/public/nsIDOMToolkitCore.h b/xpfe/AppCores/public/nsIDOMToolkitCore.h deleted file mode 100644 index a6e9ee4efca1..000000000000 --- a/xpfe/AppCores/public/nsIDOMToolkitCore.h +++ /dev/null @@ -1,75 +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): - */ -/* AUTO-GENERATED. DO NOT EDIT!!! */ - -#ifndef nsIDOMToolkitCore_h__ -#define nsIDOMToolkitCore_h__ - -#include "nsISupports.h" -#include "nsString.h" -#include "nsIScriptContext.h" -#include "nsIDOMBaseAppCore.h" - -class nsIDOMWindow; - -#define NS_IDOMTOOLKITCORE_IID \ - { 0x1cab9340, 0xc122, 0x11d2, \ - {0x81, 0xb2, 0x00, 0x60, 0x08, 0x3a, 0x0b, 0xcf}} - -class nsIDOMToolkitCore : public nsIDOMBaseAppCore { -public: - static const nsIID& GetIID() { static nsIID iid = NS_IDOMTOOLKITCORE_IID; return iid; } - - NS_IMETHOD ShowDialog(const nsString& aUrl, nsIDOMWindow* aParent)=0; - - NS_IMETHOD ShowWindow(const nsString& aUrl, nsIDOMWindow* aParent)=0; - - NS_IMETHOD ShowWindowWithArgs(const nsString& aUrl, nsIDOMWindow* aParent, const nsString& aArgs)=0; - - NS_IMETHOD ShowModalDialog(const nsString& aUrl, nsIDOMWindow* aParent)=0; - - NS_IMETHOD CloseWindow(nsIDOMWindow* aWindow)=0; -}; - - -#define NS_DECL_IDOMTOOLKITCORE \ - NS_IMETHOD ShowDialog(const nsString& aUrl, nsIDOMWindow* aParent); \ - NS_IMETHOD ShowWindow(const nsString& aUrl, nsIDOMWindow* aParent); \ - NS_IMETHOD ShowWindowWithArgs(const nsString& aUrl, nsIDOMWindow* aParent, const nsString& aArgs); \ - NS_IMETHOD ShowModalDialog(const nsString& aUrl, nsIDOMWindow* aParent); \ - NS_IMETHOD CloseWindow(nsIDOMWindow* aWindow); \ - - - -#define NS_FORWARD_IDOMTOOLKITCORE(_to) \ - NS_IMETHOD ShowDialog(const nsString& aUrl, nsIDOMWindow* aParent) { return _to ShowDialog(aUrl, aParent); } \ - NS_IMETHOD ShowWindow(const nsString& aUrl, nsIDOMWindow* aParent) { return _to ShowWindow(aUrl, aParent); } \ - NS_IMETHOD ShowWindowWithArgs(const nsString& aUrl, nsIDOMWindow* aParent, const nsString& aArgs) { return _to ShowWindowWithArgs(aUrl, aParent, aArgs); } \ - NS_IMETHOD ShowModalDialog(const nsString& aUrl, nsIDOMWindow* aParent) { return _to ShowModalDialog(aUrl, aParent); } \ - NS_IMETHOD CloseWindow(nsIDOMWindow* aWindow) { return _to CloseWindow(aWindow); } \ - - -extern "C" NS_DOM nsresult NS_InitToolkitCoreClass(nsIScriptContext *aContext, void **aPrototype); - -extern "C" NS_DOM nsresult NS_NewScriptToolkitCore(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn); - -#endif // nsIDOMToolkitCore_h__ diff --git a/xpfe/AppCores/src/.cvsignore b/xpfe/AppCores/src/.cvsignore deleted file mode 100644 index f3c7a7c5da68..000000000000 --- a/xpfe/AppCores/src/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -Makefile diff --git a/xpfe/AppCores/src/Makefile.in b/xpfe/AppCores/src/Makefile.in deleted file mode 100644 index fc38ee55aa8b..000000000000 --- a/xpfe/AppCores/src/Makefile.in +++ /dev/null @@ -1,56 +0,0 @@ -# -# The contents of this file are subject to the Netscape Public -# License Version 1.1 (the "License"); you may not use this file -# except in compliance with the License. You may obtain a copy of -# the License at http://www.mozilla.org/NPL/ -# -# Software distributed under the License is distributed on an "AS -# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or -# implied. See the License for the specific language governing -# rights and limitations under the License. -# -# The Original Code is mozilla.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): -# - -DEPTH = ../../.. -topsrcdir = @top_srcdir@ -srcdir = @srcdir@ -VPATH = @srcdir@ - -include $(DEPTH)/config/autoconf.mk - -MODULE = raptor -LIBRARY_NAME = appcores - -REQUIRES = txtsvc - -CPPSRCS = \ - nsBaseAppCore.cpp \ - nsAppCoresNameSet.cpp \ - nsToolkitCore.cpp \ - nsToolkitCoreFactory.cpp \ - nsAppCoresManager.cpp \ - nsAppCoresManagerFactory.cpp \ - nsJSBaseAppCore.cpp \ - nsJSAppCoresManager.cpp \ - nsJSToolkitCore.cpp \ - nsAppCores.cpp \ - $(NULL) - -EXTRA_DSO_LDOPTS += \ - -L$(DIST)/bin \ - $(MOZ_COMPONENT_LIBS) \ - -lmozjs \ - -ljsdom \ - $(NULL) - - -include $(topsrcdir)/config/rules.mk - diff --git a/xpfe/AppCores/src/makefile.win b/xpfe/AppCores/src/makefile.win deleted file mode 100644 index d098f6d1c424..000000000000 --- a/xpfe/AppCores/src/makefile.win +++ /dev/null @@ -1,250 +0,0 @@ -#!gmake -# -# 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): - - -DEPTH=..\..\.. -include <$(DEPTH)/config/config.mak> - - - -MAKE_OBJ_TYPE = DLL -MODULE=appcores - -DLL=.\$(OBJDIR)\$(MODULE).dll - -DEFINES=-D_IMPL_NS_DOM -DWIN32_LEAN_AND_MEAN - -LCFLAGS = \ - $(LCFLAGS) \ - $(DEFINES) \ - $(NULL) - - -LINCS= \ - -I$(XPDIST)\public\browser \ - -I$(XPDIST)\public\txtsvc \ - -I$(XPDIST)\public\js \ -!ifdef NECKO - -I$(XPDIST)\public\necko \ -!else - -I$(XPDIST)\public\netlib \ -!endif - -I$(XPDIST)\public\network \ - -I$(XPDIST)\public\dom \ - -I$(XPDIST)\public\xpcom \ - -I$(XPDIST)\public\util \ - -I$(XPDIST)\public\nspr2 \ - -I$(XPDIST)\public\pref \ - -I$(XPDIST)\public\profile \ - -I$(XPDIST)\public\raptor \ - -I$(XPDIST)\public\appcores \ - -I$(XPDIST)\public\xpfe\components \ - -I$(XPDIST)\public\rdf \ - -I$(XPDIST)\public\wallet \ - $(NULL) - -LLIBS = \ - $(DIST)\lib\xpcom.lib \ - $(DIST)\lib\xppref32.lib \ - $(DIST)\lib\js3250.lib \ - $(DIST)\lib\jsdombase_s.lib \ - $(DIST)\lib\jsdomevents_s.lib \ - $(DIST)\lib\gkgfxwin.lib \ - $(DIST)\lib\gkwidget.lib \ - $(LIBNSPR) \ - $(NULL) - -OBJS = \ - .\$(OBJDIR)\nsBaseAppCore.obj \ - .\$(OBJDIR)\nsAppCoresNameSet.obj \ - .\$(OBJDIR)\nsToolkitCore.obj \ - .\$(OBJDIR)\nsToolkitCoreFactory.obj \ - .\$(OBJDIR)\nsAppCoresManager.obj \ - .\$(OBJDIR)\nsAppCoresManagerFactory.obj \ - .\$(OBJDIR)\nsJSBaseAppCore.obj \ - .\$(OBJDIR)\nsJSAppCoresManager.obj \ - .\$(OBJDIR)\nsJSToolkitCore.obj \ - .\$(OBJDIR)\nsAppCores.obj \ - $(NULL) - -include <$(DEPTH)\config\rules.mak> - -install:: $(DLL) - $(MAKE_INSTALL) $(DLL) $(DIST)\bin - $(MAKE_INSTALL) .\$(OBJDIR)\$(MODULE).lib $(DIST)\lib - - $(MAKE_INSTALL) ..\xul\resources\Mail_SendMsg.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\Mail_GetMsg.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\Mail_Reply.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\Mail_NewMsg.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\Mail_Forward.gif $(DIST)\bin\res\toolbar - - $(MAKE_INSTALL) ..\xul\resources\DialogAddrIcon.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\DialogAddrIcon_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\DialogCompIcon.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\DialogCompIcon_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\DialogMailIcon.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\DialogMailIcon_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\DialogNavIcon.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\DialogNavIcon_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Back.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Back_dis.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Back_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Bookmarks.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Bookmarks_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Edit.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Forward.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Forward_dis.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Forward_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Home.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Home_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_HTab.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_HTab_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_LoadImages.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Location.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Location_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_MiniAddr.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_MiniComp.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_MiniMail.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_MiniNav.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_MiniTab.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_MixSecurity.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Netscape.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Netscape_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_PersonalIcon.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Places.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Places_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_popup.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Print.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Print_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Reload.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Reload_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Search.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Search_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Secure.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Secure_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Stop.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Stop_dis.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Stop_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Tab.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_TabSmall.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_TabSmall_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Tab_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_Unsecure.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_WhatsRelated.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_WhatsRelated_mo.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\StatusBar-insecure.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\StatusBar-secure.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_NewBack.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_NewForward.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_NewReload.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_NewStop.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_NewHome.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\TB_NewPrint.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\grippy-horizontal-before.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\grippy-horizontal-after.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\grippy-vertical-before.gif $(DIST)\bin\res\toolbar - $(MAKE_INSTALL) ..\xul\resources\grippy-vertical-after.gif $(DIST)\bin\res\toolbar - - $(MAKE_INSTALL) ..\xul\resources\throbbingN.gif $(DIST)\bin\res\throbber - -clobber:: - rm -f $(DIST)\lib\$(MODULE).lib - rm -f $(DIST)\bin\$(MODULE).dll - rm -f $(DIST)\bin\res\samples\MailAppShell.html - rm -f $(DIST)\bin\res\samples\MailAppShellNoTB.html - rm -f $(DIST)\bin\res\samples\MailFrame.html - rm -f $(DIST)\bin\res\samples\MailToolbar.xml - rm -f $(DIST)\bin\res\toolbar\Mail_SendMsg.gif - rm -f $(DIST)\bin\res\toolbar\Mail_GetMsg.gif - rm -f $(DIST)\bin\res\toolbar\Mail_Reply.gif - rm -f $(DIST)\bin\res\toolbar\Mail_NewMsg.gif - rm -f $(DIST)\bin\res\toolbar\Mail_Forward.gif - - rm -f $(DIST)\bin\res\samples\DialogAddrIcon.gif - rm -f $(DIST)\bin\res\samples\DialogAddrIcon_mo.gif - rm -f $(DIST)\bin\res\samples\DialogCompIcon.gif - rm -f $(DIST)\bin\res\samples\DialogCompIcon_mo.gif - rm -f $(DIST)\bin\res\samples\DialogMailIcon.gif - rm -f $(DIST)\bin\res\samples\DialogMailIcon_mo.gif - rm -f $(DIST)\bin\res\samples\DialogNavIcon.gif - rm -f $(DIST)\bin\res\samples\DialogNavIcon_mo.gif - rm -f $(DIST)\bin\res\samples\TB_Back.gif - rm -f $(DIST)\bin\res\samples\TB_Back_dis.gif - rm -f $(DIST)\bin\res\samples\TB_Back_mo.gif - rm -f $(DIST)\bin\res\samples\TB_Bookmarks.gif - rm -f $(DIST)\bin\res\samples\TB_Bookmarks_mo.gif - rm -f $(DIST)\bin\res\samples\TB_Edit.gif - rm -f $(DIST)\bin\res\samples\TB_Forward.gif - rm -f $(DIST)\bin\res\samples\TB_Forward_dis.gif - rm -f $(DIST)\bin\res\samples\TB_Forward_mo.gif - rm -f $(DIST)\bin\res\samples\TB_Home.gif - rm -f $(DIST)\bin\res\samples\TB_Home_mo.gif - rm -f $(DIST)\bin\res\samples\TB_HTab.gif - rm -f $(DIST)\bin\res\samples\TB_HTab_mo.gif - rm -f $(DIST)\bin\res\samples\TB_LoadImages.gif - rm -f $(DIST)\bin\res\samples\TB_Location.gif - rm -f $(DIST)\bin\res\samples\TB_Location_mo.gif - rm -f $(DIST)\bin\res\samples\TB_MiniAddr.gif - rm -f $(DIST)\bin\res\samples\TB_MiniComp.gif - rm -f $(DIST)\bin\res\samples\TB_MiniMail.gif - rm -f $(DIST)\bin\res\samples\TB_MiniNav.gif - rm -f $(DIST)\bin\res\samples\TB_MiniTab.gif - rm -f $(DIST)\bin\res\samples\TB_MixSecurity.gif - rm -f $(DIST)\bin\res\samples\TB_Netscape.gif - rm -f $(DIST)\bin\res\samples\TB_Netscape_mo.gif - rm -f $(DIST)\bin\res\samples\TB_PersonalIcon.gif - rm -f $(DIST)\bin\res\samples\TB_Places.gif - rm -f $(DIST)\bin\res\samples\TB_Places_mo.gif - rm -f $(DIST)\bin\res\samples\TB_popup.gif - rm -f $(DIST)\bin\res\samples\TB_Print.gif - rm -f $(DIST)\bin\res\samples\TB_Print_mo.gif - rm -f $(DIST)\bin\res\samples\TB_Reload.gif - rm -f $(DIST)\bin\res\samples\TB_Reload_mo.gif - rm -f $(DIST)\bin\res\samples\TB_Search.gif - rm -f $(DIST)\bin\res\samples\TB_Search_mo.gif - rm -f $(DIST)\bin\res\samples\TB_Secure.gif - rm -f $(DIST)\bin\res\samples\TB_Secure_mo.gif - rm -f $(DIST)\bin\res\samples\TB_Stop.gif - rm -f $(DIST)\bin\res\samples\TB_Stop_dis.gif - rm -f $(DIST)\bin\res\samples\TB_Stop_mo.gif - rm -f $(DIST)\bin\res\samples\TB_Tab.gif - rm -f $(DIST)\bin\res\samples\TB_TabSmall.gif - rm -f $(DIST)\bin\res\samples\TB_TabSmall_mo.gif - rm -f $(DIST)\bin\res\samples\TB_Tab_mo.gif - rm -f $(DIST)\bin\res\samples\TB_Unsecure.gif - rm -f $(DIST)\bin\res\samples\TB_WhatsRelated.gif - rm -f $(DIST)\bin\res\samples\TB_WhatsRelated_mo.gif - rm -f $(DIST)\bin\res\samples\StatusBar-insecure.gif - rm -f $(DIST)\bin\res\samples\StatusBar-secure.gif - rm -f $(DIST)\bin\res\samples\TB_NewBack.gif - rm -f $(DIST)\bin\res\samples\TB_NewForward.gif - rm -f $(DIST)\bin\res\samples\TB_NewReload.gif - rm -f $(DIST)\bin\res\samples\TB_NewStop.gif - rm -f $(DIST)\bin\res\samples\TB_NewHome.gif - rm -f $(DIST)\bin\res\samples\TB_NewPrint.gif - rm -f $(DIST)\bin\res\toolbar\grippy-horizontal-before.gif - rm -f $(DIST)\bin\res\toolbar\grippy-horizontal-after.gif - rm -f $(DIST)\bin\res\toolbar\grippy-vertical-before.gif - rm -f $(DIST)\bin\res\toolbar\grippy-vertical-after.gif - - rm -f $(DIST)\bin\res\throbber\throbbingN.gif - diff --git a/xpfe/AppCores/src/nsAppCores.cpp b/xpfe/AppCores/src/nsAppCores.cpp deleted file mode 100644 index 3e52f5f40d87..000000000000 --- a/xpfe/AppCores/src/nsAppCores.cpp +++ /dev/null @@ -1,138 +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 Communicator client 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): - */ - -#include - -#include "nsAppCoresCIDs.h" -#include "nsAppCoresManagerFactory.h" -#include "nsToolkitCoreFactory.h" -#include "nsIFactory.h" -#include "nsIComponentManager.h" -#include "pratom.h" -#include "nsIServiceManager.h" - -static PRInt32 gLockCnt = 0; -static PRInt32 gInstanceCnt = 0; - -static NS_DEFINE_CID(kComponentManagerCID, NS_COMPONENTMANAGER_CID); -static NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID); -static NS_DEFINE_IID(kToolkitCoreCID, NS_TOOLKITCORE_CID); -static NS_DEFINE_IID(kAppCoresManagerCID, NS_APPCORESMANAGER_CID); - - -//////////////////////////////////////////////////////////////////////////////// -// DLL Entry Points: -//////////////////////////////////////////////////////////////////////////////// - -extern "C" NS_EXPORT PRBool -NSCanUnload(nsISupports* serviceMgr) -{ - return PRBool (gInstanceCnt == 0 && gLockCnt == 0); -} - -extern "C" NS_EXPORT nsresult -NSRegisterSelf(nsISupports* serviceMgr, const char *path) -{ - printf("*** AppCores object is being registered\n"); - nsComponentManager::RegisterComponent(kAppCoresManagerCID, NULL, NULL, path, PR_TRUE, PR_TRUE); - nsComponentManager::RegisterComponent(kToolkitCoreCID, NULL, NULL, path, PR_TRUE, PR_TRUE); - - return NS_OK; -} - -extern "C" NS_EXPORT nsresult -NSUnregisterSelf(nsISupports* serviceMgr, const char *path) -{ - printf("*** AppCores object is being unregistered\n"); - - nsComponentManager::UnregisterComponent(kAppCoresManagerCID, path); - nsComponentManager::UnregisterComponent(kToolkitCoreCID, path); - - return NS_OK; -} - - - -extern "C" NS_EXPORT nsresult -NSGetFactory(nsISupports* serviceMgr, - const nsCID &aClass, - const char *aClassName, - const char *aProgID, - nsIFactory **aFactory) -{ - - if (aFactory == NULL) - { - return NS_ERROR_NULL_POINTER; - } - - *aFactory = NULL; - nsISupports *inst; - if ( aClass.Equals(kAppCoresManagerCID) ) - { - inst = new nsAppCoresManagerFactory(); - } - else if ( aClass.Equals(kToolkitCoreCID) ) - { - inst = new nsToolkitCoreFactory(); - } - else - { - return NS_ERROR_ILLEGAL_VALUE; - } - - - if (inst == NULL) - { - return NS_ERROR_OUT_OF_MEMORY; - } - - - NS_ADDREF(inst); // Stabilize - - nsresult res = inst->QueryInterface(kIFactoryIID, (void**) aFactory); - - NS_RELEASE(inst); // Destabilize and avoid leaks. Avoid calling delete - - return res; - -} - -extern "C" void -IncInstanceCount(){ - PR_AtomicIncrement(&gInstanceCnt); -} - -extern "C" void -IncLockCount(){ - PR_AtomicIncrement(&gLockCnt); -} - -extern "C" void -DecInstanceCount(){ - PR_AtomicDecrement(&gInstanceCnt); -} - -extern "C" void -DecLockCount(){ - PR_AtomicDecrement(&gLockCnt); -} diff --git a/xpfe/AppCores/src/nsAppCores.h b/xpfe/AppCores/src/nsAppCores.h deleted file mode 100644 index ddd133f94bfc..000000000000 --- a/xpfe/AppCores/src/nsAppCores.h +++ /dev/null @@ -1,57 +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): - */ -#ifndef nsAppCores_h___ -#define nsAppCores_h___ - -#include "nsISupports.h" -#include "nsIFactory.h" -#include "nscore.h" -#include "prio.h" - -//////////////////////////////////////////////////////////////////////////////// -// DLL Entry Points: -//////////////////////////////////////////////////////////////////////////////// - -extern "C" void -IncInstanceCount(); - -extern "C" void -IncLockCount(); - -extern "C" void -DecInstanceCount(); - -extern "C" void -DecLockCount(); - - - - - - - - - - - - -#endif diff --git a/xpfe/AppCores/src/nsAppCoresManager.cpp b/xpfe/AppCores/src/nsAppCoresManager.cpp deleted file mode 100644 index df4b39706a91..000000000000 --- a/xpfe/AppCores/src/nsAppCoresManager.cpp +++ /dev/null @@ -1,295 +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 Communicator client 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): - */ - -#include "nsAppCoresManager.h" - -#include "nsAppCoresCIDs.h" -#include "nsAppCores.h" -#include "nsAppCoresNameSet.h" -#include "nsIDOMBaseAppCore.h" - -#include "nscore.h" -#include "nsIFactory.h" -#include "nsISupports.h" - -#include "nsIComponentManager.h" - -#include "nsIScriptObjectOwner.h" -#include "nsIScriptGlobalObject.h" - -#include "pratom.h" -#include "prmem.h" -#include "prio.h" -#include "prefapi.h" - -#include "nsIURL.h" -#include "nsIInputStream.h" -#include "nsIStreamListener.h" - -#include "nsIDOMAppCoresManager.h" - -/* For Javascript Namespace Access */ -#include "nsDOMCID.h" -#include "nsIServiceManager.h" -#include "nsINameSpaceManager.h" -#include "nsIScriptNameSetRegistry.h" -#include "nsIScriptNameSpaceManager.h" -#include "nsIScriptExternalNameSet.h" - -#include "nsITimer.h" -#include "nsITimerCallback.h" - -#include "nsIBrowserWindow.h" - -// Globals - -static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID); -static NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID); -static NS_DEFINE_IID(kIScriptObjectOwnerIID, NS_ISCRIPTOBJECTOWNER_IID); - -static NS_DEFINE_IID(kIScriptNameSetRegistryIID, NS_ISCRIPTNAMESETREGISTRY_IID); -static NS_DEFINE_IID(kCScriptNameSetRegistryCID, NS_SCRIPT_NAMESET_REGISTRY_CID); -static NS_DEFINE_IID(kIScriptExternalNameSetIID, NS_ISCRIPTEXTERNALNAMESET_IID); - -static NS_DEFINE_IID(kIStreamListenerIID, NS_ISTREAMLISTENER_IID); - -static NS_DEFINE_IID(kBrowserWindowCID, NS_BROWSER_WINDOW_CID); -static NS_DEFINE_IID(kIBrowserWindowIID, NS_IBROWSER_WINDOW_IID); - -static NS_DEFINE_IID(kIAppCoresManagerIID, NS_IDOMAPPCORESMANAGER_IID); -static NS_DEFINE_IID(kAppCoresManagerCID, NS_APPCORESMANAGER_CID); -static NS_DEFINE_IID(kAppCoresFactoryCID, NS_APPCORESFACTORY_CID); - - -///////////////////////////////////////////////////////////////////////// -// nsAppCoresManager -///////////////////////////////////////////////////////////////////////// - -nsVoidArray nsAppCoresManager::mList; - -nsAppCoresManager::nsAppCoresManager() -{ - mScriptObject = nsnull; - - IncInstanceCount(); - NS_INIT_REFCNT(); -} - - -//-------------------------------------------------------- -nsAppCoresManager::~nsAppCoresManager() -{ - DecInstanceCount(); -} - - -NS_IMPL_ADDREF(nsAppCoresManager) -NS_IMPL_RELEASE(nsAppCoresManager) - - - -//-------------------------------------------------------- -NS_IMETHODIMP -nsAppCoresManager::QueryInterface(REFNSIID aIID,void** aInstancePtr) -{ - if (aInstancePtr == NULL) { - return NS_ERROR_NULL_POINTER; - } - - // Always NULL result, in case of failure - *aInstancePtr = NULL; - - - if ( aIID.Equals(kIAppCoresManagerIID) ) { - nsIDOMAppCoresManager* tmp = this; - *aInstancePtr = (void*)tmp; - AddRef(); - return NS_OK; - } - else if ( aIID.Equals(kIScriptObjectOwnerIID)) { - nsIScriptObjectOwner* tmp = this; - *aInstancePtr = (void*)tmp; - AddRef(); - return NS_OK; - } - else if ( aIID.Equals(kISupportsIID) ) { - nsIDOMAppCoresManager* tmp1 = this; - nsISupports* tmp2 = tmp1; - - *aInstancePtr = (void*)tmp2; - AddRef(); - return NS_OK; - } - - return NS_NOINTERFACE; -} - - -//-------------------------------------------------------- -NS_IMETHODIMP -nsAppCoresManager::GetScriptObject(nsIScriptContext *aContext, void** aScriptObject) -{ - nsresult res = NS_OK; - - if (nsnull == mScriptObject) { - nsIScriptGlobalObject *global = aContext->GetGlobalObject(); - res = NS_NewScriptAppCoresManager(aContext, (nsISupports *)(nsIDOMAppCoresManager*)this, global, (void**)&mScriptObject); - NS_IF_RELEASE(global); - } - - - *aScriptObject = mScriptObject; - return res; -} - -//-------------------------------------------------------- -NS_IMETHODIMP -nsAppCoresManager::SetScriptObject(void *aScriptObject) -{ - mScriptObject = aScriptObject; - return NS_OK; -} - -//-------------------------------------------------------- -NS_IMETHODIMP -nsAppCoresManager::Startup() -{ - /***************************************/ - /* Add us to the Javascript Name Space */ - /***************************************/ - - nsIScriptNameSetRegistry *registry; - nsresult result = nsServiceManager::GetService(kCScriptNameSetRegistryCID, - kIScriptNameSetRegistryIID, - (nsISupports **)®istry); - if (NS_OK == result) { - nsAppCoresNameSet* nameSet = new nsAppCoresNameSet(); - registry->AddExternalNameSet(nameSet); - /* FIX - do we need to release this service? When we do, it get deleted,and our name is lost. */ - } - - return result; -} - -/* -static PRBool CleanUp(void* aElement, void *aData) -{ - nsIDOMBaseAppCore * appCore = (nsIDOMBaseAppCore *)aElement; - NS_RELEASE(appCore); - return PR_TRUE; -} -*/ - -//-------------------------------------------------------- -NS_IMETHODIMP -nsAppCoresManager::Shutdown() -{ - // this won't work, because elements are still in the list when they get - // released, and ~nsBaseAppCore tries again to remove them, with bad - // results. - //mList.EnumerateForwards(CleanUp, nsnull); - - void* thisElement; - while ((thisElement = mList.ElementAt(0)) != nsnull) - { - nsIDOMBaseAppCore* thisAppCore = NS_REINTERPRET_CAST(nsIDOMBaseAppCore*, thisElement); - Remove(thisAppCore); - } - - return NS_OK; -} - -//-------------------------------------------------------- -NS_IMETHODIMP -nsAppCoresManager::Add(nsIDOMBaseAppCore* aAppCore) -{ - - if (aAppCore == NULL) - return NS_ERROR_FAILURE; - - /* Check to see if we already have this task in our list */ - nsString nodeIDString; - nsString addIDString; - - aAppCore->GetId(addIDString); - - PRInt32 i; - for (i=0;iGetId(nodeIDString); - - if (nodeIDString == addIDString) { - /*we already have this ID in our list, ignore */ - return NS_ERROR_FAILURE; - } - } - - aAppCore->AddRef(); - mList.AppendElement(aAppCore); - - return NS_OK; -} - -//-------------------------------------------------------- -NS_IMETHODIMP -nsAppCoresManager::Remove(nsIDOMBaseAppCore* aAppCore) -{ - // this is fucked up. If you want addreffing, why not use - // an nsISupports array? if you don't, why did you addref - // in the Add()? So I'm gonna fix this to Release here. - if (mList.RemoveElement(aAppCore)) - { - aAppCore->Release(); - return NS_OK; - } - - return NS_ERROR_FAILURE; -} - - - -NS_IMETHODIMP -nsAppCoresManager::Find(const nsString& aId, nsIDOMBaseAppCore** aReturn) -{ - *aReturn=nsnull; - - nsString nodeIDString; - - PRInt32 i; - for (i=0;iGetId(nodeIDString); - if (nodeIDString == aId) { - NS_ADDREF(appCore); - *aReturn = appCore; - return NS_OK; - } - } - - return NS_OK; -} - - - - - - diff --git a/xpfe/AppCores/src/nsAppCoresManager.h b/xpfe/AppCores/src/nsAppCoresManager.h deleted file mode 100644 index 7960256dbd1f..000000000000 --- a/xpfe/AppCores/src/nsAppCoresManager.h +++ /dev/null @@ -1,68 +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): - */ -#ifndef nsAppCoresManager_h___ -#define nsAppCoresManager_h___ - -#include "nscore.h" -#include "nsString.h" -#include "nsISupports.h" -#include "nsIScriptObjectOwner.h" -#include "nsIDOMAppCoresManager.h" -#include "prio.h" -#include "nsVoidArray.h" - -class nsIScriptContext; -class nsIDOMBaseAppCore; - -//////////////////////////////////////////////////////////////////////////////// -// nsAppCoresManager: -//////////////////////////////////////////////////////////////////////////////// -class nsAppCoresManager : public nsIScriptObjectOwner, public nsIDOMAppCoresManager -{ - public: - - nsAppCoresManager(); - virtual ~nsAppCoresManager(); - - NS_DECL_ISUPPORTS - - NS_IMETHOD GetScriptObject(nsIScriptContext *aContext, void** aScriptObject); - NS_IMETHOD SetScriptObject(void* aScriptObject); - - NS_IMETHOD Startup(); - - NS_IMETHOD Shutdown(); - - NS_IMETHOD Add(nsIDOMBaseAppCore* aAppcore); - - NS_IMETHOD Remove(nsIDOMBaseAppCore* aAppcore); - - NS_IMETHOD Find(const nsString& aId, nsIDOMBaseAppCore** aReturn); - - private: - void *mScriptObject; - static nsVoidArray mList; - - -}; - -#endif // nsAppCoresManager_h___ diff --git a/xpfe/AppCores/src/nsAppCoresManagerFactory.cpp b/xpfe/AppCores/src/nsAppCoresManagerFactory.cpp deleted file mode 100644 index 8c927fffdb5f..000000000000 --- a/xpfe/AppCores/src/nsAppCoresManagerFactory.cpp +++ /dev/null @@ -1,117 +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 Communicator client 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): - */ - -#include "nsAppCoresManagerFactory.h" -#include "nsAppCoresManager.h" -#include "nsAppCores.h" -#include "pratom.h" - -static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID); -static NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID); - -///////////////////////////////////////////////////////////////////////// -// nsAppCoresImplFactory -///////////////////////////////////////////////////////////////////////// - -nsAppCoresManagerFactory::nsAppCoresManagerFactory(void) -{ - mRefCnt=0; - IncInstanceCount(); -} - -nsAppCoresManagerFactory::~nsAppCoresManagerFactory(void) -{ - IncInstanceCount(); -} - - - -NS_IMETHODIMP -nsAppCoresManagerFactory::QueryInterface(REFNSIID aIID,void** aInstancePtr) -{ - if (aInstancePtr == NULL) - { - return NS_ERROR_NULL_POINTER; - } - - // Always NULL result, in case of failure - *aInstancePtr = NULL; - - if ( aIID.Equals(kISupportsIID) ) - { - *aInstancePtr = (void*) this; - } - else if ( aIID.Equals(kIFactoryIID) ) - { - *aInstancePtr = (void*) this; - } - - if (aInstancePtr == NULL) - { - return NS_ERROR_NO_INTERFACE; - } - - AddRef(); - return NS_OK; -} - - - -NS_IMPL_ADDREF(nsAppCoresManagerFactory) -NS_IMPL_RELEASE(nsAppCoresManagerFactory) - - -NS_IMETHODIMP -nsAppCoresManagerFactory::CreateInstance(nsISupports *aOuter, REFNSIID aIID, void **aResult) -{ - if (aResult == NULL) - { - return NS_ERROR_NULL_POINTER; - } - - *aResult = NULL; - - /* do I have to use iSupports? */ - nsAppCoresManager *inst = new nsAppCoresManager(); - - if (inst == NULL) - return NS_ERROR_OUT_OF_MEMORY; - - nsresult result = inst->QueryInterface(aIID, aResult); - - if (result != NS_OK) - delete inst; - - return result; - -} - -NS_IMETHODIMP -nsAppCoresManagerFactory::LockFactory(PRBool aLock) -{ - if (aLock) - IncLockCount(); - else - DecLockCount(); - - return NS_OK; -} diff --git a/xpfe/AppCores/src/nsAppCoresManagerFactory.h b/xpfe/AppCores/src/nsAppCoresManagerFactory.h deleted file mode 100644 index dcf42e508b4f..000000000000 --- a/xpfe/AppCores/src/nsAppCoresManagerFactory.h +++ /dev/null @@ -1,51 +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): - */ -#ifndef nsAppCoresManagerFactory_h___ -#define nsAppCoresManagerFactory_h___ - -#include "nsIFactory.h" -#include "nsISupports.h" - -//////////////////////////////////////////////////////////////////////////////// -// nsAppCoresManagerFactory: -//////////////////////////////////////////////////////////////////////////////// - -class nsAppCoresManagerFactory : public nsIFactory -{ - public: - - nsAppCoresManagerFactory(); - virtual ~nsAppCoresManagerFactory(); - - PRBool CanUnload(void); - - NS_DECL_ISUPPORTS - - NS_IMETHOD CreateInstance(nsISupports *aOuter, - REFNSIID aIID, - void **aResult); - - NS_IMETHOD LockFactory(PRBool aLock); - -}; - -#endif // nsAppCoresManagerFactory_h___ diff --git a/xpfe/AppCores/src/nsAppCoresNameSet.cpp b/xpfe/AppCores/src/nsAppCoresNameSet.cpp deleted file mode 100644 index e6412dc4936f..000000000000 --- a/xpfe/AppCores/src/nsAppCoresNameSet.cpp +++ /dev/null @@ -1,93 +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 Communicator client 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): - */ - -//////////////////////////////////////////////////////////////////////////////// -// nsAppCoresNameSet -//////////////////////////////////////////////////////////////////////////////// -#include "nsAppCoresNameSet.h" -#include "nsIScriptContext.h" -#include "nsIScriptNameSpaceManager.h" -#include "nsIDOMAppCoresManager.h" -#include "nsIDOMToolkitCore.h" -#include "nsIDOMBrowserAppCore.h" -#include "nsAppCoresCIDs.h" - - -static NS_DEFINE_IID(kIScriptExternalNameSetIID, NS_ISCRIPTEXTERNALNAMESET_IID); -static NS_DEFINE_IID(kAppCoresCID, NS_APPCORESMANAGER_CID); -static NS_DEFINE_IID(kToolkitCoreCID, NS_TOOLKITCORE_CID); - -nsAppCoresNameSet::nsAppCoresNameSet() -{ - NS_INIT_REFCNT(); -} - -nsAppCoresNameSet::~nsAppCoresNameSet() -{ -} - -NS_IMPL_ISUPPORTS(nsAppCoresNameSet, kIScriptExternalNameSetIID); - - - - -NS_IMETHODIMP -nsAppCoresNameSet::InitializeClasses(nsIScriptContext* aScriptContext) -{ - nsresult result = NS_OK; - - result = NS_InitAppCoresManagerClass(aScriptContext, nsnull); - if (NS_OK != result) return result; - - result = NS_InitToolkitCoreClass(aScriptContext, nsnull); - - return result; -} - - - - -NS_IMETHODIMP -nsAppCoresNameSet::AddNameSet(nsIScriptContext* aScriptContext) -{ - nsresult result = NS_OK; - nsIScriptNameSpaceManager* manager; - - result = aScriptContext->GetNameSpaceManager(&manager); - if (NS_OK == result) - { - result = manager->RegisterGlobalName("ToolkitCore", - kToolkitCoreCID, - PR_TRUE); - - if (NS_OK != result) return result; - - result = manager->RegisterGlobalName("XPAppCoresManager", - kAppCoresCID, - PR_FALSE); - - NS_RELEASE(manager); - } - return result; -} - diff --git a/xpfe/AppCores/src/nsAppCoresNameSet.h b/xpfe/AppCores/src/nsAppCoresNameSet.h deleted file mode 100644 index 564805fe897f..000000000000 --- a/xpfe/AppCores/src/nsAppCoresNameSet.h +++ /dev/null @@ -1,45 +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): - */ -#ifndef nsAppCoresNameSet_h___ -#define nsAppCoresNameSet_h___ - -#include "nsISupports.h" -#include "nsIScriptExternalNameSet.h" - -class nsIScriptContext; - -//////////////////////////////////////////////////////////////////////////////// -// nsAppCoresNameSet: -//////////////////////////////////////////////////////////////////////////////// - -class nsAppCoresNameSet : public nsIScriptExternalNameSet -{ - public: - nsAppCoresNameSet(); - virtual ~nsAppCoresNameSet(); - - NS_DECL_ISUPPORTS - NS_IMETHOD InitializeClasses(nsIScriptContext* aScriptContext); - NS_IMETHOD AddNameSet(nsIScriptContext* aScriptContext); -}; - -#endif // nsAppCoresNameSet_h___ diff --git a/xpfe/AppCores/src/nsBaseAppCore.cpp b/xpfe/AppCores/src/nsBaseAppCore.cpp deleted file mode 100644 index 4dd17f683760..000000000000 --- a/xpfe/AppCores/src/nsBaseAppCore.cpp +++ /dev/null @@ -1,216 +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 Communicator client 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): - * Pierre Phaneuf - */ - -#include "nsBaseAppCore.h" -#include "nsAppCoresManager.h" -#include "nsIDOMDocument.h" -#include "nsIDOMNode.h" -#include "nsIDOMElement.h" -#include "nsIScriptContext.h" -#include "nsIScriptGlobalObject.h" -#include "nsIDOMWindow.h" -#include "nsIDocument.h" -#include "nsAppCoresCIDs.h" -#include "nsIServiceManager.h" - -// Globals -static NS_DEFINE_IID(kIScriptObjectOwnerIID, NS_ISCRIPTOBJECTOWNER_IID); -static NS_DEFINE_IID(kIDOMAppCoresManagerIID, NS_IDOMAPPCORESMANAGER_IID); -static NS_DEFINE_IID(kAppCoresManagerCID, NS_APPCORESMANAGER_CID); - -///////////////////////////////////////////////////////////////////////// -// nsBaseAppCore -///////////////////////////////////////////////////////////////////////// - -nsBaseAppCore::nsBaseAppCore() -: mScriptObject(nsnull) -{ - IncInstanceCount(); - NS_INIT_REFCNT(); -} - -nsBaseAppCore::~nsBaseAppCore() -{ - nsIDOMAppCoresManager * appCoreManager; - nsresult rv = nsServiceManager::GetService( - kAppCoresManagerCID, - kIDOMAppCoresManagerIID, - (nsISupports**)&appCoreManager); - if (NS_FAILED(rv)) - return; - - // because the appcores manager list holds references, we should - // never still be in the list now. So this will always fail. - appCoreManager->Remove((nsIDOMBaseAppCore *)this); - - nsServiceManager::ReleaseService(kAppCoresManagerCID, appCoreManager); - - DecInstanceCount(); -} - - -NS_IMPL_ADDREF(nsBaseAppCore) -NS_IMPL_RELEASE(nsBaseAppCore) - - -NS_IMETHODIMP -nsBaseAppCore::QueryInterface(REFNSIID aIID,void** aInstancePtr) -{ - if (aInstancePtr == NULL) { - return NS_ERROR_NULL_POINTER; - } - - // Always NULL result, in case of failure - *aInstancePtr = NULL; - - if ( aIID.Equals(kIScriptObjectOwnerIID)) { - *aInstancePtr = (void*) ((nsIScriptObjectOwner*)this); - AddRef(); - return NS_OK; - } - if ( aIID.Equals(NS_GET_IID(nsIDOMBaseAppCore))) { - *aInstancePtr = (void*) ((nsIDOMBaseAppCore*)this); - AddRef(); - return NS_OK; - } - else if ( aIID.Equals(NS_GET_IID(nsISupports)) ) { - *aInstancePtr = (void*)(nsISupports*)(nsIScriptObjectOwner*)this; - AddRef(); - return NS_OK; - } - - return NS_NOINTERFACE; -} - -NS_IMETHODIMP -nsBaseAppCore::SetScriptObject(void *aScriptObject) -{ - mScriptObject = aScriptObject; - return NS_OK; -} - -NS_IMETHODIMP -nsBaseAppCore::Init(const nsString& aId) -{ - mId = aId; - - // this used to be in the constructor of the base class, but - // nsIAppCoreManager::Add requires that the app core being added - // has a id. So we can't do it until the app core has been initialized - -#ifdef NS_DEBUG - printf("Adding app core to AppCoreManager in the base initialization.\n"); -#endif - nsIDOMAppCoresManager * appCoreManager; - nsresult rv = nsServiceManager::GetService( - kAppCoresManagerCID, - kIDOMAppCoresManagerIID, - (nsISupports**)&appCoreManager); - if (NS_FAILED(rv)) - return rv; - rv = appCoreManager->Add((nsIDOMBaseAppCore *)this); -#ifdef NS_DEBUG - if (NS_FAILED(rv)) - printf("...failed!\n"); -#endif - nsServiceManager::ReleaseService(kAppCoresManagerCID, appCoreManager); - return NS_OK; -} - -NS_IMETHODIMP -nsBaseAppCore::GetId(nsString& aId) -{ - aId = mId; - return NS_OK; -} - -NS_IMETHODIMP -nsBaseAppCore::SetDocumentCharset(const nsString& aCharset) -{ - return NS_OK; -} - -//---------------------------------------- -nsIScriptContext * -nsBaseAppCore::GetScriptContext(nsIDOMWindow * aWin) -{ - nsIScriptContext * scriptContext = nsnull; - if (nsnull != aWin) { - nsCOMPtr global(do_QueryInterface(aWin)); - if (!NS_WARN_IF_FALSE(global, "This should succeed")) { - global->GetContext(&scriptContext); - } - } - - return scriptContext; -} - -//---------------------------------------- -nsCOMPtr nsBaseAppCore::FindNamedDOMNode(const nsString &aName, nsIDOMNode * aParent, PRInt32 & aCount, PRInt32 aEndCount) -{ - nsCOMPtr node; - - if (nsnull == aParent) { - return node; - } - - aParent->GetFirstChild(getter_AddRefs(node)); - while (node) { - nsString name; - node->GetNodeName(name); - //printf("FindNamedDOMNode[%s] %d == %d\n", name.ToNewCString(), aCount, aEndCount); - if (name.Equals(aName)) { - aCount++; - if (aCount == aEndCount) - return node; - } - PRBool hasChildren; - node->HasChildNodes(&hasChildren); - if (hasChildren) { - nsCOMPtr found(FindNamedDOMNode(aName, node, aCount, aEndCount)); - if (found) - return found; - } - nsCOMPtr oldNode = node; - oldNode->GetNextSibling(getter_AddRefs(node)); - } - node = do_QueryInterface(nsnull); - return node; - -} // nsToolbarCore::FindNamedDOMNode - -//---------------------------------------- -nsCOMPtr nsBaseAppCore::GetParentNodeFromDOMDoc(nsIDOMDocument * aDOMDoc) -{ - nsCOMPtr node; // null - - if (nsnull == aDOMDoc) { - return node; - } - - nsCOMPtr element; - aDOMDoc->GetDocumentElement(getter_AddRefs(element)); - if (element) - return nsCOMPtr(do_QueryInterface(element)); - return node; -} // nsToolbarCore::GetParentNodeFromDOMDoc diff --git a/xpfe/AppCores/src/nsBaseAppCore.h b/xpfe/AppCores/src/nsBaseAppCore.h deleted file mode 100644 index d426c8e83262..000000000000 --- a/xpfe/AppCores/src/nsBaseAppCore.h +++ /dev/null @@ -1,73 +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): - */ -#ifndef nsBaseAppCore_h___ -#define nsBaseAppCore_h___ - -#include "nsAppCores.h" - -//#include "nscore.h" -#include "nsString.h" -#include "nsISupports.h" -#include "nsIScriptObjectOwner.h" -#include "nsIDOMBaseAppCore.h" -#include "nsCOMPtr.h" - -// Cannot forward declare a class used with an nsCOMPtr. -// see: http://www.mozilla.org/projects/xpcom/nsCOMPtr.html -// class nsIDOMNode; - -#include "nsIDOMNode.h" - -class nsIDOMDocument; -class nsIScriptContext; -class nsIDOMWindow; - -//////////////////////////////////////////////////////////////////////////////// -// nsBaseAppCore: -//////////////////////////////////////////////////////////////////////////////// - -class nsBaseAppCore : public nsIScriptObjectOwner, public nsIDOMBaseAppCore -{ - public: - - nsBaseAppCore(); - virtual ~nsBaseAppCore(); - - - NS_DECL_ISUPPORTS - //NS_IMETHOD GetScriptObject(nsIScriptContext *aContext, void** aScriptObject); - NS_IMETHOD SetScriptObject(void* aScriptObject); - - NS_IMETHOD Init(const nsString& aId); - NS_IMETHOD GetId(nsString& aId); - NS_IMETHOD SetDocumentCharset(const nsString& aCharset); - - protected: - nsCOMPtr FindNamedDOMNode(const nsString &aName, nsIDOMNode * aParent, PRInt32 & aCount, PRInt32 aEndCount); - nsCOMPtr GetParentNodeFromDOMDoc(nsIDOMDocument * aDOMDoc); - nsIScriptContext * GetScriptContext(nsIDOMWindow * aWin); - - nsString mId; /* User ID */ - void *mScriptObject; -}; - -#endif // nsBaseAppCore_h___ diff --git a/xpfe/AppCores/src/nsCookieCoreFactory.cpp b/xpfe/AppCores/src/nsCookieCoreFactory.cpp deleted file mode 100644 index 6390609dcee1..000000000000 --- a/xpfe/AppCores/src/nsCookieCoreFactory.cpp +++ /dev/null @@ -1,121 +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 Communicator client 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): - */ - -#include "nsCookieCoreFactory.h" - -#include "nsAppCores.h" -#include "nsCookieCore.h" -#include "pratom.h" -#include "nsISupportsUtils.h" - -static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID); -static NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID); - -//---------------------------------------------------------------------------------------- -nsCookieCoreFactory::nsCookieCoreFactory() -//---------------------------------------------------------------------------------------- -{ - NS_INIT_REFCNT(); - IncInstanceCount(); -} - -//---------------------------------------------------------------------------------------- -nsCookieCoreFactory::~nsCookieCoreFactory() -//---------------------------------------------------------------------------------------- -{ - DecInstanceCount(); -} - -NS_IMPL_ADDREF(nsCookieCoreFactory) -NS_IMPL_RELEASE(nsCookieCoreFactory) - -//---------------------------------------------------------------------------------------- -NS_IMETHODIMP nsCookieCoreFactory::QueryInterface(REFNSIID aIID,void** aInstancePtr) -//---------------------------------------------------------------------------------------- -{ - if (aInstancePtr == NULL) - return NS_ERROR_NULL_POINTER; - - // Always NULL result, in case of failure - *aInstancePtr = NULL; - - if ( aIID.Equals(kISupportsIID) ) - *aInstancePtr = (void*) this; - else if ( aIID.Equals(kIFactoryIID) ) - *aInstancePtr = (void*) this; - - if (aInstancePtr == NULL) - return NS_ERROR_NO_INTERFACE; - - AddRef(); - return NS_OK; -} // nsCookieCoreFactory::QueryInterface - -//---------------------------------------------------------------------------------------- -NS_IMETHODIMP nsCookieCoreFactory::CreateInstance( - nsISupports* aOuter, - REFNSIID aIID, - void **aResult) -//---------------------------------------------------------------------------------------- -{ - if (aResult == NULL) - return NS_ERROR_NULL_POINTER; - - *aResult = NULL; - -#if 0 - // There is a stupid bug that I don't feel competent to fix. Basically, the - // AppCore Manager is a waste of time (the manager gets created, an app core is - // added to the list, and then the app core manager is deleted, along with its list). - // I want to insist that - // there is always one instance of the Cookie app core. Hence this HACK. - static nsCookieCore* inst = nsnull; - PRBool firstTime = (inst == nsnull); - if (firstTime) - { - inst = new nsCookieCore(); - if (!inst) - return NS_ERROR_OUT_OF_MEMORY; - NS_ADDREF(inst); - } - nsresult result = inst->QueryInterface(aIID, aResult); - if (result != NS_OK && firstTime) - NS_RELEASE(inst); -#else - static nsCookieCore* inst = new nsCookieCore(); - if (!inst) - return NS_ERROR_OUT_OF_MEMORY; - nsresult result = inst->QueryInterface(aIID, aResult); -#endif - return result; -} // nsCookieCoreFactory::CreateInstance - -//---------------------------------------------------------------------------------------- -NS_IMETHODIMP nsCookieCoreFactory::LockFactory(PRBool aLock) -//---------------------------------------------------------------------------------------- -{ - if (aLock) - IncLockCount(); - else - DecLockCount(); - return NS_OK; -} // nsCookieCoreFactory::LockFactory diff --git a/xpfe/AppCores/src/nsCookieCoreFactory.h b/xpfe/AppCores/src/nsCookieCoreFactory.h deleted file mode 100644 index 3e93d6f3e605..000000000000 --- a/xpfe/AppCores/src/nsCookieCoreFactory.h +++ /dev/null @@ -1,51 +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): - */ -#ifndef nsCookieCoreFactory_h___ -#define nsCookieCoreFactory_h___ - -//#include "nscore.h" -//#include "nsString.h" -#include "nsIFactory.h" -#include "nsISupports.h" - -//======================================================================================== -class nsCookieCoreFactory : public nsIFactory -//======================================================================================== -{ - public: - - nsCookieCoreFactory(); - virtual ~nsCookieCoreFactory(); - - PRBool CanUnload(void); - - NS_DECL_ISUPPORTS - - NS_IMETHOD CreateInstance(nsISupports *aOuter, - REFNSIID aIID, - void **aResult); - - NS_IMETHOD LockFactory(PRBool aLock); - -}; - -#endif // nsCookieCoreFactory_h___ diff --git a/xpfe/AppCores/src/nsJSAppCoresManager.cpp b/xpfe/AppCores/src/nsJSAppCoresManager.cpp deleted file mode 100644 index d99b0efd132d..000000000000 --- a/xpfe/AppCores/src/nsJSAppCoresManager.cpp +++ /dev/null @@ -1,536 +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): - */ -/* AUTO-GENERATED. DO NOT EDIT!!! */ - -#include "jsapi.h" -#include "nsJSUtils.h" -#include "nsDOMError.h" -#include "nscore.h" -#include "nsIServiceManager.h" -#include "nsIScriptContext.h" -#include "nsIScriptSecurityManager.h" -#include "nsIJSScriptObject.h" -#include "nsIScriptObjectOwner.h" -#include "nsIScriptGlobalObject.h" -#include "nsCOMPtr.h" -#include "nsDOMPropEnums.h" -#include "nsString.h" -#include "nsIDOMAppCoresManager.h" -#include "nsIDOMBaseAppCore.h" - - -static NS_DEFINE_IID(kIScriptObjectOwnerIID, NS_ISCRIPTOBJECTOWNER_IID); -static NS_DEFINE_IID(kIJSScriptObjectIID, NS_IJSSCRIPTOBJECT_IID); -static NS_DEFINE_IID(kIScriptGlobalObjectIID, NS_ISCRIPTGLOBALOBJECT_IID); -static NS_DEFINE_IID(kIAppCoresManagerIID, NS_IDOMAPPCORESMANAGER_IID); -static NS_DEFINE_IID(kIBaseAppCoreIID, NS_IDOMBASEAPPCORE_IID); - - -/***********************************************************************/ -// -// AppCoresManager Properties Getter -// -PR_STATIC_CALLBACK(JSBool) -GetAppCoresManagerProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp) -{ - nsIDOMAppCoresManager *a = (nsIDOMAppCoresManager*)nsJSUtils::nsGetNativeThis(cx, obj); - - // If there's no private data, this must be the prototype, so ignore - if (nsnull == a) { - return JS_TRUE; - } - - if (JSVAL_IS_INT(id)) { - nsresult rv; - NS_WITH_SERVICE(nsIScriptSecurityManager, secMan, - NS_SCRIPTSECURITYMANAGER_PROGID, &rv); - if (NS_FAILED(rv)) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_SECMAN_ERR); - } - switch(JSVAL_TO_INT(id)) { - case 0: - default: - return nsJSUtils::nsCallJSScriptObjectGetProperty(a, cx, obj, id, vp); - } - } - else { - return nsJSUtils::nsCallJSScriptObjectGetProperty(a, cx, obj, id, vp); - } - - return PR_TRUE; -} - -/***********************************************************************/ -// -// AppCoresManager Properties Setter -// -PR_STATIC_CALLBACK(JSBool) -SetAppCoresManagerProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp) -{ - nsIDOMAppCoresManager *a = (nsIDOMAppCoresManager*)nsJSUtils::nsGetNativeThis(cx, obj); - - // If there's no private data, this must be the prototype, so ignore - if (nsnull == a) { - return JS_TRUE; - } - - if (JSVAL_IS_INT(id)) { - nsresult rv; - NS_WITH_SERVICE(nsIScriptSecurityManager, secMan, - NS_SCRIPTSECURITYMANAGER_PROGID, &rv); - if (NS_FAILED(rv)) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_SECMAN_ERR); - } - switch(JSVAL_TO_INT(id)) { - case 0: - default: - return nsJSUtils::nsCallJSScriptObjectSetProperty(a, cx, obj, id, vp); - } - } - else { - return nsJSUtils::nsCallJSScriptObjectSetProperty(a, cx, obj, id, vp); - } - - return PR_TRUE; -} - - -// -// AppCoresManager finalizer -// -PR_STATIC_CALLBACK(void) -FinalizeAppCoresManager(JSContext *cx, JSObject *obj) -{ - nsJSUtils::nsGenericFinalize(cx, obj); -} - - -// -// AppCoresManager enumerate -// -PR_STATIC_CALLBACK(JSBool) -EnumerateAppCoresManager(JSContext *cx, JSObject *obj) -{ - return nsJSUtils::nsGenericEnumerate(cx, obj); -} - - -// -// AppCoresManager resolve -// -PR_STATIC_CALLBACK(JSBool) -ResolveAppCoresManager(JSContext *cx, JSObject *obj, jsval id) -{ - return nsJSUtils::nsGenericResolve(cx, obj, id); -} - - -// -// Native method Startup -// -PR_STATIC_CALLBACK(JSBool) -AppCoresManagerStartup(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) -{ - nsIDOMAppCoresManager *nativeThis = (nsIDOMAppCoresManager*)nsJSUtils::nsGetNativeThis(cx, obj); - nsresult result = NS_OK; - // If there's no private data, this must be the prototype, so ignore - if (nsnull == nativeThis) { - return JS_TRUE; - } - - { - - *rval = JSVAL_NULL; - - { - nsresult rv; - NS_WITH_SERVICE(nsIScriptSecurityManager, secMan, - NS_SCRIPTSECURITYMANAGER_PROGID, &rv); - if (NS_SUCCEEDED(rv)) { - rv = secMan->CheckScriptAccess(cx, obj, NS_DOM_PROP_APPCORESMANAGER_STARTUP, PR_FALSE); - } - if (NS_FAILED(rv)) { - return nsJSUtils::nsReportError(cx, obj, rv); - } - } - - - result = nativeThis->Startup(); - if (NS_FAILED(result)) { - return nsJSUtils::nsReportError(cx, obj, result); - } - - *rval = JSVAL_VOID; - } - - return JS_TRUE; -} - - -// -// Native method Shutdown -// -PR_STATIC_CALLBACK(JSBool) -AppCoresManagerShutdown(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) -{ - nsIDOMAppCoresManager *nativeThis = (nsIDOMAppCoresManager*)nsJSUtils::nsGetNativeThis(cx, obj); - nsresult result = NS_OK; - // If there's no private data, this must be the prototype, so ignore - if (nsnull == nativeThis) { - return JS_TRUE; - } - - { - - *rval = JSVAL_NULL; - - { - nsresult rv; - NS_WITH_SERVICE(nsIScriptSecurityManager, secMan, - NS_SCRIPTSECURITYMANAGER_PROGID, &rv); - if (NS_SUCCEEDED(rv)) { - rv = secMan->CheckScriptAccess(cx, obj, NS_DOM_PROP_APPCORESMANAGER_SHUTDOWN, PR_FALSE); - } - if (NS_FAILED(rv)) { - return nsJSUtils::nsReportError(cx, obj, rv); - } - } - - - result = nativeThis->Shutdown(); - if (NS_FAILED(result)) { - return nsJSUtils::nsReportError(cx, obj, result); - } - - *rval = JSVAL_VOID; - } - - return JS_TRUE; -} - - -// -// Native method Add -// -PR_STATIC_CALLBACK(JSBool) -AppCoresManagerAdd(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) -{ - nsIDOMAppCoresManager *nativeThis = (nsIDOMAppCoresManager*)nsJSUtils::nsGetNativeThis(cx, obj); - nsresult result = NS_OK; - nsCOMPtr b0; - // If there's no private data, this must be the prototype, so ignore - if (nsnull == nativeThis) { - return JS_TRUE; - } - - { - - *rval = JSVAL_NULL; - - { - nsresult rv; - NS_WITH_SERVICE(nsIScriptSecurityManager, secMan, - NS_SCRIPTSECURITYMANAGER_PROGID, &rv); - if (NS_SUCCEEDED(rv)) { - rv = secMan->CheckScriptAccess(cx, obj, NS_DOM_PROP_APPCORESMANAGER_ADD, PR_FALSE); - } - if (NS_FAILED(rv)) { - return nsJSUtils::nsReportError(cx, obj, rv); - } - } - - if (argc < 1) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_TOO_FEW_PARAMETERS_ERR); - } - - if (JS_FALSE == nsJSUtils::nsConvertJSValToObject((nsISupports **)(void**)getter_AddRefs(b0), - kIBaseAppCoreIID, - "BaseAppCore", - cx, - argv[0])) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_NOT_OBJECT_ERR); - } - - result = nativeThis->Add(b0); - if (NS_FAILED(result)) { - return nsJSUtils::nsReportError(cx, obj, result); - } - - *rval = JSVAL_VOID; - } - - return JS_TRUE; -} - - -// -// Native method Remove -// -PR_STATIC_CALLBACK(JSBool) -AppCoresManagerRemove(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) -{ - nsIDOMAppCoresManager *nativeThis = (nsIDOMAppCoresManager*)nsJSUtils::nsGetNativeThis(cx, obj); - nsresult result = NS_OK; - nsCOMPtr b0; - // If there's no private data, this must be the prototype, so ignore - if (nsnull == nativeThis) { - return JS_TRUE; - } - - { - - *rval = JSVAL_NULL; - - { - nsresult rv; - NS_WITH_SERVICE(nsIScriptSecurityManager, secMan, - NS_SCRIPTSECURITYMANAGER_PROGID, &rv); - if (NS_SUCCEEDED(rv)) { - rv = secMan->CheckScriptAccess(cx, obj, NS_DOM_PROP_APPCORESMANAGER_REMOVE, PR_FALSE); - } - if (NS_FAILED(rv)) { - return nsJSUtils::nsReportError(cx, obj, rv); - } - } - - if (argc < 1) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_TOO_FEW_PARAMETERS_ERR); - } - - if (JS_FALSE == nsJSUtils::nsConvertJSValToObject((nsISupports **)(void**)getter_AddRefs(b0), - kIBaseAppCoreIID, - "BaseAppCore", - cx, - argv[0])) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_NOT_OBJECT_ERR); - } - - result = nativeThis->Remove(b0); - if (NS_FAILED(result)) { - return nsJSUtils::nsReportError(cx, obj, result); - } - - *rval = JSVAL_VOID; - } - - return JS_TRUE; -} - - -// -// Native method Find -// -PR_STATIC_CALLBACK(JSBool) -AppCoresManagerFind(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) -{ - nsIDOMAppCoresManager *nativeThis = (nsIDOMAppCoresManager*)nsJSUtils::nsGetNativeThis(cx, obj); - nsresult result = NS_OK; - nsIDOMBaseAppCore* nativeRet; - nsAutoString b0; - // If there's no private data, this must be the prototype, so ignore - if (nsnull == nativeThis) { - return JS_TRUE; - } - - { - - *rval = JSVAL_NULL; - - { - nsresult rv; - NS_WITH_SERVICE(nsIScriptSecurityManager, secMan, - NS_SCRIPTSECURITYMANAGER_PROGID, &rv); - if (NS_SUCCEEDED(rv)) { - rv = secMan->CheckScriptAccess(cx, obj, NS_DOM_PROP_APPCORESMANAGER_FIND, PR_FALSE); - } - if (NS_FAILED(rv)) { - return nsJSUtils::nsReportError(cx, obj, rv); - } - } - - if (argc < 1) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_TOO_FEW_PARAMETERS_ERR); - } - - nsJSUtils::nsConvertJSValToString(b0, cx, argv[0]); - - result = nativeThis->Find(b0, &nativeRet); - if (NS_FAILED(result)) { - return nsJSUtils::nsReportError(cx, obj, result); - } - - nsJSUtils::nsConvertObjectToJSVal(nativeRet, cx, obj, rval); - } - - return JS_TRUE; -} - - -/***********************************************************************/ -// -// class for AppCoresManager -// -JSClass AppCoresManagerClass = { - "AppCoresManager", - JSCLASS_HAS_PRIVATE | JSCLASS_PRIVATE_IS_NSISUPPORTS, - JS_PropertyStub, - JS_PropertyStub, - GetAppCoresManagerProperty, - SetAppCoresManagerProperty, - EnumerateAppCoresManager, - ResolveAppCoresManager, - JS_ConvertStub, - FinalizeAppCoresManager, - nsnull, - nsJSUtils::nsCheckAccess -}; - - -// -// AppCoresManager class properties -// -static JSPropertySpec AppCoresManagerProperties[] = -{ - {0} -}; - - -// -// AppCoresManager class methods -// -static JSFunctionSpec AppCoresManagerMethods[] = -{ - {"Startup", AppCoresManagerStartup, 0}, - {"Shutdown", AppCoresManagerShutdown, 0}, - {"Add", AppCoresManagerAdd, 1}, - {"Remove", AppCoresManagerRemove, 1}, - {"Find", AppCoresManagerFind, 1}, - {0} -}; - - -// -// AppCoresManager constructor -// -PR_STATIC_CALLBACK(JSBool) -AppCoresManager(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) -{ - return JS_FALSE; -} - - -// -// AppCoresManager class initialization -// -extern "C" NS_DOM nsresult NS_InitAppCoresManagerClass(nsIScriptContext *aContext, void **aPrototype) -{ - JSContext *jscontext = (JSContext *)aContext->GetNativeContext(); - JSObject *proto = nsnull; - JSObject *constructor = nsnull; - JSObject *parent_proto = nsnull; - JSObject *global = JS_GetGlobalObject(jscontext); - jsval vp; - - if ((PR_TRUE != JS_LookupProperty(jscontext, global, "AppCoresManager", &vp)) || - !JSVAL_IS_OBJECT(vp) || - ((constructor = JSVAL_TO_OBJECT(vp)) == nsnull) || - (PR_TRUE != JS_LookupProperty(jscontext, JSVAL_TO_OBJECT(vp), "prototype", &vp)) || - !JSVAL_IS_OBJECT(vp)) { - - proto = JS_InitClass(jscontext, // context - global, // global object - parent_proto, // parent proto - &AppCoresManagerClass, // JSClass - AppCoresManager, // JSNative ctor - 0, // ctor args - AppCoresManagerProperties, // proto props - AppCoresManagerMethods, // proto funcs - nsnull, // ctor props (static) - nsnull); // ctor funcs (static) - if (nsnull == proto) { - return NS_ERROR_FAILURE; - } - - } - else if ((nsnull != constructor) && JSVAL_IS_OBJECT(vp)) { - proto = JSVAL_TO_OBJECT(vp); - } - else { - return NS_ERROR_FAILURE; - } - - if (aPrototype) { - *aPrototype = proto; - } - return NS_OK; -} - - -// -// Method for creating a new AppCoresManager JavaScript object -// -extern "C" NS_DOM nsresult NS_NewScriptAppCoresManager(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn) -{ - NS_PRECONDITION(nsnull != aContext && nsnull != aSupports && nsnull != aReturn, "null argument to NS_NewScriptAppCoresManager"); - JSObject *proto; - JSObject *parent; - nsIScriptObjectOwner *owner; - JSContext *jscontext = (JSContext *)aContext->GetNativeContext(); - nsresult result = NS_OK; - nsIDOMAppCoresManager *aAppCoresManager; - - if (nsnull == aParent) { - parent = nsnull; - } - else if (NS_OK == aParent->QueryInterface(kIScriptObjectOwnerIID, (void**)&owner)) { - if (NS_OK != owner->GetScriptObject(aContext, (void **)&parent)) { - NS_RELEASE(owner); - return NS_ERROR_FAILURE; - } - NS_RELEASE(owner); - } - else { - return NS_ERROR_FAILURE; - } - - if (NS_OK != NS_InitAppCoresManagerClass(aContext, (void **)&proto)) { - return NS_ERROR_FAILURE; - } - - result = aSupports->QueryInterface(kIAppCoresManagerIID, (void **)&aAppCoresManager); - if (NS_OK != result) { - return result; - } - - // create a js object for this class - *aReturn = JS_NewObject(jscontext, &AppCoresManagerClass, proto, parent); - if (nsnull != *aReturn) { - // connect the native object to the js object - JS_SetPrivate(jscontext, (JSObject *)*aReturn, aAppCoresManager); - } - else { - NS_RELEASE(aAppCoresManager); - return NS_ERROR_FAILURE; - } - - return NS_OK; -} diff --git a/xpfe/AppCores/src/nsJSBaseAppCore.cpp b/xpfe/AppCores/src/nsJSBaseAppCore.cpp deleted file mode 100644 index e188bff0de04..000000000000 --- a/xpfe/AppCores/src/nsJSBaseAppCore.cpp +++ /dev/null @@ -1,467 +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): - */ -/* AUTO-GENERATED. DO NOT EDIT!!! */ - -#include "jsapi.h" -#include "nsJSUtils.h" -#include "nsDOMError.h" -#include "nscore.h" -#include "nsIServiceManager.h" -#include "nsIScriptContext.h" -#include "nsIScriptSecurityManager.h" -#include "nsIJSScriptObject.h" -#include "nsIScriptObjectOwner.h" -#include "nsIScriptGlobalObject.h" -#include "nsCOMPtr.h" -#include "nsDOMPropEnums.h" -#include "nsString.h" -#include "nsIDOMBaseAppCore.h" -#include "nsIScriptNameSpaceManager.h" -#include "nsIComponentManager.h" -#include "nsIJSNativeInitializer.h" -#include "nsDOMCID.h" - - -static NS_DEFINE_IID(kIScriptObjectOwnerIID, NS_ISCRIPTOBJECTOWNER_IID); -static NS_DEFINE_IID(kIJSScriptObjectIID, NS_IJSSCRIPTOBJECT_IID); -static NS_DEFINE_IID(kIScriptGlobalObjectIID, NS_ISCRIPTGLOBALOBJECT_IID); -static NS_DEFINE_IID(kIBaseAppCoreIID, NS_IDOMBASEAPPCORE_IID); - -// -// BaseAppCore property ids -// -enum BaseAppCore_slots { - BASEAPPCORE_ID = -1 -}; - -/***********************************************************************/ -// -// BaseAppCore Properties Getter -// -PR_STATIC_CALLBACK(JSBool) -GetBaseAppCoreProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp) -{ - nsIDOMBaseAppCore *a = (nsIDOMBaseAppCore*)nsJSUtils::nsGetNativeThis(cx, obj); - - // If there's no private data, this must be the prototype, so ignore - if (nsnull == a) { - return JS_TRUE; - } - - if (JSVAL_IS_INT(id)) { - nsresult rv; - NS_WITH_SERVICE(nsIScriptSecurityManager, secMan, - NS_SCRIPTSECURITYMANAGER_PROGID, &rv); - if (NS_FAILED(rv)) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_SECMAN_ERR); - } - switch(JSVAL_TO_INT(id)) { - case BASEAPPCORE_ID: - { - rv = secMan->CheckScriptAccess(cx, obj, NS_DOM_PROP_BASEAPPCORE_ID, PR_FALSE); - if (NS_FAILED(rv)) { - return nsJSUtils::nsReportError(cx, obj, rv); - } - nsAutoString prop; - nsresult result = NS_OK; - result = a->GetId(prop); - if (NS_SUCCEEDED(result)) { - nsJSUtils::nsConvertStringToJSVal(prop, cx, vp); - } - else { - return nsJSUtils::nsReportError(cx, obj, result); - } - break; - } - default: - return nsJSUtils::nsCallJSScriptObjectGetProperty(a, cx, obj, id, vp); - } - } - else { - return nsJSUtils::nsCallJSScriptObjectGetProperty(a, cx, obj, id, vp); - } - - return PR_TRUE; -} - -/***********************************************************************/ -// -// BaseAppCore Properties Setter -// -PR_STATIC_CALLBACK(JSBool) -SetBaseAppCoreProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp) -{ - nsIDOMBaseAppCore *a = (nsIDOMBaseAppCore*)nsJSUtils::nsGetNativeThis(cx, obj); - - // If there's no private data, this must be the prototype, so ignore - if (nsnull == a) { - return JS_TRUE; - } - - if (JSVAL_IS_INT(id)) { - nsresult rv; - NS_WITH_SERVICE(nsIScriptSecurityManager, secMan, - NS_SCRIPTSECURITYMANAGER_PROGID, &rv); - if (NS_FAILED(rv)) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_SECMAN_ERR); - } - switch(JSVAL_TO_INT(id)) { - case 0: - default: - return nsJSUtils::nsCallJSScriptObjectSetProperty(a, cx, obj, id, vp); - } - } - else { - return nsJSUtils::nsCallJSScriptObjectSetProperty(a, cx, obj, id, vp); - } - - return PR_TRUE; -} - - -// -// BaseAppCore finalizer -// -PR_STATIC_CALLBACK(void) -FinalizeBaseAppCore(JSContext *cx, JSObject *obj) -{ - nsJSUtils::nsGenericFinalize(cx, obj); -} - - -// -// BaseAppCore enumerate -// -PR_STATIC_CALLBACK(JSBool) -EnumerateBaseAppCore(JSContext *cx, JSObject *obj) -{ - return nsJSUtils::nsGenericEnumerate(cx, obj); -} - - -// -// BaseAppCore resolve -// -PR_STATIC_CALLBACK(JSBool) -ResolveBaseAppCore(JSContext *cx, JSObject *obj, jsval id) -{ - return nsJSUtils::nsGenericResolve(cx, obj, id); -} - - -// -// Native method Init -// -PR_STATIC_CALLBACK(JSBool) -BaseAppCoreInit(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) -{ - nsIDOMBaseAppCore *nativeThis = (nsIDOMBaseAppCore*)nsJSUtils::nsGetNativeThis(cx, obj); - nsresult result = NS_OK; - nsAutoString b0; - // If there's no private data, this must be the prototype, so ignore - if (nsnull == nativeThis) { - return JS_TRUE; - } - - { - - *rval = JSVAL_NULL; - - { - nsresult rv; - NS_WITH_SERVICE(nsIScriptSecurityManager, secMan, - NS_SCRIPTSECURITYMANAGER_PROGID, &rv); - if (NS_SUCCEEDED(rv)) { - rv = secMan->CheckScriptAccess(cx, obj, NS_DOM_PROP_BASEAPPCORE_INIT, PR_FALSE); - } - if (NS_FAILED(rv)) { - return nsJSUtils::nsReportError(cx, obj, rv); - } - } - - if (argc < 1) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_TOO_FEW_PARAMETERS_ERR); - } - - nsJSUtils::nsConvertJSValToString(b0, cx, argv[0]); - - result = nativeThis->Init(b0); - if (NS_FAILED(result)) { - return nsJSUtils::nsReportError(cx, obj, result); - } - - *rval = JSVAL_VOID; - } - - return JS_TRUE; -} - - -// -// Native method SetDocumentCharset -// -PR_STATIC_CALLBACK(JSBool) -BaseAppCoreSetDocumentCharset(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) -{ - nsIDOMBaseAppCore *nativeThis = (nsIDOMBaseAppCore*)nsJSUtils::nsGetNativeThis(cx, obj); - nsresult result = NS_OK; - nsAutoString b0; - // If there's no private data, this must be the prototype, so ignore - if (nsnull == nativeThis) { - return JS_TRUE; - } - - { - - *rval = JSVAL_NULL; - - { - nsresult rv; - NS_WITH_SERVICE(nsIScriptSecurityManager, secMan, - NS_SCRIPTSECURITYMANAGER_PROGID, &rv); - if (NS_SUCCEEDED(rv)) { - rv = secMan->CheckScriptAccess(cx, obj, NS_DOM_PROP_BASEAPPCORE_SETDOCUMENTCHARSET, PR_FALSE); - } - if (NS_FAILED(rv)) { - return nsJSUtils::nsReportError(cx, obj, rv); - } - } - - if (argc < 1) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_TOO_FEW_PARAMETERS_ERR); - } - - nsJSUtils::nsConvertJSValToString(b0, cx, argv[0]); - - result = nativeThis->SetDocumentCharset(b0); - if (NS_FAILED(result)) { - return nsJSUtils::nsReportError(cx, obj, result); - } - - *rval = JSVAL_VOID; - } - - return JS_TRUE; -} - - -/***********************************************************************/ -// -// class for BaseAppCore -// -JSClass BaseAppCoreClass = { - "BaseAppCore", - JSCLASS_HAS_PRIVATE | JSCLASS_PRIVATE_IS_NSISUPPORTS, - JS_PropertyStub, - JS_PropertyStub, - GetBaseAppCoreProperty, - SetBaseAppCoreProperty, - EnumerateBaseAppCore, - ResolveBaseAppCore, - JS_ConvertStub, - FinalizeBaseAppCore, - nsnull, - nsJSUtils::nsCheckAccess -}; - - -// -// BaseAppCore class properties -// -static JSPropertySpec BaseAppCoreProperties[] = -{ - {"id", BASEAPPCORE_ID, JSPROP_ENUMERATE | JSPROP_READONLY}, - {0} -}; - - -// -// BaseAppCore class methods -// -static JSFunctionSpec BaseAppCoreMethods[] = -{ - {"Init", BaseAppCoreInit, 1}, - {"SetDocumentCharset", BaseAppCoreSetDocumentCharset, 1}, - {0} -}; - - -// -// BaseAppCore constructor -// -PR_STATIC_CALLBACK(JSBool) -BaseAppCore(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) -{ - nsresult result; - nsIID classID; - nsIDOMBaseAppCore *nativeThis; - nsIScriptObjectOwner *owner = nsnull; - nsIJSNativeInitializer* initializer = nsnull; - - static NS_DEFINE_IID(kIDOMBaseAppCoreIID, NS_IDOMBASEAPPCORE_IID); - static NS_DEFINE_IID(kIJSNativeInitializerIID, NS_IJSNATIVEINITIALIZER_IID); - - nsCOMPtr scriptCX; - nsJSUtils::nsGetStaticScriptContext(cx, obj, getter_AddRefs(scriptCX)); - if (!scriptCX) { - return JS_FALSE; - } - - nsCOMPtr manager; - scriptCX->GetNameSpaceManager(getter_AddRefs(manager)); - if (!manager) { - return JS_FALSE; - } - - result = manager->LookupName("BaseAppCore", PR_TRUE, classID); - if (NS_OK != result) { - return JS_FALSE; - } - - result = nsComponentManager::CreateInstance(classID, - nsnull, - kIDOMBaseAppCoreIID, - (void **)&nativeThis); - if (NS_OK != result) { - return JS_FALSE; - } - - result = nativeThis->QueryInterface(kIJSNativeInitializerIID, (void **)&initializer); - if (NS_OK == result) { - result = initializer->Initialize(cx, obj, argc, argv); - NS_RELEASE(initializer); - - if (NS_OK != result) { - NS_RELEASE(nativeThis); - return JS_FALSE; - } - } - - result = nativeThis->QueryInterface(kIScriptObjectOwnerIID, (void **)&owner); - if (NS_OK != result) { - NS_RELEASE(nativeThis); - return JS_FALSE; - } - - owner->SetScriptObject((void *)obj); - JS_SetPrivate(cx, obj, nativeThis); - - NS_RELEASE(owner); - return JS_TRUE; -} - -// -// BaseAppCore class initialization -// -extern "C" NS_DOM nsresult NS_InitBaseAppCoreClass(nsIScriptContext *aContext, void **aPrototype) -{ - JSContext *jscontext = (JSContext *)aContext->GetNativeContext(); - JSObject *proto = nsnull; - JSObject *constructor = nsnull; - JSObject *parent_proto = nsnull; - JSObject *global = JS_GetGlobalObject(jscontext); - jsval vp; - - if ((PR_TRUE != JS_LookupProperty(jscontext, global, "BaseAppCore", &vp)) || - !JSVAL_IS_OBJECT(vp) || - ((constructor = JSVAL_TO_OBJECT(vp)) == nsnull) || - (PR_TRUE != JS_LookupProperty(jscontext, JSVAL_TO_OBJECT(vp), "prototype", &vp)) || - !JSVAL_IS_OBJECT(vp)) { - - proto = JS_InitClass(jscontext, // context - global, // global object - parent_proto, // parent proto - &BaseAppCoreClass, // JSClass - BaseAppCore, // JSNative ctor - 0, // ctor args - BaseAppCoreProperties, // proto props - BaseAppCoreMethods, // proto funcs - nsnull, // ctor props (static) - nsnull); // ctor funcs (static) - if (nsnull == proto) { - return NS_ERROR_FAILURE; - } - - } - else if ((nsnull != constructor) && JSVAL_IS_OBJECT(vp)) { - proto = JSVAL_TO_OBJECT(vp); - } - else { - return NS_ERROR_FAILURE; - } - - if (aPrototype) { - *aPrototype = proto; - } - return NS_OK; -} - - -// -// Method for creating a new BaseAppCore JavaScript object -// -extern "C" NS_DOM nsresult NS_NewScriptBaseAppCore(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn) -{ - NS_PRECONDITION(nsnull != aContext && nsnull != aSupports && nsnull != aReturn, "null argument to NS_NewScriptBaseAppCore"); - JSObject *proto; - JSObject *parent; - nsIScriptObjectOwner *owner; - JSContext *jscontext = (JSContext *)aContext->GetNativeContext(); - nsresult result = NS_OK; - nsIDOMBaseAppCore *aBaseAppCore; - - if (nsnull == aParent) { - parent = nsnull; - } - else if (NS_OK == aParent->QueryInterface(kIScriptObjectOwnerIID, (void**)&owner)) { - if (NS_OK != owner->GetScriptObject(aContext, (void **)&parent)) { - NS_RELEASE(owner); - return NS_ERROR_FAILURE; - } - NS_RELEASE(owner); - } - else { - return NS_ERROR_FAILURE; - } - - if (NS_OK != NS_InitBaseAppCoreClass(aContext, (void **)&proto)) { - return NS_ERROR_FAILURE; - } - - result = aSupports->QueryInterface(kIBaseAppCoreIID, (void **)&aBaseAppCore); - if (NS_OK != result) { - return result; - } - - // create a js object for this class - *aReturn = JS_NewObject(jscontext, &BaseAppCoreClass, proto, parent); - if (nsnull != *aReturn) { - // connect the native object to the js object - JS_SetPrivate(jscontext, (JSObject *)*aReturn, aBaseAppCore); - } - else { - NS_RELEASE(aBaseAppCore); - return NS_ERROR_FAILURE; - } - - return NS_OK; -} diff --git a/xpfe/AppCores/src/nsJSToolkitCore.cpp b/xpfe/AppCores/src/nsJSToolkitCore.cpp deleted file mode 100644 index 7e773b9bf640..000000000000 --- a/xpfe/AppCores/src/nsJSToolkitCore.cpp +++ /dev/null @@ -1,636 +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): - */ -/* AUTO-GENERATED. DO NOT EDIT!!! */ - -#include "jsapi.h" -#include "nsJSUtils.h" -#include "nsDOMError.h" -#include "nscore.h" -#include "nsIServiceManager.h" -#include "nsIScriptContext.h" -#include "nsIScriptSecurityManager.h" -#include "nsIJSScriptObject.h" -#include "nsIScriptObjectOwner.h" -#include "nsIScriptGlobalObject.h" -#include "nsCOMPtr.h" -#include "nsDOMPropEnums.h" -#include "nsString.h" -#include "nsIDOMToolkitCore.h" -#include "nsIDOMWindow.h" -#include "nsIScriptNameSpaceManager.h" -#include "nsIComponentManager.h" -#include "nsIJSNativeInitializer.h" -#include "nsDOMCID.h" - - -static NS_DEFINE_IID(kIScriptObjectOwnerIID, NS_ISCRIPTOBJECTOWNER_IID); -static NS_DEFINE_IID(kIJSScriptObjectIID, NS_IJSSCRIPTOBJECT_IID); -static NS_DEFINE_IID(kIScriptGlobalObjectIID, NS_ISCRIPTGLOBALOBJECT_IID); -static NS_DEFINE_IID(kIToolkitCoreIID, NS_IDOMTOOLKITCORE_IID); -static NS_DEFINE_IID(kIWindowIID, NS_IDOMWINDOW_IID); - - -/***********************************************************************/ -// -// ToolkitCore Properties Getter -// -PR_STATIC_CALLBACK(JSBool) -GetToolkitCoreProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp) -{ - nsIDOMToolkitCore *a = (nsIDOMToolkitCore*)nsJSUtils::nsGetNativeThis(cx, obj); - - // If there's no private data, this must be the prototype, so ignore - if (nsnull == a) { - return JS_TRUE; - } - - if (JSVAL_IS_INT(id)) { - nsresult rv; - NS_WITH_SERVICE(nsIScriptSecurityManager, secMan, - NS_SCRIPTSECURITYMANAGER_PROGID, &rv); - if (NS_FAILED(rv)) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_SECMAN_ERR); - } - switch(JSVAL_TO_INT(id)) { - case 0: - default: - return nsJSUtils::nsCallJSScriptObjectGetProperty(a, cx, obj, id, vp); - } - } - else { - return nsJSUtils::nsCallJSScriptObjectGetProperty(a, cx, obj, id, vp); - } - - return PR_TRUE; -} - -/***********************************************************************/ -// -// ToolkitCore Properties Setter -// -PR_STATIC_CALLBACK(JSBool) -SetToolkitCoreProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp) -{ - nsIDOMToolkitCore *a = (nsIDOMToolkitCore*)nsJSUtils::nsGetNativeThis(cx, obj); - - // If there's no private data, this must be the prototype, so ignore - if (nsnull == a) { - return JS_TRUE; - } - - if (JSVAL_IS_INT(id)) { - nsresult rv; - NS_WITH_SERVICE(nsIScriptSecurityManager, secMan, - NS_SCRIPTSECURITYMANAGER_PROGID, &rv); - if (NS_FAILED(rv)) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_SECMAN_ERR); - } - switch(JSVAL_TO_INT(id)) { - case 0: - default: - return nsJSUtils::nsCallJSScriptObjectSetProperty(a, cx, obj, id, vp); - } - } - else { - return nsJSUtils::nsCallJSScriptObjectSetProperty(a, cx, obj, id, vp); - } - - return PR_TRUE; -} - - -// -// ToolkitCore finalizer -// -PR_STATIC_CALLBACK(void) -FinalizeToolkitCore(JSContext *cx, JSObject *obj) -{ - nsJSUtils::nsGenericFinalize(cx, obj); -} - - -// -// ToolkitCore enumerate -// -PR_STATIC_CALLBACK(JSBool) -EnumerateToolkitCore(JSContext *cx, JSObject *obj) -{ - return nsJSUtils::nsGenericEnumerate(cx, obj); -} - - -// -// ToolkitCore resolve -// -PR_STATIC_CALLBACK(JSBool) -ResolveToolkitCore(JSContext *cx, JSObject *obj, jsval id) -{ - return nsJSUtils::nsGenericResolve(cx, obj, id); -} - - -// -// Native method ShowDialog -// -PR_STATIC_CALLBACK(JSBool) -ToolkitCoreShowDialog(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) -{ - nsIDOMToolkitCore *nativeThis = (nsIDOMToolkitCore*)nsJSUtils::nsGetNativeThis(cx, obj); - nsresult result = NS_OK; - nsAutoString b0; - nsCOMPtr b1; - // If there's no private data, this must be the prototype, so ignore - if (nsnull == nativeThis) { - return JS_TRUE; - } - - { - - *rval = JSVAL_NULL; - - { - nsresult rv; - NS_WITH_SERVICE(nsIScriptSecurityManager, secMan, - NS_SCRIPTSECURITYMANAGER_PROGID, &rv); - if (NS_SUCCEEDED(rv)) { - rv = secMan->CheckScriptAccess(cx, obj, NS_DOM_PROP_TOOLKITCORE_SHOWDIALOG, PR_FALSE); - } - if (NS_FAILED(rv)) { - return nsJSUtils::nsReportError(cx, obj, rv); - } - } - - if (argc < 2) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_TOO_FEW_PARAMETERS_ERR); - } - - nsJSUtils::nsConvertJSValToString(b0, cx, argv[0]); - if (JS_FALSE == nsJSUtils::nsConvertJSValToObject((nsISupports **)(void**)getter_AddRefs(b1), - kIWindowIID, - "Window", - cx, - argv[1])) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_NOT_OBJECT_ERR); - } - - result = nativeThis->ShowDialog(b0, b1); - if (NS_FAILED(result)) { - return nsJSUtils::nsReportError(cx, obj, result); - } - - *rval = JSVAL_VOID; - } - - return JS_TRUE; -} - - -// -// Native method ShowWindow -// -PR_STATIC_CALLBACK(JSBool) -ToolkitCoreShowWindow(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) -{ - nsIDOMToolkitCore *nativeThis = (nsIDOMToolkitCore*)nsJSUtils::nsGetNativeThis(cx, obj); - nsresult result = NS_OK; - nsAutoString b0; - nsCOMPtr b1; - // If there's no private data, this must be the prototype, so ignore - if (nsnull == nativeThis) { - return JS_TRUE; - } - - { - - *rval = JSVAL_NULL; - - { - nsresult rv; - NS_WITH_SERVICE(nsIScriptSecurityManager, secMan, - NS_SCRIPTSECURITYMANAGER_PROGID, &rv); - if (NS_SUCCEEDED(rv)) { - rv = secMan->CheckScriptAccess(cx, obj, NS_DOM_PROP_TOOLKITCORE_SHOWWINDOW, PR_FALSE); - } - if (NS_FAILED(rv)) { - return nsJSUtils::nsReportError(cx, obj, rv); - } - } - - if (argc < 2) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_TOO_FEW_PARAMETERS_ERR); - } - - nsJSUtils::nsConvertJSValToString(b0, cx, argv[0]); - if (JS_FALSE == nsJSUtils::nsConvertJSValToObject((nsISupports **)(void**)getter_AddRefs(b1), - kIWindowIID, - "Window", - cx, - argv[1])) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_NOT_OBJECT_ERR); - } - - result = nativeThis->ShowWindow(b0, b1); - if (NS_FAILED(result)) { - return nsJSUtils::nsReportError(cx, obj, result); - } - - *rval = JSVAL_VOID; - } - - return JS_TRUE; -} - - -// -// Native method ShowWindowWithArgs -// -PR_STATIC_CALLBACK(JSBool) -ToolkitCoreShowWindowWithArgs(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) -{ - nsIDOMToolkitCore *nativeThis = (nsIDOMToolkitCore*)nsJSUtils::nsGetNativeThis(cx, obj); - nsresult result = NS_OK; - nsAutoString b0; - nsCOMPtr b1; - nsAutoString b2; - // If there's no private data, this must be the prototype, so ignore - if (nsnull == nativeThis) { - return JS_TRUE; - } - - { - - *rval = JSVAL_NULL; - - { - nsresult rv; - NS_WITH_SERVICE(nsIScriptSecurityManager, secMan, - NS_SCRIPTSECURITYMANAGER_PROGID, &rv); - if (NS_SUCCEEDED(rv)) { - rv = secMan->CheckScriptAccess(cx, obj, NS_DOM_PROP_TOOLKITCORE_SHOWWINDOWWITHARGS, PR_FALSE); - } - if (NS_FAILED(rv)) { - return nsJSUtils::nsReportError(cx, obj, rv); - } - } - - if (argc < 3) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_TOO_FEW_PARAMETERS_ERR); - } - - nsJSUtils::nsConvertJSValToString(b0, cx, argv[0]); - if (JS_FALSE == nsJSUtils::nsConvertJSValToObject((nsISupports **)(void**)getter_AddRefs(b1), - kIWindowIID, - "Window", - cx, - argv[1])) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_NOT_OBJECT_ERR); - } - nsJSUtils::nsConvertJSValToString(b2, cx, argv[2]); - - result = nativeThis->ShowWindowWithArgs(b0, b1, b2); - if (NS_FAILED(result)) { - return nsJSUtils::nsReportError(cx, obj, result); - } - - *rval = JSVAL_VOID; - } - - return JS_TRUE; -} - - -// -// Native method ShowModalDialog -// -PR_STATIC_CALLBACK(JSBool) -ToolkitCoreShowModalDialog(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) -{ - nsIDOMToolkitCore *nativeThis = (nsIDOMToolkitCore*)nsJSUtils::nsGetNativeThis(cx, obj); - nsresult result = NS_OK; - nsAutoString b0; - nsCOMPtr b1; - // If there's no private data, this must be the prototype, so ignore - if (nsnull == nativeThis) { - return JS_TRUE; - } - - { - - *rval = JSVAL_NULL; - - { - nsresult rv; - NS_WITH_SERVICE(nsIScriptSecurityManager, secMan, - NS_SCRIPTSECURITYMANAGER_PROGID, &rv); - if (NS_SUCCEEDED(rv)) { - rv = secMan->CheckScriptAccess(cx, obj, NS_DOM_PROP_TOOLKITCORE_SHOWMODALDIALOG, PR_FALSE); - } - if (NS_FAILED(rv)) { - return nsJSUtils::nsReportError(cx, obj, rv); - } - } - - if (argc < 2) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_TOO_FEW_PARAMETERS_ERR); - } - - nsJSUtils::nsConvertJSValToString(b0, cx, argv[0]); - if (JS_FALSE == nsJSUtils::nsConvertJSValToObject((nsISupports **)(void**)getter_AddRefs(b1), - kIWindowIID, - "Window", - cx, - argv[1])) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_NOT_OBJECT_ERR); - } - - result = nativeThis->ShowModalDialog(b0, b1); - if (NS_FAILED(result)) { - return nsJSUtils::nsReportError(cx, obj, result); - } - - *rval = JSVAL_VOID; - } - - return JS_TRUE; -} - - -// -// Native method CloseWindow -// -PR_STATIC_CALLBACK(JSBool) -ToolkitCoreCloseWindow(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) -{ - nsIDOMToolkitCore *nativeThis = (nsIDOMToolkitCore*)nsJSUtils::nsGetNativeThis(cx, obj); - nsresult result = NS_OK; - nsCOMPtr b0; - // If there's no private data, this must be the prototype, so ignore - if (nsnull == nativeThis) { - return JS_TRUE; - } - - { - - *rval = JSVAL_NULL; - - { - nsresult rv; - NS_WITH_SERVICE(nsIScriptSecurityManager, secMan, - NS_SCRIPTSECURITYMANAGER_PROGID, &rv); - if (NS_SUCCEEDED(rv)) { - rv = secMan->CheckScriptAccess(cx, obj, NS_DOM_PROP_TOOLKITCORE_CLOSEWINDOW, PR_FALSE); - } - if (NS_FAILED(rv)) { - return nsJSUtils::nsReportError(cx, obj, rv); - } - } - - if (argc < 1) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_TOO_FEW_PARAMETERS_ERR); - } - - if (JS_FALSE == nsJSUtils::nsConvertJSValToObject((nsISupports **)(void**)getter_AddRefs(b0), - kIWindowIID, - "Window", - cx, - argv[0])) { - return nsJSUtils::nsReportError(cx, obj, NS_ERROR_DOM_NOT_OBJECT_ERR); - } - - result = nativeThis->CloseWindow(b0); - if (NS_FAILED(result)) { - return nsJSUtils::nsReportError(cx, obj, result); - } - - *rval = JSVAL_VOID; - } - - return JS_TRUE; -} - - -/***********************************************************************/ -// -// class for ToolkitCore -// -JSClass ToolkitCoreClass = { - "ToolkitCore", - JSCLASS_HAS_PRIVATE | JSCLASS_PRIVATE_IS_NSISUPPORTS, - JS_PropertyStub, - JS_PropertyStub, - GetToolkitCoreProperty, - SetToolkitCoreProperty, - EnumerateToolkitCore, - ResolveToolkitCore, - JS_ConvertStub, - FinalizeToolkitCore, - nsnull, - nsJSUtils::nsCheckAccess -}; - - -// -// ToolkitCore class properties -// -static JSPropertySpec ToolkitCoreProperties[] = -{ - {0} -}; - - -// -// ToolkitCore class methods -// -static JSFunctionSpec ToolkitCoreMethods[] = -{ - {"ShowDialog", ToolkitCoreShowDialog, 2}, - {"ShowWindow", ToolkitCoreShowWindow, 2}, - {"ShowWindowWithArgs", ToolkitCoreShowWindowWithArgs, 3}, - {"ShowModalDialog", ToolkitCoreShowModalDialog, 2}, - {"CloseWindow", ToolkitCoreCloseWindow, 1}, - {0} -}; - - -// -// ToolkitCore constructor -// -PR_STATIC_CALLBACK(JSBool) -ToolkitCore(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) -{ - nsresult result; - nsIID classID; - nsIDOMToolkitCore *nativeThis; - nsIScriptObjectOwner *owner = nsnull; - nsIJSNativeInitializer* initializer = nsnull; - - static NS_DEFINE_IID(kIDOMToolkitCoreIID, NS_IDOMTOOLKITCORE_IID); - static NS_DEFINE_IID(kIJSNativeInitializerIID, NS_IJSNATIVEINITIALIZER_IID); - - nsCOMPtr scriptCX; - nsJSUtils::nsGetStaticScriptContext(cx, obj, getter_AddRefs(scriptCX)); - if (!scriptCX) { - return JS_FALSE; - } - - nsCOMPtr manager; - scriptCX->GetNameSpaceManager(getter_AddRefs(manager)); - if (!manager) { - return JS_FALSE; - } - - result = manager->LookupName("ToolkitCore", PR_TRUE, classID); - if (NS_OK != result) { - return JS_FALSE; - } - - result = nsComponentManager::CreateInstance(classID, - nsnull, - kIDOMToolkitCoreIID, - (void **)&nativeThis); - if (NS_OK != result) { - return JS_FALSE; - } - - result = nativeThis->QueryInterface(kIJSNativeInitializerIID, (void **)&initializer); - if (NS_OK == result) { - result = initializer->Initialize(cx, obj, argc, argv); - NS_RELEASE(initializer); - - if (NS_OK != result) { - NS_RELEASE(nativeThis); - return JS_FALSE; - } - } - - result = nativeThis->QueryInterface(kIScriptObjectOwnerIID, (void **)&owner); - if (NS_OK != result) { - NS_RELEASE(nativeThis); - return JS_FALSE; - } - - owner->SetScriptObject((void *)obj); - JS_SetPrivate(cx, obj, nativeThis); - - NS_RELEASE(owner); - return JS_TRUE; -} - -// -// ToolkitCore class initialization -// -extern "C" NS_DOM nsresult NS_InitToolkitCoreClass(nsIScriptContext *aContext, void **aPrototype) -{ - JSContext *jscontext = (JSContext *)aContext->GetNativeContext(); - JSObject *proto = nsnull; - JSObject *constructor = nsnull; - JSObject *parent_proto = nsnull; - JSObject *global = JS_GetGlobalObject(jscontext); - jsval vp; - - if ((PR_TRUE != JS_LookupProperty(jscontext, global, "ToolkitCore", &vp)) || - !JSVAL_IS_OBJECT(vp) || - ((constructor = JSVAL_TO_OBJECT(vp)) == nsnull) || - (PR_TRUE != JS_LookupProperty(jscontext, JSVAL_TO_OBJECT(vp), "prototype", &vp)) || - !JSVAL_IS_OBJECT(vp)) { - - if (NS_OK != NS_InitBaseAppCoreClass(aContext, (void **)&parent_proto)) { - return NS_ERROR_FAILURE; - } - proto = JS_InitClass(jscontext, // context - global, // global object - parent_proto, // parent proto - &ToolkitCoreClass, // JSClass - ToolkitCore, // JSNative ctor - 0, // ctor args - ToolkitCoreProperties, // proto props - ToolkitCoreMethods, // proto funcs - nsnull, // ctor props (static) - nsnull); // ctor funcs (static) - if (nsnull == proto) { - return NS_ERROR_FAILURE; - } - - } - else if ((nsnull != constructor) && JSVAL_IS_OBJECT(vp)) { - proto = JSVAL_TO_OBJECT(vp); - } - else { - return NS_ERROR_FAILURE; - } - - if (aPrototype) { - *aPrototype = proto; - } - return NS_OK; -} - - -// -// Method for creating a new ToolkitCore JavaScript object -// -extern "C" NS_DOM nsresult NS_NewScriptToolkitCore(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn) -{ - NS_PRECONDITION(nsnull != aContext && nsnull != aSupports && nsnull != aReturn, "null argument to NS_NewScriptToolkitCore"); - JSObject *proto; - JSObject *parent; - nsIScriptObjectOwner *owner; - JSContext *jscontext = (JSContext *)aContext->GetNativeContext(); - nsresult result = NS_OK; - nsIDOMToolkitCore *aToolkitCore; - - if (nsnull == aParent) { - parent = nsnull; - } - else if (NS_OK == aParent->QueryInterface(kIScriptObjectOwnerIID, (void**)&owner)) { - if (NS_OK != owner->GetScriptObject(aContext, (void **)&parent)) { - NS_RELEASE(owner); - return NS_ERROR_FAILURE; - } - NS_RELEASE(owner); - } - else { - return NS_ERROR_FAILURE; - } - - if (NS_OK != NS_InitToolkitCoreClass(aContext, (void **)&proto)) { - return NS_ERROR_FAILURE; - } - - result = aSupports->QueryInterface(kIToolkitCoreIID, (void **)&aToolkitCore); - if (NS_OK != result) { - return result; - } - - // create a js object for this class - *aReturn = JS_NewObject(jscontext, &ToolkitCoreClass, proto, parent); - if (nsnull != *aReturn) { - // connect the native object to the js object - JS_SetPrivate(jscontext, (JSObject *)*aReturn, aToolkitCore); - } - else { - NS_RELEASE(aToolkitCore); - return NS_ERROR_FAILURE; - } - - return NS_OK; -} diff --git a/xpfe/AppCores/src/nsSignonCoreFactory.cpp b/xpfe/AppCores/src/nsSignonCoreFactory.cpp deleted file mode 100644 index 6de350ea7584..000000000000 --- a/xpfe/AppCores/src/nsSignonCoreFactory.cpp +++ /dev/null @@ -1,121 +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 Communicator client 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): - */ - -#include "nsSignonCoreFactory.h" - -#include "nsAppCores.h" -#include "nsSignonCore.h" -#include "pratom.h" -#include "nsISupportsUtils.h" - -static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID); -static NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID); - -//---------------------------------------------------------------------------------------- -nsSignonCoreFactory::nsSignonCoreFactory() -//---------------------------------------------------------------------------------------- -{ - NS_INIT_REFCNT(); - IncInstanceCount(); -} - -//---------------------------------------------------------------------------------------- -nsSignonCoreFactory::~nsSignonCoreFactory() -//---------------------------------------------------------------------------------------- -{ - DecInstanceCount(); -} - -NS_IMPL_ADDREF(nsSignonCoreFactory) -NS_IMPL_RELEASE(nsSignonCoreFactory) - -//---------------------------------------------------------------------------------------- -NS_IMETHODIMP nsSignonCoreFactory::QueryInterface(REFNSIID aIID,void** aInstancePtr) -//---------------------------------------------------------------------------------------- -{ - if (aInstancePtr == NULL) - return NS_ERROR_NULL_POINTER; - - // Always NULL result, in case of failure - *aInstancePtr = NULL; - - if ( aIID.Equals(kISupportsIID) ) - *aInstancePtr = (void*) this; - else if ( aIID.Equals(kIFactoryIID) ) - *aInstancePtr = (void*) this; - - if (aInstancePtr == NULL) - return NS_ERROR_NO_INTERFACE; - - AddRef(); - return NS_OK; -} // nsSignonCoreFactory::QueryInterface - -//---------------------------------------------------------------------------------------- -NS_IMETHODIMP nsSignonCoreFactory::CreateInstance( - nsISupports* aOuter, - REFNSIID aIID, - void **aResult) -//---------------------------------------------------------------------------------------- -{ - if (aResult == NULL) - return NS_ERROR_NULL_POINTER; - - *aResult = NULL; - -#if 0 - // There is a stupid bug that I don't feel competent to fix. Basically, the - // AppCore Manager is a waste of time (the manager gets created, an app core is - // added to the list, and then the app core manager is deleted, along with its list). - // I want to insist that - // there is always one instance of the Signon app core. Hence this HACK. - static nsSignonCore* inst = nsnull; - PRBool firstTime = (inst == nsnull); - if (firstTime) - { - inst = new nsSignonCore(); - if (!inst) - return NS_ERROR_OUT_OF_MEMORY; - NS_ADDREF(inst); - } - nsresult result = inst->QueryInterface(aIID, aResult); - if (result != NS_OK && firstTime) - NS_RELEASE(inst); -#else - static nsSignonCore* inst = new nsSignonCore(); - if (!inst) - return NS_ERROR_OUT_OF_MEMORY; - nsresult result = inst->QueryInterface(aIID, aResult); -#endif - return result; -} // nsSignonCoreFactory::CreateInstance - -//---------------------------------------------------------------------------------------- -NS_IMETHODIMP nsSignonCoreFactory::LockFactory(PRBool aLock) -//---------------------------------------------------------------------------------------- -{ - if (aLock) - IncLockCount(); - else - DecLockCount(); - return NS_OK; -} // nsSignonCoreFactory::LockFactory diff --git a/xpfe/AppCores/src/nsSignonCoreFactory.h b/xpfe/AppCores/src/nsSignonCoreFactory.h deleted file mode 100644 index ab997e6a6756..000000000000 --- a/xpfe/AppCores/src/nsSignonCoreFactory.h +++ /dev/null @@ -1,51 +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): - */ -#ifndef nsSignonCoreFactory_h___ -#define nsSignonCoreFactory_h___ - -//#include "nscore.h" -//#include "nsString.h" -#include "nsIFactory.h" -#include "nsISupports.h" - -//======================================================================================== -class nsSignonCoreFactory : public nsIFactory -//======================================================================================== -{ - public: - - nsSignonCoreFactory(); - virtual ~nsSignonCoreFactory(); - - PRBool CanUnload(void); - - NS_DECL_ISUPPORTS - - NS_IMETHOD CreateInstance(nsISupports *aOuter, - REFNSIID aIID, - void **aResult); - - NS_IMETHOD LockFactory(PRBool aLock); - -}; - -#endif // nsSignonCoreFactory_h___ diff --git a/xpfe/AppCores/src/nsToolkitCore.cpp b/xpfe/AppCores/src/nsToolkitCore.cpp deleted file mode 100644 index 57c69967a20e..000000000000 --- a/xpfe/AppCores/src/nsToolkitCore.cpp +++ /dev/null @@ -1,371 +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 Communicator client 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): - * Pierre Phaneuf - */ - - -#include "nsAppCoresManager.h" -#include "nsAppShellCIDs.h" -#include "nsIAppShellService.h" -#include "nsIEventQueueService.h" -#include "nsIDOMBaseAppCore.h" -#include "nsIDOMWindow.h" -#include "nsIScriptGlobalObject.h" -#include "nsIServiceManager.h" -#include "nsISupports.h" -#include "nsIURL.h" -#include "nsIIOService.h" -#include "nsIURL.h" -static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID); -#include "nsIBrowserWindow.h" -#include "nsIWebShell.h" -#include "nsIWebShellWindow.h" -#include "nsIWidget.h" -#include "nsToolkitCore.h" - -#include "nsIXULWindowCallbacks.h" -#include "nsIDocumentViewer.h" -#include "nsIDOMXULDocument.h" -#include "nsIDocument.h" -#include "nsIDOMElement.h" - -class nsIScriptContext; - -static NS_DEFINE_IID(kAppShellServiceCID, NS_APPSHELL_SERVICE_CID); -static NS_DEFINE_CID(kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID); -static NS_DEFINE_IID(kIEventQueueServiceIID, NS_IEVENTQUEUESERVICE_IID); - -static NS_DEFINE_IID(kIDOMBaseAppCoreIID, NS_IDOMBASEAPPCORE_IID); -static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID); -static NS_DEFINE_IID(kIToolkitCoreIID, NS_IDOMTOOLKITCORE_IID); - - -///////////////////////////////////////////////////////////////////////// -// nsToolkitCore -///////////////////////////////////////////////////////////////////////// - -nsToolkitCore::nsToolkitCore() { - - printf("Created nsToolkitCore\n"); - - IncInstanceCount(); - NS_INIT_REFCNT(); -} - -nsToolkitCore::~nsToolkitCore() { - - DecInstanceCount(); -} - - -NS_IMPL_ADDREF(nsToolkitCore) -NS_IMPL_RELEASE(nsToolkitCore) - - -NS_IMETHODIMP -nsToolkitCore::QueryInterface(REFNSIID aIID, void** aInstancePtr) { - - if (aInstancePtr == NULL) - return NS_ERROR_NULL_POINTER; - - *aInstancePtr = NULL; - - if (aIID.Equals(kIToolkitCoreIID)) { - *aInstancePtr = (void*) ((nsIDOMToolkitCore*) this); - AddRef(); - return NS_OK; - } - - return nsBaseAppCore::QueryInterface(aIID, aInstancePtr); -} - - -NS_IMETHODIMP -nsToolkitCore::GetScriptObject(nsIScriptContext *aContext, void** aScriptObject) { - nsresult rv = NS_OK; - - NS_PRECONDITION(aScriptObject != nsnull, "null arg"); - if (mScriptObject == nsnull) { - nsISupports *core; - rv = QueryInterface(kISupportsIID, (void **)&core); - if (NS_SUCCEEDED(rv)) { - rv = NS_NewScriptToolkitCore(aContext, - (nsISupports *) core, - nsnull, - &mScriptObject); - NS_RELEASE(core); - } - } - - *aScriptObject = mScriptObject; - return rv; -} - - -NS_IMETHODIMP -nsToolkitCore::Init(const nsString& aId) { - - nsresult rv; - - nsBaseAppCore::Init(aId); - - nsIDOMBaseAppCore *core; - rv = QueryInterface(kIDOMBaseAppCoreIID, (void **)&core); - if (NS_SUCCEEDED(rv)) { - nsAppCoresManager* sdm = new nsAppCoresManager(); - if (sdm) { - sdm->Add(core); - delete sdm; - return NS_OK; - } else - rv = NS_ERROR_OUT_OF_MEMORY; - NS_RELEASE(core); - } - return rv; -} - - -NS_IMETHODIMP -nsToolkitCore::ShowDialog(const nsString& aUrl, nsIDOMWindow* aParent) { - - nsresult rv; - nsIWebShellWindow *window; - - window = nsnull; - - nsCOMPtr urlObj; - NS_WITH_SERVICE(nsIIOService, service, kIOServiceCID, &rv); - if (NS_FAILED(rv)) return rv; - rv = service->NewURI(nsCAutoString(aUrl), nsnull, getter_AddRefs(urlObj)); - if (NS_FAILED(rv)) return rv; - if (NS_FAILED(rv)) - return rv; - - NS_WITH_SERVICE(nsIAppShellService, appShell, kAppShellServiceCID, &rv); - if (NS_FAILED(rv)) - return rv; - - nsCOMPtr parent; - DOMWindowToWebShellWindow(aParent, &parent); - window = nsnull; - appShell->CreateTopLevelWindow(parent, urlObj, PR_TRUE, PR_TRUE, - NS_CHROME_ALL_CHROME | NS_CHROME_OPEN_AS_DIALOG, - nsnull, 615, 480, &window); - - if (window != nsnull) - window->Show(PR_TRUE); - - return rv; -} - -NS_IMETHODIMP -nsToolkitCore::ShowWindow(const nsString& aUrl, nsIDOMWindow* aParent) { - - nsresult rv; - - nsCOMPtr urlObj; - - NS_WITH_SERVICE(nsIIOService, service, kIOServiceCID, &rv); - if (NS_FAILED(rv)) return rv; - rv = service->NewURI(nsCAutoString(aUrl), nsnull, getter_AddRefs(urlObj)); - if (NS_FAILED(rv)) return rv; - - NS_WITH_SERVICE(nsIAppShellService, appShell, kAppShellServiceCID, &rv); - if (NS_FAILED(rv)) - return rv; - - nsCOMPtr parent; - DOMWindowToWebShellWindow(aParent, &parent); - nsCOMPtr window; - appShell->CreateTopLevelWindow(parent, urlObj, PR_TRUE, PR_TRUE, - NS_CHROME_ALL_CHROME, nsnull, - NS_SIZETOCONTENT, NS_SIZETOCONTENT, - getter_AddRefs(window)); - - return rv; -} - -struct nsArgCallbacks : public nsIXULWindowCallbacks { - // Declare implementation of ISupports stuff. - NS_DECL_ISUPPORTS - - // Declare implementations of nsIXULWindowCallbacks interface functions. - NS_IMETHOD ConstructBeforeJavaScript(nsIWebShell *aWebShell); - NS_IMETHOD ConstructAfterJavaScript(nsIWebShell *aWebShell) { return NS_OK; } - - // Specifics... - nsArgCallbacks( const nsString& aArgs ) : mArgs( aArgs ) { NS_INIT_REFCNT(); } - nsArgCallbacks() { NS_INIT_REFCNT(); } - virtual ~nsArgCallbacks() {} -private: - nsString mArgs; -}; // nsArgCallbacks - -// Implement ISupports stuff. -NS_IMPL_ISUPPORTS( nsArgCallbacks, NS_GET_IID(nsIXULWindowCallbacks) ); - -static const int APP_DEBUG = 0; -static nsresult setAttribute( nsIWebShell *shell, - const char *id, - const char *name, - const nsString &value ) { - nsresult rv = NS_OK; - - nsCOMPtr cv; - rv = shell ? shell->GetContentViewer(getter_AddRefs(cv)) - : NS_ERROR_NULL_POINTER; - if ( cv ) { - // Up-cast. - nsCOMPtr docv(do_QueryInterface(cv)); - if ( docv ) { - // Get the document from the doc viewer. - nsCOMPtr doc; - rv = docv->GetDocument(*getter_AddRefs(doc)); - if ( doc ) { - // Up-cast. - nsCOMPtr xulDoc( do_QueryInterface(doc) ); - if ( xulDoc ) { - // Find specified element. - nsCOMPtr elem; - rv = xulDoc->GetElementById( id, getter_AddRefs(elem) ); - if ( elem ) { - // Set the text attribute. - rv = elem->SetAttribute( name, value ); - if ( APP_DEBUG ) { - char *p = value.ToNewCString(); - delete [] p; - } - if ( rv != NS_OK ) { - if (APP_DEBUG) printf("SetAttribute failed, rv=0x%X\n",(int)rv); - } - } else { - if (APP_DEBUG) printf("GetElementByID failed, rv=0x%X\n",(int)rv); - } - } else { - if (APP_DEBUG) printf("Upcast to nsIDOMXULDocument failed\n"); - } - } else { - if (APP_DEBUG) printf("GetDocument failed, rv=0x%X\n",(int)rv); - } - } else { - if (APP_DEBUG) printf("Upcast to nsIDocumentViewer failed\n"); - } - } else { - if (APP_DEBUG) printf("GetContentViewer failed, rv=0x%X\n",(int)rv); - } - return rv; -} - -// Stick the arg in the document. -NS_IMETHODIMP -nsArgCallbacks::ConstructBeforeJavaScript( nsIWebShell *aWebShell ) { - nsresult rv = NS_OK; - setAttribute( aWebShell, "args", "value", mArgs ); - // Trigger dialog arg handling. - setAttribute( aWebShell, "dialog.start", "ready", "true" ); - return rv; -} - -NS_IMETHODIMP -nsToolkitCore::ShowWindowWithArgs(const nsString& aUrl, - nsIDOMWindow* aParent, - const nsString& aArgs) { - - nsresult rv; - - nsCOMPtr urlObj; - NS_WITH_SERVICE(nsIIOService, service, kIOServiceCID, &rv); - if (NS_FAILED(rv)) return rv; - rv = service->NewURI(nsCAutoString(aUrl), nsnull, getter_AddRefs(urlObj)); - if (NS_FAILED(rv)) return rv; - - NS_WITH_SERVICE(nsIAppShellService, appShell, kAppShellServiceCID, &rv); - if (NS_FAILED(rv)) - return rv; - - nsCOMPtr parent; - DOMWindowToWebShellWindow(aParent, &parent); - nsCOMPtr cb; - cb = dont_QueryInterface( new nsArgCallbacks( aArgs ) ); - - nsCOMPtr window; - appShell->CreateTopLevelWindow(parent, urlObj, PR_TRUE, PR_TRUE, - NS_CHROME_ALL_CHROME, cb, - NS_SIZETOCONTENT, NS_SIZETOCONTENT, - getter_AddRefs(window)); - - return rv; -} - -NS_IMETHODIMP -nsToolkitCore::ShowModalDialog(const nsString& aUrl, nsIDOMWindow* aParent) { - - nsresult rv; - - nsCOMPtr urlObj; - NS_WITH_SERVICE(nsIIOService, service, kIOServiceCID, &rv); - if (NS_FAILED(rv)) return rv; - rv = service->NewURI(nsCAutoString(aUrl), nsnull, getter_AddRefs(urlObj)); - if (NS_FAILED(rv)) return rv; - - NS_WITH_SERVICE(nsIAppShellService, appShell, kAppShellServiceCID, &rv); - if (NS_FAILED(rv)) - return rv; - - nsCOMPtr parent; - DOMWindowToWebShellWindow(aParent, &parent); - rv = appShell->RunModalDialog(nsnull, parent, urlObj, - NS_CHROME_ALL_CHROME | NS_CHROME_OPEN_AS_DIALOG, - nsnull, 615, 480); - return rv; -} - -NS_IMETHODIMP -nsToolkitCore::CloseWindow(nsIDOMWindow* aWindow) { - - nsCOMPtr window; - DOMWindowToWebShellWindow(aWindow, &window); - if (window) - window->Close(); - - return NS_OK; -} - -// horribly complicated routine to simply convert from one to the other -void nsToolkitCore::DOMWindowToWebShellWindow( - nsIDOMWindow *DOMWindow, - nsCOMPtr *webWindow) const { - - *webWindow = 0; - if (!DOMWindow) - return; - - nsCOMPtr globalScript(do_QueryInterface(DOMWindow)); - nsCOMPtr webshell, rootWebshell; - if (globalScript) - globalScript->GetWebShell(getter_AddRefs(webshell)); - if(!webshell) - return; - nsCOMPtr topLevelWindow; - webshell->GetTopLevelWindow(getter_AddRefs(topLevelWindow)); - *webWindow = do_QueryInterface(topLevelWindow); -} - diff --git a/xpfe/AppCores/src/nsToolkitCore.h b/xpfe/AppCores/src/nsToolkitCore.h deleted file mode 100644 index b17f30de2ca9..000000000000 --- a/xpfe/AppCores/src/nsToolkitCore.h +++ /dev/null @@ -1,72 +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): - */ -#ifndef nsToolkitCorePrivate_h___ -#define nsToolkitCorePrivate_h___ - -//#include "nsAppCores.h" - -#include "nsCOMPtr.h" -#include "nscore.h" -#include "nsString.h" -#include "nsISupports.h" - -#include "nsIDOMToolkitCore.h" -#include "nsBaseAppCore.h" - - -class nsIDOMWindow; -class nsIScriptContext; - -// Cannot forward declare a class used with an nsCOMPtr. -// see: http://www.mozilla.org/projects/xpcom/nsCOMPtr.html -//class nsIWebShellWindow; - -#include "nsIWebShellWindow.h" - -//////////////////////////////////////////////////////////////////////////////// -// nsToolbarCore: -//////////////////////////////////////////////////////////////////////////////// - -class nsToolkitCore : public nsBaseAppCore, - public nsIDOMToolkitCore { - - public: - - nsToolkitCore(); - virtual ~nsToolkitCore(); - - - NS_DECL_ISUPPORTS - NS_IMETHOD GetScriptObject(nsIScriptContext *aContext, void** aScriptObject); - NS_IMETHOD Init(const nsString& aId); - NS_IMETHOD GetId(nsString& aId) { return nsBaseAppCore::GetId(aId); } - NS_IMETHOD SetDocumentCharset(const nsString& aCharset) { return nsBaseAppCore::SetDocumentCharset(aCharset); } - - NS_DECL_IDOMTOOLKITCORE - - private: - - void DOMWindowToWebShellWindow(nsIDOMWindow *DOMWindow, - nsCOMPtr *webWindow) const; -}; - -#endif // nsToolkitCorePrivate_h___ diff --git a/xpfe/AppCores/src/nsToolkitCoreFactory.cpp b/xpfe/AppCores/src/nsToolkitCoreFactory.cpp deleted file mode 100644 index 99bc6bfdc2fe..000000000000 --- a/xpfe/AppCores/src/nsToolkitCoreFactory.cpp +++ /dev/null @@ -1,102 +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 Communicator client 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): - */ - -#include "nsToolkitCore.h" -#include "nsToolkitCoreFactory.h" -//#include "pratom.h" - -static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID); -static NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID); - -///////////////////////////////////////////////////////////////////////// -// nsToolkitCoreFactory -///////////////////////////////////////////////////////////////////////// - -nsToolkitCoreFactory::nsToolkitCoreFactory(void) { - - mRefCnt = 0; - IncInstanceCount(); -} - -nsToolkitCoreFactory::~nsToolkitCoreFactory(void) { - - DecInstanceCount(); -} - - - -NS_IMETHODIMP -nsToolkitCoreFactory::QueryInterface(REFNSIID aIID, void** aInstancePtr) { - - if (aInstancePtr == NULL) - return NS_ERROR_NULL_POINTER; - - *aInstancePtr = NULL; - - if (aIID.Equals(kISupportsIID)) - *aInstancePtr = (void*) this; - else if (aIID.Equals(kIFactoryIID)) - *aInstancePtr = (void*) this; - - if (*aInstancePtr == NULL) - return NS_ERROR_NO_INTERFACE; - - AddRef(); - return NS_OK; -} - - - -NS_IMPL_ADDREF(nsToolkitCoreFactory) -NS_IMPL_RELEASE(nsToolkitCoreFactory) - -NS_IMETHODIMP -nsToolkitCoreFactory::CreateInstance(nsISupports *aOuter, REFNSIID aIID, void **aResult) { - - if (aResult == NULL) - return NS_ERROR_NULL_POINTER; - - *aResult = NULL; - - nsToolkitCore *inst = new nsToolkitCore(); - - if (inst == NULL) - return NS_ERROR_OUT_OF_MEMORY; - - nsresult result = inst->QueryInterface(aIID, aResult); - - if (result != NS_OK) - delete inst; - - return result; -} - -NS_IMETHODIMP -nsToolkitCoreFactory::LockFactory(PRBool aLock) { - - if (aLock) - IncLockCount(); - else - DecLockCount(); - - return NS_OK; -} diff --git a/xpfe/AppCores/src/nsToolkitCoreFactory.h b/xpfe/AppCores/src/nsToolkitCoreFactory.h deleted file mode 100644 index ecd0a341168f..000000000000 --- a/xpfe/AppCores/src/nsToolkitCoreFactory.h +++ /dev/null @@ -1,50 +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): - */ -#ifndef nsToolkitCoreFactory_h___ -#define nsToolkitCoreFactory_h___ - -#include "nsIFactory.h" -#include "nsISupports.h" - -//////////////////////////////////////////////////////////////////////////////// -// nsToolkitCoreFactory: -//////////////////////////////////////////////////////////////////////////////// - -class nsToolkitCoreFactory : public nsIFactory { - - public: - - nsToolkitCoreFactory(); - virtual ~nsToolkitCoreFactory(); - -// PRBool CanUnload(void); - - NS_DECL_ISUPPORTS - - NS_IMETHOD CreateInstance(nsISupports *aOuter, - REFNSIID aIID, - void **aResult); - - NS_IMETHOD LockFactory(PRBool aLock); -}; - -#endif // nsToolkitCoreFactory_h___ diff --git a/xpfe/AppCores/src/nsWalletCoreFactory.cpp b/xpfe/AppCores/src/nsWalletCoreFactory.cpp deleted file mode 100644 index a4d67a6cedbe..000000000000 --- a/xpfe/AppCores/src/nsWalletCoreFactory.cpp +++ /dev/null @@ -1,121 +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 Communicator client 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): - */ - -#include "nsWalletCoreFactory.h" - -#include "nsAppCores.h" -#include "nsWalletCore.h" -#include "pratom.h" -#include "nsISupportsUtils.h" - -static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID); -static NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID); - -//---------------------------------------------------------------------------------------- -nsWalletCoreFactory::nsWalletCoreFactory() -//---------------------------------------------------------------------------------------- -{ - NS_INIT_REFCNT(); - IncInstanceCount(); -} - -//---------------------------------------------------------------------------------------- -nsWalletCoreFactory::~nsWalletCoreFactory() -//---------------------------------------------------------------------------------------- -{ - DecInstanceCount(); -} - -NS_IMPL_ADDREF(nsWalletCoreFactory) -NS_IMPL_RELEASE(nsWalletCoreFactory) - -//---------------------------------------------------------------------------------------- -NS_IMETHODIMP nsWalletCoreFactory::QueryInterface(REFNSIID aIID,void** aInstancePtr) -//---------------------------------------------------------------------------------------- -{ - if (aInstancePtr == NULL) - return NS_ERROR_NULL_POINTER; - - // Always NULL result, in case of failure - *aInstancePtr = NULL; - - if ( aIID.Equals(kISupportsIID) ) - *aInstancePtr = (void*) this; - else if ( aIID.Equals(kIFactoryIID) ) - *aInstancePtr = (void*) this; - - if (aInstancePtr == NULL) - return NS_ERROR_NO_INTERFACE; - - AddRef(); - return NS_OK; -} // nsWalletCoreFactory::QueryInterface - -//---------------------------------------------------------------------------------------- -NS_IMETHODIMP nsWalletCoreFactory::CreateInstance( - nsISupports* aOuter, - REFNSIID aIID, - void **aResult) -//---------------------------------------------------------------------------------------- -{ - if (aResult == NULL) - return NS_ERROR_NULL_POINTER; - - *aResult = NULL; - -#if 0 - // There is a stupid bug that I don't feel competent to fix. Basically, the - // AppCore Manager is a waste of time (the manager gets created, an app core is - // added to the list, and then the app core manager is deleted, along with its list). - // I want to insist that - // there is always one instance of the Wallet app core. Hence this HACK. - static nsWalletCore* inst = nsnull; - PRBool firstTime = (inst == nsnull); - if (firstTime) - { - inst = new nsWalletCore(); - if (!inst) - return NS_ERROR_OUT_OF_MEMORY; - NS_ADDREF(inst); - } - nsresult result = inst->QueryInterface(aIID, aResult); - if (result != NS_OK && firstTime) - NS_RELEASE(inst); -#else - static nsWalletCore* inst = new nsWalletCore(); - if (!inst) - return NS_ERROR_OUT_OF_MEMORY; - nsresult result = inst->QueryInterface(aIID, aResult); -#endif - return result; -} // nsWalletCoreFactory::CreateInstance - -//---------------------------------------------------------------------------------------- -NS_IMETHODIMP nsWalletCoreFactory::LockFactory(PRBool aLock) -//---------------------------------------------------------------------------------------- -{ - if (aLock) - IncLockCount(); - else - DecLockCount(); - return NS_OK; -} // nsWalletCoreFactory::LockFactory diff --git a/xpfe/AppCores/src/nsWalletCoreFactory.h b/xpfe/AppCores/src/nsWalletCoreFactory.h deleted file mode 100644 index da5316d8be64..000000000000 --- a/xpfe/AppCores/src/nsWalletCoreFactory.h +++ /dev/null @@ -1,51 +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): - */ -#ifndef nsWalletCoreFactory_h___ -#define nsWalletCoreFactory_h___ - -//#include "nscore.h" -//#include "nsString.h" -#include "nsIFactory.h" -#include "nsISupports.h" - -//======================================================================================== -class nsWalletCoreFactory : public nsIFactory -//======================================================================================== -{ - public: - - nsWalletCoreFactory(); - virtual ~nsWalletCoreFactory(); - - PRBool CanUnload(void); - - NS_DECL_ISUPPORTS - - NS_IMETHOD CreateInstance(nsISupports *aOuter, - REFNSIID aIID, - void **aResult); - - NS_IMETHOD LockFactory(PRBool aLock); - -}; - -#endif // nsWalletCoreFactory_h___ diff --git a/xpfe/AppCores/xul/.cvsignore b/xpfe/AppCores/xul/.cvsignore deleted file mode 100644 index f3c7a7c5da68..000000000000 --- a/xpfe/AppCores/xul/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -Makefile diff --git a/xpfe/AppCores/xul/Makefile.in b/xpfe/AppCores/xul/Makefile.in deleted file mode 100644 index 937d4b5a7968..000000000000 --- a/xpfe/AppCores/xul/Makefile.in +++ /dev/null @@ -1,110 +0,0 @@ -# -# The contents of this file are subject to the Netscape Public -# License Version 1.1 (the "License"); you may not use this file -# except in compliance with the License. You may obtain a copy of -# the License at http://www.mozilla.org/NPL/ -# -# Software distributed under the License is distributed on an "AS -# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or -# implied. See the License for the specific language governing -# rights and limitations under the License. -# -# The Original Code is mozilla.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): -# - -DEPTH = ../../.. -topsrcdir = @top_srcdir@ -srcdir = @srcdir@ -VPATH = @srcdir@ - -include $(DEPTH)/config/autoconf.mk - -EXPORT_RESOURCE_TOOLBAR = \ - $(srcdir)/resources/Mail_Forward.gif \ - $(srcdir)/resources/Mail_GetMsg.gif \ - $(srcdir)/resources/Mail_NewMsg.gif \ - $(srcdir)/resources/Mail_Reply.gif \ - $(srcdir)/resources/Mail_SendMsg.gif \ - $(srcdir)/resources/DialogAddrIcon.gif \ - $(srcdir)/resources/DialogAddrIcon_mo.gif \ - $(srcdir)/resources/DialogCompIcon.gif \ - $(srcdir)/resources/DialogCompIcon_mo.gif \ - $(srcdir)/resources/DialogMailIcon.gif \ - $(srcdir)/resources/DialogMailIcon_mo.gif \ - $(srcdir)/resources/DialogNavIcon.gif \ - $(srcdir)/resources/DialogNavIcon_mo.gif \ - $(srcdir)/resources/TB_Back.gif \ - $(srcdir)/resources/TB_Back_dis.gif \ - $(srcdir)/resources/TB_Back_mo.gif \ - $(srcdir)/resources/TB_Bookmarks.gif \ - $(srcdir)/resources/TB_Bookmarks_mo.gif \ - $(srcdir)/resources/TB_Edit.gif \ - $(srcdir)/resources/TB_Forward.gif \ - $(srcdir)/resources/TB_Forward_dis.gif \ - $(srcdir)/resources/TB_Forward_mo.gif \ - $(srcdir)/resources/TB_Home.gif \ - $(srcdir)/resources/TB_Home_mo.gif \ - $(srcdir)/resources/TB_HTab.gif \ - $(srcdir)/resources/TB_HTab_mo.gif \ - $(srcdir)/resources/TB_LoadImages.gif \ - $(srcdir)/resources/TB_Location.gif \ - $(srcdir)/resources/TB_Location_mo.gif \ - $(srcdir)/resources/TB_MiniAddr.gif \ - $(srcdir)/resources/TB_MiniComp.gif \ - $(srcdir)/resources/TB_MiniMail.gif \ - $(srcdir)/resources/TB_MiniNav.gif \ - $(srcdir)/resources/TB_MiniTab.gif \ - $(srcdir)/resources/TB_MixSecurity.gif \ - $(srcdir)/resources/TB_Netscape.gif \ - $(srcdir)/resources/TB_Netscape_mo.gif \ - $(srcdir)/resources/TB_PersonalIcon.gif \ - $(srcdir)/resources/TB_Places.gif \ - $(srcdir)/resources/TB_Places_mo.gif \ - $(srcdir)/resources/TB_popup.gif \ - $(srcdir)/resources/TB_Print.gif \ - $(srcdir)/resources/TB_Print_mo.gif \ - $(srcdir)/resources/TB_Reload.gif \ - $(srcdir)/resources/TB_Reload_mo.gif \ - $(srcdir)/resources/TB_Search.gif \ - $(srcdir)/resources/TB_Search_mo.gif \ - $(srcdir)/resources/TB_Secure.gif \ - $(srcdir)/resources/TB_Secure_mo.gif \ - $(srcdir)/resources/TB_Stop.gif \ - $(srcdir)/resources/TB_Stop_dis.gif \ - $(srcdir)/resources/TB_Stop_mo.gif \ - $(srcdir)/resources/TB_Tab.gif \ - $(srcdir)/resources/TB_TabSmall.gif \ - $(srcdir)/resources/TB_TabSmall_mo.gif \ - $(srcdir)/resources/TB_Tab_mo.gif \ - $(srcdir)/resources/TB_Unsecure.gif \ - $(srcdir)/resources/TB_WhatsRelated.gif \ - $(srcdir)/resources/TB_WhatsRelated_mo.gif \ - $(srcdir)/resources/StatusBar-insecure.gif \ - $(srcdir)/resources/StatusBar-secure.gif \ - $(srcdir)/resources/TB_NewBack.gif \ - $(srcdir)/resources/TB_NewForward.gif \ - $(srcdir)/resources/TB_NewReload.gif \ - $(srcdir)/resources/TB_NewStop.gif \ - $(srcdir)/resources/TB_NewHome.gif \ - $(srcdir)/resources/TB_NewPrint.gif \ - $(srcdir)/resources/grippy-horizontal-before.gif \ - $(srcdir)/resources/grippy-horizontal-after.gif \ - $(srcdir)/resources/grippy-vertical-before.gif \ - $(srcdir)/resources/grippy-vertical-after.gif \ - $(NULL) - -EXPORT_RESOURCE_THROBBER = $(srcdir)/resources/throbbingN.gif - -include $(topsrcdir)/config/rules.mk - -install:: - $(INSTALL) $(EXPORT_RESOURCE_TOOLBAR) $(DIST)/bin/res/toolbar - $(INSTALL) $(EXPORT_RESOURCE_THROBBER) $(DIST)/bin/res/throbber - diff --git a/xpfe/AppCores/xul/Password.html b/xpfe/AppCores/xul/Password.html deleted file mode 100644 index 7d343c3cc06d..000000000000 --- a/xpfe/AppCores/xul/Password.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - -
-

- - - - -
- - - - - - - - - -
Name:
Password:
-
- - - - - - diff --git a/xpfe/AppCores/xul/resources/.cvsignore b/xpfe/AppCores/xul/resources/.cvsignore deleted file mode 100644 index ccfc2ede9edd..000000000000 --- a/xpfe/AppCores/xul/resources/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -.xvpics - diff --git a/xpfe/AppCores/xul/resources/DialogAddrIcon.gif b/xpfe/AppCores/xul/resources/DialogAddrIcon.gif deleted file mode 100644 index ca4d401bd3ea7e1d7e0740f52c1da1903f3d874a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 342 zcmZ?wbhEHbRACTfXklOg;g%Ld!{p@Tb6_Tr*D{A8c~0`2IdlFWJ9g~coaA%o{{K%l z{Qn&7WVnsHuAC z`l1D`9?U&1>zDGaT574?x~Xqx4``7QiaG8_& s{+YG6PpC8V@I2^$UG?@&>mBXqmHqR-zWsLVsphR6|8^KSF)&yI00_;rC;$Ke diff --git a/xpfe/AppCores/xul/resources/DialogAddrIcon_mo.gif b/xpfe/AppCores/xul/resources/DialogAddrIcon_mo.gif deleted file mode 100644 index 3a74734b2f632bf5ca20bcb0c797e065ca316cb6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 352 zcmZ?wbhEHbRACTfXkh??{~)TR1xOnjCMPGKgYa5fTIMh$&zbZ8z<~qj<|Lmx_y0do zX|f@Z`u`uuAr>h9WMSlDkY~^VSp~9_f%WbK^}dwMc^Rv^{C}@8P(EMu$c}?)vBwkl z#s?3?8y!k^3-v0>a0sw#Jer~MRjF@H^9y6YiJ>iL7L*#;J^x}DrER0+X@(em4n?QClu>N?U-j|X&FT+df7$-x#((2614gr_@3jXlwOP&07@M+Qf zF#V6r46Q23A1k8G8X3g6ug;Jv+@96Pc_fXyb*`t^U#4TeN4XpBP2(`1le|CQ;!u4G zbCG_j23tjJLS20?Z;E~dZ>FXWi$HC?W#5G2M5{8jX=Z(MeCP3-S!HIaE|y=~zg$1j zf~{mqd&jCeUgpgVyekECcC1xjTx(FgWu+(Qv4ClfXSTSraa;`WWMk&wlRtCFoT>GA z00#%ZJO|_1SSF^n+bW!V{BLhQei-TVMfDrs66*wJCky6(|JDi^8ZBH)_8oN Vk%3PzZRUy#i&pD!*#iUB8UXYQtBC*r diff --git a/xpfe/AppCores/xul/resources/DialogCompIcon_mo.gif b/xpfe/AppCores/xul/resources/DialogCompIcon_mo.gif deleted file mode 100644 index 5d7c5a5f6376d3c73446509146676e76c8e5d6e4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 393 zcmZ?wbhEHbRACTfXkmbW77(kYMNv`FaL%0MgX z|DWOie-K3^Q2fcl$i*PfpaZfAWG4gbzX$4lDVg&!yyT8^GR$`p$oge7>B|=7KZ28( z8p5RS+F5$Ke9!#ZaHw&;hL=;(>8HjV6NDmkt}tuvRNE}nz;{cQiI0u>{FE)%E@$f< zmgS$$U=iLF7Ae3Vz+BD3P^-b-kZvg;C^)$-hlRPDzerQ3VRCB3wDy>877O!)zWzq9 z)Tv9Imh%gmTNf3p&R@4=hVx3x{@yhWQ#LX$JFrb?{*ifW1*W&>t=Q(v)ic+1e%sCE z2dvI=-r8lV!^|lle|4(`lm6`xWll~(c}~XD$xKY=KP!p&oSJ^%)(mlW5e5^*0>%~= rjy#Wq=>-cp<@g0zEH*GVFcpg>Yd9<@Og?0;!0tTh&R4Y*4hCxgv3jcb diff --git a/xpfe/AppCores/xul/resources/DialogMailIcon.gif b/xpfe/AppCores/xul/resources/DialogMailIcon.gif deleted file mode 100644 index c16ba603c86a19ea70aa8cc6839c109eeeaa233a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 330 zcmZ?wbhEHbRACTfc+3C<{}~Jo8Cn<=6%`E)larIrwY0R%ne+d^fdl72;QxQ1ivK_g z3KV~`Fmf^QGw6V{g3MrG`TpUg=jy!{=a=oSXE@;LwbAEUyXl)pcDxHb5?6-ltv-A< zanrubzKe`Ck{X!2m-XDtTiE6xV6kb9W5TNB7n>y5v>v~R((!)o)OJ8mgfF>GAurct zW~PthLA4%HE*{oGZ|?H8)+{kE)g1oDX4OXaHU^$4tkY&Ni1(g*rt4nzL*+IOZCmv}Np(xGG^VvUZrxg{+p>q=OdP#YKQLf+zmQ?rD^`buiqM4-~Gz|_V@3M89^+km!H4A-+_ZsZo*=v z2uDp$Wi62{0*&3F@0xsV0(4`Kmx#u5T$a#?Hg%lA|K{Yz6-!c1O*Kf4n>ka7g~1vC Ds4KZ! diff --git a/xpfe/AppCores/xul/resources/DialogNavIcon.gif b/xpfe/AppCores/xul/resources/DialogNavIcon.gif deleted file mode 100644 index 14c49e039a3c4b368d0ddac63e98284fae467af9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 317 zcmZ?wbhEHbRACTfc+9|HXqcRwe6FR1p{1o|&Yb@T4jecK0{{R2XZZggM4^@sO zfw6C|gW&`Vnf5tK8VU@tOdFdYFda3i+{oENX*xNIOiW``184B}U)mphy^m^DGblanA{k%(_JH};9Ip&^{{Cj; z(=29d++XM?wb=PxXFPpN{?&oAVQN;o`=1^Zn)FO1#`@5i`z-1vEXTT^D>5-y0|16= Bhk^hA diff --git a/xpfe/AppCores/xul/resources/DialogNavIcon_mo.gif b/xpfe/AppCores/xul/resources/DialogNavIcon_mo.gif deleted file mode 100644 index 6379496fabe9c4dc1c8b7f2e8f2089d501d3757a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 314 zcmZ?wbhEHbRACTfc+9|HXqcRwe6FR1p{1o|&Yb@T4jecK0{{R2XZZggM40A zywXBjH%1FD_DbdAbmpc)CNGZ`EG z3+pANqP!N`Su=0pH)M=kv`m+2H}fjyJ!UF}b}AfsMn-Ck%<3mj$?4SywN&sg^SyHQ xxY;VV=la=dcD~o1+?0E{=R~NQ)y9)g_v+iS2w&@Y^Z5HCIo50rTNeffYXF)ngbM%w diff --git a/xpfe/AppCores/xul/resources/Mail_Forward.gif b/xpfe/AppCores/xul/resources/Mail_Forward.gif deleted file mode 100644 index ec31a205c6269f37f743d985df80d3362009c5df..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1015 zcmZ?wbhEHb6lV}+_|5Hk1# z6pV(z@C*UPpDc_F3>*wPpsWDO6ATU~qkVm$LVq>=`Sc9`QJTY47Qo r4vnkJY^~%Rc5QinW|6Ei!<&o6FQ%?iyyq(`{p9tn`b=vc4hCxgfBr~~ diff --git a/xpfe/AppCores/xul/resources/Mail_GetMsg.gif b/xpfe/AppCores/xul/resources/Mail_GetMsg.gif deleted file mode 100644 index 0a5d01c3fd9d1101be8c8285e1fb9493e236a140..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1044 zcmZ?wbhEHb6lV}+_|5>7CdN}uj0rhp{20Q zZ?UcUt0kU+3mcetm~C$0rsG{_Z_-V?om<)>C>fUY9c@ zGnKH48B8cGPMg)iX~5>N{lEdHf~`sq_LMR(v=(#kQqzrm%W#LEn@6En>frm9b*6Fx TdVvT1FPtj<-?G+Ffx#L8j>ApK diff --git a/xpfe/AppCores/xul/resources/Mail_NewMsg.gif b/xpfe/AppCores/xul/resources/Mail_NewMsg.gif deleted file mode 100644 index 47cf12ac53ee9f5453b73ea49b82bb4ec4d8caa5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1032 zcmZ?wbhEHb6lV}+_|5$>&-afJ`82nKS4AfddE5%}G9Y?*IS)4FCUw zs8KK)0>dl>6o0ZXGB9v5=zwwpC{HkOJY^8(knz~C;9w&IgN((FgoMLwEUYRa5f>Vp zS$Snu5)?Kx9$*#{)|1JYc#w%*CRmBZvT#W=8*jiN8-~pb4o%?F)oZxf(AYGeM=Bvk zlcCY0TSJ)PujU06Cl;2dc{)FX9WN|o$@j9oIr*6%6FdI~5zUguldBUBZ{kT<;K0n{ zGv)sp@GqTdpDx%uYVIW~R)j$Dg%FB#_ust5EQ_;8bTc`E;s*yy~RyYs`_|MBiwkj1Rb J&BnrD4FF`#L9+k= diff --git a/xpfe/AppCores/xul/resources/Mail_Reply.gif b/xpfe/AppCores/xul/resources/Mail_Reply.gif deleted file mode 100644 index a90ad33fde390f85c8debc8cd2f8a28c4abb8cd1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1016 zcmZ?wbhEHb6lV}+_|5>v zFl<9W@h1x-0|PsQ4k#;t@&p6NRR(?z8IKJM4mNXe@lV=43!L4JWx3`K{>grWM+V>_jHb;I++;_4ULmjmANb$9wZ)~ z!p+m8vSNWM6C-n%R78Y>LIW$;lxZeAAFO0p8N#Y|V3w)c^*I^6d@HIPQiIpBOtPD^ zdfMBoGmC34EtUS}&@|K6o$rFRVNyJk8uMhCoCb!&$8$It9Hbd^n-2D|X52foO`YL9 on-I$f>xza3rWL`$KCuo;3{0G2^V}i@wz^!-$$YIQA;4e_0D3Gz&j0`b diff --git a/xpfe/AppCores/xul/resources/Mail_SendMsg.gif b/xpfe/AppCores/xul/resources/Mail_SendMsg.gif deleted file mode 100644 index 047fa123af33a1990fff03d9f6d45c928f1c0684..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1006 zcmZ?wbhEHb6lV}+_|5>v zFl<9W@h1x-0|PsQ4k#;t@&p6NX$F1{8IKJM4mNWLt1wJpSa_I)Ma0A8!UaXg4h|6= zjtvfs49sGhQUMbL9UCS~YRdT}FgP5aq>{XBjmCtfr>7fnKhWWPz`)4FCdOeKpr97m zY31D&(&3Q7IKx#?CX}nefpI=d%pskhCd(MRSUGrn8WdiH&E#U)vM1`p@~|zb(w9s; zuC4KzXxk|!qi|tu0BeQgtG!iUpGUChX>$GWn6e?Rsisyb?#EV#h|@WoQt!Ag9`Ij1 djlU~5TC_N=omq*SC%5pyvuleI<#{+5tN|6jJWl`s diff --git a/xpfe/AppCores/xul/resources/StatusBar-insecure.gif b/xpfe/AppCores/xul/resources/StatusBar-insecure.gif deleted file mode 100644 index 81e7683cd1d1ee71707f7ac0b9e061ca1a91c27f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 157 zcmZ?wbhEHb6ky{>$66Q|T3UeU*iwd;rRTmMJ9g|p22lLT!pOzI z&!7X+2{MC$#p}aK&(%wnyKA3TbUfsY{l;*lVS@Ni+k>xCxBTX1_^`s^p}2{xtALY4 qKg+|G4hxI9noC{>$CjS^e(cz>|Nj~O;|7X9Ss1w(SQ&IcIzeVI zumo=K$XunHmXvdhL198_u&IFP!miub1eq$jR6@^0I&4_dD%})&^r<2biwFNCRZBs> pRWFKu7*(yi+-a=U8#p(7P5AF8tClGj{IFQ2aKFi+LxhpR8US^=OZfl* diff --git a/xpfe/AppCores/xul/resources/TB_Back.gif b/xpfe/AppCores/xul/resources/TB_Back.gif deleted file mode 100644 index 15099b4846c46db91b79c1a8b1a4f119f0d15b46..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 147 zcmV;E0Brw9Nk%w1VHW@u0HXf@|NsBY%*<3-T5ZMuj6U7SVFU)5@pHkRM0mG06Uem BKJWkl diff --git a/xpfe/AppCores/xul/resources/TB_Back_dis.gif b/xpfe/AppCores/xul/resources/TB_Back_dis.gif deleted file mode 100644 index 15099b4846c46db91b79c1a8b1a4f119f0d15b46..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 147 zcmV;E0Brw9Nk%w1VHW@u0HXf@|NsBY%*<3-T5ZMuj6U7SVFU)5@pHkRM0mG06Uem BKJWkl diff --git a/xpfe/AppCores/xul/resources/TB_Back_mo.gif b/xpfe/AppCores/xul/resources/TB_Back_mo.gif deleted file mode 100644 index 15099b4846c46db91b79c1a8b1a4f119f0d15b46..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 147 zcmV;E0Brw9Nk%w1VHW@u0HXf@|NsBY%*<3-T5ZMuj6U7SVFU)5@pHkRM0mG06Uem BKJWkl diff --git a/xpfe/AppCores/xul/resources/TB_Bookmarks.gif b/xpfe/AppCores/xul/resources/TB_Bookmarks.gif deleted file mode 100644 index 5b1e2fa4a83f169b57cbc38ea39f23f6a11daba2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 938 zcmc(e&5O-(6o=2;?qY@&#wbmd0jspC06e}wPu-1GK)KIeB2P9E5{{ZvPm%deEobPqFEHB}Yi zm*BTd%haTRC?dl%EJHJ-k{-0BTe_x8)mo%^nx$!)RI5g+r&_9}O0AMe@f1tZ6ar>5 znprecEw!hfM_7bLNUbFT(JfrVr6@>RL5FFW6cn}Up%$v40wb*<9%3OH!d9pm1~iml zkz+BlOFf;GmY{m(uI^Ie*hz#trfyPNK_IE+m#ZKhB5GaCMP1N_88Fg~7l?-dc_1?k zVh||>g00LhJ^?O+XN?+0|A#k{OLy-(x@Z56$z$UiHnqO|kdfc*K9SEdRy6f5 zk^YM^J1~4`=6>&L|BCe|-YkBVR=d*~+;#W#-t)@_4!;`euG!kRYRl^O!tA%#H-|P} zY0p1@Jaww~XIoEiT$ujwVB*^7$8{^e bAHTkK&R)Kq>3({4viD?o>cv>ED-(YKbajM_ diff --git a/xpfe/AppCores/xul/resources/TB_Bookmarks_mo.gif b/xpfe/AppCores/xul/resources/TB_Bookmarks_mo.gif deleted file mode 100644 index dfdbd056f78c4f95b93f47333adeb43700492a42..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 949 zcmc(eyKB{942IKs#1_H9A~@92f}n`4msF^_)JtuTcta2bMXX>zC{AuJ7D3!p95lET zieLpn7hObjvzQjC9R$J6O+j$bPVvdlKf=RVK9an7-Z$rrw~vhMo$QnK@;fCnBho$G z-HflP@>LN^k?EP1sYxd2@uIW;}7HOVlX__WAs*&ocma3^zJ0(&) z#Zokd2iir!B(2nilS5aEHhD#w(G!L^d4U;0GS3T51HBLXcQwKSdKYAvmJNG(@zMEDp(z3;<-B z2%y0vuHZ!sTqXg6fR$(?Ep?OXrYszX*zm+cUjKdsm11++DmK@uP@5Z6Zxd@}+~ifG zO#~HrAE2=x_c*{&%C?Y)wAvV`=2w@tJd`OZ63XM>Cn`g&fbT&kB^Q|wT7+^Z(N#f z-`y~Hq18R}_``$2?*6lFc{~4T)8(aO^S@>nZ|#|Uv%GSDa^cR%>i(^#t__UI#O%7! rkIQolPqxf0zWy_Oi~eRMvqu^cK)tc?nHyBHX(0e8PR A+W-In diff --git a/xpfe/AppCores/xul/resources/TB_EditPage.gif b/xpfe/AppCores/xul/resources/TB_EditPage.gif deleted file mode 100644 index 0c0a525101484ff00f8a1d684ef912b176c3504c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 268 zcmZ?wbhEHb6lV}+c+3C-4GauvX=e@`IKa@*@Sov-Lqo&Nng4;p|3LsGt)!&X08|79 zia%Kx85md@bU-|i84N5tH=Kylakl5e#mgs~FA57X GSOWmHv|Hr> diff --git a/xpfe/AppCores/xul/resources/TB_Forward.gif b/xpfe/AppCores/xul/resources/TB_Forward.gif deleted file mode 100644 index 4e36986f54e7c34c5a0f560888b431f5323be063..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 146 zcmV;D0B!$ANk%w1VHW@u0HXf@|NsBY%*<?zjsoKWbE7zc4 O=eN#F&kqbP3IID)Ix2Jk diff --git a/xpfe/AppCores/xul/resources/TB_HTab_mo.gif b/xpfe/AppCores/xul/resources/TB_HTab_mo.gif deleted file mode 100644 index 3b0a1f07f0c60f7559b75b620b8b8b1b2d78f680..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 120 zcmV-;0EhoaNk%w1VK@K^0FnOy($fFT%>QO)ng9R)A^!_OL{CCRI!RJ7E-(V#?EoS9 z1OWg50{|=l0000u015yA0ymtGsmtvKqMWqai!ltm`wxcV7y_GsqU6f9<^XVMOV{5U a%l2O5{NLLEha_C)h)h}@%%*cu0028*ZZcy4 diff --git a/xpfe/AppCores/xul/resources/TB_Home.gif b/xpfe/AppCores/xul/resources/TB_Home.gif deleted file mode 100644 index 44fd2b4b5dd367e87b84f56083b5b65ca5808178..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 144 zcmZ?wbhEHb6lV}+*!-X2|NsAI&Ya0E+mclZM4PipHfI!XW?*1AaNq!t!~}{zSr{1@ zI2d$5QXn%NSZoDOdamB9#4S>F;kIdGidxcx%*MD?`#wm8ul!wAar|IT`uPJ7e3V_L cINA7iSG;;!H*Jo|%*a`Bei?F;kIdGidxcx%*MD?`#wm8ul!wAar|IT`uPJ7e3V_L cINA7iSG;;!H*Jo|%*a`Bei?2L(Tc#c|Q|o|;AcHjk+_zG{ diff --git a/xpfe/AppCores/xul/resources/TB_Location.gif b/xpfe/AppCores/xul/resources/TB_Location.gif deleted file mode 100644 index bb50ef03d7fb9ac295fb6eb15da56addabb882d6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 91 zcmZ?wbhEHb6krfwnE0RJ|NsAKX)}Q&0|SHNe{M$?ezD^I`W_n)zaE!Fs3>F3Ux5RJGX$)&Gei7;3L0F@RW3;+NC diff --git a/xpfe/AppCores/xul/resources/TB_Location_mo.gif b/xpfe/AppCores/xul/resources/TB_Location_mo.gif deleted file mode 100644 index 335a3a588a6fd068e5166663d226705bc1bbb9c1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 103 zcmZ?wbhEHb6krfwnE0RJ%$ff)XP!w*oB99$f5rdYjxPRAu2!BwhI$4}_ueun{$ycf zU|?p@VE_V<4hAN*IsGda<{pX>3Q&rQK47EQS9y{xEnZVeg^lA9*OqHyr;XE}{+cJk GU=09pcq7FC diff --git a/xpfe/AppCores/xul/resources/TB_MiniAddr.gif b/xpfe/AppCores/xul/resources/TB_MiniAddr.gif deleted file mode 100644 index fde1f7b424ba498b251ce8fce367ba1e8680210f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 171 zcmZ?wbhEHblxE;#SoELa|NsBK&TYu2Pl@V?y5^PK(8UJrvL?~W@x zjaw35C23u%YMK-zwl`(|(WA+GLRAV&$5kxr^C0pEu7doH>7fwEpu`9N{i! z-@Rb&%(0#MbY_=VW9Vw0L&>TP4Av)}NOCW^mcFu>X~xBAmr{;$iEi!vl)Q(p)veXU g(L-YIvB_T?0|Yn%OdM>d^KdZpGcgs)2r^g$0NqGLNB{r; diff --git a/xpfe/AppCores/xul/resources/TB_MiniMail.gif b/xpfe/AppCores/xul/resources/TB_MiniMail.gif deleted file mode 100644 index 6baf0cddc44fafe9f886ff9a90dcc507f37304fc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 180 zcmV;l089TzNk%w1VH*Gr0HXf@|NsB>_4%Ke&t_(sV`G$BT9g0)0KmY&A^8LW000L7 zEC2ui02=@f06+s>c&gL>(5*RuXcp+)L=eC*EtO!ND9Vk@=DL9^vJ95qXGoXY1%VmR zY{c_LKtLVsPf`Rj~`|p5uUVBc35db?6YEN+h diff --git a/xpfe/AppCores/xul/resources/TB_MiniNav.gif b/xpfe/AppCores/xul/resources/TB_MiniNav.gif deleted file mode 100644 index 4b04beb02242e197e020971eb45eb0a533187cd6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 192 zcmZ?wbhEHblxE;#*!-X2|NsAAzy8e6pO=?6FC$}idit!iw3!SH37{axNaxr`F@j%ID$aog*aH6ciK{6%`g178e&67#J8C85tTH8XFrM z92^`S9UUGX9v>ecARr(iAt53nA|oRsBqSsyB_$>%CMPE+C@3f?DJd!{Dl021EG#T7 zEiEoCE-x=HFfcGNF)=bSGBYzXG&D3dH8nOiHa9mnI5;>tIXOByIy*Z%JUl!-Jv}}? zK0iM{KtMo2K|w-7LPJACL_|bIMMXwNMn^|SNJvOYNl8jdN=r*iOiWBoO-)WtPESuy zP*6}&QBhJ-Qd3h?R8&+|RaI72R##V7SXfwDSy@_IT3cINTwGjTU0q&YUSD5dU|?Wj zVPRroVq;@tWMpJzWo2e&W@l$-XlQ6@X=!R|YHMq2Y;0_8ZEbFDZf|dIaBy&OadC2T za&vQYbaZreb#-=jc6WDoczAeud3kzzdV70&e0+R;eSLm@et&;|fPjF3fq{a8f`fyD zgoK2Jg@uNOhKGlTh=_=ZiHVAeii?YjjEszpjg5|uj*pLzkdTm(k&%*;l9Q8@l$4Z} zm6ev3mY0{8n3$NEnVFiJnwy)OoSdAUot>VZo}ZteprD|kp`oIpqNAguq@<*!rKP5( zrl+T;sHmu^si~@}s;jH3tgNi9t*x%EuCK4Ju&}VPv9YqUva_?Zw6wIfwY9dkwzs#p zxVX5vxw*Q!y1To(yu7@dCU$jHda z$;ryf%FD~k%*@Qq&CSlv&d<-!(9qD)(b3Y<($mw^)YR0~)z#M4*4Nk9*x1lt)=I7_<=;-L_>FMg~>g((4 z?Ck9A?d|UF?(gsK@bK{Q@$vHV^7Hfa^z`)g_4W4l_V@Sq`1ttw`T6?#`uqF){QUg= z{r&#_{{R2~A^8LW3IP59EC2ui01E&P000O!0R0IZNRSZ0gZ>N>TF7u=LVy1vN{sjr j;Xs8A89tmiv7*I?88sT@DAA)uj3GCY{AUs&p@0B8TVjPm3Q*Zam&?Z0zB=Rk c)uckY)~umOPOY;!T*9MIr6faFkips-05FV7CjbBd diff --git a/xpfe/AppCores/xul/resources/TB_Netscape_mo.gif b/xpfe/AppCores/xul/resources/TB_Netscape_mo.gif deleted file mode 100644 index 57584edb760e938c1e54dd282a6ab40ac25f00ff..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 213 zcmZ?wbhEHb6lV}+*!-X2KM0&ZfBygc8RzHEn4gw5)4(8sfq~(`fdfDi6Da;af~|HmfE}eXWN2ejl%fsyrt_2J12wriF_ZFImh2WCH*?SxnUc diff --git a/xpfe/AppCores/xul/resources/TB_NewBack.gif b/xpfe/AppCores/xul/resources/TB_NewBack.gif deleted file mode 100644 index 8ed9acd40018ccee196132dcfe3a0dbb7a4fe187..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 926 zcmd^;v1=7U5QirqvLNUgBsqdXR*-m*DA&0rg`CkO3l=T`;kvLOF<0qp#I3}&(GA3S zXwWOPxJFos#WungqAa3t5|CGjJ}lG&5sp+(t9AW5oN|hp-}eo(uypB|R9Ti)Rn>K^wKm2$=lcDA+qPZT zA%F_N7F5vGQB>x{3f7}(PB6ou7-j_LS>hD)5>bK`gDj0niqj%qYG`=)K}U|_UX-Z#Uc>pI)E#(Os$TFxoPfdaZ=GiV)35O|0MPBo2-#5h~jm9aJ? z4oJM$W1Od17ElvHlylNr8rZ5Tmr@uLEM%NBA$nSqJf}(pHL+5F5QH_1fl_AB_G~9B zLn_au2Fx<)fq9bGkXC?I6my7t6gxm+L(?>UYh4f)JXzZ)Rh4CsXSEJZBV{E-NN3B^ zD5a&Wg{XSH(m5|gT@DV9^#6VWkbslu z@Z$E9SGV>aS-By%pPspWckJ}s@72-Q`$nhsFJIry=GPCTGoQAu9-ZHuoV@mVb@$%; zhlgf1-^eTM!lUHukGbRbzb>sGySVmiY2)p?jjidO<%y3|J9kcupZk(5Pc7a&ID6Ut aeDQ7J`NHEh`EmnYda(TA+4qSEX8!_)@+v6+ diff --git a/xpfe/AppCores/xul/resources/TB_NewForward.gif b/xpfe/AppCores/xul/resources/TB_NewForward.gif deleted file mode 100644 index fdbcaab7ff753ace96330223e1595a376a81b3d7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 922 zcmd^;v1=DG6vtoD;kwA#(l$a%i3oB~&~q{>Do3$3gJ=q(hk`W@!foDAF@i&570poW z;dG!y53CsI62T#Y4jB|~{Ea^lgd1=CDTp!sJAC6C-ur$&kGFL3!b!3^1Jf`9@ZLvJ z6vr__2xFWiNt&jFkSxn6rHrvW&pGEsQ3xTVluD_ps_MFKnnr7FjB(Bl27|8a`o50< zY5-eMK~qPgDkoO3lBPMq41;2r5u9gHN$D|Wl)5<15RwQf zfN&5DkOE`?9D~auPh&?waHt(HMVSK>ggMIK|EsZ)$G`WF0nEU{9{t`=K(q$OqS@u$ z*I(B6&96R?yW8gUm%iTraofp>`Hern?(%Fan%}vxv&p|#TgO+Q zk@D@*`qa_S3)fy8p__-+CLZ1yU%B$;#Ld66-|ih;+?<^|JN4=5&*kmOM=#a;mBUwG St(-eBmwfzi{mIxEoc;%^AtUqv diff --git a/xpfe/AppCores/xul/resources/TB_NewHome.gif b/xpfe/AppCores/xul/resources/TB_NewHome.gif deleted file mode 100644 index 532326d93219296f25aac5ff46d002a0191e863f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 943 zcmd^;ziSmi5XUDH$svOG5OGDD#b7v%$XU6*h;on^7mcum#i504W4Q9A2yUfr5pWGr zPO&(GzYeiD2*TRPf=XCaO2*VH|gfWhyD2`)7NRlL!QpQ-CrkwLE%Y+b8N~Khu=S5MJWm#2~*4kRz>-Flo zZki?lC;&`G1&u8Y@{}0CIy6oRW*8L1jNmkhtYS_Elwidmi4lo$93jpkMkB2&V=8NP zx9cZY{l4k-bX}W%UssiKt~(gmrZIJ`owI|1;hbXZDWDm2`?U?C030BJt6a5LpQPhHkgpGsb#h-jgw1rHVZF@=R6vrk1i0 z!lyHNu9d2!EQKgKo!nX{M44r|QnoA`ACdE1N}FY6nkvo<#$=XNX__;p2+1f_QaX$o zr8W!`gd{==z#jwy!~h8Z$6%Ad(a;hQ9106eQDy;oVU{xZ|7vL9@Ye7Uz6A|9GYHv^8QY+_sFXJ^x)jZU9Hn{VYaopurr#uIrn32QtcSK_HMQHY;tK&dvRiG zdi3MngYD$c!rJ=b1EV8v@>ffvGmFEs%M;(1@YmbN<4b>U{MvZ_^76>ZGn=nB)*naW t=ZpDoPp{l+AEWm+ACC3zx6UqqiB`rxl#ftyHJv;9`R)Agsoepz{{iP|GX($u diff --git a/xpfe/AppCores/xul/resources/TB_NewPrint.gif b/xpfe/AppCores/xul/resources/TB_NewPrint.gif deleted file mode 100644 index 1025ad06239b39afc8d953c04b996220037f0598..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 940 zcmZ?wbhEHb6lV}+_|Cv!Y@EjMpCK*n%z*<3{xkecu8JDmEGdgFOTkf3h$#FfcRdfE)_S6AT=k4D1{-9vc=oHZuun#mxAi;K<0w>eOSA zu*kVvTrOV diff --git a/xpfe/AppCores/xul/resources/TB_NewReload.gif b/xpfe/AppCores/xul/resources/TB_NewReload.gif deleted file mode 100644 index cc567dd45a472848dc0c9483538a5294f1b840f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 957 zcmd^;&ui5{5XYxlFnDR|4;n#yZb56LD(S^8T9H71ErNCR6hvsZhhk7#-bINA#RWlD zq!Lg{1hq{s5-7z55f`+FrKg}G4=+AY!5o8L9(q}~e}{9N!_4>d8D@NPY#2{_uopT2 z#u&$OT-WtH4s0<1h>fA(YZ6iWp;Y94AS_ITu2tX_{qOp65kTNGY|}tyZh5 zs=BTnfDAyzBq4z&P8wmA&?X5Yj3@#@5ydD9eJ!Zr4#7xJ2m=oXDDXW-eM)>O3#AIJ zWm($EMZ2w9Em>8n-Ihfmj43-EUDv9rq%peFQH&9UECtk^vR!G%cff#`pr9aL>`SfU zJd;Y<#1@G)o0PF23@xgUvCx_;MJ!vEMVu#6S_>g#G)bC8fuo2BVbyp-fa8E&Ln#O$ z+f`H5Jd-#xj2D1t$PG|~qa1<^kZ?T)u5mpLj@?j}WlJe-g;`HZl|p1`YUQb-uuaK% zmLxWvN>eFB!Fiq}S+kjHZIUF9<5UQp=e3QHEVM`d7z$b{yZ}^SiX@JFsy2M(^zAGP23gH^z1wZ$ zx&%N2xQYl;c#_l%J3)J-U>H#ZiXw^;D|4@CkO{#^Q7DTH7pTZHPIF3fYmIZpd)x2F z$!0Wi!=Y_kHyT-ER0#d?*ms?4TN{EOj~(X(p-2JUxIb!rk|z)#6R0pGt8(jI)oANn zOdOGTuSYpA$}*zn7%T6kb0o59&7>68Mhhk9REVB2m@%SMRFf$MNdj>VrJ$4@wLRBK zZLtnq8bGv^0cgOifkFdPX~rQ9Y33n`8~XkJ&^aH4MNiK4mC|(`%BnJq)s!lXD?*f%0U=6=Pt!8X zWR@v_cn}0o0F(e6fiIIlQjbA!&>pBF)I%19c|zg;tBG+yegUh<8B-bwN_jENWp$Os%an0h=&khIs4K}_7P^F< z1-&xKOQ~BEU0Jw7x+&AEDg8F;mz3Tp^|JBH#&!K2&hjkI`F=j9b7XFIhAbf13?l&V zeH2A;93zA<#z~T-X-WvmvW!y77|ZjVb6ymM5JF0+lq$=zs;auKwbsTM=iFd0Xxp~y zx(J{Gumu$~bu=n-Vg>8dG$)v0Pz*DI^DJ?Sc^OfH6@x5AB*kfhI7=8!jM3I==S1PdAGOo+bLB+sc*K@Cz0q6oqo#y}}EZ2Pv8 zl_8bqQUhk0^uRpHYe*}=Dn=Y)A0r1**w8f1z*-lC1y9yCN>ybUAqAyMN{=z4)Wvaz zkVHrUgo9v!6d(iO7+e;48ao1lL*;-e${e5|%uxpaU-d>F|6bPv*aEx%(f|7ih_1j? zwEgJv(%Z#oeBzS)zIyQbhVeb8J}rNFe`Dh=rY`orUc0$Io!qu|VPfw1R&wCMS$6u^ z;*R+UW=Z!N(9 diff --git a/xpfe/AppCores/xul/resources/TB_PersonalIcon.gif b/xpfe/AppCores/xul/resources/TB_PersonalIcon.gif deleted file mode 100644 index 10bc3bf1b67066388d14105dc0f3905e54585856..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 879 zcmc(eu}T(T6o%hKLa9K|aA`3mLZY;@s4W$#*&?(BE-hzh^b!(jYmKv25HvJscOViK zou#d*J8%xC({sL?@Ed+O|M#8uJnwt{e|u+ZZT;oEuIpc^s@$V0tN8RPE54-4tc*&p zv`Y15WJOeXg;l8EdKSIzNcCWhtgYjTq2Sg2f$!(MB3An$?E7=6Hlf zsQodPid@{n)pnua(mc$#nTrsK8TUZ(oRqOjj)Vat-DCj}Zm|b4Vi3~_6A(;A8)@}^ z`Zd?o9I-A^#2jO(OzQ28-8aQpXD@SXsG&yaz1xvvGmdC_)x&Kg4-dWhfz=MiB&7K* zup*Mf(-_4!7jPEp%A+T{k2g1Vp0D0rnfQCAh4aZv(jVPvn*Nt)YD34tpI<-ydbjf8@}wU8 E2grD72><{9 diff --git a/xpfe/AppCores/xul/resources/TB_Places.gif b/xpfe/AppCores/xul/resources/TB_Places.gif deleted file mode 100644 index 13baed032c8661e49b81603ca54eb4fe7fd65414..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 175 zcmZ?wbhEHb6lV}+IK%(~#>Q!BX=e@`IPjn0e?vpV%$fgzK=CIFBLf2qgAPaqNG$_% ziN~%x|BiG>#_ae$)7WL}Ofwd_FP6tVm;|OIG2J#>zx|w#SFGW>9HAhF1ZCg8raO*F z%uCoVWPD-yazw3dO_}vC**?EFWjQ}gI#~=OtCLi&zTRftyYhPU`-SHx@{6o-6J}-Q YuWblxZfPy4W9q7|Y_6Wn&&gm70P4a;hyVZp diff --git a/xpfe/AppCores/xul/resources/TB_Places_mo.gif b/xpfe/AppCores/xul/resources/TB_Places_mo.gif deleted file mode 100644 index 98a01e73d68998ec315e5c921fb90add76f98e70..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 223 zcmZ?wbhEHb6lV}+c+3C-#>Qz3|Nk@mXGlvsbKt-MAgiIFVdl*LK%k_g1Xh9|6o0ZX zGBB_)=zxSkW-zeyTsYymdasb6P|l5(CRNUI)}{{0sPdI!lN97P#2Llj4?XvG&zT%y zhEFN1yzC!-H#mqaF=B8K@wl<3d#Xmmsuo8_A31R@Jx%t7meKc5rp)@`DfH-r`P-uF z8~!&`*BCP}aJ9R3MvJi+bD24c_L^|9Gjh55v$Ho(nLa~?W%isJ9ar{66NOlo&0e)$ IRFJ_M01g#PJpcdz diff --git a/xpfe/AppCores/xul/resources/TB_Print.gif b/xpfe/AppCores/xul/resources/TB_Print.gif deleted file mode 100644 index 707faf7b6e777723345a26f415d6a50ec4d71af4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 203 zcmV;+05tzcNk%w1VHW@u0HXf@|NsBq-si@~-p0nxgoMUQN{j#i0KmY&A^8LW000L7 zEC2ui02cri06+suc)HyFs*pztl+e|TSNU1=jbv$sC~BT*Gg0Ejw^YJQL_iH}5vehXfiH!N1$%U$U#ZAhIQ)vK@tEv$z&D;whPW@5LmBRn}8xn@qX5yb~`cf zTAD`{db{-w)Of{qgPP3oJe3YjL=9?yf@*;|Z2*2CVT6MQ0Re_Ki4z4+SXe%ElNgm& RbdsAal!!y3rl%|s06Qs?Sp@(9 diff --git a/xpfe/AppCores/xul/resources/TB_Reload.gif b/xpfe/AppCores/xul/resources/TB_Reload.gif deleted file mode 100644 index a8a8872b19977a3f533b4d0babed8534966ad718..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 175 zcmZ?wbhEHb6lV}+*!-X2|NsAI&Ya09-?yzgOnpvl2%zAX;k-O-0DBuoIUJO+AO0l?h6ICnoG|5qIav; PJza3Nb#$e*AcHjk@KZs5 diff --git a/xpfe/AppCores/xul/resources/TB_Reload_mo.gif b/xpfe/AppCores/xul/resources/TB_Reload_mo.gif deleted file mode 100644 index a8a8872b19977a3f533b4d0babed8534966ad718..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 175 zcmZ?wbhEHb6lV}+*!-X2|NsAI&Ya09-?yzgOnpvl2%zAX;k-O-0DBuoIUJO+AO0l?h6ICnoG|5qIav; PJza3Nb#$e*AcHjk@KZs5 diff --git a/xpfe/AppCores/xul/resources/TB_Search.gif b/xpfe/AppCores/xul/resources/TB_Search.gif deleted file mode 100644 index 9bee557867479ec872643664307c4208e3f40889..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 113 zcmZ?wbhEHb6lV}+SoELa|NsAI&Ya09-0|$Vl;!hSv1_m|;9Uz+l zq}GAiEMwQ5drDqESIzyLblUeopn4yh>$C+1%N(WW`K&thLi=1v?s^5y$Frt9FFw7) QXt})4%sWrY+E^H@0j%CG3IG5A diff --git a/xpfe/AppCores/xul/resources/TB_Search_mo.gif b/xpfe/AppCores/xul/resources/TB_Search_mo.gif deleted file mode 100644 index 9bee557867479ec872643664307c4208e3f40889..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 113 zcmZ?wbhEHb6lV}+SoELa|NsAI&Ya09-0|$Vl;!hSv1_m|;9Uz+l zq}GAiEMwQ5drDqESIzyLblUeopn4yh>$C+1%N(WW`K&thLi=1v?s^5y$Frt9FFw7) QXt})4%sWrY+E^H@0j%CG3IG5A diff --git a/xpfe/AppCores/xul/resources/TB_Secure.gif b/xpfe/AppCores/xul/resources/TB_Secure.gif deleted file mode 100644 index 0b785181057a55e323d46c19c4de6ef9b31139e5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 224 zcmZ?wbhEHb6lV}+c+3C-#>Q!BX=e@`IPjn0e?vpV%$ffg7#jYA0E3c}5?Bd>Q2fcl z$iTqDpaT*DnZdx)JK==q>b*uUd)JF8tSG(Gu5dVk!_g^?sp^c@>q(w#?i^Qmv;Gc) zhsBzX8RrX<|Mc2$wkCuou=cHeawY49lnA51gRqm5Z0aGa#3ZVhbxinkU2Xb<*MC<1 zGduEJfw4v`Evqsouce?tA%TH)!UW;gcFpQ!1=e!y9v$}nGD%DJrlkp749Whf(ref0 KZx9z`um%8>7g8Dk diff --git a/xpfe/AppCores/xul/resources/TB_Secure_mo.gif b/xpfe/AppCores/xul/resources/TB_Secure_mo.gif deleted file mode 100644 index 42d87b3b5f59730f7e3bc699cf6007ecc45472eb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 264 zcmZ?wbhEHb6lV}+c+3C-#>Q!BX=e@`IPjn0e?vpV%$ffg7#jYA0E3c}5(5K}ivWs0 zSr{1@SQvCbLLf63Shh|$;kkNg$CD%0*Mr&wIh$0RX6bQqMyaaLIAOryXw!MC^IH3Z z0}YqAYHVb6Dh%P8Vb$Y*a*9meg=>aaB6&7lU%vcNuucbSOv8#3Tg_q^4L6wGxNUJD zU3>FIAG6{rd27x%4lONi?viFbA({4iGv`WK;i&db?H_3r_vU**nYKqB)6xPM7_0#+=O&Q= diff --git a/xpfe/AppCores/xul/resources/TB_TabSmall.gif b/xpfe/AppCores/xul/resources/TB_TabSmall.gif deleted file mode 100644 index 8111330aeef5a38a46ea2bece19dcb27a56c544f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 82 zcmZ?wbhEHb0utB!^TyG4Aua%Ku|6K diff --git a/xpfe/AppCores/xul/resources/TB_WhatsRelated.gif b/xpfe/AppCores/xul/resources/TB_WhatsRelated.gif deleted file mode 100644 index ccaf9af871a1dec2fc5691eac0842612cc4cdecc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 241 zcmZ?wbhEHblwlBJc+3CXw$4IdlFW zIB?+q|8xJrK=CIFBNqcdgAPb5$P5OSc^^)CuHI`R%5X@VQ_ah@k)gwoL*vmt*2rnW zg*ps&Hq4j)9B}h7`y<2Ce!1yF)lM!aufXCz3QQ{$1ftd`u(Y`gy>8)LEPmnRl#(5H z?e%Uo3Gsw5wJ0BaK7Xf#OgTSOZhmyVgc^6bc2x~mT~VwESB|zCUsSzG<8+q(TFy>o mPF;3RyJ+LN%IX@CwXAtlmP+e6Zr-XalDc-!frG+=4AuY)6j-VN diff --git a/xpfe/AppCores/xul/resources/TB_WhatsRelated_mo.gif b/xpfe/AppCores/xul/resources/TB_WhatsRelated_mo.gif deleted file mode 100644 index 70e8123302219a784d77954215e3d0788bcb7f7a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 309 zcmZ?wbhEHblwlBJXkh??76wC0hL#qFIsX~{|5sF0G&D>${6EKO&eG)MbJf+=EiEl` z=KMc!;J|;7{JH-m0>z&!j9d)z3_2jIKz1^)ZhD~Jmy$VeNfLuYfCQITciTh;PDhT4 zNBmC++3`4>X5woj=lSfI?gC*+0NrTctx#x L+wJ>j6d9}mg3OFB diff --git a/xpfe/AppCores/xul/resources/TB_popup.gif b/xpfe/AppCores/xul/resources/TB_popup.gif deleted file mode 100644 index 33779709b8969997fe497775da005c53e663cdb4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 67 zcmZ?wbhEHb6krfwnE0RJ|Ns9C3=9Vj8~~DvKUo+V7?>DzfNY?w0D}XQ$dvw-2iEd0 Vp0j0B*XDa`nQ!JkieO-{1^}gf70dtt diff --git a/xpfe/AppCores/xul/resources/grippy-horizontal-after.gif b/xpfe/AppCores/xul/resources/grippy-horizontal-after.gif deleted file mode 100644 index 71be69083efaa15f2b57c2a3a73929bec0353d48..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 157 zcmZ?wbhEHbWML>~*v!CSXqbHL*s=da1I3>#j0_Bn3_1)z05ZdY#mnFXLz=*~YqOsp zlT~d@+}0XDbJ5~kK?gLCZn{1(sqOllwb|wm&Zpm;*`az?ZCXufnE&&Q;!FJso!0nU WPfm-yrmww+wYYeN>UkkX25SIG3s$25 diff --git a/xpfe/AppCores/xul/resources/grippy-horizontal-before.gif b/xpfe/AppCores/xul/resources/grippy-horizontal-before.gif deleted file mode 100644 index 6be9bc4f400a8649794f0e26a10d898af3dd3698..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 157 zcmZ?wbhEHbWML>~*v!CSXqbHL*s=da1I3>#j0_Bn3_1)z05ZdY#mnFX=aLx~R|+=Y znaf_K;@Y=7bkU+!jMA*jBUe#j0_Bn3_1)z05ZdY#m?XaL)Ki2*JpSC zPq-0zeFdYC*U~qyRuxF^FY>)#oR|J8B8kb#j0_Bn3_1)z05ZdY#n#{i=d!&Pug~uO zAHS7RC9`wI6t?Wu`*hwM`;v3|M`TxIC#O(?g9ndP`*EeBl{sqjeO45E8aA%Gv8L>F IF9U-$0KE=Rn*aa+ diff --git a/xpfe/AppCores/xul/resources/throbbingN.gif b/xpfe/AppCores/xul/resources/throbbingN.gif deleted file mode 100644 index b8d95fbec898161ef964e29b46d05ccbd3e0ed94..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 17637 zcmeI3!A~3M8OF!hiYF~HvpG@8j69nhtBUN2!L%}lO}Ce-Qu_z2H#zhe#SshX#a=88 zhbXmr%E3hJ{snaJ5m2gzNRgA?$R*`~)*O(qnn+bIq|fubg9|EXsWwZs+YbpCfAjM@ z?|k2H-to+Q{`oI%OvJU&3%%DKf7bN7rhjXAwYIjtzTRjw-lF}j_g4S#A4~X&{+aWB z;00dv_J_ax@HfAnnf}#>AN*uIn*sY{{32-RdAY+NY6Vq)x!!H|I`u-;$IDso@jqVu z?%?zKPRzD@2aofAyXyUPZoBqmYN=~&`<1!T$a}n5C=Z9PUszjzb+ZtWYwoY!3@7>C z+24;Dw^K{T=AO;;I@#yb2gYp`%KNLE4;J>;>)mPNzW8*T-1hbU=V&9>%&j~TSGe_L z>aMub)!d4>OC#m|hY7gx`R&NK3X)95UcZk`?Bxsw#6v>pcjGoTKla&JDCMrOKL{c%wRM|~ z0NnvFyhcID?ZkO3K@jgfNt5Xn=b?kgw#pEl!cYED9c@J{1)lf5cVyw$DhC7O-osQm zxRZSzdF-NI@wcYjB$V5Zyk+eA@T2-ODL2W%y-E(s)gP#BmP12M%5|?xxt?*RTsQuT z${F`XT_$YD{fB5Hx0qYOHrU6vdPU<(<=l!mD%ZIQ4w}@AlXA=TXVcO|T&i6CL36K& zT_875Zs#!GLudrdA{LjZ9D0mk<*p@T$}yR8+q=tTX6T8!1D@RX#N8;x7J$kn;>PFw zNL)hY#33!ew5w1IK#rlH9PL#Aa8zy+%C#BFxTP+aq?~m}dH700Oa26u+Y;B@4;scv zIVOaDe@|TYN2Xjt<&1-Jg;cqa$quJ~7`Kofpz0W;oANN8VzDz~}_j>;KlRc`KuDJL#fZnN;&5+jovC|5cxOS$2aVsWn- zODW_}DyO8|nLh(zT0-y#o|tk-ONgpmB5r(s)Iv!)aXb=A7D_6CW2jLN)i6~KoQ0Zb z$X?@?l+`Gz97{2~Z8$XL3RKQ=ZtjmajFWQY*zcy?OIqXMC6yCL<+7@B7(>3#l-o{~ z<3<2lTI5*e#CdmSP8h5TLrvjfGomjOuw{%3KQt8CX!v+I#U%NiGWmOK_ zz{bTfT~@SiO@m7gRSxNLXKZl6nQ}EMXVu{TK)HQXIqgC%Z+ni&{Z-UiMp;axKb9Cu z90r6{NLc{^Cr!kq%B3emaRcR2O~4&jPO0t}|5LeSS{uP1RZMYhmUTT^tG~283&M zcHt70(A7L9@+JSNza>|MU8V%+`4xx-I9a;*zo?`JWjHT7R%I$Q?VlmZrv0}+Ik0SU} zyG7%W77=9h6amN$LM7{5K@Oq1#cZfnu+SuOccuCBG{_l~&iQ`H5erhX^4KJ#%wjT}R~CdjnZ*6gKwlcpu*dP=&J z-9Q*}`YhK$GSER1bYoKvJ~6HTLOFd(94OZchAu~bz^sB)xe}FI@U`n<^_X%Cvs=DM#*@a#4f(Fp@c;9FvJgrYjmgc~Xd51Z7pW@oB{sIZH-^D?>E*lH?@=}f<(_&kpRwR*sZw;mQfxK!@Bwxi&`S zbmfBTapgFAXDC-yk8MR#j$HF}<-{E+*J3$2T{&>al;crzmU5Rd-z(*KhHxiVp4J9c&Yf8CiSyl@ zSoyidT|T(W2OM76cYpcdZj$hBg1bp_kvB>7?BeLYoGuY&b&J>C3O@1l!S2hsTftQG z8{P^&^%<*s;N>28UGM`h_gEj#|J`H#i+rr_lyl0tnIvu|2_A5|nIvu|iJM7+`EqV1 ziKaW)lnqX?a5G8VOcFPfgm>EAOp=q6m)uMeHG$vxKpzj&1L8(Ca#-^&WT!XCJF9o#sC3BE1mzEsE=A{X?f fLN}8H^X1%Er}?GA|LIq!-D7?CSpVHT)-V4HD5s