2105 Commits

Author SHA1 Message Date
shanjian%netscape.com
e37c8ef903 #125628 Auto-detect can not detect the gb18030 page above properly
This patch added a state machine for gb18030 verification. The data of
the state machine is created based on GB18030 standard, and the code was
generated by a perl script which is almost identical to rest of the perl
script that generated other header files. Rest of the code is just
adding this state machine to some charset detectors.
r=ftang, sr=shaver, a=asa


git-svn-id: svn://10.0.0.236/trunk@116509 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 00:47:05 +00:00
shanjian%netscape.com
62bcd92b67 #128825 Browser crash if I view an image
Adjust destLen (remaining buffer length) as buffer is consumed. This way we
will know when we will run out of buffer.
r=ftang, sr=jst, a=shaver


git-svn-id: svn://10.0.0.236/trunk@116506 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 00:36:55 +00:00
yokoyama%netscape.com
aa5f2f0b67 bug: 126744
Fixing bustage of gb18030 Decoder
/r=ftang; /a=asa


git-svn-id: svn://10.0.0.236/trunk@116350 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 23:00:43 +00:00
shanjian%netscape.com
351bad80d9 #119013 Cookie expire times reported twice / bug in FormatDateTime routine
r=nhotta/mkaply  sr=sspitzer a=asa
Added comment in idl file.
Changed kDateFormatLong from "%c" to "%x" for unix and os2


git-svn-id: svn://10.0.0.236/trunk@116229 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-09 00:01:59 +00:00
ftang%netscape.com
35453033c2 fix bug 9519 r=ftang sr=brendan a=roc+moz
make uconv code port to 32 bits clean for arm arch
thansk  jeroen.dobbelaere@acunia.com


git-svn-id: svn://10.0.0.236/trunk@116115 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 01:12:33 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
shanjian%netscape.com
209436a3b7 #127129 The above page is displayed many blank areas
When converting from unicode to GB2312GL, we need to clear 8bit. That is skipped
in patch for 101998. Add it back.
r=ftang, sr=alecf, a=asa


git-svn-id: svn://10.0.0.236/trunk@115885 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 00:01:35 +00:00
alecf%netscape.com
73c4c0f1f8 fix the nmake bustage again
git-svn-id: svn://10.0.0.236/trunk@115774 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 00:39:25 +00:00
alecf%netscape.com
44bb02b969 fix windows nmake-only bustage
argh


git-svn-id: svn://10.0.0.236/trunk@115773 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 00:32:09 +00:00
shanjian%netscape.com
9a5ed94d7e Backout previous checkin. Previous check in is the patch for another bug. Sorry.
git-svn-id: svn://10.0.0.236/trunk@115737 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 21:51:22 +00:00
shanjian%netscape.com
21da91d3b3 #125777 The default fonts for non-native system are incorrect
check preference setting font.name-list.* when setting default font in font preference UI.
r=nhotta, sr=alecf, a=asa


git-svn-id: svn://10.0.0.236/trunk@115734 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 21:06:25 +00:00
yokoyama%netscape.com
1e9d342ebe Bug:127946
Add remaining accept-languages from Mozilla L10n projects
Files changed:
  language.properties
  languageNames.properties
/r=yokoyama, /a=asa


git-svn-id: svn://10.0.0.236/trunk@115615 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 00:58:27 +00:00
ftang%netscape.com
7bee9d2667 fix bug 126744 change the platform charset for simp chinese and korean to
GB18030 and x-windows-949
r=yokoyama/jsin sr=alecf a=alecf


git-svn-id: svn://10.0.0.236/trunk@115603 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 23:55:41 +00:00
ftang%netscape.com
0306556cc3 fix bug 126533. add minority script to GB18030-1 converter
r=katakai sr=kin a=asa


git-svn-id: svn://10.0.0.236/trunk@115602 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 23:53:53 +00:00
ftang%netscape.com
3fa24b0448 fix bug 116882. r=nhotta sr=kin a=roc+moz
change the error handling behavior compatable to IE6.
display middle dot instead of ?for undefined character


