Граф коммитов

4996 Коммитов

Автор SHA1 Сообщение Дата
cbiesinger%web.de 2a428dab2c Bug 314461 make presshell use the new nsIObjectFrame::StopPlugin function
r+sr=bz
2005-11-01 11:37:25 +00:00
bmlk%gmx.de 19d7e781d9 array boundary protection, second round, bug 265736 r/sr=roc 2005-11-01 05:15:10 +00:00
bmlk%gmx.de 635a9bee91 array boundary protection, initial idea Ben Fowler, bug 265736 r/sr=roc 2005-10-29 13:40:38 +00:00
masayuki%d-toybox.com e7ed3d82a7 Bug 313918 IME candidate list is positioned to wrong position if the caret is positioned non-root view r+sr=roc 2005-10-29 12:43:51 +00:00
cvshook%sicking.cc 64a0fbd45f Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu 0d5a3e6aa7 Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2005-10-27 02:25:23 +00:00
roc+%cs.cmu.edu 680ffaad50 Bug 313817. DeCOMtaminate a bunch of NS_New*Frame functions. patch by Marc Liddell, r+sr=roc 2005-10-26 21:46:39 +00:00
bzbarsky%mit.edu c826d32b65 Flush out content updates before messing with the frame tree. Bug 313516, r+sr=roc 2005-10-25 22:32:13 +00:00
bzbarsky%mit.edu f44f93ebc5 Fix restarting of plugins when restoring from bfcache. Bug 313669, r+sr=bryner 2005-10-25 01:32:14 +00:00
bryner%brianryner.com e7e62f956e Stop plugins correctly when storing a page into session history (bug 311791). Patch by bzbarsky, r+sr=me. 2005-10-22 03:27:22 +00:00
roc+%cs.cmu.edu 4ee1e637be Bug 313086. Fall-back path to delete absolute and floating frames if they're not found in the usual child list ... they may have been placed in the normal child list because no container was found. r+sr=bzbarsky 2005-10-20 19:20:34 +00:00
bzbarsky%mit.edu 0d1e336c9a Try fixing bug 288064 again. r=biesi, sr=dbaron 2005-10-17 00:50:39 +00:00
bzbarsky%mit.edu 3a58eba127 Fix bug 311615 -- don't reframe the containing block if a current inline is
being reframed.  r+sr=roc
2005-10-16 15:25:36 +00:00
bzbarsky%mit.edu 432cc819a8 Fix WipeContainingBlock() to work in more cases. Bug 291902, bug 296086, bug
285964, bug 310933, r+sr=dbaron
2005-10-16 15:21:05 +00:00
dbaron%dbaron.org 28fed71fa8 Make captions process children normally so that whitespace-only text frames get constructed. b=311822 r=bernd sr=roc 2005-10-15 05:19:30 +00:00
roc+%cs.cmu.edu 344b4be95e Bug 311152. Make DOM selection changes repaint the caret in the new position. r=mrbkap,sr=dbaron 2005-10-12 18:40:38 +00:00
bmlk%gmx.de aa98fada26 Table foreign frames need to be wrapped into pseudo frames reagrdless of their namespace. bug 311661 r/sr=bzbarsky 2005-10-12 13:35:17 +00:00
bzbarsky%mit.edu 33125a0a6f Do nothing if styles are flushed when we have no pending restyles. Bug 311546,
r+sr=dbaron
2005-10-09 18:24:50 +00:00
cvshook%sicking.cc 7371067364 Bugs 292962 and 311269: Make pages in bf cache not behave as if they have a presentation, and evict pages from the bf cache synchronously if they are modified.
r/sr=bryner
2005-10-07 20:20:52 +00:00
bzbarsky%mit.edu 1e877334ed Make IsSpecialHTMLContent happier with images and objects. Bug 310662, r=bernd, sr=dbaron 2005-10-04 23:56:14 +00:00
aaronleventhal%moonset.net fd97041e21 Bug 193316. Caret not visible in readonly fields (HTML or XUL). r=mrbkap, sr=smfr 2005-10-04 03:14:03 +00:00
bzbarsky%mit.edu 79185165c1 Backing out bug 288064 because of the Tp hit. 2005-10-01 01:35:56 +00:00
bzbarsky%mit.edu 418608b744 Null out the undisplayed map after deleting it so we don't try to mess with it
if someone removes nodes while we're coming down.  Bug 309981, r+sr=dbaron
2005-10-01 00:36:59 +00:00
bzbarsky%mit.edu 7a5cbee6e9 Implement a LOADING state, have a :-moz-loading selector to match on it, use it
for images.  Bug 288064, r=biesi, sr=dbaron
2005-10-01 00:34:03 +00:00
roc+%cs.cmu.edu 9a19c5a42d Bug 307076. Don't use any table-related frame as an abs-pos containing block. r+sr=bzbarsky 2005-09-30 21:43:55 +00:00
peterv%propagandism.org a91a09cd13 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null), remove some includes. Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-26 14:37:29 +00:00
bzbarsky%mit.edu 6555099b06 Keep quote and counter recalculation from reentering itself. Bug 310006, r+sr=dbaron 2005-09-26 14:35:23 +00:00
bzbarsky%mit.edu bdd0e13912 Make sure to flush out the content model before processing restyles; otherwise
we can end up with odd content duplication.  Bug 309986, r+sr=dbaron
2005-09-26 01:27:42 +00:00
peterv%propagandism.org 3609c87767 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
bryner%brianryner.com 6ba0ca043f Add a global limit to the number of cached content viewers that scales with the amount of physical memory. Patch by Marria Nazif <marria@gmail.com>. Bug 292965, r=biesi, sr=me. 2005-09-23 18:16:40 +00:00
aaronleventhal%moonset.net cb2afa53b3 Bug 307172. Focus never returns when a link having focus is hidden. r+sr=bryner 2005-09-23 17:55:12 +00:00
bzbarsky%mit.edu b2c9978aed Fix nsCSSFrameConstructor::ContentRemoved to properly deal with out-of-flows
whose placeholders are in an insertion point.  Bug 288790, r+sr=dbaron
2005-09-23 14:48:08 +00:00
bzbarsky%mit.edu 83ee9724b1 Remove an extra view update batch that's not needed. Bug 309114, r+sr=roc 2005-09-23 14:45:36 +00:00
ginn.chen%sun.com 33c2528c30 Bug 255411 "Use my colors" preference makes popup/hover frames have transparent background
r=bzbarsky sr=dbaron
2005-09-23 08:08:09 +00:00
dbaron%dbaron.org 15e4ba0d80 Remove now-unused CantRenderReplacedElement. b=309065 r+sr=bzbarsky 2005-09-21 21:54:54 +00:00
cbiesinger%web.de 7002686d0d bug 1156
- Make object frames have no children
  - Make the frame constructor construct a subdocumentframe, object frame or
    image frame as appropriate
