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

1710 Коммитов

Автор SHA1 Сообщение Дата
kipp d1973a1e23 Print out view during listings 1998-06-03 15:41:53 +00:00
kipp 537f792963 Presentation shell is no longer a subclass of nsIDocumentObserver (the implementation still is however, it's just not publicized) 1998-06-03 15:41:39 +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
michaelp 581fd45055 prevented infinite paint/damage loop. 1998-06-02 22:05:45 +00:00
michaelp b8d765f4de now calls viewmanager to effect view changes. 1998-06-02 22:04:54 +00:00
troy f88c0a816c Added member function Invalidate() 1998-06-02 05:28:11 +00:00
kipp 54c3c6483d Removed some debug printfs 1998-06-01 20:55:28 +00:00
kipp 3e64fcee88 Revised LoadURL to take an nsIStreamListener; removed old document load hooks 1998-06-01 19:52:39 +00:00
troy f1bf0636c9 Fixed an assert 1998-05-30 23:56:28 +00:00
kipp f9f814bcd1 NS_IMETHOD'd some of the API's 1998-05-30 01:36:47 +00:00
kipp 7c8b5b9e28 enter/exit reflow lock automatically in content changed (temporary maybe) 1998-05-30 01:31:04 +00:00
troy b75fc93849 Changed ReflowChild() to handle the 'OccupiedMultiple' case 1998-05-29 23:06:08 +00:00
michaelp 35c65f9d8d fixed over-releasing of views in DeleteFrame(). 1998-05-29 22:36:21 +00:00
troy cee140e58d Changed nsReflowState structs to be linked together 1998-05-29 20:36:05 +00:00
kipp 739fa89888 IMplement new content method 1998-05-29 02:10:27 +00:00
kipp 62b85f9581 Clear both frame-in-reflow and frame-first-reflow bits on finished didreflow 1998-05-29 02:10:12 +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
kipp b6bad15b86 Added another state bit 1998-05-29 02:09:18 +00:00
troy 9477c4d26e Changed it so we don't position or size the view while in the middle
of reflowing. Now that's done in DidReflow()
1998-05-28 21:55:13 +00:00
kipp 2628fb4bbb Set value to 1.0F as a float 1998-05-28 19:55:15 +00:00
kipp 091ec94143 Simplified mOpacity to a float 1998-05-28 19:54:50 +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 5e407954bb Added WillReflow() calls around reflowing of child frame 1998-05-28 18:37:56 +00:00
rickg d46939053b fixed class name crasher 1998-05-28 07:38:28 +00:00
troy 26579fc14a Added 'ns' prefix to class name 1998-05-28 02:37:37 +00:00
kipp 399374728a Use default text alignment; setup opacity properly 1998-05-28 02:01:19 +00:00
kipp 561790394f Added text_align_default for better direction handling 1998-05-28 02:00:59 +00:00
kipp 9bb34c6d9a Added mOpacity to nsStyleColor 1998-05-28 01:59:38 +00:00
karnaze a73bfbfe46 post submission, file content submission 1998-05-27 17:51:41 +00:00
michaelp d380754776 added support for front-to-back view rendering. 1998-05-27 02:13:28 +00:00
peterl 742eb2d745 use context graph for finding contexts 1998-05-26 23:14:56 +00:00
peterl 355468d9b6 cleaned up visibility 1998-05-26 23:14:29 +00:00
peterl 3215b236c4 reworked up reset code
added child list
1998-05-26 23:14:09 +00:00
peterl 57d8860243 cleanup 1998-05-26 23:13:26 +00:00
peterl 790687e52c moved overflow from position to display struct 1998-05-26 23:13:15 +00:00
peterl 251275a74b documented reset vs inherited attributes
shuffled some attributes around
1998-05-26 23:12:14 +00:00
kostello e4f7bb3a94 Moved Get3DColors from HRPart to CSSRendering.
Modified Border Drawing Code to use Get3DColors for backwards compatibility purposes.
1998-05-26 20:52:59 +00:00
troy b2296227ff Merged ResizeReflow() and IncrementalReflow() into one Reflow() member function 1998-05-25 17:31:49 +00:00
kipp 8bf7b6c6ab Fixed windows cvpack problem 1998-05-22 18:41:08 +00:00
kipp 171182dbef Removed includes; updated GetVisibleArea API 1998-05-22 18:36:40 +00:00
kipp 296914177d updated GetVisibleArea API 1998-05-22 18:36:27 +00:00
kipp 7528ed6119 Removed includes 1998-05-22 18:28:40 +00:00
kipp 5b5c464c07 Only verify last is complete when enabled 1998-05-22 18:28:29 +00:00
kipp a63ba75acf Removed unneeded include 1998-05-22 18:28:02 +00:00
kipp 21059b406a Repaired GetVisibleArea API 1998-05-22 18:27:48 +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 a19cf15e0f Fixed some busted code of a bogus type cast 1998-05-22 00:45:34 +00:00
kipp 7301df38ab Removed temporary content appended hack (it no longer works) 1998-05-21 16:10:35 +00:00
peterl a3d3041b2f new file 1998-05-21 02:34:45 +00:00
peterl 5a96d99f60 Changed GetStyleData to use an enum instead of an nsID 1998-05-21 02:34:13 +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
kipp 3797d9dd39 Added a minor optimization to avoid memcpy calls that aren't needed 1998-05-20 16:25:16 +00:00
kipp 426fc03c00 Use new frame tracing macros 1998-05-20 16:24:54 +00:00
kipp 709eb14960 Declare tracing macros that use nspr logging and tracing methods that support the macros 1998-05-20 16:24:36 +00:00
kipp 42d343339e Implement new debugging hooks that use nspr logging; also implement tracing methods in nsFrame; use tracing in will/did-reflow hooks 1998-05-20 16:24:13 +00:00
kipp a0a0b6c6b4 Added some trace messages; fixed bug in PaintChildren that was always painting all children instead of allowing the intersection with the dirty rect to avoid paints 1998-05-20 16:23:37 +00:00
kipp 4f3ea52e14 Added more debugging hooks that use nspr logging 1998-05-20 16:22:15 +00:00
troy a7ced78f30 Added more self-test code 1998-05-20 05:29:56 +00:00
troy a185df6362 Implemented RemoveRegion() 1998-05-20 05:14:14 +00:00
thom 5493b2968c fixed compile errors for mac 1998-05-19 23:11:28 +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 09c61d4baf Initial check-in 1998-05-19 03:01:30 +00:00
troy c6430d9196 Revamped space manager internals 1998-05-19 03:00:56 +00:00
thom 394804e4df Mac checkin 1998-05-18 22:47:24 +00:00
peterl 6ab1e5bee0 added pseudo style support 1998-05-18 21:06:33 +00:00
peterl 8cb0400608 added pseudo style support
added debug list of context graph
1998-05-18 21:05:52 +00:00
peterl 12db5cfc8d added debugging code 1998-05-18 21:04:26 +00:00
peterl 22531a1cee fixed memory leak 1998-05-18 21:03:55 +00:00
peterl d91757b5c8 added pseudo frame style support 1998-05-18 21:03:10 +00:00
peterl 963c761b8a added list method 1998-05-18 21:02:49 +00:00
kipp be831d99f1 Print out state when non-zero 1998-05-18 16:53:09 +00:00
kipp 0316bc6bff Implement DidReflow to pass it down to children when exiting reflow; dump out state and next-in-flow/prev-in-flow conditionally 1998-05-18 16:51:37 +00:00
kipp 33afc10ad1 Implement DidReflow to pass it down to children when exiting reflow 1998-05-18 16:51:17 +00:00
kipp 56a067f23a Implement new frame methods and store the current state 1998-05-14 00:47:32 +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 f591955d94 connected spacing calculations to frame 1998-05-13 22:38:54 +00:00
peterl 738cbd2013 fixed style position values 1998-05-13 22:38:37 +00:00
peterl af91e8a55f added style size calculation methods
made get style data const
1998-05-13 22:38:09 +00:00
peterl 0b5660bc1a removed cache invalidation methods 1998-05-13 22:35:30 +00:00
michaelp f206060f3d added gamma correction methods to the device context. the windows rendering context now
gamma corrects colors. fixed tablecellframe to call the right nsStyleCoord constructor.
1998-05-13 18:15:06 +00:00
troy 0b813ad3e7 Changes to space manager implementation. 1998-05-13 16:22:44 +00:00
kipp 8060bedbd5 Removed unused variable 1998-05-13 00:12:54 +00:00
kipp 155bd31586 Eliminate anonymous struct (and useless bitfields) to fix irix compilation problem 1998-05-13 00:10:35 +00:00
kipp 495050c6cc Export nsIFrameImageLoader too 1998-05-13 00:10:06 +00:00
kipp f1ee16ea19 Removed left/right margin calc as caller is doing it 1998-05-12 23:48:37 +00:00
kipp f25d7acd21 Added methods to invalidate the caches 1998-05-12 23:47:50 +00:00
troy 63fe378e13 Changed API 1998-05-12 23:02:14 +00:00
troy 92c9ccb54b Added new member functions 1998-05-12 23:02:02 +00:00
peterl 12c078b2a7 sync to nsStyleSpacing api changes 1998-05-12 22:58:14 +00:00
peterl a97ac241a7 sync to new spacing apis 1998-05-12 22:28:01 +00:00
peterl e823dd393f added table enums
added clip flags
1998-05-12 22:25:31 +00:00
peterl 379def863b added factor unit
added nsStyleSides
1998-05-12 22:24:12 +00:00
peterl b9d6cdc197 merged nsStyleBorder & nsStyleSpacing
changed spacing data to use nsStyleSides
removed virtual methods
added nsStyleTable
1998-05-12 22:23:13 +00:00
peterl 6b46c3107c Merged nsStyleBorder & nsStyleSpacing
changed spacing values o use nsStyleSides
removed virtual methods
1998-05-12 22:21:03 +00:00
peterl 1f3c71eb21 added factor unit type
added nsStyleSides
1998-05-12 22:18:42 +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 4b81688d10 Init band data so that zero is returned on failure 1998-05-12 01:30:57 +00:00
kipp ade3a34c11 Re-installed the temporary content appended hack 1998-05-12 01:30:40 +00:00
kipp 4ebc5dc2d4 Pass on stop image load to the image loader too so that circular references can be broken and memory can get released properly 1998-05-12 01:30:15 +00:00
kipp 2d1ca5b665 Removed unused variables and methods 1998-05-12 01:29:43 +00:00
kipp 978834f3df Implement stop and abort; stop properly breaks circular link to image request 1998-05-12 01:29:29 +00:00
kipp f51e9a1343 Declare stop and abort methods 1998-05-12 01:28:51 +00:00
kipp 55ba3e4d79 Added stop and abort methods 1998-05-12 01:28:31 +00:00
kipp 42bbccee9d Use new image loading API's 1998-05-11 22:58:20 +00:00
kipp 0fbf87f1dd Revised image loading API's 1998-05-11 22:57:05 +00:00
kipp da48d5c7f9 Removed image loading code (factored out into nsFrameImageLoader); revised API for image loading 1998-05-11 22:56:58 +00:00
kipp 7ec5ddd8a5 Added nsFrameImageLoader 1998-05-11 22:56:23 +00:00
kipp a38f46e3c8 Export nsIFrameImageLoader.h 1998-05-11 22:55:54 +00:00
kipp 7ae60b24b9 new 1998-05-11 22:52:40 +00:00
troy b1309281e9 Fixed build bustage 1998-05-11 21:03:50 +00:00
troy eaaa05815e More incremental reflow work. 1998-05-11 18:38:10 +00:00
kipp c795d58828 Use new LoadImage API 1998-05-09 03:23:54 +00:00
kipp ceffa8485b Cheesy implementation of the reflow lock and content appended 1998-05-09 03:22:41 +00:00
kipp fe23dc4799 Updated to new API 1998-05-09 03:22:14 +00:00
kipp 68216dfe88 Reworked load image support and provided content changed calls to the shell when image sizes arrive 1998-05-09 03:22:01 +00:00
kipp e6268b40e7 Added enter/exit reflow lock methods 1998-05-09 03:21:34 +00:00
kipp 8d6f0a5774 Revised LoadImage API to use NS_IMETHOD and provide alot more information about the load 1998-05-09 03:21:19 +00:00
kipp cb1358cbb5 Fixed irix bustage 1998-05-08 21:12:12 +00:00
rods 2cb9962312 added major selection method and data members 1998-05-08 18:33:42 +00:00
troy 0209babfcc Changed container related functions to return NS_ERROR_NOT_IMPLEMENTED
instead of NS_OK
1998-05-08 17:02:35 +00:00
troy 8b07e0d25c Changed ContentChanged() to generate a reflow command 1998-05-08 16:33:07 +00:00
rods 1205850979 added Selection methods to nsICodment, nsDocument, nsiSplittableFRame 1998-05-08 15:07:41 +00:00
troy 5ea80074c7 Hooked up ContentChanged() to notify the frame 1998-05-08 04:59:35 +00:00
troy 8a61897ab0 Added ContentChanged() member function 1998-05-08 04:45:37 +00:00
kipp e718ab71de Set clip rect if style says to 1998-05-07 21:35:03 +00:00
kipp b46d632042 Fixed the dancing form-elements bug by making MoveTo properly account for the views offset from parent 1998-05-07 16:13:09 +00:00
kipp c07c22af17 Ported to new CreateFrame/CreateContinuingFrame APIs 1998-05-07 00:08:20 +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
kipp 47ca58f827 Updated CreateFrame to take a style context argument to reduce style context creation 1998-05-07 00:05:13 +00:00
troy f27831e884 Started adding ContentChanged() notifications 1998-05-06 16:28:55 +00:00
troy ca23e47c2e Frames no longet store the content index-in-parent 1998-05-05 23:56:50 +00:00
troy 3818ab7825 Fixed my build bustage 1998-05-04 22:50:13 +00:00
troy 806d70ed8c Implemented DOM document's createTextNode() function, and changed insertBefore()
handler to allow refChild to be null
1998-05-04 20:34:37 +00:00
troy 9ae1d79f61 Work in progress for incremental reflow (insert) 1998-05-04 17:54:45 +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 21e1b3a406 Fixed default background repeat bug 1998-05-02 00:55:29 +00:00
kipp 462a5a6943 Stub for WillDeleteNextInFlowFrame; call it during DeleteChildNextInFlows; fixed up ReflowChild spacemanager version to not mess with the availSize when talking to a space manager cognizant child 1998-05-02 00:55:11 +00:00
kipp 1879c7a961 Added WillDeleteNextInFlowFrame to allow for deletion pre-processing by container frames 1998-05-02 00:54:12 +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
rpotts 7f503d5338 nsSelectionRange.h is required by nsISelection.h 1998-05-01 05:56:08 +00:00
rpotts acd5513420 nslayout.h is *all* lower case 1998-05-01 05:55:11 +00:00
rpotts 374ac13e18 added netlib to the include path... 1998-05-01 05:07:25 +00:00
peterl 304a1573f2 removed include 1998-04-30 19:53:05 +00:00
peterl 6e63d78644 changed api, added new units 1998-04-30 19:52:46 +00:00
peterl 82f09e3453 changed to nsStylePosition to use nsStyleCoord 1998-04-30 19:52:26 +00:00
peterl 2575c3e7fd removed style position value, added cursor auto 1998-04-30 19:51:52 +00:00
peterl 121efdeb0f updated api, added new units 1998-04-30 19:50:36 +00:00
peterl e972371ddf changed nsStypePosition to use nsStyleCoord 1998-04-30 19:50:18 +00:00
rods bd70983046 initial 1998-04-30 19:15:05 +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 a4129d5f23 turned off selection 1998-04-30 16:13:01 +00:00
michaelp c44715a002 minor tweaks to UpdateView() in view manager. if you want to invalidate a whole
view, pass in nsnull for the nsRegion param.
viewmanager InsertChild() above/below now does the right thing.
fixed cujo's table thingie.
1998-04-30 02:41:14 +00:00
peterl 0a3102284e removed unneeded destructors
cleaned up some initial values
1998-04-29 21:06:15 +00:00
peterl 159b9dacbb added normal value 1998-04-29 21:05:28 +00:00
peterl 2024e83fbb removed unneeded destructors 1998-04-29 21:04:57 +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
peterl 3545f4e831 added nsStyleCoord 1998-04-28 23:54:06 +00:00
peterl 72a58411f2 added subclass hook for style post-processing 1998-04-28 23:25:07 +00:00
troy 2aae959115 Added mClip and mClipFlags to nsStylePosition 1998-04-28 03:21:18 +00:00
kipp cd2d1fca8e Init nsStyleText values using new nsStyleValue 1998-04-27 21:21:42 +00:00
kipp 706d9ecb49 Cleaned up percent names 1998-04-27 21:20:24 +00:00
kipp 7c6362636b Added nsStyleValue and then updated nsStyleText to use it 1998-04-27 21:19:45 +00:00
rods a441d625bf started adding selection 1998-04-27 16:44:52 +00:00
kipp 063c7a9abd Removed hack 1998-04-27 15:39:58 +00:00
troy 4d967a673b Added function to set a trapezoid's shape based on a rectangle 1998-04-27 03:35:05 +00:00
kipp 7d55b24b03 Added inherit for direction style 1998-04-26 03:46:26 +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 e6603fbd39 Implement nsStyleText, nsStyleDisplay; added cursors; removed hack code 1998-04-25 18:33:32 +00:00
kipp 8bc50dfc85 Tidy up style constants 1998-04-25 18:33:11 +00:00
kipp edb906c274 Cleaned up the API 1998-04-25 18:32:59 +00:00
kipp c1b2d798c8 Added nsStyleText, nsStyleDisplay; removed nsStyleMolecule and hack code; cleaned up a few others 1998-04-25 18:32:11 +00:00
troy 8b8a36182f Added mOverflow to nsStylePosition 1998-04-25 04:07:18 +00:00
troy e8efdaa3c6 Added mZIndex to nsStylePosition. Absolutely positioned code now passed
it along to view system
1998-04-24 18:34:31 +00:00
troy 6d930e9882 Added more position properties and removed some stuff from nsStyleMolecule 1998-04-24 03:50:38 +00:00
michaelp b1d1b906a1 removed conditional calling of view->SetDimensions() in SizeTo(). 1998-04-23 21:51:03 +00:00
buster 4ff4685dbe added style for HTML 4 table elements and TH 1998-04-23 17:19:21 +00:00
kipp 01ab9174da define win32_lean_and_mean 1998-04-23 16:47:26 +00:00
troy aa7d0f6143 More CSS position work 1998-04-23 15:39:48 +00:00
troy 3ba9ae16ba Added nsStylePosition 1998-04-22 23:29:01 +00:00
troy 6a693cd797 HackStyleFor no longer sets positionFlags 1998-04-22 16:07:27 +00:00
peterl b45f75c7cc WIP moving margin, border & padding out of nsStyleMolecule 1998-04-22 06:39:35 +00:00
peterl b9de8ef7df WIP moving border, margin & padding out of nsStyleMolecule 1998-04-22 06:33:35 +00:00
peterl 71f40ddc28 made GetStyleContext work with a null pres context 1998-04-22 06:32:55 +00:00
peterl d217c90cfa WIP removing border, margin & padding from nsStyleMolecule 1998-04-22 06:32:17 +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 33156c179e Fixed column's incremental reflow function to properly handle margins 1998-04-21 04:27:34 +00:00
peterl 69f50285b9 added spacing and border structs 1998-04-21 00:02:44 +00:00
troy 42f3d1a152 Changed the space manager interface to return trapezoids instead
of rects
1998-04-20 23:53:47 +00:00
buster 494d1f714f table performance and minor bug fixes. 1998-04-20 22:49:15 +00:00
troy ef8ffb4eb4 Changed to using continuing frames for runaround of left/right floaters 1998-04-20 19:56:35 +00:00
troy e617812c67 Commented out the hack that explicitly set the P top margin since that's
now handled using CSS
1998-04-19 05:06:41 +00:00
troy 79a1be09d6 Fixed a bug I introduced in the previous checkin 1998-04-18 05:03:04 +00:00
troy 91a9babbf7 Changed IsSplittable to have three return values 1998-04-17 23:08:20 +00:00
troy d504fcfb0c Changed nsIFrame member functions to return a nsresult 1998-04-17 01:41:24 +00:00
peterl 6fb3bcb3e6 added a style hack to get P align attributes to work again 1998-04-16 22:21:45 +00:00
peterl c839e3a447 fix leaks 1998-04-16 21:51:16 +00:00
dario 0df61ed795 doc 1998-04-15 18:55:21 +00:00
michaelp 5542eeba5e fixed bug where we would double paint any frame that had a view. 1998-04-14 21:49:29 +00:00
scullin c14e8a1fee IRIX build fixes. 1998-04-14 01:56:50 +00:00
kipp 4717009d75 moved to pub 1998-04-13 20:24:54 +00:00