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