Commit Graph

1290 Commits

Author SHA1 Message Date
nisheeth%netscape.com
e870ce9054 We've decided to do away with the notion of an nsExpatDTD. The expat tokenizer which encapsulates the expat parser will be driven by nsWellFormedDTD. So, I'm removing the code that constructed an expat DTD for controlling the parsing of an XML document. 1999-03-03 01:57:03 +00:00
hyatt%netscape.com
1d7617de7f More fixes to make sure the right attribute namespace is being used. 1999-03-03 01:38:32 +00:00
hyatt%netscape.com
1fec664a60 Fixes so that attributes are set correctly. 1999-03-03 01:26:33 +00:00
hyatt%netscape.com
8e035eada0 Fixes to attributes so that they are properly added in with a namespace of
NONE.
1999-03-03 01:17:29 +00:00
vidur%netscape.com
6094c1ca21 Fixes to get CDATASections working again. Also changes to fix XML links. 1999-03-02 23:22:05 +00:00
kmcclusk%netscape.com
82dac76411 gfx vs native widget rendering can now be specified in the viewer at run-time.
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN
1999-03-02 22:43:26 +00:00
joki%netscape.com
0baca6512f Adding new tab handling and focus support. 1999-03-02 19:19:24 +00:00
cls%seawood.org
0bbc0ba3a1 Fixed problem with ondblclick being released w/o being allocated. Appeared to be a copy-n-paste oversight. 1999-03-02 10:20:52 +00:00
waterson%netscape.com
b29d87820d Added code to spy on the xul:open attribute; we now force content construction when a node is opened and release the children when it is closed. 1999-03-02 07:34:32 +00:00
rjc%netscape.com
f8b4395e6d ChildAt(0) can return NULL, so check for it! 1999-03-02 04:07:10 +00:00
pollmann%netscape.com
8f30448ae5 Cleanup: Use the GetPrimary Frame in nsGenericHTMLElement. Enable fetching selectedIndex before frame creation (using DefaultSelected instead of Selected) Bug #3340 1999-03-02 03:31:17 +00:00
pollmann%netscape.com
00a111b13e Enable GetSelected for options inside of option groups. (Fix GetPrimaryFrame) 1999-03-02 03:26:29 +00:00
pollmann%netscape.com
4a3e05e302 Cleanup: return NS_NOINTERFACE not NS_OK if getting the primary frame fails. 1999-03-02 03:22:45 +00:00
nisheeth%netscape.com
937b4d59c2 We no longer call RegisterDTD() on nsParser when initiating parsing of XML
documents.
1999-03-02 02:58:25 +00:00
vidur%netscape.com
cb48e4047a Fixed MAP elements to conform to HTML 4.0. Hooked up attribute changes for MAP, AREA and ANCHOR elements. Added RECONSTRUCT_ALL as a style hint for attribute changes. Modified nsCSSFrameConstructor's ReconstructFrame to only reconstruct the document element hierarchy. 1999-03-01 16:57:35 +00:00
rods%netscape.com
99447f229a Change it to do a QueryInterface, is this right? 1999-03-01 15:27:55 +00:00
mcafee%netscape.com
bf8ad89b24 Backing out my last change, breaks Win32 & Mac. 1999-03-01 10:57:20 +00:00
mcafee%netscape.com
4ebcbb455e Adding do_QueryInterface() wrapper for nsCOMPtr/Solaris. 1999-03-01 10:32:14 +00:00
jfrancis%netscape.com
c37eac4581 made iterators bidirectional; lots of bug fixes; finished subtree iterator impl. 1999-03-01 08:17:18 +00:00
nisheeth%netscape.com
8d35655233 - Add expat to the windows build only...
- Changed nsXMLDocument such that expat gets used for XML parsing if
  EXPAT is #define'd
