1127 Commits

Author SHA1 Message Date
ducarroz%netscape.com
a4083ed36b Fix bustage (again).
git-svn-id: svn://10.0.0.236/trunk@114255 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 05:17:18 +00:00
ducarroz%netscape.com
ab1766e393 Fix bustage on Unix system.
git-svn-id: svn://10.0.0.236/trunk@114250 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:34:36 +00:00
ducarroz%netscape.com
8acba62b90 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
git-svn-id: svn://10.0.0.236/trunk@114244 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 03:57:39 +00:00
dp%netscape.com
3e795945ae bug 123988 Optimizing timers out when there are no allocations held r=dougt,sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@114076 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:50:40 +00:00
cathleen%netscape.com
184587ade7 eliminate 24 callers to nsCRT::memmove to use memmove from libC instead. removed nsCRT::memove() bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113965 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:11:33 +00:00
racham%netscape.com
f17221e5ab 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
git-svn-id: svn://10.0.0.236/trunk@113693 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 08:35:28 +00:00
cathleen%netscape.com
ec77313291 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113659 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:41:13 +00:00
bryner%netscape.com
632ac8da85 Fixing some warnings in xpcom. Bug 118377, r=hwaara, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@113571 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 07:05:10 +00:00
cathleen%netscape.com
dd8ebc5bd1 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113183 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:55:57 +00:00
cathleen%netscape.com
3ae7a2346b eliminate nsCRT::memcmp and all callers to use memcmp instead, bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113144 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:30:32 +00:00
dougt%netscape.com
011f9b10e5 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


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
cathleen%netscape.com
3fcee4d2a1 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


git-svn-id: svn://10.0.0.236/trunk@112913 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 00:04:45 +00:00
dp%netscape.com
e2ecc272e6 Adding nsRecyclingAllocator.h for mac export
git-svn-id: svn://10.0.0.236/trunk@112675 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 08:06:45 +00:00
dp%netscape.com
447c430e80 bug 118061 Enabling nsRecyclingAllocator r=dveditz sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@112668 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 06:48:58 +00:00
dp%netscape.com
09f8fb49b8 bug 118061 First version of nsRecyclingAllocator r=dveditz sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@112667 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 06:41:01 +00:00
jst%netscape.com
2337395ba4 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
git-svn-id: svn://10.0.0.236/trunk@112375 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-17 04:08:14 +00:00
blythe%netscape.com
fd1d92a93d proactive change to avoid MAC bustage from last checkin
git-svn-id: svn://10.0.0.236/trunk@112221 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 23:20:35 +00:00
blythe%netscape.com
8f002dba27 Fix bug 107270
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@112202 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:43:37 +00:00
dougt%netscape.com
31a6612b88 Null protecting hashing code. 96322. r=dp@netscape.com sr=alecf@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@112083 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 20:10:48 +00:00
cathleen%netscape.com
ea31156ed0 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
jband%netscape.com
c2d17c7692 trivial fix to allow freeing a variant array type that we do in fact create. rs=vidur
git-svn-id: svn://10.0.0.236/trunk@111889 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 23:55:32 +00:00
jdunn%netscape.com
01a246e76f 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


git-svn-id: svn://10.0.0.236/trunk@111825 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:16:05 +00:00
jdunn%netscape.com
be8b031465 trying an AIX ifdef to see if this is our startup slowdown problem
a=waterson@netscape.com
# 112824


git-svn-id: svn://10.0.0.236/trunk@111358 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 15:03:43 +00:00
timeless%mac.com
344a6cf3f9 Bug 116793 Mismatched Allocator/Deallocator in nsSupportsIDImpl::ToString
r=waterson sr=jst


git-svn-id: svn://10.0.0.236/trunk@111330 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 23:47:55 +00:00
jdunn%netscape.com
77a48bf25c AIX requires a constructor for the nsPermanentAtom since this relies on
"new replacement"

r=dbaron@fas.harvard.edu
sr=shaver@mozilla.org
# 112824


git-svn-id: svn://10.0.0.236/trunk@111307 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 15:57:59 +00:00
seawood%netscape.com
03742b4f4f Moving variable declaration to beginning of code block for freebsd builds.
Bug #112987 r=cls sr=brendan


