1138 Commits

Author SHA1 Message Date
dougt%netscape.com
ffacd7bc78 Adding build SDK support. r=dougt, sr=alecf, submitted by seawood, a=asa
git-svn-id: svn://10.0.0.236/trunk@115326 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 23:20:01 +00:00
brendan%mozilla.org
1dd9667d80 Sync these mirrored sources with their primaries at js/src/jsdhash.[ch] (see bug 62164, r=shaver, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@115275 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 10:04:29 +00:00
cathleen%netscape.com
6a0e426e6c eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@115070 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:38:38 +00:00
jkeiser%netscape.com
949db40184 C++ wrapper for PLDHashTable (bug 125489), r=alecf@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@115063 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:08:53 +00:00
timeless%mac.com
29beedeb0d Bug 114166 rewrite nsDeque
r=akkana sr=alecf
rs=alecf for TestDeque.cpp


git-svn-id: svn://10.0.0.236/trunk@115007 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:08:32 +00:00
dp%netscape.com
a5ce086c1e bug 125641 Adding id r=dougt sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@114823 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:59:58 +00:00
alecf%netscape.com
057eaef9e2 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


git-svn-id: svn://10.0.0.236/trunk@114820 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:57:47 +00:00
bryner%netscape.com
dab926fb61 Fixing a compiler warning (bug 125949). r=bzbarsky, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@114813 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:42:37 +00:00
mozilla.BenB%bucksch.org
a72534e093 125881: Has() must return true for existing properties (the key exists), which
have a 0 value.
r=dougt, sr=jband


git-svn-id: svn://10.0.0.236/trunk@114726 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 10:11:25 +00:00
dbaron%fas.harvard.edu
6f3d0f1b34 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
git-svn-id: svn://10.0.0.236/trunk@114701 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 19:50:32 +00:00
dbaron%fas.harvard.edu
ac6b721449 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
git-svn-id: svn://10.0.0.236/trunk@114693 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:18:13 +00:00
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