863 Commits

Author SHA1 Message Date
neil%parkwaycc.co.uk
1e99a3c217 Frame processing needs to happen before bubbling system event group handlers in order to fix bug 300227 and thus properly fix bug 298894 r=jst sr=bz
git-svn-id: svn://10.0.0.236/trunk@179192 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 13:41:11 +00:00
bzbarsky%mit.edu
ce902f28ab Removing comment that refers to code that is now gone.
git-svn-id: svn://10.0.0.236/trunk@179183 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 03:37:12 +00:00
bzbarsky%mit.edu
525a6b3082 Cache the event queue service in nsContentUtils instead of having every single
presshell caching it.  Bug 305689, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@178852 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 21:01:51 +00:00
bzbarsky%mit.edu
d7497a616e Go back to having UnblockOnload firing onload sync in cases where it's safe.
Attempting to address Tp fallout from bug 294114, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@178750 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 23:24:30 +00:00
roc+%cs.cmu.edu
a65887afc9 Bug 304434. Update link :visited status for URIs downloaded to helper apps. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@178746 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 22:26:10 +00:00
roc+%cs.cmu.edu
5525e0f045 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman
git-svn-id: svn://10.0.0.236/trunk@178666 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 03:57:07 +00:00
bzbarsky%mit.edu
b327d4361b Remove nsDummyLayoutRequest and use the nsIDocument onload-blocking API
instead.  Bug 294114, r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@178656 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 01:29:02 +00:00
bzbarsky%mit.edu
d1afb179ba Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00
bryner%brianryner.com
79d7d9246b follow-up to bug 303725, don't try to get a weak reference to a weak reference. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@178628 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 19:46:25 +00:00
bryner%brianryner.com
760b97437e Attempting to fix crashes in RetargetEventToParent (bug 303725). Leave a weak container pointer so that events targetted to cached pres shells can be sent up to the parent, and don't crash if this fails. r=aaronl, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@178582 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 01:55:34 +00:00
mats.palmgren%bredband.net
2750874396 Erase caret if needed when content is removed. b=304383 r=mrbkap sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@178577 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 00:25:20 +00:00
roc+%cs.cmu.edu
c0375ee6b6 Bug 289377, cleanup nsCSSFrameConstructor a tad. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@177891 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 21:35:58 +00:00
jst%mozilla.jstenback.com
a9f668bc25 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@177635 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 04:11:00 +00:00
bryner%brianryner.com
6dd6993f13 don't leak all of the pres shells. bug 78510, r=jst/brendan
git-svn-id: svn://10.0.0.236/trunk@177537 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 03:59:04 +00:00
mats.palmgren%bredband.net
cfa8f92f51 Don't use a Frame pointer to remember where we last painted the caret, instead use Content+offset+hint. b=296464 r=mrbkap sr=roc a=cbeard
git-svn-id: svn://10.0.0.236/trunk@177536 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 03:44:16 +00:00
roc+%cs.cmu.edu
a4e5443b20 Bug 78510. Maintain a per-document hashmap from URI-spec-hash to set of pointers to content elements that are links to those URIs whose state has been queried by the style system. Use this map to efficiently mark visited any links to URIs which get visited. r+sr=dbaron, with input from bryner and bzbarsky, a=jesup with support from dbaron. May impact Tp and other metrics, be careful out there.
git-svn-id: svn://10.0.0.236/trunk@177512 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-10 20:21:44 +00:00
bryner%brianryner.com
d1232f1869 Fix fastback regression where IsZombieDocument could return false even if we are in a zombie document. Bug 301804, r=aaronl, sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@177185 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-05 20:01:52 +00:00
jst%mozilla.jstenback.com
792744ce69 Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers
git-svn-id: svn://10.0.0.236/trunk@176884 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 20:57:07 +00:00
timeless%mozdev.org
786bcf4000 Bug 300572 FF11a2 Crash in [@ js_SetSlotThreadSafe] with new Shockwave Flash beta 8.0 b434
r=jst sr=jst a=shaver


git-svn-id: svn://10.0.0.236/trunk@176321 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 12:36:55 +00:00
bryner%brianryner.com
01d4a2db78 Make sure we unsuppress painting for subframes on fastback. Bug 292890, r+sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@176244 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 17:07:40 +00:00
aaronleventhal%moonset.net
40b6366b17 Bug 300642. Fix regression from fastback that broke page loading in screen readers. r+sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/trunk@176121 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-15 02:35:19 +00:00
bzbarsky%mit.edu
2e83e0e621 Don't post or process reflow events after the presshell started destroying.
Bug 293651, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@175760 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 17:10:40 +00:00
bryner%brianryner.com
35fcd14778 Use PresShell::UnsuppressPainting instead of just an invalidate, to make sure the content area receives focus if needed. Bug 295931, r+sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@175477 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 07:12:02 +00:00
bryner%brianryner.com
579f24fd9d Fix crash when using fastback to go to pages that use SVG in an <object> tag, and bulletproof a little bit. Bug 299153, r+sr=dbaron, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@175421 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 20:58:33 +00:00
aaronleventhal%moonset.net
d0301a1bd7 Bug 290352. Fix show/hide events, and anything dependent on those such as DHTML sub sub menus, alerts and progress bars. r=louie.zhao, sr=bz, a=asa
git-svn-id: svn://10.0.0.236/trunk@174409 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-10 13:57:27 +00:00
bzbarsky%mit.edu
6bb181f495 Protect against sizeToContent being called on windows with no content a bit.
Bug 293781, r+sr=roc, a=asa


git-svn-id: svn://10.0.0.236/trunk@173384 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-13 19:47:38 +00:00
bzbarsky%mit.edu
2e6c4b317a Fix bug 293588 -- make sure to not store form data in the wrong session history
entry.  r+sr=bryner, a=brendan


git-svn-id: svn://10.0.0.236/trunk@173350 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-12 20:53:33 +00:00
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