alecf%netscape.com
e2f4a1a1ad
make nsStaticNameTable use PLDHash rather than nsHashtable, to reduce startup allocations from 1315 to 2
...
r=dougt, sr=dveditz
bug 154275
2002-06-26 03:46:39 +00:00
alecf%netscape.com
083f85bb7c
ack! fix check of entries to use PL_DHASH_ENTRY_IS_FREE() from my previous checkin to prevent tree closure tomorrow!
2002-06-26 03:43:43 +00:00
dbaron%fas.harvard.edu
2bf216c9e2
Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
2002-06-26 03:38:55 +00:00
alecf%netscape.com
a454b53bf4
fix for bug 153754 - make nsPersistentProperties (and thus string bundles) use PLDHash, saving some 1100+ allocations at startup.
...
r=dougt, sr=dveditz
2002-06-26 01:33:07 +00:00
dougt%netscape.com
252ea143d4
Fixes 48888 - xpcom flat file backend. r=dp@netscape.com sr=waterson@netscape.com
2002-06-14 21:33:05 +00:00
cbiesinger%web.de
6197948cc3
bug 115473 r=pavlov sr=brendan
...
Remove timer priorities
2002-06-11 20:47:04 +00:00
dougt%netscape.com
4646c51914
Fixes bugs 149745 148918 149715 149730 149754 129959. Cleanup of nsIFile and nsILocalFile interfaces, supporting do_GetInterface in embedding via xcom glue, and general cleanup of shutdown. r=various, sr=shaver@mozilla.org
2002-06-11 19:26:04 +00:00
brendan%mozilla.org
d613f5a321
Ensure a live keyHash *after* multiplying by the irrational (146907, r=dbaron, sr=shaver).
2002-06-05 00:47:38 +00:00
brendan%mozilla.org
fd1773dd5e
Back out troublesome parts of patch for 130544 (147997, r/sr=me).
2002-05-30 07:13:40 +00:00
brendan%mozilla.org
03f7c6d04a
Clean up nsICollection/nsSupportsArray {Append,Remove}Element return type (130544, r=dougt, sr=bienvenu).
2002-05-29 18:08:37 +00:00
dougt%netscape.com
e96df2ad1b
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
2002-05-15 18:55:21 +00:00
dougt%netscape.com
61e6bdb1cd
Use flat strings when constructing string keys. This fixes a few high volume string key constructors. See 135781. r=dp@netscape.com, sr=darin@netscape.com
2002-04-15 22:39:43 +00:00
timeless%mac.com
ee9982a802
Bug 133657 nsISupportsVoid should have/use [noscript] attribute voidPtr data;
...
r=dougt sr=dveditz a=asa
2002-04-04 12:28:22 +00:00
seawood%netscape.com
f9479b8517
Remove xp_core.h & xp_mem.h and all build references to them.
...
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski
2002-03-27 06:02:39 +00:00
dbaron%fas.harvard.edu
92aa754e0a
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
2002-03-24 00:16:18 +00:00
jband%netscape.com
ca148e6fd1
fix bug 125084. Add support for empty arrays in nsIVariant. This is expressed as atype id rather than as a regular array with no elements. Includes changes to xpconnect to support mapping to empty JSArrays, xpconnect tests, and SOAP. Patches are from jcorwin@us.ibm.com and rayw@netscape.com. r=jband sr=brendan a=asa
2002-03-21 23:21:54 +00:00
timeless%mac.com
fc883176bf
Bug 106386 rid source of misspellings
...
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
dougt%netscape.com
be5e52547c
DEBUG_dougt -> DEBUG_dougt_xxx. a=dbaron
2002-03-18 23:40:36 +00:00
brendan%mozilla.org
9cf2b94e8e
Fix JS/PL_DHashTableEnumerate to compress or shrink the table after enumeration using the same logic as ADD and REMOVE use (120953, r=dbaron, sr=shaver, a=asa).
2002-03-14 21:55:08 +00:00
alecf%netscape.com
6f0334c1c1
fix for bug 130135 - remove "virtual" from nsObserverList because it doesn't have virtual methods
...
(saves 4 bytes per list)
r=dougt, sr=darin, a=roc+moz
2002-03-12 15:46:19 +00:00
attinasi%netscape.com
8f12383a8e
Added NS_COM to fix linkage problems. Thanks Chris S~!
2002-03-07 22:38:41 +00:00
darin%netscape.com
026dda9f95
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
2002-03-06 07:48:55 +00:00
timeless%mac.com
301c2ad0df
bug 114166 final cleanup for nsDeque ( comments + whitespace only )
...
r=akkana sr=darin a=asa
2002-03-06 03:21:17 +00:00
nisheeth%netscape.com
fd47a2b589
Fix for bug 125465. r=jag, sr=jband, a=asa. Add AString, ACString, and AUTF8String support to XPCOM's variant data type. Also, add forward declarations of AString and ACString to nsrootidl.idl.
2002-03-05 02:22:02 +00:00
badami%netscape.com
c91edf9e38
Leaking nsCStringKey objects
...
bug 73308 r=valeski sr=shaver a=brendan patch=tmutreja@netscape.com
2002-03-01 09:28:55 +00:00
dp%netscape.com
75ab95a0b8
(again) bug 127941 Fixing leak of bucket memory; memset to 0 only if zeroit is
...
set. r=dougt, sr&a=shaver@mozilla.org
2002-03-01 00:03:58 +00:00
dp%netscape.com
ff27b61ff0
Backing out earlier change. Tree isn't open for checkin yet. Sorry.
2002-02-28 18:36:26 +00:00
dp%netscape.com
fe8cceb3a9
bug 127941 Fixing leak of bucket memory; memset to 0 only if zeroit is
...
set. r=dougt, sr&a=shaver@mozilla.org
2002-02-28 18:30:48 +00:00
cathleen%netscape.com
a3397b670d
backout nsCRT.h change. put back nsCRT::strlen(char* s). tree is burning out of control. I swear it builds on my machine! :-( Will need to evaluate and try later
2002-02-28 05:23:40 +00:00
cathleen%netscape.com
6c4220cfcb
eliminate nsCRT::strlen for char* strings (final part), bug 124536 r=dp sr=brendan a=roc+moz
2002-02-28 04:11:37 +00:00
dougt%netscape.com
de4c2451f4
Adding build SDK support. r=dougt, sr=alecf, submitted by seawood, a=asa
2002-02-25 23:20:01 +00:00
brendan%mozilla.org
3823b68fa9
Sync these mirrored sources with their primaries at js/src/jsdhash.[ch] (see bug 62164, r=shaver, sr=jband).
2002-02-23 10:04:29 +00:00
cathleen%netscape.com
981d3774de
eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan
2002-02-20 06:38:38 +00:00
jkeiser%netscape.com
8c356f549b
C++ wrapper for PLDHashTable (bug 125489), r=alecf@netscape.com, sr=brendan@mozilla.org
2002-02-20 06:08:53 +00:00
timeless%mac.com
51703c5d8f
Bug 114166 rewrite nsDeque
...
r=akkana sr=alecf
rs=alecf for TestDeque.cpp
2002-02-20 03:08:32 +00:00
dp%netscape.com
300c7177e1
bug 125641 Adding id r=dougt sr=sfraser
2002-02-18 22:59:58 +00:00
alecf%netscape.com
789f07f13b
remove a bunch of dead code, and remove NS_COM from a bunch of concrete classes that weren't being used previously
...
r=jag, sr=shaver
2002-02-18 22:57:47 +00:00
bryner%netscape.com
c654010ca3
Fixing a compiler warning (bug 125949). r=bzbarsky, sr=alecf.
2002-02-18 22:42:37 +00:00
mozilla.BenB%bucksch.org
14e66adef7
125881: Has() must return true for existing properties (the key exists), which
...
have a 0 value.
r=dougt, sr=jband
2002-02-17 10:11:25 +00:00
dbaron%fas.harvard.edu
e76aaf24ca
Speed up nsCRT::HashCode(const PRUnichar*) by renaming the version that does UCS-2 to UTF-8 conversion to nsCRT::HashCodeAsUTF8. r=jag sr=jst b=120363
2002-02-16 19:50:32 +00:00
dbaron%fas.harvard.edu
d376f6e5e2
Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag
2002-02-16 16:18:13 +00:00
ducarroz%netscape.com
0be687cc80
Fix bustage (again).
2002-02-12 05:17:18 +00:00
ducarroz%netscape.com
0c93d1cdd9
Fix bustage on Unix system.
2002-02-12 04:34:36 +00:00
ducarroz%netscape.com
e2f4284ede
Fix for bug 100591. We need to replace illegal characters in file name before trying to use it during a file save. R=cavin, law, SR=alecf, mscott
2002-02-12 03:57:39 +00:00
dp%netscape.com
fcca498893
bug 123988 Optimizing timers out when there are no allocations held r=dougt,sr=sfraser
2002-02-08 22:50:40 +00:00
cathleen%netscape.com
31f584b51c
eliminate 24 callers to nsCRT::memmove to use memmove from libC instead. removed nsCRT::memove() bug 118135 r=dp sr=brendan
2002-02-08 01:11:33 +00:00
racham%netscape.com
c5701870fa
Fixing bug 122309. Adding a new routine that can take a string and parse it on a delimiter to add elements to the nsCStringArray. r=dougt, sr=jag
2002-02-05 08:35:28 +00:00
cathleen%netscape.com
bf3e08eb5f
eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
2002-02-05 01:41:13 +00:00
bryner%netscape.com
2f31b61684
Fixing some warnings in xpcom. Bug 118377, r=hwaara, sr=shaver.
2002-02-03 07:05:10 +00:00
cathleen%netscape.com
370959ffe2
eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson
2002-01-30 02:55:57 +00:00
cathleen%netscape.com
8dd5a02295
eliminate nsCRT::memcmp and all callers to use memcmp instead, bug 118135 r=dp sr=brendan
2002-01-29 21:30:32 +00:00
dougt%netscape.com
894fdcfaaf
1. Converts callers of nsIComponentManagerObsolete to use
...
nsIComponentRegistrar.
2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.
3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.
4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.
5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.
6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl. in
this way, the same base class can support both old style and new style
enumerations.
7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer. Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.
Bug 115853. r=dp@netscape.com , sr=rpotts@netscape.com
2002-01-29 21:22:13 +00:00
cathleen%netscape.com
2431b85ca9
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
2002-01-26 00:04:45 +00:00
dp%netscape.com
27439a01f6
Adding nsRecyclingAllocator.h for mac export
2002-01-24 08:06:45 +00:00
dp%netscape.com
875e6a305f
bug 118061 Enabling nsRecyclingAllocator r=dveditz sr=sfraser
2002-01-24 06:48:58 +00:00
dp%netscape.com
10f15d75f3
bug 118061 First version of nsRecyclingAllocator r=dveditz sr=sfraser
2002-01-24 06:41:01 +00:00
jst%netscape.com
15825cf675
Fixing part of bug 118933. Speeding up the global resolve hook in the DOM JS helpers by eliminating the use of nsHashtable and nsStringKey in favor of pldhash. Adding global HashString(const nsA[C]String&) functions that calculate a hash code from a nsA[C]String, code by dbaron@fas.harward.edu. Also checking in brendan@mozilla.org's fix for a type error in the jsdhash/pldhash API found while working on this. sr=brendan@mozilla.org, r=peterv@netscape.com
2002-01-17 04:08:14 +00:00
blythe%netscape.com
f41a5d5afe
proactive change to avoid MAC bustage from last checkin
2002-01-15 23:20:35 +00:00
blythe%netscape.com
3a5aa3eab9
Fix bug 107270
...
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2002-01-15 22:43:37 +00:00
dougt%netscape.com
dc4103e28c
Null protecting hashing code. 96322. r=dp@netscape.com sr=alecf@netscape.com.
2002-01-14 20:10:48 +00:00
cathleen%netscape.com
c2d19ad82a
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
2002-01-12 03:18:55 +00:00
jband%netscape.com
61cea3f9bb
trivial fix to allow freeing a variant array type that we do in fact create. rs=vidur
2002-01-10 23:55:32 +00:00
jdunn%netscape.com
02f1ef38dd
AIX's new compiler, xlC5.x, doesn't allow the use of "friend" to declare
...
a function prototype. So we have to decare the function and then
declare it a friend. When Default arguments are used, they need to
be specified in the function prototype and NOT in the friend declaration.
# 43311
r=dbaron@fas.harvard.edu
2002-01-10 14:16:05 +00:00
jdunn%netscape.com
6cc4867fd5
trying an AIX ifdef to see if this is our startup slowdown problem
...
a=waterson@netscape.com
# 112824
2002-01-04 15:03:43 +00:00
timeless%mac.com
55e4150c05
Bug 116793 Mismatched Allocator/Deallocator in nsSupportsIDImpl::ToString
...
r=waterson sr=jst
2002-01-03 23:47:55 +00:00
jdunn%netscape.com
53ac6cbe5c
AIX requires a constructor for the nsPermanentAtom since this relies on
...
"new replacement"
r=dbaron@fas.harvard.edu
sr=shaver@mozilla.org
# 112824
2002-01-03 15:57:59 +00:00
seawood%netscape.com
34570ae95b
Moving variable declaration to beginning of code block for freebsd builds.
...
Bug #112987 r=cls sr=brendan
2001-12-31 09:18:16 +00:00
rjesup%wgate.com
405c0ed844
Remove nsVoidArray:: from method defs
2001-12-21 02:48:02 +00:00
rjesup%wgate.com
de150d78bc
Bug 96108: Fix Win32/opt horkage (SizeOf()) in nsSmallVoidArray should be
...
#if dEBUG)
2001-12-21 02:06:03 +00:00
rjesup%wgate.com
a2ef9aa538
Bug 96108: Additional assertions requested by jst. sr=jst
2001-12-21 01:13:17 +00:00
rjesup%wgate.com
2212861db9
Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
...
assertions for bad voidarray indexes. r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
waterson%netscape.com
e86eebd89d
Remember to #include <new.h>!
2001-12-21 00:51:43 +00:00
waterson%netscape.com
2b0281019d
Correct comments; thanks for pointing this out, dp!
2001-12-21 00:35:25 +00:00
jaggernaut%netscape.com
7936b26225
Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com
6ab111155d
Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
2001-12-16 11:58:03 +00:00
seawood%netscape.com
87cae106c8
Add win32 support to xpcom Makefile.ins
...
Bug #58981 r=bryner
2001-12-09 07:05:12 +00:00
akkana%netscape.com
59c32a5869
Hmm, let's try that spelling correction again
2001-12-08 06:59:49 +00:00
akkana%netscape.com
bffdb01aa5
Spelling correction. Noticed by and r=timeless
2001-12-08 06:32:59 +00:00
dveditz%netscape.com
957075e0b8
bug 102690 patch for float formatting cleanup from Daniele Nicolodi <daniele@grinta.net>, r=me, sr=jband
2001-12-07 01:50:31 +00:00
dp%netscape.com
006c19bdcf
bug 112470 Getting timeline ON for debug builds by default.
...
When running, NS_TIMELINE_ENABLE is required for seeing the timeline
output. r=cathleen, sr=alecf
2001-12-04 21:14:21 +00:00
dbaron%fas.harvard.edu
72a804f1e8
Fix massive numbers of threadsafety assertions by re-adding NS_INIT_ISUPPORTS, to make builds usable again. b=110531 sr=waterson
2001-12-04 05:26:46 +00:00
alecf%netscape.com
a9418e11c9
fix for bug 110531, r=dougt, jag, sr=darin - moving ConverterInputStream into uconv, and changing the one in XPCOM into an UTF8-only converter
2001-12-04 01:10:43 +00:00
bryner%netscape.com
45d07c3867
Backing out new code alecf accidentely checked in, fixing bustage.
2001-12-03 00:37:35 +00:00
alecf%netscape.com
9a165b9999
augh, didn't mean to check these in
2001-12-02 23:17:11 +00:00
alecf%netscape.com
b1110a867c
ok, back out my ToLowerCase() change, it didn't make any difference
2001-12-02 23:15:31 +00:00
alecf%netscape.com
4caf5d6887
performance test - just to see if nsString.ToLowerCase() is faster than ToLowerCase()
...
no reviewer, will back out after one or two tinderbox cycles
2001-12-02 19:06:02 +00:00
alecf%netscape.com
2e54e882f4
just removing some dead code that blake spotted, followup to bug 110226
2001-11-29 00:07:42 +00:00
alecf%netscape.com
0487b67063
notify observers in reverse order, so that if a observer removes itself when it gets notified, we don't forget to notify the next guy
...
r=dougt, sr=bienvenu bug 110226
2001-11-28 02:48:10 +00:00
alecf%netscape.com
39387d6c7c
oops, one more try to back out
2001-11-27 23:55:03 +00:00
alecf%netscape.com
5ae11bc102
ack! back these out, weren't meant to land
2001-11-27 23:53:18 +00:00
alecf%netscape.com
72db545a76
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
alecf%netscape.com
b54ba5fc69
first part of fix for bug 112209, making nsStr private by switching nsStaticNameTable over to nsAFlatString. r=dbaron, sr=blake
2001-11-27 21:13:53 +00:00
dp%netscape.com
a2b40eee12
int g_timelineDisabled -> PRBool gTimelineDisabled (review comments for previous version) r=sgehani,sr=sfraser
2001-11-27 01:16:27 +00:00
dp%netscape.com
a751ce4ca8
NS_TIMELINE_MARK_FUNCTION1() and NS_TIMELINE_DISABLE. For timeline builds only. r/sr=sfraser
2001-11-27 00:54:57 +00:00
dougt%netscape.com
edaea665a4
fixing comment in idl. bug 111518
2001-11-23 15:11:37 +00:00
seawood%netscape.com
d8927fcc61
Rename 'install' build phase to 'libs'.
...
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
dp%netscape.com
e237748e04
Function timers. r=sgehani, sr=sfraser
2001-11-20 21:37:27 +00:00
sgehani%netscape.com
44a0d2c157
Implemented resetTimer().
...
b=106551; r=dp; sr=sfraser
2001-11-20 03:33:11 +00:00
timeless%mac.com
dfa8594725
Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
...
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
dp%netscape.com
96ec2963de
Implementing NS_TIMELINE_MARK_TIMER1 that prints an additional string
...
along with the timer mark. r=sgehani, sr=sfraser
2001-11-17 20:20:25 +00:00