44231 Commits

Author SHA1 Message Date
warren%netscape.com
6320eadc46 Fixed refcounting problem and possible out-of-memory condition. r=kipp
git-svn-id: svn://10.0.0.236/trunk@50323 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 02:08:08 +00:00
dveditz%netscape.com
30a83caa1d Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@50322 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 01:32:59 +00:00
ssu%netscape.com
765cdf4fa9 fixing bug #15953. No fix is not part of tinderbox builds. affects only windows. Got approval from Syd_Sheriff. Also updated config.ini to not reference the editor since it has been rolled into the core.xpi.
git-svn-id: svn://10.0.0.236/trunk@50321 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 22:21:11 +00:00
ssu%netscape.com
f818f184a0 this checkin is to help fix bug #15393. There is one more step to truly fix it, which will come later. Reviewed by sgehani@netscape.com. This only affects windows platforms. This fix is needed because xpistub.dll no longers requires two callback functions: XpiStart() and XpiFinal().
git-svn-id: svn://10.0.0.236/trunk@50320 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 21:41:02 +00:00
ssu%netscape.com
2478da99aa this checkin is to help fix bug #15393. There is one more step to truly fix it, which will come later. This fix is by dveditz, and reviewed by ssu.
git-svn-id: svn://10.0.0.236/trunk@50319 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 21:37:21 +00:00
rginda%ndcico.com
27e760dac4 * Makefile.in, makefile.win
Install new css files and alternate images.

* README
Removed some rot.

* events.js
Add ability to disable a hook without uninstalling it.
Changed return value of addHook to the new hook object.
Added getHook(name) method.
Removed unused variable from routeEvent.

* http.js, irc-debug.js
Fixed spelling error.

* irc.js
network.onConnect no longer forwards the event to the server.
Added getModeStr() method to the IRCChanMode object to retrieve the entire mode string for a channel.

* utils.js
Added Clone() constructor.
Fixed problem in stringTrim.
Added getStackTrace() ... Whoopee!! ...

* bsconnection.c, bsutil.c
Stop warnings on Mac.

* index.html
Change links to buttons to avoid troubles with other methods (href="javascript:f()" | (href="javascript:(void 0)" | href="#") onclick="f()")

* test3-commands.js
Wiring for /testdisplay and /msg commands.

* test3-handlers.js
Added debug message toggle menuitem handler.
Added style change menu item handler.
Added hack to work around bad KeyUp events.
Factored out some logic from onInputCompleteLine into getObjectDetails (in test3-static.js)
Added /testdisplay and /msg implementation.
Fixed error message for unknown network passed to /network.
Added topicDate to output of /topic command.
updateNetwork and updateChannel calls sprinkled throughout to keep the statusbar current.
Added topic change handler.

* test3-static.js
Post new messages top to bottom!!
Disable the debug hook by default.
Added getObjectDetails (factored out of test3-handlers.js)
Added setOutputStyle to dynamically change the .cs file used for the output window.
Implemented updateNetwork and updateChannel.
Massive changes to .display methods make output window now display using a table, instead of spans (much faster, btw.)
Fixed addHistory to trim the correct side of the output, regardless of print direction.

* test3.css
Factored out output window styles.

* test3.xul
Added menu options for debug message toggle and style changes.
Added statusbar (table.)

* test3-output-default.css, test3-output-marble.css
Added output window stylesheets.


