Граф коммитов

5402 Коммитов

Автор SHA1 Сообщение Дата
alecf%netscape.com bd4e311c6e windows side of fix to bug 100676 - remove xpcom dependency on uconv by switching to native locale-conversion routines
r=ccarlen, sr=dveditz
2002-01-31 21:55:01 +00:00
alecf%netscape.com 868bfcccdc mac side of fix for bug 100676
code by ccarlen, r=alecf, sr=sfraser
remove xpcom dependency on uconv by switching to native mac locale-conversion routines
2002-01-31 21:54:16 +00:00
dougt%netscape.com ccaf0a9723 fixing another type 2002-01-31 21:45:04 +00:00
dougt%netscape.com 8074370872 Fixing typo 2002-01-31 20:43:22 +00:00
rjc%netscape.com a3c29b350a Fix bug # 122571: add ability to determine if a directory is actually a package (for Mac OS 9/X) r=ccarlen sr=ben 2002-01-30 23:53:12 +00:00
dougt%netscape.com 843c41e945 adding @return comments. 2002-01-30 21:56:34 +00:00
sfraser%netscape.com d285f8f560 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
alecf%netscape.com b417379c8c First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag
2002-01-30 06:04:29 +00:00
sfraser%netscape.com a7d960f722 Chamnges to allow for making every module's nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 04:05:47 +00:00
seawood%netscape.com 0e1e154af1 Use .get() when assigning nsXPIDLCString to const char*. Fixing OS/2 & AIX bustage. 2002-01-30 03:51:47 +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
jband%netscape.com 0e1389b8f2 fix bug 121118. Don't crash if interfaceinfo is not resolvable at runtime. r=dbradley sr=brendan 2002-01-30 02:36:20 +00:00
dougt%netscape.com 206ace9e22 Backing out nsIFile changes which should not have landed. 2002-01-29 21:42:38 +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
mkaply%us.ibm.com 16bf32f240 OS/2 code only - make it easier to turn off popup asserts if necessary by restructuring code 2002-01-28 23:26:31 +00:00
seawood%netscape.com 586b7ebf8a S_ISSOCK isn't defined on BeOS. 2002-01-28 07:02:02 +00:00
brendan%mozilla.org 65dcf650b8 Fix a warning, clean up whitespace (r=diff -w, sr=gcc). 2002-01-27 23:56:02 +00:00
alecf%netscape.com 8c9bfa6586 fix for bug 121508 - clean up nsStringStream and nsIParser APIs.. r=dougt, sr=jst 2002-01-27 22:02:00 +00:00
pete%alphanumerica.com c265760507 getting rid of -D_USE_BSD
Pulling implementation out of the header file seemed to have fixed the bustage

--pete
2002-01-27 18:57:41 +00:00
pete%alphanumerica.com 3ca15cde59 reverting back to original
define is not needed here

--pete
2002-01-27 18:56:02 +00:00
pete%alphanumerica.com 65d64877dd seeing if this fixes the linux bustage
--pete
2002-01-27 18:47:17 +00:00
pete%alphanumerica.com 22b70e5f0d adding -D_USE_BSD to see if lstat will work on these linux flavors
--pete
2002-01-27 18:32:11 +00:00
pete%alphanumerica.com c0e8aa86cc adding -D_BSD_SOURCE to Makefile.in as seawood suggested
to fix linux bustage

--pete
2002-01-27 18:17:33 +00:00
pete%alphanumerica.com 6378a808f9 movind implementation of FilleStatCache into nsLocalFileUnix.cpp
where other calls to lstat work fine

This is an attempt to fix bustage on some linux platfroms

--pete
2002-01-27 18:02:18 +00:00
pete%alphanumerica.com b35ea4be45 moving defs into header file
To fix bustage

--pete
2002-01-27 17:46:14 +00:00
pete%alphanumerica.com 951fb6998c adding header files for linux for lstat
seeing if this fixes breakage

--pete
2002-01-27 17:31:24 +00:00
pete%alphanumerica.com d227b4de36 b=107641, r=blizzard, sr=brendan
fix: CopyTo won't copy read-only files or broken symlinks

Thanks to garths@oeone.com for help on this one.

