Граф коммитов

1233 Коммитов

Автор SHA1 Сообщение Дата
waqar%netscape.com 436bd85dbb # 19452
r mcafee
d Huge menus on gtk+1.23
2000-01-10 22:55:19 +00:00
edburns%acm.org 507ee16e37 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
morse%netscape.com dc94d5dc33 add UniversalDialog, r=davidm 2000-01-05 03:17:11 +00:00
dougt%netscape.com 4e04e4e70e Including nsFileSpec. 2000-01-03 23:41:03 +00:00
rpotts%netscape.com e4d36a4fca Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad. 1999-12-29 07:32:59 +00:00
briano%netscape.com 8851f9afc4 Hack to work around the std::tm error on Solaris using the Workshop compiler. 1999-12-22 23:43:19 +00:00
briano%netscape.com 17da1b8e04 Fix for build bustage on NetBSD/arm, and some minor cleanup. 1999-12-22 23:35:06 +00:00
sspitzer%netscape.com 7411c47023 warnings fixes, and fix for #21901, all password dialogs to have titles
if the user passes one in, or use "Password" if they pass null.
1999-12-21 23:03:29 +00:00
morse%netscape.com 3199512b93 add SelectDialog, bug=3110, coded by davidm, r=morse, a=chofmann 1999-12-19 18:32:21 +00:00
tbogard%aol.net 5f1bceb1b4 Fixes to make viewer hold on to a docshell and talk to the docshell as a docshell rather than a webshell. r=pavlov 1999-12-17 08:13:54 +00:00
pavlov%netscape.com 70a324a59e update to use new api a=leaf 1999-12-16 00:39:04 +00:00
selmer%netscape.com d400ffac75 Fixed test to use current syntax for trees (for bug 18001) 1999-12-14 22:58:55 +00:00
danm%netscape.com 77fef00cb7 close window on receipt of close event, as well as destroy. synchs with recent changes to gtk/mac/win windows. fixes bug 20811. r:troy a:chofmann 1999-12-09 00:47:46 +00:00
tbogard%aol.net cdca7dd4bb Fixed the JS console in viewer. 1999-12-05 03:02:55 +00:00
tbogard%aol.net 99ed1b0558 nsXPBaseWindow now uses nsIBaseWindow interface off webshell instead of nsIWebShell for some simple window stuff. 1999-12-01 03:43:17 +00:00
mccabe%netscape.com 3739f2becc Reinstating backed-out fix to 18636; move FileLocator registration call from xpfe/bootstrap/nsSetupRegistry to webshell/tests/viewer/nsSetupRegistry, to make sure that the FileLocator service is available to the viewer. This fixes prefs for the viewer, broken before because they couldn't get at FileLocator.
FileLocator is still registered in xpfe, as the first nsSetupRegistry #includes the second.  Hence the previous bustage.

