137 Commits

Author SHA1 Message Date
joshmoz%gmail.com
50486b1f72 don't compile LoadNativeMenus if we don't need to in nsWebShellWindow, cleanup. b=327425 r=mento sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@190722 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 19:07:14 +00:00
bryner%brianryner.com
f1c9d92868 Clean up xpfe/appshell, removing nsIWebShellWindow in the process. Bug 282200, r=danm, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@169504 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 22:42:01 +00:00
bzbarsky%mit.edu
e272c87dda Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167223 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 22:51:17 +00:00
cbiesinger%web.de
210dbe464a Bug 250202 remove nsWebShellWindow::NotifyObservers and nsXULWindow::NotifyObservers
r=danm sr=jag


git-svn-id: svn://10.0.0.236/trunk@159269 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 19:00:11 +00:00
gerv%gerv.net
8419e1650f Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155030 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 16:52:41 +00:00
danm-moz%comcast.net
48511cecaa rework saving of persistent attributes. also maximized and alwaysRaised windows are incompatible. bug 42557 r=neil (mostly), rjc. rs=hyatt
git-svn-id: svn://10.0.0.236/trunk@147653 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 01:20:11 +00:00
sicking%bigfoot.com
db4678c2f2 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz


git-svn-id: svn://10.0.0.236/trunk@134395 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 08:33:30 +00:00
roc+%cs.cmu.edu
c6bb83f66a Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00
alecf%netscape.com
a5a2431862 back out these two files until I get the #ifdef situation cleared up
git-svn-id: svn://10.0.0.236/trunk@124136 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 23:32:09 +00:00
alecf%netscape.com
7fd62c0521 rest of fix for bug 132175 - move windowlist part of the window mediator into a seperate object (nsWindowDataSource) so that appshell is no longer dependent on RDF.
r=bnesse, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@124130 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 22:34:09 +00:00
dbaron%fas.harvard.edu
1e850f52c6 Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@118715 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:49:30 +00:00
bryner%netscape.com
01634657fa - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@116029 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 03:34:29 +00:00
endico%mozilla.org
e6ccf8ec15 re-applying danm's changes after finding out they weren't cause for startup time regression. bug 124570. (patches originally from bugs 107937 and 77020)
git-svn-id: svn://10.0.0.236/trunk@114162 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 07:12:16 +00:00
endico%mozilla.org
7d044e2718 backing out danm's feb8 14:34 checkin to track down Ts regression. bug 124570
git-svn-id: svn://10.0.0.236/trunk@114156 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 01:29:46 +00:00
danm%netscape.com
6d9d31210f persist sizemode more often, and particularly after a size change. bug 107937 r=ben,jag
git-svn-id: svn://10.0.0.236/trunk@114063 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:34:15 +00:00
locka%iol.ie
8e370dc046 Remove GetContentShellById from nsIWebShellWindow & impl as it's already defined in nsIXULWindow. b=122861 r=timeless@mac.com sr=jag@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113699 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 12:41:47 +00:00
danm%netscape.com
e63bd2182b removing unused ShowModally method. code=mbosch@lorentz.leidenuniv.nl r=me
git-svn-id: svn://10.0.0.236/trunk@112646 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 03:54:49 +00:00
rjc%netscape.com
e41baa73d3 Fix bug # 75772: On Mac OS X, add support for window toolbar button which hides/shows toolbar buttons. r=ben sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@108960 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 01:47:41 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
hyatt%netscape.com
4f51638ef4 Fix for 95475. r=jag, sr=ben, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01:08 +00:00
bryner%netscape.com
dac1a709db Bug 94345 -- remove unused native context menu. r=pavlov, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@100697 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 00:58:52 +00:00
pinkerton%netscape.com
684c7dab18 remove special-case activation code for hidden window, let the OS do it. punts hidden window offscreen on mac so it can be visible yet of non-zero width/height for osx. bugs 70355/70388. r=danm/sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@92013 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 23:04:28 +00:00
ccarlen%netscape.com
d0cf8c7fff Bugs 70379, 70380 - Hide nsISingleSignon from embedding apps, split auth prompting methods out of nsIPrompt into a new interface. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91893 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 18:30:25 +00:00
danm%netscape.com
bde610585a implement window.scrollbars.visible. bug 58539 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@90574 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 23:23:09 +00:00
danm%netscape.com
e5ef2c85a4 moving [GS]etPersistence from nsIWebBrowserChrome to nsIDocShellTreeOwner. embedding API review meeting made me do it. bug 69918 r=ccarlen,hyatt
git-svn-id: svn://10.0.0.236/trunk@89046 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:04:06 +00:00
rpotts%netscape.com
944cb9668e bug #15345 (r=danm, sr=mscott). Removed dependency on nsIDocumentLoaderObserver... Now nsIWebProgressListener is used instead.
git-svn-id: svn://10.0.0.236/trunk@83667 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 23:27:59 +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
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
pinkerton%netscape.com
c2c3b849eb stop building nsXULCommand r=saari. for bug 31104
git-svn-id: svn://10.0.0.236/trunk@70880 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 00:14:01 +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
tbogard%aol.net
b07f35a6c6 Close now simply calls destroy. nsWebShellWindow now has a subclass for Destroy which does everything that Close use to do. Removed all the implementation of nsIWebShellContainer methods that went away.
git-svn-id: svn://10.0.0.236/trunk@65629 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:52:50 +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
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
d70cb1282d No longer implement the nsIBrowserWindow interface. Changed nsIDocumentLoaderObserver declarations to use the XPIDL generated macro.
git-svn-id: svn://10.0.0.236/trunk@62603 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:26:36 +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
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
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
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
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
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
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
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