git-svn-id: svn://10.0.0.236/trunk@115493 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 15:47:10 +00:00
ftang%netscape.com
bfa7065961 fix bug 119047. r=nhotta a=asa sr=jst.
fix the ISO-2022-JP converter so it will return error code while it hit encoding error.


git-svn-id: svn://10.0.0.236/trunk@115427 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 15:56:22 +00:00
rbs%maths.uq.edu.au
07186d47ad bug 126619 - fixups for the final metrics of certain MathML characters, and add transliteration for U+2212 the official Unicode minus sign (ongoing bug 119664), r=roc+moz, rs=attinasi/blizzard, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115399 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 01:35:27 +00:00
bstell%ix.netcom.com
b2580b197b bug 127307, add TrueType converters to Linux/Unix for MathML
checkin for ftang, r=mkaply, sr=brendan, a=blizzard


git-svn-id: svn://10.0.0.236/trunk@115287 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 00:26:54 +00:00
ftang%netscape.com
24f2000319 fix bug 107731. r=ftang sr=alecf a=shaver
turn on some language list


git-svn-id: svn://10.0.0.236/trunk@115241 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 22:11:11 +00:00
sspitzer%netscape.com
a4177155b3 fix for #126677. dates not showing up in thread pane
or message pane on windows.  r/sr=bienvenu, a=leaf.


git-svn-id: svn://10.0.0.236/trunk@115109 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 18:24:47 +00:00
alecf%netscape.com
f85a67075e one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag


git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +00:00
smontagu%netscape.com
d0afe74092 Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114942 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 20:41:32 +00:00
cathleen%netscape.com
44c62ad490 eliminate nsCRT::strlen for char* strings (part 2), bug 124536 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@114905 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 07:43:41 +00:00
shanjian%netscape.com
5c89a47ef8 #117522 gfx/src/nsCompressedCharMap.cpp doesn't build: too many Ls in nsCompressedCharMap.h
r=bstell, sr=brendan
(thanks to timp@clarityconnect.com for test and verify the patch.)


git-svn-id: svn://10.0.0.236/trunk@114881 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 03:29:43 +00:00
shanjian%netscape.com
1e5c3a8000 #119970 Add uk_UA.KOI8-U locale to unixcharset.properties
Thanks to Joe Marcus Clarke for preparing the patch.
r=shanjian, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@114880 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 03:24:30 +00:00
yokoyama%netscape.com
c32eda13b3 Bug 126231
We didn't want to change the contract between gfx and FontPackageProxy.
but we moved the call fontEnum->HaveFontFor(aFontPackID, &have) from /gfx to /intl/locale
We need to strip the "lang:" from aFontPackID.
/r=ftang;/sr=brendan


git-svn-id: svn://10.0.0.236/trunk@114859 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 01:48:15 +00:00
cbiesinger%web.de
0771c16208 bug 125667 r=ftang sr=blizzard
"Thai [th]" not in "Language of Web Contents" list