--pete
2002-01-27 14:31:25 +00:00
darin%netscape.com 0431b46cfe fixes bug 114778 "formpost temp files not cleaned up when browser exits"
patch=badami@netscape.com, r=rpotts@netscape.com, sr=darin@netscape.com
2002-01-26 00:38:37 +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
kaie%netscape.com 30d299d361 b=121570 Error code namespace needed for security component
r=dougt sr=jband
2002-01-25 15:17:25 +00:00
jdunn%netscape.com 7294110bc7 Change certain AIX ifdefs to AIX_XLC_364 since these ifdefs are only
needed for AIX's xlC 3.6.4 compiler.  Add test to configure to check
compiler version.  NOTE: also adding hpux and aix check for keyboardutils.
r=cls@seawood.org
# 119179
2002-01-25 15:07:38 +00:00
darin%netscape.com dbeebe2535 fixing compiler warning of uninitialized variable resulting from my checkin
for bug 121441
2002-01-25 10:47:24 +00:00
seawood%netscape.com 6a70bafd9e Fix "static" build support for win32 gmake builds.
Bug #58981 r=bryner
2002-01-25 03:20:51 +00:00
darin%netscape.com 327521beca fixes bug 121441 "unable to publish via http PUT (nsStorageStream should
support nsISeekableStream)"
r=brade, sr=dveditz
2002-01-25 02:13:00 +00:00
alecf%netscape.com 35cbed4db5 fix for bug 112209 - remove last consumers of nsStr:: routines
r=dbaron, sr=jst
2002-01-25 00:26:44 +00:00
alecf%netscape.com c6d8ee7049 fix for bug 121627 - UTF8ConverterStream should not allocate - now that we've exposed ConvertUTF8toUCS2,
use it to do a conversion into the existing unichar buffer
r=dbaron, sr=jst
2002-01-24 23:53:53 +00:00
alecf%netscape.com 7a7dec2c27 bug 108962 - shrink nsStr by 4 bytes by packing mCharSize and mOwnsBuffer into bits of mCapacity
r=dbaron, sr=jst, with an almost-sr=jag
2002-01-24 23:46:56 +00:00
hyatt%netscape.com 0f5415784b Fix string fragments to compile in Objective C++ (for Cocoa widgets). r=danm, sr=brendan 2002-01-24 23:05:18 +00:00
waterson%netscape.com 105d41ff44 Fix static build bustage. 2002-01-24 21:45:46 +00:00
alecf%netscape.com 0b5abd6365 fix for bug 114450 - be explicit about string comparison w.r.t. character size - no more hand-rolled vtables!
sr=jag, r=dbaron
2002-01-24 19:14:18 +00:00
pinkerton%netscape.com 30c642c36e allow --enable-default-toolkit=cocoa in makefiles and default toolkit can now be overridden on platform that don't use X11. r=cls/sr=hyatt. bug#121496 2002-01-24 15:11:18 +00:00
jst%netscape.com 48f217780d Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org 2002-01-24 09:20:51 +00:00
dp%netscape.com 27439a01f6 Adding nsRecyclingAllocator.h for mac export 2002-01-24 08:06:45 +00:00
dp%netscape.com 7a0c84be94 Fixing spelling mistake nsRecylingAllocator -> nsRecyclingAllocator 2002-01-24 07:16:34 +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
dp%netscape.com a39dd81ba9 bug 118061 Adding NS_NewTimer r=dveditz sr=sfraser 2002-01-24 06:37:38 +00:00
dougt%netscape.com daf9d599d9 Adding nsIComponentRegistrar interface to the build. See 115853. r=dp@netscape.com, sr=jband@netscape.com 2002-01-24 01:50:35 +00:00
dougt%netscape.com 5099223bc2 Cleanup of nsIModule. See 99154. r=dp@netscape.com, sr=jband@netscape.com 2002-01-24 01:29:40 +00:00
ccarlen%netscape.com ca57c759b0 Bug 116435 - The provider in nsAppFileLocationProvider.cpp should always be registered. r=dougt/sr=rpotts/a=dbaron 2002-01-22 23:00:44 +00:00
dougt%netscape.com 98f9d2ba11 removing nsMemory.h. This file now lives in xpcom/glue. bug 120685 sr=jband, a=blizzard 2002-01-18 20:12:36 +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
ccarlen%netscape.com 851098e320 Removing file made obsolete by fix to bug 100828. r=rjc/sr=sfraser. 2002-01-16 05:52:50 +00:00
seawood%netscape.com fa5df5e54c Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
bug #58981 sr=jag
2002-01-16 05:10:09 +00:00
dbaron%fas.harvard.edu d585949ae5 Fix HP bustage. 2002-01-16 04:48:24 +00:00
dbaron%fas.harvard.edu 3e3ede44ed Create a mechanism for allowing a |Destroy| method to be called on buffer handles whose refcount hits 0 instead of |delete|. Use that mechanism to fix threadsafety problems with shared empty buffer handles, restoring sharable strings to their previous state of threadsafety. b=117153 sr=jag r=alecf 2002-01-16 03:08:22 +00:00
jdunn%netscape.com 516dd44950 fixing xlC5.x compiler error: use a temp variable for the static_cast
sr=jaggernaut@netscape.com
# 119326
2002-01-16 03:06:47 +00:00
dbaron%fas.harvard.edu 445536c139 Fix stack walking code to work correctly on RedHat 7.2 systems. b=106616 r=jag rs=blizzard 2002-01-16 00:40:36 +00:00
dbaron%fas.harvard.edu ee80a1911b Add nsValueArray.cpp to the build for blythe. 2002-01-15 23:57:01 +00:00
blythe%netscape.com f41a5d5afe proactive change to avoid MAC bustage from last checkin 2002-01-15 23:20:35 +00:00
alecf%netscape.com e26f0caa39 factor out some table-based string manipulation routines to make it easier to seperate unicode vs. 8-bit character strings. bug 114450, r=dbaron sr=jag 2002-01-15 22:57:29 +00:00
blythe%netscape.com 3a5aa3eab9 Fix bug 107270
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2002-01-15 22:43:37 +00:00
rjc%netscape.com fa9c812045 Fix bug # 120037: leading '.' indicates hidden when on Mac OS X. r=ccarlen sr=sfraser 2002-01-15 22:31:19 +00:00
ccarlen%netscape.com a660e6ed8b Bug 56295 - doesn't work for file names > 31 chars. r=sdagley/sr=sfraser 2002-01-15 02:22:39 +00:00
pavlov%netscape.com 5ee29e2c3f patch from bug 116483 to avoid doing some pr_log related work when we don't need to. r=dougt sr=brendan 2002-01-15 01:20:47 +00:00
sfraser%netscape.com c640b55a08 Fix bug 103202; make nsLocalFileMac faster copying files by allocating a 512k buffer, and passing it to the MoreFiles routines that do file copying (which would otherwise use an internal 16K buffer). r=sdagley, sr=sspitzer. 2002-01-15 01:14:55 +00:00
dougt%netscape.com e19cc60bdb adding check for null. GetThreadEventQueue can return a null queue which we need to check for 2002-01-15 00:43:10 +00:00
mkaply%us.ibm.com bb06ead229 #1192111
r=mkaply, sr=blizzard
OS/2 only - better file dialog
2002-01-14 21:17:43 +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
jband%netscape.com 8c8b5a2595 fix bug 119387. Add a non-allocating IID version of the frequently used getIIDForParam method. r=dbradley sr=jst 2002-01-14 20:02:14 +00:00
blakeross%telocity.com 61e0099258 86979 - launch file after donwloading does not honor OS file associations. r=ben sr=hewitt 2002-01-14 05:24:49 +00:00
dougt%netscape.com c78ed09758 Removing monitor from FreeService() call. See bug 117218 for details, but basically we can run into a deadlock at shutdown. This patch assumes that (a) gXPCOMShuttingDown is set only by the UI thread during xpcom shutdown and (b) that all public API's check this flag before calling into the hashtable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org 2002-01-12 23:35:57 +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
alecf%netscape.com 53deafcf58 fix take 2 on bug 114134, crashes when reading utf8 strings from dtds/etc
r=dbaron, sr=jag
when multi-byte characters crossed a buffer boundary, we weren't correctly backing up and instead tried to decode the half-loaded utf8 character... in addition, our new "remainder" count was completely broken - we were adding the old remainder to the new remainder, when in fact we had just consumed the old remainder
2002-01-12 02:38:08 +00:00
darin%netscape.com f4af7d881d these files no longer need to include nsEscape.h 2002-01-12 01:21:40 +00:00
darin%netscape.com 6bb61e9651 cleaning up some comments 2002-01-12 01:19:45 +00:00
darin%netscape.com 2538f367be fixes first part of bug 109179 "replace NS_EscapeURL with NS_EscapeURLPart"
r=andreas.otte@debitel.net
sr=alecf@netscape.com
2002-01-11 23:02:22 +00:00
alecf%netscape.com 218715b121 dammit why does this break linux?!
backing out my last checkin
2002-01-11 22:44:30 +00:00
alecf%netscape.com 06bca513af progress towards 108962 - fix nsLinebreakConverter to stop using private nsStr members
r=dbaron, sr=jag
2002-01-11 22:40:09 +00:00
dougt%netscape.com 897452d5aa fixing build bustage. there is another nsMemory.h in xpcom/base which overwrote this copy 2002-01-11 21:05:08 +00:00
alecf%netscape.com d455d1d161 fix for bug 114134 - crash when localizing some strings
when multi-byte characters crossed a buffer boundary, we weren't correctly backing up and instead tried to decode the half-loaded utf8 character... in addition, our new "remainder" count was completely broken - we were adding the old remainder to the new remainder, when in fact we had just consumed the old remainder
r=dbaron, sr=jag
2002-01-11 20:34:11 +00:00
dougt%netscape.com ce4024d68d Moving Memory Util functions into nsMemory. r=dmose, sr=jband, bug=119082 2002-01-11 20:12:22 +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
jband%netscape.com 3aae546197 Fix bug 114115. Reduce long lived allocations by refactoring to hold main interface info structs in arena and buil refcounted info objects on demand (though cached for reuse) r=dbradley sr=jst 2002-01-10 23:49:47 +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
dbradley%netscape.com 361557435b Bug 114257 - win32 xpidl doesn't handle unix paths properly. patch=dbradley, r=cls, sr=jag 2002-01-10 13:03:45 +00:00
jaggernaut%netscape.com 6b5cb38d2b Duh. Made a thinko on commenting out the ifdef. 2002-01-10 06:55:18 +00:00
jaggernaut%netscape.com 4e703f2e40 Bug 115854: Clean up shutdown warnings in service manager, add IID, CID and ContractID info. r=dougt, sr=alecf 2002-01-10 02:10:37 +00:00
dbaron%fas.harvard.edu 6601023357 Adding more tests. Not part of the build. 2002-01-09 22:15:22 +00:00
alecf%netscape.com 3d4709d420 removal lame nsFileSpec operators, bug 100676 r=ccarlen sr=waterson 2002-01-09 21:31:19 +00:00
alecf%netscape.com b5b8d27153 final fix for bug 100212 - removal final dependency on necko from xpcom by removing nsIFile.URL r=dougt, sr=darin Yay! 2002-01-09 20:03:46 +00:00
blythe%netscape.com 385178fec6 Fix Bug 115189
Trace-Malloc records line number information on platforms which have it.
r=dp sr=alecf
2002-01-09 19:03:01 +00:00
jaggernaut%netscape.com 6b77d93d2e Hitching a ride with bug 117440: Make nsPrintfCString inherit from nsAFlatCString instead of nsACString, r=darin, sr=alecf 2002-01-09 04:35:28 +00:00
alecf%netscape.com a0cec66019 bug 114450 sr=jag
remove table-based comparison functions so we can actually remove them later
2002-01-09 02:28:28 +00:00
jaggernaut%netscape.com 1bd1b8c7d6 Bug 113228: Remove nsStr::ChangeCase. r=dbaron, sr=alecf 2002-01-09 01:44:43 +00:00
ccarlen%netscape.com 92c4be61be smoketest blocker 118788 r=/sr=sfraser@netscape.com 2002-01-09 01:04:17 +00:00
seawood%netscape.com bcef889578 Adding missing \
Bug #113511
2002-01-08 05:46:51 +00:00
dougt%netscape.com 09f3d1beef Fixes 116299 Reduce size of nsLocalFileWin by 2 ptrs by factoring out shortcut resolver. Also fixes crash 117258 caused by trying to create a file or directory to a nonexistant drive. sr=rpotts, dveditz for the first bug, and sr=darin, r=gagan for the second bug 2002-01-08 02:20:13 +00:00
ccarlen%netscape.com 0f9cb6c5fc Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com 2002-01-07 14:35:04 +00:00
ccarlen%netscape.com 062270c10d Bug 100828 - New file for nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com 2002-01-07 14:31:44 +00:00
jdunn%netscape.com 9585c17b9d replacing OS_CXXFLAGS with CXXFLAGS so that they get picked up
r=cls@seawood.org
# 118126
2002-01-07 12:33:36 +00:00
jaggernaut%netscape.com febd9de87f Bug 113228: Remove To{Lower,Upper}Case from ns{C}String. r=bzbarsky, sr=jst 2002-01-05 11:18:57 +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
jaggernaut%netscape.com 4a93e62264 Bug 103342, 113590: ns{C}String::SubstituteString hangs/crashes. r=dbaron, sr=alecf 2002-01-02 23:54:25 +00:00
jaggernaut%netscape.com 3ed2626ddd Add assertion to ns{C}String::Adopt. r=/sr=mozbot 2002-01-02 09:00:02 +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
dp%netscape.com 38935c13da bug 117256 Timer core dump on shutdown. Protecting against null
gthread. r=cathleen
2001-12-31 04:04:22 +00:00
mcafee%netscape.com efc77c8477 Ignore generated files 2001-12-29 03:21:06 +00:00
jaggernaut%netscape.com 2e4cf1866d Bug 116957: Put Adopt on ns{C}String, and use it in nsStandardURL. r=dbaron, rs=scc 2001-12-26 23:14:12 +00:00
danm%netscape.com f82f818bb1 additional macros to support aggregation. bug 113664 r=alecf,dougt 2001-12-26 21:30:20 +00:00
timeless%mac.com 711739d601 Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
jaggernaut%netscape.com 76d7d73ab7 Bug 115671: Add faster To{Upper,Lower}Case for nsASingleFragment{C}String, r=dbaron, sr=dveditz, and ns{C}String, r=bbaetz, sr=scc 2001-12-23 02:56:41 +00:00
tingley%sundell.net 710766a6f6 bug 100132: clean up over-zealous error masking in
nsRDFXMLDataSource::BlockingParse(), and bring nsLocalFileUnix's
OpenNSPRFileDesc() return values in line with other platforms.
r=waterson, sr=brendan
2001-12-22 19:08:48 +00:00
sfraser%netscape.com b6cc54ac5c Fix Mac shutdown crash, bug 116128. Ensure that the timer thread dies by using Join(). r=syd, sr=jag 2001-12-22 00:21:46 +00:00
andreas.otte%debitel.net c151bda8af Fix bug 108575 [rethink contents of escape matrix] Change escaping of
', ~ and @ to better reflect rfc 2396, r=dougt@netscape.com, sr=darin@netscape.com
2001-12-21 22:29:02 +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 bfbe42e412 Backing myself out to see if I'm the cause of btek going from 1245ms to 1251ms. 2001-12-20 06:12:49 +00:00
jaggernaut%netscape.com 10e4e8b173 Bug 115671: Add (faster) To{Upper,Lower}Case for nsASingleFragmentStrings. r=dbaron, sr=dveditz 2001-12-20 02:15:35 +00:00
dbaron%fas.harvard.edu 586a521563 Remove the many forms of NS_SetupRegistry since the classes registered are all now part of proper components. r=dougt, jag sr=rpotts b=81527 2001-12-20 02:09:49 +00:00
dougt%netscape.com 45e6872306 fix stupid checkin that should not have landed 2001-12-19 02:43:21 +00:00
sfraser%netscape.com f1cbbb94bb Fix dougt's XML project mangling. 2001-12-19 01:23:53 +00:00
dougt%netscape.com 26623aa6c1 more bustage 2001-12-19 01:03:10 +00:00
dougt%netscape.com b9d9bba761 fixing build bustage 2001-12-19 00:59:25 +00:00
dougt%netscape.com 9a75bc4b8e nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
seawood%netscape.com 874c54280c Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
jaggernaut%netscape.com a5546c482c Fix bustage 2001-12-17 08:10:57 +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
pavlov%netscape.com cec4deba1a fixing tomorrow's blocker today (115527). r=ben sr=mscott 2001-12-17 06:59:55 +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
pavlov%netscape.com d1f957f177 lets try PR_STATIC_CALLBACK to please os/2 2001-12-16 09:31:39 +00:00
pavlov%netscape.com bab8256181 silly mac, get a real build system 2001-12-16 07:53:25 +00:00
pavlov%netscape.com 5cd1b8e131 bug 78611. New XP threadsafe timer implementation. r=dougt sr=brendan 2001-12-16 06:13:17 +00:00
rjc%netscape.com c23cfd8399 Fix bug # 101280: on Mac OS X, use proper IE Favorites. r=ccarlen sr=ben 2001-12-15 00:43:23 +00:00
dp%netscape.com 840af220ed bug 113738 Cost of malloc into trace-malloc log r=blythe, sr=brendan 2001-12-15 00:24:12 +00:00
kmcclusk%netscape.com a25f717333 Backing out the fix for Bad use of nsIFile in component manager to fix spell checker. bug 106949 r=jband a=brendan 2001-12-14 01:27:16 +00:00
blythe%netscape.com c43a62897b fix build bustage caused by recent checkin 2001-12-11 23:56:37 +00:00
blythe%netscape.com c180764cf8 Fix bug 113958, win32 nsTraceRefcnt support.
r=dbaron, sr=brendan
2001-12-11 22:26:47 +00:00
blythe%netscape.com 6053050030 Fix bug 114149, trace-malloc output platform specific
r=dp, sr=brendan
2001-12-11 22:21:50 +00:00
dbradley%netscape.com cf8bb8c010 Bug 101528 - Linux-m68k compilation and gcc-3 fixes. Patch by rz@linux-m68k.org, r=dbaron, sr=shaver 2001-12-11 14:17:33 +00:00
ccarlen%netscape.com de865879b2 Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser 2001-12-11 05:45:45 +00:00
ccarlen%netscape.com 9d32855606 Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser 2001-12-11 05:35:08 +00:00
ccarlen%netscape.com 5be3015148 Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser 2001-12-11 05:25:50 +00:00
dbaron%fas.harvard.edu 487c581ac0 Fix nsSharableString::SetLength to correctly handle having a shared buffer. Override GetWritableFragment on nsSharableString (perhaps temporarily) to allow use of writing iterators on nsSharableString. b=114438 r=jag sr=jst 2001-12-11 03:33:09 +00:00
pete%alphanumerica.com 040552e412 b=106949, r=ccarlen, sr=jband
Bad use of nsIFile in component manager