r=neeti.
1999-11-30 07:54:18 +00:00
warren%netscape.com a265a32348 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
dougt%netscape.com fd3910bed0 fix for 18078. r=mstoltz,warren
(looks like it is #ifdef'ed out)
1999-11-30 00:33:45 +00:00
tbogard%aol.net 700932f39a Changed NS_ASSERTION to NS_ENSURE on an interface boundary check. Done mainly to get VC depend to rebuild this file so tinderbox will go green. 1999-11-27 03:36:35 +00:00
tbogard%aol.net 7178c23d71 Removed const from GetTitle to get in sync with API. 1999-11-27 02:24:43 +00:00
mccabe%netscape.com 3980465b2b Doh. Didn't check other consequences of double-registration; it busted on the doubly-declared static CID.
Backing out until I can give it more attention after Turkey Day.
1999-11-25 02:27:14 +00:00
mccabe%netscape.com 2d56fbc2dd Fix to 18638. Register nsFileLocator (and APPSHELL_DLL, a hacked dependency) in viewer b/c prefs depends on it, and we can't turn security checks in viewer off for XPConnect testing without prefs.
The nsFileLocator registration call now occurs twice; once in xpfe/bootstrap/nsSetupRegistry.cpp, and again when that file includes this one.  Leaving it on both places to underline the hack.
1999-11-25 00:25:36 +00:00
neeti%netscape.com 7129fdcf3b fix bug 15820,memory leak in ImageManagerImpl by converting it to a service on gtk, windows and mac.r=dp 1999-11-24 03:41:48 +00:00
sfraser%netscape.com 02d8fff569 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
erik%netscape.com 6036c05ffe bug 8801; register new font enumerator for font prefs UI; r=ftang 1999-11-22 19:40:00 +00:00
rpotts%netscape.com 61274752b5 fix build bustage - unix compilers are dumb as bricks! 1999-11-22 07:09:59 +00:00
rpotts%netscape.com c1119179a1 fixes to make the web crawler work when sites which have meta-refresh tags are encountered... 1999-11-22 05:47:26 +00:00
buster%netscape.com 5e269fcf05 moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
blizzard%redhat.com beeafe604a land SUPERWIN 1999-11-17 04:06:21 +00:00
blizzard%redhat.com cc645947b7 add gtksuperwin to the link line for viewer 1999-11-17 04:05:41 +00:00
beard%netscape.com 54792d43d1 pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov 1999-11-14 02:51:25 +00:00
Jerry.Kirk%Nexwarecorp.com a97d030040 I left some junk in this file on the last check-in. This only effects
Photon.
r=kedl
1999-11-11 23:14:35 +00:00
Jerry.Kirk%Nexwarecorp.com ce6b49a922 Added signal handler to call the Photon function what cleans up any
allocated shared memory in the event we crash or are closed abnormally
with a CTRL-C command.
r=kedl
1999-11-11 14:42:03 +00:00
dmose%mozilla.org 8535dda53e updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
cls%seawood.org 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
beard%netscape.com 44ca00ff6a need to be able to Quit viewer via AppleEvent. r=sfraser 1999-11-02 01:49:52 +00:00
kipp%netscape.com 5b36689710 Fixed compilation bustage by using nsIFrameDebug to invoke list and regression data methods 1999-11-01 23:29:05 +00:00
troy%netscape.com 04accb3de6 Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
Jerry.Kirk%Nexwarecorp.com 680c4b9a9d Remove call to nsIThread::SetMainThread() and clean up things a bit.
r=kedl
1999-11-01 20:52:52 +00:00
beard%netscape.com abf0ef7f3d changed the CID for "component://netscape/gfx/region" to use new NS_SCRIPTABLEREGION_CID. r=pavlov 1999-10-31 02:28:32 +00:00
brendan%mozilla.org fe51b61664 (13163, r=alecf, scc, waterson, others; names available on request)
- Fix most of bug 13163 (see TODO for rest).  This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks. 

- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp.  These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that. 

- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString.  Also changed various nsresult vars to be named rv.  Also restored brace/style conformity to nsJSProtocolHandler.cpp. 

- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject. 

- Lots of nsCOMPtr uses added.  I'm using one for mNameSpaceManager.  Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak).  These two managers should be moved to the window object -- TODO item below. 

- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver. 

- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated.  This meant factoring nsJSUtils.cpp code. 

- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace. 

- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
syd%netscape.com 70ca88d41d Add xpcom.dll to link line so test will link with scc changes make about this time. r=scc 1999-10-31 00:22:53 +00:00
dp%netscape.com 5cc08cae11 Fixing viewer starup assert on SetMainThread() happening twice. 1999-10-30 17:17:12 +00:00
troy%netscape.com fa40e4e664 Removed call to SetMainThread() because it was triggering an assert. Turns
out NS_InitXPCOM() does it so we don't need to do it twice
1999-10-30 16:44:04 +00:00
evaughan%netscape.com 3387f168c4 Fixed bug in example. -r hyatt 1999-10-29 23:27:26 +00:00
warren%netscape.com f343050808 Moved purify stuff into xpcom/base for the benefit of all. 1999-10-29 03:28:22 +00:00
kipp%netscape.com 0e68cfa459 nuked another silly warning because I got tired of seeing it 1999-10-29 02:06:33 +00:00
kipp%netscape.com 0d277b0f9e I added logic to the viewers browser window to disable javascript initiated popups during web crawling; I also fixed the web crawler to only initiate a new load after a previous document ends not a subdocument (again!) 1999-10-29 02:06:09 +00:00
kipp%netscape.com 5809b29014 I added logic to the viewers browser window to disable javascript initiated popups during web crawling 1999-10-29 02:05:16 +00:00
kmcclusk%netscape.com fa189bca56 Removed stray semi-colon after NS_DECL_ISUPPORTS bug=17235 r=rods@netscape.com 1999-10-28 20:24:19 +00:00