134 Commits

Author SHA1 Message Date
joki%netscape.com
ddaa767e02 Filling out document event handlers, adding form events
git-svn-id: svn://10.0.0.236/trunk@6985 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:09:51 +00:00
joki%netscape.com
098159977e Adding support for event handlers in html tags and moving event handler IIDs to central file.
git-svn-id: svn://10.0.0.236/trunk@6962 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 18:21:37 +00:00
kipp%netscape.com
101913b9b5 Remove most compiler warnings on IRIX
git-svn-id: svn://10.0.0.236/trunk@6756 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:19:08 +00:00
kostello%netscape.com
167baa01ed Added support for toggling selection on/off in a document.
Added more support methods for selection, made parameters const
where possible.
Changed XIF interfaces


git-svn-id: svn://10.0.0.236/trunk@6541 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:05:35 +00:00
joki%netscape.com
30a68f1ef5 Fix for missing add/release ref pair in the GetScriptGlobalObject call
git-svn-id: svn://10.0.0.236/trunk@6475 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:53:15 +00:00
vidur%netscape.com
640de09889 Added document.cookie. HTMLCollection.namedItem looks for both NAME and ID attributes
git-svn-id: svn://10.0.0.236/trunk@6458 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 00:31:52 +00:00
joki%netscape.com
fb49c0d645 Hooking up window element to event chain and adding in support for a few more event types.
git-svn-id: svn://10.0.0.236/trunk@6376 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:06:44 +00:00
vidur%netscape.com
73ae93f3a5 nsHTMLDocument now holds on to its parser till loading is complete. Hooked up document.write and document.writeln
git-svn-id: svn://10.0.0.236/trunk@6324 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:06:05 +00:00
peterl%netscape.com
cbaf7c38af added font flags
git-svn-id: svn://10.0.0.236/trunk@6261 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:57:16 +00:00
joki%netscape.com
5352fa5b8e More event stuff. Modified HandleDOMEvent, modified nsGUIEvent types, added mouseover, mouseout.
git-svn-id: svn://10.0.0.236/trunk@6219 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 02:55:33 +00:00
vidur%netscape.com
5c9e91ae0c Introduced nsContentLists. Added a DocumentWillBeDestroyed method to nsIDocumentObserver. Added a document parameter to all DocumentObserver notifications. Added the nsIDOMHTMLDocument interface to HTMLDocument. Implemented document.images, etc and getElementsByTagName.
git-svn-id: svn://10.0.0.236/trunk@6201 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:32:19 +00:00
rods%netscape.com
b43d68f5f5 changed GetNextContent to pas back next leaf node content
git-svn-id: svn://10.0.0.236/trunk@5892 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 18:18:53 +00:00
kostello%netscape.com
8a1b7e11ba 1) Move the CSS dependent methods out of nsDocument and placed them
in a new class nsMarkupDocument. The point of nsMarkupDocument is
to hold methods which are common to HTML and XML but not relevant
to the base nsDocument class.

2) Added Selection support methods for Rod.

3) Added LookupProperty to nsCSSProperty:
Given a property ID and Property Index returns back the string representation
of the property. This was need to convert CSSValues back to strings for saving.
TODO: Make sure that our URL Information stored in a CSSDeclaration contains
enough information to return it to it's original form on output.


git-svn-id: svn://10.0.0.236/trunk@5855 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 23:00:54 +00:00
peterl%netscape.com
d6c861205a added fixed pitch font
added default color support
added content pointer
added style reset for table cells & captions
added linear links


git-svn-id: svn://10.0.0.236/trunk@5796 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 05:43:31 +00:00
kostello
dd53fc97c8 Sync with new DOM interfaces
git-svn-id: svn://10.0.0.236/trunk@5536 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 23:30:44 +00:00
kostello
99d792b211 Added XIF (XML Interchange Format) Support. XIF is designed
as an Netscape internal XML application. It is designed to
allow conversion from our content model to any output format --
most importantly to HTML 3.2 and HTML4.0 format.


git-svn-id: svn://10.0.0.236/trunk@5521 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:34:27 +00:00
vidur
1b41003b82 Moved over to a new version of Level 1. NodeIterators and AttributeLists out. NodeLists and NamedNodeMaps in.
git-svn-id: svn://10.0.0.236/trunk@5501 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 18:44:44 +00:00
rpotts
765a97fd10 Reworked Post data to avoid memory leaks... Removed nsIDocument::LoadURL(...). Added nsIDocument::StartDocumentLoad(...) as a callback method for the DocumentLoader...
git-svn-id: svn://10.0.0.236/trunk@4791 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:16:09 +00:00
peterl
75f693e437 fixed context dumping
git-svn-id: svn://10.0.0.236/trunk@4557 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 05:49:01 +00:00
vidur
dc5b85be54 Hooked up SCRIPT tag evaluation. Added the nsIScriptContextOwner interface.
git-svn-id: svn://10.0.0.236/trunk@4539 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 22:26:52 +00:00
michaelp
c0d17b54f9 added init() method to prescontext.
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.


