416 Commits

Author SHA1 Message Date
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
jst%mozilla.jstenback.com
c70cf3ddf4 Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@159342 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 17:03:10 +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
roc+%cs.cmu.edu
bdc7e5f59b Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
bryner%brianryner.com
7247372aa3 deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155867 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:48:36 +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
sicking%bigfoot.com
e4632ed495 Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@154723 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:48:33 +00:00
brade%comcast.net
e62db3dd62 remove unused char *; bug=238672, r=timeless, sr=tor, a=mkaply
git-svn-id: svn://10.0.0.236/trunk@154309 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-26 16:39:20 +00:00
dbaron%dbaron.org
e5ad15e520 Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@153040 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 21:38:31 +00:00
jst%mozilla.jstenback.com
d28978604e Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@152654 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:09:51 +00:00
jst%mozilla.jstenback.com
12ed685455 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@151784 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 00:46:17 +00:00
bryner%brianryner.com
3d8a7179f8 Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@151191 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 08:25:18 +00:00
jst%mozilla.jstenback.com
803e4eb910 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
bryner%brianryner.com
b5347dd60c Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
scott%scott-macgregor.org
900e349640 Bug #226604 --> crash closing message compose window (with UI button)/message filter dialog
fix crash regression. Patch by timeless

sr=mscott
a=asa


git-svn-id: svn://10.0.0.236/trunk@149714 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-25 02:47:48 +00:00
timeless%mozdev.org
07adf6c290 Bug 223736 nsWebShellWindow::Destroy should call nsWebShellWindow::Destroy before destroying its timer and calling release_this
r=danm sr=dbaron a=dbaron


git-svn-id: svn://10.0.0.236/trunk@149652 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-23 14:01:43 +00:00
bryner%brianryner.com
eeddf02bde deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +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
bryner%brianryner.com
c81aa21722 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146626 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 00:31:50 +00:00
jaggernaut%netscape.com
df747d0621 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145205 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 19:06:59 +00:00
dbaron%dbaron.org
593f58592d Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
danm%netscape.com
fa4e4068bb addref the window while the timer member variable holds a reference to the window. no longer a crash bug, but more proper COM. bug 143664 r=dougt,jag
git-svn-id: svn://10.0.0.236/trunk@144601 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 23:06:49 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
dwitte%stanford.edu
dc7e857400 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
bryner%netscape.com
0c66a2052e Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@141016 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 00:56:27 +00:00
timeless%mozdev.org
af29cab0a7 Bug 201423 Crash [@ nsWebShell::Create] if urildr.dll is missing
r=adamlock sr=bz


git-svn-id: svn://10.0.0.236/trunk@140983 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 18:17:57 +00:00
jaggernaut%netscape.com
c00c1567f4 Remove unused CIDs, r=jack, sr=lumpy
git-svn-id: svn://10.0.0.236/trunk@139813 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 02:33:20 +00:00
dbaron%dbaron.org
6ed727cbe8 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
peterv%netscape.com
d103a96ada Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@134587 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-29 23:44:07 +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
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
dougt%netscape.com
db8cc9c7ec Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129037 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 05:38:16 +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
bryner%netscape.com
17f78350b8 Fix a typo that was causing bug 153828, inability to navigate bookmarks and history in a maximized window. r=saari, sr=jag.
git-svn-id: svn://10.0.0.236/trunk@126393 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 01:12:33 +00:00
pete.zha%sun.com
ef2e3f111b mozilla1.1a core dump at PR_AtomicDecrement()
bug=154730 r=bryner sr=jst a=asa patch=antonio.xu@sun.com


git-svn-id: svn://10.0.0.236/trunk@125061 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 02:56:18 +00:00
alecf%netscape.com
104fdb252d argh, now re-remove the line that I was originally intending to remove!
git-svn-id: svn://10.0.0.236/trunk@124137 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 23:34:42 +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
saari%netscape.com
eecbbc3392 win32 only fix for 82534. focus goes wonky after minimizing a window. r=bryner, sr=jag
git-svn-id: svn://10.0.0.236/trunk@123675 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 04:55:13 +00:00
danm%netscape.com
0b5ceb9949 disable window size persistence before chrome is loaded. bug 116610 r=bryner,jag
git-svn-id: svn://10.0.0.236/trunk@122295 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 23:21:35 +00:00
rpotts%netscape.com
07329cd38e bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener)
git-svn-id: svn://10.0.0.236/trunk@121674 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 20:57:37 +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
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
rjc%netscape.com
8934664f7b Fix bug # 125158: force focus on Mac OS X sheets. code from saari, r=bryner sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@115049 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:42:24 +00:00
timeless%mac.com
67f8bc3ace Bug 124698 don't CallQueryInterface(mDocShell = 0, &mWebShell)
r=bzbarsky,adamlock sr=alecf


git-svn-id: svn://10.0.0.236/trunk@114240 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 03:45:22 +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
a12f04ff44 Fix Linux crash on nsnull pointer as part of blocker 123572 r=danm a=radha sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@113723 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 23:26:51 +00:00