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

1334 Коммитов

Автор SHA1 Сообщение Дата
kipp 53d901a18b Added a few more fields to better handle reflow avoidance; factored align children slightly different so that more code is shared between ResizeReflow and IncrementalReflow 1998-05-21 16:11:29 +00:00
peterl 5a96d99f60 Changed GetStyleData to use an enum instead of an nsID 1998-05-21 02:34:13 +00:00
kipp a856223ff7 Disable reflow optimizations for now 1998-05-20 21:51:51 +00:00
kipp 0b5ee49086 Add in will/did reflow calls; add in tracing calls too 1998-05-20 16:28:05 +00:00
kipp e4ff00c95f Use new tracing macros; add in ReflowMappedChild to avoid reflowing children 1998-05-20 16:27:46 +00:00
kipp 37ab909588 Use new tracing macros and verify-tree-enable 1998-05-20 16:27:22 +00:00
kipp 9aa06b9d92 Added in mDeltaWidth to block reflow state 1998-05-20 16:26:46 +00:00
kipp c009bb83d2 Fixed GetReflowMetrics to return something; use new tracing methods and verify-tree-enable; compute delta width for line layout logic 1998-05-20 16:26:34 +00:00
kipp 4f3ea52e14 Added more debugging hooks that use nspr logging 1998-05-20 16:22:15 +00:00
troy a185df6362 Implemented RemoveRegion() 1998-05-20 05:14:14 +00:00
troy ad60772a53 Changes for removing regions 1998-05-19 22:55:40 +00:00
troy 6b32a0861e Work in progress on removing a region 1998-05-19 15:30:10 +00:00
troy c6430d9196 Revamped space manager internals 1998-05-19 03:00:56 +00:00
kipp be831d99f1 Print out state when non-zero 1998-05-18 16:53:09 +00:00
kipp cfda8fbbf0 Call WillReflow before reflowing children 1998-05-18 16:52:57 +00:00
kipp 53e780d9cf dump out state and next-in-flow/prev-in-flow conditionally 1998-05-18 16:52:41 +00:00
kipp bea090f624 Fixed up code that wasn't using the nsReflowStatus constants defined in nsIFrame.h 1998-05-14 00:49:46 +00:00
kipp 87861be535 Flipped state value of NS_FRAME_COMPLETE with NS_FRAME_NOT_COMPLETE; added new methods WillReflow and DidReflow as well as GetFrameState and SetFrameState 1998-05-14 00:47:05 +00:00
peterl af91e8a55f added style size calculation methods
made get style data const
1998-05-13 22:38:09 +00:00
troy 0b813ad3e7 Changes to space manager implementation. 1998-05-13 16:22:44 +00:00
kipp 07ed999729 Fixed ptr compilation bug 1998-05-13 00:13:09 +00:00
kipp a34356a113 Cast lineReflowStatus before comparing for negative values!; eliminated unused variables 1998-05-13 00:11:51 +00:00
kipp 30c8f7a0cb Moved margin code into line layout 1998-05-12 23:49:40 +00:00
scullin 711c0484c4 Release mode fix. 1998-05-12 23:32:59 +00:00
troy 1ac145e853 Space manager API change 1998-05-12 23:02:47 +00:00
troy 92c9ccb54b Added new member functions 1998-05-12 23:02:02 +00:00
peterl a97ac241a7 sync to new spacing apis 1998-05-12 22:28:01 +00:00
troy 87d8314c08 Changed enum to conform with coding standards 1998-05-12 04:38:23 +00:00
troy 3b08586876 Change to nsIFrame API 1998-05-12 04:17:56 +00:00
kipp 9ac5634a00 Added container methods for the singly contained frame 1998-05-12 01:31:22 +00:00
kipp 4b81688d10 Init band data so that zero is returned on failure 1998-05-12 01:30:57 +00:00
troy 89274c06e4 Wrapped VerifyLines() inside of a NS_DEBUG #define 1998-05-11 18:54:15 +00:00
troy eaaa05815e More incremental reflow work. 1998-05-11 18:38:10 +00:00
troy 27dd88d7ae Work in progress on block incremental reflow 1998-05-09 03:52:29 +00:00
kipp cb1358cbb5 Fixed irix bustage 1998-05-08 21:12:12 +00:00
troy 88e5de1f65 Moved ContentChanged() logic to nsFrame since it was completely generic and
serves as reasonable default behavior for all frames
1998-05-08 16:34:27 +00:00
troy d558e0944f Added ContentChanged() member function 1998-05-08 04:56:47 +00:00
troy 8a61897ab0 Added ContentChanged() member function 1998-05-08 04:45:37 +00:00
kipp b00942a319 Support css width&height style properties 1998-05-07 23:38:51 +00:00
kipp b756f040c3 Support width & height ala css1 1998-05-07 21:50:56 +00:00
kipp ec92662afe order sid's alphabeticly 1998-05-07 21:36:41 +00:00
troy 78de74ac42 Work in progress 1998-05-07 21:10:07 +00:00
troy dde4836b65 Started hooking up appended content handler 1998-05-07 20:28:16 +00:00
troy f6e0e4fd8b Work on getting floaters working again 1998-05-07 05:25:08 +00:00
kipp 707a667dd2 Implemented destroy-lines 1998-05-07 03:45:29 +00:00
kipp c07c22af17 Ported to new CreateFrame/CreateContinuingFrame APIs 1998-05-07 00:08:20 +00:00
kipp 0c6469b295 Ported to new CreateFrame/CreateContinuingFrame APIs; removed some debris code 1998-05-07 00:06:53 +00:00
kipp a333c5eda2 Changed CreateContinuingFrame to take a style context argument to reduce style context creation 1998-05-07 00:05:37 +00:00
troy ca23e47c2e Frames no longet store the content index-in-parent 1998-05-05 23:56:50 +00:00
troy af4352b9f4 Work in progress for inserted incremental reflow 1998-05-05 04:47:53 +00:00
troy 049905f1f8 Added ContentInserted handler 1998-05-04 18:32:12 +00:00
troy 9ae1d79f61 Work in progress for incremental reflow (insert) 1998-05-04 17:54:45 +00:00
troy 38acdd1740 Added ComputeDesiredRect() to share some common code between DoResizeReflow()
and IncrementalReflow()
1998-05-03 04:57:29 +00:00
troy 7b7acfc81c Made sure to set previous bottom margin when restoring reflow state 1998-05-03 04:37:56 +00:00
troy 855a687477 Fixed a problem with mY not being updated properly for a bottom
margin
1998-05-03 04:16:13 +00:00
troy df86871d93 Changed body to create block pseudo-frame instead of a column pseudo frame,
and hooked up the reflow appended code
1998-05-03 03:51:48 +00:00
kipp 1dfce13cc2 Spanked nsBlockFrame: newly rewritten, broken into two pieces (see nsLineLayout.h,.cpp for the line layout code) 1998-05-02 00:56:24 +00:00
kipp aef76fa930 Updated 1998-05-02 00:40:25 +00:00
kostello f7b27f2578 Made SetStyleContext take the presentation context as a parameter
Made DidSetStyleContext virtual, since we need to override the behavior in subclasses
1998-05-01 20:43:42 +00:00
kostello 3828837d71 * Made SetStyleContext take the presentation context as a parameter
* Made DidSetStyleContext virtual, since we need to override the behavior in subclasses
1998-05-01 20:43:02 +00:00
kipp 573023df7a new 1998-04-30 23:32:32 +00:00
peterl ede73bb36a updated to new value class api 1998-04-30 19:55:51 +00:00
rods 8e56c8456a added selection classes to makefiles and added the selection object and methods to nsDocument and nsIDocument 1998-04-30 18:21:59 +00:00
rods bda1d7b02a initial check in 1998-04-29 17:08:57 +00:00
troy f4c0f974bb Changed space manager to return a list of available and unavailable trapezoids 1998-04-29 00:58:16 +00:00
buster b03d7357dd sped up nsBlockFrame significantly by reducing the number of times we resolve style by almost 50% on initial layout
(percentage savings go way up as the window is resized)
1998-04-27 22:33:55 +00:00
kipp 86764b175c Fix porting bugs - made it compile on IRIX 1998-04-26 02:59:29 +00:00
kipp 1767b4a8f8 Port to removal of nsStyleMolecule 1998-04-25 18:48:48 +00:00
kipp b5083a9b07 Removed nsStyleMolecule decl 1998-04-25 18:40:17 +00:00
kipp 9fd58ae134 Repaired cursor discovery logic to handle A tag oddities 1998-04-25 18:40:01 +00:00
troy 6d930e9882 Added more position properties and removed some stuff from nsStyleMolecule 1998-04-24 03:50:38 +00:00
troy 1e612802d7 More work on absolute positioning 1998-04-23 22:38:52 +00:00
troy aa7d0f6143 More CSS position work 1998-04-23 15:39:48 +00:00
troy 98001a329a Work in progress on absolutely positioned elements 1998-04-22 16:06:21 +00:00
peterl 64cc4238d1 WIP moving margin, border & padding out of nsStyleMolecule
Switch to nsIPtr for style context ptrs to eliminate leaks
1998-04-22 06:37:57 +00:00
troy 21b7d0a128 Changed space manager to pass in the frame that's associated with a block
of unavailable space
1998-04-21 23:06:41 +00:00
troy 42f3d1a152 Changed the space manager interface to return trapezoids instead
of rects
1998-04-20 23:53:47 +00:00
troy ef8ffb4eb4 Changed to using continuing frames for runaround of left/right floaters 1998-04-20 19:56:35 +00:00
troy 7c5818ac1f Made it so that continuing frames have a top margin of 0 1998-04-20 04:37:49 +00:00
troy 616900b4e4 Fixed a problem where mLastContentIsComplete wasn't getting set right
for block-level elements
1998-04-18 22:06:05 +00:00
troy 91a9babbf7 Changed IsSplittable to have three return values 1998-04-17 23:08:20 +00:00
troy e285e45a5f Cleaned up some logic 1998-04-17 01:47:21 +00:00
troy d504fcfb0c Changed nsIFrame member functions to return a nsresult 1998-04-17 01:41:24 +00:00
kipp 4717009d75 moved to pub 1998-04-13 20:24:54 +00:00