Commit Graph

101 Commits

Author SHA1 Message Date
rbs@maths.uq.edu.au
710ce404d4 Discarded characters cause the selected text to shift, b=289857. Patch by Hideo Saito <saito@densan.co.jp>, r+sr=rbs, a=chofmann 2005-04-22 01:30:46 +00:00
rbs@maths.uq.edu.au
a97f4b6fb5 text-transform: uppercase or capitalize messes the German character &szlig;, b=96423, r+sr=roc, a=asa 2005-04-18 00:13:45 +00:00
rbs@maths.uq.edu.au
437ccc8100 'text-transform: capitalize' causes collapsed/expanded letter spacing, b=93168, r+sr=bz, a=asa 2005-04-17 23:53:28 +00:00
darin@meer.net
612acbfd30 fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg 2004-11-07 23:59:35 +00:00
kyle.yuan@sun.com
54e477027b 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
2004-09-21 04:25:08 +00:00
bryner@brianryner.com
0a85106bba Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-24 18:50:29 +00:00
bryner@brianryner.com
6cde4639f0 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner@brianryner.com
15745b0b06 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
smontagu@smontagu.org
3fa48e3a2b DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc 2004-06-01 06:20:16 +00:00
jst@mozilla.jstenback.com
3ab9c6162d Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2004-05-07 20:55:17 +00:00
jst@mozilla.jstenback.com
91aa65c204 Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org 2004-04-29 23:34:19 +00:00
gerv@gerv.net
a1ec040a65 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
bryner@brianryner.com
5ddc9f91a1 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
darin@meer.net
33f7ab6e0c landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
bryner@brianryner.com
9a3c56b36f Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc. 2004-02-20 17:49:01 +00:00
neil@parkwaycc.co.uk
b021fbd931 Bug 232321 Make layout.word_select.stop_at_punctuation work as a user preference r/sr=bz 2004-02-19 11:10:31 +00:00
timeless@mozdev.org
912326e207 Bug 205262 warning nsSampleWordBreaker::Next was hidden by nsSemanticUnitScanner::Next
r=smontagu sr=dbaron
2003-05-23 22:06:40 +00:00
smontagu@netscape.com
b325c5b3b0 Backing out fix for bug 192088, which caused regressions for Persian and Indic scripts. r=gisburn, sr=roc+moz, a=asa. 2003-05-20 18:19:09 +00:00
dbaron@dbaron.org
f98e358469 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 2003-05-15 03:42:21 +00:00
smontagu@netscape.com
409eb83e13 Don't do numeric substitution in Arabic text by default. Bug 181711, r+sr=rbs, a=asa. 2003-05-08 18:38:19 +00:00
smontagu@netscape.com
82010a95c5 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. 2003-03-07 20:56:03 +00:00
smontagu@netscape.com
b0a1568c8a Whitespace change to note that the previous checkin was for bug 188759. 2003-02-27 01:51:04 +00:00
smontagu@netscape.com
c417f16d68 Ensure that the buffer offset in nsTextTransformer::GetNextWord is correctly positioned after transforming ligatures. Bug 1888759, r/sr=rbs. 2003-02-27 01:47:44 +00:00
smontagu@netscape.com
7eea102cd4 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. 2003-02-24 21:31:19 +00:00
aaronl@netscape.com
4d7c6b14ce 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 2003-01-09 20:56:53 +00:00
bryner@netscape.com
c98c382545 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. 2003-01-09 06:49:07 +00:00
caillon@returnzero.com
d0e275516e 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
2002-12-11 14:05:41 +00:00
caillon@returnzero.com
aa5e6343da Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...) 2002-12-11 05:11:02 +00:00
caillon@returnzero.com
382e7a0fa6 Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-10 23:41:12 +00:00
mjudge@netscape.com
1b7222f6c7 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. 2002-08-08 06:37:01 +00:00
mjudge@netscape.com
8fffe0ecd9 backing out checked into closed tree 2002-08-07 19:52:18 +00:00
mjudge@netscape.com
74657b7641 fix for 127321. r=brade sr=smfr. Fix for word jumping getting stuck on punctuation. 2002-08-07 19:48:42 +00:00
taka@netscape.com
65acc13603 Remove unexpected space inserted between Chinese and Japanese characters as a result of unfolding lines. These scripts don't use space as a word boundary. b=135323 r=shanjian sr=waterson 2002-07-01 20:43:16 +00:00
smontagu@netscape.com
6b42e0c8e9 Do Arabic shaping earlier before measuring the text so that it gets laid out correctly. Bugs 117041, 138097. r=ftang, sr=waterson 2002-06-11 21:00:20 +00:00
jst@netscape.com
78ccba6821 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
cathleen@netscape.com
bff663ff77 remove memcpy function from nsCRT, eliminate 2 new nsCRT::memcpy callers
and fix up alighment problems from previous patch, bug 118135, sr=brenda r=dp
2002-01-26 00:04:45 +00:00
jst@netscape.com
74f7d6a45d Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org 2002-01-24 09:20:51 +00:00
cathleen@netscape.com
73e0bc3ed7 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
mkaply@us.ibm.com
0d3170fad1 #36163
r=mkaply, r/sr=attinasi
Don't show Bidi control characters in the browser
2001-11-14 14:21:52 +00:00
dbaron@fas.harvard.edu
4bed2d4287 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974 2001-10-25 03:21:53 +00:00
dbaron@fas.harvard.edu
4b1de618fc Bug 86947:
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow).  Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed.  Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs  sr=waterson
2001-10-25 01:08:40 +00:00
pinkerton@netscape.com
984dbbabbe adding a couple of prefs to make word selection better on mac. doesn't eat whitespace to next word and stops at punctuation. r=mjudge/sr=sfraser. bug# 98546 2001-10-19 14:10:22 +00:00
ftang@netscape.com
fac231cc80 fix bug 96530. delay loading of unicharutil dll till we really need it.
r=dp sr=waterson
2001-10-16 12:38:19 +00:00
dbaron@fas.harvard.edu
d52d3d978e Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
ftang@netscape.com
467c6b9229 fix bug 88050. remove Korean base transformation. r=jshin sr=waterson 2001-10-11 00:22:13 +00:00
gerv@gerv.net
58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
dbaron@fas.harvard.edu
15267f2b5c Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:06:33 +00:00
rods@netscape.com
c0ed0d0271 removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
vidur@netscape.com
52388e901a Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst 2000-12-12 21:58:13 +00:00
erik@netscape.com
9ccc986061 bug 57462; r=buster; sr=waterson; need to set "HasMultibyte" flag in
nsTextTransformer when we convert 0x5C to Yen Sign and Won Sign because
those chars are greater than 127; this fixes the problem where the Yen Sign
was not being displayed properly on Win95/98/ME because we have the 8-bit
rendering hint set on those platforms (see nsTextFrame's PaintAsciiText,
etc)
2000-10-31 22:06:59 +00:00