Commit Graph

1272 Commits

Author SHA1 Message Date
smontagu%netscape.com
4c9d6095c3 Map Big5 UDC to Unicode PUA. Bugs 9686 and 181725, author=anthony@thizlinux.com and mcsmurf@gmx.net, r=smontagu, blanket rs=roc+moz for autogenerated conversion table updates. 2003-07-11 21:43:04 +00:00
smontagu%netscape.com
b789b26128 Update some charset mapping tables to the latest versions from http://www.unicode.org/Public/MAPPINGS. Blanket rs=roc+moz in bug 199143. 2003-07-08 23:37:45 +00:00
smontagu%netscape.com
e204fa5373 Update mapping tables for windows-1256 encoding. Bug 199143, r=jshin@mailaps.org, rs=roc+moz 2003-07-08 20:49:32 +00:00
dbaron%dbaron.org
e4f8669cd4 Fix atom leaks. b=206379 r=alecf sr=bryner 2003-06-30 21:50:55 +00:00
jshin%mailaps.org
17c36a3091 bug 127755 : add two Thai charsets ISO-8859-11 and TIS-620 to libuconv and make corresponding changes in GFX:Gtk and GFX:Xlib. What used to be referred to as TIS-620 is renamed as Windows-874. r=smontague, sr=rbs (ut/uf files are thanks to ftang). 2003-06-25 05:11:44 +00:00
jshin%mailaps.org
89d724a214 bug 209328 : fix mailto URL regression. (r=nhotta, sr=alecf) In addition,
address two other (related) issues.
- Fix ConvertURISpecToUTF8 to make it fill up the out parameter
- Make Tru64 Cxx happy with NS_STATIC_CAST of nsAutoPtr<PRUnichar>
2003-06-24 14:31:09 +00:00
jshin%mailaps.org
245a450695 a part of bug 162765 (r=cbiesinger, sr=alecf) missed in the previous commit.
RFC 2231 support (with RFC 2047 fallback) in Content-Disposition header
in http for file download.
2003-06-13 04:18:01 +00:00
jshin%mailaps.org
eb93104d96 bug 167265 : add to necko Content-Disposition header handling per RFC 2231 (with
fallbacks to RFC 2047 and raw 8bit chars in |aOriginCharset| ) necessary for
i18nized filename support (when downloading files via http) :
r=cbiesinger, sr=alecf
2003-06-12 21:57:49 +00:00
jaggernaut%netscape.com
0cf095d9af Hopefully fix BeOS bustage 2003-06-12 10:10:21 +00:00
alecf%flett.org
e222b99ea9 argh, one more set of fixes 2003-06-11 20:31:43 +00:00
alecf%flett.org
d56cc08b89 oops, one more signature fix 2003-06-11 20:28:12 +00:00
alecf%flett.org
c1de813522 first attempt at a fix for mac, until I get my own build going again 2003-06-11 20:25:09 +00:00
alecf%flett.org
2751c6b097 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
seawood%netscape.com
b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
jshin%mailaps.org
705c95a9ff bug 133615 : remove ISO-2022-KR/Visual Hebrew from 'Save As Charset' menu
in Composer. (r=neil, sr=jag)
2003-06-04 06:19:35 +00:00
smontagu%netscape.com
e798ad39d8 Bugs in intl/uconv/src/nsUnicodeToUTF8.cpp. Bug 191483, Author=hsivonen@iki.fi, r=smontagu, sr=rbs 2003-05-30 01:16:20 +00:00
jshin%mailaps.org
b7b494a1a0 bug 204039 : converter for TSCII fonts (r=prabhat, sr=rbs, a=asa) 2003-05-23 06:31:25 +00:00
jshin%mailaps.org
f7fb3323d6 bug 206363 : fix a buffer overrun in JamoTTF converter (r=smontagu,
sr=rbs, a=asa)
2003-05-22 00:23:38 +00:00
jshin%mailaps.org
fa873b6489 change 'Hindi' to 'Devanagari' in font-pref. UI. This includes a change to
DTD (L10N).  bug 206146 (r=yokoyama and bobj, sr=blizzard, a=mkaply).
2003-05-21 23:29:10 +00:00
jshin%mailaps.org
c4c7b8a308 bug 203052. Enable Thai shaping in Mozilla-Xft by adding a thin
wrapper (x-thaittf-0 converter) over TIS620-2 converter offered by the
CTL module (r=prabhat, sr=rbs)
2003-05-15 03:42:50 +00:00
katakai%japan.sun.com
00cfa28dc9 bug 159865
Should support ISO-2022-CN-EXT encoding
patch from ervin.yan@sun.com
r=ftang,sr=rbs,a=asa
2003-04-26 10:46:23 +00:00
seawood%netscape.com
fcc2fc8210 Function definitions should match function declarations.
Fixing OS/2 bustage from bug 176315
2003-04-22 06:57:46 +00:00
seawood%netscape.com
792a9f985f http://www.mozilla.org/hacking/portable-cpp.html#variables_in_for
Fixing win32, os2 & irix bustage
2003-04-22 05:19:32 +00:00
jshin%mailaps.org
775ff11145 bug 176315 : add a converter for old Korean support. (r=ftang, sr=rbs) 2003-04-22 03:21:12 +00:00
seawood%netscape.com
fd2883713e Implement mozcomps static build variant.
Remove unnecessary EXPORT_LIBRARY settings.
Bug #201602 r=bryner
2003-04-17 19:19:42 +00:00
dougt%netscape.com
59343d34ec Must QI objects returned via nsISupports parameter type. Not part of the default build. 2003-04-16 00:56:03 +00:00
jshin%mailaps.org
57b5274f65 bug 68738 : UTF-16/32LE with BOM is always detected as UTF-16BE/32BE.
r=ftang, sr=heikki
2003-04-10 07:10:48 +00:00
dougt%netscape.com
abd8ce15bb Shutting up warnings. rs=dougt. This isn't part of the normal mozilla build 2003-04-03 22:35:22 +00:00
dougt%netscape.com
236e682d4c Fixing MOZ_USE_NATIVE_UCONV bustage. nsCharsetConverterManager should always be compiled 2003-04-03 01:18:00 +00:00
dougt%netscape.com
538ab3ed7e Landing optional and experimental native uconv support. r=darin, sr=alecf, b=20049. 2003-04-02 04:39:23 +00:00
nhotta%netscape.com
1106587f5a Return UTF-8 as a platform file charset,
bug 199384, r=ccarlen, sr=darin, a=asa.
2003-03-31 18:46:43 +00:00
smontagu%netscape.com
53206276f7 Add decoder for iso-8859-6.16. Bug 172491, r=Roland.Mainz, sr=roc+moz 2003-03-26 01:30:17 +00:00
alecf%netscape.com
8c50d0242a landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
jshin%mailaps.org
a5ddc8b721 bug 191542 : Add UTF-8 equivalent of |IsASCII|, IsUTF8. r=smontagu, sr=alecf 2003-03-25 08:11:13 +00:00
alecf%netscape.com
b6584a77fb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
alecf%netscape.com
d20f9ae371 one more GetUnicode() 2003-03-21 06:47:32 +00:00
alecf%netscape.com
ecf24a2b78 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
dougt%netscape.com
0a7d66cd04 Fix bad export_lib line. r=cls 2003-03-16 01:09:52 +00:00
dougt%netscape.com
0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
dougt%netscape.com
87dbd2e34a Experimental native uconv implementation. 2003-03-11 21:54:33 +00:00
smontagu%netscape.com
279cca576c Make the UTF-8 decoder reject all non-shortest forms and surrogate characters, plus general code cleanup. Bug 182751, r=ftang, sr=heikki. 2003-03-08 00:25:54 +00:00
alecf%netscape.com
5b7536c806 fix for bug 191416 - clean up nsIUnicharInputStream to make it more like nsIInputStream:
- hide Fill() (or remove it where not necessary)
- add ReadSegments() so that we can do reads without copying
- remove the extra offset parameter to Read()
r=dougt, sr=darin
2003-03-06 19:54:51 +00:00
sfraser%netscape.com
395413772f Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf. 2003-02-28 05:47:36 +00:00
jshin%mailaps.org
2475a8eab8 bug 180851 : remove several unnecessary converters(used only for X11
font encodings)  for non-gtk builds (Windows,MacOS, Xft without X11CORE,etc)
r=seawood, sr=alecf
2003-02-27 23:27:57 +00:00
smontagu%netscape.com
c004f84f89 Use "Western" language group for ISO-8859-3. Bug 113805, author=bertilow@gmx.net, r=ftang, sr=bzbarsky@mit.edu. 2003-02-26 01:53:21 +00:00
sfraser%netscape.com
eab5d38cb2 Make lots of static data const. Bug 74803. r=dbaron, sr=alecf 2003-02-26 01:15:36 +00:00
jshin%mailaps.org
d5bbaf34de bug 163998: URL-unescape the image URL for rendering in the title bar
(r=nhotta,jst, sr=darin, a=asa)
2003-02-19 11:14:35 +00:00
dbaron%dbaron.org
72050976c6 Always use the hardcoded fallbacks in GetPreferred so that it works correctly when called with UTF-8 during the loading of mimeTypes.rdf triggered by the loading of mDelegate. r=smontagu sr=bzbarsky a=asa b=190951 2003-02-10 04:14:34 +00:00
jshin%mailaps.org
ebec992d12 b=184120 Add non-BMP char. support to UTF-32 converters.
r=smontague, sr=dbaron, a=asa
2003-01-31 23:26:20 +00:00
dbaron%dbaron.org
88c249d811 Most of the changes needed for Mozilla to build with gcc's -pedantic-errors option. b=175423 r=seawood sr=bryner 2003-01-13 23:15:42 +00:00
dbaron%dbaron.org
3ea0dc57d4 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 21:07:51 +00:00
caillon%returnzero.com
6d92f9bd32 184257 - Updating pref callers. r=timeless sr=bzbarsky 2003-01-08 08:40:41 +00:00
seawood%netscape.com
16e7da2837 nobrainer changes while thinking about mingw support
Bug #134113 r=dmose
2003-01-03 08:58:59 +00:00
seawood%netscape.com
d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
shanjian%netscape.com
fd06eca99b #182089 Extended hkscs.uf and hkscs.ut for HKSCS-2001 support
Tools written by Anthony (anthony@thizlinux.com) to generate the new conversion table for
hkscs. Not part of the build, just put here for future reference.
2002-12-13 00:47:38 +00:00
shanjian%netscape.com
714918d30b #182089, Extended hkscs.uf and hkscs.ut for HKSCS-2001 support
update unicode conversion table for HKSCS.
proposed by: Anthony Fok
r=shanjian, sr=blizzard.
2002-12-13 00:38:32 +00:00
nhotta%netscape.com
7357fc0f03 Adding Finish method to nsIScriptableUConv,
check in for kazhik@mozilla.gr.jp,
r=nhotta, sr=bzbarsky.
2002-12-02 22:11:11 +00:00
smontagu%netscape.com
7a98efd169 Bug 108136: Shift_JIS conversion problem on MacOS9, OS/2. Authors=shom@vinelinux.org, k-ichioka@msb.biglobe.ne.jp; r=ftang, sr=alecf. 2002-11-25 23:44:28 +00:00
nhotta%netscape.com
3909e87067 Call nsIUnicharEncoder::Finish to ensure the converted string is terminated,
bug 179392, r=shanjian, sr=bzbarsky
2002-11-13 21:56:01 +00:00
arougthopher%lizardland.net
4cceb11df7 Bug#92793
BeOS classes are not threadsafe

