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

5573 Коммитов

Автор SHA1 Сообщение Дата
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
arougthopher%lizardland.net d3983e1d8e Fix for Bug#69707
BeOS implementation of nsLocalFile::Launch and nsLocalFile::Reveal

r=cls (seawood@netscape.com)
a=asa (asa@mozilla.org) on behalf of drivers
2002-02-21 03:33:42 +00:00
timeless%mac.com ff040bc742 HPUX rightly insists that class a{a::a(){}} isn't the right way to declare a constructor
fixed to class a{a(){}}.  I can't believe that msvc and gcc didn't mind what I did.
2002-02-20 14:29:12 +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
law%netscape.com 66bd14ab37 Bug 106082; Adds code to select item in Explorer window for Reveal(); r=sgehani, sr=hyatt 2002-02-20 05:41:34 +00:00
sfraser%netscape.com 94da55375a Adding nsITimerScriptable.idl to the XML project for sgehani. 2002-02-20 04:09:44 +00:00
sgehani%netscape.com 236293ae2b Land update notifications.
b=120201; r=law,pavlov; sr=dveditz
2002-02-20 04:01:34 +00:00
dbaron%fas.harvard.edu c09c703eed Some compilers (like gcc 3.0.3, at least) don't like a main that returns void, so make it return int. Fixing bustage. r=timeless 2002-02-20 03:20:04 +00:00
timeless%mac.com 96be4dca9d Bug 114166 Test app for nsDeque
rs=alecf
2002-02-20 03:09:40 +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
cathleen%netscape.com 8d48d2e7e6 eliminate nsCRT::strlen for char* strings (part 4), bug 124536 r=dp sr=brendan 2002-02-19 16:01:45 +00:00
dbradley%netscape.com f4fbed4e14 Bug 119382 - attribute nsIIDPtr IID considered harmful - This patch makes it an error to declare an attribute named IID or a method named getIID. r=jband, sr=jst 2002-02-19 14:48:00 +00:00
jdunn%netscape.com f64657ff60 adding xptc files for HP-UX 11.20 support of IPF (ia64 platform).
r=jband@netscape.com
r=cls@seawood.org
# 126293
2002-02-19 12:28:21 +00:00
dbaron%fas.harvard.edu bd561c280a nsDependentSingleFragmentSubstring shouldn't pretend to have a flat buffer, since it's only guaranteed to be single fragment, not null-terminated. b=122727 sr=jag r=alecf 2002-02-19 02:17:09 +00:00
alecf%netscape.com ce1b14f952 argh, add nsStorageStream back to the build - I didn't mean to check this in
(I had tested on the mac, but checked in from windows)
2002-02-19 00:30:01 +00:00
alecf%netscape.com 4ab7416f0b attempt to fix mac bustage while I wait on my mac build 2002-02-19 00:13:29 +00:00
alecf%netscape.com be588199b7 oops, back out this change, wasn't supposed to land 2002-02-18 23:00:11 +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
brendan%mozilla.org 81ddd6526f Digital filter for adaptive timeout adjustment, needs trunk baking, makes things better so far (117061, r=pavlov, sr=jst). 2002-02-18 00:10:55 +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
bnesse%netscape.com 9de69a5c09 Fix for bug 98476. Add safe save & redundant backup support for prefs.js. r=sfraser, sr=alecf. 2002-02-16 21:18:38 +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
jkeiser%netscape.com fe1d4d2f35 Form submission performance / maintability improvements (bug 120682) r=alexsavulov,r=sicking,sr=jst 2002-02-16 01:19:24 +00:00
mkaply%us.ibm.com dd69fa6956 OS/2 bustage - this is defined in nsStrShared.h 2002-02-15 05:22:42 +00:00
alecf%netscape.com 0cb16d30d7 bug 63025 - stop testing some stuff that I'm ripping out of xpcom 2002-02-15 00:27:32 +00:00
alecf%netscape.com 0a50e96ede bug 63025 - stop exporting nsFileSpecImpl as nobody is calling the constructor
r=dougt, sr=shaver
2002-02-15 00:20:49 +00:00
alecf%netscape.com 8840f0b2f3 bug 63025 - remove nsFileSpecStreaming, as nobody is using it
r=dougt, sr=shaver
2002-02-15 00:19:33 +00:00
alecf%netscape.com 8633a527ca part of fix to bug 63025 - stop exporting nsLocalFile on windows, because it's not imported by anyone
r=dougt, sr=shaver
2002-02-15 00:14:20 +00:00
alecf%netscape.com 932ea50178 re-land fix for bug 107575, moving nsStr static routines into a private class/namespace 2002-02-14 23:23:55 +00:00
alecf%netscape.com 2b3f1e813f oops, back myself out - forward declared enums don't work on linux! 2002-02-14 23:14:50 +00:00
alecf%netscape.com 1b25620781 make all static nsStr:: members private, so they are not exported, and so the linker can cull them out
r=dbaron, sr=blake, jag
bug 125093
2002-02-14 23:08:38 +00:00
jband%netscape.com cc75a49c7b reorder members to avoid wasted space due to struct member alignment rules. This will generally save one machine word per XPTMethodDescriptor (and we make a bunch of those). bug 120005. r=dbradley, sr=shaver 2002-02-14 06:28:13 +00:00
jband%netscape.com d78d514afc avoid memcpy call when only copying one (PRUnichar) char. bug 109562. r=jag sr=brendan 2002-02-14 06:22:53 +00:00
sfraser%netscape.com d9f0eb6fef Fix crash on exit if NS_InitXPCOM2 failed (happens when running in a read-only dir if no component registry exists). Bug 104954. r=dp, sr=shaver 2002-02-14 03:26:19 +00:00
neeti%netscape.com 3609edf618 fix for bug 122438 - ConvertContractIDKeyToString(...) optimization, r=dougt,sr=alecf 2002-02-13 20:34:14 +00:00
mkaply%us.ibm.com c299cf2b2c 117258 from nsLocalFileWin put into OS/2 to fix trap 2002-02-12 22:14:32 +00:00
bzbarsky%mit.edu c01dc3e0c4 Get rid of extra leading slashes appearing in unix paths. Bug 124873,
r=petejc@optonline.net, sr=brendan.
2002-02-12 21:05:56 +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
timeless%mac.com e24ea538d5 Bug 124744 remove nsIPtr
r=bryner sr=alecf
2002-02-12 04:12:50 +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
bzbarsky%mit.edu b553ca3a3a Make sure we never set a timer for before "now" when given a positive
delay.  Bug 124103, r=pavlov, sr=brendan
2002-02-08 23:45:26 +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
seawood%netscape.com f05a216d7f Update manifest files in attempt to quell mac bustage.
Bug #120474
2002-02-08 08:04:34 +00:00
seawood%netscape.com 593182ed37 These files have been moved into xpcom/glue
Bug #120474 r=dougt
2002-02-08 07:22:47 +00:00
seawood%netscape.com 08131bce87 Move nsDebug.* & nsWeakReference.* into xpcom glue lib.
Bug #120474 r=dougt
2002-02-08 06:35:15 +00:00
dougt%netscape.com 5ae41603ca Oversight not making nsISupportsWeakReference also frozen. bug 48726, r=dougt, sr=rpotts@netscape.com 2002-02-08 05:23:06 +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
timeless%mac.com 8ca24bdabc Bug 52037 w/ w95osr2 and beyond you can get freediskspace for a full path (eg UNC Paths).
The code will use the Ex API if available.
With this change the function should get the correct freespace numbers for submounts and junction points (introduced in w2k).

