4964 Commits

Author SHA1 Message Date
dbaron%dbaron.org
ea56e835a3 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@184589 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 20:09:51 +00:00
smontagu%smontagu.org
cedba21351 Reflow when Bidi options are changed. Bug 80352, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@184540 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-13 09:55:09 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
roc+%cs.cmu.edu
9199079043 Bug 313817. DeCOMtaminate SVG and MathML NS_New*Frame functions. r+sr=roc, patch by Marc Liddell.
git-svn-id: svn://10.0.0.236/trunk@184444 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 02:36:29 +00:00
mark%moxienet.com
b54efc8cca Bug 311399, Crash [@ SetOrigin] during rendering context destruction. Remove QD save/restore from rendering context, it was placed there as a workaround for scrollbar functional and aesthetic bugs. Add OS event handler to fix aesthetic problems, and check for bad states to work around functional problems. r=josh sr=smfr
git-svn-id: svn://10.0.0.236/trunk@184389 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 03:46:52 +00:00
bzbarsky%mit.edu
d006208790 Move the document's bidi state to actually live on the document, and remove
dependencies on nsPresContext in form submission.  Fixes bugs 100533, 180861,
293171.  r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@184321 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 22:45:49 +00:00
bzbarsky%mit.edu
8a03d5d2ea Don't reframe leaf frames just because they don't have generated content that
style says they should have -- leaves just don't have generated content.  Bug
315541, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@184305 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 18:20:47 +00:00
bzbarsky%mit.edu
44bbb394a0 Don't try to restyle a destroyed frame tree. Bug 315453, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@184288 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 04:07:13 +00:00
bryner%brianryner.com
e4f1520c9e Unhook subframe containers / link handlers when putting a document into bfcache, and restore them when restoring the document (bug 314549). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@184218 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-06 19:23:03 +00:00
bzbarsky%mit.edu
c43ac8f5a3 Make all stylesheet changes do an async style reresolve, not a sync one. Bug
314776, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@184211 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-06 18:01:17 +00:00
bzbarsky%mit.edu
467820641f Consolidate the out-of-flow handling in ContentRemoved, using
GetChildListNameFor.  Also, replace various checks for display and floating
with a check for out-of-flow where relevant.  Bug 313181, r=roc, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@184166 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 23:56:54 +00:00
bzbarsky%mit.edu
0a7f0c53a2 Change WipeContainingBlock to have a better definition of what it means for a
parent frame to be "inline", and remove checks for <select> around places that
called WipeContainingBlock.  Bug 314878, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@184164 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 23:43:01 +00:00
bzbarsky%mit.edu
d490f00b7b Remove the dummy frame stuff from selects. Replace it with smarter focus rect
painting and sizing for empty selects.  Bug 314879, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@184162 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 23:36:27 +00:00
roc+%cs.cmu.edu
c4e0410c6e Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@184129 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 02:38:33 +00:00
dbaron%dbaron.org
2551ced323 Only ignore the body background that's actually propagated to the canvas. b=314998 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@184116 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-03 23:06:54 +00:00
neil%parkwaycc.co.uk
3dbbdbf841 Get default tooltip text more reliably b=147670 r=timeless sr=jst
git-svn-id: svn://10.0.0.236/trunk@184066 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 23:53:56 +00:00
bzbarsky%mit.edu
d14d1f2475 Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:41:51 +00:00
bzbarsky%mit.edu
65dc080c8a Don't try to reframe generated content for image state changes on it. Bug
313656, r=biesi, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@183369 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:00:20 +00:00
bryner%brianryner.com
195ff5ec42 Restore the focus listener in Open() that was removed in Close() (bug 314400). Patch by saito@densan.co.jp, r=me, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@183363 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 21:55:34 +00:00
roc+%cs.cmu.edu
35affbc82e Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@183357 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 20:40:54 +00:00
cbiesinger%web.de
44a0c164bb Bug 314461 make presshell use the new nsIObjectFrame::StopPlugin function
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@183330 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 11:37:25 +00:00
bmlk%gmx.de
4a0204b784 array boundary protection, second round, bug 265736 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@183322 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 05:15:10 +00:00
bmlk%gmx.de
457c18e0bc array boundary protection, initial idea Ben Fowler, bug 265736 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@183239 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 13:40:38 +00:00
masayuki%d-toybox.com
286962ae64 Bug 313918 IME candidate list is positioned to wrong position if the caret is positioned non-root view r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@183235 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 12:43:51 +00:00
cvshook%sicking.cc
b26f9f52fb Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu
53c329523d Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183113 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 02:25:23 +00:00
roc+%cs.cmu.edu
2b50a04fc6 Bug 313817. DeCOMtaminate a bunch of NS_New*Frame functions. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@183097 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-26 21:46:39 +00:00
bzbarsky%mit.edu
cfd25f13dd Flush out content updates before messing with the frame tree. Bug 313516, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@183015 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-25 22:32:13 +00:00
bzbarsky%mit.edu
6eeafc1262 Fix restarting of plugins when restoring from bfcache. Bug 313669, r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@182943 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-25 01:32:14 +00:00
bryner%brianryner.com
1cd340798f Stop plugins correctly when storing a page into session history (bug 311791). Patch by bzbarsky, r+sr=me.
git-svn-id: svn://10.0.0.236/trunk@182768 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-22 03:27:22 +00:00
roc+%cs.cmu.edu
a94923aa69 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
git-svn-id: svn://10.0.0.236/trunk@182606 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-20 19:20:34 +00:00
bzbarsky%mit.edu
1333cae14e Try fixing bug 288064 again. r=biesi, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@182350 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:50:39 +00:00
bzbarsky%mit.edu
5aab713564 Fix bug 311615 -- don't reframe the containing block if a current inline is
being reframed.  r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@182331 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-16 15:25:36 +00:00
bzbarsky%mit.edu
bdffa1fdfa Fix WipeContainingBlock() to work in more cases. Bug 291902, bug 296086, bug
285964, bug 310933, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@182329 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-16 15:21:05 +00:00
dbaron%dbaron.org
5c2912b181 Make captions process children normally so that whitespace-only text frames get constructed. b=311822 r=bernd sr=roc
git-svn-id: svn://10.0.0.236/trunk@182302 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-15 05:19:30 +00:00
roc+%cs.cmu.edu
5e553cf7c6 Bug 311152. Make DOM selection changes repaint the caret in the new position. r=mrbkap,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@182107 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 18:40:38 +00:00
bmlk%gmx.de
f6052e6c52 Table foreign frames need to be wrapped into pseudo frames reagrdless of their namespace. bug 311661 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@182083 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 13:35:17 +00:00
bzbarsky%mit.edu
e315d2cc9a Do nothing if styles are flushed when we have no pending restyles. Bug 311546,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@181861 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-09 18:24:50 +00:00
cvshook%sicking.cc
103f17eb41 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