In BeOS, each window runs in its own thread.  Because of this,
we have a proxy layer between the mozilla UI thread, and calls made
within the window's thread via CallMethod().  However, since the windows
are still running in their own thread, and reference counting takes place within
that thread, we need to reference and de-reference outselves atomically.

r=rpotts
sr=blizzard
a=asa
2002-11-02 02:12:00 +00:00
seawood%netscape.com
57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
bryner%netscape.com
d53e0314f3 fixing mac bustage, r=cls 2002-10-09 04:09:14 +00:00
shanjian%netscape.com
d1fb7a56ee #149417 Treat US-ASCII as ISO-8859-1 (Meta chaset tag)
use iso-8859-1 decoder to convert us-ascii to unicode.
r=ftang, sr=alecf
2002-10-09 03:01:47 +00:00
smontagu%netscape.com
15d18f8e4f Add support for Langbox ISO-8859-6.8x encoding. Bug 78201, r=ftang, sr=roc+moz. 2002-10-08 23:58:48 +00:00
timeless%mac.com
57ed167e48 Bug 158129 Add support for Adobe's Type1 Euro fonts
patch by Roland.Mainz@informatik.med.uni-giessen.de r=bstell@ix.netcom.com sr=roc+moz
2002-10-08 03:52:49 +00:00
smontagu%netscape.com
720c5e1a49 Backing out fix to bug 158129 because of Mac bustage 2002-10-07 22:50:54 +00:00
smontagu%netscape.com
baf822d197 Add support for Adobe's Type1 Euro fonts. Bug 158129, author=Roland.Mainz@informatik.med.uni-giessen.de, r=bstell, sr=roc+moz 2002-10-07 21:08:10 +00:00
shanjian%netscape.com
79d4d29426 #141621 problem in converting non-bmp character to UTF-8
correct a simple mistake.
r=yokoyama, sr=blizzard.
2002-09-18 19:40:45 +00:00
nhotta%netscape.com
c02b619c53 Added a function to unescape 8bit only, 7bit encoding support.
bug 161479, r=shanjian, sr=jst, a=dbaron.
2002-09-08 15:08:21 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
alecf%netscape.com
71f32d15bb fix for bug 158003 - custom static constructors for i18n unicode converters.
r=shanjian, sr=bz, a=roc+moz
2002-09-07 01:17:57 +00:00
dougt%netscape.com
f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
bzbarsky%mit.edu
a3fbeac670 Extend CTL extension to support multiple CTL scripts (framework + hindi
support).  Bug 163962, r=gilbert.fang@sun.com, r=prabhat.hegde@sun.com,
r=cls, sr=bzbarsky, patch by prabhat.hegde@sun.com and
roland.mainz@informatik.med.uni-giessen.de
2002-08-30 07:45:52 +00:00
stephend%netscape.com
4bcdc79c3d Bug 160248. Removing unused _IMPL_NS_INTL defines. Patch by Stephen Walker <walk84@yahoo.com> r=seawood@netscape.com, NO sr needed, makefiles only 2002-08-29 01:33:14 +00:00
bzbarsky%mit.edu
d9ea7f8f8f Bug 119321 and bug 80106. Create a generic nsIUnicharStreamLoader that
makes two callbacks -- one to determine the charset and one to provide
an nsIUnicharInputStream.  Use this in the CSSLoader instead of
allocating a single big buffer for the sheet.  Clean up the way we look
for the @charset charset in the sheet data.

