Commit Graph
32 Commits
Author SHA1 Message Date
edburns@acm.org 48a65e11e8 I know it's unorthodox to do a top level checkin like this, but I've got so many files
in so many different directories, that I think it's the best way.
I've pulled and clobber_all'd my tree and got

r=dp

on this checkin.

Here are the touched files:

M mozilla/embedding/browser/activex/src/control/MozillaBrowser.cpp
M mozilla/embedding/browser/activex/src/control/MozillaBrowser.h
M mozilla/js/src/xpconnect/shell/xpcshell.cpp
M mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp
M mozilla/xpcom/build/nsXPComInit.cpp
M mozilla/xpcom/components/nsComponentManager.cpp
M mozilla/xpcom/components/nsIServiceManager.h
M mozilla/xpcom/components/nsServiceManager.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.h
M mozilla/xpcom/tests/TestBuffers.cpp
M mozilla/xpcom/tests/TestPipes.cpp
M mozilla/xpcom/tests/TestShutdown.cpp
M mozilla/xpcom/tests/windows/TestHelloXPLoop.cpp
M mozilla/xpcom/tools/registry/regExport.cpp
M mozilla/xpcom/tools/registry/regxpcom.cpp
M mozilla/xpinstall/stub/xpistub.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.h
M mozilla/webshell/tests/viewer/nsMacMain.cpp
M mozilla/webshell/tests/viewer/nsPhMain.cpp
M mozilla/webshell/tests/viewer/nsWinMain.cpp
M mozilla/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp
M mozilla/xpfe/appshell/src/nsFileLocations.cpp
M mozilla/xpfe/bootstrap/nsAppRunner.cpp

The heart of this checkin is a change in the signature and symantics
of NS_InitXPCOM.

The new signature is

extern NS_COM nsresult
NS_InitXPCOM(nsIServiceManager* *result, nsFileSpec* binDirectory);

I filed a bug for this problem:

b=23157

The original manifestation of this bug was in mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp It used the current process directory to find resources, which is not correct when the current process is not mozilla.exe.

I have added a new type to nsSpecialSystemDirectory, Moz_BinDirectory, and made nsResProtocolHandler use that value.
2000-01-06 01:05:13 +00:00
sfraser@netscape.com b75302555d Make the image manager a service, part of neeti's checkin that follows. We no longer need the image manager hack in main(), so comment it out. r=neeti. 1999-11-24 03:40:05 +00:00
dmose@mozilla.org 20621227af updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
beard@netscape.com aa1a77b181 need to be able to Quit viewer via AppleEvent. r=sfraser 1999-11-02 01:49:52 +00:00
beard@netscape.com c8216fe151 use nsILeakDetector service. r=gordon, bug=15906 1999-10-21 00:13:07 +00:00
beard@netscape.com b23e9aa923 added dump leaks command. added explicit calls to NS_InitXPCOM/NS_ShutdownXPCOM. r=jar, bug=15906 1999-10-09 03:01:43 +00:00
ramiro@netscape.com 99ac072cbb Fix for bug 12878. Hack the viewer menubar into submission. 1999-09-01 10:48:28 +00:00
pinkerton@netscape.com bfdc0cc82f change #ifndef TARGET_CARBON to #if !TARGET_CARBON so it can be defined as 0 in DefinesMac.h 1999-05-12 06:44:03 +00:00
pinkerton@netscape.com f08b62dbd5 dont use OpenDeskAcc under Carbon. 1999-05-11 21:32:51 +00:00
beard@netscape.com 87787ef664 checking result of Initialize() call, so it won't crash. 1999-04-06 23:56:07 +00:00
pierre@netscape.com 066809e845 added menu command VIEWER_PRINT_SETUP 1999-03-09 06:39:50 +00:00
pierre@netscape.com 414ef372db added menu commands VIEWER_GFX_WIDGET_MODE and VIEWER_NATIVE_WIDGET_MODE 1999-03-09 04:39:50 +00:00
sfraser@netscape.com d5f5c9256e Added debug output text and HTML menu items 1999-03-06 20:54:03 +00:00
pinkerton@netscape.com 453272a370 handle toolbar demo sample menu command. 1999-03-05 20:21:25 +00:00
beard@netscape.com 069f2cd080 fix menu double dispatching 1999-03-02 22:30:02 +00:00
pierre@netscape.com 279b2f7dee returns eConsumeNoDefault after closing a window 1999-02-21 02:01:16 +00:00
jj@netscape.com aab6ad0d15 fixed non-debug build bustage 1999-01-27 22:10:44 +00:00
sfraser@netscape.com f7be2f1eb7 Added a method to nsBrowserWindow to allow platform-specific subclasses to set up native window data on window creation. On Mac, the viewer uses the window refCon to store an nsBrowserWindow now. Also fixed menu item numbering, as two different items were using 2000. 1999-01-27 05:21:43 +00:00
mcmullen@netscape.com 56365359dc Added a new InitializeMacToolbox() to NSStdLib (declared in macstdlibextras.h) and exported it. This makes all the Mac Toolbox Init calls, and also (if DEBUG) initializes SIOUX without menus. Safe to call this multiple times (it has a static boolean). Removed toolbox initialization from constructor of nsAppShell, and called InitializeMacToolbox() instead. Called InitializeMacToolbox from main in viewer app, and also from a static initializer in nsAppRunner.cpp. 1999-01-27 02:11:56 +00:00
pierre@netscape.com 4767484598 moved ConvertOSMenuResultToPPMenuResult() to the message pump 1999-01-19 10:29:14 +00:00
sfraser@netscape.com 1469800b54 Added new debug menu items, changed menus to be more similar to windows viewer. 1999-01-11 19:46:49 +00:00
sfraser@netscape.com ed1a500683 Call SIOUX initialization in debug mode 1999-01-08 03:27:57 +00:00
pinkerton@netscape.com f49d7227b6 handle toolbar demo file menu command. 1999-01-05 22:59:51 +00:00
sfraser@netscape.com 0fd4d73d72 Added Debug and Tools menus, and hooked up some of the menu items. They don't all work yet. 1998-12-08 02:16:42 +00:00
dcone@netscape.com 35a9a8852c Added some printer support 1998-12-04 15:08:18 +00:00
pinkerton@netscape.com 8c43015c46 handle view source and tree view file menu commands. 1998-12-03 17:59:13 +00:00
pierre@netscape.com 506404816c Landing MacWidgets... 1998-10-29 14:06:26 +00:00
dcone@netscape.com b81838b18a Addref on the nsViewerApp, so we dont destroy in the webcrawler on quit. This is consistent with the window implementation, fixes crash on quit. 1998-10-09 17:13:21 +00:00
pierre@netscape.com 0b151d7016 handle menu events when there is no window 1998-09-23 09:23:07 +00:00
pierre@netscape.com 21148b534d implemented menu events 1998-09-22 04:21:31 +00:00
thom@netscape.com 87bbcb89dd Added code to load menus 1998-09-12 00:06:05 +00:00
dcone@netscape.com 1f1df8548c New file for the macintosh main viewer routine 1998-07-24 17:19:44 +00:00