Commit Graph

1464 Commits

Author SHA1 Message Date
smfr@smfr.org
c0eec993a9 Fix bug 208601: DocumentViewerImpl::GetCanGetContents() was incorrectly returning false for text fields, because it was looking at the document's selection, rather than the text field selection. Fix by exposing nsIPresShell::GetSelectionForCopy(), and calling that. This fixes the Services menu in Camino to work in text fields. r/sr=roc. 2005-08-29 15:19:13 +00:00
neil@parkwaycc.co.uk
1752e93e67 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 2005-08-29 13:41:11 +00:00
bzbarsky@mit.edu
adbd134dfb Removing comment that refers to code that is now gone. 2005-08-29 03:37:12 +00:00
bzbarsky@mit.edu
d26b7b75df Cache the event queue service in nsContentUtils instead of having every single
presshell caching it.  Bug 305689, r+sr=peterv
2005-08-24 21:01:51 +00:00
bzbarsky@mit.edu
5232d7bd2c 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
2005-08-23 23:24:30 +00:00
roc+@cs.cmu.edu
e74e53904b Bug 304434. Update link :visited status for URIs downloaded to helper apps. r+sr=dbaron 2005-08-23 22:26:10 +00:00
roc+@cs.cmu.edu
3ce3467504 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman 2005-08-23 03:57:07 +00:00
bzbarsky@mit.edu
75c9b5e593 Remove nsDummyLayoutRequest and use the nsIDocument onload-blocking API
instead.  Bug 294114, r=dbaron, sr=jst
2005-08-23 01:29:02 +00:00
bzbarsky@mit.edu
93240998ef Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
bryner@brianryner.com
7efb1e493a follow-up to bug 303725, don't try to get a weak reference to a weak reference. r+sr=dbaron. 2005-08-22 19:46:25 +00:00
bryner@brianryner.com
7d5cea2295 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. 2005-08-22 01:55:34 +00:00
mats.palmgren@bredband.net
339f61cf40 Erase caret if needed when content is removed. b=304383 r=mrbkap sr=bzbarsky 2005-08-22 00:25:20 +00:00
roc+@cs.cmu.edu
cdbf344bb0 Bug 289377, cleanup nsCSSFrameConstructor a tad. r+sr=bzbarsky 2005-08-16 21:35:58 +00:00
jst@mozilla.jstenback.com
5a86222f01 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org 2005-08-12 04:11:00 +00:00
bryner@brianryner.com
2fbaa5a006 don't leak all of the pres shells. bug 78510, r=jst/brendan 2005-08-11 03:59:04 +00:00
mats.palmgren@bredband.net
04d2dd9ec7 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 2005-08-11 03:44:16 +00:00
roc+@cs.cmu.edu
116c7af9d3 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. 2005-08-10 20:21:44 +00:00
bryner@brianryner.com
3cd157e6e4 Fix fastback regression where IsZombieDocument could return false even if we are in a zombie document. Bug 301804, r=aaronl, sr+a=dbaron 2005-08-05 20:01:52 +00:00
jst@mozilla.jstenback.com
ae436cae87 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 2005-07-30 20:57:07 +00:00
timeless@mozdev.org
99a647f145 Bug 300572 FF11a2 Crash in [@ js_SetSlotThreadSafe] with new Shockwave Flash beta 8.0 b434
r=jst sr=jst a=shaver
2005-07-20 12:36:55 +00:00
bryner@brianryner.com
feb23d65dc Make sure we unsuppress painting for subframes on fastback. Bug 292890, r+sr=dbaron, a=brendan. 2005-07-19 17:07:40 +00:00
aaronleventhal@moonset.net
4c4a054b13 Bug 300642. Fix regression from fastback that broke page loading in screen readers. r+sr=bryner, a=asa 2005-07-15 02:35:19 +00:00
bzbarsky@mit.edu
621f35c9b4 Don't post or process reflow events after the presshell started destroying.
Bug 293651, r+sr=roc
2005-07-07 17:10:40 +00:00
bryner@brianryner.com
9e21801c67 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. 2005-07-01 07:12:02 +00:00
bryner@brianryner.com
3e91a6c4d2 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 2005-06-30 20:58:33 +00:00
aaronleventhal@moonset.net
a1252af0af 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 2005-06-10 13:57:27 +00:00
bzbarsky@mit.edu
9b422dab64 Protect against sizeToContent being called on windows with no content a bit.
Bug 293781, r+sr=roc, a=asa
2005-05-13 19:47:38 +00:00
bzbarsky@mit.edu
2de9e1002f Fix bug 293588 -- make sure to not store form data in the wrong session history
entry.  r+sr=bryner, a=brendan
2005-05-12 20:53:33 +00:00
bryner@brianryner.com
9d9b2e7a47 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. 2005-05-04 20:22:32 +00:00
aaronleventhal@moonset.net
b9a1cbed8c Bug 280498. Invalidate accessibility subtree for frame visibility/display style changes. r=bz, sr=roc, a=asa 2005-05-03 03:46:51 +00:00
masayuki@d-toybox.com
1b4d6abfe9 bug 292263 ATOK's Moji Palette that is like software keyboard doesn't work. r=timeless, sr=neil, a=chofmann 2005-04-29 18:30:23 +00:00
jst@mozilla.jstenback.com
f54c1fc9b1 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 2005-04-28 23:48:28 +00:00
roc+@cs.cmu.edu
1667366f33 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 2005-04-14 22:41:52 +00:00
bzbarsky@mit.edu
d2d558b095 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
2005-04-14 15:30:35 +00:00
smfr@smfr.org
e77625a85d 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. 2005-04-13 04:35:13 +00:00
aaronleventhal@moonset.net
c6b6020130 Bug 280154. Cannot arrow past first entry in help sidebar panels. r=Neil, sr=bz, a=asa 2005-04-12 20:25:49 +00:00
kyle.yuan@sun.com
f39944e155 Bug 268513 overflow:scroll causes memory growth
r/sr=bz, a=asa
2005-04-07 23:50:40 +00:00
bzbarsky@mit.edu
2d637b6568 Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst
2005-04-05 23:54:35 +00:00
roc+@cs.cmu.edu
e129b06488 Bug 289090. Get the pagesequenceframe from the frame constructor, don't poke around the frame hierarchy trying to find it. r+sr=bzbarsky 2005-04-05 22:46:56 +00:00
dbaron@dbaron.org
4a88021355 Implement CSS2 counters. b=3247 r+sr=bzbarsky 2005-04-01 23:07:00 +00:00
bzbarsky@mit.edu
4720a6c394 Fixing AIX build bustage. Thanks to pkw for the patch! 2005-03-29 15:57:53 +00:00
bzbarsky@mit.edu
93d12f78ef More bustage fixing. To be precise, check in what should have gone in the
first time, but didn't due to a malformed diff.
2005-03-29 00:22:12 +00:00
bzbarsky@mit.edu
ac392dba0f Fix build bustage by moving CantRenderReplacedElementEvent class decl earlier
in the file
2005-03-28 23:56:33 +00:00
bzbarsky@mit.edu
254e4f4718 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
2005-03-28 23:20:54 +00:00
mats.palmgren@bredband.net
acd42ad508 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
2005-03-27 11:36:08 +00:00
bzbarsky@mit.edu
9db81841a9 Work around print preview bug (unhooking and then rehooking a presshell to a
document).  Bug 286869, r+sr=roc
2005-03-25 04:27:21 +00:00
bmlk@gmx.de
a30a2ebf29 - 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
2005-03-03 18:04:38 +00:00
bzbarsky@mit.edu
2b2cf40c20 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
2005-03-03 04:46:03 +00:00
bzbarsky@mit.edu
24abe93775 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
2005-02-28 02:27:09 +00:00
kyle.yuan@sun.com
20e5f0e0d3 backout the fix for bug 268513 2005-02-28 01:08:32 +00:00