git-svn-id: svn://10.0.0.236/trunk@50318 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 21:26:52 +00:00
ssu%netscape.com
84d2d35991 fixing bug #15584. reviewed by sgehani@netscape.com. Fixes build warnings under linux.
git-svn-id: svn://10.0.0.236/trunk@50317 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 21:08:35 +00:00
law%netscape.com
7f7558dc5d Bug #15916; cleaned up context menu generation to make it faster; rev=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50316 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 07:58:24 +00:00
law%netscape.com
2705d8b72b Bug #14999; removed use of toolkit app core; rev=scottip@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50315 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 06:23:30 +00:00
law%netscape.com
0a8ef0fe92 Bug #14999; removed use of toolkit app core; rev=rgoodger@ihug.co.nz
git-svn-id: svn://10.0.0.236/trunk@50314 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 06:21:53 +00:00
law%netscape.com
8191c9d684 Bug #14999; removed use of toolkit app core; rev=davidm@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50313 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 06:18:58 +00:00
law%netscape.com
79880beab5 Bug #14999; removed use of toolkit app core; rev=tao@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50312 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 06:17:46 +00:00
law%netscape.com
7db449cd06 Bug #14999; removed use of toolkit app core; rev=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50311 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 06:16:33 +00:00
law%netscape.com
18dd71d7d3 Bug #14999; removed use of toolkit app core; rev=dbragg@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50310 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 06:15:06 +00:00
jband%netscape.com
8d3833cb33 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.


git-svn-id: svn://10.0.0.236/trunk@50309 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 06:01:57 +00:00
morse%netscape.com
580e6e380c use nsIModule to prepare for memory leaks fixing. Bug# 14034. r=neeti
git-svn-id: svn://10.0.0.236/trunk@50308 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 04:50:32 +00:00
sdagley%netscape.com
f5924be40d 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
git-svn-id: svn://10.0.0.236/trunk@50306 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 03:39:54 +00:00
sdagley%netscape.com
886d9b7c4f 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
git-svn-id: svn://10.0.0.236/trunk@50305 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 03:39:52 +00:00
beard%netscape.com
d2773dffe3 fix build bustage, accidentally left GC_LEAK_DETECTOR on.
git-svn-id: svn://10.0.0.236/trunk@50304 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 03:31:58 +00:00
beard%netscape.com
79da82091a fix memory leaks (nsMacMessage sink). r=pavlov, bug=15380
git-svn-id: svn://10.0.0.236/trunk@50302 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 03:08:56 +00:00
beard%netscape.com
8927726ce7 added "Dump Leaks" menu item. r=jar, bug=15906
git-svn-id: svn://10.0.0.236/trunk@50301 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 03:01:44 +00:00
beard%netscape.com
4aa916c066 added dump leaks command. added explicit calls to NS_InitXPCOM/NS_ShutdownXPCOM. r=jar, bug=15906
git-svn-id: svn://10.0.0.236/trunk@50300 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 03:01:43 +00:00
beard%netscape.com
a193449dbf Changed MemAllocatorGC.o target to build MemAllocatorDebug.o. r=jar, bug=15906
git-svn-id: svn://10.0.0.236/trunk@50299 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:58:20 +00:00
beard%netscape.com
6d47545512 removed FSp_fopen.c, SymFiles.cpp now using native Mac file I/O. r=jar, bug=15906
git-svn-id: svn://10.0.0.236/trunk@50298 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:57:51 +00:00
beard%netscape.com
d568e564ce added :dist:gc: and :dist:mac: to access paths. r=jar, bug=15906
git-svn-id: svn://10.0.0.236/trunk@50297 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:56:56 +00:00
beard%netscape.com
9a6d1be468 GC_add_roots -> GC_register_fragment, GC_remove_roots -> GC_unregister_fragment. r=jar, bug=15906
git-svn-id: svn://10.0.0.236/trunk@50296 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:56:55 +00:00
beard%netscape.com
c3710aa7cf added "IDE_Options.h" to ensure consistent build settings. r=jar, bug=15906
git-svn-id: svn://10.0.0.236/trunk@50295 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:54:38 +00:00
beard%netscape.com
ab9846ab1e added gc_fragments.h. r=jar, bug=15906
git-svn-id: svn://10.0.0.236/trunk@50294 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:53:25 +00:00
beard%netscape.com
bfb9762e5a nsFileSpec.GetLeafName() allocates a string, fix leak. r=warren, bug=15380
git-svn-id: svn://10.0.0.236/trunk@50293 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:52:46 +00:00
cls%seawood.org
f49139b533 Bug #13782 r=ramiro
Fixed the various clean targets so that a distclean is only performed on GtkMozilla when explicitly asked for.


