jst%netscape.com
872a669579
Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
...
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.
dom/public/nsDOMPropEnums.h,v - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v - bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v - bug 12559
2000-03-17 13:27:00 +00:00
cmanske%netscape.com
2824049212
Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge
2000-03-16 23:45:39 +00:00
rhp%netscape.com
4e23d61267
Changes to fix many bugs including quoting style size - vcard I18N fixes - compose fixes - etc - Bug #: 12505 25610 29806 30048 30744 31207 31589
2000-03-15 01:47:36 +00:00
rickg%netscape.com
ffe78e83e5
removed calls to deprecated string methods
2000-03-12 09:14:14 +00:00
norris%netscape.com
060e388a6b
Files:
...
caps/idl/nsICertificatePrincipal.idl
caps/idl/nsIPrincipal.idl
caps/src/nsBasePrincipal.cpp
Implement the ability to manipulate multiple capabilties simultaneously.
r=mstoltz@netscape.com
Files:
caps/src/nsCodebasePrincipal.cpp
Codebase equality should be based upon origin, not full path.
r=mstoltz@netscape.com
Files:
caps/src/nsScriptSecurityManager.cpp
Change URI checking to deny based upon scheme rather than allow based upon
scheme for greater flexibility.
r=mstoltz@netscape.com
Files:
dom/public/nsDOMPropEnums.h
dom/public/nsDOMPropNames.h
dom/src/base/nsGlobalWindow.cpp
modules/libpref/src/init/all.js
Fix bug 20469 Seeing JS functions and global variables from arbitrary host
r=vidur@netscape.com
Files:
dom/src/base/nsJSUtils.cpp
dom/src/base/nsJSUtils.h
dom/src/base/nsJSEnvironment.cpp
dom/tools/JSStubGen.cpp
layout/base/src/nsDocument.cpp
layout/html/content/src/nsGenericHTMLElement.cpp
Improve performance by removing NS_WITH_SERVICE call for every DOM access.
Propagate XPCOM failure codes out properly.
r=vidur@netscape.com
Files:
layout/html/document/src/nsFrameFrame.cpp
Fix 27387 Circumventing Same Origin security policy using setAttribute
r=vidur@netscape.com
2000-03-11 06:32:42 +00:00
tbogard%aol.net
00f72467b3
ContentViewer Initialization now take an nsIWidget instead of a native window.
2000-03-11 01:24:59 +00:00
tbogard%aol.net
4eec4fb506
nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg
2000-03-02 07:13:02 +00:00
norris%netscape.com
d64387736b
Fix 28612 META Refresh allowed in Mail/News
...
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar
2000-02-23 22:34:40 +00:00
pollmann%netscape.com
17abb23f3a
Bug 14827: Removing dead code. r=harishd a=rickg
2000-02-21 02:21:38 +00:00
jdunn%netscape.com
080142580c
Fix problem with NS_IF_ADDREF on member variables inside of const
...
member functions. This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h
r=troy@netscape.com ,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com
2000-02-17 23:19:18 +00:00
joki%netscape.com
c564b74577
Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann
2000-02-16 06:59:07 +00:00
mscott%netscape.com
d167d60ce2
Bug #19499 --> remove some obsolete code involving mailto
...
urls. we can handle mailto urls just fine now. this was giving us problems if you moused over or
clicked on a http/file url that had the word "mailto" in it.
r=vidur
2000-02-16 03:28:40 +00:00
sfraser%netscape.com
5491ddfa58
Fix the document viewer command updating, give it a selection listener etc, so that commands get updated at the right time. for bug 18395. r=pinkerton
2000-02-16 01:39:30 +00:00
mjudge%netscape.com
03236d5de7
adding new file should not be built yet. this will do no harm
2000-02-12 06:09:19 +00:00
mjudge%netscape.com
5b067e70a2
small change for bad assert...
2000-02-12 00:24:55 +00:00
tbogard%aol.net
b91c1c9cea
Assert when trying to sizeToContent on subframes. It's not allowed. r=hyatt
2000-02-11 08:35:20 +00:00
attinasi%netscape.com
2f46ba2ee2
PresShell is now observing the document always instead of just when a new PresContext is NOT created. r=troy b=25406
2000-02-11 01:21:50 +00:00
attinasi%netscape.com
254d4b2ef3
Support for enabling / Disabling the timer. r=pierre b=25406
2000-02-11 01:21:36 +00:00
attinasi%netscape.com
5a8bd5c7d6
Backing out the change I accidentally checked in.
2000-02-10 19:47:36 +00:00
attinasi%netscape.com
fee84adb65
Support for enabling / Disabling the timer. r=pierre b=25406
2000-02-10 19:21:55 +00:00
mjudge%netscape.com
b32999a1de
big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
2000-02-10 04:35:51 +00:00
kmcclusk%netscape.com
cd6f5d237b
Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
...
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
jst%citec.fi
48f5ed17fa
Make context menus work on XML pages ( #15713 ). r=vidur@netscape.com,joki@netscape.com
2000-02-09 13:58:26 +00:00
tbogard%aol.net
7f0033c302
SizeToContent now works properly within the new DocShell API world. r=hyatt
2000-02-08 15:49:14 +00:00
joki%netscape.com
3480787577
Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt
2000-02-08 02:05:57 +00:00
vidur%netscape.com
0970222b53
Optimize the case for container content with only a single child (the most common case). Now we only allocate a nsVoidArray if there's more than one child. r=troy
2000-02-08 01:12:59 +00:00
vidur%netscape.com
f77571182e
Fix for bug 24306. The DocumentViewer now cleans up dangling webshell references in the PresContext. nsGenericElement::TriggerLink deals with a nonexistent handler (it might have been deleted already as part of event processing). r=buster, joki
2000-02-02 23:40:22 +00:00
valeski%netscape.com
0eefca1c2f
r=norris. we now pass url creation failure's into the onclick handers
2000-02-02 23:02:59 +00:00
pp%ludusdesign.com
58065dda04
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
2000-02-02 22:24:56 +00:00
sfraser%netscape.com
4cdaf734cf
Avoid crashing when mousing over links in teh composer window. r=brade
2000-02-01 00:00:17 +00:00
vidur%netscape.com
5dff43a188
Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann
2000-01-29 00:34:07 +00:00
vidur%netscape.com
e8157b30cb
Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann
2000-01-28 23:43:12 +00:00
warren%netscape.com
20da4f3233
Fix to propagate failure from MakeAbsolute to DOM event handler. r=vidur,joki
2000-01-28 06:55:27 +00:00
vidur%netscape.com
42cdaa322f
Fixed bug 16609. RemoveNamedItem now returns the correct error code if the attribute doesn't exist. r=pollmann
2000-01-27 05:17:11 +00:00
vidur%netscape.com
52b312047c
Fix for bugs 25082 and 25084. Range::SetStartBefore, etc. need to return an error for a null sibling. Range::createContextualFragment needed to allow for a null document. r=pollmann
2000-01-27 02:51:51 +00:00
harishd%netscape.com
22ce02da97
Fix for Bug 24738 - Restricting DOCTYPE to html document only.
...
r=pollmann
2000-01-26 22:57:18 +00:00
norris%netscape.com
7ec9655d07
Fix 23227 Document object vulnerability
...
r=mstoltz
2000-01-26 15:33:57 +00:00
dcone%netscape.com
e31204f271
support for regression testing. r=rods
2000-01-26 15:14:41 +00:00
pierre%netscape.com
0ff017366d
Bug 24676 ("Need -moz-outline-radius feature"). Added the 'outline_radius' similarly to the 'border_radius'.
2000-01-24 11:19:55 +00:00
pierre%netscape.com
6962364ebd
9809 "Dynamic changes of outline properties aren't repainted". Generate a reflow when the outline changes.
2000-01-24 08:16:54 +00:00
nisheeth%netscape.com
22a5959edb
Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me.
2000-01-24 06:43:15 +00:00
norris%netscape.com
8507a58ec3
Files:
...
caps/include/nsScriptSecurityManager.h
caps/src/nsScriptSecurityManager.cpp
modules/libpref/src/init/all.js
Fix
24565 nsScriptSecurityManager::GetSecurityLevel() is a performance
24567 re-write DOM glue security checks to avoid NS_WITH_SERVICE()
r=waterson
Files:
dom/src/base/nsGlobalWindow.cpp
layout/base/src/nsDocument.cpp
layout/base/src/nsGenericElement.cpp
Fix assertion failure for 1-character property names.
Files:
dom/src/jsurl/nsJSProtocolHandler.cpp
webshell/src/nsDocLoader.cpp
Fix 18653 "javascript:" URLs cross windows problems (probably regressi
r=nisheeth
Files:
layout/events/src/nsEventListenerManager.cpp
Fix
23834 document.onkeypress allows sniffing keystrokes
24152 document.onclick shows links from other window
r=joki
2000-01-23 04:23:14 +00:00
scc%netscape.com
2f2082906e
Must use |GetEnumerator|; can't QI a selection to get the enumerator. Fixes bug #24354 . Also fixes a leak in the same routine. r=buster, a={chofmann, brendan}
2000-01-19 22:56:25 +00:00
hyatt%netscape.com
cd53596229
Adding an interface for the creation of elements. r=waterson
2000-01-19 03:09:12 +00:00
sfraser%netscape.com
0fd5439c99
More of the fix for 14026 -- hook up Select All in the browser windows's controller, and general tidyup. r=saari
2000-01-18 21:06:10 +00:00
danm%netscape.com
e86a4b53fb
adding a parameter to nsIBrowserWindow::SizeWindowTo. part of bug 15555. r:hyatt
2000-01-15 02:30:34 +00:00
tao%netscape.com
da49ef2262
bug 23400: Need to expose api GetDocumentCharacterSet() to JS. r=vidur.
2000-01-15 02:01:05 +00:00
dcone%netscape.com
a9bdf781f5
Added a container for the printContext. r= rods b = 21470
2000-01-14 14:30:41 +00:00
norris%netscape.com
1cf0d7f12b
Fix warning.
2000-01-11 23:55:18 +00:00
dcone%netscape.com
dcdec2846c
Set the container for the printContext. Fixes an Assert, but not the entire bug. r=Rods b=21470
2000-01-11 22:32:23 +00:00
hyatt%netscape.com
21a48fa26a
adding behavior property to CSS. r=brendan
2000-01-11 03:40:41 +00:00
pinkerton%netscape.com
62e9d2db5e
fixing bug 21414 the right way, reverting api's to their previous ways.
2000-01-10 23:04:24 +00:00
norris%netscape.com
ddb2282b6c
Fix
...
858 [Feature] JavaScript auto-disable per-domain RFE
13023 Users must be able to disable Java and JavaScript (for JS in mail)
21923 Executing functions in "chrome:" protocol - #2 .
r=mstoltz
(Checked in with red on Mac; Wan-Teh says his changes are localized so
it shouldn't interfere with his fixing bustage.)
2000-01-08 16:51:54 +00:00
pinkerton%netscape.com
cae2c15f23
Added a new param to the HTML->Text sink stream to take the charset so that we can convert to plain text with the correct charset for the platform. Enhanced the XIFFormatConverter to take advantage of this, fixing bug 21414. r=akkana, nhotta.
2000-01-08 01:48:39 +00:00
pollmann%netscape.com
f4fabef2c3
Bug 12599: Accept string as integer attribute to prevent assert, fix courtesy rickg r=self and harishd
2000-01-07 05:44:42 +00:00
sspitzer%netscape.com
08b96a1e76
checking in beard's bulletproofing fix for the profile crashers on mac. r=sspitzer
2000-01-04 21:24:37 +00:00
vidur%netscape.com
896bf2e030
Fix for bug 22344. Removing FMMs in nsDOMAttribute.cpp. a=don r=kin
1999-12-22 22:44:30 +00:00
pierre%netscape.com
bdf8bc768d
16381 "Need to be able to specify -moz-border-radius for each corner". Made changes in the following files in order to store the radius as a nsCSSRect and support 4 new -moz-border-radius properties (topLeft, topRight, bottomRight, bottomLeft):
nsCSSDeclaration.cpp
nsCSSParser.cpp
nsCSSPropList.h
nsCSSStyleRule.cpp
nsICSSDeclaration.h
nsIStyleContext.h
nsStyleContext.cpp
nsCSSRendering.cpp
1999-12-22 11:27:10 +00:00
pierre%netscape.com
855dc040ea
Added the CSS2 printing extensions to the style system (page breaks, page size...). They are not used by Layout yet.
1999-12-22 05:00:47 +00:00
vidur%netscape.com
d8c5f3cd3f
Fix for bug 9779. Element::normalize() now combines more than 2 nodes. Fix for bug 20677. Temporary fix that ensures that SetDocument calls percolate down the entire subtree. a=dagley r=nisheeth
1999-12-22 01:54:04 +00:00
vidur%netscape.com
272db862ac
Fix for bug 17726. Text.splitText now creates the correct type of node. Added nsITextContent::CloneContent to enable cloning without copying of the text. a=dagley r=nisheeth
1999-12-22 01:51:58 +00:00
jband%netscape.com
ef9c82db1e
Landing big set of DOM and XPConnect changes:
...
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.
XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.
Also, xpconnect tests are reorganized and improved.
fixes bugs: 13419, 17736, 17746, 17952, 22086
r=vidur r=mccabe r=norris r=cbegle
a=chofmann
1999-12-18 20:29:29 +00:00
tbogard%aol.net
22cbc2c1bb
Fixing some places when talking to the webshell object to start talking through the new docshell interfaces.
1999-12-18 02:09:29 +00:00
mjudge%netscape.com
a2b920ea2f
new idl for line up/down scrolling
1999-12-15 03:56:32 +00:00
danm%netscape.com
90f941f8fe
check for null context in SetDocument. part of fix for bug 19302. r:hyatt a:chofmann
1999-12-15 02:15:57 +00:00
mjudge%netscape.com
b51f84b3de
massive changes a=jar.hoffman, r=akkana
1999-12-11 00:02:08 +00:00
warren%netscape.com
7d4fa072a5
Fix for leak/bloat stats going negative. a=jar
1999-12-10 04:27:52 +00:00
nisheeth%netscape.com
24d990e18b
Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed.
1999-12-06 07:44:18 +00:00
hyatt%netscape.com
de2eaede42
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
1999-12-04 23:49:50 +00:00
tbogard%aol.net
eb96099e6d
1.) WebShell no longer implements nsIScriptContextOwner.
...
2.) WebShell now implements the new nsIScriptGlobalObjectOwner.
3.) WebShell supports GetInterface to nsIScriptGlobalObject.
4.) Documents no longer carry around a reference to nsIScriptContextOwner. Instead they hold on to a nsIScriptGlobalObject. nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject(). Same change to the set methods.
1999-12-03 09:24:22 +00:00
akkana%netscape.com
fcd5b16fd6
18046: IDL implementation of nsISelectionController from sford4@netscape.net,
...
and the infrastructure to hook it up.
This also changes the spelling from nsISelectionControler. r=mjudge
1999-12-02 21:45:21 +00:00
norris%netscape.com
d89d87531c
Fix
...
20257 unable to edit existing images in editor due to JS error
19933 JavaScript "window.location" core dumps in CAPS
Back out previous changes for enforcing security on listeners and go with a
simple restriction of access to the method for adding listeners.
r=mstoltz
1999-12-01 22:23:22 +00:00
warren%netscape.com
2db26922a6
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
1999-11-30 04:50:42 +00:00
waterson%netscape.com
947d490060
Fix RemoveStyleSheet() per pierre's comments.
1999-11-30 04:33:28 +00:00
dougt%netscape.com
f66be6c30c
fix for 18078. r=mstoltz,warren
1999-11-30 00:32:43 +00:00
hyatt%netscape.com
7ab98f7f26
Adding RemoveStyleSheet to nsIDocument (needed for skins). r=waterson
1999-11-29 22:15:07 +00:00
norris%netscape.com
51842ef45e
Fix 18553 [DOGFOOD] addEventListener allows sniffing keystrokes
...
Add checks to nsScriptSecurityManager::CheckCanListenTo that take
a principal and ensure that the currently executing script code
either is from the same origin as that principal or has the
UniversalBrowserRead privilege enabled. (chrome code has all
privileges enabled by default.) It's okay for the principal passed in
to be null. That just signifies a privileged window/document that only
can be listened to with privileges.
I added GetPrincipal/SetPrincipal methods to nsIEventListenerManager.
nsDocument::GetNewListenerManager sets a principal on the listener
manager when it creates one. Obviously there are other places that
create listener managers, but scripts seem to go through this one.
Another change is to save some memory usage. Currently I allocate an
array of PolicyType that is NS_DOM_PROP_MAX elements long.
Unfortunately, compilers appear to allocate four bytes for each
PolicyType, so the array takes around 2400 bytes. I've added changes
to use two bit vectors that should consume about 1/16 that space.
r=joki
There are also changes that push nsnull onto the JSContext stack when
entering a nested event loop.
r=jband
1999-11-25 05:28:18 +00:00
shaver%netscape.com
fdc109612c
use explicit |.get()| for Unix compilers, a=leaf
1999-11-25 01:02:52 +00:00
vidur%netscape.com
dd88339f19
Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki
1999-11-25 00:05:21 +00:00
tbogard%aol.net
af1ce8d410
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
waqar%netscape.com
91eea99324
# 15904, 19582
...
r vidur@netscape.com
d Fixes the problem with memory leak in AppendData node when manipulating
comment nodes.
1999-11-23 23:13:03 +00:00
dcone%netscape.com
fb46865127
Initialize the mEnableRendering in other constructor... so print preview will show document. r=rods
1999-11-23 21:45:36 +00:00
pierre%netscape.com
096c23050e
12520 "GFX select elements need to be able to turn off text". Changed nsFrame::DisplaySelection to use the parent's mUserSelect similarly to what we do with mCursor in nsFrame::GetCursor. r=mjudge.
1999-11-23 01:07:56 +00:00
buster%netscape.com
86541b4c40
fixed bug 19381. previously, I had added 2 interfaces onto this class, but I
...
forgot to add those classes in the QueryInterface method. god, i wish we
had a macro for that!
r=kmcclusk. thanks, kevin
1999-11-19 21:33:21 +00:00
buster%netscape.com
93551f1751
moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
...
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
norris%netscape.com
5b4b0169aa
* Fix 12124 [DOGFOOD] Reading user's preferences
...
* Implement site-specific security policies (bug 858)
r=mstoltz
* Use Recycle rather than delete[] to clean up Purify logs
r=law
1999-11-16 05:07:31 +00:00
tbogard%aol.net
8c8bbce9a7
Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp
1999-11-15 22:17:54 +00:00
tbogard%aol.net
d855c6540f
Reflect changes to nsIContentViewer::SetContainer and GetContainer API. r=pavlov
1999-11-14 10:12:21 +00:00
rickg%netscape.com
1694cf9261
force rebuild of this file
1999-11-14 08:41:36 +00:00
beard%netscape.com
65a3476676
pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov
1999-11-14 02:51:25 +00:00
law%netscape.com
41d554cbdd
Fix bustage by backing out some CallQueryInterface calls (for Travis); r=travis@netscape.com
1999-11-13 08:20:53 +00:00
tbogard%aol.net
131348416b
Changed storage of of the container to hold simply nsISupports as the mContainer instead of nsIContentViewerContainer. Changed calls to QueryCapability to use the nsIInterfaceRequestor::GetInterface(). r=scc
1999-11-13 07:36:28 +00:00
buster%netscape.com
7e811ce71a
removed a bogus assert.
1999-11-11 22:24:19 +00:00
jdunn%netscape.com
0c7a249849
removing ';' from the end of the macros, since the macro in nsTimer.h
...
already handles the trailing ';'.
NOTE: trying to compile a ';' fails on AIX
1999-11-11 21:35:34 +00:00
waqar%netscape.com
a09c3ecc45
# 16610
...
r vidur
d Javascript should throw an execption on index size error. DOM now throws
an execption for size error.
1999-11-11 01:48:25 +00:00
waqar%netscape.com
84c24cbc5a
# 6071, 15904
...
r vidur
d Fixes the problem with comment delimiters.
1999-11-11 01:28:32 +00:00
nisheeth%netscape.com
ecf204e501
a=sdagley. Move over to new timing macros...
1999-11-10 03:41:09 +00:00
dmose%mozilla.org
5312eacf8c
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
joki%netscape.com
0aa1e7650e
Fix for bug 17835. Free JS event listeners when the JS object they're registered on goes away. a:chofmann r:vidur
1999-11-05 23:37:40 +00:00
akkana%netscape.com
e3cc1232e1
Part of bratell@lysator.liu.se's fix to the nsHTMLToTXTSinkStream. r=akkana
1999-11-03 03:08:04 +00:00
cls%seawood.org
bee74e223b
Removed unused NECKO ifdefs.
...
a=leaf
1999-11-02 23:34:03 +00:00
kipp%netscape.com
1fe14ebeaa
Added address information to the dump content diagnostic code
1999-11-01 15:23:06 +00:00
jfrancis%netscape.com
fa661ac6d1
fix for bugs: 16724, 16855; r=sfraser
1999-11-01 15:15:56 +00:00
mjudge%netscape.com
f503e16496
reviewed by hyatt bug of someone elses but in my code. dont know number. simple check for null
1999-10-29 23:12:44 +00:00
braddr%puremagic.com
ea13be0a26
Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
...
r=scc
1999-10-28 03:16:48 +00:00
kipp%netscape.com
6ca5b769c8
r=troy; fixed bug #17346 - the nsTextFormatter self test code found a bug in the nsTextFragment ctor code...
1999-10-27 23:01:16 +00:00
braddr%puremagic.com
341c8b0054
Ooops.. tree closed, better back these out for now. Sorry.
1999-10-27 21:01:37 +00:00
braddr%puremagic.com
55276cc3c4
Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
...
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +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
waqar%netscape.com
27e98297ea
# 15904
...
r vidur
d fixes a problem where first character of the comment was being destroyed.
1999-10-26 01:30:55 +00:00
kin%netscape.com
0e64506603
Fix for bug #16701 : Editor API Log playback of Insert HRule crashes in DOM code
...
and bug #16848 : DOM Crash
- Removed extra NS_RELEASE(attrPrivate) call that was releasing
attrPrivate one too many times, and causing nsDOMAttributeMap::SetNamedItem() to crash.
r=vidur@netscape.com
1999-10-25 14:15:34 +00:00
mjudge%netscape.com
7d0e807931
massive checkin for underlying implementation of key handling from javascript and home/end breakage and.. selecting around NON-text frames. like arrowing around an image for example. 16636,16655 and another i cannot find. r=kin r=hyatt a=me
1999-10-22 00:19:18 +00:00
jst%citec.fi
96830556e2
Make printing use only enabled stylesheets. No bug, r=kipp@netscape.com and dcone@netscape.com.
1999-10-21 22:20:37 +00:00
kipp%netscape.com
681dfe2f66
Use nsTextContentChangeData to pass down to the reflow logic the effect on the text
1999-10-21 20:40:51 +00:00
kipp%netscape.com
12081072dc
new file for text reflow optimiziation
1999-10-21 20:40:25 +00:00
kipp%netscape.com
b573d95fee
r=troy; Added nsITextContetChangeData to help optimize modifications of large text elements
1999-10-21 20:22:02 +00:00
akkana%netscape.com
5096c0459f
15777: Don't declare the same function-static symbol twice in the same file, because some versions of gcc can't deal with it. r=mcafee
1999-10-20 20:20:38 +00:00
nisheeth%netscape.com
ef75c33b3c
Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS.
1999-10-19 22:27:20 +00:00
akkana%netscape.com
acf13df96b
Remove two ifdef DEBUG_akkana lines that were left in when someone
...
changed the implementation of ConvertContentToXIF, so that I can
compile again. This won't affect anyone but me. r=kipp
1999-10-18 19:01:56 +00:00
peterl%netscape.com
ed18a01643
Added new style data accessors.
...
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:05:59 +00:00
kipp%netscape.com
15a0ec26fa
r=troy; revised nsITextContent api to simplify it and the consumers; this is done as prep work for bug 9101
1999-10-15 23:36:07 +00:00
peterl%netscape.com
a6adfea707
Added namespace ID to the AttributeChanged notification
...
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
waqar%netscape.com
46cc304d11
#9777
...
r vidur@netscape.com
d The issue was resolved by DOM commitie to allow SplitText to give an error
only on if the start of split is larger than the length. If it is same lenght
it is allowed.
1999-10-15 22:18:23 +00:00
kipp%netscape.com
2c4293a104
Removed silly NS_IMETHOD decls
1999-10-12 23:22:53 +00:00
waterson%netscape.com
bdfcaec321
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 03:05:10 +00:00
nisheeth%netscape.com
b052eec318
We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers.
1999-10-11 23:42:56 +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
kipp%netscape.com
65f6ba5343
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
peterl%netscape.com
a3aede8c1c
First step at fixing 12106, factored out style rule processing from
...
style sheets into a seperate style rule processor interface
r=troy
1999-10-08 03:09:31 +00:00
warren%netscape.com
8c71c45537
Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
1999-10-08 01:49:06 +00:00
kipp%netscape.com
cfa92fd85e
Updated SizeOf methods for html content objects to be more accurate; implemented MOZ_DECL_CTOR_COUNTER for all html content objects
1999-10-07 00:35:04 +00:00
kipp%netscape.com
26fb1296d8
Tweaked call of log_release
1999-10-07 00:32:25 +00:00
vidur%netscape.com
5427f58b01
Implemented document.width/document.height by looking at the dimensions of the view of the frame of the document element. Bug 961. R: troy
1999-10-06 20:32:49 +00:00
waqar%netscape.com
0b9d4f8f8f
# 9777
...
r vidur
d When splitText has an index error, it used to send NS_ERROR not it sends
the proper DOM index size error.
1999-10-06 00:06:53 +00:00
kipp%netscape.com
3eaba4f422
Support SizeOf methods
1999-10-05 23:47:46 +00:00
kipp%netscape.com
de44833a85
Added in ctor/dtor counting
1999-10-05 14:53:40 +00:00
norris%netscape.com
716e97dd9c
Fix 15458 "onLoadHandler does not work"
...
Reviewed by mstoltz.
1999-10-05 04:08:14 +00:00
waterson%netscape.com
fd05a45cc4
Bug 15511. Make sure container element sets 'parent' backpointer to null before releasing child; prevents dangling references if child is still referenced from elsewhere. r=vidur
1999-10-05 03:20:57 +00:00
norris%netscape.com
d21c5596fd
Fix the following bugs:
...
14443 "Same origin" security policy may be circumvented using docu
14820 Fixing up the relationship between nsCodeBasePrincipal and n
14919 Crash in JS MM code
Reviewed by mstoltz, approved by scc.
1999-10-02 03:41:37 +00:00
cmanske%netscape.com
1cbdd57614
Changed ifdef so we can use ToString for non-debug purposes. r=akkana
1999-09-29 21:52:10 +00:00
akkana%netscape.com
de16d09cda
Add OutputWrap flag, and add comments for the other flags
1999-09-29 20:17:51 +00:00
peterl%netscape.com
f3c1120baa
make remap style optionally not go recursive
1999-09-29 03:30:47 +00:00
nisheeth%netscape.com
bebdebac72
a=chofmann. Include time spent in ProbePseudoStyleFor() in time measurement of style resolution.
1999-09-24 07:16:20 +00:00
mgleeson1%netscape.com
1e66807868
fix for UNIX ports r=kipp, a=hofmann,kipp
1999-09-23 19:02:23 +00:00
saari%netscape.com
d891a7b1ef
A better fix for blocker #14464 . Reviewed by Hyatt w. permission from leaf/choffman
1999-09-23 02:31:37 +00:00
saari%netscape.com
83ab100d9c
Fix for blocker bug #14464 . Reviewed by Hyatt, checkin permission by leaf.
1999-09-23 01:55:41 +00:00
rpotts%netscape.com
547771542f
Changed the printing to use the ImageGroup notifications rather than the document loader because a document is *not* being loaded... This fixes printing after the changes to the document loader notifications.
1999-09-22 07:34:31 +00:00
kipp%netscape.com
6c23f4f233
Work around purify nonsense with bitfields
1999-09-22 00:38:57 +00:00
dcone%netscape.com
604b036704
added debugging for printing
1999-09-21 14:34:28 +00:00
joki%netscape.com
7304187269
Adding old 4.x capture/release compatibility code, changing dom event VK_* names to DOM_VK_*
1999-09-21 14:18:52 +00:00
peterl%netscape.com
1b16a07213
stop sharing contexts with parents
1999-09-21 07:50:16 +00:00
rpotts%netscape.com
452584594d
The document LoadGroup is now a nsWeakPtr...
1999-09-21 06:44:56 +00:00
nisheeth%netscape.com
979e91b1da
Fixed build warning and removed NS_TIMER_STYLE_RESOLUTION define.
1999-09-20 21:36:53 +00:00
nisheeth%netscape.com
3685df8b69
Move implementation of nsITimeRecorder from the pres context to the style set.
1999-09-20 06:53:40 +00:00
rpotts%netscape.com
69eebbead3
Changed GetDocumentLoadGroup(...) to be XPCom complient. This helps prevent leaks when using nsCOMPtrs.
1999-09-18 06:20:49 +00:00
kipp%netscape.com
d63ca4aef1
Squish a warning or two
1999-09-17 20:16:37 +00:00
alecf%netscape.com
0afadf8524
fix scrollbar crash
1999-09-17 05:15:00 +00:00
kipp%netscape.com
3ced381a1a
Zapped mCompatFloatMargin hack
1999-09-17 00:57:06 +00:00
kipp%netscape.com
aed7845101
Added in mCompatFloaterMargin
1999-09-16 19:55:28 +00:00
rpotts%netscape.com
032c26ba52
Added a missing NS_DEFINE_STATIC_IID_ACCESSOR...
1999-09-16 08:50:18 +00:00
kipp%netscape.com
544275aebb
formatting sillyness
1999-09-15 20:30:36 +00:00
harishd%netscape.com
57c84af12e
Fixing build bustage...hopefully.
...
Missed a file
1999-09-15 18:28:10 +00:00
harishd%netscape.com
2d9adf2426
Adding support for htmlL DOCTYPE for
...
XIF conversion.
1999-09-15 17:55:26 +00:00
sfraser%netscape.com
d12db169ac
Make function static to eliminate warning.
1999-09-14 23:40:52 +00:00
mjudge%netscape.com
611e47bbd4
content iter not initing properly for reuse. text frame not selecting slowly properly, bad bounds checking :(. rangelist now traversing each node in a spaniter with a normal iter to make SURE we get all the children!
1999-09-14 23:16:22 +00:00
akkana%netscape.com
a1037a961a
Set default wrap column to 72 instead of 0
1999-09-14 21:32:06 +00:00
vidur%netscape.com
ccf398a6f7
Fix for bug 13192. Document is parented by the global object of the container context, not the calling context.
1999-09-14 04:17:07 +00:00
warren%netscape.com
d3eb73be23
Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel.
1999-09-11 18:45:36 +00:00
akkana%netscape.com
811618ccbc
Fix UMRs
1999-09-10 19:12:46 +00:00
kipp%netscape.com
f65ed8fa4b
Fixed up line-height calc code to be more optimal; tweak changes to list-style properties to trigger reflows
1999-09-09 20:51:57 +00:00
peterl%netscape.com
ee1f9d1b32
set line height to inherit only as needed
...
init ref count before first remap style
1999-09-09 05:37:37 +00:00
vidur%netscape.com
50eaf4ef31
Reporting better nsresults to DOM methods.
1999-09-08 23:18:27 +00:00
jfrancis%netscape.com
61548af51a
fixing dom range gravity bug (see bug 13251)
1999-09-08 05:27:44 +00:00
akkana%netscape.com
22f63923ae
Remove some redundant logic
1999-09-07 19:13:04 +00:00
peterl%netscape.com
b5b37d859e
added reparent style context
1999-09-03 23:35:41 +00:00
peterl%netscape.com
d91b64f10c
tracking UI & forms proposal changes
...
fixed impact of text decoration
1999-09-03 23:34:20 +00:00
karnaze%netscape.com
cde37cbb23
changed default for nsStyleTable.mRules to NS_STYLE_TABLE_RULES_ALL
1999-09-02 00:06:35 +00:00
nisheeth%netscape.com
a3d25a6149
Added Get/Set methods to content IDs. An ID is used as a key to store state information about a content object and its associated frame object. The state information is stored in a dictionary that is manipulated by the frame manager (nsIFrameManager) inside layout. An opaque pointer to this dictionary is passed to the session history as a handle associated with the current document's state.
1999-08-31 10:06:17 +00:00
norris%netscape.com
d8507f844e
* clean up nsScriptSecurityManager
...
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
rpotts%netscape.com
fb420fffee
Null terminate the new buffer.
1999-08-28 05:12:11 +00:00
kipp%netscape.com
c939c02aac
Nuked some warnings
1999-08-27 21:43:33 +00:00
kipp%netscape.com
c6628f4c30
Implement GetTextLength and CopyText methods from revised nsITextContent API
1999-08-27 21:40:47 +00:00
kipp%netscape.com
b509ac661c
Added in GetTextLength and CopyText methods for the MathML folks
1999-08-27 21:40:13 +00:00
sfraser%netscape.com
2e370244a4
No longer need a pres shell for the document encoder; remove it.
1999-08-25 21:42:20 +00:00
jfrancis%netscape.com
9ea8122814
making nsPresShell and nsDocument support weak references; using weak references to docs and pres shells within the editor
1999-08-25 10:51:55 +00:00
vidur%netscape.com
7aec7c434b
Parse delimiters out of Comment nodes. CharacterData Nodes now return an empty childNodes list instead of null.
1999-08-25 07:35:45 +00:00
akkana%netscape.com
ff7a19a5bd
Revise the doc encoder and content sink APIs yet again to make it easier
...
to add new flags (pass a flag in the constructor, rather than specific
booleans. This in order to fix:
11249: Add flag to write only the body in html output.
1999-08-24 18:30:19 +00:00
akkana%netscape.com
8ecf4be9ce
Ifdef DEBUG, then when doing nsRange::ToString, also dump node contents
...
to stdout via List() so we can see what's in the range besides text.
1999-08-19 22:20:57 +00:00
evaughan%netscape.com
a12f942778
xpscrollbars
1999-08-19 22:16:23 +00:00
dp%netscape.com
29a08b0a4c
Backing out previous checkin per peterl advice. This caused bookmarks
...
and mailnews windows to show up blank.
1999-08-09 03:54:10 +00:00
jband%netscape.com
4617442db7
was neglecting to initialize a member
1999-08-08 02:06:31 +00:00
peterl%netscape.com
e0d10cc8d9
added != operator
1999-08-08 01:18:40 +00:00
peterl%netscape.com
6c14e16169
fix initial value of border collapse
1999-08-08 01:14:36 +00:00
joki%netscape.com
11585608e8
Adding new onselect event. Also slight modification to ender text widget focus behavior
1999-08-07 23:18:35 +00:00
jfrancis%netscape.com
79a58afed5
fixing unix bustage. compilers: viva la difference!
1999-08-06 12:14:39 +00:00
jfrancis%netscape.com
f3fbfca040
fixing range dom gravity bug first exposed by bug #10231
1999-08-06 10:33:09 +00:00
troy%netscape.com
71d5c08256
Changed frame construction code to use frame manager when modifying frame
...
model
1999-08-05 03:09:22 +00:00
valeski%netscape.com
92d1b7afd1
api change to nsIWebShell and nsIDocumentLoaderObserver. I've replaced all the old method delarations with the new versions. We now pass 'nsresult' types into the On*() methods instead of PRInt32. The PRInt32 arg type was causing data loss.
...
I also checked in a fix for bug 10848 (which prompted the api change), and 10549 (these changes were in nsWebShell.cpp).
1999-08-05 01:37:52 +00:00
kin%netscape.com
375eb2de71
Fixes for bug #10231 (crash making list after select all)
...
and bug #10815 (Crash deleting selected text and table)
mozilla/editor/base/nsHTMLEditRules.cpp
- Added check, in WillDeleteSelection(), to see if
endpoints of the range are in the body before calling
GetBlockNodeParent(). (Bug #10231 )
- Modified GetPromotedPoint() to check for NULL in the
case where aWhere == kEnd and GetChildAt() returns NULL.
(Bug #10815 )
mozilla/layout/base/src/nsGenericElement.cpp
- Modified RangeAdd() so that it doesn't add
a range if it's already in the list. (Bug #10231 )
mozilla/layout/base/src/nsRangeList.cpp
- Modified GetPrimaryFrameForFocusNode() to
initialize aReturnFrame and to return a failure
if ChildAt() returns NULL. (Bug #10231 )
1999-08-04 18:36:19 +00:00
mcafee%netscape.com
6da92dc13c
Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren
1999-08-03 20:51:41 +00:00