605 Commits

Author SHA1 Message Date
bryner%netscape.com
c44337949a Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
jkeiser%netscape.com
4b26324c60 Make mousey events targeted properly at textnodes (bug 185889, bug 103055), fix client-side image maps (bug 110072), r=saari@netscape.com, sr=bryner@netscape.com, a=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@137825 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 21:43:06 +00:00
dbaron%dbaron.org
2cccec9239 Fix leak when handling key events on zombie pages. b=192336 r+sr=roc a=asa
git-svn-id: svn://10.0.0.236/trunk@137678 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-11 20:26:42 +00:00
jkeiser%netscape.com
f8391e212d Fix window focus event regressions (bug 190767), patch by Ruslan Ismailov (croo@nm.ru), r=jkeiser@netscape.com, sr=bryner@netscape.com
git-svn-id: svn://10.0.0.236/trunk@137244 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-01 05:26:16 +00:00
jkeiser%netscape.com
febf4c259f Stop firing mouse events at textnodes, fix tooltips not going away onmouseout (bug 185889, bug 185965), r=bryner@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@136753 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-21 21:26:45 +00:00
caillon%returnzero.com
4e9b13ef00 Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
r+sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@136499 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 09:33:52 +00:00
dbaron%dbaron.org
19a9279a84 Implement CSS3 :target pseudo-class, which matches the target of the fragment identifier of the document's URL. Change the semantics of nsIPresShell::GoToAnchor by requiring that it be called whenever the current target changes, with an additional boolean parameter specifying whether to scroll. b=188734 r=glazman sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136266 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 23:10:53 +00:00
bzbarsky%mit.edu
3d71548f10 "Use my chosen colors" should override border-colors too. Bug 156002, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@136115 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 01:58:37 +00:00
aaronl%netscape.com
ee27cb1b5c Bug 98546. Fix word break detection to improve select by word where there is punctuation in the word. Also fixes 125172, double clicking in URL bar should select only part of URL. Also fixes bug 133312, word selection with accented letters. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@136088 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 20:56:53 +00:00
dbaron%dbaron.org
c278517282 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@136010 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:19:10 +00:00
aaronl%netscape.com
27c1dea4ad Bug 110718. Fix keydead problem during Transferring stage of document load, when the currently visible doc is a zombie. r=bryner, sr=jst. Bug 169767. Tabbing in XUL broken when textfield only tabbing pref is set. r=akkana, sr=bryner. Bug 187303. No keyboard access to URL bar when textfield only tabbing pref is set
git-svn-id: svn://10.0.0.236/trunk@135922 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 02:09:06 +00:00
bzbarsky%mit.edu
8d092fcca8 ReResolveStyleContext needs to deal with :before/:after pseudos correctly. Bug
126072, r=dbaron, sr=roc+moz.  Also fixes bug 141259 (incorrect warnings about
style tree integrity).


git-svn-id: svn://10.0.0.236/trunk@135852 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 05:05:17 +00:00
dbaron%fas.harvard.edu
37f38041d9 Reduce paint suppression timeout from 1200ms to 250ms (to match Phoenix and Chimera). b=180241 r=rjesup sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@135641 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-26 21:03:23 +00:00
bratell%lysator.liu.se
ba519d3390 Backout of bug 110718 to fix Tp regression and raise-on-load issues.
git-svn-id: svn://10.0.0.236/trunk@135333 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-15 19:52:22 +00:00
roc+%cs.cmu.edu
8293c257e0 Bug 173072. Ensure that after styles are cleared, we reexecute any work that could depend on the cleared style structs, to ensure a later CalcStyleDifference will not ignore a style struct we really depend on. r+sr=kin
git-svn-id: svn://10.0.0.236/trunk@135301 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-14 16:18:57 +00:00
aaronl%netscape.com
ed5fb21283 Bug 110718. During the 'transferring' when the currently visible document is a zombie, the keyboard is dead for the entire document. r=bryner, sr=hyatt+scc
git-svn-id: svn://10.0.0.236/trunk@135298 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-14 08:05:51 +00:00
timeless%mozdev.org
1e25a32c7e Bug 133714 Probably harmless typo.... (PresShell::SetCaretReadOnly Unreachable statement)
patch by riceman+bmo@mail.rit.edu r=timeless sr=bz


git-svn-id: svn://10.0.0.236/trunk@135131 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 15:04:26 +00:00
caillon%returnzero.com
8a1bf17a45 Re-landing these because I don't believe this are responsible for the Txul spike.
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@135125 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:05:41 +00:00
caillon%returnzero.com
d751688cb9 Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...)
git-svn-id: svn://10.0.0.236/trunk@135111 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 05:11:02 +00:00
caillon%returnzero.com
6b60a8affb Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@135068 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:41:12 +00:00
bzbarsky%mit.edu
c3731640d3 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.


git-svn-id: svn://10.0.0.236/trunk@134667 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 05:48:14 +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
6f8753e832 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz


