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

186 Коммитов

Автор SHA1 Сообщение Дата
kipp bab6234e9e new 1998-06-03 15:49:00 +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
troy 71d8797ba4 Initialized nsBlockReflowState::mStyleSizeFlags to 0 1998-06-03 02:27:39 +00:00
troy 992a717874 Turned on incremental painting 1998-06-02 05:29:44 +00:00
kipp 76fcd38b25 Set first child during reflow unmapped; leave white space compression flag alone for zero sized frames 1998-06-01 23:39:40 +00:00
kipp 8d21e9ced3 Fixed block frame Clear method to work properly 1998-06-01 23:38:40 +00:00
kipp d4971d7ddc Added SetFirstChild; made line layout a friend of block frame 1998-06-01 23:37:55 +00:00
troy 6158f7cec4 Changed nsLeafFrane's GetdesiredSize() to not pass in the max size
since it's now part of nsReflowState
1998-06-01 23:31:30 +00:00
kipp 581d6444fe Support nsILinkHandler::OnOverLink 1998-06-01 20:55:10 +00:00
troy 9d672d75a1 Work in progress for floaters to handle percentage based
width/height
1998-06-01 19:56:58 +00:00
troy 2f68ab5d3a Added some support for percentage based width/height. Currently only works
for the initial reflow
1998-06-01 19:52:53 +00:00
troy f1bf0636c9 Fixed an assert 1998-05-30 23:56:28 +00:00
kipp 00d8c58559 Updated to new GetDesiredSize api's (so that percentage width's could be properly calculated) 1998-05-30 21:21:11 +00:00
kipp 80acd0c50e Use new cssLayout api 1998-05-30 21:18:32 +00:00
kipp f9cd42fd7b Use new mPendingBreak state 1998-05-30 17:46:11 +00:00
kipp def13663bd Support BR tags in inline frames 1998-05-30 17:45:46 +00:00
kipp 50881dab1b Partial support for BR clear behavior 1998-05-30 17:45:15 +00:00
troy 5c80c8e537 Placeholder now wraps container content in a body pseudo frame 1998-05-29 23:12:26 +00:00
troy 5d79a7eef1 Changed ComputeAvailSpaceRect() to handle the 'OccupiedMultiple' case 1998-05-29 23:05:12 +00:00
troy cee140e58d Changed nsReflowState structs to be linked together 1998-05-29 20:36:05 +00:00
kipp 91eb6b5f64 Consolidated list handling state variables 1998-05-29 18:25:14 +00:00
kipp ee56cc154f Disabled assertions for now (sigh); removed DoResizeReflow and collapsed it into Reflow 1998-05-29 02:34:19 +00:00
kipp 03b868eeb4 Removed some unused list layout cruft 1998-05-29 02:33:50 +00:00
kipp 0a670a18f5 Get initial reflow state set right during child reflow; support list bullets directly 1998-05-29 02:15:46 +00:00
kipp b3f2588ada Pass on initial reflow to ProcessInitialReflow 1998-05-29 02:15:00 +00:00
kipp 189c6d2f00 Added bullet creator 1998-05-29 02:14:41 +00:00
kipp 9287e82ebb Added initial reflow hook; setup list bullets using it 1998-05-29 02:13:25 +00:00
kipp 76f4a551b6 Added initial reflow hook 1998-05-29 02:13:13 +00:00
kipp 0c0146ddcf Added list state for line layout 1998-05-29 02:11:38 +00:00
kipp bbce64b181 Set list state in block reflow state for line layout; assert that reflow reason is correct; pass initial reflow into ProcessInitialReflow hook 1998-05-29 02:11:27 +00:00
kipp b6bad15b86 Added another state bit 1998-05-29 02:09:18 +00:00
troy 5acc41f6bd Added some more WillReflow() calls 1998-05-28 20:12:02 +00:00
troy a361eea70c Changed VerifyTree() to check that NS_FRAME_IN_REFLOW isn't set 1998-05-28 19:00:31 +00:00
troy b637ca6f64 Changed Paint() to not check if the frame is a pseudo frame 1998-05-28 04:38:28 +00:00
troy 26579fc14a Added 'ns' prefix to class name 1998-05-28 02:37:37 +00:00
kipp 98e4c731ca Use revised HorziontallyPlaceChildren api 1998-05-28 02:01:50 +00:00
kipp cb7f95262e Set x,y coordinate of frame before reflowing it 1998-05-27 22:24:57 +00:00
kipp beb0e254da Moved certain line layout state into a state struct that can be saved/restored for word breaking 1998-05-27 21:07:10 +00:00
kipp c258ad8093 Moved certain line layout state into a state struct that can be saved/restored for word breaking; updated code to use it; fixed up split line logic to use state to compute push count; added in word breaking logic; eliminated old word break code 1998-05-27 21:06:55 +00:00
kipp 784f23e1f6 Removed cruft; fixed to use canfit/didfit predicates that check on word-breaking state; fixed long standing bug with last-content-complete in pullup code 1998-05-27 21:05:47 +00:00
kipp a30748d0f2 Updated to use lineLayout struct changes 1998-05-27 21:05:13 +00:00
peterl 28517de6a1 added visibility style attribute
moved attributes from position to display struct
1998-05-26 23:15:47 +00:00
troy b2296227ff Merged ResizeReflow() and IncrementalReflow() into one Reflow() member function 1998-05-25 17:31:49 +00:00
kipp 864f4e1fc4 Removed some dead code; added code to DidReflow children at a good spot 1998-05-22 18:37:49 +00:00
troy 6d84299cc2 Changed reference to reflow command to a pointer to a reflow command 1998-05-22 04:56:27 +00:00
troy 63046c8bfd Changed splittable enum to be bit flags 1998-05-22 04:54:11 +00:00
troy e6fd0dce2e Changed the nsBandTrapezoid::State enum values to conform to the coding
standard
1998-05-22 04:03:14 +00:00
troy 3148067708 Added new Reflow() member function that will eventually supersede the two
existing reflow functions: ResizeReflow() and IncrementalReflow()
1998-05-22 03:52:51 +00:00
troy 23a25e2268 Some work in progress for incremental floaters 1998-05-22 02:38:41 +00:00
troy a19cf15e0f Fixed some busted code of a bogus type cast 1998-05-22 00:45:34 +00:00
kipp c484dcc24a disabled reflow-mapped-child for now 1998-05-21 16:29:20 +00:00
kipp 06f4a8f316 better handle reflow avoidance; factored align children slightly different so that more code is shared between ResizeReflow and IncrementalReflow; fixed more cases where reflow is required 1998-05-21 16:12:10 +00:00
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