Commit Graph

814 Commits

Author SHA1 Message Date
tbogard%aol.net
d4df97746a Remove methods that are no longer needed to implement nsIWebShellContainer. Removed the local chrome mask member variable and moved it into relying on the base class. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60469 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 08:32:01 +00:00
tbogard%aol.net
1256999190 Default to all chrome rather than no chrome. bug fix for 27354.
git-svn-id: svn://10.0.0.236/trunk@60466 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 08:21:15 +00:00
tbogard%aol.net
767c8e2c5f Moved the loading of the Title, Position and size from XUL into nsXULWindow from WebShellWindow. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60304 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 07:47:24 +00:00
tbogard%aol.net
290cfd18f5 Fixed a bug where when targetting to a "_content" window from within a XUL window that did not have a browser window would not find an already open browser to target into. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60303 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 07:41:11 +00:00
norris%netscape.com
36450a3f42 Fix 25062 Reload vulnerability
25206 Reload vulnerability #2
Implement grant dialogs and persistence for capabilities.
most r=mstoltz, some code from morse w/ r=norris


git-svn-id: svn://10.0.0.236/trunk@60281 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 04:56:56 +00:00
tbogard%aol.net
255343d588 Clear the intrinsic sizing after we have already sized the window. Fixes bug #26976.
git-svn-id: svn://10.0.0.236/trunk@60154 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 21:29:00 +00:00
tbogard%aol.net
606f758537 The XULWindow object can get destroyed during the closing of a window, thus our loop would not have access to the mContinueLoop. We internally bump the ref on ourselves to ensure that while in the loop the object stays valid. r=mscott.
git-svn-id: svn://10.0.0.236/trunk@60150 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 20:20:33 +00:00
tbogard%aol.net
f3dc4cb19e When creating a new COM C++ object the refcount starts out at 0. Though we will QI before we return it out, we need to ensure COMPtr's used during init don't take the count to 1 and then back to 0. So we temporarily locally bump the count to 1 to represent our ownership during the scope of the function. r=mscott
git-svn-id: svn://10.0.0.236/trunk@60149 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 20:19:00 +00:00
tbogard%aol.net
56b415d734 Fixed crash when dismissing modal dialogs. r=mscott
git-svn-id: svn://10.0.0.236/trunk@60147 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 18:57:02 +00:00
tbogard%aol.net
b4ffd30485 We were checking against TRUE on the return rather than NS_SUCCEEDED(). Fix for bug #26974. Good catch by Putterman.
git-svn-id: svn://10.0.0.236/trunk@60146 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 18:45:55 +00:00
tbogard%aol.net
287b76905f Ooops, XULWindow doesn't implement nsIDocumentObserver. Commented it out for now and moved the removal of the observer back to webshellwindow. This should fix the mac build.
git-svn-id: svn://10.0.0.236/trunk@60144 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 16:14:55 +00:00
tbogard%aol.net
70bb9191f1 Fixed it so prompts could come up. Was missing the ability to QI properly.
git-svn-id: svn://10.0.0.236/trunk@60143 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 16:11:10 +00:00
tbogard%aol.net
ebf318da9b Now that the content viewer supports the SizeToContent, we can farm the work off onto it. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60142 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 15:55:46 +00:00
tbogard%aol.net
c416db8338 GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur
git-svn-id: svn://10.0.0.236/trunk@60129 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 13:40:10 +00:00
sspitzer%netscape.com
a559c7ea8c on windows, make /mail be the same as -mail
on linux, make --mail be the same as -mail
r=alecf #23501


git-svn-id: svn://10.0.0.236/trunk@60123 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 11:59:06 +00:00
sspitzer%netscape.com
239e103aad make it so -chrome <chrome url> does the right thing.
r=mscott


git-svn-id: svn://10.0.0.236/trunk@60054 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 03:12:39 +00:00
sspitzer%netscape.com
4b683d7887 make it so -FOO, -Foo, and -foo all have the same effect.
r=mscott.  #25282


git-svn-id: svn://10.0.0.236/trunk@60049 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 02:50:32 +00:00
sspitzer%netscape.com
9590786254 more changes to get everyone using my arbitrary command line handling.
removing "calendar" from the appearance pref panel, there is no calendar in
5.0.
r=mscott


git-svn-id: svn://10.0.0.236/trunk@60015 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 01:11:13 +00:00
sfraser%netscape.com
194028c8d4 Remove PowerPlant dependencies, by temporarily #if 0 out some code. r=beard, scc
git-svn-id: svn://10.0.0.236/trunk@60005 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:38:28 +00:00
scc%netscape.com
dcee2e659d Pro5 update
git-svn-id: svn://10.0.0.236/trunk@60002 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:06:04 +00:00
sspitzer%netscape.com
a3093c4855 I hate copy and pasted code. write two macros to do all the work for me.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@59942 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 12:21:22 +00:00
sspitzer%netscape.com
3c33096625 fix the assertion at startup, and other breakage. because appshell is a component, we need to install
it into bin/components, and not bin.  r=syd