git-svn-id: svn://10.0.0.236/trunk@50292 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:41:01 +00:00
dveditz%netscape.com
19c0e43ded fixing Win32 debug build bustage with NS_LOG_ADDREF. r=mccabe
git-svn-id: svn://10.0.0.236/trunk@50291 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:09:31 +00:00
mccabe%netscape.com
d69dd3df67 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.


git-svn-id: svn://10.0.0.236/trunk@50290 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:07:35 +00:00
edburns%acm.org
dc683794a3 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


git-svn-id: svn://10.0.0.236/trunk@50289 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 01:34:29 +00:00
selmer%netscape.com
dc6d4aa6fa New standard makefile
git-svn-id: svn://10.0.0.236/trunk@50288 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 01:33:45 +00:00
rhp%netscape.com
99e13cf601 Changes to fix VCard display problems - Changed generated JS - Bugs: #14204 and #12352 - Reviewer: scottip
git-svn-id: svn://10.0.0.236/trunk@50287 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 01:19:00 +00:00
edburns%acm.org
66eaef7892 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)


git-svn-id: svn://10.0.0.236/trunk@50286 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 01:18:02 +00:00
slamm%netscape.com
5ff13771d4 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.
git-svn-id: svn://10.0.0.236/trunk@50285 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 00:31:17 +00:00
dp%netscape.com
c6019b3551 adding precheckin tests. r=matt
git-svn-id: svn://10.0.0.236/trunk@50284 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:50:49 +00:00
dp%netscape.com
3be8f0bb27 Adding precheckin tests
git-svn-id: svn://10.0.0.236/trunk@50283 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:48:20 +00:00
av%netscape.com
f82a173c1b Bug 15178, r=vidur adding check for return value avoiding crash
git-svn-id: svn://10.0.0.236/trunk@50282 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:47:03 +00:00
av%netscape.com
c4fd2231d1 Bug 15178, r=vidur adding check for null-pointer avoiding crash
git-svn-id: svn://10.0.0.236/trunk@50281 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:46:23 +00:00
terry%mozilla.org
22765f12e4 Fixed bug 15890 -- was producing garbled SQL if doing a query
that required the bugs_activity table.


git-svn-id: svn://10.0.0.236/trunk@50280 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:45:42 +00:00
kipp%netscape.com
fb8e1bdb06 Fixed cellmap ctor/dtor logging to not show up negative
git-svn-id: svn://10.0.0.236/trunk@50279 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:42:13 +00:00
kipp%netscape.com
9c16516bfc Fixed a comment that was out of date
git-svn-id: svn://10.0.0.236/trunk@50278 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:41:39 +00:00
kipp%netscape.com
a4f420d4fb Fixed up hook to track library loads for refcnt logging
git-svn-id: svn://10.0.0.236/trunk@50277 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:41:18 +00:00
kipp%netscape.com
6a697df2cd Always call dump-statistics and reset-statistics so that MOZ_DUMP_LEAKS isn't required
git-svn-id: svn://10.0.0.236/trunk@50276 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:40:52 +00:00
kipp%netscape.com
fabbe52905 Tweaked to avoid a crash in case bloat tracking is on but there is no bloat data to dump
git-svn-id: svn://10.0.0.236/trunk@50275 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:39:57 +00:00
beard%netscape.com
b625f8c219 modernized constants.
git-svn-id: svn://10.0.0.236/trunk@50274 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:35:34 +00:00
beard%netscape.com
3270b2a66f Rewrote using Mac file I/O, since MSL can only manage 35 FILEs.
git-svn-id: svn://10.0.0.236/trunk@50273 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:35:32 +00:00
jfrancis%netscape.com
84003fe77b applying same fix as rev 1.28 (initializing mIsDone) to the rest of the Init() methods.
git-svn-id: svn://10.0.0.236/trunk@50272 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:34:07 +00:00