Commit Graph
705 Commits
Author SHA1 Message Date
tbogard@aol.net 88f2514581 Make nsWebShellWindow subclass from nsXULWindow. This paves the way for nsWebShellWindow to be replaced by nsXULWindow. Much of the work in nsWebShellWindow is put ontop of the nsXULWindow. 2000-01-26 02:21:42 +00:00
tbogard@aol.net 1ffb8bce58 added files: mozilla/xpfe/appshell/src/nsChromeTreeOwner.cpp, mozilla/xpfe/appshell/src/nsContentTreeOwner.cpp, mozilla/xpfe/appshell/src/nsXULWindow.cpp 2000-01-26 01:28:18 +00:00
tbogard@aol.net 85d5cd35e6 Changing casing to fall inline with idl rules. 2000-01-26 01:07:56 +00:00
tbogard@aol.net f4febbd27c Adding nsXULWindow.cpp, nsChromeTreeOwner.cpp and nsContentTreeOwner.cpp to the build. 2000-01-26 01:07:12 +00:00
tbogard@aol.net 27d075a59c Implmemented ContentShellAdded(), the parent widget/ window functions as well as some of the init functions. [Not part of the build]. 2000-01-26 00:10:59 +00:00
tbogard@aol.net 93779592f6 Implemented FindItemWithName(). [Not Hooked to the build] 2000-01-25 22:00:59 +00:00
tbogard@aol.net a7fdb5dcdb nsXULWindow now maintains a list of content shells. Implemented GetPrimaryContentShell() and GetContentShellById(). [Not hooked to the build] 2000-01-25 21:59:31 +00:00
sspitzer@netscape.com 141a0f3c79 do this, otherwise rv will be failure in all cases, even when Prompt
succeedes.
2000-01-25 03:21:00 +00:00
tbogard@aol.net 8387e6e77f Added the ability to enumerate through the nsIWebShellWindow list instead of just the domWindow list. 2000-01-25 02:54:45 +00:00
tbogard@aol.net fe976d2624 Added the ability to get an enumerator that goes through "nsIWebShellWindow"s rather than DOM windows. These will soon become "nsIXULWindow"s thus the name. 2000-01-25 02:52:55 +00:00
tbogard@aol.net 3ce7394bf9 First check in for nsXULWindow, nsContentTreeOwner and nsChromeTreeOwner. These collectively serve as the eventual replacement for nsWebShellWindow. (This is not hooked to the build). 2000-01-22 03:15:41 +00:00
tbogard@aol.net f63572767e Started filling in methods needed on nsIXULWindow. (This is not hooked to the build). 2000-01-22 03:13:20 +00:00
tor@cs.brown.edu 01686809f8 build bustage fix for older C++ compilers; bool -> PRBool; r=bryner 2000-01-19 01:34:26 +00:00
davidm@netscape.com 05e415964c 21901 [UI] dialogs don't have a title 22464 uninitialized variable in nsNetSupportDialog.cpp r = sspitzer 2000-01-18 05:50:56 +00:00
danm@netscape.com 551c773a66 kill persistence of browser window size for popups. bug 15555. r:hyatt 2000-01-15 02:33:14 +00:00
tbogard@aol.net ef9c05bf08 added files: mozilla/xpfe/appshell/public/nsIXULWindow.idl 2000-01-14 04:41:38 +00:00
tbogard@aol.net d050d71b69 Added nsIXULWindow.idl and put the list in alpha order. 2000-01-14 04:33:54 +00:00
tbogard@aol.net 475aa1441d Added nsIXULWindow.idl to the build. 2000-01-14 04:24:16 +00:00
tbogard@aol.net 374c10601b First check-in. Empty right now, but it will grow into a big boy real soon now. 2000-01-14 04:23:38 +00:00
danm@netscape.com 5341fb04b9 scoping local variables cleans up warnings and probably stops someone's compiler from hurting itself 2000-01-14 00:38:12 +00:00
danm@netscape.com 5d6893f329 save/restore size & position as XUL tags. bug 15775. r:hyatt 2000-01-13 23:51:01 +00:00
morse@netscape.com 71e6abf51e fix bug 23037, allow autofill to use double-byte characters for i18n, r=dp 2000-01-12 21:53:32 +00:00
racham@netscape.com 738c36e3dd Fixing bug 16673. User50 directory on windows will now lives 1 level up fromthe executable. r=ssu 2000-01-11 23:07:22 +00:00
pp@ludusdesign.com d459b2ef64 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
waterson@netscape.com 41a589a726 Bug 23352. Check 'target' before calling nsIRDFDataSource::Unassert(). r=davidm 2000-01-08 00:22:35 +00:00
radha@netscape.com d839bb656a Fix for bug # 21767. Form values not reset upon reload. r=pollmann. 2000-01-06 22:42:16 +00:00
davidm@netscape.com 0e4ac802af 22295 Tasks menu doesn't cycle through windows properly \ 13357 modal dialogs shouldn't be added to window menu r = law 2000-01-06 20:17:46 +00:00
danm@netscape.com caa0d4ea02 use widget::GetScreenBounds to return window position. bug 5998. r:pierre. 2000-01-06 16:02:10 +00:00
ftang@netscape.com 4797bfdcf3 remove unneeded XMLEncodingService, fix bug 22282 2000-01-06 01:25:57 +00:00
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
morse@netscape.com d754554d8a fix for bug 22132, r=davidm 2000-01-06 00:23:24 +00:00
morse@netscape.com 91f5fc72ca add UniversalDialog, r=davidm 2000-01-05 03:17:11 +00:00
rpotts@netscape.com 5d4a8a8ba0 Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad. 1999-12-29 07:32:59 +00:00
sspitzer@netscape.com db06580dc9 rest of fix for #21901, a=sdagley (a while ago).
give alerts, prompts, and other common dialogs default titles, if none
are passed in.