r=rpotts for netwerk/, r=peterv for content/, r=smontagu for intl/,
sr=darin for the whole thing.
2002-08-27 23:47:25 +00:00
alecf%netscape.com
dc6d6e3736 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin
2002-08-26 21:20:34 +00:00
alecf%netscape.com
5892c7b1fc fix the static build for bug 163217
use the shared support library instead of the ucvmath-specific library to build the converters
patch by keeda@hotpop.com, mac work by bnesse@netscape.com
sr=alecf, r=cls
2002-08-22 04:58:57 +00:00
bbaetz%student.usyd.edu.au
af43c769d9 Hopefully fix HPUX bustage from bug 7965. 2002-08-17 11:12:29 +00:00
katakai%japan.sun.com
8be45362ae bug 7965
[converter] need ISO-2022-CN converters
Added ISO-2022-CN converter. (no new file)
r=ftang,sr=alecf
2002-08-17 01:17:42 +00:00
seawood%netscape.com
8e930f4610 Use shared prefix files instead of old module specific ones.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #162186 r=cls
2002-08-14 23:07:41 +00:00
ftang%netscape.com
be2921e5b0 update unihan to .uf .ut tools
not part of the build
1. corret the mistake in nonhan.txt
2. make the unihan2cns.pl able to process unihan-3.2.0.txt which
   contains characters beyond BMP
