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

5783 Коммитов

Автор SHA1 Сообщение Дата
law%netscape.com 4713043e58 Fixing build bustage 2002-09-13 23:06:10 +00:00
timeless%mac.com 173d3e4bf1 Bug 155413 nsIClassInfo crash [@nsGenericFactory::GetHelperForLanguage] mInfo is null
r=dougt sr=dveditz
2002-09-13 22:36:48 +00:00
chak%netscape.com 033b7f3ce7 Fix for #168255 - Change references to MRE into GRE in XPCOM/Embedding
r=dougt, sr=alecf
2002-09-13 22:18:43 +00:00
dougt%netscape.com a3a325b2e9 Moving frozen interfaces to SDK per http://www.mozilla.org/projects/embedding/HowToFreeze.html. 2002-09-13 21:39:07 +00:00
dougt%netscape.com fc5cfbc845 Fixes compiler warnings. b=168396, r=dougt, sr=dveditz. patch by walk84@yahoo.com 2002-09-13 19:55:02 +00:00
dougt%netscape.com 6c6a5e01a8 Adding null checks. patch by timeless, r=me 2002-09-12 19:35:49 +00:00
bryner%netscape.com aec851c4a7 Remove nsAVLTree.cpp to fix mac bustage from alecf's checkin (bug 124182). 2002-09-12 08:36:17 +00:00
alecf%netscape.com cf32a5293b fix bug 124182 - move nsAVLTree into htmlparser, since it is the only consumer
r=harishd, sr=jst
2002-09-12 04:52:01 +00:00
alecf%netscape.com b2ef8b0375 first cut at freezable array interface
not part of build
2002-09-12 04:37:51 +00:00
danm%netscape.com 105a88fa26 just because an observer supports weak refs doesn't mean it is one. (found while leak hunting in) bug 166442 r=jag,jst 2002-09-11 02:35:26 +00:00
roc+%cs.cmu.edu 86f18db9c0 Bug 167351. Move z-index topmost bit processing into the z-index sorter; keep view tree in document order. r=kmcclusk,brendan, sr=kin 2002-09-11 02:33:43 +00:00
dougt%netscape.com ab3dc7358c Moves nsIComponentRegistrar into the SDK. r=darin, sr=alecf, a=asa, b=167577 2002-09-09 21:35:25 +00:00
dougt%netscape.com 70d33d9112 removing c++ comment style from nsError.h 2002-09-07 20:07:57 +00:00
dougt%netscape.com 03e939c989 Fixes irix bustage. I am guessing that their compiler doesn't like the contraction don't. 2002-09-07 18:27:04 +00:00
dougt%netscape.com c5e8f896cd 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com d94b37c68a Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
pete%alphanumerica.com 6eba4ecdec b=121489, r=dougt, sr=bzbarsky
Simple fix for nsIFile GetParent to return null when already at the top of the volume
Thanks guys for the speedy review.

