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

1121 Коммитов

Автор SHA1 Сообщение Дата
dougt%netscape.com 735028e8f0 bustage fixed 2003-01-16 01:03:15 +00:00
dougt%netscape.com dd9d10adcb defining DemangleSymbol on all 'nix platform - fixing bustage 2003-01-16 00:24:56 +00:00
cltbld%netscape.com f62c828c34 Fixing bustage 2003-01-15 23:45:53 +00:00
dougt%netscape.com bee8d1c2ca This should fix the solaris bustage. 2003-01-15 22:01:04 +00:00
dougt%netscape.com 6508e0713e move nsTraceMalloc out of XPCOM. Factory out stackwalking code into new files. 189221 r=chak, 186585 r=blythe sr=dbaron. Most of this patch was contributed by seawood. 2003-01-15 20:40:06 +00:00
mkaply%us.ibm.com 178da70bab #166686
r=dougt, sr=bzbarsky
Assert if we try to malloc zero in nsMemory
2003-01-15 20:37:12 +00:00
dbaron%dbaron.org 88c249d811 Most of the changes needed for Mozilla to build with gcc's -pedantic-errors option. b=175423 r=seawood sr=bryner 2003-01-13 23:15:42 +00:00
dbaron%dbaron.org b9083989bb Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
dbaron%fas.harvard.edu a34c46af22 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
seawood%netscape.com d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
seawood%netscape.com 320e3d6e47 Add compiler test for external template specializations in c++ (assumed on for msvc)
Thanks to Benjamin Smedberg <bsmedberg@covad.net> for the patch.
Bug #184002 r=scc
2002-12-17 22:11:34 +00:00
sicking%bigfoot.com 8d87d5e285 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
brendan%mozilla.org c70d301f7e Fix up comments, overlong lines, NULL in C code, slight code simplification in log_filename (r/sr=blythe/dbaron). 2002-11-13 04:40:17 +00:00
seawood%netscape.com 57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
dbaron%fas.harvard.edu 5d187db3bb Make Linux stack walking code (DEBUG only) print library and offset information even when symbol is unavailable. b=174168 r=bbaetz sr=bzbarsky a=rjesup 2002-10-14 23:59:31 +00:00
caillon%returnzero.com 8e992f87ae Bug 170895. Reducing footprint. Use XPCOM aggregation to get at CSS2Properties.
r=dbaron sr=alecf
2002-10-03 19:41:42 +00:00
rpotts%netscape.com dc675a9675 bug #169583 (r=jst, sr=darin) URILoader should allow nsIContentHandler::DoContent() to fail... 2002-09-24 19:53:43 +00:00
timeless%mac.com f47184023c Bug 166775 Remove unused _IMPL_NS_APPSHELL defines
patch by walk84@yahoo.com r=bryner
2002-09-24 00:56:20 +00:00
timeless%mac.com dbd27fdbf7 Bug 165400 _IMPL_NS_PLUGIN unused
patch by walk84@yahoo.com r=biesi sr=bryner
2002-09-24 00:41:35 +00:00
dougt%netscape.com 5a515d3301 removing c++ comment style from nsError.h 2002-09-07 20:07:57 +00:00
dougt%netscape.com 127391f548 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 68faeb5241 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
alecf%netscape.com 94c1d39efc 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
alecf%netscape.com 7b1a6876d2 fix bug 164540 - make nsID::Parse faster by using memcmp
r=bbaetz, sr=darin
2002-08-26 20:47:34 +00:00
seawood%netscape.com 7d3dac5e9d 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 a6d4accdea 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 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
dougt%netscape.com a6b4b1a6c0 Fixes HP bustage in xpcom. patch by pkw@austin.ibm.com, r=dougt, sr=alecf 2002-08-08 04:58:54 +00:00
seawood%netscape.com 301b1a4ca8 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
bryner%netscape.com 7dafb891cc 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 d0cfcc1da2 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 caa52be426 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
dougt%netscape.com bd082469e9 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
akkana%netscape.com c25c2e428b 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 479b756af5 Bug 154753 nsExceptionService ignoring thread destruction after shutdown
r=dougt sr=smfr
2002-07-10 00:51:25 +00:00
dougt%netscape.com 9effd97abe 151604 - XPCOM Glue standalone stupport of dynamically loading symbols. r=dp/rpotts sr=alecf 2002-06-21 19:58:54 +00:00
dougt%netscape.com 74eb6d6381 nsIInterfaceRequestor.cpp has been moved to mozilla/xpcom/glue/. see 149715. r=rpotts@netscape.com, sr=shaver. 2002-06-11 19:41:44 +00:00
dougt%netscape.com 913bbb6f6c Fixes bugs 149745 148918 149715 149730 149754 129959. Cleanup of nsIFile and nsILocalFile interfaces, supporting do_GetInterface in embedding via xcom glue, and general cleanup of shutdown. r=various, sr=shaver@mozilla.org 2002-06-11 19:26:04 +00:00
sicking%bigfoot.com 71e038854c Fix for bug 132302: Return the right exception for DOM Range. Fix by peterv.
r=Pike, sr=jst
2002-04-10 13:38:30 +00:00
seawood%netscape.com f940144626 Remove xp_core.h & xp_mem.h and all build references to them.
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski
2002-03-27 06:02:39 +00:00
seawood%netscape.com c7bcd39c35 Remove files that have been repo-copied to xpcom/glue.
Bug #120474 r=dougt a=asa
2002-03-22 04:05:09 +00:00
dougt%netscape.com 40642fc34c 130405. Makes the xpcom glue library usable. Updates XPCOM Samples. Adds requires lines to a few implict string/category consumers sr=alecf, sr=brendan@mozilla.org a=asa@mozilla.org 2002-03-21 23:43:21 +00:00
seawood%netscape.com e1fb9d3dce Move the following files into the xpcom/glue dir:
nsGenericFactory.cpp
nsIGenericFactory.h
nsIInterfaceRequestorUtils.h
nsISupportsImpl.h
nsISupportsutils.h
nsIWeakReferenceUtils.h
Bug #120474 r=dougt a=asa
2002-03-21 09:36:47 +00:00
timeless%mac.com dec943eb10 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
peterv%netscape.com dd0cd87639 Fix for bug 103235 (Implement DOM Level 3 XPath WD). r=sicking, sr=jst, a=dbaron. 2002-03-14 12:18:04 +00:00
aaronl%netscape.com 5b96e558ae Fixes bug 66597, bug 103284, bug 114440, bug 120023, bug 128741, bug 19259. Cleans up browse with caret, makes it work with XML content docs, creates keyboard toggle for it (Accel+shift+K), synchronizes focus and document selection so that users can tab navigate relative to their last find or click in text, or vice versa, makes tabbing move relative to named anchor that has been jumped to. r=bryner, sr=alecf, a=asa 2002-03-10 06:21:48 +00:00
nisheeth%netscape.com 8872795d15 Fix for bug 125465. r=jag, sr=jband, a=asa. Add AString, ACString, and AUTF8String support to XPCOM's variant data type. Also, add forward declarations of AString and ACString to nsrootidl.idl. 2002-03-05 02:22:02 +00:00
dougt%netscape.com 0e918a76c3 127093. adds nsID.h nsISupportsBase.h nscore.h to sdk. r=seawood, sr=alecf,rpotts, a=shaver 2002-02-27 00:35:06 +00:00
seawood%netscape.com 0df019b037 This patch:
* Changes MOZ_TRACE_MALLOC ifdefs to NS_TRACE_MALLOC ifdefs
* Links against the trace-malloc utils against libxpcom instead of just xpcomds
* Builds NSPR in debug mode on win32 if trace-malloc is enabled
* Adds a few "defined()" checks to diffbloatdump.pl so that it will work for
perl 5.6.1
* Adds a couple of checks for \r so that diffbloatdump.pl works on win32.

