723 Commits

Author SHA1 Message Date
scc%netscape.com
21c1012e1b removed errant |QueryInterface()|s in favor of appropriate macros, as part of bug#23737. Changed |NS_DEFINE_IID| to |NS_DEFINE_CID| where appropriate; or else removed it, and fixed up clients to use |NS_GET_IID| in the appropriate spots. Built and ran pre-checkin tests. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@59313 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:45:42 +00:00
danm%netscape.com
9cd4e0e6c5 changing name of opened window from 'null' to '_blank'. travis' idea. r:me
git-svn-id: svn://10.0.0.236/trunk@59272 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 21:33:50 +00:00
tbogard%aol.net
e97230d779 The default content tree owner now has a separation of primary versus normal content areas. Primary areas are the only content areas that actually react to and set the title.
git-svn-id: svn://10.0.0.236/trunk@59217 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 07:29:38 +00:00
tbogard%aol.net
23735e33f3 Need to specify the class to call because the nsWebShellWindow base ends up calling the content set title. This ensures that Chrome and content go different paths for Setting the title.
git-svn-id: svn://10.0.0.236/trunk@59216 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 07:18:01 +00:00
tbogard%aol.net
12ff2e2039 Fixed bug where when the aRequestor was the tree owner of the docShell in a content shell list. It was not advancing checking to see if the list had more.
git-svn-id: svn://10.0.0.236/trunk@59188 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 11:15:15 +00:00
tbogard%aol.net
9fa00088e1 Fixed the order in which the main docShell is released against when the content shells are released. The content shells are held onto until after the main docShell is released so the content shells can still be grabbed.
git-svn-id: svn://10.0.0.236/trunk@59187 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 11:08:21 +00:00
mscott%netscape.com
003acc5c90 oops forgot a checkin!!!
include nsIDocumentLoaderFactory.h
r=travis


git-svn-id: svn://10.0.0.236/trunk@59180 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 06:48:38 +00:00
sdagley%netscape.com
21c87ff63d Fix #25042. Moving PR_Init_Log proto from prlog.h to pprio.h as it is an internal function that normally doesn't belong in the NSPR public interfaces but the Mac needs it. Changes actually from wtc, sdagley just reviewed them and is checking them in.
git-svn-id: svn://10.0.0.236/trunk@59014 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 04:00:28 +00:00
hyatt%netscape.com
2775735cc9 Getting rid of createPopup
git-svn-id: svn://10.0.0.236/trunk@59005 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 03:04:40 +00:00
pepper%netscape.com
9fdb77655c All source files must contain a newline at the end of some unix builds fail.
git-svn-id: svn://10.0.0.236/trunk@58898 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 06:13:00 +00:00
pepper%netscape.com
f8f889f6e7 ALL files must have a newline at then end
git-svn-id: svn://10.0.0.236/trunk@58897 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 06:07:03 +00:00
pepper%netscape.com
11048eb6c6 ALL files MUST have a newline at the end of certain unix builds will fail
git-svn-id: svn://10.0.0.236/trunk@58896 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 06:05:39 +00:00
tbogard%aol.net
dc9a09cba4 FindWebShellWithName now mainly relies on the implmenetation of nsContentTreeOwner::FindItemWithName for the implementation of finding named shells.
git-svn-id: svn://10.0.0.236/trunk@58895 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 06:01:02 +00:00
tbogard%aol.net
10739b3c89 Fixed FindItemWithName not to search shells that initiated the search request. Moved the guts of nsIDocShellTreeOwner::ContentShellAdded to nsXULWindow.
git-svn-id: svn://10.0.0.236/trunk@58894 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 05:59:48 +00:00
tbogard%aol.net
31a4401b91 Implemented FindItemWithName(). Stubbed out many of the other functions that shouldn't be called with error conditions. Setup nsContentTreeOwner as the default treeowner when one is not already set.
git-svn-id: svn://10.0.0.236/trunk@58893 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 05:59:44 +00:00
tbogard%aol.net
1381b76423 Made the destructor virtual. Added ContentShellAdded notification to nsXULWindow.
git-svn-id: svn://10.0.0.236/trunk@58892 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 05:59:42 +00:00
tbogard%aol.net
92df91e7fb Made the destructor virtual.
git-svn-id: svn://10.0.0.236/trunk@58885 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 04:56:21 +00:00
pepper%netscape.com
91ac4362f9 Yet another source file without an newline at the end. ALL file must have one.
git-svn-id: svn://10.0.0.236/trunk@58882 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 03:50:38 +00:00
saari%netscape.com
6899f63cca part of previous checkin
git-svn-id: svn://10.0.0.236/trunk@58830 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 22:48:16 +00:00
tbogard%aol.net
e3847f7d5e 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.
git-svn-id: svn://10.0.0.236/trunk@58703 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 02:21:42 +00:00
tbogard%aol.net
2aea18348e added files: mozilla/xpfe/appshell/src/nsChromeTreeOwner.cpp, mozilla/xpfe/appshell/src/nsContentTreeOwner.cpp, mozilla/xpfe/appshell/src/nsXULWindow.cpp
git-svn-id: svn://10.0.0.236/trunk@58687 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 01:28:18 +00:00
tbogard%aol.net
afefccb316 Changing casing to fall inline with idl rules.
git-svn-id: svn://10.0.0.236/trunk@58676 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 01:07:56 +00:00
tbogard%aol.net
27420a60ae Adding nsXULWindow.cpp, nsChromeTreeOwner.cpp and nsContentTreeOwner.cpp to the build.
git-svn-id: svn://10.0.0.236/trunk@58673 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 01:07:12 +00:00
tbogard%aol.net
567645f812 Implmemented ContentShellAdded(), the parent widget/ window functions as well as some of the init functions. [Not part of the build].
git-svn-id: svn://10.0.0.236/trunk@58649 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 00:10:59 +00:00
tbogard%aol.net
7b82e8a16d Implemented FindItemWithName(). [Not Hooked to the build]
git-svn-id: svn://10.0.0.236/trunk@58635 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 22:00:59 +00:00
tbogard%aol.net
6f82688de4 nsXULWindow now maintains a list of content shells. Implemented GetPrimaryContentShell() and GetContentShellById(). [Not hooked to the build]
git-svn-id: svn://10.0.0.236/trunk@58634 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 21:59:31 +00:00
sspitzer%netscape.com
28339a8287 do this, otherwise rv will be failure in all cases, even when Prompt
succeedes.


