1036 Commits

Author SHA1 Message Date
bryner%brianryner.com
189a661d09 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00
aaronleventhal%moonset.net
eb9e22a026 Bug 280498. Invalidate accessibility subtree for frame visibility/display style changes. r=bz, sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@172977 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 03:46:51 +00:00
masayuki%d-toybox.com
03d259c108 bug 292263 ATOK's Moji Palette that is like software keyboard doesn't work. r=timeless, sr=neil, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172878 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 18:30:23 +00:00
jst%mozilla.jstenback.com
ebed1ee784 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
3d63df3114 Bug 289792. Make sure to use the correct (but stupid) reference view when translating event coordinates. Also, bulletproof nsViewManager to not rely on frames undoing event coordinate translations, in case we ever screw that up. r+sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/trunk@172244 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 22:41:52 +00:00
bzbarsky%mit.edu
46d9cf3192 Don't copy/paste code to cast to placeholder frames all over the place; use a
utility method instead.  Bug 276954, r+sr=roc, a=brendan


git-svn-id: svn://10.0.0.236/trunk@172225 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 15:30:35 +00:00
smfr%smfr.org
419c9e101b Fix bug 289022: every other click in a text field unfocusses it, so you can't type. Fixed by retargeting keyboard events to a parent view, if their target view has no frame. r=roc, sr=dbaron, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@172062 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-13 04:35:13 +00:00
aaronleventhal%moonset.net
dca00c4561 Bug 280154. Cannot arrow past first entry in help sidebar panels. r=Neil, sr=bz, a=asa
git-svn-id: svn://10.0.0.236/trunk@172044 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 20:25:49 +00:00
kyle.yuan%sun.com
0159c15d9e Bug 268513 overflow:scroll causes memory growth
r/sr=bz, a=asa


git-svn-id: svn://10.0.0.236/trunk@171873 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 23:50:40 +00:00
bzbarsky%mit.edu
2ed6c9fac8 Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@171749 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:54:35 +00:00
roc+%cs.cmu.edu
a52cfd560a Bug 289090. Get the pagesequenceframe from the frame constructor, don't poke around the frame hierarchy trying to find it. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171737 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 22:46:56 +00:00
dbaron%dbaron.org
72020748e5 Implement CSS2 counters. b=3247 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171473 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 23:07:00 +00:00
bzbarsky%mit.edu
52ea517c1b Fixing AIX build bustage. Thanks to pkw for the patch!
git-svn-id: svn://10.0.0.236/trunk@171320 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 15:57:53 +00:00
bzbarsky%mit.edu
d31372e0c5 More bustage fixing. To be precise, check in what should have gone in the
first time, but didn't due to a malformed diff.


git-svn-id: svn://10.0.0.236/trunk@171296 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 00:22:12 +00:00
bzbarsky%mit.edu
d527062335 Fix build bustage by moving CantRenderReplacedElementEvent class decl earlier
in the file


git-svn-id: svn://10.0.0.236/trunk@171295 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-28 23:56:33 +00:00
bzbarsky%mit.edu
d076e0faaa Move handling of replaced element events from frame manager to presshell, make
sure we don't allow reflow flushing while we're constructing the new frames.
Bug 286813, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@171292 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-28 23:20:54 +00:00
mats.palmgren%bredband.net
d5dcb62486 Fix a few -moz-outline* problems and drop the prefix.
Change WARNING to ERROR in nsComputedDOMStyle.cpp and add a few more.
b=281972 r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@171246 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-27 11:36:08 +00:00
bzbarsky%mit.edu
93c8012cd6 Work around print preview bug (unhooking and then rehooking a presshell to a
document).  Bug 286869, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@171196 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-25 04:27:21 +00:00
bmlk%gmx.de
ee4b566941 - decouple xul iframes from the browser.frames.enabled preference, so that one can open mozilla if that preference is set to false bug 107911
- avoid mutating style inside frame constructor for noframes bug 240129, this fixes crashes like bug 281333 and  bug 266222
- ConstructFrame does not append children if it fails, thats good enough for tables, so don't care about foreign children if they fail, this prevents tables from going into panic mode. bug 283147
- a display: table-caption behaves like a block for other table frames created below. bug 281527
r/sr= bzbarsky