git-svn-id: svn://10.0.0.236/trunk@4472 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 04:24:45 +00:00
joki
4520e7ae2d Event handling additions for DOM suport. Adding additional event pathway through HandleDOMEvent
git-svn-id: svn://10.0.0.236/trunk@4326 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:53:02 +00:00
vidur
140a853e4f Added autogeneration of XPCOM headers and JavaScript stub classes. Added better masking of JS-specific structures in generic interfaces. Creation of a scripting global object interface.
git-svn-id: svn://10.0.0.236/trunk@4313 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:43:06 +00:00
troy
4b7e8b60ba Changed AddObserver() to check if the observer is already in the list.
This worksaround a problem with the pres shell being added twice


git-svn-id: svn://10.0.0.236/trunk@4189 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 00:45:05 +00:00
buster
dc23f3a90e Separated table content from table layout. This paves the way for XML/CSS-2 tables.
Lots and lots of optimizations.


git-svn-id: svn://10.0.0.236/trunk@3982 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 16:38:24 +00:00
buster
40b11809ed more separation between table content and frames
git-svn-id: svn://10.0.0.236/trunk@3660 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 17:50:51 +00:00
joki
d6a1da45ce Adding new event handling mechanism into raptor.
git-svn-id: svn://10.0.0.236/trunk@3468 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 00:57:15 +00:00
kipp
1bda2cfaf6 Revised SizeOf methods to add in nsString's, nsIAtom's and nsVoidArray's properly
git-svn-id: svn://10.0.0.236/trunk@3382 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:50:57 +00:00
peterl
82a3e00141 changed GetData to GetStyleData and made its return const
added GetMutableStyleData and support for unique contexts


git-svn-id: svn://10.0.0.236/trunk@3319 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 06:01:55 +00:00
peterl
c65120081c added flag to get unique style context during resolve
git-svn-id: svn://10.0.0.236/trunk@3318 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 06:00:55 +00:00
kipp
284512c2d1 IMplement factory in this class; AddRef during QueryInterface like it should; init refcnt in ctor
git-svn-id: svn://10.0.0.236/trunk@3041 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:47:22 +00:00
kipp
14bf58f141 Decleare BeginLoad/EndLoad
git-svn-id: svn://10.0.0.236/trunk@3037 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:45:36 +00:00
kipp
7fe1da5fe0 Pass on Begin/End Load to observers; removed selection factory method
git-svn-id: svn://10.0.0.236/trunk@3036 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:45:25 +00:00
kipp
4c50963f60 Revised LoadURL to take an nsIStreamListener; removed old document load hooks
git-svn-id: svn://10.0.0.236/trunk@2825 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:52:39 +00:00
kipp
47927e90c0 NS_IMETHOD'd some of the API's
git-svn-id: svn://10.0.0.236/trunk@2710 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 01:36:47 +00:00
buster
d3a587c5ca set the groundwork for handling COLS attribute, and attributes on COLGROUP and COL tags. WIP.
set the groundwork for handling percentage-width tables.  Troy is adding a hook for me to get the correct width info from the parent.  WIP.


git-svn-id: svn://10.0.0.236/trunk@2570 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 21:39:22 +00:00
kipp
afcc812131 Set value to 1.0F as a float
git-svn-id: svn://10.0.0.236/trunk@2553 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:55:15 +00:00
kipp
a1e84139ce Use default text alignment; setup opacity properly
git-svn-id: svn://10.0.0.236/trunk@2464 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 02:01:19 +00:00
karnaze
ca8a2b30ce post submission, file content submission
git-svn-id: svn://10.0.0.236/trunk@2355 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 17:51:41 +00:00
peterl
ef76e4aa4a use context graph for finding contexts
git-svn-id: svn://10.0.0.236/trunk@2303 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:14:56 +00:00
peterl
f264deae62 reworked up reset code
added child list


git-svn-id: svn://10.0.0.236/trunk@2301 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:14:09 +00:00
peterl
25861753fc Changed GetStyleData to use an enum instead of an nsID
git-svn-id: svn://10.0.0.236/trunk@2090 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-21 02:34:13 +00:00
peterl
c31cedc223 collapse double empty contexts
git-svn-id: svn://10.0.0.236/trunk@2046 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 20:33:30 +00:00
peterl
c7440bcf59 added rule count accessor
git-svn-id: svn://10.0.0.236/trunk@2045 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-20 20:32:57 +00:00
thom
38a3d3a5fc fixed compile errors for mac
git-svn-id: svn://10.0.0.236/trunk@1984 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-19 23:11:28 +00:00
peterl
bae746d31c added pseudo style support
added debug list of context graph


git-svn-id: svn://10.0.0.236/trunk@1842 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 21:05:52 +00:00
peterl
98569af3d2 added debugging code
git-svn-id: svn://10.0.0.236/trunk@1841 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-18 21:04:26 +00:00
peterl
27702b7e88 renamed getSupportsValue to getISupportsValue
git-svn-id: svn://10.0.0.236/trunk@1572 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 23:42:01 +00:00
peterl
6ed543f432 connected spacing calculations to frame
git-svn-id: svn://10.0.0.236/trunk@1564 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 22:38:54 +00:00
kipp
40fbd986a8 Removed unused variable
git-svn-id: svn://10.0.0.236/trunk@1501 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 00:12:54 +00:00