peterlubczynski%netscape.com
52a5bf8938
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
f3a5d810da
Reverting v1.47 back to 1.46 to fix bustage. r=peterlubczynski
2000-09-21 00:21:24 +00:00
peterlubczynski%netscape.com
42a1039a4f
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
e71fae1997
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
9f74d9db3a
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
4972e8aa20
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
7c5bbad557
fix bug 50849. thanks kin@netscape.com for the patch. r=ftang
2000-09-05 21:19:23 +00:00
shanjian%netscape.com
ab6c9a4dc1
#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
9c09d86525
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
ac57fa14ec
#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
54e980c267
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
ac63b8b616
#7601 , r = ftang
...
fixed backwards wordjump problem for non-ascii characters.
2000-05-16 19:52:05 +00:00
ftang%netscape.com
5b2de2632c
fix bug 16796. handle german ß and convert to SS in capital and uppercase
2000-05-10 19:44:09 +00:00
jdunn%netscape.com
1195246458
adding include for tolower & toupper
2000-04-12 15:52:50 +00:00
troy%netscape.com
92f939d9c5
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
a65319e532
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
7f81a892f2
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
573b760f5c
fix word breaking problem. r=mjudge. treat all word breaking as the same.
2000-01-11 22:07:13 +00:00
dmose%mozilla.org
42fc94a6ec
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
d656b82be2
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
20cde21ca2
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
a74943d540
Fixed percolation of nbsp's into the transformed buffer (bug 16886)
1999-10-21 20:47:36 +00:00
kipp%netscape.com
0c68b7cb66
r=ftang; rewrite to fix 16656, parts of 7455
1999-10-19 23:01:45 +00:00
kipp%netscape.com
ad778d6889
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
b0dcc883f8
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
warren%netscape.com
add4f1c124
Refcounted case conversion service properly
1999-09-26 10:05:51 +00:00
kipp%netscape.com
4f1117a580
Changed to have the stack buffer embedded in the xformer
1999-09-22 00:40:16 +00:00
troy%netscape.com
b5fa42f1ba
Minor changes to reduce the amount of unnecessary ref counting and speed
...
things up a little
1999-09-16 23:31:59 +00:00
ftang%netscape.com
26e88426e4
implement word jump for non Ascii
1999-08-19 06:06:57 +00:00
ftang%netscape.com
8ef9ee4a19
tune performance by elimate unnecessary reference to nsIWordBreaker in nsTexTransformer. Add NS_PRECONDITION code into nsTextTransformer to make code better
1999-08-10 07:23:56 +00:00
ftang%netscape.com
f6855356f2
fix bug 7544
1999-06-15 02:21:03 +00:00
kipp%netscape.com
a2d2d07781
Use shared IID
1999-04-27 22:14:36 +00:00
ftang%netscape.com
2ccd9da21c
add one boolean to indicate word break or line break
1999-04-06 22:41:44 +00:00
kipp%netscape.com
d8d50a289b
Support MOZ_PRE_WRAP
1999-03-31 04:12:46 +00:00
ftang%netscape.com
2e945807e6
fix mHasMultibyte hint problem when the first character of the *word* is not ASCII
1999-03-11 03:00:33 +00:00
kipp%netscape.com
44975aa096
Eliminate some compiler warnings
1999-03-05 04:28:54 +00:00
ftang%netscape.com
7cfb73c4eb
change nsTextTransformer to break line by calling nsILineBreak and make nsTextFrame pass the nsILineBreaker to nsTextTransformer
1999-02-24 18:21:23 +00:00
ftang%netscape.com
de8f97717d
Make Case conversion work for non-Latin1 Unicode. Reviewed by kipp. Perofrmance is the same after changing this.
1999-02-23 02:27:54 +00:00
mjudge%netscape.com
f3a99f20af
Added, jump to prev word, modified INIT of nsTextTransformer to better prepare for a start offset at the end of the mFrags list. added implementation of extra parameter to nsIFrame::PeekOffset to keep state for the next word problem of eating ws. nsTextFrame should be all set on implementation of jumping words.
1999-02-22 04:59:52 +00:00
mjudge%netscape.com
0d2000e2a7
gettig word jumping to work, adding GetPrevWord to texttransformer
1999-02-22 03:20:59 +00:00
troy%netscape.com
c9c1fa187e
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
1999-02-10 00:42:56 +00:00
kipp%netscape.com
8fc647b798
Use macros from nsTextFragment
1999-01-05 23:02:27 +00:00
kipp%netscape.com
5dbc0c6813
Fixed bug #1257 : the bug was that we were overrunning the transformers malloc'd buffer because the mBufferLength was never being updated
1998-11-14 22:27:50 +00:00
kipp%netscape.com
3d1b53d6d1
Use computed word-len not out parameter that is unset at the time of usage
1998-10-26 17:27:35 +00:00
kipp%netscape.com
2039512c3d
Slimmed down the implementation
1998-10-21 20:05:31 +00:00
kipp%netscape.com
5e6f816dda
Fixed lastFrag computation
1998-10-21 03:07:37 +00:00
kipp%netscape.com
0fba6da5b9
Fixed lastFrag computation (doh!)
1998-10-21 03:04:46 +00:00
kipp%netscape.com
f0628ec32c
Added support for capitalization transform
1998-10-20 16:45:14 +00:00
kipp%netscape.com
49fb374228
new
1998-10-20 00:17:17 +00:00