Граф коммитов

45466 Коммитов

Автор SHA1 Сообщение Дата
tbogard%aol.net dddb70dd9b Fixed changes to use the GetPresShell rather than using the now removed member variable. 1999-10-31 02:05:21 +00:00
brendan%mozilla.org fe51b61664 (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
scc%netscape.com 8f4e7ad8e4 changed the mechanism underlying |do_QueryInterface| to decouple |nsCOMPtr| from services, |nsIWeakReference|, etc. This change fixes bug #17364, and paves the way for making |nsCOMPtr| cooperate with services. r=valeski (additional builds done by dmose and syd) 1999-10-31 00:35:48 +00:00
scc%netscape.com b67e1fc39c removed incorrect use of private class name in favor of |do_QueryInterface|, part of the fix for bug #17364, r=valeski (additional builds done by dmose, and syd) 1999-10-31 00:32:15 +00:00
syd%netscape.com 70ca88d41d Add xpcom.dll to link line so test will link with scc changes make about this time. r=scc 1999-10-31 00:22:53 +00:00
pavlov%netscape.com 060303c1a7 better fix for twips rounding problems patch_from=dbaron@fas.harvard.edu r=me 1999-10-31 00:09:52 +00:00
sgehani%netscape.com 03d941a318 Turning on Mac Install Wizard. [r=ssu] 1999-10-30 23:04:41 +00:00
sgehani%netscape.com 98b48e7109 *** NOT PART OF BUILD *** Added "About..." box. 1999-10-30 22:29:26 +00:00
sgehani%netscape.com 852783665a Changes to accomodate ASEncoder for bug 17096 (new interfaces: GUI and AppleScript to accept folders to decode and encode). [r=dveditz] 1999-10-30 22:24:09 +00:00
sgehani%netscape.com 93dd53981e First Checked In. 1999-10-30 22:21:38 +00:00
sgehani%netscape.com 04537f00dd *** NOT PART OF BUILD *** Fixes for bug 17096. New interfaces (GUI and AppleScript) that accept folders to encode and decode. 1999-10-30 22:21:28 +00:00
sgehani%netscape.com cb39a72715 Fixing static targets to be usable by MIW once again: removed new nsJARInputStream from the static targets. For real this time... 1999-10-30 22:18:31 +00:00
sgehani%netscape.com 6716ef3790 Backed out change temporarily. 1999-10-30 22:03:46 +00:00
sgehani%netscape.com 9aa120d5cc Fixing static targets to be usable by MIW once again: removed new nsJARInputStream from the statis targets. 1999-10-30 21:56:51 +00:00
beard%netscape.com a8bc30a499 MLK: fix device context leak, bug=15380, r=scc 1999-10-30 20:18:31 +00:00
beard%netscape.com b7336b7219 MLK: fixed nsICSSDeclaration leak, bug=15380, r=kipp 1999-10-30 20:17:40 +00:00
dp%netscape.com 5cc08cae11 Fixing viewer starup assert on SetMainThread() happening twice. 1999-10-30 17:17:12 +00:00
troy%netscape.com fa40e4e664 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
buster%netscape.com 568c1adfff huge performance work for text controls
we now display the content of a single line text control using a child pseudo frame
until the text control first gets focus.  at that time, a webshell and editor are created on the fly.
fixed bug bug 14727
r=rods
1999-10-30 16:33:00 +00:00
buster%netscape.com 6d9ca51598 added pseudo style for single line text controls
bug 14727
r=rods
1999-10-30 16:31:11 +00:00
buster%netscape.com c1b8a96276 added DOM notification up to frame system for text control value changes
part of  bug 14727
r=rods
1999-10-30 16:30:33 +00:00
buster%netscape.com 072fe15daf added pseudo-style for single line text controls. bug 14727 1999-10-30 16:29:32 +00:00
troy%netscape.com 56620e9b5a Added nsHTMLReflowState.h 1999-10-30 16:16:45 +00:00
alecf%netscape.com 597b32b1f9 make buttons class="push"
only a test, not part of product
1999-10-30 07:39:07 +00:00
alecf%netscape.com 5dd8541d01 update debug menu to reflect new DOMViewer location
(debug only not part of product)
1999-10-30 07:38:12 +00:00
alecf%netscape.com 5b15ee0d07 fix a warning
r=pavlov
1999-10-30 07:32:23 +00:00
alecf%netscape.com f2cd8c36e8 move DOM viewer into chrome so that DOM security doesn't f us up again
only a test, not part of the product
1999-10-30 07:23:07 +00:00
alecf%netscape.com 3c83045767 more tweaks for boehm to catch up with the nsILeakDetector work 1999-10-30 07:06:26 +00:00
dp%netscape.com 36b9b91825 Removing shutdown listener. Releasing gCaseConv on XPCOM Shutdown r=kipp 1999-10-30 06:45:45 +00:00
beard%netscape.com 815231bf95 fixed up -blame option to use line marking. 1999-10-30 05:59:02 +00:00
alecf%netscape.com 7e7d501a38 more adding of class="dialog" to dialogs 1999-10-30 05:55:15 +00:00
beard%netscape.com bf1dc93163 fix nsIInterfaceInfoManager leak. bug=15380, r=jband 1999-10-30 05:48:07 +00:00
alecf%netscape.com f51804c261 add class="dialog" to mailnews prefs panes
this and last checkin r=rgoodger@ihug.co.nz
1999-10-30 05:46:04 +00:00
alecf%netscape.com b4b974857d add class="dialog" to all pref window dialogs
enable languages pane and fix XUL
disable smart_browsing pane (because it was crashing)
1999-10-30 05:44:23 +00:00
beard%netscape.com 42d488bfee changed gInstanceClassName from char[256] to const char* to save space. r=sfraser 1999-10-30 04:02:54 +00:00
beard%netscape.com ec47c4b52f changed gInstanceClassName from char[256] to const char* to save space. added NS_IF_RELEASE(mFontMetrics) to destructor to fix memory leak. bug=15380, r=sfraser 1999-10-30 04:02:50 +00:00
danm%netscape.com cf345f56c9 insert cast necessary on one of the "other" platforms 1999-10-30 03:13:55 +00:00
troy%netscape.com b513453f89 Updated to not export nsIFrameReflow.h 1999-10-30 02:53:36 +00:00
troy%netscape.com b2025a682a Changed to not export nsIFrameReflow.h 1999-10-30 02:52:43 +00:00
troy%netscape.com effb3aefb7 Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
tbogard%aol.net 4a83671b62 Removed mPresShell and mPresContext from the base class. Added internal getter function GetPresShell to retrieve presShell objects. Added a pointer to mContentViewer. Changed LoadURI* to take a presContext. Changed SetDocument to take a presContext. Changed the attribute presContext to be read only. 1999-10-30 02:30:13 +00:00
akhil.arora%sun.com 66c3fae066 r=akhil.arora@sun.com, fix by Denis Sharypov <sdv@sparc.spb.su>
13271: the wrong method was being called in ProcessingInstructionImpl.cpp
13338: handle null input arguments gracefully without crashing
1999-10-30 02:14:28 +00:00
beard%netscape.com 7407ea381a moved call to nsIThread::SetMainThread() to NS_InitXPCOM. r=warren 1999-10-30 01:53:03 +00:00
beard%netscape.com 296d655c74 added call to nsIThread::SetMainThread(), to ensure users of XPCOM get a main thread mapped. r=warren 1999-10-30 01:52:55 +00:00
nisheeth%netscape.com e634256817 Fix for bug 17540. Uncommented the call to nsFrameManager::CantRenderReplacedElement(). 1999-10-30 01:31:49 +00:00
beard%netscape.com 0a8da6430b Removed statically constructed nsAutoString LinkCommand, moved inside nsWebShell::LoadURL(). This prevents calling printf before main runs on MacOS, which messes up the console window. r=sfraser 1999-10-30 01:23:01 +00:00
waterson%netscape.com 183624d925 '#if 0' DOM crawling code in toolbar frame to avoid over-eager generation of content model from RDF. GetElementsByTagName() is evil! r=pinkerton,hyatt 1999-10-30 01:21:44 +00:00
beard%netscape.com 49e3e4ba38 Fix proxied objects leak. r=sfraser, bug=15380 1999-10-30 01:17:24 +00:00
tbogard%aol.net 504dcd7cff Removed zoom now that it has been moved out of the nsIGenericWindow interface. 1999-10-30 00:53:41 +00:00
tbogard%aol.net 3adce77597 Moved zoom attribute from nsIGenericWindow to nsIDocShell. Updated zoom documentation. 1999-10-30 00:52:57 +00:00