25 Commits

Author SHA1 Message Date
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
rickg%netscape.com
65135726ce landing phase 2 to remove deprecated string calls
git-svn-id: svn://10.0.0.236/trunk@62718 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 11:10:07 +00:00
dp%netscape.com
aa94e40f1a Using NS_REINTERPERT_CAST instead of NS_STATIC_CAST r=scc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54045 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 07:15:23 +00:00
warren%netscape.com
eff6e0fd5e Added nsStr (nsString, nsString2) code for counting strings that have been seen. r=rickg
git-svn-id: svn://10.0.0.236/trunk@54036 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 04:22:26 +00:00
fur%netscape.com
eee2215bda In support of bug #8305 (Cache implementation), added new type of hash-table
key, an array of opaque data, not owned by the key. r: dougt


git-svn-id: svn://10.0.0.236/trunk@53609 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 03:10:54 +00:00
sfraser%netscape.com
211c4f5a58 Part of fix for 18315 -- allow nsSupportsHashTable to contain null entries, which meant changing NS_{ADDREF,RELEASE} to NS_IF_{ADDREF,RELEASE} in a bunch of places. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@53229 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 20:41:54 +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
shaver%netscape.com
2fa148d7c7 Make nsSupportsHashtable not crash when you try to Get or Remove an item
not in the table already.


git-svn-id: svn://10.0.0.236/trunk@45675 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 07:01:53 +00:00
jband%netscape.com
5630b79f6c adding enumeration of CLSIDs and ProgIDs using code from Robert Ginda <rginda@ix.netcom.com>
git-svn-id: svn://10.0.0.236/trunk@42738 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 05:02:25 +00:00
dp%netscape.com
795fd0002d Adding RemoveAndDelete() to nsObjectHashtable
git-svn-id: svn://10.0.0.236/trunk@41877 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 23:55:03 +00:00
dp%netscape.com
3d8399c70a Getting nsHashtable and nsObjectHashtable Reset()s working together.
git-svn-id: svn://10.0.0.236/trunk@41680 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 05:50:13 +00:00
dp%netscape.com
22b18d28ec Adding nsHashtable::Reset(). Changing nsObjectHashtable destructor to use Reset instead of enumerate. This will cause hash entires to be removed from the hash table as values in the hash table are released.
git-svn-id: svn://10.0.0.236/trunk@41679 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 05:41:54 +00:00
warren%netscape.com
3295a722e9 Added nsObjectHashtable (for automatically copying and destroying elements). Also nsSupportsHashtable for refcounted elements.
git-svn-id: svn://10.0.0.236/trunk@41449 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 07:56:28 +00:00
tbogard%aol.net
8af272ee07 Changed hashing to not hash every letter of strings that are greater than 16 characters in length.
git-svn-id: svn://10.0.0.236/trunk@40825 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 05:19:33 +00:00
tbogard%aol.net
0562346fa7 Changed nsCStringKey to nsStringKey. This new key now has the ability to hash on PRUnichar* strings as well as char* strings.
git-svn-id: svn://10.0.0.236/trunk@40584 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 02:11:04 +00:00
dp%netscape.com
f91b8f9f95 Thread Safe nsHashtable (on demand only)
git-svn-id: svn://10.0.0.236/trunk@25609 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 08:15:39 +00:00
dp%netscape.com
c8ba1ff910 Patch for unsigned vs signed warnings. Thanks to <bruce@cybersight.com>
git-svn-id: svn://10.0.0.236/trunk@24620 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 19:26:32 +00:00
warren%netscape.com
24f7a16a93 Fix for broken linux compiler.
git-svn-id: svn://10.0.0.236/trunk@24424 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 06:18:08 +00:00
warren%netscape.com
be9f0afe1a Added nsHashtable::Exists. Renamed nsProgIDKey to nsCStringKey (what it is).
git-svn-id: svn://10.0.0.236/trunk@24416 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 05:51:49 +00:00
warren%netscape.com
6769b3f0ef Implemented virtuals in cpp file to try to avoid linux pedantic error.
git-svn-id: svn://10.0.0.236/trunk@23332 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 14:09:11 +00:00
vidur%netscape.com
d772b13a57 Added a Reset method to nsHashtable
git-svn-id: svn://10.0.0.236/trunk@19534 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:35:11 +00:00
warren%netscape.com
24b7d5e489 Added closure argument to nsHashtable::Enumerate.
git-svn-id: svn://10.0.0.236/trunk@8910 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:16:47 +00:00
raman
36e3ae7e52 Added the clone method. Approved by warren
git-svn-id: svn://10.0.0.236/trunk@2858 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:11:06 +00:00
hardts
217d4a9900 landing XPCOM_BRANCH
git-svn-id: svn://10.0.0.236/trunk@2218 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 21:56:30 +00:00
ltabb
8ed5afe62c Free the lizard
git-svn-id: svn://10.0.0.236/trunk@10 18797224-902f-48f8-a5cc-f745e15eee43
1998-03-28 02:44:41 +00:00