720 Commits

Author SHA1 Message Date
uriber%gmail.com
7a1587db3e Bug 328876: Avoid compiler warning in nsFrame::GetSelectionClosestFrame(). r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@191519 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-01 21:18:30 +00:00
uriber%gmail.com
e5b952f46a Bug 326932: Triple-click paragraph selection doesn't work correctly in paragraphs containing form controls. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@191505 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-01 19:28:42 +00:00
sharparrow1%yahoo.com
46b919e4f9 Bug 320326: deCOMtaminate GetContentAndOffsetsFromPoint, plus some slight behavior changes. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@191302 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 05:57:37 +00:00
roc+%cs.cmu.edu
fe7bb3975b Bug 256311. Improve block reflow performance in the presence of many empty lines, by being more aggressive about caching block and line emptiness state, and by stashing a reference to a line that we know has nothing but empty lines above it. Relanding because I accidentally backed it out. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@191298 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 04:15:05 +00:00
roc+%cs.cmu.edu
b280811155 Backing out changes for bug 326944.
git-svn-id: svn://10.0.0.236/trunk@191296 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 03:22:03 +00:00
roc+%cs.cmu.edu
ede1364b21 Bug 256311. Improve block reflow performance in the presence of many empty lines, by being more aggressive about caching block and line emptiness state, and by stashing a reference to a line that we know has nothing but empty lines above it. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@191294 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 02:51:57 +00:00
uriber%gmail.com
9abc8fa432 Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@190744 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 21:33:47 +00:00
roc+%cs.cmu.edu
38baec06b0 Bug 327670. Fix memory leak from bug 317375. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@190737 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 21:06:17 +00:00
sharparrow1%yahoo.com
c7989ee277 Bug 327868: nsIFrameSelection cleanup. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@190633 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 00:49:04 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
fb8579f413 Fix leak bug 324969 -- make sure to call virtual destructors.
git-svn-id: svn://10.0.0.236/trunk@188434 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-29 18:48:58 +00:00
roc+%cs.cmu.edu
2c2f29ce5f Bug 324836. Listboxes must be treated as pseudostackingcontexts. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@188266 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 21:03:49 +00:00
roc+%cs.cmu.edu
df8627e29b Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
cvshook%sicking.cc
d3d2e97d3b Bug 321294: Remove unused ReplaceFrame codepaths.
r/sr=roc


git-svn-id: svn://10.0.0.236/trunk@187266 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 22:58:37 +00:00
uriber%gmail.com
1222078169 Bug 310589: Clicking off of the lower-right edge of a zoomed image can cause a crash [@FindBlockFrameOrBR()] [@ nsIFrame::GetExtremeCaretPosition()]. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@187149 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-08 21:44:44 +00:00
timeless%mozdev.org
43df8a0b68 Bug 321393 Clicking on page in print preview causes crash [@ GetOffsetsOfFrame]
patch by sharparrow1@yahoo.com r=roc sr=roc


git-svn-id: svn://10.0.0.236/trunk@186576 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-25 19:01:45 +00:00
dbaron%dbaron.org
a5d6b75cc8 Fix insertion at end of textarea creating an extra pseudo-linebreak. b=319664 Patch by Eli Friedman <sharparrow1@yahoo.com>. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@186311 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-20 09:13:47 +00:00
dbaron%dbaron.org
934908e421 Back out part of previous patch since it's a static/dynamic inconsistency.
git-svn-id: svn://10.0.0.236/trunk@186209 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-17 19:11:40 +00:00
dbaron%dbaron.org
82100c8435 Skip anonymous table objects (and our extra cell content box) when finding parents for style contexts of their descendants during style reresolution. b=289517 Patch from Boris Zbarsky <bzbarsky@mit.edu>. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@186208 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-17 18:58:47 +00:00
dbaron%dbaron.org
0b82618f71 Don't store or use a widget in the delayed caret data; it's not important, and it might have been destroyed. b=307989 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@186150 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-16 04:58:33 +00:00
dbaron%dbaron.org
104ca7dcc3 Null out line layout when crossing from box to non-box so we don't reuse an incorrect linelayout object. b=307992 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@186137 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-15 23:08:07 +00:00
roc+%cs.cmu.edu
c37636da44 Bug 319675. Don't cross line boundaries looking for double-click targets. patch by Eli Friedman, r=sr=roc
git-svn-id: svn://10.0.0.236/trunk@186101 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-15 03:32:09 +00:00
mark%moxienet.com
84fac7591c Bug 319558, crash [@ GetSelectionClosestFrameForChild] due to typo in bug 316281. Remove unwanted semicolon. Patch by Adam Guthrie <ispiked@gmail.com>. r=me
git-svn-id: svn://10.0.0.236/trunk@185808 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-08 18:09:17 +00:00
roc+%cs.cmu.edu
66e8f6e1aa Bug 316281. Rework GetContentAndOffsetsFromPoint. r=uriber,sr=roc,patch by Eli Friedman
git-svn-id: svn://10.0.0.236/trunk@185773 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-07 23:08:39 +00:00
roc+%cs.cmu.edu
d915699909 Bug 319115. Move nsTextFrame interfaces around so nsTextFrame.h can go away. Preparation for forking nsTextFrame. patch by Stephen Blackheath, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@185720 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-06 00:32:52 +00:00
timeless%mozdev.org
a05383ef1b Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
bmlk%gmx.de
06e7095baa More robust handling of the overflow property, bug 315210 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@184452 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 05:30:31 +00:00
roc+%cs.cmu.edu
151b3a115e Fixing bustage...
git-svn-id: svn://10.0.0.236/trunk@183362 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 21:11:25 +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
smontagu%smontagu.org
a38b2c61f4 Caret skips blank line using down-arrow key in preformatted text (e.g. View Source). Bug 298690, patch by Uri Bernstein <uriber@gmail.com>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@183253 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-30 13:05:45 +00:00
mats.palmgren%bredband.net
6e512c8d9f Return the frame count for the given line 'aLineNumber', not the line where we find the first frame. b=308052 r=bernd sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@182348 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:03:05 +00:00
ginn.chen%sun.com
928fbe26f6 Bug 304891 Using ctrl+right arrow in textarea, first word after hard line break is skipped
r=uriber sr=roc


