warren%netscape.com
c6b67eceeb
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
scc%mozilla.org
36c9406119
fix wrong error return; bug #57981 r=waterson, sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@81882 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 21:46:20 +00:00
mkaply%us.ibm.com
b8e6a756b9
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
git-svn-id: svn://10.0.0.236/trunk@81871 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 18:30:16 +00:00
warren%netscape.com
0605461450
Bug 47207 - removing printf / logging changes. Sticking in big toe. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81858 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 06:18:39 +00:00
warren%netscape.com
e84e7821cd
Added new file - not in build yet.
...
git-svn-id: svn://10.0.0.236/trunk@81497 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 01:14:47 +00:00
sfraser%netscape.com
ba8197b606
Fix for 53310; implement IsLowMemory() on Mac, and turn on the low memory detection thread. r=waterson, sr=scc.
...
git-svn-id: svn://10.0.0.236/trunk@81175 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 00:39:16 +00:00
mccabe%netscape.com
412d438279
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.
git-svn-id: svn://10.0.0.236/trunk@80765 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 23:45:59 +00:00
waterson%netscape.com
976476e949
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
...
git-svn-id: svn://10.0.0.236/trunk@80097 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:17:49 +00:00
warren%netscape.com
cdc56bbf4c
Landing jar packaging from jar_restructuring_branch. r=hyatt,dprice,sfraser,dveditz,vishy,sgehani
...
git-svn-id: svn://10.0.0.236/trunk@79641 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 19:35:24 +00:00
waterson%netscape.com
9d38102900
Fix orangeness on Linux.
...
git-svn-id: svn://10.0.0.236/trunk@79614 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 07:31:53 +00:00
waterson%netscape.com
ac48abcd87
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
...
git-svn-id: svn://10.0.0.236/trunk@79603 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 05:44:19 +00:00
beard%netscape.com
a728f62d23
[Not part of build] Changed getServices() to attribute services.
...
git-svn-id: svn://10.0.0.236/trunk@79531 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 14:48:11 +00:00
beard%netscape.com
937a69ab56
[Not part of build] Added traceCollection, getServices methods.
...
git-svn-id: svn://10.0.0.236/trunk@79520 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 05:40:17 +00:00
cls%seawood.org
cb273a1d7b
If MOZ_ENABLE_JAR_PACKAGING is set, do not install the xpcom.properties. They will be in the the jar file
...
git-svn-id: svn://10.0.0.236/trunk@79371 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 22:16:01 +00:00
rayw%netscape.com
31f9bce979
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
git-svn-id: svn://10.0.0.236/trunk@79224 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:20:49 +00:00
mjudge%netscape.com
2fc6190bef
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
...
git-svn-id: svn://10.0.0.236/trunk@79118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:45:01 +00:00
rayw%netscape.com
d9228441a4
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
jdunn%netscape.com
31c8a39bbc
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
git-svn-id: svn://10.0.0.236/trunk@79016 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 12:22:17 +00:00
scc%mozilla.org
5a98e3701d
turning on |HAVE_CPP_2BYTE_WCHAR_T|
...
git-svn-id: svn://10.0.0.236/trunk@78054 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 02:24:58 +00:00
beard%netscape.com
b76ed2e0ae
[not part of build] traceObject, markObject.
...
git-svn-id: svn://10.0.0.236/trunk@78006 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 05:44:48 +00:00
scc%mozilla.org
5218242340
fixed comment typo (now was a good time, since I just checked in string changes). r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@77992 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 04:17:11 +00:00
mkaply%us.ibm.com
86f29b1dd8
#48208
...
r=dougt, a=brendan
Don't DebugBreak if the messagebox got an error displaying
git-svn-id: svn://10.0.0.236/trunk@77928 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:41:42 +00:00
beard%netscape.com
789f6701cc
Added traceObject() method.
...
git-svn-id: svn://10.0.0.236/trunk@77771 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 14:35:13 +00:00
waterson%netscape.com
ccea2be337
Damn. Wrong spot.
...
git-svn-id: svn://10.0.0.236/trunk@77519 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:16:59 +00:00
waterson%netscape.com
8623e460c6
First checked in.
...
git-svn-id: svn://10.0.0.236/trunk@77518 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:16:58 +00:00
brendan%mozilla.org
c7bf3b3515
Add possibly-too-verbose NS_TraceMallocDumpAllocations and its JS window-level function, for leak and bloat analysis.
...
git-svn-id: svn://10.0.0.236/trunk@77437 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 01:52:13 +00:00
mccabe%netscape.com
798b4759ba
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.
git-svn-id: svn://10.0.0.236/trunk@77200 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 09:58:35 +00:00
mkaply%us.ibm.com
8b97929712
OS/2 Tinderbox breakage
...
More XP_PC stuff
git-svn-id: svn://10.0.0.236/trunk@77078 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 13:58:21 +00:00
warren%netscape.com
61661b6160
Bug 44352. Adding IsLowMemory predicate & implementation for Windows.
...
git-svn-id: svn://10.0.0.236/trunk@77069 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 08:35:13 +00:00
jband%netscape.com
0b285116c6
fixing Mac bustage?
...
git-svn-id: svn://10.0.0.236/trunk@76873 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 06:33:06 +00:00
jband%netscape.com
0913025449
fix uninitialized member crash in secondary constructor of nsConsoleMessage
...
git-svn-id: svn://10.0.0.236/trunk@76863 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 05:54:25 +00:00
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