121 Commits

Author SHA1 Message Date
masayuki%d-toybox.com
ae6ef23476 b=255990 backing-out the previous patch, we should try to better fix.
git-svn-id: svn://10.0.0.236/trunk@203238 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 09:04:39 +00:00
cvshook%sicking.cc
365266c686 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
masayuki%d-toybox.com
b904b85115 Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all r=jshin+mrbkap, sr=roc
git-svn-id: svn://10.0.0.236/trunk@202122 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 04:57:05 +00:00
masayuki%d-toybox.com
ab2ce7918c b=255990 backing-out the patch, because DomToTextConversionTest failed
git-svn-id: svn://10.0.0.236/trunk@202089 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 21:04:25 +00:00
masayuki%d-toybox.com
1521304528 Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all r=jshin+mrbkap sr=roc
git-svn-id: svn://10.0.0.236/trunk@202083 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 20:25:46 +00:00
masayuki%d-toybox.com
5415d76271 b=255990 backing-out the patch, because DomToTextConversionTest failed
git-svn-id: svn://10.0.0.236/trunk@202064 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 19:41:39 +00:00
masayuki%d-toybox.com
88e6d23564 Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all. the patch based on jshin's patch. r=jshin, sr=roc
git-svn-id: svn://10.0.0.236/trunk@202040 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 17:42:39 +00:00
dveditz%cruzio.com
1df5c4d525 bug 284219 addendum, missed biesi's review comment
git-svn-id: svn://10.0.0.236/trunk@200636 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 22:21:52 +00:00
dveditz%cruzio.com
f869942298 Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
simplify OOM checks when growing an nsAString. r/sr=darin


git-svn-id: svn://10.0.0.236/trunk@200610 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 19:07:30 +00:00
timeless%mozdev.org
7185e837bc Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin


git-svn-id: svn://10.0.0.236/trunk@198973 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:35:59 +00:00
uriber%gmail.com
87f37e70fc When measuring text, make sure nsTextTransformer::GetNextWord looks only at the part of the text content covered by the current frame. bug=333769 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195152 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 13:29:50 +00:00
dbaron%dbaron.org
9911a9b756 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
dbaron%dbaron.org
b258ce85ca Single line comments to describe files (helpful in LXR)
git-svn-id: svn://10.0.0.236/trunk@193203 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 18:29:03 +00:00
cvshook%sicking.cc
a3aecc875b Bug 329974: Share textdata for common textnode values. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@192902 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 03:29:52 +00:00
masayuki%d-toybox.com
5fd3fef77b Bug 164700 css word-spacing applies at   at paint time but not at layout (reflow) time r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@191955 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-08 03:30:57 +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
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
mats.palmgren%bredband.net
6b73cb4c6c Fix crash on unicode "zero width non-joiner" sequence. b=217903 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@179360 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 00:35:17 +00:00
roc+%cs.cmu.edu
5fffa99b09 Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@178592 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 04:45:18 +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
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
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
ca1b9b90c8 'text-transform: capitalize' causes collapsed/expanded letter spacing, b=93168, r+sr=bz, a=asa
git-svn-id: svn://10.0.0.236/trunk@172381 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-17 23:53:28 +00:00
darin%meer.net
3d52b0860b fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@165089 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-07 23:59:35 +00:00
kyle.yuan%sun.com
27ce42a23d Bug 237228 pref "layout.word_select.eat_space_to_next_word" can't be set by user in the profile's prefs.js
r=dbaron, sr=roc, patch=ginn.chen@sun.com


git-svn-id: svn://10.0.0.236/trunk@162576 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 04:25:08 +00:00
bryner%brianryner.com
ff2bc0b69e Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161182 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-24 18:50:29 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
b17b3249f7 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
smontagu%smontagu.org
d1a1c12261 DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@157214 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-01 06:20:16 +00:00
jst%mozilla.jstenback.com
b91a41077c Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@156106 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:55:17 +00:00
jst%mozilla.jstenback.com
74089032ff Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
bryner%brianryner.com
2359d2f7c4 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@154743 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 00:28:44 +00:00
darin%meer.net
af98e4f306 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +00:00
bryner%brianryner.com
3191a1feaa Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153018 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 17:49:01 +00:00
neil%parkwaycc.co.uk
690c52c7f7 Bug 232321 Make layout.word_select.stop_at_punctuation work as a user preference r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@152928 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 11:10:31 +00:00
timeless%mozdev.org
8749f7951c Bug 205262 warning nsSampleWordBreaker::Next was hidden by nsSemanticUnitScanner::Next
r=smontagu sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@142848 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 22:06:40 +00:00
smontagu%netscape.com
630769075e Backing out fix for bug 192088, which caused regressions for Persian and Indic scripts. r=gisburn, sr=roc+moz, a=asa.
git-svn-id: svn://10.0.0.236/trunk@142656 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-20 18:19:09 +00:00
dbaron%dbaron.org
69da9d4a19 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
smontagu%netscape.com
b6e3d92246 Don't do numeric substitution in Arabic text by default. Bug 181711, r+sr=rbs, a=asa.
git-svn-id: svn://10.0.0.236/trunk@142219 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-08 18:38:19 +00:00
smontagu%netscape.com
2c7d24c5a5 Correct a regression in Bidi ordering and simplify the way in which we determine whether Arabic shaping needs to be performed depending on the capabilities of the system and whether we are rendering character by character. Bug 192919, r/sr=rbs.
git-svn-id: svn://10.0.0.236/trunk@139103 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 20:56:03 +00:00
smontagu%netscape.com
2cbbe712d4 Whitespace change to note that the previous checkin was for bug 188759.
git-svn-id: svn://10.0.0.236/trunk@138582 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 01:51:04 +00:00
smontagu%netscape.com
79daa2c21d Ensure that the buffer offset in nsTextTransformer::GetNextWord is correctly positioned after transforming ligatures. Bug 1888759, r/sr=rbs.
git-svn-id: svn://10.0.0.236/trunk@138580 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 01:47:44 +00:00
smontagu%netscape.com
1b3fb26673 Separate stripping zero-width join control characters from DoArabicShaping() so that they get stripped in preshaped text as well. Bug 192088, r/sr=roc+moz.
git-svn-id: svn://10.0.0.236/trunk@138370 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 21:31:19 +00:00
aaronl%netscape.com
ee27cb1b5c Bug 98546. Fix word break detection to improve select by word where there is punctuation in the word. Also fixes 125172, double clicking in URL bar should select only part of URL. Also fixes bug 133312, word selection with accented letters. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@136088 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 20:56:53 +00:00
bryner%netscape.com
6278746fdf Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@136056 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:49:07 +00:00
caillon%returnzero.com
8a1bf17a45 Re-landing these because I don't believe this are responsible for the Txul spike.
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@135125 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:05:41 +00:00
caillon%returnzero.com
d751688cb9 Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...)
git-svn-id: svn://10.0.0.236/trunk@135111 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 05:11:02 +00:00
caillon%returnzero.com
6b60a8affb Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@135068 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:41:12 +00:00
mjudge%netscape.com
0661484e2b 127321. r=brade sr=sfrasier. bug that skips getting stuck on word jumping on macs. This feature now may want to be turned on in the windows and unix builds as well.
git-svn-id: svn://10.0.0.236/trunk@126742 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 06:37:01 +00:00