Граф коммитов

72 Коммитов

Автор SHA1 Сообщение Дата
mjudge%netscape.com 02f5885a2d 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 36f7dde2e4 backing out checked into closed tree 2002-08-07 19:52:18 +00:00
mjudge%netscape.com 32db6e0260 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 b89e4636c2 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 66051e90f8 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 1075a3f80d 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 486c0d47f9 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 74b270f1db 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 92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
mkaply%us.ibm.com 3f591b0d95 #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 02f3a2d769 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 157c017816 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 5fb9dd1a7e 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 049abf1f66 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 ed869c764e 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 21b5119b63 fix bug 88050. remove Korean base transformation. r=jshin sr=waterson 2001-10-11 00:22:13 +00:00
gerv%gerv.net 4e12e44b2f 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 6a1cef6f9a 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 edb0c6270c 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 4f62c23956 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 af8d1c782c 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
warren%netscape.com cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
peterlubczynski%netscape.com 641809a1df Fix to ensure we don't go past array bounds in ScanNormalUnicodeText() b=52722 r=buster a=karnaze 2000-09-22 22:45:31 +00:00
mcafee%netscape.com 7fd3e47dd6 Reverting v1.47 back to 1.46 to fix bustage. r=peterlubczynski 2000-09-21 00:21:24 +00:00
peterlubczynski%netscape.com c52dd84ce8 Fix to ensure we don't go past array bounds in ScanNormalUnicodeText() b=52722 a=buster 2000-09-20 23:16:50 +00:00
erik%netscape.com 033206ebf0 bug 4238; r/a=ftang,buster,waterson; added language specific transforms so
that we can do things like U+005C -> U+00A5 (backslash -> yen sign for ja)
2000-09-20 23:00:32 +00:00
peterlubczynski%netscape.com 68cb6aabee fix for bug 50432. PRPackedBools compressed to one flag. mAutoBuffer size reduced to 128. r=buster 2000-09-12 00:00:58 +00:00
buster%netscape.com 11241fb485 bug 14280
nsTextTransformer.cpp.
  I moved where we translate the nbsp to a (ascii 32 space character) until after the i18n routines are called, so they can properly account
  for the space as non-breaking and therefore part of the first word in the block.

bug  39901 and 38396
  nsHTMLImageLoader.*, nsImageFrame.cpp
  I backed out the bad fix for 38396, and put in a new fix where I store a little state in the image loader flags for cases where the image
  gets an unconstrained reflow and has %-based width.  This does not handle %-based min-width or max-width, that would be a separate
  bug that I'll file shortly.  But this fixes the vast majority of real cases out there.

bug  18754
  nsHRFrame.cpp, quirks.css, nsCSSFrameConstructor.cpp, last part of nsLineLayout.cpp
  in quirks mode, I changed HR from a block element to a replaced inline element that acts like a block, using generated content to get
  newlines before and after the HR.  This isn't ideal, but it gets us backwards compatibility, and ian and dbaron have blessed the approach.

bug  50257
  nsLineLayout.cpp
  Did a couple of things in here:
       * The actual fix is controlled by FIX_BUG_50257 #define symbol.  This basically says that an break (BR) will always fit on a line.
         A more general solution would probably be to round up to the nearest pixel, and if the thing is less than a pixel make it fit on a
         line.  This is a wimpier, safer solution.
       * I noticed that the way we got the compatibility mode was way out of date, very wasteful.  So I fixed that.
       * I noticed that there were a bunch of redundant SetFlag calls.  Since the flag variable is initialized to 0, setting a flag to 0 on a newly
         created object is a waste.

  nsBlockFrame.cpp  --  just added a comment to some odd looking code, to make sure no one comes along later and breaks it
2000-09-11 21:15:02 +00:00
ftang%netscape.com fcedb74d37 fix bug 50849. thanks kin@netscape.com for the patch. r=ftang 2000-09-05 21:19:23 +00:00
shanjian%netscape.com 419f6c2466 #14588 Ctrl+right arrow skips over nbsp (nbsp should be word break)
ra=ftang
new fix which only apply to word jump.
2000-08-24 21:15:19 +00:00
waterson%netscape.com 775c5e9f89 Back out shanjian's last change as it was causing several whitespace-related regressions. r=attinasi 2000-08-14 22:11:41 +00:00
shanjian%netscape.com d2b093a3d7 #14588 Ctrl+right arrow skips over nbsp (nbsp should be word break)
r = ftang a=ftang
changes made in word break and word jump.
2000-08-03 23:03:08 +00:00
dougt%netscape.com 5cf34c2722 Adding assert on invalid init of textTransformer. see bug 43094
Basic check for null.

Without this assert, you will crash if there is no nsILineBreakerFactory
found.
2000-06-27 20:54:01 +00:00
shanjian%netscape.com 0cf967556d #7601, r = ftang
fixed backwards wordjump problem for non-ascii characters.
2000-05-16 19:52:05 +00:00
ftang%netscape.com e4fea9b5a0 fix bug 16796. handle german ß and convert to SS in capital and uppercase 2000-05-10 19:44:09 +00:00
jdunn%netscape.com 2535df76ae adding include for tolower & toupper 2000-04-12 15:52:50 +00:00
troy%netscape.com 43ba4ad192 Added support for measuring text runs in ascii, and changed text transformer
to leave the text as ascii if possible
2000-04-12 14:54:43 +00:00
troy%netscape.com ac77c942fa Eliminated buffering that the text frame was doing when measuring
text in runs and changed the text transformer code to do the buffering
instead. It was already copying the transformed text into its internal
buffer anyway, so this saves the extra copy
2000-04-04 14:14:47 +00:00
jbetak%netscape.com 05698e7667 r=troy, ftang fix for 9099 HTML entity followed by CR garbles page and
30353 Thai Page shows a weird character for <wbr>
2000-03-24 20:23:23 +00:00
ftang%netscape.com 4235f416d2 fix word breaking problem. r=mjudge. treat all word breaking as the same. 2000-01-11 22:07:13 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
kipp%netscape.com 9e50fa5b4f r=ftang (someday); fixed 17559 regression - there were a few cases where characters > 127 were leaking out without setting the mHasMultibyte flag that were triggering painting bugs on macs... 1999-11-01 15:32:37 +00:00
kipp%netscape.com 193727f73e r=ftang,brade, bug=16886,9101 - the text transformer was letting some nbsp's through in a few special cases; the text transformer also squelches shy characters now (9101) 1999-10-25 23:04:51 +00:00
kipp%netscape.com a66a206556 Fixed percolation of nbsp's into the transformed buffer (bug 16886) 1999-10-21 20:47:36 +00:00
kipp%netscape.com effbb5992f r=ftang; rewrite to fix 16656, parts of 7455 1999-10-19 23:01:45 +00:00
kipp%netscape.com 15a0ec26fa r=troy; revised nsITextContent api to simplify it and the consumers; this is done as prep work for bug 9101 1999-10-15 23:36:07 +00:00
kipp%netscape.com 65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren%netscape.com 339d201a49 Refcounted case conversion service properly 1999-09-26 10:05:51 +00:00
kipp%netscape.com 2cdc8576a2 Changed to have the stack buffer embedded in the xformer 1999-09-22 00:40:16 +00:00