27 Commits

Author SHA1 Message Date
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
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
shanjian%netscape.com
9e2a7ea9ac #165908, —, – –, and — are displayed as ? (character substitutes/fallbacks broken)
added back a missing code path.

r=yokoyama, sr=dveditz, a=asa


git-svn-id: svn://10.0.0.236/trunk@128996 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 21:10:13 +00:00
shanjian%netscape.com
586fb7a0d7 #137657 html content serializer and nsISaveAsCharset does not handle surrogate correctly
Modify the API of DoConversionFallBack and HandleFallBack to take UCS4 string, and
handle surrogate pair properly.
r= ftang, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@128143 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:21:08 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
nhotta%netscape.com
babd2864ea Add charset fallback mechanism to nsISaveAsCharset and use it for message headers and plain text body,
bug 109342, r=ducarroz,ftang, sr=bienvenu,sspitzer.


git-svn-id: svn://10.0.0.236/trunk@119898 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:49:19 +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
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
cathleen%netscape.com
ea31156ed0 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
gerv%gerv.net
a768cdf897 License changes, take 2. Bug 98089. mozilla/intl/ (part 2).
git-svn-id: svn://10.0.0.236/trunk@103778 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:47:52 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
2281a4d137 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103230 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 22:39:41 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
alecf%netscape.com
7be2cccb25 #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz a=self


git-svn-id: svn://10.0.0.236/trunk@82728 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 08:06:12 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
scc%netscape.com
71b1c7c5f4 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65008 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:01:54 +00:00
nhotta%netscape.com
d1b0fc8671 Changed NS_ERROR_UENC_NOMAPPING to non serious error and return it to clients of nsISaveAsCharset, r=cata.
git-svn-id: svn://10.0.0.236/trunk@64281 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:36:41 +00:00
nhotta%netscape.com
fa8e95a9ef Changed to call Finish() after the conversion, bug 29652 , r=cata.
git-svn-id: svn://10.0.0.236/trunk@63086 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:38:27 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
nhotta%netscape.com
fac05a4ebc Added a call to encoder finish, this allows encoder to write out remaining data such as escape sequences of ISO-2022-JP, bug 17805, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@52599 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:24:10 +00:00
dp%netscape.com
a1cbbe03aa Removing double check for failure. Checking for nsresult is sufficient.
git-svn-id: svn://10.0.0.236/trunk@52380 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 08:54:06 +00:00
nhotta%netscape.com
b6d38ed4f7 Check input for the null pointer and empty string, bug 17287, r=ducarroz,jefft.
git-svn-id: svn://10.0.0.236/trunk@52109 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 20:41:45 +00:00
nhotta%netscape.com
643eb34912 Unicode encoder related change for unmapped characters.
If unicode encoder cannot map a character to the target encoding, it returns used unicode length including the unmapped character.
That is true for all encoder except ISO-2022-JP (bug #15706). Changed the callers to match the encoder behavior. bug 8865, r=cata.


git-svn-id: svn://10.0.0.236/trunk@51871 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 20:16:11 +00:00
nhotta%netscape.com
dbcb2cc74d Fix a warning, it was assigning NULL to char type, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@51319 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 23:55:31 +00:00
nhotta%netscape.com
25c87328ce Changed interface and implementation of nsIEntityConverter,
more entity support (before Latin1 only), added a string based interface. Bug fix 8865, r=ftang.


git-svn-id: svn://10.0.0.236/trunk@51044 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 22:33:14 +00:00
nhotta%netscape.com
59ee43f7fc Adding a new interface which does a charset conversion plus NE and NCR for fallback. Part of bug fix #8865, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@50374 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:47:27 +00:00