774 Commits

Author SHA1 Message Date
disttsc%bart.nl
d30c2be76b Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +00:00
jst%netscape.com
70bd9730e8 Removing unused IID. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88347 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:50:05 +00:00
disttsc%bart.nl
edc70961f6 Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
git-svn-id: svn://10.0.0.236/trunk@87655 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:35:51 +00:00
dbaron%fas.harvard.edu
aeb8d09853 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
git-svn-id: svn://10.0.0.236/trunk@87448 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 13:50:26 +00:00
pinkerton%netscape.com
ce9fa42472 Removing HTML->text sink from the parser. r=akkana/sr=vidur. bug 62432.
git-svn-id: svn://10.0.0.236/trunk@86325 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 07:15:32 +00:00
dbaron%fas.harvard.edu
d4faa6cbde 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


git-svn-id: svn://10.0.0.236/trunk@86187 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 19:57:29 +00:00
bratell%lysator.liu.se
c884f81147 Fixing mac breakage. It seems as if the mac compiler actually follows the C++ standard.
git-svn-id: svn://10.0.0.236/trunk@86183 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 10:49:33 +00:00
bratell%lysator.liu.se
46085fae6d 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
git-svn-id: svn://10.0.0.236/trunk@86181 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 09:36:22 +00:00
jband%netscape.com
121ec88311 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
git-svn-id: svn://10.0.0.236/trunk@86058 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 08:40:01 +00:00
jband%netscape.com
d15f323b49 add xpidl support for DOMString to fix bug 65762. r=jst sr=brendan
git-svn-id: svn://10.0.0.236/trunk@85546 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 02:32:18 +00:00
mjudge%netscape.com
9e59d3ceb3 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
git-svn-id: svn://10.0.0.236/trunk@85527 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 22:54:05 +00:00
mjudge%netscape.com
74a4aa0952 not in build. only used for trace malloc purposes. This will be reviewed once a makefile change is made
git-svn-id: svn://10.0.0.236/trunk@85046 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 21:07:42 +00:00
mjudge%netscape.com
ba0ab16e42 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
git-svn-id: svn://10.0.0.236/trunk@85045 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 21:06:51 +00:00
dbaron%fas.harvard.edu
a948227cb8 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


git-svn-id: svn://10.0.0.236/trunk@84044 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 16:43:32 +00:00
brendan%mozilla.org
ab1ee3d23b Must hold tmmon around all suppress_tracing uses as well as defs (r=waterson, not part of build).
git-svn-id: svn://10.0.0.236/trunk@83972 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 01:32:39 +00:00
waterson%netscape.com
af1a05157f Bug 61339. Static accessor iid/cid should be 'const'. r=scc, sr=jband,rpotts
git-svn-id: svn://10.0.0.236/trunk@83923 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 00:38:31 +00:00
bratell%lysator.liu.se
d319a76958 Backing myself out to save mac build
git-svn-id: svn://10.0.0.236/trunk@83867 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 22:54:40 +00:00
bratell%lysator.liu.se
5811dd1c0b Bug 62432, remove nsHTMLToTXTSinkStream from build. r=akkana@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83864 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 21:38:36 +00:00
brendan%mozilla.org
a2555ca0ab Fix realloc bookkeeping blunder (r=waterson,pnunn, NOT PART OF DEFAULT BUILD).
git-svn-id: svn://10.0.0.236/trunk@83529 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 05:48:16 +00:00
dbaron%fas.harvard.edu
88efcf30bd Attempt to fix |address_of| bustage on IRIX. r=scc@mozilla.org b=59414
git-svn-id: svn://10.0.0.236/trunk@83454 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 03:13:53 +00:00
dbaron%fas.harvard.edu
e9d380a7cb 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
git-svn-id: svn://10.0.0.236/trunk@83445 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:45:43 +00:00
dbaron%fas.harvard.edu
0cc4ea2497 Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83442 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:21:51 +00:00
waterson%netscape.com
93ab5c3017 Bug 61571. Improve speculative RTTI heuristics by adding one more instruction to the signature for typeinfo(). r=brendan, sr=beard
git-svn-id: svn://10.0.0.236/trunk@83293 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 00:05:45 +00:00
dbaron%fas.harvard.edu
3a7f433397 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


