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

248 Коммитов

Автор SHA1 Сообщение Дата
kipp 5c09f13bd0 Make a title object that's a child of the head when we get a title 1998-06-26 16:12:51 +00:00
kipp b2066141e4 new files 1998-06-26 16:11:26 +00:00
kipp 4e73a0df94 Added content directory and moved some code 1998-06-26 15:08:55 +00:00
kipp b00f7215a5 Eliminated IRIX compiler warnings (and a bug) 1998-06-26 15:07:09 +00:00
peterl 5e48108666 added ! important support 1998-06-26 05:51:55 +00:00
peterl d1e43f5eac fixed equal weight rule ordering 1998-06-26 05:50:10 +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
kipp 1a446c2e3f New and improved (?) line layout 1998-06-25 16:33:10 +00:00
kipp 73ee06bfb8 Init refcnt so that it behaves properly 1998-06-25 14:51:48 +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
rickg 4b202376f1 added support for doc quality 1998-06-23 01:34:25 +00:00
rickg 68c01dae1a added a new secret argument to Parse() 1998-06-23 00:52:21 +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
rickg 60ebe042b1 more bug fixes; changed nsHTMLParser to nsParser. 1998-06-19 01:00:27 +00:00
rickg 9150405dab huge refactoring effort; transient style support; tables fixes, and more 1998-06-17 23:13:28 +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
atotic 12a0dd0ae6 First Checked In. 1998-06-16 22:55:47 +00:00
karnaze b9a228a2b2 more <iframe> support 1998-06-16 21:32:54 +00:00
kipp 7af507cf8e Revised keyword tables 1998-06-15 20:40:27 +00:00
troy 8dbcb4c135 Changed some GetStyleContext/GetStyleData calls to use nsIFrame::GetStyleData
instead. This saves the AddRef/Release overhead
1998-06-14 05:23:59 +00:00
buster f1483bd22e more separation between table content and frames 1998-06-11 17:50:51 +00:00
karnaze 0ccd357a8f initial support for <iframe> 1998-06-11 16:46:33 +00:00
buster 469b205bb3 most HTML 4 attributes supported (though some are still ignored)
lots of methods made inline
1998-06-08 19:57:04 +00:00
buster 0197ad9b72 more attributes: cell nowrap, caption align, some misc HTML 4 attributes too 1998-06-08 15:47:03 +00:00
joki 7b0ded07ec Removing no longer used file from Makefiles 1998-06-08 02:03:31 +00:00
joki 10ffd04c8c Adding new event handling mechanism into raptor. 1998-06-08 00:57:15 +00:00
joki 696b13b907 Adding parts of dom event flow to layout. 1998-06-07 07:55:55 +00:00
joki 410e199107 Adding parts of dom event flow into layout. 1998-06-07 07:54:32 +00:00
kipp 92cfe5b226 Made option code more robust 1998-06-06 20:25:11 +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 91c5893512 sync up to new style data apis 1998-06-05 06:09:09 +00:00
peterl 119198c615 now track rules by insertion order as well as weighted order
added accessor to rules for save code
1998-06-05 06:06:50 +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 80db5ff5ad Create head part and insert it into the model 1998-06-04 21:33:44 +00:00
kipp b7847a124d Use revised GetDocument API from content 1998-06-03 16:00:40 +00:00
kipp 07e45af91f Print out percentage values properly 1998-06-03 16:00:15 +00:00
kipp 5123a3c60b Fixed IID reference and added a reminder comment 1998-06-03 15:59:09 +00:00
kipp 1a461d9ed1 Use revised Presentation shell API; control notifications directly; propogate end of document load to document so that observers can be notified 1998-06-03 15:58:52 +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 a244a4fe53 Updated LoadURL API to take an nsIStreamListener 1998-06-01 19:53:27 +00:00
kipp b328c87dfc Updated LoadURL API to take an nsIStreamListener; pass on listener to parser 1998-06-01 19:53:19 +00:00
kipp db0df5f7c3 Revised LoadURL to take an nsIStreamListener; removed old document load hooks 1998-06-01 19:52:39 +00:00
troy 35e6293e4b Added a comment to GetStyleDimension indicating that computed percentage
values are being handled incorrectly
1998-05-31 04:45:21 +00:00
kipp 669da95542 Revised API so that correct percentage width/height could be computed 1998-05-30 21:22:17 +00:00
kipp 3a6dc218b6 NS_IMETHOD'd some of the API's 1998-05-30 01:36:47 +00:00
kipp d25f654f17 updated 1998-05-30 01:32:10 +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 3b43bc8d84 Use mOpacity as a float in the nsStyleColor struct 1998-05-28 19:55:42 +00:00
kipp b4112aff11 Set value to 1.0F as a float 1998-05-28 19:55:15 +00:00
kipp 203aea26bd Port to new parser API 1998-05-28 18:40:23 +00:00
kipp b20743e28a Revised API to be com-ish and added ParseDeclarations; implement ParseDeclartions using basic declaration handling routines 1998-05-28 18:39:42 +00:00
kipp d9e2ce27b1 Revised API to be com-ish and added ParseDeclarations 1998-05-28 18:39:08 +00:00
kipp 74805620cf Fixed infinite loop in GetStyleSize code 1998-05-28 17:06:43 +00:00
kipp 72d77edcbb Added style support for the new css opacity property 1998-05-28 02:02:43 +00:00
kipp f8872f1a9f Revised HorizontallyPlaceChildren API to support a default alignment based on the layout direction 1998-05-28 02:02:22 +00:00
kipp 024ff28d3a Use default text alignment; setup opacity properly 1998-05-28 02:01:19 +00:00
kipp 6de497e240 Added a new property 1998-05-28 01:11:30 +00:00
kipp 9be967661a Parse (and ignore) important declarations 1998-05-27 23:38:16 +00:00
kipp a4ac37270f Only perform horizontal alignment when there is room to do it 1998-05-27 21:04:33 +00:00
karnaze f1382417c0 post submission, file content submission 1998-05-27 17:51:41 +00:00
peterl 3fd983bcd3 moved attributes around 1998-05-26 23:16:55 +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
kipp 3505e0b3cc Use new GetVisibleArea API 1998-05-22 18:38:33 +00:00
jevering 8be66e8b53 Fixed about: URL's from crashing the viewer. 1998-05-22 18:10:08 +00:00
rickg c13fe13cdd moved to new incremental API 1998-05-21 20:37:41 +00:00
peterl 7168f94691 Changed GetStyleData to use an enum instead of an nsID 1998-05-21 02:34:13 +00:00
peterl 745e32a18d made it build on irix 1998-05-20 21:28:36 +00:00
peterl c33cdeff7c added rule hash table to speed up style resolution 1998-05-20 20:34:17 +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
karnaze 57a66855f7 temp hack to test post submission 1998-05-20 00:10:42 +00:00
thom aa407491f5 fixed compile errors for mac 1998-05-19 23:11:28 +00:00
peterl 194cc28a2d added pseudo-class rule matching 1998-05-19 00:09:29 +00:00
peterl f589d457b0 added pseudo-class atoms 1998-05-19 00:08:16 +00:00
thom a2729a12bc Mac checkin 1998-05-18 22:47:24 +00:00
peterl 47db0f2192 added pseudo frame support 1998-05-18 21:11:08 +00:00
peterl 0528c87a0a cleaned up list output 1998-05-18 21:10:44 +00:00
peterl e8e82334f0 pseudo frame support 1998-05-18 21:10:19 +00:00
peterl 0018dab23e correct case of selectors
skip empty selectors
better pseudo-class support
1998-05-18 21:09:43 +00:00
peterl 93ce222761 added pseudo element support 1998-05-18 21:07:54 +00:00
peterl 5119956475 fixed memory leak
fixed uninitialized memory read
1998-05-18 21:07:24 +00:00
peterl c440da74c3 added pseudo style support 1998-05-18 21:06:33 +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
karnaze 8939828111 initial support for <input type=file>, combo box use of widget init data for sizing 1998-05-18 16:39:42 +00:00
kipp f8feba0fad Removed some useless code 1998-05-14 00:49:11 +00:00