Commit Graph

848 Commits

Author SHA1 Message Date
kipp
cc4cdf6b7e Use revised inline reflow status; fixed bug in pre-return status to indicate when continuations are needed after line breaks 1998-06-27 22:57:26 +00:00
kipp
f0202fa3dd Use revised inline reflow status 1998-06-27 22:56:59 +00:00
kipp
85a6b3667b Revised nsInlineReflowStatus to (a) use nsReflowStatus directly and to (b) seperate out completion and break status as orthogonal status 1998-06-27 22:56:09 +00:00
kipp
925e12fa74 Added NS_IS_REFLOW_ERROR; updated reflow status comment to indicate which bits are reserved by nsIFrame API's 1998-06-27 22:54:58 +00:00
atotic
1437970bf6 That for (int i)... problem fix 1998-06-27 02:49:36 +00:00
atotic
12f2a33570 Another class reference inside class declaration problem class A { void A:method }; is bad 1998-06-27 02:48:39 +00:00
atotic
afb360e8c5 Fixed mac warnings 1998-06-27 02:47:44 +00:00
atotic
868db37b2d Added/removed some files 1998-06-27 02:47:08 +00:00
atotic
7535197e5b Fixed the Mac build 1998-06-26 23:55:11 +00:00
buster
471f5b46a8 support for Nav4 compatibility -- auto-width cells with 0-width content are 1 pixel wide 1998-06-26 23:31:33 +00:00
troy
09eaa8f230 Changed absolutely positioned elements to have the body as their
geometric parent
1998-06-26 18:49:30 +00:00
kipp
b04bd31883 Removed PutCachedData(etc) API from nsIPresShell 1998-06-26 16:26:24 +00:00
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
c33d44d4ed Added NS_NewHTMLComment and NS_NewHTMLTitle 1998-06-26 16:12:22 +00:00
kipp
6eb5fb1cd9 new 1998-06-26 16:11:41 +00:00
kipp
b2066141e4 new files 1998-06-26 16:11:26 +00:00
kipp
790937f2af Updated for irix 1998-06-26 15:31:45 +00:00
kipp
794a360e5c Removed stale reference to nsHTMLMeta 1998-06-26 15:15:58 +00:00
kipp
1dcd2fab16 Link new content library in 1998-06-26 15:12:06 +00:00
kipp
0352d421ad Removed obsolete justify-reflow method 1998-06-26 15:11:53 +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
buster
d7cca42032 fixed some nested table bugs and made some minor adjustments to Kipp's new line layout code. 1998-06-26 00:48:44 +00:00
kipp
52519ae680 Removed gratuitous if's 1998-06-26 00:31:44 +00:00
kipp
fbacb4a2d2 Bug fix for loading www.espn.com; the reflow-command wasn't getting passed down appropriately when the image size update occured. 1998-06-25 23:35:53 +00:00
kipp
517c85766e Added code to giving floating children a width to reflow into when they don't specify one themselves 1998-06-25 23:09:04 +00:00
vidur
3f8df8346d Hooked up SCRIPT tag evaluation. Added the nsIScriptContextOwner interface. 1998-06-25 22:26:52 +00:00
kipp
689607ad40 Fixed images/form-elements in tables being incorrectly positioned by preventing nested body's from pre-maturely DidReflowing their children 1998-06-25 22:26:35 +00:00
kipp
4d3b8a3643 Change ParseColor to be more compatible with navigator 1998-06-25 21:37:07 +00:00
kipp
91faf6c911 Support text attribute in body tags 1998-06-25 21:36:51 +00:00
kipp
f5fcce25a1 Use different (implicit copy) constructor to get proper reason passed through for better handling of incremental reflow 1998-06-25 21:11:12 +00:00
kipp
ac35bf05fb Better handling of incremental reflow commands that pass through the block/inlines; it also makes sure that the incremental reflow happens only once, even if the frame is reflowed more than once. 1998-06-25 20:51:04 +00:00
kipp
522095421c Rework the way that bullets are detected; this fixes up the http://client/nova page 1998-06-25 19:02:15 +00:00
kipp
c22118eca3 Link html .so properly 1998-06-25 18:38:59 +00:00
kipp
f961aac6ed Fixed library name 1998-06-25 18:38:40 +00:00
kipp
132f959cd8 Work around infinite-width bug by not passing down an infinite width to a block child of a block 1998-06-25 17:26:40 +00:00
kipp
e23973dc33 Fixed irix build bustage 1998-06-25 17:23:32 +00:00
kipp
803595c993 Fixed unix makefile 1998-06-25 16:58:59 +00:00
kipp
1a446c2e3f New and improved (?) line layout 1998-06-25 16:33:10 +00:00
kipp
fc85edd770 Revised page size computation 1998-06-25 15:05:35 +00:00
kipp
03930d69e0 Removed include of stdio.h 1998-06-25 15:03:49 +00:00
kipp
3147b0e1a7 Assign values to reflow reason so that when printing them numerically it's easier to map the integer back to the enum 1998-06-25 15:03:37 +00:00
kipp
e4f5e7bf4b Added missing include line; minor tidy up as well 1998-06-25 15:01:13 +00:00
kipp
a7d4787477 Made unknown image size be 1,1 twips instead of 0,0 so that other code doesn't eliminate images; added left and right margins around floating images ala ebina 1998-06-25 14:56:46 +00:00
kipp
b3611ffa22 Added CreateFrame method 1998-06-25 14:55:15 +00:00
kipp
b3cf3affc7 Added the same skip-over-non-body-content code that's in the root content frame code 1998-06-25 14:53:45 +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
troy
04e9ce1a5f Added some asserts to the incremental reflow code 1998-06-24 22:05:59 +00:00
buster
ba02200c08 fixed some bugs related to rowspans. This gets us closer on pages like Mozilla.org that were getting wild table heights. 1998-06-24 19:13:19 +00:00
troy
48262a93f9 Changed to make sure we set the (x,y) for the frame before we reflow it 1998-06-24 18:09:47 +00:00
kipp
cf88b306ce snapshot 1998-06-24 17:52:42 +00:00
troy
d8ba6d4919 Changed to make sure we link the child frame into the list of frames before
we reflow it
1998-06-24 16:35:21 +00:00
troy
9419e27a89 Some incremental reflow changes 1998-06-24 04:38:52 +00:00
troy
fb859a6264 Work around for the case where a content change notification has
no corresponding frame in the frame hierarchy
1998-06-24 04:37:11 +00:00
atotic
8fd260481b More project fixes 1998-06-24 01:44:20 +00:00
atotic
f125653c3e First Checked In. 1998-06-24 01:41:16 +00:00
buster
9605fb0d2f now tables with precent width nested within tables with auto width work 1998-06-24 00:40:33 +00:00
buster
aca4c96fbe lots of nested tables look much better
misc. nav4 compatibility enhancements
added the ability to QueryInterface for some specific table frame types
1998-06-23 23:23:21 +00:00
troy
0ba0825eb4 Initialized mColLayoutData to nsnull 1998-06-23 22:45:26 +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
e25cc5bd2b Added js dependency 1998-06-23 19:11:22 +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
rpotts
58123235cc Some reference counting to make things go away... 1998-06-23 18:40:18 +00:00
troy
ea085cab4b Some work-in-progress for table incremental reflow 1998-06-23 05:43:27 +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
7d13a4fd7f Eliminated mFirstPassValid and changed code to key off the reflow
reason
1998-06-22 21:59:43 +00:00
troy
14b98d4773 Started hooking up incremental reflow. So far we only handle changed
captions
1998-06-22 05:34:17 +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
troy
2a5b7ac3b2 Changed TextFrame to implement ContentChanged() notification and generate
a reflow command
1998-06-20 00:04:22 +00:00
rods
2d98f633a6 add XP_UNIX size temporary fixes 1998-06-19 20:07:35 +00:00
kipp
f6c2579b4e Fixed pullup logic for ReflowLine to not de-reference deleted nextLine's 1998-06-19 19:57:59 +00:00
kipp
09145642f6 Added more assertions; commented the cases where continuations are created and not created; fixed up kidContentIndex in all cases; fixed return result error in the pullup code 1998-06-19 19:57:14 +00:00
kipp
dc5fa0a59a snapshot 1998-06-19 18:23:28 +00:00
troy
36e45e1fac Work in progress for incremental reflow 1998-06-19 05:21:45 +00:00
rickg
60ebe042b1 more bug fixes; changed nsHTMLParser to nsParser. 1998-06-19 01:00:27 +00:00
troy
3456471e4f Eliminated nsTableCaptionFrame and now we just use a nsBodyFrame instead 1998-06-19 00:34:12 +00:00
kipp
6730df8ced snapshot 1998-06-18 23:44:30 +00:00
kipp
d134b87bb0 new 1998-06-18 23:16:18 +00:00
kipp
9292fd012d snapshot 1998-06-18 23:16:00 +00:00
karnaze
505cf9d7ac fixed divide by zero, test9 has sub sub doc. 1998-06-18 18:33:34 +00:00
kipp
88d50c8d17 new 1998-06-18 16:25:41 +00:00
rods
05c08ed4cb changed AToms to Atoms in include 1998-06-18 13:58:19 +00:00
troy
948d7d756a Fixed a problem with thick left border edges being the wrong thickness 1998-06-18 05:43:32 +00:00
karnaze
126dc3a360 added tst9, improvements to <iframe> 1998-06-18 00:47:18 +00:00
rickg
9150405dab huge refactoring effort; transient style support; tables fixes, and more 1998-06-17 23:13:28 +00:00
troy
b66023d41f Reduced the number of polygon calls 1998-06-17 22:14:20 +00:00
buster
3d98654938 minor updates and fixes 1998-06-17 19:51:51 +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
troy
16ea80e42f Addded some helper functions to determine whether a content object is
a table cell
1998-06-17 15:21:02 +00:00
troy
4f0977b3b9 Changed cast of content objects to nsTableContent* to query interface
of nsITableContent
1998-06-17 05:28:36 +00:00
karnaze
ac7b31acf6 fixed makefile to recognize html/document/public 1998-06-16 22:57:51 +00:00
atotic
12a0dd0ae6 First Checked In. 1998-06-16 22:55:47 +00:00
karnaze
2d970249d6 added 1998-06-16 21:55:52 +00:00
atotic
7eb5972b2a static void nsHTMLTagContent::ParseValueOrPercentOrProportional(const nsString& aString, is not legal C++ inside a class declaration. 1998-06-16 21:45:10 +00:00