271 Commits

Author SHA1 Message Date
tbogard%aol.net
3412db77ba Removed unused GetPresShell(). Rely on nsXULWindow for the implmentation of SetIntrinsicSizing. SetStatus now flows through the nsXULWindow content tree owner. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60701 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 06:19:18 +00:00
saari%netscape.com
9c43efde18 changes for PDT+ focus bugs, see my list, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 23:50:15 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
morse%netscape.com
fd392898f3 add UniversalDialog, r=davidm
git-svn-id: svn://10.0.0.236/trunk@56804 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 03:17:11 +00:00
rpotts%netscape.com
5870fbf96d Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad.
git-svn-id: svn://10.0.0.236/trunk@56597 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 07:32:59 +00:00
sspitzer%netscape.com
2e52c17f46 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.


git-svn-id: svn://10.0.0.236/trunk@56308 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 23:03:29 +00:00
morse%netscape.com
26b6521f5e another attempt to fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@56225 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-19 23:13:50 +00:00
morse%netscape.com
0e6301f5fa band-aid to fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@56219 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-19 19:34:25 +00:00
morse%netscape.com
6fa6d63278 add SelectDialog, bug=3110, coded by davidm, r=morse, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56217 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-19 18:32:21 +00:00
tbogard%aol.net
7f977c7dbe Changed nsWebShellWindow to talk to webshell as an nsIBaseWindow where appropriate.
git-svn-id: svn://10.0.0.236/trunk@56155 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 23:43:47 +00:00
danm%netscape.com
78aaa53a28 actually use the 'visible' parameter in NewWebShell. makes new windows from links not be invisible.
git-svn-id: svn://10.0.0.236/trunk@55391 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 01:44:21 +00:00
tbogard%aol.net
067920c238 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.


git-svn-id: svn://10.0.0.236/trunk@55175 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 09:24:22 +00:00
danm%netscape.com
22cd501286 hooking up 'close' xul event handler. bug 13695. r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54951 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:38:06 +00:00
warren%netscape.com
51881fbcea Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms.
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
tbogard%aol.net
7d4f2d6a7c Removed const from GetTitle to get in sync with removal from API.
git-svn-id: svn://10.0.0.236/trunk@54490 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 02:22:42 +00:00
norris%netscape.com
2429ef124a Fix 18553 [DOGFOOD] addEventListener allows sniffing keystrokes
Add checks to nsScriptSecurityManager::CheckCanListenTo that take
a principal and ensure that the currently executing script code
either is from the same origin as that principal or has the
UniversalBrowserRead privilege enabled. (chrome code has all
privileges enabled by default.) It's okay for the principal passed in
to be null. That just signifies a privileged window/document that only
can be listened to with privileges.

I added GetPrincipal/SetPrincipal methods to nsIEventListenerManager.
nsDocument::GetNewListenerManager sets a principal on the listener
manager when it creates one. Obviously there are other places that
create listener managers, but scripts seem to go through this one.

Another change is to save some memory usage. Currently I allocate an
array of PolicyType that is NS_DOM_PROP_MAX elements long.
Unfortunately, compilers appear to allocate four bytes for each
PolicyType, so the array takes around 2400 bytes. I've added changes
to use two bit vectors that should consume about 1/16 that space.

r=joki

There are also changes that push nsnull onto the JSContext stack when
entering a nested event loop.

r=jband


git-svn-id: svn://10.0.0.236/trunk@54477 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 05:28:18 +00:00
tbogard%aol.net
dddce8c3b5 Removed implementation of nsIURLDispatcher. Changed the QI into a new interface map.
git-svn-id: svn://10.0.0.236/trunk@54408 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 10:04:13 +00:00
tbogard%aol.net
ecf4583b04 Removed the SetURLDispatcher call.
git-svn-id: svn://10.0.0.236/trunk@54407 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 09:41:45 +00:00
tbogard%aol.net
a9a3650565 Changed calls to nsIWebShell::GetRootWebShellEvenIfChrome() and further QI's to use the new nsIWebShell::GetTopLevelWindow().
git-svn-id: svn://10.0.0.236/trunk@53676 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 20:05:21 +00:00
tbogard%aol.net
3332c74e48 Changed references to nsIContentViewerContainer to nsISupports in the march to get rid of nsIContentViewerContainer. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@53492 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 07:29:23 +00:00
saari%netscape.com
48d75f5289 Landing focus changes. R: joki
git-svn-id: svn://10.0.0.236/trunk@53410 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 05:16:33 +00:00
danm%netscape.com
b74ba16a95 Use new modal event filtering method on nsIWidget. Reset modal window flag when modal window is closed. part of fix for bug 14131. r:rods@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@53376 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 23:46:39 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
waterson%netscape.com
7335ede542 Fix leak with nsCOMPtr. r=brendan, a=brendan
git-svn-id: svn://10.0.0.236/trunk@52827 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 00:44:10 +00:00
davidm%netscape.com
16e407c7ff 12539 Crash when quitting browser while bookmark properties dialog
r = saari
 nsINetPrompt implementation
r morse


git-svn-id: svn://10.0.0.236/trunk@52677 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 05:25:21 +00:00
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
waterson%netscape.com
ed6d691c92 Remove unused references to nsIXULChildDocument and nsIXULParentDocument.
git-svn-id: svn://10.0.0.236/trunk@52135 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 22:18:21 +00:00