nisheeth%netscape.com
595276432b
- Beautified error reporting of expat errors. We now don't just dump the error text out as nodes. We create the parsererror and sourcetext HTML nodes that can be styled via ua.css.
1999-03-11 05:29:36 +00:00
nisheeth%netscape.com
554a04fad4
- changing ua.css to add style rules for the 'parsererror' and 'sourcetext' elements.
...
- added eHTMLTag_parsererror, eHTMLTag_sourcetext to the set of HTML tags.
- These tags are used within XML documents to show errors from expat.
1999-03-11 05:26:53 +00:00
joki%netscape.com
f7c8bd10c6
Adding DOM access to new character information
1999-03-11 00:07:59 +00:00
rjc%netscape.com
ad2f6654f2
Small sort fix.
1999-03-10 22:02:25 +00:00
waterson%netscape.com
f0745144ef
Added GetResource() to XULElement.
1999-03-10 20:20:52 +00:00
hyatt%netscape.com
e88c1129fb
Working on XUL fragments.
1999-03-10 20:05:12 +00:00
mcafee%netscape.com
53c2a55a3c
Solaris doesn't like the dangling semi-colon after NS_DECL_ISUPPORTS_INHERITED macro.
1999-03-10 10:52:50 +00:00
rjc%netscape.com
e0b265412b
Cast away! and changed a few .Equals() to now be .EqualsIgnoreCase()
1999-03-10 09:41:07 +00:00
waterson%netscape.com
e1afba1084
Aggregate nsIDOMXULTreeElement interface onto nsRDFElement. Scriptability #ifdef-ed out.
1999-03-10 08:50:27 +00:00
waterson%netscape.com
9fadccdbbc
Fix build bustage, not really sure what this is supposed to be doing.
1999-03-10 08:11:28 +00:00
waterson%netscape.com
0d7a452c49
Fixed header files to work outside the XPIDL world for now.
1999-03-10 07:12:42 +00:00
rjc%netscape.com
29ffc540fb
Small changes to sorting code to prepare for sorting on id attribute.
1999-03-10 07:07:10 +00:00
waterson%netscape.com
1a72986d9a
Landed on tip.
1999-03-10 05:37:31 +00:00
hyatt%netscape.com
33f2bc3467
Landing the initial changes to support XUL fragments.
1999-03-10 01:37:31 +00:00
vidur%netscape.com
bb1650ee77
Added CreateElementWithNameSpace to proprietary document interface. Fixed GetTagName for HTML to uppercase tag names. Hooked up style rule addition and deletion to reconstruct frames. Fixed DOM generation problem
1999-03-10 01:17:49 +00:00
alecf%netscape.com
1717419ca5
purify fixes from bruce@cybersight.com - use delete[] rather than delete
1999-03-10 00:35:16 +00:00
waterson%netscape.com
c3d02ab7dd
Made sure to initialize rv to NS_OK.
1999-03-09 23:51:34 +00:00
hyatt%netscape.com
e3e08df35d
Fixing a bug with selection in the tree view.
1999-03-09 21:58:06 +00:00
hyatt%netscape.com
09561af850
Fixes to the broadcasters and observers. I made HTML elements work with
...
observes nodes, and I changed some SetAttribute calls to use the DOM
instead of the nsIContent APIs.
1999-03-09 19:30:41 +00:00
jfrancis%netscape.com
05bff338bd
fixed refcounting bugs
1999-03-09 19:21:30 +00:00
jfrancis%netscape.com
9ccfd6ca94
fixed refcounting bugs plus a little cleanup
1999-03-09 19:21:04 +00:00
warren%netscape.com
c50687b845
nsRepository -> nsIComponentManager changes.
1999-03-09 09:44:27 +00:00
waterson%netscape.com
166aab00ae
Fixed GetElementsByAttribute(): use the DOM APIs to be consistent with namespaces.
1999-03-09 08:10:50 +00:00
waterson%netscape.com
423fdfd472
Made widget observer observe the composite data source.
1999-03-09 08:05:26 +00:00
nisheeth%netscape.com
282f2ef67b
- Quoted all attributes.
...
- Fixed casing on the end BookSet tag. (The expat parser enforces case-sensitivity in XML)
1999-03-09 07:44:47 +00:00
waterson%netscape.com
b0d32f4ae3
Land Guha's history stuff, including some fixes for references in the file system data source, and modifications for literals: there's now nsIntLiteral and nsDateLiteral.
1999-03-09 04:01:56 +00:00
vidur%netscape.com
5b9051fe4d
Table of contents example
1999-03-09 00:36:54 +00:00
tague%netscape.com
e83d88b1db
Fixed build bustage (lost const)
1999-03-08 21:02:35 +00:00
alecf%netscape.com
fd2941ac9d
fix g++ -pedantic bustage
1999-03-08 20:18:53 +00:00
jfrancis%netscape.com
7ea09100f6
bug fixes + changing broken "dont_QueryInterface" additions to "do_QueryInterface"
1999-03-08 01:20:02 +00:00
hyatt%netscape.com
10c3453c14
Changes to the builder APIs to distinguish folder items from leaf
...
items (although we're not quite there yet).
1999-03-07 23:18:26 +00:00
hyatt%netscape.com
51f014158e
Landing the menu builder for real. The bookmarks menu lives (well, sort of).
1999-03-07 10:28:42 +00:00
rjc%netscape.com
58fcc170d8
More support for column sorting.
1999-03-07 09:44:38 +00:00
hyatt%netscape.com
372c03156f
A base class for factoring out the common functionality that exists
...
among builders. (To be used by the tree, toolbar, and menu builders
at the very least.)
1999-03-07 08:12:48 +00:00
troy%netscape.com
da0eec7de9
In RulesMatching(), changed NS_RELEASE to NS_IF_RELEASE for the link handler.
...
This fixes a crash when doing a print preview
1999-03-06 17:20:27 +00:00
warren%netscape.com
dd93375aa5
Fixing someone's RDF breakage.
1999-03-06 04:12:56 +00:00
nisheeth%netscape.com
61aa27804d
Changed nsIContentSink->NotifyError() to accept an nsParserError argument. This change is needed for propagating errors from the new expat parser.
1999-03-06 02:01:11 +00:00
hyatt%netscape.com
e18a567aa5
onchange handler implemented for observes nodes.
1999-03-06 01:19:13 +00:00
rjc%netscape.com
ecc18e5568
Small cleanup to nsXULSortService.
1999-03-06 00:11:14 +00:00
hyatt%netscape.com
cfad52f4a9
More tweaks to broadcasters.
1999-03-05 23:53:01 +00:00
rjc%netscape.com
cb29c704c2
First Checked In.
1999-03-05 23:51:41 +00:00
hyatt%netscape.com
c4589797ea
Fixed a memory leak in the broadcasters.
1999-03-05 23:08:34 +00:00
hyatt%netscape.com
003eb1d25f
Changes to broadcasters.
1999-03-05 22:43:02 +00:00
hyatt%netscape.com
c6912beac6
Changing the broadcaster methods to take DOM elements instead of DOM
...
nodes.
1999-03-05 22:37:24 +00:00
hyatt%netscape.com
85fed6d64d
Cleaning up some code.
1999-03-05 22:33:27 +00:00
hyatt%netscape.com
5d2e9c4d21
Fixes to enable getElementById to work with HTML elements.
1999-03-05 20:30:13 +00:00
kipp%netscape.com
9fc30d4717
Support more css style for hr's; map align to auto margins
1999-03-05 04:20:07 +00:00
hyatt%netscape.com
94f316e8f0
Many bug fixes to the RDF content model including namespace changes and
...
style support.
1999-03-05 00:01:26 +00:00
hyatt%netscape.com
c02d994cac
Committing the new attribute class for the handling of XUL attributes.
1999-03-05 00:00:40 +00:00
scc%netscape.com
31ff626ae9
rename |IID()| --> |GetIID()|
1999-03-03 19:48:57 +00:00
brade%netscape.com
a08b6b708b
reduce compiler warnings on Macintosh by adding comparison in loop (around assignments)
1999-03-03 14:50:41 +00:00
waterson%netscape.com
958bbee1f4
Removed tree-specific open and close code. This is now in the nsRDFTreeBuilder, where it belongs.
1999-03-03 08:07:10 +00:00
pollmann%netscape.com
a30885fc38
Give nsTextControlFrame a notification when readonly on a TextArea is changed.
1999-03-03 03:05:31 +00:00
pollmann%netscape.com
16ee81ed7f
Fix bug #3375 and #3368 : Allow hidden inputs and password inputs to store values.
1999-03-03 02:54:25 +00:00
nisheeth%netscape.com
4de7406f15
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
a673d12e20
More fixes to make sure the right attribute namespace is being used.
1999-03-03 01:38:32 +00:00
hyatt%netscape.com
64a6753587
Fixes so that attributes are set correctly.
1999-03-03 01:26:33 +00:00
hyatt%netscape.com
6b640a1aee
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
66a4fb1a65
Fixes to get CDATASections working again. Also changes to fix XML links.
1999-03-02 23:22:05 +00:00
kmcclusk%netscape.com
52afc44421
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
c401b7142e
Adding new tab handling and focus support.
1999-03-02 19:19:24 +00:00
cls%seawood.org
79caf55510
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
5b4e352425
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
8a3178b0de
ChildAt(0) can return NULL, so check for it!
1999-03-02 04:07:10 +00:00
pollmann%netscape.com
f0368fab2e
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
fe42af341e
Enable GetSelected for options inside of option groups. (Fix GetPrimaryFrame)
1999-03-02 03:26:29 +00:00
pollmann%netscape.com
fe9dc59eef
Cleanup: return NS_NOINTERFACE not NS_OK if getting the primary frame fails.
1999-03-02 03:22:45 +00:00
nisheeth%netscape.com
6cafe14005
We no longer call RegisterDTD() on nsParser when initiating parsing of XML
...
documents.
1999-03-02 02:58:25 +00:00
vidur%netscape.com
5c71c0ce21
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
372194e11f
Change it to do a QueryInterface, is this right?
1999-03-01 15:27:55 +00:00
mcafee%netscape.com
20a05193e2
Backing out my last change, breaks Win32 & Mac.
1999-03-01 10:57:20 +00:00
mcafee%netscape.com
2d410263b9
Adding do_QueryInterface() wrapper for nsCOMPtr/Solaris.
1999-03-01 10:32:14 +00:00
jfrancis%netscape.com
9b46187134
made iterators bidirectional; lots of bug fixes; finished subtree iterator impl.
1999-03-01 08:17:18 +00:00
nisheeth%netscape.com
aa8fbc879d
- 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
e6aa19618a
fixed active link rule support
1999-02-27 07:18:21 +00:00
peterl%netscape.com
4b2ba32cae
added support for dynamic pseudo classes
...
added support for child & sibling selectors
1999-02-27 07:17:52 +00:00
peterl%netscape.com
120d44bdfc
added child & sibling selector support
1999-02-27 07:16:57 +00:00
peterl%netscape.com
d79cf12101
added child & sibling selectors
1999-02-27 07:15:59 +00:00
peterl%netscape.com
6cc2958942
added content state changed
1999-02-27 07:15:09 +00:00
peterl%netscape.com
eab0e6c8cb
added CSS3 pseudo classes
1999-02-27 07:14:33 +00:00
peterl%netscape.com
53d86f217b
added CSS3 UI pseudo classes
1999-02-27 07:14:13 +00:00
peterl%netscape.com
9fe33c68e2
set document before adding attributes
1999-02-27 07:13:48 +00:00
peterl%netscape.com
1ae9d420b1
switched state change notifications to use ContentStateChanged
1999-02-27 07:12:38 +00:00
peterl%netscape.com
7cd4cd92c4
added CalcStyleDifference
1999-02-27 07:11:42 +00:00
peterl%netscape.com
c0cf7cb253
added content state changed
...
removed ua sheet from dump style
1999-02-27 07:11:04 +00:00
peterl%netscape.com
5916c57c38
added == operator for style sides
1999-02-27 07:09:40 +00:00
hyatt%netscape.com
d86eecabbe
Modified HTML content's QueryInterface macro to supported nsIStyledContent.
1999-02-27 01:36:41 +00:00
hyatt%netscape.com
d85d9fe190
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
dfbfad323d
Changed GetInlineStyleRule so that it is invoked on styledContent instead
...
of htmlContent.
1999-02-27 01:35:25 +00:00
hyatt%netscape.com
b672b96f31
Changed GetContentStyleRule so that it is invoked on styledContent instead
...
of htmlContent.
1999-02-27 01:34:55 +00:00
hyatt%netscape.com
48a5a5d631
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
76b33e035d
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
4a28dcfe2b
fixed up operator new usage
1999-02-26 20:02:06 +00:00
kipp%netscape.com
cfa5bbce41
Fixed remaining issues with operator new/delete
1999-02-26 19:26:29 +00:00
kipp%netscape.com
b328181417
Support entities (bug #3112 )
1999-02-26 17:13:51 +00:00
kipp%netscape.com
2aaefa469a
Cleaned up operator new and delete
1999-02-26 17:13:10 +00:00
kipp%netscape.com
ca244c5661
Removed dependency on static constructors
1999-02-26 17:12:16 +00:00
kipp%netscape.com
faa661374a
Fixed up operator new and delete
1999-02-26 17:09:35 +00:00
kipp%netscape.com
9adee56599
Implement operator delete properly; removed dependency on static constructor
1999-02-26 17:03:18 +00:00
waterson%netscape.com
1a5afc6cd4
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
d24631f345
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
7d78aa4ffc
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
3e5a8fac67
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
caaaa239f1
Fixes to getElementsByTagName to avoid returning nodes that aren't elements.
1999-02-25 02:58:11 +00:00
vidur%netscape.com
3ea8fe1203
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
e4388eb926
Added frame type atoms for several table frame classes
1999-02-24 05:54:31 +00:00
troy%netscape.com
a29e93d9d0
Added nsLayoutAtoms::textFrame
1999-02-24 05:33:40 +00:00
troy%netscape.com
8dfabdf1a8
Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
...
not references
1999-02-24 04:48:08 +00:00
waterson%netscape.com
4a450ed443
Fixed some refcounting bugs with atoms.
1999-02-24 04:46:47 +00:00
kipp%netscape.com
32f095692b
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
55d2703151
Added CreateContinuingFrame() function to frame construction code
1999-02-24 04:03:50 +00:00
hyatt%netscape.com
5e15e8bfed
Fixing the case of the ID atom (it should have been lower case).
1999-02-24 02:58:47 +00:00
hyatt%netscape.com
83073a77fe
Fixing the multiple observer crash.
1999-02-24 02:18:35 +00:00
waterson%netscape.com
f7372ad980
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
bf3fa605eb
Latest snapshot using linux version of the tools
1999-02-23 19:38:50 +00:00
vidur%netscape.com
6cf6986695
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
3642da81a5
Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray.
1999-02-23 08:10:24 +00:00
ftang%netscape.com
fbebe3feca
add S/GetLineBreaker to nsIDocument.h. Reviewed by kipp and waterson
1999-02-23 03:31:26 +00:00
hyatt%netscape.com
dbc9dd98bf
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
b45a295339
Fixing nsCOMPtr misusage.
1999-02-22 19:06:48 +00:00
hyatt%netscape.com
b38de83ff5
Implementing event handlers on XUL nodes.
1999-02-20 01:59:45 +00:00
evaughan%netscape.com
ded20d5f4a
Added a new XUL TitledButtonFrame
1999-02-19 18:23:02 +00:00
scc%netscape.com
b69653a62b
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
e260c8319a
Solaris needs newline at end of file.
1999-02-19 02:43:26 +00:00
mcafee%netscape.com
390dea2f05
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
fd53f70412
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
babefe5414
Solaris: mIsDone is a PRBool, that means use PR_FALSE or PR_TRUE.
1999-02-19 01:41:03 +00:00
troy%netscape.com
d1fb344418
Added pseudo style for 'page' element
1999-02-19 00:53:09 +00:00
scc%netscape.com
ab59e4df7a
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
f543fc88ba
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
db4ce9c499
Renamed bullet pseudo style
1999-02-18 22:20:19 +00:00
kmcclusk%netscape.com
602be9dfc4
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
21fb604870
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
fe763fea21
Remove mozilla/layout/config and use mozilla/config instead.
1999-02-18 18:16:21 +00:00
hyatt%netscape.com
cdb147c010
Improvements to the document getElementByID method.
1999-02-18 05:03:20 +00:00
kipp%netscape.com
83e77accb1
updated hash generator
1999-02-18 03:29:24 +00:00
kipp%netscape.com
2a09025a80
Fixed up alignment mappings
1999-02-18 03:28:55 +00:00
kipp%netscape.com
10ed4226e9
Removed usage of GetAutoMarginSize
1999-02-18 03:24:58 +00:00
vidur%netscape.com
10f1c9a944
Backed out bogus update to test
1999-02-18 00:19:12 +00:00
vidur%netscape.com
710c4b9575
Supported XML namespace decls as attributes of HTML content embedded in XML
1999-02-18 00:18:50 +00:00
kmcclusk%netscape.com
bc45423c33
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
5dddc5bcf8
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
b63fb09939
Implemented more DOM methods to get apprunner working with XUL files.
1999-02-17 22:32:40 +00:00
hyatt%netscape.com
61c0ffc303
Finishing the broadcaster work (at least for now).
1999-02-17 19:35:53 +00:00
hyatt%netscape.com
291d836dc5
More tweaks to the broadcasting stuff.
1999-02-17 18:58:05 +00:00
hyatt%netscape.com
f977644992
Implemented brain-dead tree walk in GetElementByID.
1999-02-17 18:46:23 +00:00
hyatt%netscape.com
6b3d1a7725
Checking in code that does the broadcaster hookup.
1999-02-17 18:33:33 +00:00
waterson%netscape.com
cd754c4b03
Implemented nsIDOMElement::GetAttribute().
1999-02-17 11:56:44 +00:00
waterson%netscape.com
d3faaebeef
Added nsIDOMElementObserver interface to QI.
1999-02-17 11:56:15 +00:00
waterson%netscape.com
02f3d9b924
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
80dc7af313
changed nsCOMPtr comparison operators to explicitly use get(). part of nsCOMPtr carpool.
1999-02-17 04:39:22 +00:00
mcafee%netscape.com
3ece48d719
Adding do_QueryInterface() wrapper for nsCOMPtr carpool. r=scc a=sar
1999-02-17 02:08:00 +00:00
waterson%netscape.com
2372f7e7ec
Landed RDFDOM_19990215_BRANCH. Began implementing DOM-to-RDF functionality.
1999-02-16 19:30:04 +00:00
jfrancis%netscape.com
1f0604e40f
new content subtree iterator
1999-02-16 15:48:13 +00:00
jfrancis%netscape.com
f8e62db214
replaced IsNodeInsideRange() with CompareNodeToRange()
1999-02-16 15:46:37 +00:00
jfrancis%netscape.com
17ecef61e9
Replaced IsNodeInsideRange() with CompareNodeToRange() and also removed forward class declarations to make VC5 happy
1999-02-16 15:43:28 +00:00
rickg%netscape.com
bc6cb6fd89
fixed a wad of little bugs and added regression test
1999-02-16 07:38:27 +00:00
troy%netscape.com
f63bfa5bf7
Added code to set/get the view manager's root scrollable view
1999-02-16 04:41:15 +00:00
nisheeth%netscape.com
53cf494871
Added style hints for DOM attribute changes to the FONT and BASEFONT content objects.
1999-02-15 23:48:09 +00:00
buster%netscape.com
17a29c2230
changed some forward class declarations to #include of the class
...
declaration. These classes are used in nsCOMPtr's, and
VC 5.0 needs the full class declaration to compile.
1999-02-15 16:26:04 +00:00
nisheeth%netscape.com
4b1544676a
- Changed name of getter function for style hints to GetStyleHintForAttributeChange().
...
- Plugged in style hint for changes to the <HR NOSHADE> attribute.
1999-02-15 06:42:44 +00:00
jfrancis%netscape.com
142e6503b2
I wish VC++ would give me a @#$*&^#! break.
1999-02-14 12:51:29 +00:00
jfrancis%netscape.com
51b5ee7434
some (NULL != nsCOMPtr<Foo>'s) snuck thru - VC++ no like. I don't like 'em either.
1999-02-14 11:14:55 +00:00
jfrancis%netscape.com
6db0bb5c14
VC++ not hip to mixing goto's with automatics that have contructor/destructors.
1999-02-14 10:18:20 +00:00
jfrancis%netscape.com
bce33616de
ground work for new content subtree iterator
1999-02-14 09:15:13 +00:00
jfrancis%netscape.com
18894a69ca
nsCOMPtr conversion plus some new utility functions
1999-02-14 09:14:50 +00:00
troy%netscape.com
2a7c042839
Added a cast
1999-02-14 06:13:06 +00:00
troy%netscape.com
9c40302b87
Added some casts to get things to compile
1999-02-14 06:12:29 +00:00
troy%netscape.com
a35f456e1c
Added cast to get it to compile
1999-02-14 06:10:51 +00:00
troy%netscape.com
99ecf5d560
Added frame-type atoms for area,scroll,viewport,root,page frame classes
1999-02-14 03:47:33 +00:00
kipp%netscape.com
456ff746d5
Use dont_AddRef on calls that increment the addref
1999-02-12 20:13:47 +00:00
troy%netscape.com
7b2012fca2
Fixed some errors related to switch to using nsCOMPtr
1999-02-12 18:41:26 +00:00
troy%netscape.com
59520aa119
Fixed some compile errors using nsCOMPtr
1999-02-12 18:15:02 +00:00
kipp%netscape.com
5a554d526e
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
jfrancis%netscape.com
4918559f5d
divorce from nsIEnumerator
1999-02-12 08:20:40 +00:00
peterl%netscape.com
bbce5acbc7
fixed atom ref counting bug
1999-02-12 08:16:00 +00:00
peterl%netscape.com
8d65d14ec2
changed all html atoms to lower case
1999-02-12 06:19:07 +00:00
jfrancis%netscape.com
8ccb052a1b
XPCOMified the content iterator; fixed some bugs in DeleteRange()
1999-02-12 05:28:46 +00:00
jfrancis%netscape.com
1e5b102dee
XPCOMified nsContentIterator; added it to layout factory CreateInstance code
1999-02-12 05:28:12 +00:00
jfrancis%netscape.com
10ea728eb2
fixing iid collision with simon
1999-02-12 04:39:21 +00:00
jfrancis%netscape.com
d5d4efaef9
First Checked In.
1999-02-12 04:28:29 +00:00
akkana%netscape.com
bf0baf8027
Rename nsISelection to nsIFrameSelection
1999-02-11 23:12:28 +00:00
troy%netscape.com
32dc0c66a9
Partial fix for bug #644 . We still re-load the document un-necessarily, but
...
at least now we move to the anchor
1999-02-11 23:08:04 +00:00
peterl%netscape.com
09a1d53596
made class values case sensitive
1999-02-11 06:43:14 +00:00
peterl%netscape.com
12296841cf
handle case sensitivity in attribute selector values here
1999-02-11 06:42:49 +00:00
peterl%netscape.com
019cfbfcc0
fixed bug while tokenizing ints at end of input stream
1999-02-11 06:42:02 +00:00
peterl%netscape.com
3e08c4fe52
made class selectors case sensitive
...
moved case-insensitive support for attribute values to style sheet
1999-02-11 06:41:21 +00:00
peterl%netscape.com
bd665cd592
added viewport pseudo element tag
1999-02-11 06:39:07 +00:00
kmcclusk%netscape.com
b9f6f92462
Fixed border rendering during printing for Select and text, and text areas.
...
Implemented SetProperty/GetProperty methods for FileControlFrame
Added nsGenericHTMLElement::GetPrimaryFrame check for nsnull for doc return type.
nsHTMLInputElement.cpp replace NS_OK == with NS_SUCCEEDED in GetValue and SetValue
Added GetName and GetValue utility methods to nsFormControlHelper
modified nsButtonControlFrame::PaintButton to take the label to paint as an extra parameter.
This allows it to be callable from the nsFileControlFrame code to render the button.
1999-02-11 01:13:28 +00:00
hyatt%netscape.com
e0431b6eaf
Adding support for tree columns.
1999-02-10 19:51:29 +00:00
waterson%netscape.com
2447830175
Fixed nsISelection bustage.
1999-02-10 19:39:29 +00:00
mjudge%netscape.com
bca382f43e
Keyboard navigation, removing nsICollection(not used) adding PeekOffset to have the nsIFrame tell us where to go when moving a character ect. adding nsFrameTraversal to traverse frames, based on nsIEnumerator. mjudge x4661
1999-02-10 18:55:25 +00:00
peterl%netscape.com
4d73e58576
Improved handling of bad properties
1999-02-10 08:37:52 +00:00
peterl%netscape.com
d46ab9ac1e
added append struct value
1999-02-10 08:37:28 +00:00
peterl%netscape.com
db84d3164c
added missing ToString case
1999-02-10 08:36:37 +00:00
troy%netscape.com
5c3d1395f3
Changed a bunch more nsIFrame member functions to be pointer arguments
...
instead of references
1999-02-10 05:38:18 +00:00
troy%netscape.com
b8965b6929
Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
...
references
1999-02-10 04:17:06 +00:00
troy%netscape.com
40e3d2b1c8
Changed GetParent() to use ** instead of *&
1999-02-10 01:36:30 +00:00
troy%netscape.com
c9c1fa187e
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
1999-02-10 00:42:56 +00:00
waterson%netscape.com
c37bbf9498
Whacked to get RDF/XUL working right, with local content mderged in.
1999-02-09 03:15:41 +00:00
peterl%netscape.com
85a4da7c28
selector text notes
1999-02-07 21:48:45 +00:00
peterl%netscape.com
72cec4cb78
added capturing selector source text (to preserve namespace prefixes)
1999-02-07 21:48:27 +00:00
peterl%netscape.com
97f3de44e9
Added token append to string
...
Improved handling of bad strings
Improved handling of escapes
1999-02-07 21:47:48 +00:00
vidur%netscape.com
46f74ee401
Hooked up style hint for id, class and dir
1999-02-05 19:55:56 +00:00
peterl%netscape.com
0c55af98d5
moved frame construction code to its own class
1999-02-05 03:57:49 +00:00
vidur%netscape.com
c7b9881715
implemented nsHTMLDocument::GetElementsByName
1999-02-04 23:23:07 +00:00
peterl%netscape.com
dda86a0094
added -moz-bg-inset & -moz-bg-outset keywords
1999-02-04 19:18:01 +00:00
troy%netscape.com
d98c1338c9
Work-in-progress for replaced elements that can't be rendered
1999-02-04 17:03:46 +00:00
kipp%netscape.com
cd3d8a38ca
Use nsIHTMLContent attribute api's to avoid attribute changed notification during document loads
1999-02-04 16:28:16 +00:00
kipp%netscape.com
341045341e
Avoid crashing when no frame is found during attribute change notifications
1999-02-04 16:27:38 +00:00
vidur%netscape.com
e9f2ebbc9d
Implemented miscellaneous document properties
1999-02-04 02:58:02 +00:00
vidur%netscape.com
5484d93e60
Implemented nsHTMLDocument::SetBody
1999-02-04 02:16:11 +00:00
evaughan%netscape.com
66ca26c816
Added the XUL progress meter widget.
1999-02-04 01:34:15 +00:00
nisheeth%netscape.com
e459dc55f8
Added ReconstructFramesOnAttributeChange() to the HTML stylesheet
...
that gets called when a content object's attribute change requires
its frames to get recreated.
1999-02-04 00:53:08 +00:00
hyatt%netscape.com
fb5d816dea
Altered the tree structure so that the treerow tag is now obsolete.
1999-02-04 00:28:25 +00:00
hyatt%netscape.com
400b3d1ec0
Changed the tree frame construction code.
1999-02-04 00:28:05 +00:00
vidur%netscape.com
a130dcf90d
Added additional key argument to string parsing routine. Improved Reset handling for document to include style sets and frame construction. Modified root frame construction. Got out-of-line document.write to work
1999-02-03 19:38:16 +00:00
peterl%netscape.com
83a73a5c8e
improvements to parsing @import, HTML comments and identifiers
1999-02-03 02:59:51 +00:00
kipp%netscape.com
cf294777ee
Changed value of mozAnonymousBlock atom to match ua.css until a css working group issue is resolved
1999-02-02 17:31:36 +00:00
waterson%netscape.com
16c04c8ef0
Moved nsXULAtoms::AddrefAtoms() and ReleaseAtoms() to the style sheet's ctor and dtor, as per Peter Linss suggestion.
1999-02-02 05:39:57 +00:00
troy%netscape.com
80a740ee38
Implemented fixed position tables
1999-02-02 04:28:55 +00:00
peterl%netscape.com
9128fe68d0
fixed bug handling multiple namespace declarations in one tag
1999-02-02 03:24:56 +00:00
peterl%netscape.com
e0eef219d9
made visible an int instead of bool
1999-02-02 03:24:23 +00:00
peterl%netscape.com
630bf20269
removed default html namespace prefix
1999-02-02 03:23:36 +00:00
waterson%netscape.com
c5340bff6b
Force an nsXULAtoms::AddrefAtoms to ensure that the XUL atoms and namespace are created in the layout DLL before trying to refer to them. (a=hyatt%netscape.com)
1999-02-01 23:06:49 +00:00
kmcclusk%netscape.com
57de44ee8a
Moved GetPrimaryFrame to nsGenericHTMLElement.
...
Modifed nsHTMLTextAreaElement to go through it's frame to set and get values
1999-02-01 18:44:59 +00:00
troy%netscape.com
32db624fdc
Fixed it so scrollable BLOCK elements can be fixed positioned
1999-02-01 18:09:57 +00:00
kipp%netscape.com
7e7a257502
Fixed pseudo style atom value
1999-02-01 17:34:31 +00:00
rickg%netscape.com
17c905bfdc
mondo improvements to DTD
1999-02-01 04:24:37 +00:00
karnaze%netscape.com
b9d192770b
Made table frame construction flexible enough to allow arbitrary content to be mapped
...
to arbitrary table related display types.
1999-01-30 15:52:19 +00:00
peterl%netscape.com
30dda86828
fixed multi-link header delimiter (comma not semicolon)
...
fixed uninitialized blocking variable in header link code
fixed error return code for style sheet linking
1999-01-30 06:24:09 +00:00
peterl%netscape.com
15e78f0985
fixed namespace
1999-01-30 06:22:39 +00:00
peterl%netscape.com
a1bef0cc47
accept namespace none for attributes
1999-01-30 06:21:08 +00:00
peterl%netscape.com
c2da5f89db
made attribute accessors respect unknown namespace for getters (wildcard)
1999-01-30 06:20:39 +00:00
pollmann%netscape.com
d3346aaad9
Bug 2716, 2792, 1190, 1750: Wired up selected, defaultSelected, and selectedIndex.
1999-01-30 01:02:28 +00:00
pollmann%netscape.com
916de0e58b
Bug 2788: Crash on leaving page where js references named options.
1999-01-30 00:53:53 +00:00
pollmann%netscape.com
a6d9fd735e
Bug 2787: Crash on js accessing option index out of range.
1999-01-30 00:51:10 +00:00
pollmann%netscape.com
1842c0c950
Initializing res.
1999-01-30 00:41:41 +00:00
troy%netscape.com
fe54f4cd95
Removed an "extra" NS_RELEASE of "map" which was causing double-frees. Permission
...
from Sarah to check in while the tree's closed
1999-01-29 22:38:48 +00:00
akkana%netscape.com
00ab697624
Implement a new interface, nsIDOMSelection, intended to become the
...
external interface for selection (to be IDL-ified later).
Fix some editor bugs:
- Advance the cursor on text insert (so text is inserted in the right order)
- Make DeleteSelection in the editor call the actual selection
- Make DeleteSelection update the frames' notion of the selection
1999-01-29 18:57:56 +00:00
troy%netscape.com
38e40aa295
Fixed memory leak of MAP content object in OpenMap()
1999-01-29 06:13:55 +00:00
troy%netscape.com
1d68916383
Fixed memory leak of AREA content object in ProcessAREATag()
1999-01-29 05:37:45 +00:00
jfrancis%netscape.com
2c0164f877
fixed implementation of IsDone()
1999-01-28 23:55:53 +00:00
joki%netscape.com
76111374a3
Removing nsILinkHandler enum types from dependencies, fixing event handler bugs
1999-01-28 23:14:36 +00:00
kmcclusk%netscape.com
8140107c7f
Added return type to fix build bustage
1999-01-28 19:29:15 +00:00
kmcclusk%netscape.com
a28965e71e
Modified nsHTMLInputElement text fields to go through nsTextControlFrame
...
for SetValue and GetValue
1999-01-28 18:58:11 +00:00
kmcclusk%netscape.com
a35f0bc161
Added check for null nsFormControlFrame in GetChecked. This should fix the Mac
...
when viewing www.netscape.com
1999-01-28 00:36:43 +00:00
kmcclusk%netscape.com
bfb640475f
Replaced defaultchecked with checked
1999-01-27 19:19:07 +00:00
kostello%netscape.com
d5bd9da808
Fixed bug: dereferencing a null in nsMarkupDocument
...
Suppressed creation of STYLE leaf tag in the XIF encoding
until style sheet output is fixed.
1999-01-27 16:35:32 +00:00
hyatt%netscape.com
6344101989
Making events still possible within tree cells.
1999-01-27 12:42:37 +00:00
hyatt%netscape.com
970dd74845
Making events for arbitrary HTML still work in tree cells.
1999-01-27 12:42:21 +00:00
hyatt%netscape.com
148948810c
Fixed a bug wherein tree frames weren't being added to the flow.
1999-01-27 10:10:02 +00:00
hyatt%netscape.com
15a4267e53
@%!%@!
1999-01-27 07:30:24 +00:00
hyatt%netscape.com
c5d1931ce3
Getting rid of a conflict that I had.
1999-01-27 07:23:58 +00:00
hyatt%netscape.com
351a867c31
Tweaking XUL frame construction. Also adding in a temporary tweak to
...
keep a NOTYETIMPLEMENTED from firing when an attribute in XML is
changed. (Making it do a reflow rather than a reframe.)
1999-01-27 07:22:05 +00:00
troy%netscape.com
3dfe0f6e71
Added work-in-progress for 'fixed' positioning
1999-01-27 05:37:55 +00:00
rods%netscape.com
8936038315
Commented out the MACRO for for settting and getting the disabled attribute
...
I implemented them fully so I code set the "disabled" pseudo-class properly
1999-01-27 04:13:44 +00:00
troy%netscape.com
90936a12e0
Changed nsAbsoluteItems to be a derived class of nsFrameItems
1999-01-27 03:53:54 +00:00
troy%netscape.com
4c46e32cff
Added nsLayoutAtoms::fixedList for specifying the name of the additional
...
child list for 'fixed' elements
1999-01-27 03:48:39 +00:00
troy%netscape.com
d620a953d5
Hooked printing back up. It was a casuality of the viewport changes
1999-01-27 03:24:12 +00:00
kmcclusk%netscape.com
473fcd7c4c
Modified GetDefaultChecked and SetDefaultChecked to get and set the checked
...
attribute.
1999-01-27 01:35:30 +00:00
kmcclusk%netscape.com
208e63a001
Implemented GetChecked and SetChecked for nsHTMLInputElement by going through
...
the nsCheckboxControlFrame and nsRadioControlFrame.cpp
1999-01-27 00:51:46 +00:00
vidur%netscape.com
f04310ff94
First pass implementation of document.implementation
1999-01-27 00:12:33 +00:00
kmcclusk%netscape.com
7cf2849c9c
Added GetPrimaryFrame utility method.
1999-01-26 23:43:52 +00:00
troy%netscape.com
0dcf9ecb84
Fixed a problem in ConstructFrameByTag() where absolutely positioned elements
...
weren't handled properly
1999-01-26 06:00:30 +00:00
troy%netscape.com
3c1d7d5b17
Fixed some problem in ConstructFrameByDisplayType() where in now cases
...
(e.g. floaters and relatively positioned blocks) the newly constructed
frame wasn't getting added to aFrameItems
1999-01-26 05:46:04 +00:00
troy%netscape.com
35fe891e8b
Fixed a problem with placeholder frame's clearing the child list and
...
causing the previous frames to disappear
1999-01-26 05:05:19 +00:00
troy%netscape.com
745bdb8e74
Removed "tab" chars
1999-01-26 01:47:01 +00:00
troy%netscape.com
c72697fd30
Hooked up print-preview to work again
1999-01-26 01:39:08 +00:00
rickg%netscape.com
64c264fb78
made javascript happier
1999-01-26 01:25:37 +00:00
hyatt%netscape.com
5e91eb5b3f
Added support for tree indentation.
1999-01-26 01:12:51 +00:00
troy%netscape.com
b145640f92
Changed scrolling so it happens on the viewport instead of the HTML
...
element
1999-01-26 00:05:21 +00:00
mjudge%netscape.com
cf65195755
fixing build bustage for someone
1999-01-25 23:55:59 +00:00
hyatt%netscape.com
c7911a76ab
Tweaks to enable XUL frame construction to prevent the construction based on
...
display type.
1999-01-25 23:07:17 +00:00
vidur%netscape.com
d3c356d48b
Implemented nsIDOMElement::Normalize
1999-01-25 22:17:15 +00:00
hyatt%netscape.com
9d713b4c89
Altered the way frame construction works. ConstructFrame can now potentially
...
build up a list of sibling frame subtrees. This allows for the creation of
multiple frames from a single content node, and for easy merging of two different
lists of subtrees during frame construction.
1999-01-25 22:13:03 +00:00
ftang%netscape.com
8ca2c39a5b
change nsCharSetID into nsString type
1999-01-25 16:05:04 +00:00
peterl%netscape.com
fa98d48166
fixed a leak of an input stream
1999-01-23 19:28:09 +00:00
peterl%netscape.com
07334e4cdb
cleaned up style sheet ordering
1999-01-23 07:09:06 +00:00
peterl%netscape.com
31b951a961
allow reconstruct frames to work on all documents
1999-01-23 07:08:38 +00:00
peterl%netscape.com
b68bec432e
made media case insensitive (for now)
1999-01-23 07:08:11 +00:00
peterl%netscape.com
defe6c493b
added insert style sheet
1999-01-23 07:07:32 +00:00
peterl%netscape.com
8829251bb7
cleaned up style sheet ordering
...
support for selecting alternate style sheets
1999-01-23 07:07:09 +00:00
peterl%netscape.com
a14e787bd7
added meta tag http-equiv support
...
fixed selection of default style sheets
made style sheet loading not block parser
added support for several http headers
1999-01-23 07:05:49 +00:00
peterl%netscape.com
1d7b74a61b
only parse style attributes if doc style language is text/css
1999-01-23 07:04:28 +00:00
peterl%netscape.com
5ef96b9c11
added HTTP header atoms
1999-01-23 07:02:56 +00:00
peterl%netscape.com
ad00be4df7
fixed case of media atoms
1999-01-23 07:02:10 +00:00
peterl%netscape.com
a248deec36
set now manages order of doc style sheets
1999-01-23 07:01:57 +00:00
peterl%netscape.com
3ac2246665
added header data accessors
...
cleaned up style sheet ordering
1999-01-23 07:01:40 +00:00
peterl%netscape.com
ee50e2c8ff
added header data accesors
1999-01-23 07:00:10 +00:00
akkana%netscape.com
cfdcb911fb
remove some verbose debugging messages
1999-01-23 00:38:54 +00:00
vidur%netscape.com
606d0f0cf7
Implemented splitText for text nodes
1999-01-23 00:10:08 +00:00
vidur%netscape.com
6a4a691b03
Comments added to content model. Comments and text content now have a special tagname
1999-01-22 22:48:00 +00:00
harishd%netscape.com
8bc5b27559
StyleContext info. is passed on into PaintBorder()
1999-01-22 22:30:02 +00:00
kmcclusk%netscape.com
84e0b887ea
Removed code which set the defaultchecked from the checked attribute.
1999-01-22 22:14:58 +00:00
rods%netscape.com
02cdf013af
Factored out the Initialization code for the ScrollFrame into a separate method
...
Added code to hide and show view when applied to the whole tree
Added a method for Creating the proper frames for the SELECT tag
1999-01-22 15:27:54 +00:00
rods%netscape.com
4e627f719a
Added some additional attoms for the Combobox Frame Control
1999-01-22 15:25:12 +00:00
jfrancis%netscape.com
fc44c4c3c4
efficiency improvement to ComparePointToRange()
1999-01-22 08:59:26 +00:00
pinkerton%netscape.com
028c0f687d
hooking toolbars and toolbox back up. Sigh.
1999-01-22 04:04:12 +00:00
hyatt%netscape.com
09ce11d78f
Added support for tree frame instantiation.
1999-01-22 03:31:56 +00:00