git-svn-id: svn://10.0.0.236/trunk@134398 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 11:21:22 +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
katakai%japan.sun.com
93fd9af3b9 bug 167866
code clean up
clean up comment line codes for nsPresShell.cpp
r=akkana,sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@134389 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 04:58:40 +00:00
dbaron%fas.harvard.edu
307f43b5a1 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:37:56 +00:00
bryner%netscape.com
e42bf44e7d Fixing topcrash bug 179548 (crash when closing tab via mouse gesture) by null checking the event target frame before dispatching the event the second time, since the first dispatch can nuke the frame. r=dbaron, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@133871 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 00:59:28 +00:00
bzbarsky%mit.edu
e98396416a Fix ScrollFrameIntoView if we have nested views with the child bigger
than the parent.  Bug 143815, r=roc+moz, sr=jst


git-svn-id: svn://10.0.0.236/trunk@133622 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 04:38:28 +00:00
bryner%netscape.com
b345c67a0c Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@133439 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 00:25:25 +00:00
sicking%bigfoot.com
92a857088d Bug 64945: XML prettyprinting final stage. Implements document.removeBinding and drops the prettyprint binding when the document is modified. Also turn on prettyprinting by default.
r=jkeiser,hyatt,bz sr=rpotts a=asa


git-svn-id: svn://10.0.0.236/trunk@132360 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-22 06:07:52 +00:00
roc+%cs.cmu.edu
fe441abc3a Bug 75121. Incrementally reflow absolute frames without doing a resize-reflow of the container. Patch by dbaron and roc. r=dbaron,r=roc,sr=kin
git-svn-id: svn://10.0.0.236/trunk@130340 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 11:43:48 +00:00
hyatt%netscape.com
231ada71e5 Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake
git-svn-id: svn://10.0.0.236/trunk@130192 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-21 01:03:38 +00:00
dougt%netscape.com
b087ce39fc Fixes non idle timers. This is fixes a regression caused by the last timer changes. r=rpotts@netscape.com, sr-darin@netscape.com, b=167841.
git-svn-id: svn://10.0.0.236/trunk@130183 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 22:32:32 +00:00
mjudge%netscape.com
d412f97810 14835 r=pavlov sr=sfraser alpha blending on images to denote selection.
git-svn-id: svn://10.0.0.236/trunk@129222 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 03:03:49 +00:00
katakai%japan.sun.com
6ed3afd341 bug 52416
Editor does not accept NS_TEXT_EVENT while losing input focus
r=akkana,sr=bzbarsky
(patch within #ifdef MOZ_X11)


git-svn-id: svn://10.0.0.236/trunk@129198 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 02:02:29 +00:00
kin%netscape.com
cfcea30e08 Fix for bug 167355 (non-inline document.write does not work in builds after 090522)
Clear the mDidInitialReflow flag in ContentRemoved() to allow the content sink
to call InitialReflow() when the <html> node is re-inserted.

r=jkeiser@netscape.com  sr=jst@netscape.com  a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@129142 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-10 04:36:00 +00:00
mjudge%netscape.com
6ee845dd99 fix for 165169. sr=bryner r=kin solves the problem of not finding the area frame to traverse the page when composing in mail or composer. cntrl-home/end should work now.
git-svn-id: svn://10.0.0.236/trunk@129122 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-10 00:10:09 +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
jkeiser%netscape.com
d73bc69f1a Fix race condition where iframe's frame is created after document is loaded and body is parsed (bug 153815), kin@netscape.com's patch, r=jkeiser@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@128944 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 05:44:31 +00:00
dougt%netscape.com
1ebc6538fb Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
mjudge%netscape.com
2f5c006a1d 4302 r=jfrancis sr=kin. pageup/down bug with navigation.
git-svn-id: svn://10.0.0.236/trunk@128157 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:55: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
dbaron%fas.harvard.edu
12c9b29b2b Ensure that the event state manager doesn't send content state changed notifications for content that's been removed from the document. b=157322 r=bryner sr=kin
git-svn-id: svn://10.0.0.236/trunk@127627 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 18:31:59 +00:00
dbaron%fas.harvard.edu
47bcd9d189 Mark freed memory in stack arena with 0xdd. b=161283 sr=bzbarsky r=kin
git-svn-id: svn://10.0.0.236/trunk@127256 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 12:49:24 +00:00
mkaply%us.ibm.com
7c3c72e2c2 Better fix for OS/2 bustage earlier
git-svn-id: svn://10.0.0.236/trunk@126601 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 04:06:57 +00:00
mkaply%us.ibm.com
60edb199c5 OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@126523 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 15:22:34 +00:00
dbaron%fas.harvard.edu
a0a7a5816a Mark freed memory with 0xdd in DEBUG builds so that we don't free things to the pres shell's arena and then continue using them. b=114219 r=hixie sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@126517 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 13:57:16 +00:00
dbaron%fas.harvard.edu
07544907b6 Allocate PerFrameData and PerSpanData in pres shell's stack arena. b=154910 r=bzbarsky sr=waterson
git-svn-id: svn://10.0.0.236/trunk@126515 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 13:51:07 +00:00
aaronl%netscape.com
c15c36a673 Bug 160153. Accessibility: Report fully expanded URL's. r=jgaunt, sr=jst
git-svn-id: svn://10.0.0.236/trunk@126181 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 21:36:02 +00:00