--pete
2002-09-07 02:00:31 +00:00
dougt%netscape.com 07735d934c Fixes many compiler warnings from xpcom/ds/nsVoidArray.h. r=dougt, sr=darin, patch=colin@theblakes.com, a=asa, b=166427 2002-09-05 21:57:52 +00:00
timeless%mac.com f7346afa66 Bug 166371 Crashes at [@ nsThreadPool::Shutdown] in Trunk, N700
r=bz sr=darin
2002-09-04 06:45:10 +00:00
dougt%netscape.com 1b5393cc6f moving nsISupportsPrimitives.idl to SDK section per HowToFreeze doc 2002-09-04 00:18:10 +00:00
dougt%netscape.com b057a17863 Makefile changes 166426 2002-09-03 23:47:42 +00:00
dougt%netscape.com 1e88e63abf typo 2002-09-03 23:41:27 +00:00
dougt%netscape.com c1b9f8114d Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
dougt%netscape.com 6055a8b83e Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:08:17 +00:00
darin%netscape.com cbfea1a17b fixes bug 151843 "nsIFile::Append inconsistent across platforms" r=dougt sr=alecf 2002-09-03 22:40:45 +00:00
timeless%mac.com 44ef3cdbcc Bug 156633 replace PR_CurrentThread with PR_GetCurrentThread
patch by riceman+bmo@mail.rit.edu r=morse,dougt,dveditz,timeless sr=dveditz
2002-09-03 14:51:05 +00:00
timeless%mac.com 9a8680079f Bug 161945 clean up simple mac build warnings
r=dbradley sr=bz
2002-09-02 21:26:11 +00:00
bryner%netscape.com 6a2996dcfc Switch to building in browser/app and linking with libxulapp_s, instead of building in xpfe/bootstrap, for Phoenix. Remove some MOZ_PHOENIX #ifdefs that are no longer needed. Not part of the normal build. 2002-09-02 04:03:07 +00:00
dougt%netscape.com 4258a4dab3 Linux/SPARC w/GCC3 xptcall broken. r=dougt, sr=shaver@mozilla.org, b=144368, patch by davem@redhat.com. 2002-08-31 19:13:50 +00:00
dougt%netscape.com c2afcd3612 Linux/PPC g++-3 ABI support for XPCOM. r=me, sr=shaver@mozilla.org, b=142594. 2002-08-31 19:08:57 +00:00
timeless%mac.com 0ffb2cdfb5 the main bustage was ds requiring io which it can't do, so we'll try to forward declare it instead.
cross your fingers.
2002-08-30 18:48:57 +00:00
timeless%mac.com 21fecf528a tinderbox bustage missing */ caught by kdc on #mozilla 2002-08-30 18:43:32 +00:00
alecf%netscape.com 48d6339e8b marking these interfaces as UNDER_REVIEw now that they are in the API that we think we want, future documentation forthcoming
comment-only change, no review
2002-08-30 17:35:05 +00:00
alecf%netscape.com 46ad72ae46 followup comments for bug 164575 that I forgot to add per timeless's request
(comments only, documenting an unfrozen interface - no review)
2002-08-30 17:33:55 +00:00
alecf%netscape.com c55e29c5fe fix for bug 164575 - clean nsIPersistentProperties interface to reduce UTF8/UCS2 conversions
r=dougt, sr=darin
2002-08-30 17:13:34 +00:00
alecf%netscape.com c45ca35d3d fix for bug 164633 - add ssprintf for formatting strings into nsAStrings
r=dougt, sr=darin
2002-08-30 15:44:35 +00:00
dougt%netscape.com 1c7f0f1c9a Fixes 165561. r=me, sr=darin, by=pete collins 2002-08-29 23:11:20 +00:00
kmcclusk%netscape.com 0004bc9c1e On WIN32 only, changed native dispatch of PLEvent notification to use timers instead of Posting WM_APP messages when user input or painting is starved to solve UI Lockup and paint starvation when loading large files from the cache or locally b=157144 r=dougt@netscape.com sr=kin@netscape.com 2002-08-29 23:04:14 +00:00
jkeiser%netscape.com 1cc752dbaf Make anonymous content inaccessible to web content (bug 164086), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-29 04:05:39 +00:00
bbaetz%student.usyd.edu.au e6efe12743 Backing out jkeiser's checkin for bug 164086 (not bug 96537) because he
left a file out, and the tree turned red....
2002-08-28 10:13:28 +00:00
jkeiser%netscape.com f9f5ddfac8 Make anonymous content inaccessible to web content (bug 96537), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-28 08:19:43 +00:00
alecf%netscape.com 78911bf128 fix for bug 164577 - make the nsManifestLineReader include lengths from ParseLine() so that consumers can avoid calling strlen() on them
(tiny startup perf fix for reading in xpti.dat)
r=dougt, sr=darin
2002-08-27 18:32:12 +00:00
alecf%netscape.com 767fe96a24 hmmm...backing out my change on unix only to if memcmp() is actually SLOWER
(its faster on windows!)
2002-08-27 02:56:06 +00:00
dougt%netscape.com d0dc56776f exports frozen interface to dist/sdk using new SDK variable. 164717. r=cls, sr=alec 2002-08-27 01:05:21 +00:00
alecf%netscape.com 5d2a2e5fef bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin
2002-08-26 21:20:34 +00:00
alecf%netscape.com 68ba121d50 fix bug 164540 - make nsID::Parse faster by using memcmp
r=bbaetz, sr=darin
2002-08-26 20:47:34 +00:00
dougt%netscape.com d9188b4471 Freezes the nsIProperties interface. 162114. r=ccarlen, sr=alecf. Freezes the mozIJSSubScriptLoader interface. 157136. r=rginda, sr=alec. 2002-08-26 20:36:44 +00:00
shanjian%netscape.com 11926238f0 #41425 UTF-8 converter gets surrogates wrong
correct unicode upper boundary
r=ftang, sr=blizzard
2002-08-26 20:32:13 +00:00
bryner%netscape.com 87118aa4b0 Ignore copied source files. 2002-08-26 09:02:31 +00:00
bbaetz%student.usyd.edu.au 70d70e79c7 Bug 142072 - Don't free a loginfo structure which we don't own (nspr does)
r=wtc, sr=bryner
2002-08-25 05:55:50 +00:00
chak%netscape.com 8f10068389 Fix for #149208 - NS_InitEmbedding() uncoditionally calls AutoRegister
[When this fix was originally checked in, it broke registration of
components in the MRE dir. This patch fixes it]
r=darin, sr=bryner
2002-08-22 23:04:04 +00:00
alecf%netscape.com 2e2b0b7c76 fix for bug 159328 - submit broken in some locales - use locale-insensitive tolower()
r=jag, sr=dbaron
2002-08-19 22:17:13 +00:00
bryner%netscape.com 1acf5f0288 Missed one instance of <new.h> for bug 155852. r=cls. 2002-08-19 05:19:22 +00:00
bryner%netscape.com d96798d50e Get rid of gcc3's numerous warnings about using <new.h> instead of <new> by creating a new #define, NEW_H, which should be used instead of <new.h> or <new>. This is so we can continue to support a couple of braindead compilers that don't accept <new>. Bug 155852, r=cls. 2002-08-19 03:50:27 +00:00
alecf%netscape.com b39e01b285 argh, back myself out because it causes xpcomglue bustage 2002-08-16 15:24:58 +00:00
alecf%netscape.com 1793ec9a39 fix bug 159328, and probably bug 146673 - use locale-insensitive string comparisons in strings so we don't break when doing case-insensitive matching of simple ASCII strings in non-US locales, like "SubMIT" != "submit"
r=brade, sr=dbaron
2002-08-16 14:35:48 +00:00
jst%netscape.com 16a5b4de73 Fixing part of bug 96108. Don't ask for items in an empty nsVoidArray, and speed things up a bit too. r=pavlov@netscape.com, sr=brendan@mozilla.org 2002-08-15 21:00:58 +00:00
dbaron%fas.harvard.edu 6a9d9c376c Use PRSize to fix alignment problems on some platforms, although it doesn't guarantee a fix for all platforms. Patch from <scooter@gene.com>. b=160535 r=dbaron sr=alecf 2002-08-14 12:47:18 +00:00
henry.jia%sun.com 29ab56f04c fix of Patch for Bug 75081: nsCString::FindChar is stupid. Extremely stupid
Patch by bratell@lysator.liu.se
Fix by Henry.Jia@sun.com
r=bryner
2002-08-14 05:37:48 +00:00
henry.jia%sun.com 016fa29739 fix of Patch for Bug 75081: nsCString::FindChar is stupid. Extremely stupid
Patch by bratell@lysator.liu.se
Fix by Henry.Jia@sun.com
r=jag, sr=alecf
2002-08-14 05:06:09 +00:00
henry.jia%sun.com a91d8eb112 Patch for Bug 75081: nsCString::FindChar is stupid. Extremely stupid
Patch by bratell@lysator.liu.se
r=jag, sr=alecf
2002-08-14 04:13:38 +00:00
dougt%netscape.com 3a6371556a Fixes NS_InitEmbedding unconditionally calls AutoRegister. This also removes xpinstall from using component.reg which I believe is the last users of this file. r=chak,dveditz sr=bryner b=149208 2002-08-12 22:09:25 +00:00
seawood%netscape.com 97fd6e4aed Removing unused defines:
_IMPL_NS_BASE (bug #162142)
_IMPL_NS_GFXONXP (bug #162145)
_IMPL_NS_UI (bug #162183)
B_ONE_M (bug #162196)
XP_NEW_SELECTION (bug #162230)
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.
2002-08-12 13:35:18 +00:00
timeless%mac.com 14cab8b86f Bug 162236 nsFileSpec should be deprecAted not deprecIAted
r=bbaetz rs=bzbarsky
2002-08-12 03:13:57 +00:00
dbaron%fas.harvard.edu 7a0ec98e6f Remove unneeded checks due to unsigned parameters. b=156908 r=dougt sr=darin 2002-08-11 18:02:59 +00:00
seawood%netscape.com ca08c410e5 Remove unused _IMPL_NS_GFXNONXP define.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #162117 r=cls
2002-08-11 05:46:21 +00:00
gerv%gerv.net ee117885c5 Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan. 2002-08-10 08:39:43 +00:00
seawood%netscape.com 8ae6c40f5d Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
blythe%netscape.com 7938163e25 fix crash in bug 119034
r=timeless,sr=darin,a=asa
Simple NULL check, safe
2002-08-10 00:25:39 +00:00
dougt%netscape.com f22f9d08c6 MRE based clients crash when the components dir not present, r=chak, sr=alec, b=160404 2002-08-09 04:31:58 +00:00
dougt%netscape.com 747cfeb781 Attempting to fix the idle time topcrash. b=155447, r=pavlov, sr=dveditz 2002-08-09 04:03:45 +00:00
alecf%netscape.com 4718febd3c bug 161716 - stop exporting nsStr from xpcom.dll
r=dougt, sr=jag
2002-08-08 18:59:54 +00:00
dougt%netscape.com 031a07efc4 Freeze nsIScriptableInputStream. r=rginda, sr=darin 2002-08-08 05:09:03 +00:00
dougt%netscape.com 15a5bc9daa Fixes HP bustage in xpcom. patch by pkw@austin.ibm.com, r=dougt, sr=alecf 2002-08-08 04:58:54 +00:00
dbradley%netscape.com a280fdba2a Bug 153034 - FreeBSD 5.0-current's gcc uses thunks. r=jesup, sr=jst 2002-08-07 23:50:46 +00:00
brendan%mozilla.org bfcad6929a Fix a macro name (LIMIT, not MAX -- fencepost, not maximum value; r=lumpy, sr=jack). 2002-08-07 20:22:38 +00:00
hyatt%netscape.com ce802fb5dc ifdefs for phoenix. 161448. not part of main mozilla build. 2002-08-07 09:26:30 +00:00
seawood%netscape.com fdafe18afe Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
jkeiser%netscape.com 71f58218a9 Add generalized macro-based PLDHashTable C++ wrapper (bug 125849), r=alecf, sr=brendan 2002-08-06 04:15:10 +00:00
bzbarsky%mit.edu a21fb3e54b Doh. There's more bustage in this file. 2002-08-06 01:47:23 +00:00
bzbarsky%mit.edu f11bc7efc8 fix bustage 2002-08-06 01:32:51 +00:00
alecf%netscape.com 3703f3c61b bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
dougt%netscape.com 7199335d87 Freezes nsAString, nsACString, nsAUTF8String. r=dougt, sr=alecf, a=brendan b=125389 2002-08-01 17:52:56 +00:00
bryner%netscape.com 4d7d4c4470 Removing unused NS_DOM/_IMPL_NS_DOM and NS_INTL/_IMPL_NS_INTL defines (bugs 160248 and 160253). Patch for 160248 by walk84@yahoo.com, r=me&cls; patch for 160253 by me, r=cls. 2002-07-31 20:53:46 +00:00
bryner%netscape.com b6428cc235 Remove obsolete NS_BASE and _IMPL_NS_BASE, and unused/obsolete source files nsStdFileStream.* (bug 160052). r=cls, sr=alecf, a=asa. 2002-07-30 21:30:05 +00:00
bryner%netscape.com b1bd8f1222 Remove obsolete _IMPL_NS_NET and NS_NET defines (bug 159887). r=cls, sr=bzbarsky, a=asa. 2002-07-30 02:25:08 +00:00
katakai%japan.sun.com a3b40ce032 bug 153562
crash trashes user directory, requires new profile
avoid BOM at iconv() for Solaris platform
patch from jk@tools.de
a=asa,r=Roland.Mainz@informatik.med.uni-giessen.de,sr=darin
2002-07-30 00:58:36 +00:00
ccarlen%netscape.com 002465ca44 Bug 149785 - nsHashTable hides important functionality of PLHashTable. r=brendan@mozilla.org/sr=alecf/a=brendan 2002-07-29 22:48:15 +00:00
seawood%netscape.com 5e44f10ac1 Update standalone xpcom instructions to use proper configure option.
Documentation change.
2002-07-29 20:29:30 +00:00
dougt%netscape.com 22c5566ac3 ProxyObjectCallInfo class is exported by many dso. r=darin, sr=alec, a=asa, b=158932 2002-07-25 20:13:06 +00:00
dougt%netscape.com c165e20c89 nsICollection's nsQueryElementAt class is exported. r=darin, sr=alec, a=asa, b=158931 2002-07-25 20:12:18 +00:00
alecf%netscape.com ab7922b195 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
jdunn%netscape.com 146a770f0d moving extern statement out of function scope to fix bustage
r=dougt@netscape.com
sr=rpotts@netscape.com
a=asa@mozilla.org
# 141359
2002-07-25 14:21:00 +00:00
timeless%mac.com 5e515f78a4 Bug 158092 Mozilla for BeOS is unable to show in browser proper international file/folder names.
patch by sergei_d@fi.tartu.ee r=timeless sr=darin a=asa
2002-07-24 00:01:31 +00:00
alecf%netscape.com eb04da966b more prep for bug 119923 - use chrome registry ContractID rather than CID, so that we can drop in a new embedding-only chrome registry
r=bnesse, sr=dveditz, a=asa
2002-07-23 23:30:04 +00:00
dougt%netscape.com 95b3ecc152 compreg.tmp is written out on every startup. r=rjc, sr=alec, a=scc 2002-07-19 21:12:04 +00:00
dougt%netscape.com 02db39c745 attempting to fix the AIX bustage 2002-07-18 14:38:07 +00:00
dougt%netscape.com 03d01bd59f backout out change 2002-07-18 07:19:45 +00:00
dougt%netscape.com 7e5467a791 Dynamic loading is failing on linux. disabling 2002-07-18 06:49:48 +00:00
dougt%netscape.com ee613011bc Fixes the following:
154047
This change cleans up the category manager in hopes to freeze it for 1.1 final.  This change removes dead and unsupported methods from the interface as well as removes the C++ code from the interface.  This should land for 1.1b since users of the current category manager will have to update their components.

157597
Make embedding base and examples use XPCOM Glue
This change makes our embedding samples use the XPCOM glue.

157625
nsLocalFile::Remove's file pointer is sometimes null afte...
This fixes a crash when we dereference null.  It is a bandaide fix as the real problems involves retooling the directory enumerator.

157801
This fixes a terrible state which you can get into whereby XPCOM will fail to startup regardless of what you do.  The fix is to cause autoreg to happen if the component registry (compreg.dat) is not found.

r/sr=alecf@netscape.com, rpotts@netscape.com.  a=scc@mozilla.org
2002-07-18 05:09:10 +00:00
seawood%netscape.com 7924fa60a6 Remove DARWIN define from osx builds as it cripples the feature set provided by OSX headers.
Bug #154232 r=wtc sr=scc a=scc
2002-07-18 04:09:30 +00:00
mkaply%us.ibm.com eb39c86819 #157770
r=dougt, sr=blizzard, a=asa
OS/2 only - up the numbre of file handles when starting Moz, and handle specific error with DosCopy
2002-07-17 05:46:34 +00:00
bryner%netscape.com 804b5f0928 Rework the x86 unix + gcc xptcall implementation to speed it up and allow it to work with gcc 3.1 (bug 140412). Patch by drepper@redhat.com, r=shaver, sr=blizzard. 2002-07-16 23:05:11 +00:00
jfrancis%netscape.com ec0aba4f7d fix for Bug 154932: Mozilla will not start on MacOS 8.6 if filesharing is on. Corrected the construction of an FSSpec in nsDirectoryService.cpp r=ccarlen sr=sfraser 2002-07-16 22:17:56 +00:00
dougt%netscape.com 2047dfd9e1 Fixing bug 157192. r=me, sr=dbaron, a=asa. 2002-07-15 23:32:36 +00:00
dougt%netscape.com 7da7780eac nscore.h has unreachable MSVC #defines (mutually exclusive nested #if), r=dbaron sr=scc a=superfly asa 2002-07-12 21:08:56 +00:00
alecf%netscape.com 7a408d91af bug 66759 - finally remove XPCOM_STANDALONE completely
r=dougt, rs=brendan, a=asa
2002-07-12 19:14:35 +00:00
brendan%mozilla.org e4e1027fe4 Oops, deal with PRInt64 operand to NS_SWAP64 (followup to last checkin). 2002-07-10 05:18:58 +00:00
akkana%netscape.com ea69bab297 Backing out the fix for 154753, which caused a crash at shutdown. sr=sfraser 2002-07-10 04:05:56 +00:00
timeless%mac.com d04b6c169f Bug 154753 nsExceptionService ignoring thread destruction after shutdown
r=dougt sr=smfr
2002-07-10 00:51:25 +00:00
dp%netscape.com 70728c6abf bug 156320 Acquire lock before checking not-used-list (not
after). Fixing topcrash. r=dbaron
2002-07-09 13:48:03 +00:00
brendan%mozilla.org 0e37353998 Avoid aliasing differently-typed pointers in NS_SWAP64 (142869, r=dbaron, sr=ben). 2002-07-09 03:37:50 +00:00
bryner%netscape.com 122b978d08 Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag. 2002-07-08 07:56:50 +00:00
timeless%mac.com bea9f48808 Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk
2002-07-04 14:29:25 +00:00
seawood%netscape.com a384861cd4 The c++ standard requires that the throw list be used when declaring functions as well as defining them.
commercial compiler fixes for bug #149032
2002-07-03 17:14:41 +00:00
dp%netscape.com 5bd251ee48 Trying to fix Irix and HPUX bustage. Defining CPP_THROW_NEW at point
of declaration too.
2002-07-02 22:38:16 +00:00
seawood%netscape.com 8f6f1756ce Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dp%netscape.com ab0c09c527 bug 146532 Making Init() non-virtual (thanks dbaron for suggestion) 2002-07-02 18:11:53 +00:00
mkaply%us.ibm.com 11170c4175 Os/2 bustage 2002-07-02 04:26:18 +00:00
dbaron%fas.harvard.edu 11c57fc998 Attempt to fix BeOS bustage. b=148046 2002-07-02 04:07:20 +00:00
dbaron%fas.harvard.edu 32fd92c082 Attempt to fix Sun WorkShop bustage. b=146532 2002-07-02 03:43:33 +00:00
dbaron%fas.harvard.edu 5c617a433e Attempt to fix HP-UX and OS/2 bustage. b=146532 2002-07-02 03:42:11 +00:00
mkaply%us.ibm.com ec171df2f7 Fix Os/2 bustage for now - I've no idea why. I need to build a testcase 2002-07-02 03:34:12 +00:00
dp%netscape.com 583c374bfa bug 146532 Improving recycling allocator
- Uses freelist
- 1 int overhead to store size
- nsIMemory wrapping
r=dougt, sr=darin
2002-07-01 23:36:03 +00:00
dougt%netscape.com 969c4c4049 More XPCOM Glue changes and fixes. Makefile change which can land since 154319 is fixed. r=waterson, sr=rpotts. bug 154319 2002-07-01 22:22:06 +00:00
dougt%netscape.com bd1327f962 XPCOM_GLUE nsTraceRefcnt problems. r=dp, sr=jag. bug 154319 2002-07-01 22:19:01 +00:00
dougt%netscape.com e09380bfb2 Damn the nmake build system and the mac. 2002-07-01 21:39:18 +00:00
dougt%netscape.com 58e0d06383 backing out last makefile change 2002-07-01 21:13:22 +00:00
dougt%netscape.com 483ea2622a More XPCOM Glue changes and fixes. r=waterson, sr=rpotts, 154262. missed this. 2002-07-01 21:11:47 +00:00
dougt%netscape.com 74a68876ce More XPCOM Glue changes and fixes. r=waterson, sr=rpotts, 154262. 2002-07-01 20:37:17 +00:00
dbaron%fas.harvard.edu ab8f3df2f6 Fix excessive fastload file invalidation with some versions of gcc by fixing aliasing bug in NS_SWAP64. Patch by me, with tweaks by brendan. b=142869 r=bryner sr=brendan 2002-06-29 05:13:59 +00:00
mkaply%us.ibm.com 157f35522c #154680
r=mkaply, sr=jag
Wrong default offset passed into RFind - should be -1
2002-06-28 20:31:09 +00:00
alecf%netscape.com 52175eb77c add deprecation comment - now that we have a new guide.
doc only, no code, no review
2002-06-26 22:53:36 +00:00
alecf%netscape.com 192a3cb347 cleanup after the first fix for bug 154275 - handle errors better and get rid of mCount entirely
sr=jst, r=peterv
2002-06-26 19:36:24 +00:00
ben%netscape.com bc6eebc5de Fix for 86501 - bookmarks truncated when disk full
allow file streams to store and report on the status of the write operation.
r=darin, sr=brendan
2002-06-26 05:17:54 +00:00
alecf%netscape.com 6f70a3ba57 bug 154280 - remove unimplemented operators from nsISupportsArray
r=dougt, sr=dveditz
2002-06-26 03:48:08 +00:00
alecf%netscape.com e2f4a1a1ad make nsStaticNameTable use PLDHash rather than nsHashtable, to reduce startup allocations from 1315 to 2
r=dougt, sr=dveditz
bug 154275
2002-06-26 03:46:39 +00:00
alecf%netscape.com 083f85bb7c ack! fix check of entries to use PL_DHASH_ENTRY_IS_FREE() from my previous checkin to prevent tree closure tomorrow! 2002-06-26 03:43:43 +00:00
dbaron%fas.harvard.edu 2bf216c9e2 Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
dbaron%fas.harvard.edu c8d15f8787 xptcall porting changes for Darwin gcc3: account for different vtable layout and different symbol mangling, in ifdefs. r=bryner sr=beard b=153525 2002-06-26 03:01:02 +00:00
alecf%netscape.com 6410101f5d remove a bunch more dead code from XPCOM - stringstream stuff that nobody was using anyway
r=dougt, sr=dveditz
2002-06-26 01:40:31 +00:00
alecf%netscape.com a454b53bf4 fix for bug 153754 - make nsPersistentProperties (and thus string bundles) use PLDHash, saving some 1100+ allocations at startup.
r=dougt, sr=dveditz
2002-06-26 01:33:07 +00:00
dougt%netscape.com 053b3d78ac Fixing Mismatched new [] / delete []. r=me. bug=153584. patch from pj@ludd.luth.se. 2002-06-22 19:03:11 +00:00
bryner%netscape.com 9c28b9bcd8 Reorganize the Darwin xptcall code so that it works correctly with prebinding:
- Move all functions into the text section.
 - Use m4 to generate the StubNNN() functions in the .s file, so that we don't have to use an indirect call to SharedStub (which would clobber r12, where we pass the method index).
 - Use indirect calls for calling invoke_count_words and invoke_copy_to_stack from inside XPTC_InvokeByIndex.

Bug 151978, r=pavlov, sr=beard.
2002-06-22 00:09:55 +00:00
dougt%netscape.com d663907276 151604 - XPCOM Glue standalone stupport of dynamically loading symbols. r=dp/rpotts sr=alecf 2002-06-21 19:58:54 +00:00
bzbarsky%mit.edu 3fa8d76548 Change ToInteger to not silently drop '+' and '#' in mid-string. Bug
54142, r=timeless, sr=jag
2002-06-21 02:22:48 +00:00
alecf%netscape.com 48d9ab1d46 fix for bug 152929 - we were leaking 900+ nsFactoryEntry objects because they were not always allocated in an arena
(fixes a 75k leak on my system)
r=dougt, sr=dveditz
2002-06-20 21:22:50 +00:00
alecf%netscape.com c038919a40 fix bug 149102 - stop exporting some old unused methods from XPCOM, and get rid of nsOutputConsoleStream and consumers
also removing FilesTest from the build because its outdated, doesn't test anything useful anymore, and is the last consumer of nsOutputConsoleStream
r=dougt, sr=jag
2002-06-20 20:35:37 +00:00
shaver%mozilla.org 0630732461 Bug 76968: expand ~/ into NS_OS_HOME_DIR in nsLocalFileUnix. r=bzbarsky,
sr=blizzard.
2002-06-17 21:03:43 +00:00
seawood%netscape.com c61a26b5bb Fixing win32 gmake builds lack of debugging information problem by working around a combination MSVC & cygwin make deficiencies:
* We must use the full path to the source file when calling MSVC so that debugging information shows up in the object files.
* Because of cygwin's use of /cygdrive when using full paths, we must use a cygwin-wrapper script in some cases to allow native win32 programs to use a fully qualified cygwin path.
* We have to call configure using the full path so that $(srcdir) contains the
full path in the Makefiles. The rules have been changed for win32 so that it
always use $(srcdir)/$*.{c,cpp} as the sourcefile name even when the file is in
the cwd.  This works around both the /cygdrive issue and the msvc's path info
optimization.
* We still use the wrapper when calling rc.exe & nsinstall.  nsinstall
frequently takes multiple args and is called all over the tree so changing each
calling site is going to be expensive.	(I'll have to check  the logs again but
I think the rc wrapping can go.)
* nspr & ldap still use the wrappers for all native win32 progs.  Neither nspr
nor ldap uses the acoutput-fast.pl script to speed up the substitution of
@srcdir@ into their Makefiles so, makefile substitution will break if we use
dos-paths.
* In the handful of directories where we copy srcfiles from another directory
in lieu of using VPATHs, we have to now copy those files to $(srcdir) so that
the default rules can find them.
Bug #141834 r=leaf,wtc,dmose,mcs
2002-06-17 17:09:57 +00:00