git-svn-id: svn://10.0.0.236/trunk@58544 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 03:21:00 +00:00
tbogard%aol.net
e290cb5ac8 Added the ability to enumerate through the nsIWebShellWindow list instead of just the domWindow list.
git-svn-id: svn://10.0.0.236/trunk@58522 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 02:54:45 +00:00
tbogard%aol.net
0c65036917 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.
git-svn-id: svn://10.0.0.236/trunk@58520 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 02:52:55 +00:00
tbogard%aol.net
f37b468c2f First check in for nsXULWindow, nsContentTreeOwner and nsChromeTreeOwner. These collectively serve as the eventual replacement for nsWebShellWindow. (This is not hooked to the build).
git-svn-id: svn://10.0.0.236/trunk@58383 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 03:15:41 +00:00
tbogard%aol.net
5976a5dc92 Started filling in methods needed on nsIXULWindow. (This is not hooked to the build).
git-svn-id: svn://10.0.0.236/trunk@58382 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 03:13:20 +00:00
tor%cs.brown.edu
79e07cec20 build bustage fix for older C++ compilers; bool -> PRBool; r=bryner
git-svn-id: svn://10.0.0.236/trunk@58194 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 01:34:26 +00:00
davidm%netscape.com
43e50d2144 21901 [UI] dialogs don't have a title
22464   uninitialized variable in nsNetSupportDialog.cpp 
r = sspitzer


git-svn-id: svn://10.0.0.236/trunk@58078 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 05:50:56 +00:00
danm%netscape.com
6fcf2e6c80 kill persistence of browser window size for popups. bug 15555. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@57894 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 02:33:14 +00:00
tbogard%aol.net
d305b92014 added files: mozilla/xpfe/appshell/public/nsIXULWindow.idl
git-svn-id: svn://10.0.0.236/trunk@57786 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 04:41:38 +00:00
tbogard%aol.net
e9a72bce34 Added nsIXULWindow.idl and put the list in alpha order.
git-svn-id: svn://10.0.0.236/trunk@57784 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 04:33:54 +00:00
tbogard%aol.net
cbde47ac4b Added nsIXULWindow.idl to the build.
git-svn-id: svn://10.0.0.236/trunk@57782 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 04:24:16 +00:00
tbogard%aol.net
684b97b8f4 First check-in. Empty right now, but it will grow into a big boy real soon now.
git-svn-id: svn://10.0.0.236/trunk@57781 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 04:23:38 +00:00
danm%netscape.com
f9d222595b scoping local variables cleans up warnings and probably stops someone's compiler from hurting itself
git-svn-id: svn://10.0.0.236/trunk@57757 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:38:12 +00:00
danm%netscape.com
7a7f26e1b4 save/restore size & position as XUL tags. bug 15775. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@57738 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:51:01 +00:00
morse%netscape.com
ad09c5c861 fix bug 23037, allow autofill to use double-byte characters for i18n, r=dp
git-svn-id: svn://10.0.0.236/trunk@57572 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 21:53:32 +00:00
racham%netscape.com
d07019d8b8 Fixing bug 16673. User50 directory on windows will now lives 1 level up fromthe executable. r=ssu
git-svn-id: svn://10.0.0.236/trunk@57457 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 23:07:22 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
waterson%netscape.com
80b6e12bd0 Bug 23352. Check 'target' before calling nsIRDFDataSource::Unassert(). r=davidm
git-svn-id: svn://10.0.0.236/trunk@57124 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 00:22:35 +00:00
radha%netscape.com
ea65af1fd0 Fix for bug # 21767. Form values not reset upon reload. r=pollmann.
git-svn-id: svn://10.0.0.236/trunk@57020 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 22:42:16 +00:00
davidm%netscape.com
98f65625b5 22295 Tasks menu doesn't cycle through windows properly \
13357    modal dialogs shouldn't be added to window menu 
r = law


git-svn-id: svn://10.0.0.236/trunk@56986 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 20:17:46 +00:00
danm%netscape.com
cfa2127370 use widget::GetScreenBounds to return window position. bug 5998. r:pierre.
git-svn-id: svn://10.0.0.236/trunk@56961 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 16:02:10 +00:00
ftang%netscape.com
2a5a01bfa3 remove unneeded XMLEncodingService, fix bug 22282
git-svn-id: svn://10.0.0.236/trunk@56921 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:25:57 +00:00
edburns%acm.org
1af32fc433 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.


git-svn-id: svn://10.0.0.236/trunk@56916 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:05:13 +00:00
morse%netscape.com
ec7e686e82 fix for bug 22132, r=davidm
git-svn-id: svn://10.0.0.236/trunk@56878 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 00:23:24 +00:00