r=dougt sr=dveditz
2002-02-07 14:46:10 +00:00
brade%netscape.com 39ee6aae6d optimization (don't call writer with 0 bytes); bug 122221; r=akkana, sr=darin 2002-02-07 14:19:32 +00:00
dougt%netscape.com 74e6a6c37f Fix for 103518. Call module destructor function *after* destroying factories. submitted by Henry.Jia@sun.com, r=dp/dougt, sr=alecf 2002-02-06 20:47:37 +00:00
dougt%netscape.com c33ce3b107 backing out. not part of 122523 bug fix 2002-02-06 20:42:02 +00:00
dougt%netscape.com 4730db4701 Optimization which gathers stat() info when opening a file. bug 122523, r=dp@netscape.com, sr=dveditz@netscape.com 2002-02-06 20:40:40 +00:00
hwaara%chello.se b43881a519 #123347, "Remove #if 0-ed nsPrintfCString::GetReadableFragment()",
#123354, "Remove nsAFlatString.cpp and nsDependentString.cpp"

r/sr=jag, shaver
2002-02-06 15:39:52 +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
dougt%netscape.com 813f756c7f Fixing calling conventions of NS_IMPL_THREADSAFE_RELEASE. Submitted by Tobias Oberstein. r=me, sr=jband@netscape.com. 2002-02-05 03:34:44 +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
dougt%netscape.com 995a1f3985 Adding comments to the nsIGenericFactory file. bug 123442. r=gagan@netscape.com, sr=alecf@netscape.com 2002-02-05 01:38:43 +00:00
ccarlen%netscape.com 889724c429 Bug 121235 - Freeze nsIDirectoryServiceProvider2. r=dougt@netscape.com/sr=jband@netscape.com 2002-02-04 13:10:54 +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
jband%netscape.com cfecd64ca5 Add support for chaining 'additional managers' to the global interface info manager. This includes weakref support. This system allows us to dynamically aggregate interface info managers to support systems like SOAP. Clients of the interface info manager can traverse that list of additonal managers (if any are present) or ignore it. This fixes bug 103805. r=dbradley sr=vidur. 2002-02-03 00:56:16 +00:00
dougt%netscape.com 24a9811989 backing out my optimization 2002-02-02 03:20:01 +00:00
darin%netscape.com b7e3fa3d4c should fix btek bustage 2002-02-02 02:49:52 +00:00
dougt%netscape.com 0a1343fef5 fixes 122892. Optimization Clone of nsLocalFile. Instead of reiniting object, we use default c++ copy construction. r=ccarlen@netscape.com, sr=dveditz@netscape.com 2002-02-02 01:25:57 +00:00
jaggernaut%netscape.com d089c910d6 Bug 122083: Typing "v", "vi", "vie" ... "view-source" into URL bar and pressing enter freezes Mozilla. r=dbradley, sr=alecf 2002-02-01 14:22:22 +00:00
alecf%netscape.com 634e2f6f0c one more part of fix for bug 107575, including the much coveted whitespace
remove aIgnoreCase parameter from all nsString and nsCString consumers
sr=jag, r=shaver
2002-02-01 01:53:09 +00:00
pete%alphanumerica.com 9e6ea99a97 r=dougt
This file is very old and very outdated. Please use jslib for local file i/o
jslib.mozdev.org.

Not part of the build

--pete
2002-02-01 00:30:25 +00:00
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
alecf%netscape.com 0c69f6d840 move UTF8traits to the public realm for later consumption
r=dbaron r=jag (the string experts)
for bug 110531
2001-11-29 02:53:48 +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
pete%alphanumerica.com 188c2ca38d b=92569, r=dougt, sr=brendan
nsLocalFileUnix cleanup part two.
nothing but white space and comment cleanup

--pete
2001-11-29 00:07:10 +00:00
pete%alphanumerica.com d453b8de4a b=92569, r=dougt, sr=brendan
nsLocalFileUnix general clean up

--pete
2001-11-28 15:12:14 +00:00
dbaron%fas.harvard.edu 2337f74d47 Copy my comment changes from nsAString to nsACString. b=104663 r=jag sr=scc 2001-11-28 06:06:43 +00:00
dbaron%fas.harvard.edu 88c03c4196 Make nsSharable[C]String writable by overriding appropriate methods. Ensure that it doesn't store null buffer handle pointer internally, and override get() on nsXPIDL[C]String for backwards-compatibility. Collapse nsSharedBufferHandle and nsFlexBufferHandle into nsSharedBufferHandle which knows its length but can't have a storage start distinct from its data start. Convert string users who were working around broken nsSharableString::Assign back to using it. b=104663, 100751, 74726 r=jag sr=scc 2001-11-28 05:22:57 +00:00
jst%netscape.com 16afd7e663 Checking in alecf's fix for bug 112209, string code performance regression. r=dbaron@netscape.com, sr=jst@netscape.com 2001-11-28 04:59:29 +00:00
dbaron%fas.harvard.edu 7c235cc01c Make XPCOM_BREAK_ON_LOAD work on mach-o build. b=111519 r=beard sr=sfraser 2001-11-28 03:52:34 +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
dbaron%fas.harvard.edu 7636228d8f Fix bustage. 2001-11-28 01:26:26 +00:00
dbaron%fas.harvard.edu e667459c2d Use an add instead of a load to link the stack frames correctly since something seems to be clobbering the first linking pointer. Just add 8 instead of adding 4 in two places. Copy comments over from mac version. b=108646 r=sfraser sr=beard 2001-11-28 01:24:06 +00:00
dougt%netscape.com 964fc45892 remove nsIShutdownListener. r=dbaron, sr=alecf, bug 99152 2001-11-28 00:57:53 +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
blythe%netscape.com e916dcd71f Fix bug 112196
win32 symbols now work for trace-malloc
r=dbaron,sr=brendan
2001-11-27 22:54: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 c4e00ed868 Removing timeline marks. These dont provide much information 2001-11-27 01:55:55 +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
jband%netscape.com cda2c04234 fix bug 100187. This is Vidur's patch to expose the interfaceinfomanager as a service accessible via the service manager. r=dbradley sr=jband 2001-11-26 22:31:39 +00:00
blythe%netscape.com 4d6ff15219 Fix bug 110807, newlines on win32 trace-malloc tools
sr=brendan,r=dbaron
NOT in normal build
2001-11-26 21:10:45 +00:00
ccarlen%netscape.com 659aee3629 Bug 110660 - MOZ_PLUGIN_PATH not added to plugin search paths. r=peterl/sr=jband 2001-11-26 15:54:38 +00:00
timeless%mac.com 7873addd19 Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan
2001-11-26 08:05:05 +00:00
jaggernaut%netscape.com 2ee5922003 Bug 103662: Allow wide concatenation of defined string constants, r=dbaron, sr=scc 2001-11-26 05:59:35 +00:00
brendan%mozilla.org 67757c13c3 Break self-cycle to fix leak (106860, r=dbaron, sr=bienvenu). 2001-11-26 01:20:31 +00:00
dbaron%fas.harvard.edu 23be073c53 Enable the gcc3 version of the sparc/solaris xptcinvoke code. r=cls sr=shaver b=71627 2001-11-25 23:29:29 +00:00
dbaron%fas.harvard.edu de3fd8ccd2 Cleaning up comment style per shaver's sr comments. b=71627 2001-11-25 23:15:01 +00:00
bzbarsky%mit.edu 0b19fcf775 Use <> for system headers, not "". This should help prevent Sun WSU2
compiler bustage.  Bug 111574, patch from Roland Mainz
(<Roland.Mainz@informatik.med.uni-giessen.de>), r=bzbarsky, sr=bienvenu
2001-11-23 22:36:54 +00:00