git-svn-id: svn://10.0.0.236/trunk@114728 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 10:24:01 +00:00
dbaron%fas.harvard.edu
3129840cf0 Allow makefile to work on platforms other than Windows (although still don't use it).
git-svn-id: svn://10.0.0.236/trunk@114700 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 18:21:43 +00:00
dbaron%fas.harvard.edu
e3e3be3de3 Fix bustage, really (I hope).
git-svn-id: svn://10.0.0.236/trunk@114699 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 18:08:16 +00:00
dbaron%fas.harvard.edu
22d24cb393 Fix bustage.
git-svn-id: svn://10.0.0.236/trunk@114698 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 17:07:31 +00:00
dbaron%fas.harvard.edu
c40418b528 Removing files long since replaced by nsCaseConversionImp2.{h,cpp}. b=125776 r=ftang sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114696 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:33:23 +00:00
dbaron%fas.harvard.edu
ac6b721449 Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag
git-svn-id: svn://10.0.0.236/trunk@114693 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:18:13 +00:00
yokoyama%netscape.com
705ddb7aa7 Bug 119927:
Forgot to checkin for unix


git-svn-id: svn://10.0.0.236/trunk@114644 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:15:22 +00:00
yokoyama%netscape.com
8317d4a7e0 Bug 119927:
Instead of using the static variable in /gfx to maintain the state
of font download (eg. static BOOL gCheckJAFont = PR_FALSE;),
we use a nsFontPackageService::FontPackageHandled() API to allow
resetting of the font download.
/r=ftang; /sr=brendan


git-svn-id: svn://10.0.0.236/trunk@114638 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:39:56 +00:00
alecf%netscape.com
e8e8eefb91 argh! mathml wasn't building on my windows box.. who knew?!
git-svn-id: svn://10.0.0.236/trunk@114600 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 15:15:33 +00:00
alecf%netscape.com
d45ec7f015 oops, forgot to land this file..
git-svn-id: svn://10.0.0.236/trunk@114599 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 15:12:23 +00:00
alecf%netscape.com
d20c13a8dc bug 125055 - move uconv registration to table-based list of converters
shrinks dll and speeds up access
r=yokoyama, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@114598 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 15:03:39 +00:00
nhotta%netscape.com
7c37414040 Changed a comparison part to check the key is cached, fixed an incorrect length passing for memcmp,
changed to store a length of the cached string,
bug 121281, r=ftang, sr=sfraser.


git-svn-id: svn://10.0.0.236/trunk@114546 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 00:15:32 +00:00
harishd%netscape.com
d4204329ee ** Patch provided by dougt ** Create parser-service category.b=107087, r=harishd, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@114537 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:18:28 +00:00
nhotta%netscape.com
2f1758952f Added a mapping method to take PRUnichar* as an input string, bug 125077, r=ftang, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@114523 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 22:16:16 +00:00
yokoyama%netscape.com
3820be4c49 Bug 125061
Adding gb_2312 to charsetalias.properties file
/r=nhotta


git-svn-id: svn://10.0.0.236/trunk@114458 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:59:46 +00:00
ccarlen%netscape.com
5d9e5de380 Bug 115334 - removing .mcp files that are obsolete since conversion to XML. r=jj/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@114392 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 15:01:37 +00:00
ftang%netscape.com
5a1610c5ee add stress test script for gb18030
not part of the build


git-svn-id: svn://10.0.0.236/trunk@114356 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 01:32:54 +00:00
ftang%netscape.com
bc8aec8751 fix bug 101998. Add surrogate conversion
r=shanjian sr=alecf


git-svn-id: svn://10.0.0.236/trunk@114355 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 01:31:54 +00:00
nhotta%netscape.com
cb0e078684 Changed the key length estimation function to create an actualy key if possible then cache the result to be
used in the key creation function,
bug 121281, r=ftang, sr=sfraser.


git-svn-id: svn://10.0.0.236/trunk@114315 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 22:17:19 +00:00
ccarlen%netscape.com
0db9b3dc65 Bug 115334 - Removing .mcp files which are obsolete after XML conversion. r=jj/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@114285 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:41:41 +00:00
shanjian%netscape.com
8ee3e3b90f #120348 crash in macro CCMAP_HAS_CHAR_EXT
rewrite CCMAP_HAS_CHAR_EXT macro
r=ftang, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114254 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 05:01:42 +00:00
shanjian%netscape.com
0e2c9fb47e Reverse my last checkin because the comment is not there. (cvs ci does not
allow me abort, while I copy-n-paste, it accidentally copied a carriage return.)


git-svn-id: svn://10.0.0.236/trunk@114253 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:59:15 +00:00
shanjian%netscape.com
0f1ccfb152 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@114252 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:54:24 +00:00
bzbarsky%mit.edu
f68919f405 Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00