Commit Graph
46 Commits
Author SHA1 Message Date
[email protected] 9448781884 Make it possible to use the string input stream without heap-allocating a
string.  Bug 263973, r=darin, sr=dbaron
2004-10-27 02:19:43 +00:00
[email protected] c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
[email protected] 3736b6e206 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron. 2004-01-15 06:14:18 +00:00
[email protected] 9ca5b7dc65 Read at EOF should not throw. Bug 224093-ish, r=darin, sr=dbaron 2003-11-18 15:06:03 +00:00
[email protected] 07b419fe78 rs=leaf
Remove XP_OS2_VACPP from the tree
2003-07-22 18:38:01 +00:00
[email protected] 533fbbe365 bug 183156 : replace UCS2 in function/method names with UTF16 and update the
document accordingly. r=jag, sr=alecf
2003-06-23 04:30:57 +00:00
[email protected] bd0cd0dfc7 Add StringBeginsWith, StringEndsWith, and UTF8ToNewUnicode. Move UTF8 handling utilities to separate file. b=131293 r=jst sr=alecf,jag a=asa b=131293 2003-05-21 22:20:27 +00:00
[email protected] 462c8a3080 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
[email protected] 8c37890522 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
[email protected] b5253140df Crash OOM @ startup. r=darin, sr=alec, bug 175663 2002-11-13 21:23:58 +00:00
[email protected] 46ce738546 166917. Clean up xpcom SDK includes. [email protected], [email protected], [email protected] 2002-09-07 17:13:19 +00:00
[email protected] bff663ff77 remove memcpy function from nsCRT, eliminate 2 new nsCRT::memcpy callers
and fix up alighment problems from previous patch, bug 118135, sr=brenda r=dp
2002-01-26 00:04:45 +00:00
[email protected] 21609fd847 fix for bug 121627 - UTF8ConverterStream should not allocate - now that we've exposed ConvertUTF8toUCS2,
use it to do a conversion into the existing unichar buffer
r=dbaron, sr=jst
2002-01-24 23:53:53 +00:00
[email protected] 73e0bc3ed7 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
[email protected] fc237b4aba fix take 2 on bug 114134, crashes when reading utf8 strings from dtds/etc
r=dbaron, sr=jag
when multi-byte characters crossed a buffer boundary, we weren't correctly backing up and instead tried to decode the half-loaded utf8 character... in addition, our new "remainder" count was completely broken - we were adding the old remainder to the new remainder, when in fact we had just consumed the old remainder
2002-01-12 02:38:08 +00:00
[email protected] 5f8494bace dammit why does this break linux?!
backing out my last checkin
2002-01-11 22:44:30 +00:00
[email protected] 20168c2c3e fix for bug 114134 - crash when localizing some strings
when multi-byte characters crossed a buffer boundary, we weren't correctly backing up and instead tried to decode the half-loaded utf8 character... in addition, our new "remainder" count was completely broken - we were adding the old remainder to the new remainder, when in fact we had just consumed the old remainder
r=dbaron, sr=jag
2002-01-11 20:34:11 +00:00
[email protected] 6abfc657e0 Simplify loop in CountValidUTF8Bytes and fix UMR. b=110531 r=jag sr=alecf 2001-12-05 03:49:13 +00:00
[email protected] 5308b9d329 Fix orange by exiting loop when bytes hits aMaxBytes rather than waiting for it to get farther. 2001-12-04 04:22:44 +00:00
[email protected] f49275bd79 fix for bug 110531, r=dougt, jag, sr=darin - moving ConverterInputStream into uconv, and changing the one in XPCOM into an UTF8-only converter 2001-12-04 01:10:43 +00:00
[email protected] 58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
[email protected] c2bcad0b73 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
[email protected] baba14c5c8 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
[email protected] d987947dc7 Standalone xpcom. 2000-05-14 22:46:24 +00:00
[email protected] a7f68d08ca fix bug #36316 2000-05-12 23:09:28 +00:00
[email protected] f9201c7d45 fix bug #36311 2000-05-12 23:05:11 +00:00
[email protected] 25cfcb8e6a # 34082
r= [email protected]
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2000-05-02 22:38:04 +00:00
[email protected] 00296f39f9 Fixed AddRef/Release to use NS_ADDREF/NS_RELEASE. 2000-04-13 09:20:58 +00:00
[email protected] 0cbd1727d3 making string conversions explicit 2000-04-01 00:39:02 +00:00
[email protected] 20621227af updated xPL license boilerplate to v1.1, [email protected],[email protected] 1999-11-06 03:43:54 +00:00
[email protected] 0eb6897d67 Cleaned up, using NS_WITH_SERVICE 1999-09-26 10:05:06 +00:00
[email protected] be98023c60 Fixing build warnings. Step 2: switch to use new method from the interface. 1999-09-01 22:50:50 +00:00
[email protected] 6f62a47cac got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in 1999-08-23 10:14:16 +00:00
[email protected] 02baf7c94e CID not IID! 1999-07-22 07:33:24 +00:00
[email protected] e2ea20873d explicitly define kCharsetConversionManagerCID only in files that need it ... move to canonical scheme for defining and using IIDs and CIDs 1999-07-22 05:25:17 +00:00
[email protected] c961abe092 Removed a compiler warning 1999-07-16 17:40:39 +00:00
[email protected] 6dc8a899c6 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
[email protected] f815337eaf Old patches for non-virtual vs virtual destructors (approved by Troy) 1999-04-25 04:57:38 +00:00
[email protected] 7b9a9ad3ae add prototype to reduce warnings on Macintosh compiler 1999-02-19 16:13:47 +00:00
[email protected] 4b9db979b4 Hacky Unicode converters implementation replaced with the real xpcom thing. 1999-02-03 18:55:10 +00:00
[email protected] 4a8bdce422 change nsCharSetID into nsString type 1999-01-25 16:05:04 +00:00
[email protected] 4aaec0bad1 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
[email protected] f29644da6b added APIs to viewmanager to enable and disable all rendering.
made Refresh() APIs of viewmanager implementation private.
1998-07-24 21:05:50 +00:00
[email protected] 9ea7ca97c9 modified streaming APIs to be what the OJI guys want. 1998-07-23 20:34:01 +00:00
kipp 1210696ab7 Init refcnt properly 1998-05-28 18:38:32 +00:00
kipp 4683c6f4c0 moved to pub 1998-04-13 20:24:54 +00:00