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

796 Коммитов

Автор SHA1 Сообщение Дата
shaver%mozilla.org 8f7d1fbff0 Significantly reduce the amount of time we blow on style reresolution by
tracking the attributes which appear in CSS selectors, and only firing
a complete reresolution when we change one of those.  In the irrelevant-attr
case, we just let the frame update itself and get on with our lives right
away.  Fixed 38378, r=brendan, booyah.

Also, when setting an attribute to the same value that it currently holds,
don't think about it especially hard, and _don't_ go anywhere near the
style code.  Fixed 21879, r=brendan, boo_yah_.
2000-05-16 02:43:33 +00:00
jst%netscape.com a29b0b6f25 Checking in DOM Level 2 version of the DOM interface Element. 2000-05-15 20:31:55 +00:00
mjudge%netscape.com fe4de97f4f typedef before switch gets thrown 2000-05-15 14:24:02 +00:00
jst%netscape.com c32b4fd51e Fix .innerHTML regression (from the XIF converter update), and add a null document check. 2000-05-15 14:07:36 +00:00
mjudge%netscape.com 8318464852 fixing warnings and some redundant code 2000-05-13 20:47:42 +00:00
mjudge%netscape.com 1360793455 nsIXifconverter from nsXifConverter 2000-05-13 08:11:07 +00:00
jst%netscape.com c7e3c310d9 Add GetNodeInfo() to nsIContent. 2000-05-12 14:09:28 +00:00
jst%netscape.com ff00e8645b Add a SetAttribute method to nsIContent that takes a nsINodeInfo parameter. 2000-05-12 13:46:59 +00:00
sfraser%netscape.com 877820136a Fix 38949 -- setSelectionRange broken by mjudge checking in nsGfxTextControlFrame2 stuff prematurely. 2000-05-11 22:47:19 +00:00
jst%netscape.com 6ff3742e4c Landing support for the 'innerHTML' property on HTML elements in mozilla, fixes part of bug 9201. 2000-05-11 21:49:16 +00:00
mjudge%netscape.com a89f9e3c80 changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret. 2000-05-11 04:25:43 +00:00
jst%netscape.com 50499cc037 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com. 2000-05-10 13:13:39 +00:00
hyatt%netscape.com fbac03f025 XBL now works with HTML, XUL, SVG, MathML, and XML! 2000-05-09 21:42:40 +00:00
jst%netscape.com a2805d7113 XPCOM methods that return a success call *must* set their output parameters, this fixes part of the crash in bug 35257 (crash setting selectedIndex for SELECT not in DOM tree). 2000-05-09 21:01:25 +00:00
jst%netscape.com d6fcea6fb9 Fixing the .value and .defaultValue properties on textarea's, this fixes bugs 32795 and 32799. 2000-05-09 19:11:27 +00:00
jst%netscape.com 2c42fa1d6a Input element type names are now all lower case, this is required for mozilla to be compatible with all other existing browsers (even if the DOM spec says otherwize). This fixes bug 32368. 2000-05-09 13:56:40 +00:00
buster%netscape.com b167ed0d9c fixed bug 24770 2000-05-09 05:09:55 +00:00
karnaze%netscape.com 2dd77dfac8 bug 33976 - make non numeric border value 1. 2000-05-07 17:15:56 +00:00
attinasi%netscape.com ffd21441ec Fixed the BodyBackground rule to propagate the backgound color when the background color is cleared as well as set. b=11491 2000-05-06 05:56:02 +00:00
attinasi%netscape.com 309bb9300a QuirkMode: support for background="" to override the table inheriting the background down to the cells. 2000-05-06 05:48:38 +00:00
jst%netscape.com 7fb4f77a4f Fixing bug 35598, HTMLInputElement.click() wasn't working properly. r=joki 2000-05-05 23:44:43 +00:00
erik%netscape.com 87183532c2 bug 26237; added support for HTML LANG attribute -- it now uses the fonts
specified by the user for elements with the LANG attribute when the font
is a CSS generic (e.g. serif); r=pierre
2000-05-05 21:04:36 +00:00
jst%netscape.com 5c84babe17 Fixing bug 35276, flush all pending reflow notifications before requsting geometry from the frames, this makes the HTML element properties offsetXXX correct values even if requested immediately after a reflow was generated. 2000-05-05 14:25:49 +00:00
rods%netscape.com 3050116306 button and input button content nodes now cancel all mouse click events except mouse up/down
b=38083
2000-05-04 13:57:35 +00:00
jst%netscape.com 1e5a0e89b3 WIP for supporting setting the cssText property on css declarations through the CSS DOM, approved and partly reviewed by Pierre. 2000-05-03 21:42:00 +00:00
karnaze%netscape.com c5939a9831 bug 9271 - correctly insert cells, rows when insertion index equals number of elements. 2000-05-03 14:57:00 +00:00
jst%netscape.com ecb8ae96cd The string returned from CSSStyleDeclaration::removeProperty() should only contain the old value, not the property name. 2000-05-02 00:24:45 +00:00
sfraser%netscape.com 29ea7a1c61 Fixes for bugs 34503 and 34504 -- split the editor controller into editor and composer controllers, and make commands for lots of editor functions. 2000-05-01 21:49:52 +00:00
rods%netscape.com aa39f36021 when an option gets dsabled it will now notify the frame so it can be deselected 2000-04-28 23:29:35 +00:00
pierre%netscape.com 112f226187 9876. Implemented CSSStyleDeclaration removeProperty. r=jst. 2000-04-28 08:35:40 +00:00
rods%netscape.com 00b5823a65 Changing notify from false to true for AppendChildTo in SetText
this is where the block doesn't have any children and a text element gets
created for it.
b=36900, r=pollmann
2000-04-26 03:48:58 +00:00
joki%netscape.com 3851e31b9f fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
2000-04-24 04:41:27 +00:00
scc%netscape.com 0b17d2a06c making string conversions explicit 2000-04-22 10:31:38 +00:00
rods%netscape.com e909b50af2 It now uses the nsHTMLContent->GetHTMLAttribute to get the value and/or label
The code now lso checks to see if the attr actually exists before it moves to the label or the content
bug 36459
2000-04-21 22:28:07 +00:00
nisheeth%netscape.com e072850e71 Fix for bug 36362. We no longer null out the ref count of form elements in their Release() methods before deleting them. This fixes the crashes on www.cnn.com and www.msn.com. 2000-04-21 01:03:20 +00:00
jst%netscape.com 9967398bf2 Updating the DOM interface CSSStyleDeclaration to DOM Level 2. 2000-04-20 13:50:56 +00:00
jst%netscape.com fbd296396e Fix build warnings. 2000-04-20 12:40:35 +00:00
jst%netscape.com b8c31f8d18 Fixing bug #32376. Mozilla now populates a select list with new empty options if it's length is set to a bigger number than it already is, this is against the DOM but we need this to be compatible with older browsers. 2000-04-20 12:34:35 +00:00
rickg%netscape.com 35061439c3 try to fix tinderbox bustage for nisheeth 2000-04-19 08:45:45 +00:00
nisheeth%netscape.com d6a5b5bf19 Fix for bug 30091. nsFormControlList::NamedItem() was doing a linear walk through the form control list. Now it uses a hash table lookup. This greatly reduces the time for the screen to update when one clicks on the Program list box on the Bugzilla query page. 2000-04-19 07:49:07 +00:00
jst%netscape.com 1fdafb43e4 Updating the DOM interfaces HTMLFormElement and HTMLOptionElement to DOM Level 2. 2000-04-18 23:00:58 +00:00
jst%netscape.com 304122a1dc Updating the HTMLObjectElement interface to DOM Level 2. 2000-04-18 22:57:42 +00:00
jband%netscape.com e5e1093ec9 egads! lost the return type declaration in a copy/paste goofup. 2000-04-18 22:46:48 +00:00
scc%netscape.com 8624ce5d67 making string conversions explicit 2000-04-16 11:19:26 +00:00
scc%netscape.com c38395df69 making string conversions explicit 2000-04-15 21:18:29 +00:00
scc%netscape.com 927265130c making string conversions explicit 2000-04-15 20:15:37 +00:00
pierre%netscape.com 38c86ad47a 33710 "background-color: inherit doesn't work correctly". Split the NS_STYLE_BG_PROPOGATED flag into 2 flags: NS_STYLE_BG_PROPAGATED_TO_PARENT and NS_STYLE_BG_PROPAGATED_FROM_CHILD. MapDeclarationColorInto() fetches the color from the grand-parent if PROPAGATED_TO_PARENT is set. 2000-04-15 10:38:13 +00:00
pierre%netscape.com 1c0c62281d 32063: <font size=""> makes font tiny 2000-04-15 04:28:12 +00:00
jband%netscape.com f70d245d91 fix bug 32150. Expose to JavaScript the scriptable interfaces on plugin objects implementing nsIPluginInstance. Given an embed tag with a plugin named 'foo' that has an xpcom interface named 'nsIFoo' with a method 'bar', this fix allows JS code (with the UniversalXPConnect privilege) to call document.foo.nsIFoo.bar() 2000-04-14 22:54:48 +00:00
jst%netscape.com c85c340801 Fixing #35605, avoid accessing a null pointer in GetOffsetParent()! 2000-04-13 12:52:03 +00:00
jst%netscape.com a1f0deb3f3 If a class claims to support an interface in QueryInterface() it *really* should inherit from that interface then! Fixes #35398. 2000-04-13 12:02:58 +00:00
sfraser%netscape.com 89f918ee5b Adding methods to allow control of the selection in text widgets. 2000-04-13 05:15:59 +00:00
sfraser%netscape.com 7446f13322 Use an nsCOMPtr in the Select call. 2000-04-13 05:14:08 +00:00
ducarroz%netscape.com 5fe7f03696 Remove the old autocomplete widget which is now replaced by the XBL one (xpfe/components/autocomplete). R=alecf. 2000-04-13 04:50:39 +00:00
waterson%netscape.com 767e2f833f Bug 29507. Clean up PresShell refcounting. r=troy 2000-04-05 05:58:06 +00:00
jst%netscape.com 72e274a77e Add a nsHTMLUnknownElement class for LAYER, ILAYER, NOLAYER and unknown elements, this element is a normal element except that it doesn't do inline style processing. This fixes M15 bug #22260. 2000-04-05 01:46:48 +00:00
jst%netscape.com 9ffd7004a1 Removing #include and unused static IID, not part of the build quite yet. 2000-04-05 00:37:51 +00:00
jst%netscape.com 2d7764f570 Adding class for unknown elements, not part of the build quite yet. 2000-04-05 00:35:54 +00:00
hyatt%netscape.com 537541b987 Elimination of nsIFocusableContent and improvements to tabbing r=saari 2000-04-04 23:55:31 +00:00
jst%netscape.com eb690d2418 Updating HTMLFrameElement and HTMLIFrameElement to comply with the Level 2 DOM, this adds a 'contentDocument' attribute to those two interfaces that can be used to access the document contained in the frame. 2000-04-02 14:04:19 +00:00
jst%netscape.com 5fdb266f31 Updating the DOM Node interface to match the DOM Level 2 interface, only stub implemetations so far. 2000-04-01 13:31:23 +00:00
jst%netscape.com 52b98a1e56 Removing some code redundancy in the DOM Core implementations, fixing bugs #16585 and #16606. 2000-04-01 12:36:16 +00:00
attinasi%netscape.com f435083f78 Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00
jst%netscape.com 65dd7a92c5 Fixing bug #32839, HTMLButtonElement.type now returns the correct value. 2000-03-30 22:37:12 +00:00
jim_nance%yahoo.com 005e33f06e Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
warren%netscape.com d60b12b153 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
jst%netscape.com b35c0f42aa Fix for bug #32853, we now support setting the 'for' attribute with the name 'htmlFor'. 2000-03-29 00:19:00 +00:00
scc%netscape.com 9c2f6dad62 small changes to clients of string converting APIs 2000-03-26 10:06:21 +00:00
pollmann%netscape.com 607d60a588 Bug 32702: GetHistoryState works as expected now - check for success, r=nisheeth 2000-03-24 03:36:55 +00:00
jst%netscape.com d060c0f4eb Make the value of "dir" attributes more accessible through the DOM, this fixes #32617. r=troy 2000-03-22 23:46:33 +00:00
rods%netscape.com 59ce7cdf55 GetSelectedIndex now always returns a value and NS_OK
The value first comes from the frame, then from the presstate then
from the default selection in the content
it's checked into the branch, this is the tip check in
r=mscott b=32726
2000-03-22 14:45:20 +00:00
dbaron%fas.harvard.edu 03406c3659 Fix miscellaneous form element leaks. r=pollmann@netscape.com 2000-03-22 02:21:33 +00:00
pollmann%netscape.com 620e4ea56e Bug 28143: Set selectedIndex to -1 should deselect all options (2 of 2 - when frame does not exist) r=waqar 2000-03-21 15:46:43 +00:00
jst%netscape.com 9f92a3ff08 Fixing the remaining part of #12559. r=gagan 2000-03-21 12:22:07 +00:00
nisheeth%netscape.com e90cbb686f r=pollmann. Bug 30916. Content IDs are created for HTML elements created in the HTML content sink, XML content sink and dynamically via JS. The content ID counter is maintained by the document. 2000-03-21 03:25:16 +00:00
karnaze%netscape.com 2e279600ec bug 28071 - added Use DTD compatibility mode to viewer. layout uses single mechanism for determining compatibility mode. r=rods. 2000-03-20 23:39:22 +00:00
dbaron%fas.harvard.edu c08d3dc40e Fix leak statistics by logging all releases, and fix one extra release. r=pollmann@netscape.com 2000-03-18 21:35:22 +00:00
jim_nance%yahoo.com 41c25de361 Fix for uninitialized variable
r=waterson
2000-03-18 19:07:35 +00:00
rods%netscape.com 0f7fa528c7 Fixed GetSelectedIndex so it gets it out of the pressate when there is no frame.
for PDT+ bug 32119, I am checking in the fix in on the Tip,
ducarroz will check it in on the branch
r=kmcclusk
2000-03-18 15:29:48 +00:00
jst%netscape.com 6d0d3bb1c3 Fixing what (at least used to) crashes #28489. r=vidur@netscape.com 2000-03-18 02:10:28 +00:00
jst%netscape.com b768001187 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
karnaze%netscape.com ff93b46cf8 bug 7112 - do not convert align=center on table into text-align=center, r=kmcclusk. 2000-03-16 23:52:21 +00:00
karnaze%netscape.com 3ca5f360f2 bug 27993, 30332 - treat rowspan/colspan=0 like Nav in quirks mode rather than according to html 4. 2000-03-16 23:50:57 +00:00
attinasi%netscape.com 238a26b3c8 Fixed build breakage - local API change snuck in to my checkin. 2000-03-16 23:37:00 +00:00
attinasi%netscape.com f4996d880d Removed code that was causing a reframe when the class of an element changed. This is unnecessary and causes performance problems (reframes are expensive). b=21225 r=dcone,pierre 2000-03-16 23:04:21 +00:00
attinasi%netscape.com 5923ab2a01 Removed NavQuirk where FONT tags were ignored if an element was explicitly sized, since we couldn't know if it was explicitly sized by an *implicit* style rule or by another FONT tag. b=25810 r=dcone 2000-03-16 22:54:36 +00:00
joki%netscape.com 0457a08e3c Fix bug 25353, check if jsval is a string before converting it to one. a:rickg, r:vidur 2000-03-14 03:18:43 +00:00
rickg%netscape.com 4791ab3e8f removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
hyatt%netscape.com c30fb1bab0 Improving XBL support. 2000-03-11 10:38:36 +00:00
norris%netscape.com b06e55722c 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 f51fc52aa3 Converted a number of places to use the docShell APIs instead of the webShell ones. 2000-03-11 00:37:07 +00:00
warren%netscape.com 7e37f4f478 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
rods%netscape.com 6f63f843fe when the value attr is set the hint needs to be reflow.
b 28593, r=buster
2000-02-28 21:35:51 +00:00
rods%netscape.com 48862be675 turned off the flushing of reflows when an option item is removed
b 28593, r=vidur,troy
2000-02-28 21:33:41 +00:00
pierre%netscape.com 55d42bb3b3 Bug 18136/21950 "Fixing the font size mess". Implemented Todd Farhner's system in nsStyleUtil. Disabled the font size rounding code on Windows (see bug 24005). r=erik, a=rickg 2000-02-24 12:51:28 +00:00
pollmann%netscape.com 3b493e429f Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg 2000-02-24 00:08:00 +00:00
norris%netscape.com 3d5f67908e 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
troy%netscape.com 0cc58ccde6 b=28635, a=rickg@netscape.com, r=vidur@netscape.com
Reduced the number of nsString objects allocated
2000-02-23 15:45:43 +00:00
saari%netscape.com af8dcc1689 Fix for 12051. Two one line fixes to make focus memory work with text input fields and text areas. r=hyatt a=jar 2000-02-23 08:10:36 +00:00
vidur%netscape.com e9544e6d17 Fix for bug 9844. Implemented offsetTop/Left/Width/Height/Parent for HTML content.r=pollmann 2000-02-16 02:25:07 +00:00
sfraser%netscape.com 868e0ee9df Call the new Init() method on nsIEditorController for bug 18395. r=pinkerton 2000-02-16 01:41:17 +00:00
karnaze%netscape.com 75155b965c bug 7112, PDT+ 1802 - added custom style rule to handle <th> text alignment. Other text alignment changes. r=attinasi 2000-02-16 01:08:54 +00:00
rods%netscape.com 1dd59cd330 radio button now remembers state, and in standard mode it will always select
the first item. It will also perform rradiobutton behavior when the frame are hidden (no existent)
b=27063 r=kmcclusk
2000-02-15 23:02:55 +00:00
rods%netscape.com 4264c3730d setting flush flag to false, so it doesn't flush everytime an item is added
r=vidur b=27498
2000-02-15 22:45:26 +00:00
pollmann%netscape.com 24c709a045 Bug 27327: Input::SetAttribute('value') now updates content model, r=buster 2000-02-15 21:56:04 +00:00
rods%netscape.com 45ed3c6864 They now cache their state properly in the PresState
b 21945 r=pollmann
2000-02-15 15:04:38 +00:00
av%netscape.com aed9c6a810 Fixing 17278, r=vidur 2000-02-15 01:16:04 +00:00
karnaze%netscape.com 8dce2cab48 bug 27652, fix loss of border on <table border>, r=mcafee 2000-02-14 06:06:03 +00:00
rods%netscape.com f81036c6c7 now remembers single selects correctly, have not implemented it for mulitple
selects yet, but this check in get mail work, multiple is needed for bugzilla
b=21945, r=pollmann
2000-02-12 16:26:24 +00:00
rods%netscape.com b0e7c05423 converted over to use nsCOMPtr and changed return code back to NS_OK for GetAttr
part of bug 21945 work, r=pollmann
2000-02-12 16:24:19 +00:00
karnaze%netscape.com d2e69a1720 bug 8524 - don't use -moz-bg-inset in standard mode. r=troy
bug 10269 - renamed RequiresPass1Layout to IsAutoLayout and have it force a fixed layout table (not tree) to be auto layout if the table is auto width.
2000-02-12 00:58:38 +00:00
vidur%netscape.com 306c814879 Fix for bug 9140. Area elements now have event fired for them. r=joki 2000-02-11 01:24:59 +00:00
pollmann%netscape.com 4b0e839acd Bug 10434: legend.form now returns form that legend is contained in. r=buster 2000-02-11 01:17:31 +00:00
mjudge%netscape.com a27771d4f5 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
jst%citec.fi fcc693c42f Make context menus work on XML pages (#15713). r=vidur@netscape.com,joki@netscape.com 2000-02-09 13:58:26 +00:00
vidur%netscape.com 65bdb1c8a0 Fix for bug 19212. InsertRow in an empty table used to create a TBODY but not notify on its insertion. r=pollmann 2000-02-08 01:32:23 +00:00
vidur%netscape.com 1b3b2a8670 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
buster%netscape.com 1b11180502 bug 26241
all I did was initialize an out-param.  no reviewer.
2000-02-07 15:50:25 +00:00
waterson%netscape.com bb557f1fda Bug 26522. Stabilize refcount before calling code that'll addref/release the clone. r=mcafee 2000-02-04 08:41:03 +00:00
warren%netscape.com cb6134ed32 Propagating return code. r=vidur,joki 2000-02-04 03:06:56 +00:00
pp%ludusdesign.com 43d7ba4273 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
attinasi%netscape.com de5c74a5c8 Checking for border width > 0 before setting the border style to NS_STYLE_BORDER_STYLE_BG_INSET.
This fixes a bug where style changes were causing table cell borders to appear when previously there
were none. b=25425 r=karnaze
2000-02-02 01:15:04 +00:00
rods%netscape.com b06091c60e returning the correct return code instead of NS_OK
r=dcone, no bug
2000-02-01 22:42:19 +00:00
saari%netscape.com a94b50e760 Fix for bug 22264. r=hyatt 2000-01-29 04:05:03 +00:00
vidur%netscape.com fa580e6551 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
pollmann%netscape.com 039ff5517c Bug 6747: HTML labels now pass events to their assigned element in XUL documents too. r=rods 2000-01-28 23:29:36 +00:00
warren%netscape.com f8b1c9d37f Fix to propagate failure from MakeAbsolute to DOM event handler. r=vidur,joki 2000-01-28 06:55:27 +00:00
karnaze%netscape.com d7b72a10f0 bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.
2000-01-28 02:19:45 +00:00
hyatt%netscape.com 767f9cd6e3 Making input and text area elements bindable using XBL. 2000-01-27 09:01:49 +00:00
vidur%netscape.com 6a5b5fe668 Fix for bug 12565. form.encoding returns the value of the ENCTYPE attribute, not ENCODING. r=joki 2000-01-27 08:51:54 +00:00
vidur%netscape.com 09e0c2e8d9 Fix for bug 19212. HTMLTableElement::InsertRow was creating a TR instead of a TBODY if one was necessary. r=joki 2000-01-26 15:52:41 +00:00
danm%netscape.com b5edffa701 notify parent form when a form element is removed. bugs 23493, 24452, and probably a lot of undiagnosed instabilities. r:vidur,pollman,waterson and a cast of thousands 2000-01-26 01:24:41 +00:00
rods%netscape.com 67b456fb3f changed align to work and reworked event process for click click hold and move off
b=14353 r=kmcclusk
2000-01-25 15:38:49 +00:00
nisheeth%netscape.com 71218baaf6 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
hyatt%netscape.com 2d647bf7f6 Fix for a minor little bug I introduced into GetChecked (that only happened with
trees).  Thanks to jdunn for spotting it.  r=matejka, a=chofmann
2000-01-19 22:18:57 +00:00
vidur%netscape.com 0b9bbcbe32 Missed necessary cleanup in last checkin. r=pollmann 2000-01-19 01:34:07 +00:00
vidur%netscape.com 0cf3025a31 Fix for bugs 9213 and 17415. Fixed a ton of leaks in table content code and fixed thead, tfoot access and manipulation via DOM. r=pollmann 2000-01-19 01:29:04 +00:00
tor%cs.brown.edu 64b8a4ed6f build bustage fix for older C++ compilers; false -> PR_FALSE; r=cls 2000-01-16 17:06:08 +00:00
brade%netscape.com 86c0a41f57 initialize all fields of mouseEvent; r=joki 2000-01-15 17:22:09 +00:00
pollmann%netscape.com 71013738a9 Bug 14419 (1 of 4): Fix typo! 2000-01-15 02:21:51 +00:00
vidur%netscape.com e6ad550a8a Fix for bug 23020. Relative URLs used in image.src and location.href should be resolved taking into account the base document URL of the calling context. R=pollmann 2000-01-15 02:02:27 +00:00
pollmann%netscape.com f29f50a8b8 Bug 14419 (1 of 4): Make option text read/write (implementation) r=harishd 2000-01-15 01:42:56 +00:00
pollmann%netscape.com c5d216006b Fix warning r=harishd 2000-01-15 01:41:27 +00:00
hyatt%netscape.com e37730de69 Partial fix for 18604. r=pav 2000-01-14 09:57:31 +00:00
hyatt%netscape.com 489fa24f63 Fixes for bugs 17460 and 21656. r=travis 2000-01-14 09:28:54 +00:00
jdunn%netscape.com a5a22f8218 Fix somemore of slamm's warnings
r= rods@netscape.com
2000-01-13 23:19:20 +00:00
karnaze%netscape.com 369b89f5d0 bugs 19061, 9879 - each top level row group gets its own cell map; CellData reduced to 4 bytes. 2000-01-13 05:29:38 +00:00
rods%netscape.com a27e248f0e the call to Init was in the wrong place
b 23697 r=dcone
2000-01-12 16:02:12 +00:00
rods%netscape.com 7f30314d7a click events for checkbox and radiobuttons now handled via content (DOM0
instead of the frame
b=23592 r=kmcclusk
2000-01-11 20:33:36 +00:00
pollmann%netscape.com 01c12990cb Bug 17613: Allow 0 margins on frames per HTML4 errata. Fix courtesy of VYV03354@nifty.ne.jp r=self and harishd 2000-01-07 05:54:23 +00:00
pollmann%netscape.com 21be882f53 Bug 21768: always release mForm in SetForm to prevent leak. r=harishd 2000-01-07 05:41:51 +00:00
vidur%netscape.com b8b760ba16 Fix for bug 23206. The property getter/setter for char and charoff attributes were not mapping to the correct attribute values. r=pollmann 2000-01-07 00:19:41 +00:00
vidur%netscape.com bc3cf76724 Fix for bug 23074. Implemented image.complete. r=pollmann 2000-01-06 23:41:14 +00:00
vidur%netscape.com 79e63f922f Fix for bug 23066. Added getter/setter for image.lowsrc for compatibility - the DOM defines image.lowSrc (note the case difference). r=pollmann 2000-01-06 01:10:06 +00:00
jfrancis%netscape.com a6e2697990 fixing unix horkage 2000-01-04 04:03:28 +00:00
vidur%netscape.com f487ac76f3 Fix for bug 22709. image.width/height goes to frame if it isn't in an attribute - compatibility with Level 0. r=harishd 2000-01-04 03:06:13 +00:00
vidur%netscape.com beab8d39b8 Removing warnings. a=don r=waqar 1999-12-22 22:47:15 +00:00
vidur%netscape.com bd28458c92 Fix for bug 21122. Don't capitalize the value of the type attribute of list elements for cases in which the case is significant. Fix for bug 20677. Temporary fix that ensures that SetDocument calls percolate down the entire subtree. a=dagley r=nisheeth 1999-12-22 01:55:38 +00:00
vidur%netscape.com 1c0c61c381 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
vidur%netscape.com 996381c8eb Fix for bug 18840. Radio button groups are now reflected as collections in a form's namespace. Added nsIDOMHTMLFormControlList interface and special handling for namedItem method that return a jsval. a=dagley r=pollmann 1999-12-22 01:48:47 +00:00
jband%netscape.com 7d0cb0f4bb 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
mscott%netscape.com 1fec7316ef fix a memory leak involving the global context 1999-12-17 00:46:11 +00:00
saari%netscape.com adb74c199d Fix for PDT+ bug 21536. r=hyatt 1999-12-16 00:34:43 +00:00
mjudge%netscape.com 39d5616293 oops forgot to remove 2ND! line from makefile 1999-12-15 05:22:07 +00:00
mjudge%netscape.com cbf854d388 adding in nsISelectioncontroller idl for line up/down. fixing editor controller usage for input and textareas. changin nsGfxTextControlFrame.cpp to add editor controllers at the time we need them, not when the control is created due to the delay of the nsEditor creation. nsPresShell implements the new nsISelectionController interfaces. changed makefiles to reflect missing nsEditorController also. 1999-12-15 03:54:52 +00:00
akkana%netscape.com 8797b01104 18033, 19981:
Adjust inputBindings keyset so that it can be overlaid with
  platformGlobalOverlay.xul.  Rewrite emacs keybindings in the
  unix overlay to track mjudge's latest changes. r=mjudge, a=jar
1999-12-11 01:28:07 +00:00
mjudge%netscape.com 2cf7e901e3 massive changes a=jar.hoffman, r=akkana 1999-12-11 00:02:08 +00:00
vidur%netscape.com 1eb3d4e793 Fix for bug 17857. Relative URLs for script-based setting of the SRC attribute now does resolution relative to the calling context. R=nisheeth. 1999-12-08 03:52:01 +00:00
rods%netscape.com 13cecc3177 Fixing the updating of the frame for when the label changes (i.e. via script)
sends back a reflow hint. It also checks to see if the primary frame is a combobox
and asks it to refresh its display
r=kmcclusk bug 19373 (PDT+)
1999-12-08 00:10:34 +00:00
jfrancis%netscape.com 6b9ca53f07 fix for 20457: deletion in editor pretty darn screwy. Lots of changes to improve this. Document modifying entry points in editor now go thru a standard sandwich, which allows tracking of what changed in the doc, which allows proper post-processing of what changed. Also, all deletions now go thru the rules code, if applicable. Also some bugs in tracking the changed document portion have been fixed. Finally selection setting after a delete is improved. 1999-12-07 08:30:19 +00:00
joki%netscape.com 805ffa761a Fix bug 14836, keep disabled control from responding to events. r:pollmann@netscape.com 1999-12-04 02:22:21 +00:00
tbogard%aol.net 648ace3e23 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
drapeau%eng.sun.com f0789172d2 Fix for bug 18899 ('Make "--enable-oji" as part of the default Mozilla
Build').  Modified files that conditionally compiled in support for
OJI, replacing with code that looks for OJI as an XPCOM service, and
failing gracefully if the OJI XPCOM service is not found.  The four
files modified by this fix are the only active ones; other modules
that conditionally compile in support for OJI appear to be dead code.

r=drapeau@eng.sun.com.  Fix contributed by Jayashri Visvanathan
(visvan@eng.sun.com).
1999-12-03 00:26:09 +00:00
sfraser%netscape.com 3cbb52af45 Part of fix for bug 16813 -- line termination problems with forms. r=pollman, rickg. 1999-12-01 23:05:58 +00:00
buster%netscape.com 97c5a5fb1e bug 2253. added controller to html text input
r = kmcclusk
1999-12-01 15:12:49 +00:00
warren%netscape.com a265a32348 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
warren%netscape.com 4ab4ee4d4e Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
shaver%netscape.com 506027739d Repair missing newlines at end of files, and remove lines of the form
#endif foo
both of which upset HPUX's compiler quite a bit.
Patch from Andrew Taylor <Andrew.Taylor@cal.montage.ca>.
1999-11-26 05:33:35 +00:00
vidur%netscape.com c49c6f4ec1 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 a0640b60c4 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
tbogard%aol.net d2e8fb3305 Enabled nsHTMLFrameElement and nsHTMLIFrameElement to implement the nsIChromeEventHandler interface. r=hyatt 1999-11-23 09:42:49 +00:00
pierre%netscape.com aa0d959a1e 8862 "listStyleImage not directly updated". Changing the className causes recreation of frames for the element. Suggested although not formally reviewed by vidur. 1999-11-23 01:08:44 +00:00
pierre%netscape.com 632ed6e972 12737: removed the 'moz-fixed' NavQuirk 1999-11-23 01:07:26 +00:00
jdunn%netscape.com 3ca9e560df Adding newline which is required by HPUX 1999-11-22 19:34:18 +00:00
rods%netscape.com 8042f0e4e7 added boolean in DoneAddingContent method 1999-11-19 16:09:32 +00:00
buster%netscape.com 99d18b9c63 fixed a typo that compiles on win32 but not on linux 1999-11-19 08:30:02 +00:00
buster%netscape.com 81dcb1e335 DOM extension for exposing text areas to XUL
bug 12022, r=rickg, vidur
1999-11-19 07:24:15 +00:00
vidur%netscape.com e729e21e96 fix for bug 18693. Event handler default actions shouldn't be done in the capture phase. R=joki. 1999-11-17 01:01:12 +00:00
vidur%netscape.com 28e617d26f Fix for bug 10173. Attributes that are enumerated values are returned with the first letter upper-cased. R=troy 1999-11-16 23:09:31 +00:00
rods%netscape.com 65d5fbbdfb It will now mask out any focus events that may be generated because of native windows
r=buster, bug 17196
1999-11-15 15:13:12 +00:00
rods%netscape.com 4c5e8f064c Should always return true, the caching of the "true" value is most important. Failing on getting the
preshell or frames should not be passed back.
r=self, bug 18784
1999-11-14 00:35:35 +00:00
vidur%netscape.com d563684b31 Fix for bug 13948. We now correctly store and retrieve an OL element with type=1. R=pollmann. 1999-11-12 02:06:09 +00:00
rods%netscape.com bf86cfed5e Added method "DoneAddingContent" to notify the select that all the chiild are there
it also caches this state so it can be asked whether they have been added
Added method: IsDoneAddingContent(PRBool * aIsDone)
r=vidur, bug 17965
1999-11-11 22:13:20 +00:00
rods%netscape.com a5f4858ce7 Added method "DoneAddingContent" to notify the select that all the chiild are there
r=vidur, bug 17965
1999-11-11 22:13:17 +00:00
dmose%mozilla.org 42fc94a6ec updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
pollmann%netscape.com f4891ec6b4 Bug 7554: HTML Labels now pass JS events to form element the label is for
r=harishd
1999-11-02 23:38:17 +00:00
cls%seawood.org 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
kipp%netscape.com c4289ca79d Added address information to the dump content diagnostic code 1999-11-01 15:38:05 +00:00
beard%netscape.com b7336b7219 MLK: fixed nsICSSDeclaration leak, bug=15380, r=kipp 1999-10-30 20:17:40 +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