Bug #126915 r=bryner/dbaron a=asa
2002-02-26 09:26:10 +00:00
nisheeth%netscape.com 46db685f9a Fix for bug 84186. r=dbradley, jag. sr=jband. Added support for CStrings, UTF8String, and AStrings to XPIDL. Also added the -t cmd line flag to XPIDL and XPTLINK that allows us to generate output for a specific XPT version. The XPT version number is being upped from 1.1 to 1.2 with this checkin. 2002-02-26 01:41:42 +00:00
dougt%netscape.com 874111f277 Adding build SDK support. r=dougt, sr=alecf, submitted by seawood, a=asa 2002-02-25 23:20:01 +00:00
cathleen%netscape.com 8baf662f08 eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan 2002-02-20 06:38:38 +00:00
timeless%mac.com 92bbd3b2c2 Bug 124744 remove nsIPtr
r=bryner sr=alecf
2002-02-12 04:12:50 +00:00
seawood%netscape.com 4ee30c8ab4 Update manifest files in attempt to quell mac bustage.
Bug #120474
2002-02-08 08:04:34 +00:00
seawood%netscape.com afcf1ae54b These files have been moved into xpcom/glue
Bug #120474 r=dougt
2002-02-08 07:22:47 +00:00
seawood%netscape.com 57c7da4bc0 Move nsDebug.* & nsWeakReference.* into xpcom glue lib.
Bug #120474 r=dougt
2002-02-08 06:35:15 +00:00
dougt%netscape.com 7764c7455d Oversight not making nsISupportsWeakReference also frozen. bug 48726, r=dougt, sr=rpotts@netscape.com 2002-02-08 05:23:06 +00:00
dougt%netscape.com b5aa797464 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
dougt%netscape.com f8511b8746 fixing another type 2002-01-31 21:45:04 +00:00
dougt%netscape.com 52d3ac78bb Fixing typo 2002-01-31 20:43:22 +00:00
sfraser%netscape.com d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
mkaply%us.ibm.com 5550d64b88 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
kaie%netscape.com cc10ac2283 b=121570 Error code namespace needed for security component
r=dougt sr=jband
2002-01-25 15:17:25 +00:00
jdunn%netscape.com cd34d9887d 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
jst%netscape.com 74b270f1db 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
dougt%netscape.com b603c4b080 removing nsMemory.h. This file now lives in xpcom/glue. bug 120685 sr=jband, a=blizzard 2002-01-18 20:12:36 +00:00
dbaron%fas.harvard.edu f98bf884c6 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
dougt%netscape.com a2389a2171 Moving Memory Util functions into nsMemory. r=dmose, sr=jband, bug=119082 2002-01-11 20:12:22 +00:00
jdunn%netscape.com 061ee47034 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
blythe%netscape.com 00c321d9fb 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
danm%netscape.com 6af254041c additional macros to support aggregation. bug 113664 r=alecf,dougt 2001-12-26 21:30:20 +00:00
timeless%mac.com 61a97fd94a 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
dp%netscape.com cb3dce038a bug 113738 Cost of malloc into trace-malloc log r=blythe, sr=brendan 2001-12-15 00:24:12 +00:00
blythe%netscape.com b2f5ffeffc fix build bustage caused by recent checkin 2001-12-11 23:56:37 +00:00
blythe%netscape.com fbfee2b106 Fix bug 113958, win32 nsTraceRefcnt support.
r=dbaron, sr=brendan
2001-12-11 22:26:47 +00:00
blythe%netscape.com 1ef06c2bf5 Fix bug 114149, trace-malloc output platform specific
r=dp, sr=brendan
2001-12-11 22:21:50 +00:00
seawood%netscape.com 33ab7a9398 Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner
2001-12-09 07:05:12 +00:00
dougt%netscape.com 5cca684efc Bug 112262. Move nsMemory into the glue library. sr=rpotts, sr=jband. 2001-12-07 19:54:16 +00:00
dp%netscape.com 583f4cf74a 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 2f08cbd35b 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 bc26d6a0ca 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
blythe%netscape.com 046f20a06d 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
dp%netscape.com 626883283d 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 da13b4fc43 disabling unconditional printfs. 2001-12-02 05:39:49 +00:00
dbaron%fas.harvard.edu 1d5979eaf3 Fix typo. Not part of default build. 2001-11-30 22:03:28 +00:00
blythe%netscape.com f7fceef68c Fix bug 112196
win32 symbols now work for trace-malloc
r=dbaron,sr=brendan
2001-11-27 22:54:05 +00:00
blythe%netscape.com ed4ccb0a55 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
dbaron%fas.harvard.edu 28f8916d31 Changing |#ifdef DEBUG_dbaron| to |#ifdef DEBUG_dbaron_off| so I don't see these assertions anymore. 2001-11-22 23:19:33 +00:00
kaie%netscape.com 3e80341582 b=84947 New print dialog for Unix and OS/2
r=cls/rods/mkaply/pchen sr=roc+moz
Checking in for Roland.Mainz@informatik.med.uni-giessen.de
2001-11-22 10:00:44 +00:00
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
dbaron%fas.harvard.edu 9d6f0a2650 Allow nsTraceMalloc to build even when cplus_demangle isn't available (should fix bustage on Brad's tinderbox). Also use NS_PTR_TO_INT32 per Brendan's review comments on bug 106352. 2001-11-20 23:32:17 +00:00
timeless%mac.com 060425ec59 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
blythe%netscape.com c096dbbd8b Fix bug 108103, new tool SpaceTrace
SR,RS=brendan, SR=waterson, R=dbaron
2001-11-15 22:40:53 +00:00
dbaron%fas.harvard.edu dbd3c84701 Oops, meant to remove that incorrect comment. 2001-11-15 07:44:59 +00:00
dbaron%fas.harvard.edu 1cde573592 New, more portable (i.e., works for me, unlike the old code) Linux nsGetTypeName using dladdr. r=jag sr=waterson b=109829 2001-11-15 07:44:26 +00:00
blizzard%redhat.com 93f2b40fba null check in stack trace code so we don't crash on some systems. r=bryner, dbaron no bug number. 2001-11-09 16:18:56 +00:00
dbaron%fas.harvard.edu 02c4c775de Remove unused logging code. b=107510 r=jag sr=waterson 2001-11-03 05:45:27 +00:00
jst%netscape.com efbd5eb3f4 Fixing leaks in the exception service. Bug 108213. r=dbradley@netscape.com, sr=jband@netscape.com 2001-11-03 02:07:20 +00:00
dbradley%netscape.com 5cb0f9371f Bug 83426 - Remove DOM exception hack. r=jst, r=dbradley, sr=jband 2001-11-01 15:52:53 +00:00
dbradley%netscape.com 9b2bda104e Bug 101696 - interface with no uuid shouldn't parse. Patch adds a warning, does not prohibit it, and cleans up interfaces that are missing id's r=rginda, sr=jband 2001-11-01 05:04:35 +00:00
jband%netscape.com 84bfc894a4 add support for nsIVariant and nsIPropertyBag. bug 44675 and bug 98209. sr=vidur r=dbradley 2001-10-31 23:35:07 +00:00
dougt%netscape.com be63c1df0a 107630 Removing C++ cruft from nsIWeakReference.idl. Adding nsIWeakReferenceUtils.h. r=alecf@netscape.com, sr=scc@mozilla.org 2001-10-30 23:18:51 +00:00
dbaron%fas.harvard.edu d78da1a4e7 Removing remnants of warren's s/printf/PRINTF/ landing from the tree. b=94480 r=pavlov sr=darin 2001-10-30 06:57:09 +00:00
seawood%netscape.com 9b5ae05e33 Landing the rest of the mach-o OSX changes.
Bug #75653 r=cls sr=waterson
2001-10-27 07:38:18 +00:00
alecf%netscape.com 20a7381eac remove nsIAppShellComponent, not used anywhere
(not part of build)
2001-10-26 23:07:48 +00:00
dbaron%fas.harvard.edu e54e1386c3 Make it almost compile on MSVC++. Not part of the build. 2001-10-26 08:30:41 +00:00
dbaron%fas.harvard.edu df74076e39 Undoing accidental changes. 2001-10-26 07:17:41 +00:00
dbaron%fas.harvard.edu 9bd03d80e6 Add |release| and corresponding |operator=| and add equality operators that gcc3 doesn't need but MSVC does. Not part of the build. 2001-10-26 07:15:55 +00:00
rpotts%netscape.com 75524b1fee bug #85831 (r=hewitt@netscape.com, sr=jst@netscape.com) Javascript console hangs with the error this.Console.appendIten(...) not a function 2001-10-26 04:51:08 +00:00
dougt%netscape.com 8e3200f084 Freeze nsIMemory interface bug 99151 r=rpotts@netscape.com, sr=brendan@netscape.com 2001-10-26 00:09:22 +00:00
dbaron%fas.harvard.edu f882baf3ea Adding work in progress for new auto pointers in order to test easily on many compilers. b=104346 2001-10-25 04:09:38 +00:00
dougt%netscape.com 91b4b36d52 backing out changes to 104172. r=ccarlen@netscape.com 2001-10-23 03:50:24 +00:00
dougt%netscape.com b5ba390898 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527 2001-10-23 01:37:21 +00:00
dougt%netscape.com 0a62d4e8d5 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com 2001-10-22 22:01:27 +00:00
dougt%netscape.com d18d7e2b17 nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
cltbld%netscape.com 47aad7f715 Fixing build busted in --enable-bohem builds 2001-10-18 21:45:52 +00:00
dougt%netscape.com 4f3a44d63b API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147 2001-10-16 03:35:52 +00:00
av%netscape.com bef41bfad2 Bug 104309 -- moved ContractID string definition for memory service to the idl file, r/sr=jband, vidur 2001-10-13 20:40:40 +00:00
dbaron%fas.harvard.edu 9a4acbab7a Bug 45797: replace remaining uses of deprecated macros NS_IMPL_QUERY_INTERFACE and friends with NS_IMPL_QUERY_INTERFACE1 and friends and remove the deprecated macros. r=jag sr=alecf 2001-10-02 03:18:08 +00:00
dougt%netscape.com 7418239098 fixed 102460. Make NS_IMPL_THREADSAFE_ISUPPORTS work again sr=rpotts@netscape.com 2001-10-01 19:44:27 +00:00
seawood%netscape.com 4008d44ab5 Removing nsCOMPtr.{h,cpp} from xpcom/base. They have been copied (in the cvs repo) and are built in xpcom/glue.
Bug #99698
2001-09-30 03:30:29 +00:00
seawood%netscape.com d9d9f677b1 Split part of xpcom into separate xpcomglue library to be used for standalone builds eventually. Start with nsCOMPtr.*
Bug #99698 r=rpotts sr=alecf
2001-09-30 01:44:25 +00:00
seawood%netscape.com 6c557adaaf Split xpcom into separate xpcomglue library starting with nsCOMPtr.*
Bug #99698 sr=alecf
2001-09-29 23:03:39 +00:00
seawood%netscape.com ebc656947f Export nsCOMPtr.h from xpcom:glue instead of xpcom:base .
Bug #99698 sr=alecf
2001-09-29 12:31:09 +00:00
jaggernaut%netscape.com ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
mkaply%us.ibm.com 86343acb93 OS/2 bustage - we don't use _System 2001-09-27 16:04:44 +00:00
jdunn%netscape.com c6f6fd997c rulebrk.c includes this header, so we can't have c++
comment delims (//) we need to stick with c ones (/* ... */)
Fixing bustage!
2001-09-27 12:41:06 +00:00
dougt%netscape.com 65feecf8c3 fixing a missing } in the macro. r=sfraser@netscape.com 2001-09-27 04:49:38 +00:00
dougt%netscape.com 59a9a276ca Adding new files to the unix build. 2001-09-27 04:37:35 +00:00
dougt%netscape.com ca36b7718d reverting 99248. r=shaver|brendan@mozilla.org 2001-09-27 03:52:45 +00:00
dougt%netscape.com 8d512061e8 Landing nsISupports changes. Freezes nsISupports.idl and nsrootidl.idl. r=valeski@netscape.com, sr=rpotts@netscape.com bug 98281 2001-09-27 03:43:00 +00:00
dbaron%fas.harvard.edu 2d6d9601cd Fix build bustage. Not part of the default build. b=99248 2001-09-27 00:43:32 +00:00
dougt%netscape.com 65aec024ea uses strtok_r if avaliable. r=doug/cls, sr=rpotts, patch by drepper@cygnus.com. bug 99248 2001-09-25 23:31:27 +00:00
jaggernaut%netscape.com d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com 62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
vidur%netscape.com 86e32dfb99 Fix for bug 12189. Added NS_ERROR_MODULE_GENERAL as an return code base for non-core components that don't care if their return codes overlap. r=dougt, sr=rpotts 2001-09-12 20:43:49 +00:00
brendan%mozilla.org 3efd0e519f 1. Fix jsdhash/pldhash.[ch] so that add/remove cycles for a given k do not
create a long chain of removed sentinels.  Also, when adding k to a table
    where k is not mapped, but where k hashes to a chain that includes removed
    sentinels, recycle the first removed sentinel in the chain for k's entry.
