536 Commits

Author SHA1 Message Date
uriber%gmail.com
0d12c6eeee Bug 319705: Crash when deleting comment line selected with triple click [@nsFontMetricsWin::ResolveForwards]. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@186575 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-25 14:27:14 +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
masayuki%d-toybox.com
826e231134 Bug 113161 Color/background-color of preedit string is always default(we should not use invert) / Bug 170951 IME should use OS system color for selection instead of inverting r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@185025 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 23:43:48 +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
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
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
bzbarsky%mit.edu
78bef58df3 Fix leaks caused by bug 307532. Patch by biesi, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@183243 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 16:16:35 +00:00
masayuki%d-toybox.com
5ca778cfea Bug 307532 Selection colors should be saved in nsTextFrame::TextPaintStyle, not DrawSelectionIterator r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@183241 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 14:01:55 +00:00
masayuki%d-toybox.com
1cc8b073e7 Bug 313174 IME composition string isn't rendered as selection text r=sergei_d, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@183078 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-26 20:16:01 +00:00
rbs%maths.uq.edu.au
b467153801 Disable parts of the patch for bug 307875 to fix the caret & IME regressions in bug 310227 and bug 310318, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@181394 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 05:17:20 +00:00
rbs%maths.uq.edu.au
c74965ca95 Avoing crashing due to outdated text pointers by never poking at dirty text frames, b=307875, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@181024 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-27 02:47:17 +00:00
mozilla.mano%sent.com
ffaf2b5c34 Bug 307934 - regression: In RTL text, can't move caret using arrow keys past point where text wraps. patch from Uri Bernstein <uriber@gmail.com>, r=eyalroz@technion.ac.il, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@180501 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 14:29:09 +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
mats.palmgren%bredband.net
21ea3993f5 Don't apply selection colors when printing. b=90434 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@180241 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 21:32:28 +00:00
mats.palmgren%bredband.net
c062e88c33 Fix buffer overflow on 'clusterBuffer' and improve error handling in FillClusterBuffer(). b=307537 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@180004 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 01:05:58 +00:00
peterv%propagandism.org
b64b04886f Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@179982 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 10:08:43 +00:00
rbs%maths.uq.edu.au
0752237be8 incorrect width of non breaking space &nbsp; inside MathML, r+sr=roc, b=247151
git-svn-id: svn://10.0.0.236/trunk@179730 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 22:19:52 +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
mozilla.mano%sent.com
85437d5bd7 Bug 305083 - When using ctrl+right-arrow on last word in a wrapping line, caret moves to end of line instead of to beginning of next line. patch from Eyal Rozenberg <eyalroz@technion.ac.il>, r=uriber, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@178953 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 15:57:12 +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
roc+%cs.cmu.edu
d225763725 Bug 300313. DeCOMtaminate linebreaker/wordbreaker, and access them directly as services rather than through a factory. r+sr=roc, patch by Joshua Welderson (thanks Joshua\!)
git-svn-id: svn://10.0.0.236/trunk@178583 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 03:00:06 +00:00
mozilla.mano%sent.com
c1f98a5ee9 Bug 299239 - BiDi: Caret is stuck when reaching a single LTR character in RTL text. patch from Eyal Rozenberg <eyalroz@technion.ac.il>. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@177837 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 14:19:59 +00:00
mozilla.mano%sent.com
2ff683a3d6 Bug 299838 - BiDi: Caret disappears outside the end of lines that end with spaces. patch from Uri Bernstein <uriber@gmail.com>, r=smontagu, sr=roc, a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@176172 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-16 19:58:26 +00:00
masayuki%d-toybox.com
9d5b41b98d Bug 148947 [quirks]selecting past underline extends underline r+sr=roc, a=benjamin
git-svn-id: svn://10.0.0.236/trunk@176137 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-15 15:07:51 +00:00
mozilla.mano%sent.com
4b0d3a86a8 backing out bug 299371 (c19) patch as it caused bug 299371 (Right arrow in a 'select all' text field doesn't work)
git-svn-id: svn://10.0.0.236/trunk@175487 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 16:16:00 +00:00
mozilla.mano%sent.com
810f4ba1c0 Bug 207186 (c19) - Prevent caret from looping around non-default-direction text at the beginning of a textarea. patch from Uri Bernstein <uriber@gmail.com>, r=smontagu, sr=roc, a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@175410 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 20:29:56 +00:00
smontagu%smontagu.org
b25c8e512d Make ComputeWordFragmentDimensions() look at the content data from the next frame instead of this frame. Bug 282760, patch by Uri Bernstein <uriber@gmail.com>, r=smontagu, sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@174930 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 09:11:18 +00:00
rbs%maths.uq.edu.au
9498af5d12 German &szlig; and surrogate characters don't render with the proper small-caps font, b=291321. Patch by Hideo Saito <saito@densan.co.jp>, r+sr=rbs, a=shaver
git-svn-id: svn://10.0.0.236/trunk@174347 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-09 08:33:15 +00:00
masayuki%d-toybox.com
b8280e3013 Bug 289652 [regression] -moz-selection fails to work r+sr=bzbarsky, a=asa
git-svn-id: svn://10.0.0.236/trunk@173684 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-22 17:17:46 +00:00
blizzard%redhat.com
af2e4e4f3a Bug #260663. When pango is available use it for grapheme cluster information to figure out where valid selection points are. Change text rendering to use clip regions for rendering selected strings instead of rendering partial strings instead. r+sr=roc,a=asa
git-svn-id: svn://10.0.0.236/trunk@172961 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 20:48:32 +00:00
rbs%maths.uq.edu.au
e44ab657e8 Discarded characters cause the selected text to shift, b=289857. Patch by Hideo Saito <saito@densan.co.jp>, r+sr=rbs, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172589 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-22 01:30:46 +00:00
rbs%maths.uq.edu.au
ecc64d2dcd view-source crashes on bidi text, b=291176, r=smontagu, sr=bz, a=asa
git-svn-id: svn://10.0.0.236/trunk@172583 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-21 21:45:59 +00:00
masayuki%d-toybox.com
a9e6edee5a bug 290920 If an element has 'font-variant: small-caps', the selection color is broken r/sr=bzbarsky, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@172538 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-21 07:54:32 +00:00
masayuki%d-toybox.com
ef5f8602fd bug 56314 reverse selection colors when page background is similar to default selection background. Updating the algorithm. r/sr=bzbarsky, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@172423 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 06:05:22 +00:00
smontagu%smontagu.org
70d1e92eab Fix typo from bug 284927. Bug 290567, r+sr=roc, a=mkaply
git-svn-id: svn://10.0.0.236/trunk@172385 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 03:55:52 +00:00
rbs%maths.uq.edu.au
56de3ee70e text-transform: uppercase or capitalize messes the German character &szlig;, b=96423, r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@172382 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 00:13:45 +00:00
rbs%maths.uq.edu.au
ae5b367175 Selection details leak, b=290425, r+sr=bzbarsky, a=asa
git-svn-id: svn://10.0.0.236/trunk@172332 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-16 04:03:11 +00:00
smontagu%smontagu.org
19b1efdc77 Add a rendering hint for gfx implementations that perform reordering of complex text after applying spacing. Bug 284927, r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@172268 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 10:25:43 +00:00
masayuki%d-toybox.com
5fee0b5fd2 bug 56314 reverse selection colors when page background is similar to default selection background. r=sfraser, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171553 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 10:40:48 +00:00
scott%scott-macgregor.org
cb7373fa95 Bug #282506 --> Inline spell check words go blank while message is being sent
because the text frame is hiding selection text for disabled text nodes. We should never hide
the selection if it is of type spellcheck.

sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@170803 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-16 22:58:10 +00:00
roc+%cs.cmu.edu
e6d641f6aa Bug 236996. Underline IME preedit text on Mac. Patch by waverider, r=masayuki, sr=roc
git-svn-id: svn://10.0.0.236/trunk@170018 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-28 23:39:26 +00:00
scott%scott-macgregor.org
48f07cde0c Bug #278312 --> layout and selection changes to support inline spell checking for Thunderbird
Includes changes to draw spell check selection as a red dotted line instead of a solid underline.

r/sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@168554 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 17:57:35 +00:00
jshin%mailaps.org
082ef42cc3 bug 275672 : Right-most character (that means end of line) should not have extra space for justification patch by masayuki@d-toybox.com, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@167680 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-13 19:21:18 +00:00
cbiesinger%web.de
a8dbace73d 38447 layout,content,dom and xpwidget part: Implement Handling of URI Values on
CSS "cursor" Properties
for dom,layout,content: r+sr=bz
for widget: r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@167117 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-30 21:56:11 +00:00
bmlk%gmx.de
e547c59f49 remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167037 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-26 19:48:54 +00:00
cbiesinger%web.de
b732fc23d7 bug 36322 patch by Masayuki Nakano <masayuki@d-toybox.com> r+sr=roc
Japanese text justification


git-svn-id: svn://10.0.0.236/trunk@166627 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-12 16:14:43 +00:00
jshin%mailaps.org
44363fac1b get rid of the previous check-in (I didn't realize that the tree was frozen. I'm sorry)
git-svn-id: svn://10.0.0.236/trunk@165496 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 03:32:28 +00:00
jshin%mailaps.org
e9432dbeae bug 36322 : Japanese text justification, patch by masayuki@d-toybox.com (r/sr=roc)
git-svn-id: svn://10.0.0.236/trunk@165494 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 03:21:12 +00:00