git-svn-id: svn://10.0.0.236/trunk@59881 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 09:36:02 +00:00
alecf%netscape.com
c1c5178519 make appshell into a component
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@59858 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 05:38:13 +00:00
tbogard%aol.net
361eb02039 Implemented GetPosition, SetSize, GetSize, and SetPositionAndSize. Added and stubbed out SizeShellTo, ShowModal and GetNewBrowserChrome. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@59839 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 03:26:35 +00:00
tbogard%aol.net
55975ee840 Added stub implementation for new methods nsIDocShellTreeOwner::SizeShellTo, and nsIDocShellTreeOwner::ShowModal. GetNewBrowserWindow calls into nsXULWindow to do the work. Implemented GetMainWidget, SetFocus, and FocusAvailable.
git-svn-id: svn://10.0.0.236/trunk@59838 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 03:26:12 +00:00
tbogard%aol.net
32047cb501 Added stub implementation for new methods nsIDocShellTreeOwner::SizeShellTo, and nsIDocShellTreeOwner::ShowModal. GetNewBrowserWindow calls into nsXULWindow to do the work.
git-svn-id: svn://10.0.0.236/trunk@59837 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 03:25:45 +00:00
sspitzer%netscape.com
b5d7f7fa3a added files: mozilla/xpfe/appshell/public/nsICmdLineHandler.idl
git-svn-id: svn://10.0.0.236/trunk@59800 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 23:09:09 +00:00
sspitzer%netscape.com
0f7c23de3c building this on windows and linux, mac soon.
adding a #define for which category nsICmdLineHanders are for.


git-svn-id: svn://10.0.0.236/trunk@59799 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 23:07:27 +00:00
sspitzer%netscape.com
f9d23bfed2 bulletproofing. r=alecf. see bug #26608
git-svn-id: svn://10.0.0.236/trunk@59786 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 22:37:11 +00:00
law%netscape.com
b605d3dfbe New splash screen stuff for windows version (plus removal of console from windows release builds); b=6391/22542, r=davidm@netscape.com (travis@netscape.com for the console stuff)
git-svn-id: svn://10.0.0.236/trunk@59770 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 14:40:08 +00:00
law%netscape.com
93edc7c383 Export new splash screen interface header (part of splash screen for windows changes); b=6391, r=davidm@netscape.com
git-svn-id: svn://10.0.0.236/trunk@59763 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 09:12:06 +00:00
sspitzer%netscape.com
ae778a7a8d add the interface for a command line handler. not part of build yet.
git-svn-id: svn://10.0.0.236/trunk@59739 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 04:33:46 +00:00
law%netscape.com
29a36e7fca New file needed for Win splash screen; b=6391,r=davidm@netscape.com
git-svn-id: svn://10.0.0.236/trunk@59730 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 03:24:55 +00:00
racham%netscape.com
0449a2acf0 Fixing bug 16791. Check if the current profile is available to return the profile directory value. r=gayatrib
git-svn-id: svn://10.0.0.236/trunk@59646 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 11:21:09 +00:00
sspitzer%netscape.com
0895955f9b change to allow someone to use the "no strip url" interface in wallet.
no one is using it yet, because it doesn't work.

r=mscott


git-svn-id: svn://10.0.0.236/trunk@59623 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 05:01:42 +00:00
vidur%netscape.com
8db46127ff Fix for bug 26115. Missing addref in nsXULWindow::GetDocShell. r=travis
git-svn-id: svn://10.0.0.236/trunk@59589 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 01:01:31 +00:00
tbogard%aol.net
d1979d1c3c Fixed titles of windows so they correctly show up when set from XUL files. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@59491 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 04:58:18 +00:00
tbogard%aol.net
1b3ddbfdb1 Added implementation for GetPrimaryContentShell now that it was added to nsIDocShellTreeOwner. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@59473 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 02:28:32 +00:00
pp%ludusdesign.com
fdfd888608 Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@59394 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 14:26:27 +00:00
sspitzer%netscape.com
74e6873438 make it so we can stuff a value given to us by the user from a Prompt()
can be stuffed into the single signon database, just like a password
can be.  auth news needs this.  r=dp,alecf


git-svn-id: svn://10.0.0.236/trunk@59384 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 08:43:48 +00:00
scc%netscape.com
bb02d934b0 Fixed access paths for upcoming switch to Pro5, see bug #25949. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@59333 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 00:49:16 +00:00
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