git-svn-id: svn://10.0.0.236/trunk@180554 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 05:16:25 +00:00
roc+%cs.cmu.edu
aeacb4d477 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.
git-svn-id: svn://10.0.0.236/trunk@180551 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 02:15:54 +00:00
Olli.Pettay%helsinki.fi
10968377cc Bug 306895, Triple click should select lines, not paragraphs, in white-space: -moz-pre-wrap;, p=uriber@gmail.com, r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@180495 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 12:41:40 +00:00
bzbarsky%mit.edu
bfc8c03ee8 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.


git-svn-id: svn://10.0.0.236/trunk@179996 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 19:22:57 +00:00
bzbarsky%mit.edu
c3d2c5e7a2 Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@179800 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 16:49:21 +00:00
roc+%cs.cmu.edu
906863a0f9 Bug 280987. Remove aPresContext from nsIFrameDebug::List. r+sr=roc, patch by Vidar Braut Harr.
git-svn-id: svn://10.0.0.236/trunk@179728 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 21:34:50 +00:00
roc+%cs.cmu.edu
84761d32e5 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
git-svn-id: svn://10.0.0.236/trunk@179638 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-04 20:04:23 +00:00
roc+%cs.cmu.edu
0d3ee201f7 Bug 73373. Allow multiple selections of content using the ctrl/option keys. This is for testing --- it will probably expose bugs in other places. r+sr=roc,patch by Martijn Wargers.
git-svn-id: svn://10.0.0.236/trunk@179368 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 02:16:03 +00:00
smontagu%smontagu.org
376ef18d28 Bug 306049: Crash in nsFrame::PeekOffsetParagraph when triple-clicking not in a block. Patch by Uri Bernstein <uriber@gmail.com>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@179157 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-28 08:20:34 +00:00
roc+%cs.cmu.edu
1819e04911 Bug 305239. When drilling down at the start or end of a line, and we find a BR, return the parent element and the offset to the BR element instead of the BR element itself. This is a workaround for some deeper bug but we need a fix now. r+sr=roc, patch by Uri Bernstein
git-svn-id: svn://10.0.0.236/trunk@178667 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 04:20:02 +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
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
roc+%cs.cmu.edu
4a089a3fff Bug 305239. Fix regression in text entry. r+sr=roc, patch by Uri Bernstein
git-svn-id: svn://10.0.0.236/trunk@178581 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 01:32:03 +00:00
roc+%cs.cmu.edu
f9da0cb923 Bug 32807. Make triple-click select paragraphs, not lines. Patch by uriber, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@178170 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 17:09:16 +00:00
roc+%cs.cmu.edu
a4c1d29439 Bug 16311. Instead of using geometric scanning to find the ends of lines, just look at the frame hierarchy. patch by uriber, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@178168 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 17:04:51 +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
bzbarsky%mit.edu
35e2c59780 Replace warning with assert, since this should now never happen. Bug 297850,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@177844 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 14:39:08 +00:00
gavin%gavinsharp.com
53e7a1828f Backing out patch for bug 292581, because it caused bug 302804, by author's request
git-svn-id: svn://10.0.0.236/trunk@177484 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-10 03:05:43 +00:00
mozilla.mano%sent.com
3333ae0254 Bug 299842 - BiDi: Recursive caret movement in LTR lines which begin with an RTL word or character. patch from Uri Bernstein <uriber@gmail.com>, r+sr=roc, a=asa.
git-svn-id: svn://10.0.0.236/trunk@177314 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 07:32:14 +00:00