todo:  put those defaults into a string bundle so ICP doesn't kill me.
1999-12-22 04:55:43 +00:00
sspitzer@netscape.com 54da002e41 fix FMM and UMR from purify, add some null sanity checks to fix various
crashers that I've seen.
1999-12-21 23:11:17 +00:00
sspitzer@netscape.com 102dfad206 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 3bf30fdfa5 remove compile-time warning that my checkin from this morning introduced 1999-12-20 02:51:36 +00:00
morse@netscape.com b7e5f7779b another attempt to fix mac bustage 1999-12-19 23:13:50 +00:00
morse@netscape.com 968ea797dc band-aid to fix mac bustage 1999-12-19 19:34:25 +00:00
morse@netscape.com f294ca2769 add SelectDialog, bug=3110, coded by davidm, r=morse, a=chofmann 1999-12-19 18:32:21 +00:00
jband@netscape.com 2e04e1dd4e Landing big set of DOM and XPConnect changes:
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.

XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.

Also, xpconnect tests are reorganized and improved.

fixes bugs: 13419, 17736, 17746, 17952, 22086

r=vidur r=mccabe r=norris r=cbegle
a=chofmann
1999-12-18 20:29:29 +00:00
tbogard@aol.net e3a5675ea9 Changed nsWebShellWindow to talk to webshell as an nsIBaseWindow where appropriate. 1999-12-17 23:43:47 +00:00
leaf@mozilla.org 9817db0eb8 starting to remove pics from the build; no bug number. patch from neeti,
r=cyeh,leaf, a=chofmann
1999-12-12 01:27:44 +00:00
scc@netscape.com ccc5b57efd Make observers support weak references. Bug #18682; r=dp. 1999-12-07 14:06:36 +00:00
danm@netscape.com 20b9bd631b actually use the 'visible' parameter in NewWebShell. makes new windows from links not be invisible. 1999-12-06 01:44:21 +00:00
danm@netscape.com 6e37bb02c8 removing (early) Show() of new, explicitly sized windows (is redundant now, or should be...) 1999-12-06 01:42:11 +00:00
warren@netscape.com 60e1533d80 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
tbogard@aol.net 25baa5ff98 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.
1999-12-03 09:24:22 +00:00
danm@netscape.com fe147db43b hooking up 'close' xul event handler. bug 13695. r:hyatt@netscape.com 1999-12-01 22:38:06 +00:00
warren@netscape.com e5408167d5 Removed -- old netlib stuff. 1999-11-30 06:50:50 +00:00