git-svn-id: svn://10.0.0.236/trunk@111192 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-31 09:18:16 +00:00
rjesup%wgate.com
bf2f3da926 Remove nsVoidArray:: from method defs
git-svn-id: svn://10.0.0.236/trunk@110952 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 02:48:02 +00:00
rjesup%wgate.com
6c24e1ce1c Bug 96108: Fix Win32/opt horkage (SizeOf()) in nsSmallVoidArray should be
#if dEBUG)


git-svn-id: svn://10.0.0.236/trunk@110947 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 02:06:03 +00:00
rjesup%wgate.com
66b1ede0dc Bug 96108: Additional assertions requested by jst. sr=jst
git-svn-id: svn://10.0.0.236/trunk@110939 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:13:17 +00:00
rjesup%wgate.com
15d98882e8 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
waterson%netscape.com
ea2f7885e1 Remember to #include <new.h>!
git-svn-id: svn://10.0.0.236/trunk@110937 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 00:51:43 +00:00
waterson%netscape.com
464bb60d1f Correct comments; thanks for pointing this out, dp!
git-svn-id: svn://10.0.0.236/trunk@110935 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 00:35:25 +00:00
jaggernaut%netscape.com
576ec93128 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
seawood%netscape.com
88b23adbf4 Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner


git-svn-id: svn://10.0.0.236/trunk@110113 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-09 07:05:12 +00:00
akkana%netscape.com
96b83c9943 Hmm, let's try that spelling correction again
git-svn-id: svn://10.0.0.236/trunk@110074 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 06:59:49 +00:00
akkana%netscape.com
e79bde5021 Spelling correction. Noticed by and r=timeless
git-svn-id: svn://10.0.0.236/trunk@110073 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 06:32:59 +00:00
dveditz%netscape.com
5250e26b16 bug 102690 patch for float formatting cleanup from Daniele Nicolodi <daniele@grinta.net>, r=me, sr=jband
git-svn-id: svn://10.0.0.236/trunk@109947 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:50:31 +00:00
dp%netscape.com
55ff867745 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


git-svn-id: svn://10.0.0.236/trunk@109655 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 21:14:21 +00:00
dbaron%fas.harvard.edu
5797bffb8a Fix massive numbers of threadsafety assertions by re-adding NS_INIT_ISUPPORTS, to make builds usable again. b=110531 sr=waterson
git-svn-id: svn://10.0.0.236/trunk@109616 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 05:26:46 +00:00
alecf%netscape.com
728ab648ca fix for bug 110531, r=dougt, jag, sr=darin - moving ConverterInputStream into uconv, and changing the one in XPCOM into an UTF8-only converter
git-svn-id: svn://10.0.0.236/trunk@109591 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 01:10:43 +00:00
bryner%netscape.com
b09257b93a Backing out new code alecf accidentely checked in, fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@109504 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 00:37:35 +00:00
alecf%netscape.com
0daeecc032 augh, didn't mean to check these in
git-svn-id: svn://10.0.0.236/trunk@109502 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 23:17:11 +00:00
alecf%netscape.com
bfb7e06d84 ok, back out my ToLowerCase() change, it didn't make any difference
git-svn-id: svn://10.0.0.236/trunk@109501 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 23:15:31 +00:00
alecf%netscape.com
cf0efed474 performance test - just to see if nsString.ToLowerCase() is faster than ToLowerCase()
no reviewer, will back out after one or two tinderbox cycles


git-svn-id: svn://10.0.0.236/trunk@109488 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 19:06:02 +00:00
alecf%netscape.com
16001eccc7 just removing some dead code that blake spotted, followup to bug 110226
git-svn-id: svn://10.0.0.236/trunk@109151 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:07:42 +00:00
alecf%netscape.com
4b94aca125 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


git-svn-id: svn://10.0.0.236/trunk@109090 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 02:48:10 +00:00
alecf%netscape.com
e529936b5b oops, one more try to back out
git-svn-id: svn://10.0.0.236/trunk@109063 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 23:55:03 +00:00
alecf%netscape.com
9e40851eab ack! back these out, weren't meant to land
git-svn-id: svn://10.0.0.236/trunk@109062 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 23:53:18 +00:00
alecf%netscape.com
9714ddf32b debug stuff only - adding MOZ_COUNT_DTOR/CTOR and changing DEBUG to DEBUG_dougt
(last part r=dougt)


git-svn-id: svn://10.0.0.236/trunk@109061 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 23:52:05 +00:00