Commit Graph

3090 Commits

Author SHA1 Message Date
joki%netscape.com
f85ed9ce71 Hooking up window element to event chain and adding in support for a few more event types. 1998-07-24 05:06:44 +00:00
vidur%netscape.com
8547dd423c nsHTMLDocument now holds on to its parser till loading is complete. Hooked up document.write and document.writeln 1998-07-23 22:06:05 +00:00
peterl%netscape.com
b14b73ba93 added font flags 1998-07-23 17:57:16 +00:00
joki%netscape.com
ce61da5597 More event stuff. Modified HandleDOMEvent, modified nsGUIEvent types, added mouseover, mouseout. 1998-07-23 02:55:33 +00:00
vidur%netscape.com
ec8c40eeed 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. 1998-07-22 23:32:19 +00:00
kipp%netscape.com
1476a300de Removed SetTitle 1998-07-19 01:14:21 +00:00
kipp%netscape.com
39f5530391 Port to new nsIWebShell and related API's 1998-07-18 21:47:56 +00:00
rods%netscape.com
85654e2b32 changed GetNextContent to pas back next leaf node content 1998-07-18 18:18:53 +00:00
kostello%netscape.com
e7dee8f2f4 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.
1998-07-17 23:00:54 +00:00
rpotts%netscape.com
589dcc48fe Split the Content viewer out of the WebWidget. The WebWidget is now a ContentViewer Container (supporting the nsIViewerContainer interface)... 1998-07-17 06:32:39 +00:00
peterl%netscape.com
d2bf561219 added fixed pitch font
added default color support
added content pointer
added style reset for table cells & captions
added linear links
1998-07-17 05:43:31 +00:00
kostello
213a328a93 Sync with new DOM interfaces 1998-07-14 23:30:44 +00:00
kostello
33fd5ef97a 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.
1998-07-14 22:34:27 +00:00
vidur
1900060e23 Moved over to a new version of Level 1. NodeIterators and AttributeLists out. NodeLists and NamedNodeMaps in. 1998-07-14 18:44:44 +00:00
rpotts
2d418707f3 Reworked Post data to avoid memory leaks... Removed nsIDocument::LoadURL(...). Added nsIDocument::StartDocumentLoad(...) as a callback method for the DocumentLoader... 1998-07-01 11:16:09 +00:00
peterl
b3f9eec797 fixed context dumping 1998-06-26 05:49:01 +00:00
vidur
3f8df8346d Hooked up SCRIPT tag evaluation. Added the nsIScriptContextOwner interface. 1998-06-25 22:26:52 +00:00
michaelp
ec4811f612 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.
1998-06-25 04:24:45 +00:00
karnaze
3074df2576 named <iframe>s, scrolling attribute, more complete test9.html 1998-06-23 22:25:28 +00:00
joki
e820a618d7 Event handling additions for DOM suport. Adding additional event pathway through HandleDOMEvent 1998-06-23 21:53:02 +00:00
vidur
b5f413930d 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. 1998-06-23 18:43:06 +00:00
troy
a89d59bb51 Changed AddObserver() to check if the observer is already in the list.
This worksaround a problem with the pres shell being added twice
1998-06-20 00:45:05 +00:00
buster
288d645ae3 Separated table content from table layout. This paves the way for XML/CSS-2 tables.
Lots and lots of optimizations.
1998-06-17 16:38:24 +00:00
buster
f1483bd22e more separation between table content and frames 1998-06-11 17:50:51 +00:00
joki
10ffd04c8c Adding new event handling mechanism into raptor. 1998-06-08 00:57:15 +00:00
kipp
a69369de69 Revised SizeOf methods to add in nsString's, nsIAtom's and nsVoidArray's properly 1998-06-05 21:50:57 +00:00
kipp
591b2ccd11 Sprinkled SizeOf methods around 1998-06-05 21:06:24 +00:00
peterl
cddb45ae76 changed GetData to GetStyleData and made its return const
added GetMutableStyleData and support for unique contexts
1998-06-05 06:01:55 +00:00
peterl
9c18b6fa69 added flag to get unique style context during resolve 1998-06-05 06:00:55 +00:00
kipp
1493956e90 IMplement factory in this class; AddRef during QueryInterface like it should; init refcnt in ctor 1998-06-03 15:47:22 +00:00
kipp
5aac2c535d Decleare BeginLoad/EndLoad 1998-06-03 15:45:36 +00:00
kipp
81d74eee6a Pass on Begin/End Load to observers; removed selection factory method 1998-06-03 15:45:25 +00:00
kipp
c9660cdcf8 COMized API; added Begin/End reflow and Begin/End Load methods 1998-06-03 15:40:56 +00:00
kipp
627dc37066 Added begin/end load methods 1998-06-03 15:39:45 +00:00
kipp
521349db05 COMized some of the API; added a notify flag to the child insert/replace/append/remove methods 1998-06-03 15:39:32 +00:00
kipp
db0df5f7c3 Revised LoadURL to take an nsIStreamListener; removed old document load hooks 1998-06-01 19:52:39 +00:00
kipp
3a6dc218b6 NS_IMETHOD'd some of the API's 1998-05-30 01:36:47 +00:00
kipp
cb30a1fea6 Added a new content method to see if a piece of content is synthetic or not 1998-05-29 02:09:38 +00:00
buster
aad54b07f6 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.
1998-05-28 21:39:22 +00:00
kipp
b4112aff11 Set value to 1.0F as a float 1998-05-28 19:55:15 +00:00
kipp
024ff28d3a Use default text alignment; setup opacity properly 1998-05-28 02:01:19 +00:00
karnaze
f1382417c0 post submission, file content submission 1998-05-27 17:51:41 +00:00
peterl
3ce1b73e85 use context graph for finding contexts 1998-05-26 23:14:56 +00:00
peterl
8dea0e7806 reworked up reset code
added child list
1998-05-26 23:14:09 +00:00
peterl
7168f94691 Changed GetStyleData to use an enum instead of an nsID 1998-05-21 02:34:13 +00:00
peterl
cf8839a911 collapse double empty contexts 1998-05-20 20:33:30 +00:00
peterl
fa54b78ed1 added rule count accessor 1998-05-20 20:32:57 +00:00
thom
aa407491f5 fixed compile errors for mac 1998-05-19 23:11:28 +00:00
thom
a2729a12bc Mac checkin 1998-05-18 22:47:24 +00:00
peterl
ee773f3472 added pseudo style support
added debug list of context graph
1998-05-18 21:05:52 +00:00
peterl
592d55c519 added debugging code 1998-05-18 21:04:26 +00:00
peterl
3a943ba17e added pseudo frame style support 1998-05-18 21:03:10 +00:00
peterl
7474aa1932 renamed getSupportsValue to getISupportsValue 1998-05-13 23:42:01 +00:00
peterl
a28652c5d3 connected spacing calculations to frame 1998-05-13 22:38:54 +00:00
kipp
186c393da1 Removed unused variable 1998-05-13 00:12:54 +00:00
peterl
0822939f9d merged nsStyleBorder & nsStyleSpacing
changed spacing data to use nsStyleSides
removed virtual methods
added nsStyleTable
1998-05-12 22:23:13 +00:00
kipp
2358c691b7 Fixed irix bustage 1998-05-08 21:12:12 +00:00
rods
e80f937688 added Selection methods to nsICodment, nsDocument, nsiSplittableFRame 1998-05-08 15:07:41 +00:00
troy
02e5832c88 Started adding ContentChanged() notifications 1998-05-06 16:28:55 +00:00
troy
9fe7339f4c Fixed my build bustage 1998-05-04 22:50:13 +00:00
troy
4789d6cab9 Implemented DOM document's createTextNode() function, and changed insertBefore()
handler to allow refChild to be null
1998-05-04 20:34:37 +00:00
troy
7d8404bbe3 Work in progress for incremental reflow (insert) 1998-05-04 17:54:45 +00:00
kipp
ee76c81742 Fixed default background repeat bug 1998-05-02 00:55:29 +00:00
peterl
1379c574d2 added new unit types, cleaned up api 1998-04-30 19:56:39 +00:00
peterl
adf806b888 removed include 1998-04-30 19:53:05 +00:00
peterl
bd7c900947 changed to nsStylePosition to use nsStyleCoord 1998-04-30 19:52:26 +00:00
rods
4ff8130ec4 added selection classes to makefiles and added the selection object and methods to nsDocument and nsIDocument 1998-04-30 18:21:59 +00:00
peterl
6df9c2fbe6 removed unneeded destructors
cleaned up some initial values
1998-04-29 21:06:15 +00:00
rods
90bc62a72a initial check in 1998-04-29 17:08:57 +00:00
peterl
7f0ab2c651 added nsStyleCoord 1998-04-28 23:54:06 +00:00
troy
beceaa1b53 Added mClip and mClipFlags to nsStylePosition 1998-04-28 03:21:18 +00:00
kipp
4d8d4f9951 Init nsStyleText values using new nsStyleValue 1998-04-27 21:21:42 +00:00
kipp
0e59c2de8c Removed hack 1998-04-27 15:39:58 +00:00
kipp
f94192041a Implement nsStyleText, nsStyleDisplay; added cursors; removed hack code 1998-04-25 18:33:32 +00:00
kipp
7c51e017b9 Cleaned up the API 1998-04-25 18:32:59 +00:00
troy
e6ae1b0bcb Added mOverflow to nsStylePosition 1998-04-25 04:07:18 +00:00
troy
800accf63a Added mZIndex to nsStylePosition. Absolutely positioned code now passed
it along to view system
1998-04-24 18:34:31 +00:00
buster
742a6deb6f added style for HTML 4 table elements and TH 1998-04-23 17:19:21 +00:00
troy
2c0ca536fc More CSS position work 1998-04-23 15:39:48 +00:00
troy
55632fc7af Added nsStylePosition 1998-04-22 23:29:01 +00:00
troy
fdf2b8c3d4 HackStyleFor no longer sets positionFlags 1998-04-22 16:07:27 +00:00
peterl
83bb132b05 WIP moving border, margin & padding out of nsStyleMolecule 1998-04-22 06:33:35 +00:00
peterl
365c3a7d93 added spacing and border structs 1998-04-21 00:02:44 +00:00
buster
073e82f152 table performance and minor bug fixes. 1998-04-20 22:49:15 +00:00
troy
fddbbebe51 Commented out the hack that explicitly set the P top margin since that's
now handled using CSS
1998-04-19 05:06:41 +00:00
troy
3ce8e88882 Changed nsIFrame member functions to return a nsresult 1998-04-17 01:41:24 +00:00
peterl
066232b1c2 added a style hack to get P align attributes to work again 1998-04-16 22:21:45 +00:00
peterl
74502df8bb fix leaks 1998-04-16 21:51:16 +00:00
dario
21730dc654 doc 1998-04-15 18:55:21 +00:00
kipp
098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00