git-svn-id: svn://10.0.0.236/trunk@181785 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-07 20:20:52 +00:00
bzbarsky%mit.edu
b9683c14d1 Make IsSpecialHTMLContent happier with images and objects. Bug 310662, r=bernd, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@181631 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 23:56:14 +00:00
aaronleventhal%moonset.net
3d26c8dcab Bug 193316. Caret not visible in readonly fields (HTML or XUL). r=mrbkap, sr=smfr
git-svn-id: svn://10.0.0.236/trunk@181542 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 03:14:03 +00:00
bzbarsky%mit.edu
29198e38f2 Backing out bug 288064 because of the Tp hit.
git-svn-id: svn://10.0.0.236/trunk@181383 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 01:35:56 +00:00
bzbarsky%mit.edu
7f7093c4a3 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


git-svn-id: svn://10.0.0.236/trunk@181373 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 00:36:59 +00:00
bzbarsky%mit.edu
d81aa0e274 Implement a LOADING state, have a :-moz-loading selector to match on it, use it
for images.  Bug 288064, r=biesi, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@181371 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 00:34:03 +00:00
roc+%cs.cmu.edu
b07ca1e189 Bug 307076. Don't use any table-related frame as an abs-pos containing block. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@181332 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 21:43:55 +00:00
peterv%propagandism.org
5b98a9db45 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.
git-svn-id: svn://10.0.0.236/trunk@180960 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-26 14:37:29 +00:00
bzbarsky%mit.edu
b277c66fb5 Keep quote and counter recalculation from reentering itself. Bug 310006, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@180959 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-26 14:35:23 +00:00
bzbarsky%mit.edu
cbda596f93 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


git-svn-id: svn://10.0.0.236/trunk@180938 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-26 01:27:42 +00:00
peterv%propagandism.org
86ac4d2e8f Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@180911 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-24 18:43:15 +00:00
bryner%brianryner.com
ae6e7085e4 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.
git-svn-id: svn://10.0.0.236/trunk@180875 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 18:16:40 +00:00