389 Commits

Author SHA1 Message Date
scc%netscape.com
c49195ca12 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64176 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 12:05:32 +00:00
tbogard%aol.net
bb30d7f409 SetJSStatus, SetJSDefaultStatus and SetOverLink now poke a DOM attribute on element WebBrowserChrome in the xul window if one exists. Renamed nsXULWindow::GetDOMElementFromDocShell to be nsXULWindow::GetWindowDOMElement. This cleans up having to pass in the same docShell over and over and make it mean more of what it is. Added a nsXULWindow::GetElementById which returns an element of the specified id within the xul window. nsContentTreeOwner doesn't need to cache the defaultStatus. nsWebShellWindow doesn't need to call ExecutStartupCode anymore as that was only there for nsIXULWindowCallbacks code which is gone. nsWebShellWindow doesn't need to cache mStatus or mDefaultStatus.
git-svn-id: svn://10.0.0.236/trunk@63143 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 05:45:26 +00:00
tbogard%aol.net
854e3803a9 Change nsIWebShell::LoadURL calls to use nsIWebNavigation::LoadURI.
git-svn-id: svn://10.0.0.236/trunk@63122 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 02:20:26 +00:00
pavlov%netscape.com
1fdd348954 changes to let us build on MacOS X
git-svn-id: svn://10.0.0.236/trunk@62619 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 03:08:04 +00:00
tbogard%aol.net
bc3d57f677 No longer implement the nsIBrowserWindow interface. HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface. Use the docShell APIs to initialize creation of the docShell/ webShell.
git-svn-id: svn://10.0.0.236/trunk@62602 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:25:54 +00:00
danm%netscape.com
2fed3ce184 persist size only when window is not minimized or maximized. bug 30116 r=scc a=jevering
git-svn-id: svn://10.0.0.236/trunk@62437 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 02:00:20 +00:00
tbogard%aol.net
495826cccc nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg
git-svn-id: svn://10.0.0.236/trunk@62038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 07:13:02 +00:00
tbogard%aol.net
7475e9b9b5 Removing nsIXULWindowCallbacks as they were removed from active use nearly 8 or more months ago. Getting rid of having to pass it around as a parameter and all that fun stuff. r=danm a=jevering
git-svn-id: svn://10.0.0.236/trunk@61907 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 22:03:49 +00:00
pollmann%netscape.com
57b64b6c81 Bug 28670: Remove unneeded scroll param to webshell::Init r=travis a=rickg
git-svn-id: svn://10.0.0.236/trunk@61844 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 06:50:27 +00:00
tbogard%aol.net
13b61ed851 Changed nsIAppShellService and nsIWindowMediator to talk in terms of nsIXULWindow instead of nsIWebShellWindow. Also removed the function nsIAppShellService::RunModalDialog since windows should be created using the nsIDOMWindow::OpenDialog. r=danm a=jevering
git-svn-id: svn://10.0.0.236/trunk@61816 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 00:20:55 +00:00
danm%netscape.com
6d36c897b0 move all functional modal window code into nsXULWindow. part of bug 28467. r=saari a=jar
git-svn-id: svn://10.0.0.236/trunk@61642 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 03:11:13 +00:00
danm%netscape.com
e085ee2cfa oops. har. that last patch just disabled the timing, which reverted bug 28473. This one was the intended.
git-svn-id: svn://10.0.0.236/trunk@61609 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 21:32:47 +00:00
danm%netscape.com
b35cd8548b tree-closure bug 29094 -- A tricky condition involving relative timing of size and position events seems to have surfaced. This patch should sort them out.
git-svn-id: svn://10.0.0.236/trunk@61608 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 21:16:16 +00:00
tbogard%aol.net
f7d74018af Removed unused legacy function that is never called. Put an assert in place for people calling the old ShowModally, this is never called, but this will prevent new people from calling until it can be completely removed. r=danm.
git-svn-id: svn://10.0.0.236/trunk@61554 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 01:39:31 +00:00
danm%netscape.com
915246287d putting size and position persistence on a timer to ease chunky movement. r=scc a=jar
git-svn-id: svn://10.0.0.236/trunk@61500 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 20:07:31 +00:00
sspitzer%netscape.com
57e5ad90eb turning off these printfs, except for saari. a=phil
git-svn-id: svn://10.0.0.236/trunk@61222 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 21:19:11 +00:00
danm%netscape.com
a890ecdffa reverting fuzzy-brained part of last checkin that causes Hidden Window to be Tempting Crasher Window. bug 27842
git-svn-id: svn://10.0.0.236/trunk@60912 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 20:01:11 +00:00
danm%netscape.com
686bfccd17 reinstate recently removed disabling of modal window's parent. bug 19221. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@60807 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 05:06:08 +00:00
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