Commit Graph

66 Commits

Author SHA1 Message Date
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Neil Deakin
30201df2b1 Bug 94199, part 3, add GetValue method to nsISupportsKey, r=bsmedberg 2011-11-03 16:39:08 -04:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Michael Wu
45f619abb8 Bug 676192 - Remove kHashEnumerateRemove and make nsHashtableEnumFunc return PRBool, r=bsmedberg 2011-08-22 19:15:54 -07:00
Matheus Kerschbaum
44209e0bdf Bug 678155 - Remove NS_COM. r=bsmedberg 2011-08-18 15:46:39 +02:00
Taras Glek
c55a483d6f Bug 471087. Kill nsIDKey. r=bsmedberg 2009-01-08 21:43:07 +13:00
Arpad Borsos
1b55360c07 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
gerv@gerv.net
c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
darin@meer.net
14e471acbc landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bryner@brianryner.com
73702bb18a Backing out nsHashtable dtor change (bug 229875) - this needs to be virtual. Thanks to bienvenu for pointing out the problem. 2004-02-13 19:04:38 +00:00
bryner@brianryner.com
73c3254bfa Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron. 2004-01-22 01:01:19 +00:00
dbaron@dbaron.org
068e541ecf Include nscore.h instead of nsCom.h. b=226555 r=dougt sr=darin a=asa 2003-11-29 18:56:10 +00:00
jkeiser@netscape.com
ca8cce9772 Templatized hashtable class by bsmedberg@covad.net (bug 180264), r=jkeiser@netscape.com, sr=alecf@netscape.com 2003-04-02 06:53:57 +00:00
dougt@netscape.com
d575ba72ae Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
alecf@netscape.com
36e4c6f02a fix warning - extra comma after enumerator
no reviewers, its a one-character change, pointed out by blizzard
2002-11-16 05:10:27 +00:00
alecf@netscape.com
a0c3cc8d4b fix for bug 177318 - use pldhash for inner hashtable entries to dramatically reduce allocations
r=dougt/sr=brendan
I am watching to see how the performance number change and will back out if the results are nasty
2002-11-16 02:33:49 +00:00
ccarlen@netscape.com
4a496fdca5 Bug 149785 - nsHashTable hides important functionality of PLHashTable. r=brendan@mozilla.org/sr=alecf/a=brendan 2002-07-29 22:48:15 +00:00
badami@netscape.com
4df73f0ce0 Leaking nsCStringKey objects
bug 73308 r=valeski sr=shaver a=brendan patch=tmutreja@netscape.com
2002-03-01 09:28:55 +00:00
alecf@netscape.com
69d32458ce augh, didn't mean to check these in 2001-12-02 23:17:11 +00:00
alecf@netscape.com
589995dd38 ok, back out my ToLowerCase() change, it didn't make any difference 2001-12-02 23:15:31 +00:00
alecf@netscape.com
7995bdbe6c oops, one more try to back out 2001-11-27 23:55:03 +00:00
alecf@netscape.com
5ff2342be0 ack! back these out, weren't meant to land 2001-11-27 23:53:18 +00:00
alecf@netscape.com
b76c3a5bb6 debug stuff only - adding MOZ_COUNT_DTOR/CTOR and changing DEBUG to DEBUG_dougt
(last part r=dougt)
2001-11-27 23:52:05 +00:00
dp@netscape.com
a83e7bcdd0 bug# 105509 inlining nsHashKey::nsHashKey
r=dougt, sr=jband
2001-11-02 04:58:30 +00:00
dougt@netscape.com
aa442a13d5 Adding new hash key. r=darin@netscape.com, sr=brendan@mozilla.org bug=81956 2001-09-28 21:37:23 +00:00
cls@seawood.org
c59b959b20 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 04:18:27 +00:00
brendan@mozilla.org
1ba814d7b6 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
dbaron@fas.harvard.edu
3d2d67a71a Make ns[C]StringKey cooperate better with new string classes (although it doesn't participate in sharing). When created (non-cloned) from a flat string it will be dependent (as it was when created from ns[C]String), but it will copy non-flat strings. b=88411 r=jaggernaut sr=waterson (Complete comment for previous checkin.) 2001-06-29 23:09:38 +00:00
dbaron@fas.harvard.edu
519544fb64 Make ns[C]StringKey cooperate better with new string classes (although it doesn't participate in sharing). When created (non-cloned) from a flat string it will be dependent (as it was when created from ns[C]String), but it will copy non-flat strings. 2001-06-29 23:08:23 +00:00
waterson@netscape.com
1a7614b449 Bug 65908. Reduce nsHashtable default size from 256 to 16 (the minimum that a PL_HashTable will allow). r=kandrot, sr=brendan. 2001-01-19 21:20:52 +00:00
valeski@netscape.com
235a1452ae 32185. r=wan-teh. Fixing hashtable enumeration lossage. 2000-09-01 19:11:24 +00:00
jst@netscape.com
3ba32f670e 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 2000-08-23 17:27:06 +00:00
warren@netscape.com
518d99c551 Added back in nsOpaqueKey, used in nsMemCache. Went back to 37 as the magic number (prime). 2000-08-21 02:37:20 +00:00
warren@netscape.com
faab19500d Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil. 2000-08-20 21:29:10 +00:00
warren@netscape.com
8c6c3d1824 Changes to allow uncopied string keys. Changes to copy string key's null byte. code=jband, r=warren 2000-08-16 00:32:59 +00:00
warren@netscape.com
bc62fc2eda Fixed warnings. 2000-08-10 07:05:13 +00:00
warren@netscape.com
a7ef66cab8 Fixed nscom.h -> nsCom.h 2000-08-10 06:35:34 +00:00
warren@netscape.com
8df9a9bce0 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
warren@netscape.com
bcab95fc2d Fixed declaration of nsHashtableCloneElementFunc to have PR_CALLBACK. 2000-07-28 06:48:32 +00:00
cls@seawood.org
9dd1e7af55 The WS5.0 problem cropped up again so I'm reapplying pavlov's previous fix. 2000-06-14 06:28:13 +00:00
pavlov@netscape.com
d38f1355fa reverting previous checkin to fix workshop5 bustage as it has been fixed elsewhere 2000-06-12 05:34:27 +00:00
pavlov@netscape.com
222b1dd437 include nscore.h 2000-06-10 00:50:48 +00:00
pavlov@netscape.com
5d655c75ae fix ws5 build bustage 2000-06-10 00:31:40 +00:00
inaky.gonzalez@intel.com
0d7bc5437b Fixed nsSupportsHashtable behaviour and API to fix leaks in
nsDirectoryService. Fixes bugs #38606 and #39859.

a=waterson; r=rayw,brendan,warren
2000-06-06 22:06:56 +00:00
mkaply@us.ibm.com
25cfcb8e6a # 34082
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2000-05-02 22:38:04 +00:00
rickg@netscape.com
68a909efcd landing phase 2 to remove deprecated string calls 2000-03-12 11:10:07 +00:00
fur@netscape.com
14aa24df0b 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
1999-11-16 03:10:54 +00:00
dmose@mozilla.org
20621227af updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
jband@netscape.com
4e3c9aeea9 adding enumeration of CLSIDs and ProgIDs using code from Robert Ginda <rginda@ix.netcom.com> 1999-08-09 05:02:25 +00:00