cathleen%netscape.com
3fcee4d2a1
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
git-svn-id: svn://10.0.0.236/trunk@112913 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 00:04:45 +00:00
alecf%netscape.com
496db28aa1
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
git-svn-id: svn://10.0.0.236/trunk@112772 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 23:53:53 +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
alecf%netscape.com
de696ad435
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
git-svn-id: svn://10.0.0.236/trunk@112010 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 02:38:08 +00:00
alecf%netscape.com
1768676137
dammit why does this break linux?!
...
backing out my last checkin
git-svn-id: svn://10.0.0.236/trunk@111972 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 22:44:30 +00:00
alecf%netscape.com
a6159e518f
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
git-svn-id: svn://10.0.0.236/trunk@111965 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 20:34:11 +00:00
dbaron%fas.harvard.edu
f0d1a6f6ce
Simplify loop in CountValidUTF8Bytes and fix UMR. b=110531 r=jag sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@109717 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 03:49:13 +00:00
dbaron%fas.harvard.edu
cc6399b4d5
Fix orange by exiting loop when bytes hits aMaxBytes rather than waiting for it to get farther.
...
git-svn-id: svn://10.0.0.236/trunk@109610 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 04:22:44 +00:00
alecf%netscape.com
728ab648ca
fix for bug 110531, r=dougt, jag, sr=darin - moving ConverterInputStream into uconv, and changing the one in XPCOM into an UTF8-only converter
...
git-svn-id: svn://10.0.0.236/trunk@109591 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 01:10:43 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +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
jaggernaut%netscape.com
51b17b5bf0
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 :-)
git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
dp%netscape.com
4bff050def
Standalone xpcom.
...
git-svn-id: svn://10.0.0.236/trunk@69686 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 22:46:24 +00:00
scc%netscape.com
be376b8fd8
fix bug #36316
...
git-svn-id: svn://10.0.0.236/trunk@69472 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:09:28 +00:00
scc%netscape.com
9e801c011c
fix bug #36311
...
git-svn-id: svn://10.0.0.236/trunk@69471 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:05:11 +00:00
mkaply%us.ibm.com
f32dd26a1b
# 34082
...
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
git-svn-id: svn://10.0.0.236/trunk@67931 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:38:04 +00:00
warren%netscape.com
298c244142
Fixed AddRef/Release to use NS_ADDREF/NS_RELEASE.
...
git-svn-id: svn://10.0.0.236/trunk@65801 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 09:20:58 +00:00
scc%netscape.com
28db414fa4
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@64827 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:39:02 +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
warren%netscape.com
e057760aeb
Cleaned up, using NS_WITH_SERVICE
...
git-svn-id: svn://10.0.0.236/trunk@49093 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-26 10:05:06 +00:00
cata%netscape.com
82b73ce0cc
Fixing build warnings. Step 2: switch to use new method from the interface.
...
git-svn-id: svn://10.0.0.236/trunk@45546 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 22:50:50 +00:00
scc%netscape.com
56d5ad0b43
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
...
git-svn-id: svn://10.0.0.236/trunk@44139 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 10:14:16 +00:00
waterson%netscape.com
438ffe509a
CID not IID!
...
git-svn-id: svn://10.0.0.236/trunk@40635 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 07:33:24 +00:00
scc%netscape.com
b498e2909d
explicitly define kCharsetConversionManagerCID only in files that need it ... move to canonical scheme for defining and using IIDs and CIDs
...
git-svn-id: svn://10.0.0.236/trunk@40614 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 05:25:17 +00:00
kipp%netscape.com
5703a15016
Removed a compiler warning
...
git-svn-id: svn://10.0.0.236/trunk@39709 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 17:40:39 +00:00
dp%netscape.com
befa259a88
Landing xpcom20/21 branch.
...
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
bruce%cybersight.com
c558b49f30
Old patches for non-virtual vs virtual destructors (approved by Troy)
...
git-svn-id: svn://10.0.0.236/trunk@29104 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 04:57:38 +00:00
brade%netscape.com
6805ba51ec
add prototype to reduce warnings on Macintosh compiler
...
git-svn-id: svn://10.0.0.236/trunk@21310 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 16:13:47 +00:00
cata%netscape.com
94c1fefbf7
Hacky Unicode converters implementation replaced with the real xpcom thing.
...
git-svn-id: svn://10.0.0.236/trunk@19518 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:55:10 +00:00
ftang%netscape.com
48e0a7b1ab
change nsCharSetID into nsString type
...
git-svn-id: svn://10.0.0.236/trunk@18491 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 16:05:04 +00:00
warren%netscape.com
5f54c1af03
Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
...
git-svn-id: svn://10.0.0.236/trunk@16495 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:40:20 +00:00
michaelp%netscape.com
b8cc27a234
added APIs to viewmanager to enable and disable all rendering.
...
made Refresh() APIs of viewmanager implementation private.
git-svn-id: svn://10.0.0.236/trunk@6417 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:05:50 +00:00
michaelp%netscape.com
8afa74e8ef
modified streaming APIs to be what the OJI guys want.
...
git-svn-id: svn://10.0.0.236/trunk@6302 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:34:01 +00:00
kipp
e5a638c35c
Init refcnt properly
...
git-svn-id: svn://10.0.0.236/trunk@2516 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:38:32 +00:00
kipp
fb1503758e
moved to pub
...
git-svn-id: svn://10.0.0.236/trunk@165 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 20:24:54 +00:00