1182 Commits

Author SHA1 Message Date
smontagu%netscape.com
150b00816f Add decoder for iso-8859-6.16. Bug 172491, r=Roland.Mainz, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@140315 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 01:30:17 +00:00
alecf%netscape.com
f24ccb3da0 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


git-svn-id: svn://10.0.0.236/trunk@140260 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 18:55:59 +00:00
jshin%mailaps.org
18198834d1 bug 191542 : Add UTF-8 equivalent of |IsASCII|, IsUTF8. r=smontagu, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140230 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 08:11:13 +00:00
alecf%netscape.com
2a83f1b2d9 backout my static atom patch for now until I figure out the performance loss! :(
bug 195262


git-svn-id: svn://10.0.0.236/trunk@139962 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 20:13:08 +00:00
alecf%netscape.com
e98b82d51b one more GetUnicode()
git-svn-id: svn://10.0.0.236/trunk@139912 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 06:47:32 +00:00
alecf%netscape.com
59c2bfe187 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.


git-svn-id: svn://10.0.0.236/trunk@139909 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 06:26:32 +00:00
dougt%netscape.com
b64077c53b Fix bad export_lib line. r=cls
git-svn-id: svn://10.0.0.236/trunk@139546 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 01:09:52 +00:00
dougt%netscape.com
fed2927b2c 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.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
dougt%netscape.com
a4363af7c0 Experimental native uconv implementation.
git-svn-id: svn://10.0.0.236/trunk@139290 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 21:54:33 +00:00
smontagu%netscape.com
5dd12ac803 Make the UTF-8 decoder reject all non-shortest forms and surrogate characters, plus general code cleanup. Bug 182751, r=ftang, sr=heikki.
git-svn-id: svn://10.0.0.236/trunk@139123 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-08 00:25:54 +00:00
alecf%netscape.com
326b7425d7 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


git-svn-id: svn://10.0.0.236/trunk@139039 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 19:54:51 +00:00
sfraser%netscape.com
6f87b85c6b Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@138693 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 05:47:36 +00:00
jshin%mailaps.org
211492f95c 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


git-svn-id: svn://10.0.0.236/trunk@138645 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 23:27:57 +00:00
smontagu%netscape.com
4fb244eeec Use "Western" language group for ISO-8859-3. Bug 113805, author=bertilow@gmx.net, r=ftang, sr=bzbarsky@mit.edu.
git-svn-id: svn://10.0.0.236/trunk@138503 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 01:53:21 +00:00
sfraser%netscape.com
4fdeebcf21 Make lots of static data const. Bug 74803. r=dbaron, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@138492 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 01:15:36 +00:00
jshin%mailaps.org
f09b5e9bc6 bug 163998: URL-unescape the image URL for rendering in the title bar
(r=nhotta,jst, sr=darin, a=asa)


git-svn-id: svn://10.0.0.236/trunk@137973 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-19 11:14:35 +00:00
dbaron%dbaron.org
90a3e52f3e 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
git-svn-id: svn://10.0.0.236/trunk@137619 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-10 04:14:34 +00:00
jshin%mailaps.org
1d336e70d9 b=184120 Add non-BMP char. support to UTF-32 converters.
r=smontague, sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@137228 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 23:26:20 +00:00
dbaron%dbaron.org
4305a396ed Most of the changes needed for Mozilla to build with gcc's -pedantic-errors option. b=175423 r=seawood sr=bryner
git-svn-id: svn://10.0.0.236/trunk@136267 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 23:15:42 +00:00
dbaron%dbaron.org
a53a959416 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136009 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:07:51 +00:00
caillon%returnzero.com
360f61e8a1 184257 - Updating pref callers. r=timeless sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@135983 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 08:40:41 +00:00
seawood%netscape.com
0a7c7a98f9 nobrainer changes while thinking about mingw support
Bug #134113 r=dmose


git-svn-id: svn://10.0.0.236/trunk@135809 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 08:58:59 +00:00
seawood%netscape.com
f8f86e7f05 Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt


git-svn-id: svn://10.0.0.236/trunk@135661 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 01:15:07 +00:00
shanjian%netscape.com
51b179520f #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.


git-svn-id: svn://10.0.0.236/trunk@135206 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 00:47:38 +00:00
shanjian%netscape.com
fb642043b4 #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.


git-svn-id: svn://10.0.0.236/trunk@135204 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 00:38:32 +00:00
nhotta%netscape.com
9ca6b931cc Adding Finish method to nsIScriptableUConv,
check in for kazhik@mozilla.gr.jp,
r=nhotta, sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@134624 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-02 22:11:11 +00:00
smontagu%netscape.com
7a3e55577b Bug 108136: Shift_JIS conversion problem on MacOS9, OS/2. Authors=shom@vinelinux.org, k-ichioka@msb.biglobe.ne.jp; r=ftang, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@134426 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 23:44:28 +00:00
nhotta%netscape.com
9a22e917e7 Call nsIUnicharEncoder::Finish to ensure the converted string is terminated,
bug 179392, r=shanjian, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@133774 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 21:56:01 +00:00
arougthopher%lizardland.net
fa2cdaed7d 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


git-svn-id: svn://10.0.0.236/trunk@132888 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-02 02:12:00 +00:00
seawood%netscape.com
f9eb727003 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


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
bryner%netscape.com
198c4ea741 fixing mac bustage, r=cls
git-svn-id: svn://10.0.0.236/trunk@131570 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 04:09:14 +00:00
shanjian%netscape.com
391a52089c #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


git-svn-id: svn://10.0.0.236/trunk@131550 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 03:01:47 +00:00
smontagu%netscape.com
8835158083 Add support for Langbox ISO-8859-6.8x encoding. Bug 78201, r=ftang, sr=roc+moz.
git-svn-id: svn://10.0.0.236/trunk@131500 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 23:58:48 +00:00
timeless%mac.com
f4e2edd096 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


git-svn-id: svn://10.0.0.236/trunk@131380 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 03:52:49 +00:00
smontagu%netscape.com
985997e785 Backing out fix to bug 158129 because of Mac bustage
git-svn-id: svn://10.0.0.236/trunk@131339 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 22:50:54 +00:00
smontagu%netscape.com
3ea7003741 Add support for Adobe's Type1 Euro fonts. Bug 158129, author=Roland.Mainz@informatik.med.uni-giessen.de, r=bstell, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@131331 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 21:08:10 +00:00
shanjian%netscape.com
dd1aa98fab #141621 problem in converting non-bmp character to UTF-8
correct a simple mistake.
r=yokoyama, sr=blizzard.


git-svn-id: svn://10.0.0.236/trunk@129936 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 19:40:45 +00:00
nhotta%netscape.com
b6ec177efb Added a function to unescape 8bit only, 7bit encoding support.
bug 161479, r=shanjian, sr=jst, a=dbaron.


git-svn-id: svn://10.0.0.236/trunk@129063 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-08 15:08:21 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
alecf%netscape.com
032de35bda fix for bug 158003 - custom static constructors for i18n unicode converters.
r=shanjian, sr=bz, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@129020 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 01:17:57 +00:00
dougt%netscape.com
1ebc6538fb Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
bzbarsky%mit.edu
605e6eea80 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


git-svn-id: svn://10.0.0.236/trunk@128531 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 07:45:52 +00:00
stephend%netscape.com
a538dc60ba Bug 160248. Removing unused _IMPL_NS_INTL defines. Patch by Stephen Walker <walk84@yahoo.com> r=seawood@netscape.com, NO sr needed, makefiles only
git-svn-id: svn://10.0.0.236/trunk@128409 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 01:33:14 +00:00
bzbarsky%mit.edu
8b530edf64 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.


git-svn-id: svn://10.0.0.236/trunk@128310 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 23:47:25 +00:00
alecf%netscape.com
e3b2da9c83 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@128163 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 21:20:34 +00:00
alecf%netscape.com
3daa201c05 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


git-svn-id: svn://10.0.0.236/trunk@127833 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-22 04:58:57 +00:00
bbaetz%student.usyd.edu.au
02012cbb68 Hopefully fix HPUX bustage from bug 7965.
git-svn-id: svn://10.0.0.236/trunk@127536 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-17 11:12:29 +00:00
katakai%japan.sun.com
8d6d9d08b6 bug 7965
[converter] need ISO-2022-CN converters
Added ISO-2022-CN converter. (no new file)
r=ftang,sr=alecf


git-svn-id: svn://10.0.0.236/trunk@127521 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-17 01:17:42 +00:00
seawood%netscape.com
f05c312d73 Use shared prefix files instead of old module specific ones.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #162186 r=cls


git-svn-id: svn://10.0.0.236/trunk@127295 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 23:07:41 +00:00
ftang%netscape.com
7b5c5ce8ac 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


git-svn-id: svn://10.0.0.236/trunk@127199 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 20:37:09 +00:00