--pete
2001-12-11 03:25:32 +00:00
dbaron%fas.harvard.edu aee14fb74a Commenting out tests that can't be made to work under MSVC++ 6.0. Not part of the build. 2001-12-11 03:15:37 +00:00
ccarlen%netscape.com 0766c35c7f Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 21:58:15 +00:00
ccarlen%netscape.com 773577e3b8 Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 21:32:41 +00:00
ccarlen%netscape.com 1b00c70ee8 Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 21:20:58 +00:00
jaggernaut%netscape.com 1772308eb8 Bug 114288: Add nsStringComparator parameter to nsAString::Equals to mirror Compare and provide a way to do CaseInsensitive Equals. r=dbaron, sr=jst 2001-12-10 10:10:44 +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
dbaron%fas.harvard.edu f63091c742 Fix inefficient Assign pattern to use Append instead. b=113188 r=jag sr=jst 2001-12-08 22:51:15 +00:00
dbaron%fas.harvard.edu e03df3321d Fix appending to nsSharableString by always null-terminating in SetLength. b=113188 r=jag sr=jst 2001-12-08 22:50:34 +00:00
bryner%netscape.com cd154ffb28 Fix a signed/unsigned warning by using an unsigned int to compare against the result of sizeof(). bug 114241, r=bbaetz, sr=shaver. 2001-12-08 22:05:01 +00:00
bryner%netscape.com 7b0d071db5 Fix a warning by changing C++ comments to C comments. bug 114241, r=bbaetz, sr=shaver. 2001-12-08 22:04:17 +00:00
mkaply%us.ibm.com 70dd482038 PR_FALSE NOT false 2001-12-08 11:01:12 +00:00
jaggernaut%netscape.com c892a468bd BUg 113228: Replace nsC?String::To(Lower|Upper)Case with global To(Lower|Upper)Case. r=dbaron, sr=jst 2001-12-08 07:08:38 +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
mkaply%us.ibm.com 4226ecdb6e PR_FALSE NOT false 2001-12-08 04:05:58 +00:00
jband%netscape.com a639a65072 fix bug 111771. Streamline xptcall invoke for Win32 x86 only by getting rid of the call to invoke_count_works and just making the max possible required space on the stack for the params and then cleaningup afer the call. sr=shaver r=dbradley 2001-12-08 00:49:11 +00:00
sfraser%netscape.com ab4fbaa51a Fix bug 113714 -- optimized mac builds would sporadically autoregister XPT files on startup, because doing a string compare of persistent descriptor strings is not a valid way to compare them (Mac aliases to the same file can differ). r=ccarlen, sr=jband 2001-12-07 23:52:52 +00:00
pete%alphanumerica.com c7055f2543 b=77933, r=ccarlen, sr=jst
nsIFile::CreateUnique() has unused parameter

