jdunn%netscape.com
aed89a2d6d
adding include for tolower & toupper
...
git-svn-id: svn://10.0.0.236/trunk@65724 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 15:52:50 +00:00
troy%netscape.com
b382c442f3
Added support for measuring text runs in ascii, and changed text transformer
...
to leave the text as ascii if possible
git-svn-id: svn://10.0.0.236/trunk@65721 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 14:54:43 +00:00
troy%netscape.com
06a1e3a6e3
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
git-svn-id: svn://10.0.0.236/trunk@65191 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 14:14:47 +00:00
jbetak%netscape.com
26caf1493e
r=troy, ftang fix for 9099 HTML entity followed by CR garbles page and
...
30353 Thai Page shows a weird character for <wbr>
git-svn-id: svn://10.0.0.236/trunk@64045 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 20:23:23 +00:00
ftang%netscape.com
48f8574d1b
fix word breaking problem. r=mjudge. treat all word breaking as the same.
...
git-svn-id: svn://10.0.0.236/trunk@57440 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 22:07:13 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
kipp%netscape.com
283a28a5d4
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...
...
git-svn-id: svn://10.0.0.236/trunk@52389 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 15:32:37 +00:00
kipp%netscape.com
4bb755ead2
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)
...
git-svn-id: svn://10.0.0.236/trunk@51774 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 23:04:51 +00:00
kipp%netscape.com
e5f0e5328b
Fixed percolation of nbsp's into the transformed buffer (bug 16886)
...
git-svn-id: svn://10.0.0.236/trunk@51401 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 20:47:36 +00:00
kipp%netscape.com
6b051cc38a
r=ftang; rewrite to fix 16656, parts of 7455
...
git-svn-id: svn://10.0.0.236/trunk@51205 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 23:01:45 +00:00
kipp%netscape.com
66125fa907
r=troy; revised nsITextContent api to simplify it and the consumers; this is done as prep work for bug 9101
...
git-svn-id: svn://10.0.0.236/trunk@50895 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:36:07 +00:00
kipp%netscape.com
e18af2d0ee
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
...
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
warren%netscape.com
6fbf464bce
Refcounted case conversion service properly
...
git-svn-id: svn://10.0.0.236/trunk@49094 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-26 10:05:51 +00:00
kipp%netscape.com
e790d2ca63
Changed to have the stack buffer embedded in the xformer
...
git-svn-id: svn://10.0.0.236/trunk@48685 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 00:40:16 +00:00
troy%netscape.com
590a741dbd
Minor changes to reduce the amount of unnecessary ref counting and speed
...
things up a little
git-svn-id: svn://10.0.0.236/trunk@47864 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 23:31:59 +00:00
ftang%netscape.com
bed550f28d
implement word jump for non Ascii
...
git-svn-id: svn://10.0.0.236/trunk@43559 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 06:06:57 +00:00
ftang%netscape.com
d4536e263f
tune performance by elimate unnecessary reference to nsIWordBreaker in nsTexTransformer. Add NS_PRECONDITION code into nsTextTransformer to make code better
...
git-svn-id: svn://10.0.0.236/trunk@42948 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 07:23:56 +00:00
ftang%netscape.com
c12062ec71
fix bug 7544
...
git-svn-id: svn://10.0.0.236/trunk@35319 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 02:21:03 +00:00
kipp%netscape.com
161c772762
Use shared IID
...
git-svn-id: svn://10.0.0.236/trunk@29556 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 22:14:36 +00:00
ftang%netscape.com
1957cf6cfb
add one boolean to indicate word break or line break
...
git-svn-id: svn://10.0.0.236/trunk@26572 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:41:44 +00:00
kipp%netscape.com
647cec902d
Support MOZ_PRE_WRAP
...
git-svn-id: svn://10.0.0.236/trunk@25650 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:12:46 +00:00
ftang%netscape.com
dbe9e3f74a
fix mHasMultibyte hint problem when the first character of the *word* is not ASCII
...
git-svn-id: svn://10.0.0.236/trunk@23657 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 03:00:33 +00:00
kipp%netscape.com
001a19082a
Eliminate some compiler warnings
...
git-svn-id: svn://10.0.0.236/trunk@22849 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:28:54 +00:00
ftang%netscape.com
5f7220fa9c
change nsTextTransformer to break line by calling nsILineBreak and make nsTextFrame pass the nsILineBreaker to nsTextTransformer
...
git-svn-id: svn://10.0.0.236/trunk@21772 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 18:21:23 +00:00
ftang%netscape.com
d997998a21
Make Case conversion work for non-Latin1 Unicode. Reviewed by kipp. Perofrmance is the same after changing this.
...
git-svn-id: svn://10.0.0.236/trunk@21542 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:27:54 +00:00
mjudge%netscape.com
22b8399dde
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.
...
git-svn-id: svn://10.0.0.236/trunk@21454 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 04:59:52 +00:00
mjudge%netscape.com
465cddb814
gettig word jumping to work, adding GetPrevWord to texttransformer
...
git-svn-id: svn://10.0.0.236/trunk@21451 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 03:20:59 +00:00
troy%netscape.com
8934624982
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
git-svn-id: svn://10.0.0.236/trunk@20199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:42:56 +00:00
kipp%netscape.com
31c482e2a8
Use macros from nsTextFragment
...
git-svn-id: svn://10.0.0.236/trunk@17198 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 23:02:27 +00:00
kipp%netscape.com
4b86830d22
Fixed bug #1257 : the bug was that we were overrunning the transformers malloc'd buffer because the mBufferLength was never being updated
...
git-svn-id: svn://10.0.0.236/trunk@14680 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 22:27:50 +00:00
kipp%netscape.com
29bade6bcb
Use computed word-len not out parameter that is unset at the time of usage
...
git-svn-id: svn://10.0.0.236/trunk@13449 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 17:27:35 +00:00
kipp%netscape.com
525be8b73c
Slimmed down the implementation
...
git-svn-id: svn://10.0.0.236/trunk@13270 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 20:05:31 +00:00
kipp%netscape.com
7c34652d21
Fixed lastFrag computation
...
git-svn-id: svn://10.0.0.236/trunk@13239 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 03:07:37 +00:00
kipp%netscape.com
47e8c17786
Fixed lastFrag computation (doh!)
...
git-svn-id: svn://10.0.0.236/trunk@13238 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 03:04:46 +00:00
kipp%netscape.com
56f25d5b0b
Added support for capitalization transform
...
git-svn-id: svn://10.0.0.236/trunk@13203 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 16:45:14 +00:00
kipp%netscape.com
1100db045f
new
...
git-svn-id: svn://10.0.0.236/trunk@13148 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:17:17 +00:00