2.  Cache cx->resolving till js_DestroyContext, to avoid high JSDHashTable
    new/destroy overhead in js_LookupProperty.
3.  Add NS_TraceStack to nsTraceMalloc.[ch] and clean the .c file up a bit.
2001-09-12 06:39:31 +00:00
dbaron%fas.harvard.edu ce012c5510 Move trace-malloc readers from mozilla/xpcom/base/ to mozilla/tools/trace-malloc/. Add a --shutdown-leaks option to nsTraceMalloc to dump, to the file given as an argument to the option, information about allocations still live at shutdown. Add a new trace-malloc reader (leakstats.c) to print leak statistics. b=84831 r=jag sr=brendan 2001-09-08 18:29:24 +00:00
jband%netscape.com 52a1a88fd9 Slightly modify the WIN32 flags check to catch missing XP_WIN32 define also. Add a comment to help people tripping over this so that they can see what we are telling them to fix. See bug 65727. rs=jband 2001-09-06 21:26:08 +00:00
alecf%netscape.com c20ca03a02 dumb
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------
2001-09-06 03:56:35 +00:00
valeski%netscape.com d018a1c80c fixing IRIX bustage. win line endings wound up in the new .h file. this diff converts them to raw line ending chars 2001-09-05 22:52:43 +00:00
valeski%netscape.com 93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
vidur%netscape.com 42b0b59ad3 Fix for bug 96517. Fixing typo in NS_ISUPPORTS_IMPL_CI macros. r/sr=jband, brendan 2001-08-24 23:59:59 +00:00
jband%netscape.com 51fd255e6e bug 65727. Make it an error to not have XP_WIN defined if you are compiling on Win32. Too many people with their own build projects stumble into this hole. r=valeski sr=scc (turns out this was reviewed months ago and I neglected to check it in. My bad) 2001-08-21 01:59:55 +00:00
dbaron%fas.harvard.edu a2213222f4 Add CallGetInterface. b=92602 r=jag sr=scc 2001-08-18 14:15:07 +00:00
cls%seawood.org 4011aa29d9 Replace previous 64-bit safe checkin with one that maintains the proper output of nsTraceRefcnt.
Bug #20860 r=dbaron sr=brendan
2001-08-15 03:30:39 +00:00
cls%seawood.org 80edcd8228 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 04:18:27 +00:00
cls%seawood.org 611a76fc9d Adding NS_PTR_TO_INT32 & NS_INT32_TO_PTR macros to do safe pointer casting on 64-bit platforms.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 04:14:47 +00:00
brendan%mozilla.org dbd7fed5b1 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
mstoltz%netscape.com ca2851af9b Whoops, accidentally checked something that shouldn't be. Uncommenting-out
the break call in Assertion() (backing out earlier checkin)
2001-07-18 21:46:18 +00:00
rogc%netscape.com 723563e44f Added heuristics for speculative RTTI for gnu 2.96 compilers.
b=62996,r=blizzard,sr=waterson.
2001-07-13 22:40:04 +00:00
mstoltz%netscape.com 548e6eb3dd Fixing blocker bug 90197 by backing out fix for 87913 that changed the behavior of
ComponentManager::AutoRegister and instead using patch v2 from 87913 which
adds a new function rather than changing the existing one. r=mstoltz, dveditz.
2001-07-12 03:58:32 +00:00
dbaron%fas.harvard.edu 17bc9725da Make CallQueryInterface work when nsISupports is an ambiguous base class and make CallQueryReferent work when nsIWeakReference is an ambiguous base class. b=87735 r=jaggernaut sr=scc 2001-07-04 18:55:13 +00:00
waterson%netscape.com b74d6e1c8b Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
cls%seawood.org bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
markh%activestate.com f7d8b996ba Prevent crash in certain multi-threaded situations. Bug 83508. r=markh, sr=jband, a=blizzard. 2001-06-04 23:01:26 +00:00
scc%mozilla.org bf3ee4e2a4 bug #67600, checking in for Ulrich Drepper <drepper@cygnus.org>, sr=scc, r=jst. |#undef| |printf| macros before un-conditionally redefining them, else there are warnings. 2001-05-21 23:38:33 +00:00
dbaron%fas.harvard.edu d0c5ecc6fc Limit previous change to definition of PRUnichar to Unix. Should fix mac commercial build bustage. sr=scc b=75544 2001-05-21 16:34:20 +00:00
dbaron%fas.harvard.edu dc77e98525 Fix NS commercial Unix build bustage on some compilers by (at least temporarily) making PRUnichar always be equivalent to PRUint16 rather than sometimes being wchar_t. r=scc sr=brendan b=75544 2001-05-18 23:44:17 +00:00
dr%netscape.com 96d227f332 fix for 80067 (assignment vs. equality typos). r=mkaply, mjudge, sr=jst 2001-05-11 05:36:00 +00:00
dr%netscape.com 1eabc816f2 fix for 78824 (impl |AdoptData|, |AdoptDataWithLength| on nsISupports[W]String). r=kandrot, sr=jband 2001-05-10 02:44:35 +00:00
mkaply%us.ibm.com a3d397c7cb OS/2 break - our headers define UNKNOWN
See nsIURI.idl
Although our tinderbox isn't breaking, all developers are
2001-05-09 20:51:53 +00:00
mkaply%us.ibm.com 5f383821f0 OS/2 TB breakage 2001-05-08 19:36:45 +00:00
jst%netscape.com ea706038cf Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 17:42:36 +00:00
jband%netscape.com 06ce46e5e3 NOT part of the build. Adding file that will appear on a branch 2001-05-04 21:39:11 +00:00
scc%mozilla.org 6805c2745f bug #75504; sr=jband. making it impossible to misuse |getter_AddRefs| in the way jband discovered 2001-05-03 10:15:09 +00:00
markh%activestate.com acd66bb39f Adding placeholders for new files introduced in the XPCDOM_20010420_BASE
branch.  Not part of the build.
2001-05-01 07:03:27 +00:00
waterson%netscape.com ddd8d7c082 Bug 75198. Support XPCOM_DEBUG_BREAK=warn on Win32. r=brendan, sr=scc 2001-04-28 02:10:18 +00:00
brendan%mozilla.org 4f5aafa905 Checkin shaver's patch to allow debug Mozilla builds to dynamicly link with XPCOM-based, nsCOMPtr-using optimized plugins (77112, r=brendan, sr=scc, a=chofmann). 2001-04-24 21:13:15 +00:00
mkaply%us.ibm.com ca14bcb9f5 Don't need to make this change if pref isn't in 2001-04-20 12:19:23 +00:00
mkaply%us.ibm.com 66c348a6b4 OS/2 TB bustage
Make OS/2 interfaces _System. Might cause OS/2 breakage - I'm testing it as fast as I can.
2001-04-20 03:44:05 +00:00
jfrancis%netscape.com a3a6504b8f reserving some id's for nsIRangeUtil. NOT PART OF BUILD 2001-04-19 23:21:57 +00:00
harishd%netscape.com fa9d1080cf 68790 - Remove nsHTMLContentSinkStream dependency. Not in use anymore
r=heikki
sr=jst
2001-04-17 23:23:33 +00:00
shaver%mozilla.org a0daa1645d 75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
preloader strategy. r=jag, sr=attinasi.
2001-04-11 14:23:13 +00:00
dbaron%fas.harvard.edu 1244386ebc Fix bustage on VC++ and gcc 2.7.2.x caused by incorrect overload resolution. 2001-04-07 17:25:16 +00:00
dbaron%fas.harvard.edu 780cb86a7a Replace my previous incorrect fix for |operator==| ambiguities with a correct one: provide additional |operator==| and |operator!=| for comparing nsCOMPtrs to raw pointers that take a non-const raw pointer argument so that builtin operators will not have a better conversion for one argument. b=65664 r=waterson@netscape.com sr=scc@mozilla.org 2001-04-07 15:29:39 +00:00
disttsc%bart.nl b53b15bbee Add AString to nsrootidl.idl for bug 70681, r=markh, sr=jst 2001-04-05 12:25:09 +00:00
waterson%netscape.com 8e6365a96f Bug 68213. Require users of nsFixedSizeAllocator to specify object size at Free() time to avoid 8 byte overhead per allocation. r=harishd, brendan, shaver, hyatt; sr=scc 2001-04-04 05:00:08 +00:00
rickg%netscape.com 169a621d42 preloader update. r=peterl, sr=attinasi 2001-04-03 22:58:59 +00:00
dbaron%fas.harvard.edu 99d0e6502d Fix Boehm GC + MOZ_TRACK_MODULE_DEPS build. r=disttsc@bart.nl sr=cls@seawood.org 2001-04-03 13:29:13 +00:00
mkaply%us.ibm.com 4ed544fdd7 #73620
r=jband, sr=brendan
Fix some places where we used casts instead of CALLBACKs
2001-03-27 22:59:33 +00:00
disttsc%bart.nl f595ed19f3 Clean up REQUIRES lines. r=cls 2001-03-25 22:59:27 +00:00
valeski%netscape.com 169a5140b5 r=rpotts. comment changes only. 48726. adding status to idl files of api rev. ifaces. 2001-03-24 00:22:18 +00:00
jband%netscape.com dd77de45c7 fix bug 54792 by running assert dialog out or process on Win32. r=danm sr=brendan 2001-03-23 06:57:17 +00:00
waterson%netscape.com 87e89d9f45 Bug 72905. Add 'trap' to XPCOM_DEBUG_BREAK flags to bust into the debugger on asserts. r=sspitzer, sr=brendan 2001-03-23 06:21:41 +00:00
beard%netscape.com 89354c8ed3 Fix to get nsLeakDetector building again after shaver's changes to NS_NewGenericFactory(). r=dbaron@fas.harvard.edu, sr=waterson, amen=leaf. 2001-03-15 02:49:23 +00:00
shaver%mozilla.org fcf7cd0d9f 67699: all your nsIClassInfo is belong to us
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
  builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
  testing