git-svn-id: svn://10.0.0.236/trunk@170138 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-03 18:04:38 +00:00
bzbarsky%mit.edu
5fc500de3f Make sure to always remove the dummy layout request on presshell destruction
and not to post events after we have revoked them.  Bug 284354, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@170120 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-03 04:46:03 +00:00
bzbarsky%mit.edu
94b671f457 Remove the dummy layout request off an event, not synchronously, so we don't
fire onload as we're finishing up reflow.  Bug 281157, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@169970 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-28 02:27:09 +00:00
kyle.yuan%sun.com
1025bc0739 backout the fix for bug 268513
git-svn-id: svn://10.0.0.236/trunk@169969 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-28 01:08:32 +00:00
bryner%brianryner.com
165fa3ff89 Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@169873 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 22:07:01 +00:00
bzbarsky%mit.edu
2433e8b1ae Don't flush out reflows if we have painting suppressed and something else in
our viewmanager tree is painting.  Bug 282764, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@169824 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 04:03:13 +00:00
kyle.yuan%sun.com
1b78abf1f5 Bug 268513 overflow:scroll causes memory growth
r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@169696 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 23:00:23 +00:00
peterv%propagandism.org
0e54b7d14d Fix for bug 281654 (XLink's scroll to the parent of the node that they point to). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@169518 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-20 09:55:02 +00:00
bzbarsky%mit.edu
ce5f5c101d Add a presshell member to nsCSSFrameConstructor. Remove prescontext and
presshell args from most frame constructor methods; use the state for the
former and the member for the latter.  Bug 281957, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@169389 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 16:11:53 +00:00
bzbarsky%mit.edu
4136bc41b4 Remove unnecessary prescontext args on some nsLayoutUtils methods. Bug 281767,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@169352 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 06:06:47 +00:00
bzbarsky%mit.edu
57739174b7 Fix crash bug 281424. r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@169186 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-14 20:09:14 +00:00
bzbarsky%mit.edu
807f289552 Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs


git-svn-id: svn://10.0.0.236/trunk@168953 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 00:59:52 +00:00
aaronleventhal%moonset.net
943ee86ac3 Backing out fix for bug 249136 because it caused bug 279285
git-svn-id: svn://10.0.0.236/trunk@168848 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-05 17:00:46 +00:00
bzbarsky%mit.edu
33a134e02c Fix event point if the view of the current event frame is different from the
view that the event's point is relative to.  Bug 268352, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168762 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 20:09:45 +00:00
bzbarsky%mit.edu
d261ace52b Make sure to not allow reflow flushes to happen in the middle of scroll
position restoration.  Bug 279786, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168419 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 21:18:30 +00:00
bzbarsky%mit.edu
77e877e706 Change the hack for menus to just process the menugenerated attr change sync to
start with, instead of flushing style reresolves.  Bug 279308, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168418 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 21:17:08 +00:00
bzbarsky%mit.edu
8489f8d24b Flush out reflows before processing invalidates and paint events. Fixes a
variety of flicker issues of various sorts, especially when we're not quite
keeping up with the rate of updates in DHTML or in editor.  Bug 244366 and
various dependencies, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168044 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 03:39:09 +00:00
aaronleventhal%moonset.net
693603d600 Bug 249136. Focus lost when key pressed in newly loading foreground tab. r=bryner, sr=jst
git-svn-id: svn://10.0.0.236/trunk@167889 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-17 14:43:41 +00:00
neil%parkwaycc.co.uk
a9160e16e2 Bug 278546 Unchecked null pointer crash in nsPresShell::GetViewToScroll when pressing an arrow key while the sidebar's Tabs menubutton has focus r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@167851 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-16 21:25:15 +00:00
mats.palmgren%bredband.net
2cfbb74cf5 Improve handling of 'display' property for <noscript>. b=236450 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167206 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 19:37:54 +00:00
neil%parkwaycc.co.uk
b6cfbdda85 Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167161 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-01 17:26:29 +00:00
bmlk%gmx.de
adcb976e59 remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167045 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-27 15:05:18 +00:00
bmlk%gmx.de
e547c59f49 remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167037 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-26 19:48:54 +00:00
dbaron%dbaron.org
4bbdb86a7a Back out 252703 due to Txul / Ts regression.
git-svn-id: svn://10.0.0.236/trunk@166118 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 01:26:20 +00:00
dbaron%dbaron.org
4152e1ae96 Fix theme switching bugs related to insufficient change handling when entry points to themes are stylesheet links (processing instructions or XBL stylesheet elements) or xul:image src attributes by giving the chrome: protocol its own URL implementation that remembers the URL to which the chrome: URL was resolved and uses that resolved URL as part of equality testing. Fix various fastload issues arising from this change. b=252703 r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@166102 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 22:39:17 +00:00
smontagu%smontagu.org
9edf6384c3 Bug 263309 PresShell::CompleteMove simulates a mouse click and assumes LTRness, patch by Eyal Rozenberg <eyalroz@technion.ac.il>, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@165899 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-29 20:28:46 +00:00
neil%parkwaycc.co.uk
df2668e776 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165693 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu
a37e7c24da Don't DisableRefresh() at destruction, since that operates on the whole
viewmanager tree.  Bug 267557, r+sr=roc, a=asa


git-svn-id: svn://10.0.0.236/trunk@165565 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-22 02:59:19 +00:00
aaronleventhal%moonset.net
9faffb9ffc Bug 258514. Clicked anchor with location hash set to element id gives first child anchor focus rectangle & selection not always updated correctly. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@165323 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-12 21:58:12 +00:00
neil%parkwaycc.co.uk
18c53f2f32 Bug 267302 Views should be created by the view manager r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164914 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 15:06:50 +00:00
darin%meer.net
ed9e4d3d7a eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
aaronleventhal%moonset.net
928aa93531 Bug 258514. Click on anchor with location hash sometimes first focusable child a focus rectangle. r=mats, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@164599 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 13:40:25 +00:00