Commit Graph

1163 Commits

Author SHA1 Message Date
kipp%netscape.com
597ef271e8 Fixed compilation bustage by using nsIFrameDebug to invoke list and regression data methods 1999-11-01 23:29:05 +00:00
troy%netscape.com
1585a751fb Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
Jerry.Kirk%Nexwarecorp.com
c50b186228 Remove call to nsIThread::SetMainThread() and clean up things a bit.
r=kedl
1999-11-01 20:52:52 +00:00
beard%netscape.com
44de11a49c changed the CID for "component://netscape/gfx/region" to use new NS_SCRIPTABLEREGION_CID. r=pavlov 1999-10-31 02:28:32 +00:00
brendan%mozilla.org
f81d5969c6 (13163, r=alecf, scc, waterson, others; names available on request)
- Fix most of bug 13163 (see TODO for rest).  This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks. 

- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp.  These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that. 

- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString.  Also changed various nsresult vars to be named rv.  Also restored brace/style conformity to nsJSProtocolHandler.cpp. 

- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject. 

- Lots of nsCOMPtr uses added.  I'm using one for mNameSpaceManager.  Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak).  These two managers should be moved to the window object -- TODO item below. 

- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver. 

- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated.  This meant factoring nsJSUtils.cpp code. 

- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace. 

- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
dp%netscape.com
126d4cbb56 Fixing viewer starup assert on SetMainThread() happening twice. 1999-10-30 17:17:12 +00:00
troy%netscape.com
914c067b76 Removed call to SetMainThread() because it was triggering an assert. Turns
out NS_InitXPCOM() does it so we don't need to do it twice
1999-10-30 16:44:04 +00:00
evaughan%netscape.com
bb8b139772 Fixed bug in example. -r hyatt 1999-10-29 23:27:26 +00:00
warren%netscape.com
bb7537da50 Moved purify stuff into xpcom/base for the benefit of all. 1999-10-29 03:28:22 +00:00
kipp%netscape.com
0e326d49bf nuked another silly warning because I got tired of seeing it 1999-10-29 02:06:33 +00:00
kipp%netscape.com
10949bfd27 I added logic to the viewers browser window to disable javascript initiated popups during web crawling; I also fixed the web crawler to only initiate a new load after a previous document ends not a subdocument (again!) 1999-10-29 02:06:09 +00:00
kipp%netscape.com
2a1378d3ff I added logic to the viewers browser window to disable javascript initiated popups during web crawling 1999-10-29 02:05:16 +00:00
kmcclusk%netscape.com
81a82a507c Removed stray semi-colon after NS_DECL_ISUPPORTS bug=17235 r=rods@netscape.com 1999-10-28 20:24:19 +00:00
hoa.nguyen%intel.com
b7d200f3ef Initialize cookie manager. Allows cgi scripts to set and retrieve cookies through viewer. r=edburns@acm.org 1999-10-27 23:58:49 +00:00
troy%netscape.com
2ea886f3be Changed view to be stored as a frame property instead of a member data
of nsFrame
1999-10-27 03:56:14 +00:00
troy%netscape.com
87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
kmcclusk%netscape.com
8b37802ce3 Register nsFormProcessor service to exercise nsIFormProcessor interface.
bug 17060. r=karnaze@netscape.com
1999-10-25 22:54:12 +00:00
beard%netscape.com
fb3b49b8a6 removed obsolete access paths. r=sfraser 1999-10-24 02:45:17 +00:00
troy%netscape.com
5fc05be5eb Removed a comment 1999-10-23 02:27:07 +00:00
ramiro%fateware.com
20f4b6a571 Fix #ifdef DEBUG_ramiro build bustage. 1999-10-21 19:30:29 +00:00
waterson%netscape.com
a6bff4a24e Change nsTraceRefcnt::WalkTheStack() to accept stream. 1999-10-21 03:45:12 +00:00
beard%netscape.com
9a212b70a9 use nsILeakDetector service. r=gordon, bug=15906 1999-10-21 00:13:07 +00:00
Jerry.Kirk%Nexwarecorp.com
efb6d8fdb8 Fix for viewer bustage on Neutrino. Added call to nsIThread::SetMainThread
in main() of viewer so that it can retrieved in other cases. R=vidur
1999-10-15 21:39:30 +00:00
vidur%netscape.com
417bef5e05 Fix for viewer bustage on Windows. Added call to nsIThread::SetMainThread in main() of viewer so that it can retrieved in other cases. R=kipp 1999-10-15 21:09:46 +00:00
kipp%netscape.com
fd38c7e478 Removed old netlib code; changed url loading when crawling to use the event queue to fix some re-entrancy issues somewhat 1999-10-15 14:09:19 +00:00
kipp%netscape.com
5b74d16c65 Added sorting to the debug dump data for show-frame-size and show-content-size 1999-10-15 14:08:14 +00:00
kipp%netscape.com
85ec47cc23 Make necko work with the viewer again 1999-10-14 14:43:59 +00:00
waterson%netscape.com
8241422540 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 02:10:08 +00:00
evaughan%netscape.com
f3a2112f38 Integrated Gfx scrollbars. 1999-10-12 00:16:06 +00:00
dveditz%netscape.com
ff01d5e8f4 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +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
kipp%netscape.com
869850d839 Enable NS_FreeImageManager now that the call is part of the tip 1999-10-08 20:41:49 +00:00
kipp%netscape.com
65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren%netscape.com
8c71c45537 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
mgleeson1%netscape.com
4200161bd1 r=kipp removed unnecessary include for dlfcn.h 1999-10-06 18:53:41 +00:00
kipp%netscape.com
429c91ee8d Cleanup special viewers too 1999-10-06 00:00:18 +00:00
kipp%netscape.com
aee944905d Implement ShowContentSize; fixed a bug where we weren't removing the browser window as a doc-loader observer which sometimes triggers a crash when the -f argument to the viewer is used 1999-10-05 23:59:59 +00:00
kipp%netscape.com
b2b1eab47b r=dp; Added in ctor/dtor counting 1999-10-05 14:53:20 +00:00
rpotts%netscape.com
89f54ea1ae bug #15341 and bug #15344. Use the documentloader observer instead of a stream observer. 1999-10-05 04:04:16 +00:00
kipp%netscape.com
7b7c3b1eb6 Disabled leak cleanup until other reviews come in 1999-10-05 01:26:14 +00:00
shawnp%earthling.net
017409f3ab Added missing entries to the menus. Added key accessors for menu items that
were missing them. Reviewed by ramiro@netscape.com.
1999-10-05 01:21:29 +00:00
kipp%netscape.com
b8fa545444 r=dp; tidy up exit logic to release more global junk (space team work) 1999-10-04 23:41:53 +00:00
kipp%netscape.com
2d86782610 r=dp,vidur,beard; close up some memory leaks related to shutdown of the viewer 1999-10-04 23:41:25 +00:00
beard%netscape.com
e684f9a224 changed from directly using "MSL AppRuntime.Lib" to using "NSAppStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:43:01 +00:00
hyatt%netscape.com
0c1aef9920 Splitting xul.css into two files and making them load automatically at startup. R=danm@netscape.com 1999-10-01 20:49:07 +00:00
vidur%netscape.com
d2d27887f3 Removed parser entries from nsSetupRegistry. Parser is now a module. To be reviewed by RickG. 1999-09-30 22:09:51 +00:00
kipp%netscape.com
208b561b6d Close up a memory leak 1999-09-30 21:38:56 +00:00
rods%netscape.com
24d9e54d0f Added closing tags for several option elements 1999-09-30 11:58:45 +00:00
morse%netscape.com
07080efeb1 fix bug 14958 -- approved chofmann 1999-09-29 05:39:18 +00:00