cls%seawood.org
9bf5a41da7
Native irix compilers don't seem to know about |typename| either
...
git-svn-id: svn://10.0.0.236/trunk@76695 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 08:01:28 +00:00
dprice%netscape.com
e2a9da576d
replacing this file in the right spot.
...
git-svn-id: svn://10.0.0.236/trunk@76410 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 04:23:40 +00:00
dmose%mozilla.org
185aabb68c
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.
...
git-svn-id: svn://10.0.0.236/trunk@76317 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 23:09:39 +00:00
warren%netscape.com
fafff3b825
Jar manifest updates.
...
git-svn-id: svn://10.0.0.236/trunk@76107 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 09:05:40 +00:00
brendan%mozilla.org
3dfa5856af
Add captioned timestamp events, for JS storyboarding (not part of build).
...
git-svn-id: svn://10.0.0.236/trunk@75850 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:41:58 +00:00
dbaron%fas.harvard.edu
f154a601c1
Fixing bustage. Stupid error...
...
git-svn-id: svn://10.0.0.236/trunk@75683 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 17:17:22 +00:00
dbaron%fas.harvard.edu
1d16bbcdf5
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
...
git-svn-id: svn://10.0.0.236/trunk@75682 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 16:23:04 +00:00
cls%seawood.org
78e9aa6004
Workaround for long-standing AIX bustage
...
git-svn-id: svn://10.0.0.236/trunk@75031 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 08:11:51 +00:00
cls%seawood.org
436230200d
The AIX compiler doesn't seem to know how to handle |typename|
...
git-svn-id: svn://10.0.0.236/trunk@75025 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 06:57:20 +00:00
brendan%mozilla.org
b54049c74b
Revise connect_nodes to be tmgraphnode_connect, reusable via tmreader.[ch].
...
git-svn-id: svn://10.0.0.236/trunk@74793 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 02:19:27 +00:00
brendan%mozilla.org
2d47b3e145
- 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.
git-svn-id: svn://10.0.0.236/trunk@74785 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 00:24:08 +00:00
cls%seawood.org
2282deb783
Lets show some objdir sensitivity.
...
git-svn-id: svn://10.0.0.236/trunk@74737 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 11:03:25 +00:00
warren%netscape.com
d93cdd6606
Fixed linux makefile for xpcom.properties
...
git-svn-id: svn://10.0.0.236/trunk@74731 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 05:54:38 +00:00
warren%netscape.com
764d1e2e78
Added xpcom.properties to linux make.
...
git-svn-id: svn://10.0.0.236/trunk@74730 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 05:51:34 +00:00
warren%netscape.com
997161d193
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
...
git-svn-id: svn://10.0.0.236/trunk@74729 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 05:45:56 +00:00
mkaply%us.ibm.com
6f1a2acf3f
OS/2 Tinderbox breakage
...
Attempt 2 to fix this - just cast the functions
git-svn-id: svn://10.0.0.236/trunk@74653 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 15:19:57 +00:00
mkaply%us.ibm.com
1121dc07a0
OS/2 Tinderbox breakage
...
Attempt 1 to fix this - add PR_CALLBACK for VisualAge
git-svn-id: svn://10.0.0.236/trunk@74652 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 14:13:00 +00:00
warren%netscape.com
28106c61c3
Added nsIErrorService to build.
...
git-svn-id: svn://10.0.0.236/trunk@74637 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 05:46:39 +00:00
warren%netscape.com
da806f7878
Added nsIErrorService to map from nsresult codes to string bundles and keys for error messages.
...
git-svn-id: svn://10.0.0.236/trunk@74636 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 05:38:43 +00:00
brendan%mozilla.org
a85c8874b5
Finish factoring tmreader from bloatblame; misc. clenaups (not part of build).
...
git-svn-id: svn://10.0.0.236/trunk@74595 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 20:42:15 +00:00
warren%netscape.com
087c3b48c2
Reverted change from doronr@naboonline.com to print warning. This gets called erroneously when the program quits.
...
git-svn-id: svn://10.0.0.236/trunk@74457 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 09:32:35 +00:00
jfrancis%netscape.com
51f6b4f01c
reserving iid for nsIEditorObserver; NOT PART OF BUILD
...
git-svn-id: svn://10.0.0.236/trunk@74256 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 19:12:30 +00:00
warren%netscape.com
9a47a3f8f6
Bug 40810 - warning message. Checking in for doronr@naboonline.com r=warren
...
git-svn-id: svn://10.0.0.236/trunk@74063 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 00:28:57 +00:00
brendan%mozilla.org
20112d6fb4
Make NS_TraceMallocShutdown idempotent just in case it's called more than once (doesn't affect default builds: #ifdef NS_TRACE_MALLOC).
...
git-svn-id: svn://10.0.0.236/trunk@74010 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 19:10:52 +00:00
warren%netscape.com
71943eddb6
Removed assertion to allow UnregisterObserver to be called after Shutdown (harmlessly). r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@73997 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 07:29:05 +00:00
warren%netscape.com
5bdd73acae
Fixed monitor destructor because NS_TraceMallocShutdown is called twice. r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@73996 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 07:28:14 +00:00
warren%netscape.com
24b9b58ef8
Defensive programming for UnregisterObserver after Shutdown. r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@73993 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 06:56:06 +00:00
warren%netscape.com
6f96f77089
Fixed nsMemoryImpl to release memory pressure observers on shutdown. r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@73989 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 06:03:08 +00:00
brendan%mozilla.org
523a153c14
First cut at reusable trace-malloc logfile reader, factored from bloatblame.
...
git-svn-id: svn://10.0.0.236/trunk@73894 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-09 08:53:46 +00:00
ruslan%netscape.com
bb6667a9c2
Make XPCOM_CHECK_THREADSAFE env. variable to actually be useful
...
git-svn-id: svn://10.0.0.236/trunk@73702 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 22:58:28 +00:00
cls%seawood.org
91d683a067
Removed obsolete REQUIRES variable from every Makefile.in/makefile.win
...
git-svn-id: svn://10.0.0.236/trunk@73583 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 08:08:04 +00:00
brendan%mozilla.org
f912d63a39
Interim checkin: -u option for unified (-f and standard) output, down/next links for sorted subgraph navigation, some -j (js-mode) support.
...
git-svn-id: svn://10.0.0.236/trunk@73395 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 06:42:29 +00:00
brendan%mozilla.org
b2b5554261
Work around unsolved bug reported by rusty.lynch@intel.com.
...
git-svn-id: svn://10.0.0.236/trunk@73391 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 06:22:29 +00:00
rich.burridge%sun.com
b779e86645
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 .
git-svn-id: svn://10.0.0.236/trunk@73295 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 05:58:00 +00:00
rich.burridge%sun.com
92fa85731e
Fix to allow refcnt'ing on the Solaris platform.
...
r=scc@mozilla.org a=brendan@mozilla.org
Bug #40769
git-svn-id: svn://10.0.0.236/trunk@73253 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 22:23:47 +00:00
dougt%netscape.com
bf15c34b53
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.
git-svn-id: svn://10.0.0.236/trunk@73129 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 00:03:10 +00:00
brendan%mozilla.org
ad1e1644ba
Hoist loop invariant.
...
git-svn-id: svn://10.0.0.236/trunk@72780 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 18:03:34 +00:00
brendan%mozilla.org
fd75093332
Comment fixes.
...
git-svn-id: svn://10.0.0.236/trunk@72779 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 18:03:01 +00:00
brendan%mozilla.org
3d43822a6a
Fix skip-one-frame-too-many backtrace lossage; update TODO.
...
git-svn-id: svn://10.0.0.236/trunk@72776 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 17:59:30 +00:00
amusil%netscape.com
41f4fe3176
Turn on wchar_t
...
git-svn-id: svn://10.0.0.236/trunk@72718 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 01:31:09 +00:00
vidur%netscape.com
26c84935a5
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
...
git-svn-id: svn://10.0.0.236/trunk@72704 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:42:59 +00:00
beard%netscape.com
225060e4fa
bug #42100 , Carbon compatibility. r=gordon, saari, pinkerton, sfraser
...
git-svn-id: svn://10.0.0.236/trunk@72686 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 23:10:06 +00:00
mkaply%us.ibm.com
1e74f6b8a9
#42637
...
r=valeski, a=brendan
OS/2 bring up - Change DebugBreak code for OS/2 to make it a little easier
git-svn-id: svn://10.0.0.236/trunk@72656 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 13:59:17 +00:00
dmose%mozilla.org
30403e0e3d
adding an LDAP module to the NS_ERROR global define space. a=r=waterson@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@72608 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 03:33:26 +00:00
cls%seawood.org
b77e90ede0
nscore.h is included by .c files so c++ comments have to go. Fix for WS5.0 bustage.
...
git-svn-id: svn://10.0.0.236/trunk@72521 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 21:27:27 +00:00
scc%mozilla.org
2a2a840b4d
fixing OS/2 VisualAge platform bustage, and bad dates in licenses
...
git-svn-id: svn://10.0.0.236/trunk@72507 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 05:00:31 +00:00
dbaron%fas.harvard.edu
a93592acd2
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
...
git-svn-id: svn://10.0.0.236/trunk@72278 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 02:23:55 +00:00
scc%mozilla.org
187005e5ed
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
...
git-svn-id: svn://10.0.0.236/trunk@72173 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 02:54:40 +00:00
mkaply%us.ibm.com
fa06a1e262
# 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.
git-svn-id: svn://10.0.0.236/trunk@72159 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 00:26:52 +00:00
heikki%citec.fi
bb910505ef
Fixed NS_ENSURE_ARG_MAX macro (a typo), it did not even compile if you tried to use it.
...
git-svn-id: svn://10.0.0.236/trunk@72107 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 08:36:06 +00:00