git-svn-id: svn://10.0.0.236/trunk@83218 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 16:10:50 +00:00
mccabe%netscape.com
1e8e358ccf 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


git-svn-id: svn://10.0.0.236/trunk@83122 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 08:08:24 +00:00
waterson%netscape.com
095508a120 Oops, remove one 'bamboozler' that isn't globally exported, except in my build.
git-svn-id: svn://10.0.0.236/trunk@83060 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:18:03 +00:00
waterson%netscape.com
a27c8695cc Bug 61241. Change trace-malloc's live object output format to mimic beard's format from Boehm. r=brendan, sr=jband
git-svn-id: svn://10.0.0.236/trunk@83059 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:16:53 +00:00
mkaply%us.ibm.com
3bf87ed75e #56767
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly


git-svn-id: svn://10.0.0.236/trunk@82994 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:51:05 +00:00
dmose%mozilla.org
45d1e6c7f5 added macros for deallocating XPCOM arrays. r=alecf@netscape.com, moa=scc@mozilla.org, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82867 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 20:15:23 +00:00
brendan%mozilla.org
6a865d1089 Revamp REALLOC record for rayw's tool; add flush-log-files function (r=rayw, a=waterson, not part of build).
git-svn-id: svn://10.0.0.236/trunk@82854 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 08:05:05 +00:00
alecf%netscape.com
13743894ed fix for #45797 - fix NS_IMPL_ISUPPORTS consumers
r=dveditz a=self


git-svn-id: svn://10.0.0.236/trunk@82722 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 03:41:41 +00:00
sspitzer%netscape.com
9a8f8e2f66 minor fix. sr=warren
git-svn-id: svn://10.0.0.236/trunk@82443 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 23:59:13 +00:00
mkaply%us.ibm.com
c9e93bf35a #58462
r=av, sr/a=waterson
Add OS/2 calling conventions for plugins


git-svn-id: svn://10.0.0.236/trunk@82437 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 21:28:38 +00:00
danm%netscape.com
34082b3dbc small tweak to get nspr logging running again. bug 58514 r=warren
git-svn-id: svn://10.0.0.236/trunk@82158 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 20:30:47 +00:00
warren%netscape.com
31c25ebc45 Moving leak fixes from logging_102900_branch to trunk to quite tinderbox a bit more.
git-svn-id: svn://10.0.0.236/trunk@82120 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 01:41:15 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
5bfc8cb6de Fix for leak in Vprintf: taking patrick's patch instead
git-svn-id: svn://10.0.0.236/trunk@81936 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 05:24:32 +00:00
warren%netscape.com
e8cd262416 Fix for leak in Vprintf
git-svn-id: svn://10.0.0.236/trunk@81935 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 05:21:54 +00:00
warren%netscape.com
dfb9dae21a Fixed leak beard pointed out on PR_vsmprintf
git-svn-id: svn://10.0.0.236/trunk@81929 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 04:36:33 +00:00
warren%netscape.com
209d2435c5 Added AddRef/Release method for nsLog so that they don't appear to leak. Changed comments too.
git-svn-id: svn://10.0.0.236/trunk@81926 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 03:12:02 +00:00
dbaron%fas.harvard.edu
ff5593edcc Terminate statements with semicolon, not colon. (Fixing warren's bustage.)
git-svn-id: svn://10.0.0.236/trunk@81918 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 02:07:38 +00:00
warren%netscape.com
1b82982835 Added def for NS_GetLog for optimized builds
git-svn-id: svn://10.0.0.236/trunk@81916 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 01:58:42 +00:00
warren%netscape.com
aaf23a98bf Added nslog.h
git-svn-id: svn://10.0.0.236/trunk@81894 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 23:25:45 +00:00
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