removed unused parameter
/**
    WARNING commercial tree has one hit for this API change
 */
--pete
2001-12-07 23:06:51 +00:00
ccarlen%netscape.com 09521a2b1d Bug 112262 - checking in mac project changes for dougt. 2001-12-07 19:55:37 +00:00
dougt%netscape.com e1264b40f2 Bug 112262. Move nsMemory into the glue library. sr=rpotts, sr=jband. 2001-12-07 19:54:16 +00:00
dp%netscape.com ba0136d403 bug 113833 Disabling trace-malloc if required dlls are not
found. (thanks jband) r=dp, sr=jband
2001-12-07 14:29:24 +00:00
dbradley%netscape.com d2245e6e00 Bug 112666 - XPCOM ExceptionService should return a pending exception if one exists. r=jst sr=jband 2001-12-07 13:31:01 +00:00
dp%netscape.com 7316b88c24 bug 113833 preventing initalization of trace malloc stuff unless
--trace-malloc command line is given. sr=dveditz
2001-12-07 06:41:55 +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
dougt%netscape.com 3b0e7fc9bb fixing a bad #ifdef r=me. sr=darin 2001-12-07 01:08:35 +00:00
seawood%netscape.com e578a4caeb Drop optimization level to -O2 for MIPSpro CC builds to work around potential compiler bug.
Thanks to nickb@adacel.com.au (Nick Blievers) for the patch.
Bug #113511 r=cls
2001-12-06 10:51:45 +00:00
blythe%netscape.com 51e311e86f Bug 112953, non debug trace-malloc on win32.
r=dp,sr=brendan
NOT part of normal build.
Change hinges on another change to nsprpub/gmakefile.win that should land
by those in charge of that module shortly.
2001-12-06 02:36:02 +00:00
dbaron%fas.harvard.edu e480ae9a96 Simplify loop in CountValidUTF8Bytes and fix UMR. b=110531 r=jag sr=alecf 2001-12-05 03:49:13 +00:00
leaf%mozilla.org 99e99b9ff7 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron 2001-12-05 03:43:29 +00:00
dp%netscape.com 1e50a8efe1 bug 112470 Include config.mak early to get TRACE_MALLOC settings in. Patch by alecf. r=dp 2001-12-04 21:15:28 +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
dbaron%fas.harvard.edu 6d56c5c4e7 Fix orange by exiting loop when bytes hits aMaxBytes rather than waiting for it to get farther. 2001-12-04 04:22:44 +00:00
alecf%netscape.com 4e32a40771 oops, requires update - add uconv 2001-12-04 01:12:51 +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
pete%alphanumerica.com e3f793389c b=112515, r=douft, sr=jst
remove spawn method from nsIFile.

