Commit Graph

53 Commits

Author SHA1 Message Date
danm%netscape.com
a4ec95a92c add null check in Destroy. bug 53827. code=jefft r=me,shaver
git-svn-id: svn://10.0.0.236/trunk@80411 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 02:50:53 +00:00
danm%netscape.com
c1e9cb725d skip parent window activation (bug 22658) on close if parent is HiddenWindow. bug 51619. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79550 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:17:32 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
scc%mozilla.org
b77e00747d fix for pravda bustage ... we're almost there!
git-svn-id: svn://10.0.0.236/trunk@78102 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 07:59:15 +00:00
vidur%netscape.com
b10d4adc57 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
dr%netscape.com
1eb4a3e076 fix for 49802, r=danm
git-svn-id: svn://10.0.0.236/trunk@77707 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:07:04 +00:00
danm%netscape.com
8921812f45 bring a dependent window's parent to the front when closing that window. Windows-only. bug 22658
git-svn-id: svn://10.0.0.236/trunk@77644 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:24:03 +00:00
locka%iol.ie
09805179ae API changes for embedding. b=46847, r=dougt, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77213 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:39:46 +00:00
scc%mozilla.org
c16f42bc5e fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76736 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 00:52:22 +00:00
danm%netscape.com
b399772bf1 adding ability to open a browser without scrollbars (window.open(...scrollbars=no)) bug 28193
git-svn-id: svn://10.0.0.236/trunk@76085 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 03:43:44 +00:00
danm%netscape.com
6255a55a42 use explicit on-screen widget placement constraints when restoring window positions from persistent storage. bug 31516 r=saari@netscape.com
git-svn-id: svn://10.0.0.236/trunk@75588 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 14:52:44 +00:00
vidur%netscape.com
ffd0cb1a4e Fix for bug 44608. Added nsIDocShellTreeOwner::ExitModalLoop() and nsIWebBrowserChrome::ExitModalEventLoop(). r=rpotts,a=valeski
git-svn-id: svn://10.0.0.236/trunk@74129 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:56:14 +00:00
danm%netscape.com
af282c07d8 remove dependence on modality for z-ordering. bug 44117 r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@73694 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 22:22:58 +00:00
bryner%uiuc.edu
0c97e4d4cb Moving persistence-related methods from nsIXULWindow to
nsIWebBrowserChrome as a basis for fixing bug 15555.  r=valeski.


git-svn-id: svn://10.0.0.236/trunk@72820 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 22:05:28 +00:00
pavlov%netscape.com
0a0a2964a7 fix for nsbeta2+ bug 34426 r=smfr (crash when closing popup windows)
git-svn-id: svn://10.0.0.236/trunk@71636 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:16:23 +00:00
pavlov%netscape.com
a271419de6 Fix for eventqueue objects leaking bug #20166. This also removes the hacked fix for bug #36361 and uses a real fix. Major overhaul of nsEventQueue and nsEventQueueService. r=waterson,brendan. tested on windows, linux and mac
git-svn-id: svn://10.0.0.236/trunk@71554 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 21:53:25 +00:00
hyatt%netscape.com
93085bdcea Ensure content area gets updated when the shell gets regenerated.
git-svn-id: svn://10.0.0.236/trunk@71007 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 22:00:07 +00:00
warren%netscape.com
1958638f6c Changes to unify nsINetPrompt with nsIPrompt, making single sign-on work. Single sign-on API changes. Fixes bugs 34583, 34720, 34725, 24746, 33094. r=sspitzer,morse
git-svn-id: svn://10.0.0.236/trunk@69998 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:35:23 +00:00
sfraser%netscape.com
42773cae35 Add some scoping {} to keep nsCOMPtrs within #ifdef code scope. This make window destruction order similar on Mac and other platforms, thereby fixing bug 38869 and maybe some other leaks.
git-svn-id: svn://10.0.0.236/trunk@69126 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:08:37 +00:00
danm%netscape.com
70cc20384f use preference for browser chrome url (aka navigator.xul). bug 31867
git-svn-id: svn://10.0.0.236/trunk@67173 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 02:25:28 +00:00
pinkerton%netscape.com
28e12d5484 Moving Screen API away from individual attributes for performance reasons (stage 1). Fixes bugs on win32 with xul popups where taskbar is not at bottom of screen.
git-svn-id: svn://10.0.0.236/trunk@66664 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 06:55:13 +00:00
danm%netscape.com
fda3acfcbd dist...chrome restructuring
git-svn-id: svn://10.0.0.236/trunk@66464 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 21:42:30 +00:00
scc%netscape.com
67560a359c making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66371 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 00:19:06 +00:00
danm%netscape.com
650ba2f7b9 adding a 'center' method
git-svn-id: svn://10.0.0.236/trunk@65847 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:07:28 +00:00
danm%netscape.com
4d41059660 when constraining z-level, make changes if "immediate" flag is set
git-svn-id: svn://10.0.0.236/trunk@65288 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:30:59 +00:00
danm%netscape.com
d72876c011 adding events to constrain z-level
git-svn-id: svn://10.0.0.236/trunk@64900 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:13:46 +00:00
danm%netscape.com
45b13b6cd8 reenabling disabling of modal window's parent, inexplicably removed in rev 1.21. bugs 30633, 33129
git-svn-id: svn://10.0.0.236/trunk@64287 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:53:43 +00:00
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
d31f977574 Now when we want to tell the XUL Window of changes in progress, or status or overlink we use the new nsIDOMWindow::GetXPConnectObject functionality. This replaces our need for the broadcaster observer stuff along with the expensive setAttribute calls.
git-svn-id: svn://10.0.0.236/trunk@63985 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:46:15 +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
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
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
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
01b23c9940 hide while destroying. prevents bad messages from getting to partially dead window. bug 28241
git-svn-id: svn://10.0.0.236/trunk@61771 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-27 22:34:18 +00:00
danm%netscape.com
e499ee9d76 re-enable parent window of modal dialog before dialog is destroyed. part of bug 28467. r=saari a=jar
git-svn-id: svn://10.0.0.236/trunk@61643 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 03:11:21 +00:00
tbogard%aol.net
d84e9b9e81 Pass true to repaint when resizing the outer window to fit the content. Fix for 28985. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@61552 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 01:16:08 +00:00
tbogard%aol.net
4a3661ba6f Added the implementation for FocusAvailable. Added implementation for the new intrinsicSizing attribute. Moved over the NotifyObservers() call from nsWebShellWindow. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60697 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 06:13:12 +00:00
saari%netscape.com
fe0210cefd more focus changes
git-svn-id: svn://10.0.0.236/trunk@60538 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 23:51:53 +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
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
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
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
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
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
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
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
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