Commit Graph

43661 Commits

Author SHA1 Message Date
law%netscape.com
0e4600ac24 Bug #15916; cleaned up context menu generation to make it faster; rev=hyatt@netscape.com 1999-10-09 07:58:24 +00:00
law%netscape.com
d07c34991f Bug #14999; removed use of toolkit app core; rev=scottip@netscape.com 1999-10-09 06:23:30 +00:00
law%netscape.com
59342552a4 Bug #14999; removed use of toolkit app core; rev=rgoodger@ihug.co.nz 1999-10-09 06:21:53 +00:00
law%netscape.com
d1e36c3edc Bug #14999; removed use of toolkit app core; rev=davidm@netscape.com 1999-10-09 06:18:58 +00:00
law%netscape.com
c26435f98e Bug #14999; removed use of toolkit app core; rev=tao@netscape.com 1999-10-09 06:17:46 +00:00
law%netscape.com
0bcce9f87d Bug #14999; removed use of toolkit app core; rev=sfraser@netscape.com 1999-10-09 06:16:33 +00:00
law%netscape.com
b3dc160541 Bug #14999; removed use of toolkit app core; rev=dbragg@netscape.com 1999-10-09 06:15:06 +00:00
jband%netscape.com
b93e33a858 Much of this is under the auspices of bug 15794. r=mccabe.
- map xpcshell's 'quit()' to a loop exit rather than calling
'exit(0)' so that the cleanup and leak detection code will still
get called.

- add NS_InitXPCOM and NS_ShutdownXPCOM to xpcshell to run said
cleanup and leak detection code.

- use more NS_IF_* macros

- fix numerous places where code assumed that
nsXPConnect::GetXPConnect() does not add a new ref on the
xpconnect singleton object (the behavior changed some time back
but not all the uses did - brainfade!).

- fix nsXPCException::NewException to automatically trim
'dataless' native stackframes off of the front of a stack trace.
The old system of manually telling it how many frames to trim was
not working well. We really want the first frame showing to be an
'interesting' frame so that callers who get exceptions thrown at
them will see some useful information rather than an empty native
frame that represents (but says nothing about) some native frame
in the xpconnect runtime.

- remove an extra addref from the trimming loop in
nsXPCException::NewException.

- Stop building XPCJSStack objects. XPConnect stacks are singly
linked lists of XPCJSStackFrame objects with refcounted links. I
had this stupid idea that each object would have a refcounted
link to a XPCJSStack object that would tie together the lifetimes
of all objects in the chain. This was overcomplex and
unnecessary. The linked list was enough. Any frame without a
refcount deserved to be deleted because it is simply unreachable.
There was no reason to tie together all the lifetimes of each
object in the chain. So this has been simplified in a big way.

- fixed place in xpcthrower.cpp where we were leaking a refcount
on the xpconnect singleton each time an xpcexception was thrown.

- do cleanup and gc() at the end of xpctest_echo.js to use for
leak testing - all wrappers should go away.
1999-10-09 06:01:57 +00:00
morse%netscape.com
e0f3d6f629 use nsIModule to prepare for memory leaks fixing. Bug# 14034. r=neeti 1999-10-09 04:50:32 +00:00
sdagley%netscape.com
3ba90c81a0 XP_MAC GC leak detector changes: using LMGetCurStackBase to compute stack bottom, and considering all threads GCable. r=sdagley (checking in for beard). bug=15906 1999-10-09 03:39:54 +00:00
sdagley%netscape.com
9dd37c2054 XP_MAC: turning off a spurious assert in PR_Lock (which can get called at interrupt time!). r=sdagley (checking in for beard). bug=15906 1999-10-09 03:39:52 +00:00
beard%netscape.com
b6e1e55943 fix build bustage, accidentally left GC_LEAK_DETECTOR on. 1999-10-09 03:31:58 +00:00
beard%netscape.com
70619021e6 fix memory leaks (nsMacMessage sink). r=pavlov, bug=15380 1999-10-09 03:08:56 +00:00
beard%netscape.com
3427de714a added "Dump Leaks" menu item. r=jar, bug=15906 1999-10-09 03:01:44 +00:00
beard%netscape.com
06cd4b05ba added dump leaks command. added explicit calls to NS_InitXPCOM/NS_ShutdownXPCOM. r=jar, bug=15906 1999-10-09 03:01:43 +00:00
beard%netscape.com
b68137dad9 Changed MemAllocatorGC.o target to build MemAllocatorDebug.o. r=jar, bug=15906 1999-10-09 02:58:20 +00:00
beard%netscape.com
891214d30b removed FSp_fopen.c, SymFiles.cpp now using native Mac file I/O. r=jar, bug=15906 1999-10-09 02:57:51 +00:00
beard%netscape.com
180919f945 added :dist:gc: and :dist:mac: to access paths. r=jar, bug=15906 1999-10-09 02:56:56 +00:00
beard%netscape.com
5e6ae3fb64 GC_add_roots -> GC_register_fragment, GC_remove_roots -> GC_unregister_fragment. r=jar, bug=15906 1999-10-09 02:56:55 +00:00
beard%netscape.com
796a25e527 added "IDE_Options.h" to ensure consistent build settings. r=jar, bug=15906 1999-10-09 02:54:38 +00:00
beard%netscape.com
45788bda39 added gc_fragments.h. r=jar, bug=15906 1999-10-09 02:53:25 +00:00
beard%netscape.com
0239d763d8 nsFileSpec.GetLeafName() allocates a string, fix leak. r=warren, bug=15380 1999-10-09 02:52:46 +00:00
cls%seawood.org
af793c22b3 Bug #13782 r=ramiro
Fixed the various clean targets so that a distclean is only performed on GtkMozilla when explicitly asked for.
1999-10-09 02:41:01 +00:00
dveditz%netscape.com
4ff472ecb9 fixing Win32 debug build bustage with NS_LOG_ADDREF. r=mccabe 1999-10-09 02:09:31 +00:00
mccabe%netscape.com
49f0952f48 Fix to 15813. Change to using nsFileSpec to read .xpt files; this is 2x faster on the Mac. Fix courtesy Simon Fraser.
r=sfraser, or r=mccabe, depending on how you look at it.
1999-10-09 02:07:35 +00:00
edburns%acm.org
f0cfc15500 Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=15902
Approved by: edburns@acm.org
Reviewed by: edburns@acm.org
Authored by: idk@eng.sun.com
1999-10-09 01:34:29 +00:00
selmer%netscape.com
a96a1c0908 New standard makefile 1999-10-09 01:33:45 +00:00
rhp%netscape.com
4c66c0bcc7 Changes to fix VCard display problems - Changed generated JS - Bugs: #14204 and #12352 - Reviewer: scottip 1999-10-09 01:19:00 +00:00
edburns%acm.org
d1c91a8922 Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=15607
Approved by: av@netscape.com
Reviewed by: av@netscape.com