/**
    Warning nsIFile API change
 */

--pete
2001-12-04 00:27:43 +00:00
dbaron%fas.harvard.edu 5884b2407f Make nsSharableString::Assign set the length correctly when it's reusing its existing buffer. b=112483 r=scc sr=alecf 2001-12-03 23:14:15 +00:00
jdunn%netscape.com 0545551283 Use the right vtable : AIX ONLY!
# 90720
r=cls@seawood.org
2001-12-03 15:02:08 +00:00
dbaron%fas.harvard.edu c4a5d74558 Make nsSharableString::Assign set the length when it's reusing its existing buffer. b=112483 r=jag sr=hyatt 2001-12-03 03:54:32 +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
dp%netscape.com 3a21f36867 disabling unconditional printfs. 2001-12-02 05:39:49 +00:00
dbaron%fas.harvard.edu 277da6177d Fix typo. Not part of default build. 2001-11-30 22:03:28 +00:00
dveditz%netscape.com 314061fded Free bloated component registry buffer after XPCOM init (bug 76329)
r=dougt, sr=shaver
2001-11-30 07:50:03 +00:00
dougt%netscape.com 907a01bfd0 Add IsMainThread to nsIThread. r=danm@netscape.com, sr=darin@netscape.com 112397 2001-11-30 00:06:32 +00:00
waterson%netscape.com e6f0710871 Bug 11079. xptinfo shouldn't be an EXPORT_LIBRARY, or else it will end up both in the statically linked exectuable _and_ libxpcom.so. r=cls 2001-11-29 23:50:56 +00:00