Shriram Kunchanapalli
56634dd6f6
Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt
2012-05-30 18:43:39 +01:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ryan VanderMeulen
1becc7707c
Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst
2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
349ef2e799
Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt
2012-02-18 19:17:01 +05:30
Justin Lebar
8dfd539864
Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
2012-03-12 18:53:18 -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
Blake Kaplan
99df9e5472
Bug 520891 - nsHashtable::Put returns null on both failure and when we're adding a new entry. Assume the latter since it's correct more of the time. r=bsmedberg
2009-10-07 14:00:01 -07:00
10bba29d57
Bug 505886 nsHashtable::Exists doesn't unlock mLock if !mHashtable.ops
...
r=bsmedberg
2009-08-12 11:49:53 +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
1fd1fd3713
Bug 398435 - "PRBool misuse bugs in xpcom/" [p=taras r=bsmedberg a1.9=sayrer]
2007-10-19 16:26:52 -07:00
96a3ab5691
Backout taras's check-in for bug 398435 to help find Tp regression.
2007-10-16 17:31:01 -07:00
84afaf50ee
Bug 398435. Fix prbool bugs in xpcom. r=bsmedberg a=sayrer
2007-10-15 16:40:09 -07:00
98de634631
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
0f08b75950
Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
2007-03-27 08:33:38 -07:00
dbaron@dbaron.org
96634178f2
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
2006-04-05 00:00:44 +00:00
gerv@gerv.net
c0cd46fc51
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
alecf@netscape.com
80b5831587
fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser
2003-04-04 15:10:37 +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
rginda@netscape.com
0f5a3b06b8
bug 170585, Scriptable streams are broken; r=darinf, sr=dougt
...
add factories so js can create the nsIBinary*Stream objects,
also adds read/writeByteArray functions
2003-03-13 21:23:18 +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
alecf@netscape.com
3526ba22e3
take two at fixing bug 177401 - convert nsIBinaryStream over to using nsAString/nsACString for string values, to speed up fastload
...
sr=darin, r=dougt
(the previous checkin had a typo which disabled fastload entirely!)
2002-11-14 18:16:31 +00:00
alecf@netscape.com
2c98274d76
argh, back out my last checkin because Ts went UP not down!
2002-11-09 01:31:32 +00:00
alecf@netscape.com
7f928a0114
fix for bug 177401 - use nsAString& classes instead of wstring in nsIBinaryInputStream, to speed up fastload startup
...
sr=darin, r=dougt
2002-11-08 23:30:53 +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
dougt@netscape.com
00d8c29c64
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
2002-05-15 18:55:21 +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
cathleen@netscape.com
c63437dfa3
eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan
2002-02-20 06:38:38 +00:00
cathleen@netscape.com
d40cfa308f
eliminate nsCRT::memcmp and all callers to use memcmp instead, bug 118135 r=dp sr=brendan
2002-01-29 21:30:32 +00:00
cathleen@netscape.com
73e0bc3ed7
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
2002-01-12 03:18: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
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
brendan@mozilla.org
aaf0acbeb3
Fix ownership initializer merge botch (93079, dbaron's patch, sr=shaver, r=me).
2001-08-01 22:34:42 +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
scc@mozilla.org
4e56e9386c
landing string branch; see bug #73786
2001-04-02 19:40:52 +00:00
disttsc@bart.nl
e9399ed474
Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
2001-03-02 09:26:57 +00:00
dbaron@fas.harvard.edu
15267f2b5c
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
2001-01-27 23:06:33 +00:00
scc@mozilla.org
3922635dbb
if you want a pointer to the characters, you're going to have to |.get()| it
2000-09-13 02:56: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