3. add cns.sh which generate .uf .ut files in uconv/ucvtw2
2002-08-13 20:37:09 +00:00
mkaply%us.ibm.com
816ab49b80 #157773
r=mkaply, sr=blizzard - platform specific
OS/2 only - wrong mapping for OS/2 codepage 1386
2002-08-13 16:48:19 +00:00
alecf%netscape.com
c67b59bec2 oops, fix triplicate registration on startup.. just removal of redundant lines of code 2002-08-13 00:01:46 +00:00
alecf%netscape.com
1127eca66b oops, I handled a cvs merge poorly - remove redundant lines in Makefile.in to fix bustage 2002-08-12 20:38:40 +00:00
alecf%netscape.com
b0874301ee oh, wait....these aren't part of the build either! 2002-08-12 19:39:31 +00:00
alecf%netscape.com
24b1b48a47 removal of last of files which are no longer part of the build 2002-08-12 19:38:29 +00:00
nhotta%netscape.com
e0457e3491 Added unescape function which takes a charset to uconv,
changed uriloader to use the uconv unescape to handle unescape non Ascii URI correctly.
bug 155569, r=ftang, sr=bzbarsky.
2002-08-12 19:23:22 +00:00
alecf%netscape.com
9443d20ca6 remove these files which are also not part of the build 2002-08-12 19:21:15 +00:00
alecf%netscape.com
e204c64e1e remove these files that aren't part of the build 2002-08-12 19:20:14 +00:00
alecf%netscape.com
398c128889 fix for bug 157993 - combine all unicode converters into a single library, and share GetMaxLength() implementation between all converters that can support it.
r=ftang, sr=blizzard
2002-08-12 19:16:16 +00:00
timeless%mac.com
450e723217 Bug 155373 no locales in BeOS - should be set to UTF-8
code by sergei_d@fi.tartu.ee
nsBeOSCharset.cpp r=timeless sr=blizzard (ports)
Makefile.in r=cls
2002-08-11 20:44:03 +00:00
gerv%gerv.net
a6d4accdea Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan. 2002-08-10 08:39:43 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
seawood%netscape.com
301b1a4ca8 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
alecf%netscape.com
f7ad4265ef bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
bryner%netscape.com
7dafb891cc Removing unused NS_DOM/_IMPL_NS_DOM and NS_INTL/_IMPL_NS_INTL defines (bugs 160248 and 160253). Patch for 160248 by walk84@yahoo.com, r=me&cls; patch for 160253 by me, r=cls. 2002-07-31 20:53:46 +00:00
alecf%netscape.com
0e23068b87 for bug 157993 - completed merge of uconv libraries on mac
not part of build
2002-07-29 18:41:52 +00:00
alecf%netscape.com
8543bf7c1e oops, according to yokoyama, ucvcn belongs in ucvasia not ucvwestern
for bug 157993, still not part of build
2002-07-29 17:57:46 +00:00
alecf%netscape.com
6bedaf7553 initial version of combined intl libraries on mac for bug 157993 - not part of build - don't even try these, they don't build yet! 2002-07-29 14:40:50 +00:00