jst%netscape.com
d2bf33af2a
Fixing blocker bug 106527 (as part of bug 69468), allow creation of atoms for empty strings but don't crash when creating atoms for strings that have no internal buffer. r=dbaron@netscape.com, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@106203 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 23:36:58 +00:00
jst%netscape.com
51e4831f64
Fixing bug 69468. Finally adding support for string nullness to XPConnect. r=jaggernaut@netscape.com, shaver@mozilla.org, sr=jband@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@106148 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 07:15:06 +00:00
dbaron%fas.harvard.edu
85c206679a
Reduce the performance cost of (threadsafely) refcounting many atoms by creating a second implementation of nsIAtom (derived from the first) that does not refcount and gets destroyed at XPCOM shutdown. Normal atoms are converted to permanent ones without loss of pointer identity when a permanent atom is requested and a normal one already exists. b=92141 r=waterson sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@105889 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 23:19:07 +00:00
dbaron%fas.harvard.edu
1382ac90eb
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@105468 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu
7bb7b59a69
Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@105460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:53:44 +00:00
rjesup%wgate.com
0eab7b7d6e
Bug 103330: Use Assign() instead of SetLength(0); Append(). r=jag, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@104814 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:07:04 +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
waterson%netscape.com
690766cf8a
Bug 95296. Use nsCRT::HashCode() instead of bad lossy slow hash routine. sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@101178 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 03:24:45 +00:00
jst%netscape.com
535c86019d
scc checking in from jst's account. bug #75220 : sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances.
...
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:27:30 +00:00
scc%mozilla.org
7b06841b03
landing string branch; see bug #73786
...
git-svn-id: svn://10.0.0.236/trunk@91049 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 19:40:52 +00:00
disttsc%bart.nl
4362910022
Fix bad nsPromiseFlatString usage in nsAtomTable, bug=71759, r=bryner, sr=shaver
...
git-svn-id: svn://10.0.0.236/trunk@89636 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:41:08 +00:00
sspitzer%netscape.com
becfeef73a
fix for #58238 . sr=bienvenu. fix crash when growing the hash table
...
that contained the list of atoms. see bug report for all the details.
thanks to bienvenu, scc, brendan, and hyatt for the help.
git-svn-id: svn://10.0.0.236/trunk@83789 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 19:58:20 +00:00
warren%netscape.com
0605461450
Bug 47207 - removing printf / logging changes. Sticking in big toe. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81858 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 06:18:39 +00:00
scc%mozilla.org
fe86dd230b
bug #49817 : fix |normalize_forward|, |normalize_backward|; make |Begin(Read|Writ)ing| call |normalize_forward|; pass iterators by reference. r=mjudge
...
git-svn-id: svn://10.0.0.236/trunk@77990 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 04:10:44 +00:00
jst%netscape.com
0355b8a4c9
Fixing AIX and SunOS 5.7 bustage. r=scc&vidur
...
git-svn-id: svn://10.0.0.236/trunk@77119 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 22:17:25 +00:00
jst%netscape.com
780a3651df
Attempting to fix AIX and OS2 bustage, code written by scc, r=jst
...
git-svn-id: svn://10.0.0.236/trunk@76984 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 23:36:58 +00:00
jst%netscape.com
7e0575bfee
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
...
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
warren%netscape.com
895569159c
Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil.
...
git-svn-id: svn://10.0.0.236/trunk@76761 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 21:29:10 +00:00
warren%netscape.com
e5706a7236
Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +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
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
sfraser%netscape.com
6f132223fd
Bump up the intial hash table size in a bunch of places to avoid resizing the hash later. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@63690 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:48 +00:00
warren%netscape.com
d100457780
Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
...
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
scc%netscape.com
6c898aeb09
bug #25621 : shouldn't add a |NULL| atom to the hashtable. r=beard
...
git-svn-id: svn://10.0.0.236/trunk@60411 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:59:55 +00:00
scc%netscape.com
70061e13c0
bug #25621 : didn't check for null before |AddRef()|. Converted |NS_ADDREF|-->|NS_IF_ADDREF|. No code review.
...
git-svn-id: svn://10.0.0.236/trunk@59990 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 10:05:14 +00:00
warren%netscape.com
7a58577c40
Fixed indentation.
...
git-svn-id: svn://10.0.0.236/trunk@54053 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 07:30:26 +00:00
warren%netscape.com
aeadc2d08d
Changed ifdefs to this stuff is off for debug builds too.
...
git-svn-id: svn://10.0.0.236/trunk@54052 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 07:28:45 +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
kipp%netscape.com
e18af2d0ee
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
...
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
warren%netscape.com
c9fbdb8075
Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
...
git-svn-id: svn://10.0.0.236/trunk@50188 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:49:06 +00:00
kipp%netscape.com
ebce0e90ac
Renamed the ctor/dtor counting macros to make more sense
...
git-svn-id: svn://10.0.0.236/trunk@49840 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 14:54:05 +00:00
kipp%netscape.com
0b1c7162d6
Allow atom table to be purged during shtudown
...
git-svn-id: svn://10.0.0.236/trunk@49492 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:40:00 +00:00
dougt%netscape.com
baeab23036
Changes nsIAtom iterface to return a shared (non-allocated) wstring when
...
GetUnicode() is called. (thanks waterson, jband)
Also fixing 12237. (thanks jband).
git-svn-id: svn://10.0.0.236/trunk@45945 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 22:21:29 +00:00
kipp%netscape.com
cf007b6ca2
Reworked sizeof api's to be much more useful; updated implementations to match
...
git-svn-id: svn://10.0.0.236/trunk@45272 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 03:04:37 +00:00
dougt%netscape.com
3d0bb2d6e1
Adding a comment to remind ourselves that at one time these were const.
...
git-svn-id: svn://10.0.0.236/trunk@44219 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 01:14:44 +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
dougt%netscape.com
6c0494af59
xpild-ing nsIAtom. Now nsIAtom is xpcom compliant.
...
git-svn-id: svn://10.0.0.236/trunk@43975 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 07:07:00 +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
kipp%netscape.com
b76038d16c
Use proper new operator
...
git-svn-id: svn://10.0.0.236/trunk@22851 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:33:57 +00:00
warren%netscape.com
be8fdbef0a
Fixed unsigned problems.
...
git-svn-id: svn://10.0.0.236/trunk@19913 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 03:56:36 +00:00
peterl%netscape.com
65f20a2d5a
changed HashCode to HashValue and fixed return type
...
git-svn-id: svn://10.0.0.236/trunk@9082 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 01:59:30 +00:00
kipp
bc4023da9b
Added SizeOf method
...
git-svn-id: svn://10.0.0.236/trunk@3380 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:38:36 +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