Commit Graph

981 Commits

Author SHA1 Message Date
kipp%netscape.com
61d0494cbd Corrected some of the warning messages to reduce false alarms 1999-03-24 15:42:38 +00:00
kipp%netscape.com
4985587cca Fixed up floater combined area calculations 1999-03-24 15:42:19 +00:00
kipp%netscape.com
0667c4e9c1 Tweaked the line-breaking logic so that certain floater situations don't trigger crashes 1999-03-24 15:41:49 +00:00
kipp%netscape.com
8aa0b45390 De-inlined some methods (temporary) and added CanPlaceFloaterNow 1999-03-24 15:41:17 +00:00
kipp%netscape.com
eddd21fd73 Removed dependence on nsFrame (a no-no) 1999-03-24 15:40:44 +00:00
beard%netscape.com
ae08c8a9a9 added nsPluginInstanceOwner::GetDocument() 1999-03-24 05:42:22 +00:00
pierre%netscape.com
2698e004ed Backed out my previous changes because of performance degradation in deeply nested tables. Will increase the stack size in Mac applications instead. 1999-03-23 20:35:38 +00:00
pierre%netscape.com
df7afeebfd fixed #3899 "Raptor doesn't jam": in nsBlockFrame::Reflow, allocated a 4Kb nsLineLayout in the heap rather than on the stack 1999-03-23 08:24:01 +00:00
kipp%netscape.com
98c93b75af Compute floater combined area properly; reflow floaters when placed including below-current-line floaters 1999-03-23 04:28:20 +00:00
kipp%netscape.com
a8cf737ef9 Redid ReflowFloater api 1999-03-23 04:25:20 +00:00
kipp%netscape.com
58e8fa0a32 Use combined-area to compute the final height of the area frame 1999-03-23 04:25:03 +00:00
amusil%netscape.com
c917a07581 Added prelim code for ActiveX support. 1999-03-23 03:18:55 +00:00
kipp%netscape.com
023a09d80b Handle both left or right floaters impacting a line; fixed assert to be more accurate 1999-03-23 01:33:36 +00:00
kipp%netscape.com
e77334dd29 Simply floater counters; handle case of a single occupied trapezoid 1999-03-23 01:32:55 +00:00
kipp%netscape.com
d2f571fe47 Simply floater counters 1999-03-23 01:32:36 +00:00
kipp%netscape.com
08b9617ac3 Improve max-element-size computations and diagnostics 1999-03-22 23:03:31 +00:00
kipp%netscape.com
2efcbb86f5 More cleanup of the combined-area computations; make sure we render every line when we have outside children; fixed up max-element-size computations to not double count floaters 1999-03-22 22:42:30 +00:00
kipp%netscape.com
0c0dc2ebd7 Added GetDepth debug method 1999-03-22 22:41:09 +00:00
kipp%netscape.com
e70372a5cf Tweaked to handle unconstrained situations better 1999-03-22 20:47:21 +00:00
kipp%netscape.com
468a9d8bbe Cleaned up combined area calculations 1999-03-22 20:46:09 +00:00
kipp%netscape.com
524580850c Work around 3238 partially until we have a real solution 1999-03-22 20:45:26 +00:00
kipp%netscape.com
bee4a28ce9 Made state that is really per-span state part of PerSpanData to fix some reflow bugs 1999-03-22 20:45:09 +00:00
beard%netscape.com
4943b7bdb4 added CancelTimer() method to turn off the timer at a safe time; added NS_GetObjectFramePluginInstance() to access the associated plugin instance with an nsObjectFrame; fixed some attribute accessor bugs, returns an error if an attribute doesn't exist; implemented GetArchive() and GetMayScript(); added GUItoMacEvent(). 1999-03-21 20:48:31 +00:00
kipp%netscape.com
84ec5e1b82 Support redo-reflow for lines to handle reflow around large floaters 1999-03-21 01:15:12 +00:00
kipp%netscape.com
80d3e71a85 Reworked CanPlaceFrame logic to be slightly more efficient and to handle breaking around floaters differently to conform to CSS 1999-03-21 01:14:43 +00:00
kipp%netscape.com
4778479a9b Added state to keep track of lines that are impacted by floaters 1999-03-21 01:14:05 +00:00
kipp%netscape.com
75735878ad Ask line if we are breakable instead of using our own logic 1999-03-21 01:13:17 +00:00
beard%netscape.com
dbf2668a93 put in NULL checks for mInstance. 1999-03-20 23:13:41 +00:00
kipp%netscape.com
3ae10336ff Use CRAZY macros for debug noise 1999-03-20 21:57:03 +00:00
kipp%netscape.com
e6aec1bda4 Added crazy macros 1999-03-20 21:56:11 +00:00
kipp%netscape.com
c025d190db switch to using CRAZY macros 1999-03-20 21:55:59 +00:00
kipp%netscape.com
de3a0d8646 Removed some cruft 1999-03-20 21:55:37 +00:00
kipp%netscape.com
503c59ff13 Fixed a bug with zero height spans and combined area calculations that led to tall vertical scrollbars...; also switch to using CRAZY macros 1999-03-20 21:55:22 +00:00
kipp%netscape.com
f8044caeaa Reworked the way that the final metrics are computed; support min/max width/height; track max-element-size issues better; disabled compact frame handling 1999-03-20 19:40:13 +00:00
kipp%netscape.com
d498839da8 Fixed a typo bug 1999-03-20 19:39:08 +00:00
kipp%netscape.com
1564a15bba Added some debugging help for tracking down max-element-size bugs 1999-03-20 19:38:50 +00:00
kipp%netscape.com
e783e42229 Fixed centering of list bullets (bug #4040) 1999-03-20 01:37:43 +00:00
kipp%netscape.com
bc13a8339b Removed some debris 1999-03-19 23:07:38 +00:00
kipp%netscape.com
06e27bfd9d Added more bad-frame detection; fixed a purify caught bug 1999-03-19 23:07:17 +00:00
kipp%netscape.com
9d713ce73b Eliminate some purify warnings 1999-03-19 23:06:42 +00:00
kipp%netscape.com
f24e15031a Added more bad-frame detection 1999-03-19 23:06:20 +00:00
kipp%netscape.com
521d0a1247 Fix wide layout bug in todays build; fixed bug #4013 as well and bug #2589 1999-03-19 23:05:56 +00:00
mcafee%netscape.com
e777f67702 Uninitialized variable. 1999-03-19 00:20:02 +00:00
av%netscape.com
c593e9bc2a M3 -- Fix for bug #1157 1999-03-18 21:26:15 +00:00
kipp%netscape.com
c9067260be Spanked to collapse inline-reflow with line-layout into line-layout; fixed bugs #1278, #1990, #3527, #1670, etc. 1999-03-18 21:03:25 +00:00
kipp%netscape.com
a98c3d799b Fixed bug #3918 with measuring small-caps text; ported to use new line-layout API's 1999-03-18 21:02:40 +00:00
kin%netscape.com
a788e9d0a6 Fix for bug #3758: Drag selecting entire content, then deleting, causes crash.
Added check for mContentLength <= 0 to TextFrame::GetPointFromOffset().
Reviewed by jfrancis@netscape.com and sfraser@netscape.com.
Approved by chofmann@netscape.com.
1999-03-16 22:55:49 +00:00
kipp%netscape.com
9c705031c7 Only set ends-in-newline flag for pre text (bug #3262) 1999-03-16 19:36:49 +00:00
kipp%netscape.com
8e7baecb3e Handle removable of continued frames better (not 100% done) (bug #3262) 1999-03-16 19:36:24 +00:00
kipp%netscape.com
2916ad11f9 Fixed numerous frame removed bugs (bug #3262) 1999-03-16 19:36:00 +00:00