/**

 * This method queries the prefs for proxy information.

 * It has been tested and is known to work in the following three cases

 * when no proxy host or port is specified

 * when only the proxy host is specified

 * when only the proxy port is specified

 * This method conforms to the return code specified in

 * http://developer.netscape.com/docs/manuals/proxy/adminnt/autoconf.htm#1020923

 * with the exception that multiple values are not implemented.

 */

NS_IMETHODIMP nsPluginHostImpl::FindProxyForURL(const char* url, char* *result)
1999-10-09 01:18:02 +00:00
slamm%netscape.com
b34c1946e2 Use temporary file name without process number for checkout. I was getting the name wrong because I refered to it in a new process (still using the 17606 variable. Hopefully this will be the final checking for bug #15750. r=waterson. I updated some comments too. 1999-10-09 00:31:17 +00:00
dp%netscape.com
13cdc26847 adding precheckin tests. r=matt 1999-10-08 23:50:49 +00:00
dp%netscape.com
fecc0faf3e Adding precheckin tests 1999-10-08 23:48:20 +00:00
av%netscape.com
9e949e98fe Bug 15178, r=vidur adding check for return value avoiding crash 1999-10-08 23:47:03 +00:00
av%netscape.com
4e9cabb770 Bug 15178, r=vidur adding check for null-pointer avoiding crash 1999-10-08 23:46:23 +00:00
terry%mozilla.org
bb381f0492 Fixed bug 15890 -- was producing garbled SQL if doing a query
that required the bugs_activity table.
1999-10-08 23:45:42 +00:00
kipp%netscape.com
2fca0a4fa8 Fixed cellmap ctor/dtor logging to not show up negative 1999-10-08 23:42:13 +00:00
kipp%netscape.com
3e4961fbf5 Fixed a comment that was out of date 1999-10-08 23:41:39 +00:00
kipp%netscape.com
538bc51120 Fixed up hook to track library loads for refcnt logging 1999-10-08 23:41:18 +00:00
kipp%netscape.com
ecd7cc8833 Always call dump-statistics and reset-statistics so that MOZ_DUMP_LEAKS isn't required 1999-10-08 23:40:52 +00:00
kipp%netscape.com
bf334bfc2d Tweaked to avoid a crash in case bloat tracking is on but there is no bloat data to dump 1999-10-08 23:39:57 +00:00
beard%netscape.com
8d52cf697b modernized constants. 1999-10-08 23:35:34 +00:00
beard%netscape.com
6b30031ee4 Rewrote using Mac file I/O, since MSL can only manage 35 FILEs. 1999-10-08 23:35:32 +00:00
jfrancis%netscape.com
14f246e247 applying same fix as rev 1.28 (initializing mIsDone) to the rest of the Init() methods. 1999-10-08 23:34:07 +00:00
nisheeth%netscape.com
f0ef8df8d9 Not currently part of the build. Added a stack behind the save/restore timing macros. 1999-10-08 23:27:09 +00:00
akhil.arora%sun.com
97c680d163 Fixes Bug 15837 by instantiating the proper subtype of Node instead of Node.
Fixed by Igor Nekrestyanov <nis@sparc.spb.su>.
Reviewed by Akhil Arora <akhil.arora@sun.com>.
1999-10-08 23:22:52 +00:00
troy%netscape.com
01052d5667 Changes to SizeOf() code only. This code is debug code that only runs
when you chose the "Show Frame Sizes" menu item...
1999-10-08 23:18:19 +00:00
kipp%netscape.com
c90fda6664 new 1999-10-08 23:04:26 +00:00
selmer%netscape.com
6d2a16ee1e Configs instead of Customizations directory 1999-10-08 22:56:29 +00:00
rogerl%netscape.com
a5bd278835 Fixed 14060 - calling exec on java methods was gettmg caught by exec
trapping nonsense.
1999-10-08 22:55:33 +00:00
syd%netscape.com
d4cb605cf4 Export platform.h. This is legacy stuff that should be removed eventually.
r=mcafee.
1999-10-08 22:37:37 +00:00