1999-02-27 08:02:15 +00:00
peterl%netscape.com
8c7771ba8f fixed active link rule support 1999-02-27 07:18:21 +00:00
peterl%netscape.com
ee60b04ab0 added support for dynamic pseudo classes
added support for child & sibling selectors
1999-02-27 07:17:52 +00:00
peterl%netscape.com
75a76e322e added child & sibling selector support 1999-02-27 07:16:57 +00:00
peterl%netscape.com
8e0f3b58c4 added child & sibling selectors 1999-02-27 07:15:59 +00:00
peterl%netscape.com
006004dd56 added content state changed 1999-02-27 07:15:09 +00:00
peterl%netscape.com
0864f69c78 added CSS3 pseudo classes 1999-02-27 07:14:33 +00:00
peterl%netscape.com
65be83c9dd added CSS3 UI pseudo classes 1999-02-27 07:14:13 +00:00
peterl%netscape.com
6ded9b5abe set document before adding attributes 1999-02-27 07:13:48 +00:00
peterl%netscape.com
3f8df31e5d switched state change notifications to use ContentStateChanged 1999-02-27 07:12:38 +00:00
peterl%netscape.com
716fdea6b7 added CalcStyleDifference 1999-02-27 07:11:42 +00:00
peterl%netscape.com
ba5f08e24c added content state changed
removed ua sheet from dump style
1999-02-27 07:11:04 +00:00
peterl%netscape.com
46c784a7db added == operator for style sides 1999-02-27 07:09:40 +00:00
hyatt%netscape.com
70a4c0ce9d Modified HTML content's QueryInterface macro to supported nsIStyledContent. 1999-02-27 01:36:41 +00:00
hyatt%netscape.com
375ee1d8f5 Changed GetID, HasClass, and GetClasses so that they are invoked on styledContent
instead of htmlContent.
1999-02-27 01:35:51 +00:00
hyatt%netscape.com
e29262df04 Changed GetInlineStyleRule so that it is invoked on styledContent instead
of htmlContent.
1999-02-27 01:35:25 +00:00
hyatt%netscape.com
06368ef067 Changed GetContentStyleRule so that it is invoked on styledContent instead
of htmlContent.
1999-02-27 01:34:55 +00:00
hyatt%netscape.com
927493e52a Removing the CLASS, ID, and STYLE-specific methods. They are now in
nsIStyledContent (from which nsIHTMLContent now derives).
1999-02-27 01:32:49 +00:00
hyatt%netscape.com
271401155d The nsIStyledContent interface. Removes CLASS, ID, and STYLE support (as well
as the ability to supply style hints) from nsIHTMLContent.
1999-02-27 01:31:01 +00:00
kipp%netscape.com
960bc34221 fixed up operator new usage 1999-02-26 20:02:06 +00:00
kipp%netscape.com
760dc4af42 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
kipp%netscape.com
2eee855f3b Support entities (bug #3112) 1999-02-26 17:13:51 +00:00
kipp%netscape.com
a757e2efbe Cleaned up operator new and delete 1999-02-26 17:13:10 +00:00
kipp%netscape.com
cc779556f7 Removed dependency on static constructors 1999-02-26 17:12:16 +00:00
kipp%netscape.com
8e83b73c68 Fixed up operator new and delete 1999-02-26 17:09:35 +00:00
kipp%netscape.com
63f4abfd18 Implement operator delete properly; removed dependency on static constructor 1999-02-26 17:03:18 +00:00
waterson%netscape.com
c1fa9721d0 Bug 3302. Fixed DOM calls to effect (more or less) the right change on the content model, modulo Bug 3275. This was causing asserts to fire whenever you called SetAttribute(). 1999-02-26 03:02:19 +00:00
waterson%netscape.com
7dc1429c56 Improved SplitAttribute() to return kNameSpaceID_None if it finds a tag but can't determine the namespace. 1999-02-26 02:09:48 +00:00
vidur%netscape.com
b15aacfeb3 Made style reresolution propogate down to the bullet frames for list items. Added list related attribute tests. 1999-02-25 19:14:35 +00:00
waterson%netscape.com
ab8c628386 Improved tag matching so that it doesn't assume XUL namespace. Added nsIXMLContent methods in anticipation of someday getting real namespace scoping right. See http://bugzilla.mozilla.org/show_bug.cgi?id=3275 for more info. 1999-02-25 17:15:57 +00:00
hyatt%netscape.com
15eef1e48f Fixes to getElementsByTagName to avoid returning nodes that aren't elements. 1999-02-25 02:58:11 +00:00
vidur%netscape.com
6803ad7f1b XML books test case (not part of the build so don't shoot me). 1999-02-25 02:26:53 +00:00
troy%netscape.com
47cbdb1e9d Added frame type atoms for several table frame classes 1999-02-24 05:54:31 +00:00
troy%netscape.com
eb48a80e30 Added nsLayoutAtoms::textFrame 1999-02-24 05:33:40 +00:00
troy%netscape.com
03c5c1f520 Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
waterson%netscape.com
bc0bd2e68a Fixed some refcounting bugs with atoms. 1999-02-24 04:46:47 +00:00
kipp%netscape.com
08258b786c Fixed crash bug where unitialized index would sometimes crash; also increment index in loop so that it terminates 1999-02-24 04:34:54 +00:00
troy%netscape.com
da0991df28 Added CreateContinuingFrame() function to frame construction code 1999-02-24 04:03:50 +00:00
hyatt%netscape.com
790a8f48ef Fixing the case of the ID atom (it should have been lower case). 1999-02-24 02:58:47 +00:00
hyatt%netscape.com
9f0be779bd Fixing the multiple observer crash. 1999-02-24 02:18:35 +00:00
waterson%netscape.com
c60c67adc4 Made sure to add a named reference to the event handlers. a=sar%netscape.com for checkin during closed tree. 1999-02-24 00:01:26 +00:00
kipp%netscape.com
bb34e891d8 Latest snapshot using linux version of the tools 1999-02-23 19:38:50 +00:00
vidur%netscape.com
93609d0604 Added nsIStyleSheetLinkingElement interface and implemented it for LINK and STYLE elements. Got attribute modifications for lists and list items working (including correct renumbering of lists when attribute values change). 1999-02-23 19:18:12 +00:00
warren%netscape.com
01dd4f0ed6 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
ftang%netscape.com
02b8de88ba add S/GetLineBreaker to nsIDocument.h. Reviewed by kipp and waterson 1999-02-23 03:31:26 +00:00
hyatt%netscape.com
3ec6d9980a Touched the files auto-generatedb y the IDL. Also implemented getElementByAttribute
for documents and for elements.
1999-02-23 02:40:51 +00:00
mjudge%netscape.com
642c6f7d87 Fixing nsCOMPtr misusage. 1999-02-22 19:06:48 +00:00
hyatt%netscape.com
a1739b9b8a Implementing event handlers on XUL nodes. 1999-02-20 01:59:45 +00:00
evaughan%netscape.com
91eb54570b Added a new XUL TitledButtonFrame 1999-02-19 18:23:02 +00:00
scc%netscape.com
b8df1ed8b0 updated for nsCOMPtr; owners should check my changes to see if they agree with my choices for |do_QueryInterface| vs |dont_QueryInterface| 1999-02-19 02:56:00 +00:00
mcafee%netscape.com
65b910addc Solaris needs newline at end of file. 1999-02-19 02:43:26 +00:00
mcafee%netscape.com
024d71b7d8 Fixing return types and swtich to proper PR_TRUE/PR_FALSE types. r=akkana@netscape.com 1999-02-19 02:32:58 +00:00
mcafee%netscape.com
8f769f292e Fixing return types and swtich to proper PR_TRUE/PR_FALSE types. r=akkana@netscape.com 1999-02-19 02:03:23 +00:00
mcafee%netscape.com
42b7604d15 Solaris: mIsDone is a PRBool, that means use PR_FALSE or PR_TRUE. 1999-02-19 01:41:03 +00:00
troy%netscape.com
b236facd7f Added pseudo style for 'page' element 1999-02-19 00:53:09 +00:00
scc%netscape.com
5f8d7aa381 updated for nsCOMPtr (no implicit construction from raw pointers) owners should check that they agree with my choices for |dont_QueryInterface|, |do_QueryInterface| and |dont_AddRef| 1999-02-18 23:55:10 +00:00
kmcclusk%netscape.com
8dcf8365b9 changed pseudo styles file-button, file-text to -moz-file-button -moz-file-text in ua.css
Adjusted nsHTMLAtoms to match.
1999-02-18 22:36:59 +00:00
kipp%netscape.com
94912a8da7 Renamed bullet pseudo style 1999-02-18 22:20:19 +00:00
kmcclusk%netscape.com
0006f5de38 Fixed call to ProbePseudoStyleContext in nsButtonControlFrame so it will compile
when NS_GFX_RENDER_FORM_ELEMENTS is defined.
Added checks to nsFileControlFrame::Reflow to make sure the pseudo styles actually
could be loaded. If they can't be loaded it uses the file upload elements style.
Changed file-buttonstyle to file-button and file-textstyle to file-text in ua.css
1999-02-18 22:07:23 +00:00
hyatt%netscape.com
d724898a78 Improvements to the broadcasting mechanism so that HTML nodes can properly
observe XUL broadcasters.
1999-02-18 21:45:06 +00:00
cyeh%netscape.com
af4818f5e3 Remove mozilla/layout/config and use mozilla/config instead. 1999-02-18 18:16:21 +00:00
hyatt%netscape.com
4ee9124f11 Improvements to the document getElementByID method. 1999-02-18 05:03:20 +00:00
kipp%netscape.com
2b027db79b updated hash generator 1999-02-18 03:29:24 +00:00
kipp%netscape.com
674d43c0b3 Fixed up alignment mappings 1999-02-18 03:28:55 +00:00
kipp%netscape.com
eeca19df62 Removed usage of GetAutoMarginSize 1999-02-18 03:24:58 +00:00
vidur%netscape.com
0b6657a837 Backed out bogus update to test 1999-02-18 00:19:12 +00:00
vidur%netscape.com
5ed7dde231 Supported XML namespace decls as attributes of HTML content embedded in XML 1999-02-18 00:18:50 +00:00
kmcclusk%netscape.com
9d22e42a58 Added pseudo styles for file input element buttons and text fields to control their
appearance during printing.
Now returns value of file upload element in nsHTMLInputElement::GetValue.
Added :file-textstyle and :file-buttonstyle pseudo style's to ua.css.
Modified nsButtonControlFrame::PaintButton to accept a rectangle describing the
position and size of the button to paint.
Modified nsFileControlFrame::Paint to resolve :file-buttonstyle and :file-textstyle to
paint the file upload's button and text field using settings in ua.css
Added nsFileControlFrame::HasWidget utility method.
Added nsFormControlHelper::GetInputElementValue to get the current value of an input element
from the DOM.
Modified nsTextControlFrame::GetProperty to use nsFormControlHelper::GetInputElementValue
Modified nsTextControlFrame::PaintTextControl to accept a rectangle describing the position
and size of the text control to paint.
Modified nsTextControl::PaintTextControlBackground to include a rectangle describing the
position and size of the text control background to paint.
1999-02-18 00:13:39 +00:00
vidur%netscape.com
8ac544b55c Implemented the correct content model for the TITLE element and allowed for dynamic change. 1999-02-17 23:56:55 +00:00
hyatt%netscape.com
b75b92a353 Implemented more DOM methods to get apprunner working with XUL files. 1999-02-17 22:32:40 +00:00
hyatt%netscape.com
e104f8301f Finishing the broadcaster work (at least for now). 1999-02-17 19:35:53 +00:00
hyatt%netscape.com
d7af57a96b More tweaks to the broadcasting stuff. 1999-02-17 18:58:05 +00:00
hyatt%netscape.com
f98e5b9fdd Implemented brain-dead tree walk in GetElementByID. 1999-02-17 18:46:23 +00:00
hyatt%netscape.com
042038acc1 Checking in code that does the broadcaster hookup. 1999-02-17 18:33:33 +00:00
waterson%netscape.com
1f97c263f8 Implemented nsIDOMElement::GetAttribute(). 1999-02-17 11:56:44 +00:00
waterson%netscape.com
24b3945071 Added nsIDOMElementObserver interface to QI. 1999-02-17 11:56:15 +00:00
waterson%netscape.com
d69f284086 Landed RDF_19990217_BRANCH. This includes a bunch of changes to get XUL scriptability up and running; also, nsRDFResourceElement and nsRDFGenericElement have been collapsed into a single class, and most of the state has been turned into attributes on the class. 1999-02-17 11:09:57 +00:00
danm%netscape.com
8a3666cbb7 changed nsCOMPtr comparison operators to explicitly use get(). part of nsCOMPtr carpool. 1999-02-17 04:39:22 +00:00
mcafee%netscape.com
9a63580434 Adding do_QueryInterface() wrapper for nsCOMPtr carpool. r=scc a=sar 1999-02-17 02:08:00 +00:00
waterson%netscape.com
a42425658b Landed RDFDOM_19990215_BRANCH. Began implementing DOM-to-RDF functionality. 1999-02-16 19:30:04 +00:00
jfrancis%netscape.com
1a6a12c09f new content subtree iterator 1999-02-16 15:48:13 +00:00