4870 Commits

Author SHA1 Message Date
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
mrbkap%gmail.com
210f1d6d3a bug 303399: Bidi: Problems with caret positioning on blank lines. Patch by Uri Bernstein <uriber@gmail.com>. r=mrbkap sr=roc
git-svn-id: svn://10.0.0.236/trunk@178798 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 17:44:28 +00:00
smfr%smfr.org
7dd0965ac3 Fix bug 303987: long delays after resetting font prefs. Use a zero-delay timer to coalesce multiple pref callbacks in the pres context into one update. r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@178752 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 23:52:16 +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
c8d2312b82 Bug 286491. Recreate the entire IB-split complex if the child of an IB-special frame is recreated, because the structure of the IB split may be changing. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@178575 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-21 23:56:40 +00:00
bzbarsky%mit.edu
b3927a08e9 Document interaction of nsIStyleSheetService with ua.css and user*.css. Bug
305026, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@178326 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 01:24:00 +00:00
roc+%cs.cmu.edu
05e838107a Backing out fix for bug 130078 because of performance regressions.
git-svn-id: svn://10.0.0.236/trunk@178194 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 19:44:55 +00:00
roc+%cs.cmu.edu
9e2357e05c Bug 130078. Integrate all view managers in a given top-level window into a single view manager tree. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@178171 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 17:14:29 +00:00
bzbarsky%mit.edu
9104cb9303 Make frames know whether they're leaves or not from the frame construction
point of view; use this in the frame constructor.  Bug 265367, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@177914 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 22:52:48 +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
mrbkap%gmail.com
1990895d08 bug 303267: Store the entire inner window in the window state holder instead of copying properties and restoring them. This fixes going back and forth with the bfcache on when the page gone to has javascript in it. r=jst sr=bryner
git-svn-id: svn://10.0.0.236/trunk@177765 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 18:16:42 +00:00
cbiesinger%web.de
c41020b640 bug 292998
- move textZoom storage to the prescontext from the documentviewer
- copy the textZoom between document viewers for fastback
r=bryner sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@177690 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 11:54:22 +00:00
mrbkap%gmail.com
674ac13620 Backing out changes for bug 303267 until the perf hits on the Seamonkey tinderbox can be explained.
git-svn-id: svn://10.0.0.236/trunk@177687 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 03:54:29 +00:00
mrbkap%gmail.com
7d07d878fd bug 303267: Store the entire inner window object on the history entry instead of copying/restoring JS properties. r=bryner sr=jst. This patch also fixes bugs 304284 and 304078.
git-svn-id: svn://10.0.0.236/trunk@177684 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 00:53:39 +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
scootermorris%comcast.net
50c97a74c9 Bug 295850 -- Set up general GetReferencedFrame routine and use it for ClipPath, Glyph, Gradients, Markers, and Paths.
r=tor


git-svn-id: svn://10.0.0.236/trunk@177118 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-04 20:32:02 +00:00
dbaron%dbaron.org
3b6e2b3e30 Missed file, fixing bustage, b=291725
git-svn-id: svn://10.0.0.236/trunk@177017 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:38:47 +00:00
dbaron%dbaron.org
78014a241f Propagate SetBounds to mPreviousViewer so that resizes work correctly during paint suppression, which is especially important for Firefox infobar. b=290991 r=bzbarsky sr=roc a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177010 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:19:19 +00:00
dbaron%dbaron.org
b141f06f84 Prevent background propagation code from trying to operate on pseudo-elements. b=302040 r+sr=roc a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177005 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:11:09 +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
3dcc66470d Bug 302545 crash w/ --enable-timeline [@ DocumentViewerImpl::LoadComplete]
r=bz sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@176831 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-29 10:09:08 +00:00
mats.palmgren%bredband.net
4d0c915139 (Followup) Fix focus related crashes in Print Preview. b=244128 r+sr=bzbarsky a=benjamin
git-svn-id: svn://10.0.0.236/trunk@176593 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 00:55:05 +00:00
bryner%brianryner.com
1f319207af Change PageShow/PageHide events to be lowercase and hook them up so that onpageshow= works on the body tag. Bug 297887, patch by brettw@gmail.com, r=me, a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@176571 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 22:09:39 +00:00
gavin%gavinsharp.com
6ab5cb2465 Bug 298545: border-style: double displayed as solid, patch by gandalf@aviary.pl, r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@176465 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-22 20:57:36 +00:00
mats.palmgren%bredband.net
f77a66da83 Prevent having kbd focus inside the content document in Print Preview. b=244128 r=bryner sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@176372 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 00:15:27 +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
roc+%cs.cmu.edu
6b841d815c Bug 296838. Rework drawWindow a bit so it draws fixed-position elements. r/rs=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@176295 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 23:24:30 +00:00
bzbarsky%mit.edu
376f34b67d Make sure to clear the placeholder map _before_ destroying the frame tree. Bug
297850, r+sr=dbaron, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176266 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 21:09:41 +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
timeless%mozdev.org
0318b4ddfb Bug 299575 nsDocumentViewer.cpp:1329 unused variable `PRBool updateHistory'
patch by b.jacques@planet.nl r=bryner sr=bryner a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176027 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 18:23:27 +00:00
bzbarsky%mit.edu
d3b1540fe2 Fix counter numbering when counters are set on the inline in an {ib} split.
Bug 296083, r+sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@175761 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 17:12:31 +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
tor%cs.brown.edu
21e4a702af Bug 296626 - handle SVG glyph frames being constructed in invalid
context.  r=dbaron, sr=roc, a=brendan.


git-svn-id: svn://10.0.0.236/trunk@175476 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 06:11:07 +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
mats.palmgren%bredband.net
1ddea0cb5c Make GetFieldSetAreaFrame() handle a null first child. b=299188 r+sr=dbaron a=benjamin
git-svn-id: svn://10.0.0.236/trunk@175411 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 20:31:40 +00:00
roc+%cs.cmu.edu
8408286c5f Bug 288438. Turn off SVG <foreignobject> because it's pretty broken. r=benjamin,sr=dbaron,a=benjamin,patch by jwatt,tor and roc
git-svn-id: svn://10.0.0.236/trunk@175282 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 03:51:44 +00:00
mats.palmgren%bredband.net
aadb12452f Add GetFieldSetAreaFrame() for accessing the area frame child of a fieldset frame. b=294717 r+sr=dbaron a=chofmann
git-svn-id: svn://10.0.0.236/trunk@175255 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-28 21:21:03 +00:00