- start the load of <applet>, <embed> and <object> in content code
- fallback to alternate rendering correctly

NOTE: This checkin will break the plugin finder. This will be fixed soon.

r+sr=bz
2005-09-21 19:14:30 +00:00
mats.palmgren%bredband.net e185cf6234 Move the floats we reparent in AdjustFloatParentPtrs() to the "inner" state so that they end up in the right containing block. b=307277 r+sr=bzbarsky 2005-09-20 23:00:27 +00:00
dbaron%dbaron.org 85b6b17628 Attempt to follow the SVG spec rules on where SVG elements should be ignored. b=306915 r=tor sr=bzbarsky 2005-09-19 19:55:31 +00:00
roc+%cs.cmu.edu fed343c43a Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman. 2005-09-19 02:15:54 +00:00
bzbarsky%mit.edu 608088a431 Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds.  Bug 11011, r=biesi and roc, sr=dbaron
2005-09-18 18:05:40 +00:00
dbaron%dbaron.org f41157f8c0 Fix event coordinate regression when views don't line up with widgets. b=308521 Patch from Eli Friedman <sharparrow1@yahoo.com>. r+sr=roc 2005-09-18 18:03:06 +00:00
mrbkap%gmail.com 2ca316a454 bug 308788: DocumentViewerImpl needs to QI to nsISupports for things to work correctly. r+sr=dbaron 2005-09-16 19:57:20 +00:00
dbaron%dbaron.org d790c8e3c3 Do not skip PostHandleEvent for synthesized mouse moves. b=20022 Thanks to Neil for finding the problem. r+sr=roc 2005-09-16 06:04:25 +00:00
dougt%meer.net 4435542681 This fixes the NS_PRINTING configure option which got broken at some point. b=308629 r/sr=jst@mozilla.org 2005-09-16 02:25:37 +00:00
roc+%cs.cmu.edu cc4c158fff Bug 305825. Bulletproof event handling so we don't crash when the presentation goes away that the event is based on. r+sr=roc, patch by Eli Friedman 2005-09-15 04:03:07 +00:00
bryner%brianryner.com 53d768e870 Backing out 292965 until Tp regression is understood. 2005-09-14 07:28:05 +00:00
bryner%brianryner.com d67792fcc9 Add a global limit to the number of cached content viewers that scales with the amount of physical memory. Patch by Marria Nazif <marria@gmail.com>. Bug 292965, r=biesi, sr=me. 2005-09-14 03:38:40 +00:00
scootermorris%comcast.net 31c2f50383 Bug 294517 -- implement SVG Patterns
r=tor
2005-09-13 22:38:36 +00:00
bzbarsky%mit.edu 818aafcc15 Improve the CSSLoader API: make it clear which methods return results
sync and which return async, move the handling of alternates more completely
into the CSSLoader, make it possible for observers to tell whether the load
actually succeeded.  Bug 293825, r+sr=peterv
2005-09-12 18:41:15 +00:00
bzbarsky%mit.edu c00cd696d1 Fix bug 307256, bug 307304, bug 307924 by disabling selection for XUL elements
by default.  r+sr=dbaron, with OKs from Neil and mconnor for the general idea
and the xul.css changes.
2005-09-11 19:22:57 +00:00
peterv%propagandism.org 85b8cff6bc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 17:15:08 +00:00
peterv%propagandism.org efa08d1916 Back out fix for bug 251025 to fix bustage. 2005-09-11 15:42:31 +00:00
peterv%propagandism.org 86ca4e41cc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 15:05:31 +00:00
mats.palmgren%bredband.net f048b80534 Caret drawn at incorrect position after typing a single LTR character in a blank RTL input field (or vice versa) while caret is visible. b=307533 r=uriber sr=bzbarsky 2005-09-10 11:14:48 +00:00
bzbarsky%mit.edu cf64715ae5 Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-07 16:49:21 +00:00
tor%cs.brown.edu 36c76bbadd Bug 301234 - implement subset of SVG filters. r=scooter 2005-09-06 22:30:40 +00:00
roc+%cs.cmu.edu f246fa2bbd Bug 280987. Remove aPresContext from nsIFrameDebug::List. r+sr=roc, patch by Vidar Braut Harr. 2005-09-06 21:34:50 +00:00
bzbarsky%mit.edu 013a8a9ace Don't condition selection on whether we're in a chrome docshell; explicitly
disable selection for <label> and <description> as needed.  Bug 306262, r=neil,
sr=roc
2005-09-06 03:37:15 +00:00
bzbarsky%mit.edu 0cfd6a71ca Make addition or removal of frames in a frameset actually change the
rendering.  Bug 306660, r=jst, sr=roc
2005-09-06 02:14:36 +00:00
tor%cs.brown.edu b69ab62c9b Bug 294519 - should behave the same when SVG not built, SVG pref
disabled, or no SVG renderer present.  r=dbaron, a=asa
2005-09-05 20:41:57 +00:00
roc+%cs.cmu.edu 60903ce73c Bug 306222. Make nsIFrame::GetContentAndOffsetsFromPoint, and nsIFrameSelection::HandleDrag, take coordinates relative to the current frame, not some random view. r+sr=roc,patch by Eli Friedman 2005-09-04 20:04:23 +00:00
roc+%cs.cmu.edu 9711031a79 Bug 305944. Fix handling of event clipping regression. r+sr=roc, patch by Eli Friedman 2005-08-31 23:06:39 +00:00
mats.palmgren%bredband.net 8f34e7d413 Fix crash on unicode "zero width non-joiner" sequence. b=217903 r+sr=dbaron 2005-08-31 00:35:17 +00:00
mats.palmgren%bredband.net 377c6c9a64 Implement HTML4 align=middle according to spec. Correct the DOM attribute value mapping for some of the other values as well. b=192077 r+sr=dbaron 2005-08-30 22:46:45 +00:00
bzbarsky%mit.edu e9f389b855 Fix assertion bug 303006, r+sr=dbaron 2005-08-30 02:36:47 +00:00
smfr%smfr.org 1469ecb299 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 303c683415 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
mats.palmgren%bredband.net 7e23bbba0b Don't go below BODY in search for a background color (Print only bug). b=294836 r+sr=bzbarsky 2005-08-29 04:39:31 +00:00
bzbarsky%mit.edu ee1ced6838 Removing comment that refers to code that is now gone. 2005-08-29 03:37:12 +00:00
dbaron%dbaron.org 9bc4f35244 Back out most of the rest of bug 304462. 2005-08-28 16:45:39 +00:00
bmlk%gmx.de 6ac1df1e9e code share GetCaptionAdjustedParent between AdjustCaptionParentFrame, bug 289936 r/sr=bzbarsky 2005-08-27 18:30:36 +00:00
dbaron%dbaron.org f7622a3b1c Give popup blocked events a message constant. b=304462 r+sr=bryner 2005-08-26 21:38:38 +00:00
tor%cs.brown.edu ec5069804e Bug 282579 - Implement <svg:textPath>. As a side effect, this removes
the gdi+ text highlighting code.  r=afri
2005-08-26 02:49:52 +00:00
jwatt%jwatt.org 59e42c6cd2 Fixing bug 302103. Implement SVG events. r=tor@acm.org, sr=jst@mozilla.org 2005-08-25 21:31:09 +00:00
bzbarsky%mit.edu 643e0e6e6f 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
mrbkap%gmail.com 5187e69f5f bug 303399: Bidi: Problems with caret positioning on blank lines. Patch by Uri Bernstein <uriber@gmail.com>. r=mrbkap sr=roc 2005-08-24 17:44:28 +00:00
smfr%smfr.org 274b3b1516 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 2005-08-23 23:52:16 +00:00
bzbarsky%mit.edu f41b587cae 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 4ac70976f2 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 6377fe1d40 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 7c5cfe2f80 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 0d6a610963 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 64f28bc51d 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 091d8cf9cb 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 decb76621e 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 5f5a889ef5 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 2005-08-21 23:56:40 +00:00
bzbarsky%mit.edu 482bc40078 Document interaction of nsIStyleSheetService with ua.css and user*.css. Bug
305026, r+sr=dbaron
2005-08-20 01:24:00 +00:00
roc+%cs.cmu.edu 889049f5f4 Backing out fix for bug 130078 because of performance regressions. 2005-08-18 19:44:55 +00:00
roc+%cs.cmu.edu 1da9d9ae96 Bug 130078. Integrate all view managers in a given top-level window into a single view manager tree. r+sr=dbaron 2005-08-18 17:14:29 +00:00
bzbarsky%mit.edu 8e208eced1 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
2005-08-16 22:52:48 +00:00
roc+%cs.cmu.edu 1928c9208a Bug 289377, cleanup nsCSSFrameConstructor a tad. r+sr=bzbarsky 2005-08-16 21:35:58 +00:00
mrbkap%gmail.com 2b7c7bca7a 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 2005-08-15 18:16:42 +00:00
cbiesinger%web.de 26a83fee9a bug 292998
- move textZoom storage to the prescontext from the documentviewer
- copy the textZoom between document viewers for fastback
r=bryner sr=dbaron
2005-08-13 11:54:22 +00:00
mrbkap%gmail.com c5688dfef2 Backing out changes for bug 303267 until the perf hits on the Seamonkey tinderbox can be explained. 2005-08-13 03:54:29 +00:00
mrbkap%gmail.com 59fbced3fe 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. 2005-08-13 00:53:39 +00:00
jst%mozilla.jstenback.com e23ea875f3 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 b2e4656151 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 b3f31d48d4 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 c3ea09b7b0 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 d2d90df8ec 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