2001-03-12 20:43:02 +00:00
dbaron%fas.harvard.edu e68e5e7758 Fix Boehm GC + MOZ_TRACK_MODULE_DEPS build bustage by adding boehm to REQUIRES. r=cls@seawood.org 2001-03-10 03:26:46 +00:00
scc%mozilla.org a3e0838ab6 fix bustage 2001-03-09 01:38:36 +00:00
scc%mozilla.org 061a83670c bug #68872: r=jag, sr=waterson. provide |do_GetWeakReference|. 2001-03-09 00:40:11 +00:00
rpotts%netscape.com 82f71853c7 bug #61339. Added a missing const to an nsdIID (sr=waterson) 2001-03-08 06:54:47 +00:00
disttsc%bart.nl 277181c660 Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
jst%netscape.com f2cea13138 Removing unused IID. r=pollmann@netscape.com 2001-03-02 00:50:05 +00:00
disttsc%bart.nl a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
dbaron%fas.harvard.edu 4668f0f420 Improve the boehm GC's ability to dump all leaked objects at shutdown. Patch partly by waterson@netscape.com, partly by me. r=beard@netscape.com sr=brendan@mozilla.org b=59967 2001-02-20 13:50:26 +00:00
pinkerton%netscape.com 41357cce17 Removing HTML->text sink from the parser. r=akkana/sr=vidur. bug 62432. 2001-02-06 07:15:32 +00:00
dbaron%fas.harvard.edu 59a4590389 Make |nsCOMPtr<T>::operator&| private so that it is not used by clients. Legitimate users should use |address_of| instead. b=59414 r=disttsc@bart.nl sr=scc@mozilla.org
Fix ambiguities relating to the various forms of |operator==| defined for nsCOMPtrs by avoiding |const| for parameters for compilers where it (incorrectly) confuses overload resolution.  r=scc@mozilla.org  sr=brendan@mozilla.org  b=65664
2001-02-04 19:57:29 +00:00
bratell%lysator.liu.se 24cad542ad Fixing mac breakage. It seems as if the mac compiler actually follows the C++ standard. 2001-02-04 10:49:33 +00:00
bratell%lysator.liu.se 152411bf4c Bug 29241, nsID::Parse used scanf to parse UUID:s which was very slow. This custom parsing should shave 1.6% of mozilla startup time. r=jag sr=jband 2001-02-04 09:36:22 +00:00
jband%netscape.com 7c04b7e112 part of the fix to bug 66950. For xpconnect the class we mixin to sometimes needs to know if any weak references are outstanding. r=rogerl sr=brendan 2001-02-02 08:40:01 +00:00
jband%netscape.com ea496b8199 add xpidl support for DOMString to fix bug 65762. r=jst sr=brendan 2001-01-26 02:32:18 +00:00
mjudge%netscape.com a79e1f9316 R,SR = waterson, kin, brendan. trace_malloc work. these changes should only be iuncorporated into the build process if someone defines MOZ_TRACE_MALLOC into their build 2001-01-25 22:54:05 +00:00
mjudge%netscape.com 6a5b25f5d5 not in build. only used for trace malloc purposes. This will be reviewed once a makefile change is made 2001-01-17 21:07:42 +00:00
mjudge%netscape.com 42cee62f00 not in build. for tracemalloc purposes only. when makefile is edited to add this as compile option There will be a reviewer of these checkins as well 2001-01-17 21:06:51 +00:00
dbaron%fas.harvard.edu 6b1c9bf9dc Fix the use of dynamic_cast for nsCOMPtr logging so it doesn't appear in a macro. b=61243
Implement (without enabling, yet) assertions to warn about static constructors.  b=62006
Partly fix warnings about MOZ_DECL_CTOR_COUNTER on Mac builds by removing extra semicolon.  b=60145
Start to fix the longstanding leaks of nsTraceRefcnt's own hashtables.
r=waterson@netscape.com  sr=brendan@mozilla.org
2000-12-23 16:43:32 +00:00
brendan%mozilla.org 63a11a7d50 Must hold tmmon around all suppress_tracing uses as well as defs (r=waterson, not part of build). 2000-12-22 01:32:39 +00:00
waterson%netscape.com 6928f3e554 Bug 61339. Static accessor iid/cid should be 'const'. r=scc, sr=jband,rpotts 2000-12-21 00:38:31 +00:00
bratell%lysator.liu.se 38cb922a58 Backing myself out to save mac build 2000-12-19 22:54:40 +00:00
bratell%lysator.liu.se e7f77964a4 Bug 62432, remove nsHTMLToTXTSinkStream from build. r=akkana@netscape.com, sr=vidur@netscape.com 2000-12-19 21:38:36 +00:00
brendan%mozilla.org 1633b91a46 Fix realloc bookkeeping blunder (r=waterson,pnunn, NOT PART OF DEFAULT BUILD). 2000-12-12 05:48:16 +00:00
dbaron%fas.harvard.edu 3331dd382b Attempt to fix |address_of| bustage on IRIX. r=scc@mozilla.org b=59414 2000-12-10 03:13:53 +00:00
dbaron%fas.harvard.edu 81352c0825 Work in progress for bug 59414. Prepare to make |nsCOMPtr|'s |operator&| private to prevent many cases of accidental usage, and provide |address_of| for clients who really want a pointer to an nsCOMPtr. r=scc@mozilla.org sr=waterson@netcape.com 2000-12-09 04:45:43 +00:00
dbaron%fas.harvard.edu 2b2160f1b0 Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2000-12-09 04:21:51 +00:00
waterson%netscape.com f7b54ed67f Bug 61571. Improve speculative RTTI heuristics by adding one more instruction to the signature for typeinfo(). r=brendan, sr=beard 2000-12-06 00:05:45 +00:00
dbaron%fas.harvard.edu 3a40e42717 Add information to stack trace format so it can be processed by addr2line. b=59136
Make logging not crash when dll unloading is enabled.  b=60710
r=waterson@netscape.com  sr=brendan@mozilla.org
2000-12-02 16:10:50 +00:00
mccabe%netscape.com a65e320dd3 Better fix to problem with 57094; reinstate 57094 fix and add a conditional #undef of NS_NO_VTABLE to nsISupportsUtils.h before defining it there.
r=jband
2000-11-30 08:08:24 +00:00
waterson%netscape.com a692ac7ac4 Oops, remove one 'bamboozler' that isn't globally exported, except in my build. 2000-11-29 21:18:03 +00:00
waterson%netscape.com e1bdb8b1aa Bug 61241. Change trace-malloc's live object output format to mimic beard's format from Boehm. r=brendan, sr=jband 2000-11-29 21:16:53 +00:00
mkaply%us.ibm.com 7863bcb388 #56767
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly
2000-11-28 23:51:05 +00:00
dmose%mozilla.org 03a6ecf015 added macros for deallocating XPCOM arrays. r=alecf@netscape.com, moa=scc@mozilla.org, sr=brendan@mozilla.org 2000-11-22 20:15:23 +00:00
brendan%mozilla.org 4a242ba8a6 Revamp REALLOC record for rayw's tool; add flush-log-files function (r=rayw, a=waterson, not part of build). 2000-11-22 08:05:05 +00:00
alecf%netscape.com 0934a8bda2 fix for #45797 - fix NS_IMPL_ISUPPORTS consumers
r=dveditz a=self
2000-11-17 03:41:41 +00:00
sspitzer%netscape.com 8c9593d2f1 minor fix. sr=warren 2000-11-08 23:59:13 +00:00
mkaply%us.ibm.com 59b1443eba #58462
r=av, sr/a=waterson
Add OS/2 calling conventions for plugins
2000-11-08 21:28:38 +00:00
danm%netscape.com 73fe6e57b7 small tweak to get nspr logging running again. bug 58514 r=warren 2000-11-01 20:30:47 +00:00
warren%netscape.com 48f769ea63 Moving leak fixes from logging_102900_branch to trunk to quite tinderbox a bit more. 2000-11-01 01:41:15 +00:00
warren%netscape.com cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 19543495b3 Fix for leak in Vprintf: taking patrick's patch instead 2000-10-28 05:24:32 +00:00
warren%netscape.com 6357768687 Fix for leak in Vprintf 2000-10-28 05:21:54 +00:00
warren%netscape.com 312e995be6 Fixed leak beard pointed out on PR_vsmprintf 2000-10-28 04:36:33 +00:00
warren%netscape.com f6bbf1ff6b Added AddRef/Release method for nsLog so that they don't appear to leak. Changed comments too. 2000-10-28 03:12:02 +00:00
dbaron%fas.harvard.edu 94795db4ee Terminate statements with semicolon, not colon. (Fixing warren's bustage.) 2000-10-28 02:07:38 +00:00
warren%netscape.com 936b5b752a Added def for NS_GetLog for optimized builds 2000-10-28 01:58:42 +00:00
warren%netscape.com d7a5405f11 Added nslog.h 2000-10-27 23:25:45 +00:00
warren%netscape.com 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
scc%mozilla.org d2593e5546 fix wrong error return; bug #57981 r=waterson, sr=brendan 2000-10-27 21:46:20 +00:00
mkaply%us.ibm.com 5ed55b8e9a OS/2 Tinderbox break
Need PR_CALLBACK for OS/2, and bad include of windows.h for XP_PC...hurrah we have XP_WIN now
2000-10-27 18:30:16 +00:00
warren%netscape.com 95e38718ea Bug 47207 - removing printf / logging changes. Sticking in big toe. r=valeski,sr=waterson 2000-10-27 06:18:39 +00:00
warren%netscape.com b1bf163d31 Added new file - not in build yet. 2000-10-20 01:14:47 +00:00
sfraser%netscape.com 0a8858c5a6 Fix for 53310; implement IsLowMemory() on Mac, and turn on the low memory detection thread. r=waterson, sr=scc. 2000-10-14 00:39:16 +00:00
mccabe%netscape.com b67b16e35f Fix to 53929. Fix previously-broken UnregisterListener method on console service, by proxy-wrapping the service we've been asked to remove before comparing it to those in the listener list. The saved listeners are already proxy-wrapped, so the previous straight compare failed.
The equality check works because the proxy service caches proxies, and will always return the same wrapper.

This fixes a leak and a situation that led to some asserts in XPConnect on shutdown.  (Some listeners were proxy-wrapped JS objects.)

r=jband.
2000-10-09 23:45:59 +00:00
waterson%netscape.com be8f8ecc25 Bug 53353. Factor nsMemoryImpl create/destroy from flusher thread startup/shutdown. Avoids creation of second memory flusher thread after XPCOM shutdown. r=scc, sr=warren 2000-09-28 23:17:49 +00:00
warren%netscape.com 181bb2dcb2 Landing jar packaging from jar_restructuring_branch. r=hyatt,dprice,sfraser,dveditz,vishy,sgehani 2000-09-20 19:35:24 +00:00
waterson%netscape.com a1e0644138 Fix orangeness on Linux. 2000-09-20 07:31:53 +00:00
waterson%netscape.com 7dc55680e8 Bug 44352. Remove nsIMemoryPressureObserver in favor of nsIObserverService et al., and convert existing nsIMemoryPressureObserver clients. Add memory flusher thread. Add debug UI to force memory flush. r=alecf,sfraser,warren a=warren 2000-09-20 05:44:19 +00:00
beard%netscape.com e4d75a2017 [Not part of build] Changed getServices() to attribute services. 2000-09-19 14:48:11 +00:00
beard%netscape.com 40fafcfe3c [Not part of build] Added traceCollection, getServices methods. 2000-09-19 05:40:17 +00:00
cls%seawood.org fa27c24583 If MOZ_ENABLE_JAR_PACKAGING is set, do not install the xpcom.properties. They will be in the the jar file 2000-09-15 22:16:01 +00:00
rayw%netscape.com 3cd14f5878 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren
2000-09-14 23:20:49 +00:00
mjudge%netscape.com e2be918716 small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
jdunn%netscape.com db73c9ba7c changing C++ comments to C comments since for some reason
nscore.h is being included by intl/lwbrk/src/rulebrk.c &
modules/libpref/src/prefapi.c
r= scc@mozilla.org & brendan@mozilla.org
2000-09-13 12:22:17 +00:00
scc%mozilla.org 4b2a937084 turning on |HAVE_CPP_2BYTE_WCHAR_T| 2000-09-03 02:24:58 +00:00
beard%netscape.com 0d706a89f5 [not part of build] traceObject, markObject. 2000-09-02 05:44:48 +00:00
scc%mozilla.org e798b943d0 fixed comment typo (now was a good time, since I just checked in string changes). r=brendan 2000-09-02 04:17:11 +00:00
mkaply%us.ibm.com b4fb77cbcc #48208
r=dougt, a=brendan
Don't DebugBreak if the messagebox got an error displaying
2000-09-01 21:41:42 +00:00
beard%netscape.com 5b8256210a Added traceObject() method. 2000-08-31 14:35:13 +00:00
waterson%netscape.com 0cd03cf38a Damn. Wrong spot. 2000-08-30 00:16:59 +00:00
waterson%netscape.com 7968871a5d First checked in. 2000-08-30 00:16:58 +00:00
brendan%mozilla.org 5387c4e16b Add possibly-too-verbose NS_TraceMallocDumpAllocations and its JS window-level function, for leak and bloat analysis. 2000-08-29 01:52:13 +00:00
mccabe%netscape.com 83a2aee03e Fix to 49416.
Emit NS_NO_VTABLE in xpidl-generated interface files.  NS_NO_VTABLE is defined in nsISupportsUtils.h, and on windows generates __declspec(novtable).

This saves us some code space, and may also be a runtime win.

Initial version of this fix courtesy Adam Lock <adamlock@netscape.com>.

r=jband
a=beard


NOTE this change will cause the world to recompile.
2000-08-25 09:58:35 +00:00
mkaply%us.ibm.com 60706b55ac OS/2 Tinderbox breakage
More XP_PC stuff
2000-08-24 13:58:21 +00:00
warren%netscape.com 10b3ee21a6 Bug 44352. Adding IsLowMemory predicate & implementation for Windows. 2000-08-24 08:35:13 +00:00
jband%netscape.com e38aadaa66 fixing Mac bustage? 2000-08-22 06:33:06 +00:00
jband%netscape.com 4e732abd38 fix uninitialized member crash in secondary constructor of nsConsoleMessage 2000-08-22 05:54:25 +00:00
cls%seawood.org e01272bbf7 Native irix compilers don't seem to know about |typename| either 2000-08-19 08:01:28 +00:00
dprice%netscape.com fc188e8681 replacing this file in the right spot. 2000-08-16 04:23:40 +00:00
dmose%mozilla.org a4c010c16e add debugging frobs to XP_UNIX platforms. setenv XPCOM_DEBUG_BREAK to make NS_ASSERTION have other behaviors, like dumping the stack to stderr or sending SIGSTOP to the pgrp to allow attaching with gdb for race condition debugging. r=bryner@netscape.com, a=brendan@mozilla.org. 2000-08-14 23:09:39 +00:00
warren%netscape.com a65ba7ec30 Jar manifest updates. 2000-08-11 09:05:40 +00:00
brendan%mozilla.org 53ef9c0ba4 Add captioned timestamp events, for JS storyboarding (not part of build). 2000-08-09 02:41:58 +00:00
dbaron%fas.harvard.edu 110242a861 Fixing bustage. Stupid error... 2000-08-06 17:17:22 +00:00
dbaron%fas.harvard.edu 710b05e789 Fix crash on shutdown (or patch things up so they don't crash) by releasing memory pressure observers closer to the beginning of XPCOM shutdown. b=47791 r=waterson@netscape.com 2000-08-06 16:23:04 +00:00
cls%seawood.org f9754b268f Workaround for long-standing AIX bustage 2000-07-28 08:11:51 +00:00
cls%seawood.org fe49190942 The AIX compiler doesn't seem to know how to handle |typename| 2000-07-28 06:57:20 +00:00
brendan%mozilla.org 6bb2c26634 Revise connect_nodes to be tmgraphnode_connect, reusable via tmreader.[ch]. 2000-07-26 02:19:27 +00:00
brendan%mozilla.org 55ce126995 - Remove <unistd.h> include from bloatblame, it's no longer needed and the link(2) prototype it drags in was causing warnings whenever I used a local variable named 'link'.
- Use uint32 for all quantities, and double for all differences, so that we can overflow without breaking deltas such as (busy == allocs - frees).  This doesn't help sorting, however: if one of the sort keys has overflowed past 0 just a bit, while the other is a very large unsigned number, beware.

- Separate graph link (half an edge, structurally speaking -- no per-edge stats) from graph edge, so that an edge is two links and some stats.  This avoids bloat and copying in connect_nodes (which is soon to become generic and move to tmreader.[ch]).

- Factor data structures better: we now have {allocs,frees} x {bytes,calls} x {direct, total}, declaring the second set as struct tmallcounts and the third as tmcounts.  So, for example, total number of calls to allocators would be allocs.calls.total; bytes freed directly by a graphnode (library, component, or method) would be frees.bytes.direct.

- Teach tmreader_eventloop about 'F' (TM_EVENT_FREE) events: it now updates the direct free byte and call counts for a method, its component, and its library when it reads the event.  Of course, bloatblame ignores this info, because it is concerned only with bloat (total memory allocated).

- Right-align numbers in the first (trace-malloc stats) table.
2000-07-26 00:24:08 +00:00
cls%seawood.org 305d1f7993 Lets show some objdir sensitivity. 2000-07-25 11:03:25 +00:00
warren%netscape.com 8bd7267f01 Fixed linux makefile for xpcom.properties 2000-07-25 05:54:38 +00:00
warren%netscape.com 3fbed19a16 Added xpcom.properties to linux make. 2000-07-25 05:51:34 +00:00
warren%netscape.com 2b01440bc0 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz 2000-07-25 05:45:56 +00:00
mkaply%us.ibm.com f83c889180 OS/2 Tinderbox breakage
Attempt 2 to fix this - just cast the functions
2000-07-22 15:19:57 +00:00
mkaply%us.ibm.com c03c730a44 OS/2 Tinderbox breakage
Attempt 1 to fix this - add PR_CALLBACK for VisualAge
2000-07-22 14:13:00 +00:00
warren%netscape.com d9d9722138 Added nsIErrorService to build. 2000-07-22 05:46:39 +00:00
warren%netscape.com 05c749064c Added nsIErrorService to map from nsresult codes to string bundles and keys for error messages. 2000-07-22 05:38:43 +00:00
brendan%mozilla.org 02c5512498 Finish factoring tmreader from bloatblame; misc. clenaups (not part of build). 2000-07-21 20:42:15 +00:00
warren%netscape.com 9cb1fc4213 Reverted change from doronr@naboonline.com to print warning. This gets called erroneously when the program quits. 2000-07-19 09:32:35 +00:00
jfrancis%netscape.com 7df6a29f8a reserving iid for nsIEditorObserver; NOT PART OF BUILD 2000-07-14 19:12:30 +00:00
warren%netscape.com 5946c0c8bf Bug 40810 - warning message. Checking in for doronr@naboonline.com r=warren 2000-07-12 00:28:57 +00:00
brendan%mozilla.org 0d66d403b3 Make NS_TraceMallocShutdown idempotent just in case it's called more than once (doesn't affect default builds: #ifdef NS_TRACE_MALLOC). 2000-07-11 19:10:52 +00:00
warren%netscape.com 2f3e104192 Removed assertion to allow UnregisterObserver to be called after Shutdown (harmlessly). r=dbaron 2000-07-11 07:29:05 +00:00
warren%netscape.com ca180c6d4d Fixed monitor destructor because NS_TraceMallocShutdown is called twice. r=dbaron 2000-07-11 07:28:14 +00:00
warren%netscape.com 4157de5421 Defensive programming for UnregisterObserver after Shutdown. r=dbaron 2000-07-11 06:56:06 +00:00
warren%netscape.com bcd997ce22 Fixed nsMemoryImpl to release memory pressure observers on shutdown. r=dbaron 2000-07-11 06:03:08 +00:00
brendan%mozilla.org e419a66c7a First cut at reusable trace-malloc logfile reader, factored from bloatblame. 2000-07-09 08:53:46 +00:00
ruslan%netscape.com 6b7345ebd1 Make XPCOM_CHECK_THREADSAFE env. variable to actually be useful 2000-07-05 22:58:28 +00:00
cls%seawood.org 1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
brendan%mozilla.org ca37059e30 Interim checkin: -u option for unified (-f and standard) output, down/next links for sorted subgraph navigation, some -j (js-mode) support. 2000-06-28 06:42:29 +00:00
brendan%mozilla.org 2eab0c4a26 Work around unsolved bug reported by rusty.lynch@intel.com. 2000-06-28 06:22:29 +00:00
rich.burridge%sun.com 049a2966bf Fix to prevent build bustage on nebiros with Sun compilers.
The Sun compiler expects a specific format for the function
used by the #pragma statement. It should return void and
have no arguments. It also needs an initial function prototype.
r=cls
Fix for breakage for checkin for bug #40769.
2000-06-27 05:58:00 +00:00
rich.burridge%sun.com 69a9f4b960 Fix to allow refcnt'ing on the Solaris platform.
r=scc@mozilla.org a=brendan@mozilla.org
Bug #40769
2000-06-26 22:23:47 +00:00
dougt%netscape.com 8b638a4c67 I IDL-ifying the nsProxyObjectManager.
I have updated all users that I found
grepping the source tree.

r=valeski@netscape.com
a=waterson@netscape.com
b=43131

Also checking in changes to the window's embed test which is NOT
hooked up to the build system.
2000-06-24 00:03:10 +00:00
brendan%mozilla.org 0cb0663247 Hoist loop invariant. 2000-06-21 18:03:34 +00:00
brendan%mozilla.org 543138903e Comment fixes. 2000-06-21 18:03:01 +00:00
brendan%mozilla.org 155c1ab6f3 Fix skip-one-frame-too-many backtrace lossage; update TODO. 2000-06-21 17:59:30 +00:00
amusil%netscape.com aafe798439 Turn on wchar_t 2000-06-21 01:31:09 +00:00
vidur%netscape.com 2017802f4c Fix for bug 42860. nsIScriptNameSpaceManager::RegisterGlobalName() now takes an additional IID parameter. If the IID is that of the nsIScriptObjectOwner interface, we assume it's an old-style idlc interface. Otherwise we try to wrap it using XPConnect. r=rginda 2000-06-21 00:42:59 +00:00
beard%netscape.com 1c926d81a2 bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser 2000-06-20 23:10:06 +00:00
mkaply%us.ibm.com aec080d457 #42637
r=valeski, a=brendan
OS/2 bring up - Change DebugBreak code for OS/2 to make it a little easier
2000-06-20 13:59:17 +00:00
dmose%mozilla.org 3150a332d2 adding an LDAP module to the NS_ERROR global define space. a=r=waterson@mozilla.org 2000-06-20 03:33:26 +00:00
cls%seawood.org 1327cdd365 nscore.h is included by .c files so c++ comments have to go. Fix for WS5.0 bustage. 2000-06-18 21:27:27 +00:00
scc%mozilla.org 3446bda5c3 fixing OS/2 VisualAge platform bustage, and bad dates in licenses 2000-06-18 05:00:31 +00:00
dbaron%fas.harvard.edu e3d2d8d1d7 Code for nsCOMPtr leak logging, a new tool to help debug memory leaks (not yet fully enabled on non-autoconf platforms). r=waterson@netscape.com 2000-06-15 02:23:55 +00:00
scc%mozilla.org 5b2a4891ec Temporarily (till Thursday) commented out the definition that made |PRUnichar*| incompatible with |OLECHAR*| as a favor to the AIM team, so they can decide whether to cast in their code, or alter their headers. They know what to do in either case, and have agreed that this definnition can be re-activated on Thursday. r=vishy 2000-06-14 02:54:40 +00:00
mkaply%us.ibm.com dc2e138a70 # 37239
r = valeski, a = brendan
OS/2 bring-up - Yes I know this is ugly.
We are getting a linker error on this delete.
We want to get our builds up by any means necessary,
so I need to comment this out for us for now.
2000-06-14 00:26:52 +00:00
heikki%citec.fi 41bb442a68 Fixed NS_ENSURE_ARG_MAX macro (a typo), it did not even compile if you tried to use it. 2000-06-13 08:36:06 +00:00
scc%mozilla.org 4dad2b6962 make |PRUnichar| be |wchar_t| on Mac. Soon on Windows, as well. 2000-06-13 00:05:18 +00:00
scc%mozilla.org 29d26770c9 fixed tabs and spacing 2000-06-11 01:22:58 +00:00
scc%mozilla.org c5867168d6 define |PRUnichar| to be |wchar_t|, when applicable 2000-06-11 00:49:29 +00:00
scc%mozilla.org e780126346 moved |explicit| here, where it belongs, from "nsCOMPtr.h" 2000-06-10 09:58:15 +00:00
scc%mozilla.org 5108fd1bbe further logging fixes; removed |explicit| to "nscore.h"; removed old-style logging definitions for |NSCAP_ADDREF| and |NSCAP_RELEASE|, define them externally if you want them (the new comment says how); fixed some comments... I'll be moving to doc-style comments soon to better support doxygen 2000-06-10 09:58:13 +00:00
alecf%netscape.com a0b04734b4 fix purify errors - uninitialized memory on poorly formatted CID strings, and FMM on nsString::fputs
r=waterson, scc a=waterson
2000-06-08 23:34:53 +00:00
scc%mozilla.org fbdb41c4de further fix for the defined case. r=dbaron 2000-06-08 05:08:14 +00:00
scc%mozilla.org 372c751346 Improved logging facilities on |nsCOMPtr| in cooperation with dbaron, for his new logging tools. r=dbaron 2000-06-08 04:52:39 +00:00
brendan%mozilla.org d6b3206fde Sacred 80th column preservation, brendan-style case indentation (not part of default build). 2000-06-07 19:14:10 +00:00
waterson%netscape.com 94bd261c1c Canonify HAVE_CPP_ACCESS_CHANGING_USING and HAVE_CPP_AMBIGUITY_RESOLVING_USING. 2000-06-05 00:46:37 +00:00
warren%netscape.com 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
warren%netscape.com f2ad17acdc Fixed file name. 2000-06-03 07:30:36 +00:00
warren%netscape.com 01715467ad Fixed file name. 2000-06-03 07:30:13 +00:00
warren%netscape.com b7cb857248 Adding nsIMemory interface (replacement for nsIAllocator). Part of xpcom API freeze. 2000-06-03 07:12:22 +00:00
warren%netscape.com 03ec40bf4b Adding nsIMemory interface (replacement for nsIAllocator). Part of xpcom API freeze. 2000-06-03 07:02:20 +00:00
rusty.lynch%intel.com f592edc947 Fix for bug #40997. a=warren 2000-06-02 15:50:36 +00:00
mkaply%us.ibm.com 367a3f2df3 # 37239
r = valeski, a = brendan
OS/2 bringup on M16 continues - PR_CALLBACKs for VisualAge
2000-06-01 14:12:05 +00:00
waterson%netscape.com 259d4d122b Make more portable. 2000-06-01 03:23:19 +00:00
waterson%netscape.com 9a0a7705c3 Add NS_TraceMallocStartupArgs() so it's easier to factor between apprunner and other apps. Like viewer. r=brendan 2000-06-01 02:09:25 +00:00
waterson%netscape.com 55c1064115 Ignore bloatblame. 2000-06-01 02:08:34 +00:00
brendan%mozilla.org 892e212b18 Push monitor down to avoid overhead when suppressing tracing (r=waterson). 2000-06-01 01:53:52 +00:00
scc%mozilla.org 80e3b6a3ae Bug #39686. Made an |NS_COUNT|. Put it in the new file "nsAlgorithm.h", to which I also moved |NS_MIN| and |NS_MAX| from "nscore.h", and |copy_string| and |copy_string_backward| from "nsAReadableString.h". Also fixed non-standard include-guards. r={sford, jag} 2000-05-20 20:43:26 +00:00
scc%mozilla.org ebc8903c87 Bug #39824. Checking in patch from dp. This patch fixes exports on some |nsCOMPtr_helper| classes so we can link appropriately. r=scc. 2000-05-20 18:31:45 +00:00
brendan%mozilla.org 77478096cf Fix stupid logfile_list unlink bug; fix comment. 2000-05-17 06:59:21 +00:00
brendan%mozilla.org 483af1a01b Improve --trace-malloc to handle multiple logfiles. 2000-05-17 04:44:14 +00:00
alecf%netscape.com b9d28478e4 repair the NS_IMPL_QUERY_INTERFACE_INHERITED3 macro 2000-05-14 23:09:21 +00:00
waterson%netscape.com e9d590dbb4 Also wrap in #ifdef __cplusplus 2000-05-14 00:17:47 +00:00
waterson%netscape.com d272d6d54b Wrap C++ in |extern C++| block to fix build. r=scc 2000-05-14 00:11:54 +00:00
waterson%netscape.com 8e51bfbbef Remove #ifdef that is unnecessary when STL headers are not included. 2000-05-14 00:05:24 +00:00
scc%netscape.com 5bd4efd8d4 waterson and I are giving up on the current build being allowed to even include files related to STL, mostly (but not only) because of Solaris ... by the time someone want to _use_ STL, maybe the compilers will be better, and this fix won't effect them. 2000-05-13 23:59:49 +00:00
waterson%netscape.com 2ecdf03c7c Add necessary code to get NEW_STRING_APIS to compile properly on gcc-2.7.2.3. r=scc 2000-05-13 00:05:29 +00:00
scc%netscape.com e3490a6024 changed some comments 2000-05-12 05:20:21 +00:00
dougt%netscape.com 4e5362dc52 Changes from snizinsk@us.ibm.com
visualage fixes to xpcom for OS/2.
2000-05-12 01:09:58 +00:00