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

265 Коммитов

Автор SHA1 Сообщение Дата
vidur ef2bd5eb2a 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
kipp f6a71595aa Stop using GetText for node tag names whenever possible 1998-07-14 01:57:51 +00:00
kipp 3773621cca Added code to move content in bad spots in tables out 1998-07-12 00:18:26 +00:00
rpotts ca4a702aa6 Fixed up CVS merge problem that was horking reference counts... 1998-07-11 08:07:17 +00:00
kipp 329d9232e9 Improved tracing somewhat; fixed map handling; removed some dead code 1998-07-11 03:51:50 +00:00
rickg 665f63b9f3 dynamic DTD support 1998-07-10 05:35:23 +00:00
kipp c567f52925 Added debug code that syncs up the display when running slow so that incremental loading reflow can be visible 1998-07-09 17:08:40 +00:00
kipp 01ecca0c0c Worked around a startup problem that caused body's attributes and style context to be prematurely mapped before the attributes were read in or the ua.css was read in 1998-07-08 23:15:32 +00:00
jevering 6041a1925c Fixing optimized build. 1998-07-07 22:20:00 +00:00
kipp a8907efbbc Create head & body object during init phase to avoid having the root content frame code have to renumber it's child frames when the head section shows up) 1998-07-06 22:15:55 +00:00
kipp 656913c53f Use NS_CreateHTMLElement to implement dom create-element method 1998-07-03 17:50:25 +00:00
rickg c7c8f485ed major improvements to parser API's; fixed a few bugs 1998-07-02 08:14:22 +00:00
rpotts 1afdd4f963 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
kipp 0f3bc0bc43 Revised logging code to work with nspr properly; updated to support incremental content appended reflow 1998-06-30 23:51:53 +00:00
kipp 30f8f69d23 Avoid crashing when no link handler is involved 1998-06-30 20:22:27 +00:00
kipp 0fb4c0d0ce Take text content and join it together so reduce the size of the content model 1998-06-27 22:57:52 +00:00
atotic 1669148b76 Fixed the Mac build 1998-06-26 23:55:11 +00:00
kipp b9e2811c6a 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 6661115e62 new files 1998-06-26 16:11:26 +00:00
kipp 396b89b7f9 Added content directory and moved some code 1998-06-26 15:08:55 +00:00
kipp 163249f258 Eliminated IRIX compiler warnings (and a bug) 1998-06-26 15:07:09 +00:00
peterl ba118571c6 added ! important support 1998-06-26 05:51:55 +00:00
peterl ec0fee2a9a fixed equal weight rule ordering 1998-06-26 05:50:10 +00:00
peterl cb4e3b72c0 fixed context dumping 1998-06-26 05:49:01 +00:00
vidur ebd644e8a3 Hooked up SCRIPT tag evaluation. Added the nsIScriptContextOwner interface. 1998-06-25 22:26:52 +00:00
kipp 4b8864ebbc New and improved (?) line layout 1998-06-25 16:33:10 +00:00
kipp 51abae9138 Init refcnt so that it behaves properly 1998-06-25 14:51:48 +00:00
michaelp e183f05efb 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 ea5cd1554d named <iframe>s, scrolling attribute, more complete test9.html 1998-06-23 22:25:28 +00:00
joki ad7c15864e Event handling additions for DOM suport. Adding additional event pathway through HandleDOMEvent 1998-06-23 21:53:02 +00:00
vidur f2cccbb1e0 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 7c82c6b547 added support for doc quality 1998-06-23 01:34:25 +00:00
rickg f6ad11fa02 added a new secret argument to Parse() 1998-06-23 00:52:21 +00:00
troy b2931186a4 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 0b9c578eb7 more bug fixes; changed nsHTMLParser to nsParser. 1998-06-19 01:00:27 +00:00
rickg b2f62ff8a2 huge refactoring effort; transient style support; tables fixes, and more 1998-06-17 23:13:28 +00:00
buster 3f9f422457 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 1a848918c0 First Checked In. 1998-06-16 22:55:47 +00:00
karnaze f2d01e4d6f more <iframe> support 1998-06-16 21:32:54 +00:00
kipp 0030a5b770 Revised keyword tables 1998-06-15 20:40:27 +00:00
troy 6617da99b2 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 3a0505d67b more separation between table content and frames 1998-06-11 17:50:51 +00:00
karnaze 6800f5f5d8 initial support for <iframe> 1998-06-11 16:46:33 +00:00
buster ed47ffbd62 most HTML 4 attributes supported (though some are still ignored)
lots of methods made inline
1998-06-08 19:57:04 +00:00
buster 0f3aab57c0 more attributes: cell nowrap, caption align, some misc HTML 4 attributes too 1998-06-08 15:47:03 +00:00
joki 5e67bc2f91 Removing no longer used file from Makefiles 1998-06-08 02:03:31 +00:00
joki 7aad810a2f Adding new event handling mechanism into raptor. 1998-06-08 00:57:15 +00:00
joki b3d796cf86 Adding parts of dom event flow to layout. 1998-06-07 07:55:55 +00:00
joki f316f35cc8 Adding parts of dom event flow into layout. 1998-06-07 07:54:32 +00:00
kipp 6330f10bbe Made option code more robust 1998-06-06 20:25:11 +00:00
kipp c76c309fef Revised SizeOf methods to add in nsString's, nsIAtom's and nsVoidArray's properly 1998-06-05 21:50:57 +00:00
kipp 71d12dae58 Sprinkled SizeOf methods around 1998-06-05 21:06:24 +00:00
peterl 71d5fd1025 sync up to new style data apis 1998-06-05 06:09:09 +00:00
peterl 1e36945bf8 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 338da2eab9 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 b1030af38c added flag to get unique style context during resolve 1998-06-05 06:00:55 +00:00
kipp 73f4a27382 Create head part and insert it into the model 1998-06-04 21:33:44 +00:00
kipp e9039ce54f Use revised GetDocument API from content 1998-06-03 16:00:40 +00:00
kipp 26910a6705 Print out percentage values properly 1998-06-03 16:00:15 +00:00
kipp 4c3de0fa0a Fixed IID reference and added a reminder comment 1998-06-03 15:59:09 +00:00
kipp 5c085a6c3d 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 a34b1a43fd IMplement factory in this class; AddRef during QueryInterface like it should; init refcnt in ctor 1998-06-03 15:47:22 +00:00
kipp 3fcf1b3528 Decleare BeginLoad/EndLoad 1998-06-03 15:45:36 +00:00
kipp f95eb5858b Pass on Begin/End Load to observers; removed selection factory method 1998-06-03 15:45:25 +00:00
kipp 58cd7dcd58 COMized API; added Begin/End reflow and Begin/End Load methods 1998-06-03 15:40:56 +00:00
kipp 275f86179b Added begin/end load methods 1998-06-03 15:39:45 +00:00
kipp 873e9140cf 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 ec65b1cd5d Updated LoadURL API to take an nsIStreamListener 1998-06-01 19:53:27 +00:00
kipp 4bc2a2d2a2 Updated LoadURL API to take an nsIStreamListener; pass on listener to parser 1998-06-01 19:53:19 +00:00
kipp 3e64fcee88 Revised LoadURL to take an nsIStreamListener; removed old document load hooks 1998-06-01 19:52:39 +00:00
troy 6d244dcc50 Added a comment to GetStyleDimension indicating that computed percentage
values are being handled incorrectly
1998-05-31 04:45:21 +00:00
kipp b17d369aaa Revised API so that correct percentage width/height could be computed 1998-05-30 21:22:17 +00:00
kipp f9f814bcd1 NS_IMETHOD'd some of the API's 1998-05-30 01:36:47 +00:00
kipp 865bd3915c updated 1998-05-30 01:32:10 +00:00
kipp 9c82072a3a 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 c3e2859006 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 8655e732f4 Use mOpacity as a float in the nsStyleColor struct 1998-05-28 19:55:42 +00:00
kipp 2628fb4bbb Set value to 1.0F as a float 1998-05-28 19:55:15 +00:00
kipp c9ea9ff9f5 Port to new parser API 1998-05-28 18:40:23 +00:00
kipp 2dcaa2827c 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 b665a9ad54 Revised API to be com-ish and added ParseDeclarations 1998-05-28 18:39:08 +00:00
kipp 3fb5c8ed07 Fixed infinite loop in GetStyleSize code 1998-05-28 17:06:43 +00:00
kipp 8f988b8282 Added style support for the new css opacity property 1998-05-28 02:02:43 +00:00
kipp 4ddfb90b4c Revised HorizontallyPlaceChildren API to support a default alignment based on the layout direction 1998-05-28 02:02:22 +00:00
kipp 399374728a Use default text alignment; setup opacity properly 1998-05-28 02:01:19 +00:00
kipp b268fad129 Added a new property 1998-05-28 01:11:30 +00:00
kipp 937fd8363b Parse (and ignore) important declarations 1998-05-27 23:38:16 +00:00
kipp 18f6c1ef3a Only perform horizontal alignment when there is room to do it 1998-05-27 21:04:33 +00:00
karnaze a73bfbfe46 post submission, file content submission 1998-05-27 17:51:41 +00:00
peterl 22f5019124 moved attributes around 1998-05-26 23:16:55 +00:00
peterl 742eb2d745 use context graph for finding contexts 1998-05-26 23:14:56 +00:00
peterl 3215b236c4 reworked up reset code
added child list
1998-05-26 23:14:09 +00:00
kipp 849b13f63b Use new GetVisibleArea API 1998-05-22 18:38:33 +00:00
jevering 06e8be5b52 Fixed about: URL's from crashing the viewer. 1998-05-22 18:10:08 +00:00
rickg 81938c0115 moved to new incremental API 1998-05-21 20:37:41 +00:00
peterl 5a96d99f60 Changed GetStyleData to use an enum instead of an nsID 1998-05-21 02:34:13 +00:00
peterl cb3b43ce42 made it build on irix 1998-05-20 21:28:36 +00:00
peterl 4aaff46277 added rule hash table to speed up style resolution 1998-05-20 20:34:17 +00:00
peterl 75034db5c9 collapse double empty contexts 1998-05-20 20:33:30 +00:00
peterl addc527eb6 added rule count accessor 1998-05-20 20:32:57 +00:00