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

1334 Коммитов

Автор SHA1 Сообщение Дата
karnaze%netscape.com 4e9e92e767 bug 5374 paint <frame> without document all white; made mIsInline a PRBool. 1999-04-27 18:21:30 +00:00
kin%netscape.com 4cd147a086 Fix from mjudge@netscape.com for bug #5505 (Crash clicking on throbber in apprunner) 1999-04-26 19:38:22 +00:00
mjudge%netscape.com 75dd0e4936 selection changes for new model of content only. frames no longer contain variables referring to selection state outside of 1 bit. keyboard selection will now be disabled until i can get it working in the new selection world order. 1999-04-26 04:02:04 +00:00
troy%netscape.com 91a6cd064a Added flag bit NS_FRAME_OUT_OF_FLOW, and changed the frame construction code
to set it for floated and absolutely positioned frames
1999-04-25 17:20:53 +00:00
troy%netscape.com c12953add6 Added code to check the placeholder's out-of-flow frame and see if it's
an absolutely positioned frame and not just assume it's a floater
1999-04-25 17:01:07 +00:00
troy%netscape.com 3d1a5c3171 Removed ContentChanged() and AttributeChanged() which are no longer need
now that GetPrimaryFrameFor() always returns the out-of-flow frame
1999-04-25 16:59:39 +00:00
troy%netscape.com 3ce2fbb10a Fixed a problem where CreateViewForFrame() was setting NS_VIEW_PUBLIC_FLAG_DONT_BITBLT
all the time
1999-04-24 04:53:42 +00:00
amusil%netscape.com a543bafa41 Added support for applets specified by the object tag (which use the "classid:java"
attribute instead of "code").
1999-04-23 22:52:10 +00:00
karnaze%netscape.com 522d89695c bug 5437 - html frames not initially honoring visibility:hidden 1999-04-23 21:55:15 +00:00
kipp%netscape.com 19e462c038 Removed useless include 1999-04-23 20:01:49 +00:00
kipp%netscape.com 0289f48b8f nit 1999-04-23 20:01:38 +00:00
kipp%netscape.com c56076621a Always init the image loader (fixes bug #5238); don't load images with zero set dimensions (bug #5381); cancel extraneous reflows to improve performance 1999-04-23 20:00:14 +00:00
rickg%netscape.com e4db1f31da remove SetName() call at Hyatt's request 1999-04-23 18:56:40 +00:00
rickg%netscape.com bcf67e70b2 sync with nsString2 API 1999-04-23 18:21:43 +00:00
kipp%netscape.com 728ae6a3a7 Moved hacked call to floater adds out of nsPlaceholderFrame and into nsLineLayout 1999-04-23 15:15:53 +00:00
troy%netscape.com faca172c4e Added GetFrameType() and renamed GetAnchoredItem() to GetOutOfFrameFlow() 1999-04-23 14:34:48 +00:00
rickg%netscape.com 1b230a8fb5 fix webshell bug for SMorse 1999-04-23 03:51:39 +00:00
troy%netscape.com afacbe2418 Work-in-progress for relatively positioned inlines being containing blocks
for absolutely positioned child elements
1999-04-22 04:27:47 +00:00
kipp%netscape.com 0d6321571e Fixed rendering bug with drawing poly areas during debug drawing 1999-04-22 03:40:38 +00:00
rickg%netscape.com 01301cb765 updates to sync with nsString2 api 1999-04-21 23:43:11 +00:00
rickg%netscape.com 2491a0aa62 updates to sync with nsString2 api 1999-04-21 23:35:12 +00:00
amusil%netscape.com 25093ccc16 Fixed bug with flow of control - reflows after the first one no longer call
CantRenderDisplacedElement() when it's not supposed to.
1999-04-21 23:25:20 +00:00
troy%netscape.com c378456c03 Changed the handling for fixed backgrounds a little 1999-04-21 22:08:01 +00:00
troy%netscape.com 2381754d68 Changed CreateViewForFrame() so it takes into account fixed background
attachments and sets NS_VIEW_PUBLIC_FLAG_DONT_BITBLT
1999-04-21 21:27:50 +00:00
troy%netscape.com 95103bdc88 Changed nsPositionedInlineFrame::Reflow() to compute the desired size
by calling nsInlineReflow::Reflow() with a 'resize' reflow reason when
handling an incremental reflow of an absolutely positioned child element
1999-04-21 21:02:45 +00:00
kipp%netscape.com a9ee9ef7d7 Fixed word lookahead logic to not look at continuations to avoid duplicate information 1999-04-21 19:59:16 +00:00
kipp%netscape.com 6a70c4061f Added some (disabled) logging 1999-04-21 19:58:50 +00:00
kipp%netscape.com ae2c8b1906 Fixed up child incremental reflow to only reflow the necessary number of lines (hopefully) 1999-04-21 19:58:38 +00:00
troy%netscape.com 4af64abb4b Changed nsPositionedInlineFrame code to handle incremental reflow 1999-04-21 04:37:13 +00:00
sspitzer%netscape.com e534107dda fix UNIX build bustage. this won't build with -pendatic 1999-04-21 02:31:02 +00:00
hyatt%netscape.com c52fdc82f1 More changes to support window.open() 1999-04-21 00:19:30 +00:00
hyatt%netscape.com 26de07334c Forgot to commit a file. 1999-04-20 23:32:43 +00:00
kipp%netscape.com be07252e56 Fixed bug #5192 by growing the trapezoid buffer as needed 1999-04-20 23:08:03 +00:00
kipp%netscape.com cfd836db13 Tweaked FindLineContaining to return the index in the line where the frame is found 1999-04-20 21:52:22 +00:00
kipp%netscape.com 438563d4ab Fixed up insertion code to support inserting blocks; tweaked FirstChild impl to work better; removed some no longer needed code 1999-04-20 21:51:39 +00:00
av%netscape.com 90a304718d Turning on previous changes 1999-04-20 21:45:26 +00:00
av%netscape.com 9d421d803b Added width and height attributes for images 1999-04-20 21:07:26 +00:00
troy%netscape.com 377e74f224 Added GetFrameType() member function 1999-04-20 19:11:37 +00:00
troy%netscape.com 61f5993635 Change to atoms 1999-04-20 18:22:28 +00:00
rickg%netscape.com 0d1b06ca19 sync with nsString2 API 1999-04-20 07:20:21 +00:00
troy%netscape.com f261935dc5 Commented out code in GetAdditionalChildListName() that checked whether
there was a bullet and conditionally nsLayoutAtoms::bulletList because
that change broke absolute positioning (area frame depends on the index
numbers)
1999-04-20 05:03:29 +00:00
kipp%netscape.com 1255af7d56 Work around append frames bug (by breaking insert!) for now; added some asserts hither and yon to help prevent furthur regressions like this 1999-04-20 03:42:32 +00:00
hyatt%netscape.com d3e3d6f704 Changes so that content shells added underneath chrome shells cause
a notification to be fired to the chrome shell.
1999-04-20 01:56:07 +00:00
kipp%netscape.com 34cd01fff8 Work around windoze compiler lossage 1999-04-20 01:53:28 +00:00
kipp%netscape.com 03459aee2f Make build work on mac 1999-04-20 01:49:51 +00:00
kipp%netscape.com 9b1eb0d670 Implement first-line support; update some api's to use nsIPresContext*'s instead of nsIpresContext&'s 1999-04-20 00:27:43 +00:00
kipp%netscape.com 8e91c16bcc Switch to nsIPresContext*'s instead of nsIPresContext&'s 1999-04-20 00:27:08 +00:00
kipp%netscape.com 7888af60c0 removed dead comment info 1999-04-20 00:26:47 +00:00
kipp%netscape.com 47b8e9a5dd Updated to new nsIHTMLReflow method signatures 1999-04-20 00:26:32 +00:00
kipp%netscape.com 69ba2f07db Added NewFIrstLineFrame 1999-04-20 00:25:48 +00:00
kipp%netscape.com 15a1e2f34d Added nsFirstLineFrame subclass; move class decl out to header file 1999-04-20 00:25:12 +00:00
kipp%netscape.com f5675f8348 Renamed header file 1999-04-20 00:24:32 +00:00
kipp%netscape.com 2b4bc298be Eliminate a bunch of warnings 1999-04-20 00:23:33 +00:00
kipp%netscape.com 9e2ae729fe new 1999-04-20 00:23:05 +00:00
kipp%netscape.com 0fa0f0636c Added first line support methods 1999-04-20 00:22:58 +00:00
peterl%netscape.com ae256a21d1 sync to new state change api 1999-04-20 00:06:58 +00:00
troy%netscape.com 2807810d97 Work-in-progress for making relatively positioned inline-level elements a
container for absolutely positioned child elements
1999-04-19 19:10:15 +00:00
troy%netscape.com 8cff96d246 Change to InitAbsoluteConstraints() to fix bug #5154 1999-04-17 04:24:12 +00:00
hyatt%netscape.com 417d0db772 Landing (inside an INCLUDE_XUL ifdef) the code that checks for and sets
the type of the web shell (to distinguish chrome frames from content
frames).
1999-04-16 08:14:28 +00:00
michaelp%netscape.com 5cb4207134 modified for new view flags. 1999-04-16 04:24:14 +00:00
troy%netscape.com 9ad325a372 Renamed filename because it was too long for the Mac 1999-04-16 01:42:51 +00:00
troy%netscape.com e12dfce6a8 Initial checkin 1999-04-16 01:39:45 +00:00
troy%netscape.com c71c26d027 Initial check in 1999-04-16 01:39:34 +00:00
troy%netscape.com 10f48ae812 New class nsAbsolutelyPositionedContainer 1999-04-16 00:08:59 +00:00
akkana%netscape.com 77869e8bcd Get rid of selection cursor for Unix now that caret is working 1999-04-15 20:42:53 +00:00
av%netscape.com 46c59bdd29 Fixing logic in Reflow for differrent objects. Still ifdefed out 1999-04-15 20:07:01 +00:00
kipp%netscape.com 2233721ffd Support aspect scaling everywhere; elminate win32 ifdefs; use revised image loading apis 1999-04-13 21:51:20 +00:00
kipp%netscape.com 022ebc1833 Use revised image loading api 1999-04-13 21:51:00 +00:00
kipp%netscape.com 9891bf16bc new 1999-04-13 21:50:25 +00:00
kipp%netscape.com f411af7c58 Use revised image loading apis 1999-04-13 21:49:58 +00:00
kipp%netscape.com 09e3b583b6 Added a bit to speed up frame destruction 1999-04-13 21:48:35 +00:00
joki%netscape.com 4035f53372 Fix event handling on background areas of tags. 1999-04-13 21:29:08 +00:00
troy%netscape.com c6e66cb1d9 Made things a little more efficient by now making a copy of the reflow state
that's passed in, but instead casting the "const" away and setting the space
manager directly
1999-04-13 02:55:54 +00:00
sfraser%netscape.com 8cf89e7efb File Removed. 1999-04-13 01:18:25 +00:00
sfraser%netscape.com bbe5a4f210 Removal of nsSelectionRange, nsSelectionPoint, and fixing up resulting include problems. 1999-04-13 01:15:16 +00:00
karnaze%netscape.com 32f6b10b86 bug 1596 1999-04-13 00:56:23 +00:00
troy%netscape.com f88ce2f295 Changed MoveOverflowToChildList() and PushChildren() to call
ReparentFrameView()
1999-04-13 00:15:13 +00:00
troy%netscape.com 9553d83a84 Removed Join() function from nsFrameList, because we already has a version
of AppendFrames() that did the same exact thing
1999-04-13 00:06:17 +00:00
troy%netscape.com aa1d2236b2 Removed some code from nsContainerFrame that is no longer needed now that'
we have nsFrameList
1999-04-12 23:46:02 +00:00
troy%netscape.com 35f7636e04 Fixed a problem in MoveOverflowToChildList() where Join() was being used
when InsertFrames() should have been used instead
1999-04-12 23:03:11 +00:00
joki%netscape.com 26b45c4762 New api's into nsEventStateManager for content state change (hover,focus,active) 1999-04-12 21:24:07 +00:00
jdunn%netscape.com a182e18db0 ANSIC requires that structures need 'friend' status to access other structures
IF they are protected (or private).  fix for bug 4642
1999-04-12 20:12:15 +00:00
troy%netscape.com 4fda80d9f5 Added ReparentFrameView() and changed the block and inline code
to call it when pushing/pulling frames
1999-04-11 04:22:00 +00:00
troy%netscape.com 6fe76beacf Changed DidReflow() so we size and position our view before we call
the child frame's DidReflow() function. This ensures that the parent view
is properly positioned before positioning the child views. This is
important when positioning the widgets
1999-04-11 00:56:28 +00:00
kipp%netscape.com 7ee00cb5ee Fixed bug 4801 1999-04-10 17:32:46 +00:00
kipp%netscape.com 2d0db358a3 Support clip property 1999-04-10 17:32:33 +00:00
kipp%netscape.com da97d410cf Added SetClipRect helper method 1999-04-10 17:32:22 +00:00
kipp%netscape.com 88856b870e Always init mMaxElementSize (bug 4836) - just in case 1999-04-10 17:32:04 +00:00
kipp%netscape.com b08b9a5803 Support clip property; fix bug 4836 and speed things up slightly by avoiding max-element-size computations when not needed 1999-04-10 17:31:45 +00:00
kipp%netscape.com a6c1d5c7ee Expose trapezoids 1999-04-10 17:30:57 +00:00
kipp%netscape.com 5530385670 Use block-band-data for debug output 1999-04-10 17:30:46 +00:00
amusil%netscape.com 1adb20fac4 Fix for Bug# 4751. Added support for data param in addition to src param 1999-04-09 21:23:41 +00:00
mjudge%netscape.com 112fbea9e1 indexes returned from prepareunicodestring are mContentOffset based. 3641 3772 Hoffman approved 1999-04-07 22:56:09 +00:00
ftang%netscape.com 18f41f118d fix the ignore 1 for 10 problem for cjk-ideographics style 1999-04-07 00:32:49 +00:00
ftang%netscape.com 2ccd9da21c add one boolean to indicate word break or line break 1999-04-06 22:41:44 +00:00
troy%netscape.com 66741a66a0 Added a comment 1999-04-06 02:57:47 +00:00
troy%netscape.com 774e0c18ad Removed DidReflow() code that's no longer needed now that the new compositor
allows child views to extend outside their parent view
1999-04-06 02:41:50 +00:00
av%netscape.com 04d49a69c6 Cleaning up 1999-04-06 01:16:53 +00:00
ftang%netscape.com 3619315aa3 Re-org the file and put different number system into different function. Merge two characters list implementation . add hebrew/armenian/georgian/cjk-ideographics implementation. 1999-04-05 18:25:26 +00:00
troy%netscape.com 618e1665a4 Added NS_FRAME_GENERATED_CONTENT 1999-04-05 03:44:07 +00:00
troy%netscape.com 1d5361baba Changed nsHTMLImageLoader::StartLoadImage() to just use mURLSpec as the
absolute URL if mBaseURL is NULL, and not call NS_MakeAbsoluteURL.
This fixes a crash
1999-04-04 05:56:23 +00:00
kipp%netscape.com 3663188f2f Implement frame sliding during incremental reflow; fixed to not double factor in the delta-y 1999-04-03 21:54:00 +00:00
kipp%netscape.com 96a37f5a98 Reworked the state recovery logic for incremental reflow 1999-04-03 18:59:01 +00:00
kipp%netscape.com b51cc614ac Removed some debris; added ComputeCollapsedTopMargin method 1999-04-03 18:58:32 +00:00
kipp%netscape.com 886e4472d7 Removed some debris 1999-04-03 18:57:51 +00:00
kipp%netscape.com ce282e99e7 Switch to a different (more accurate) BR handling hack... 1999-04-03 18:57:30 +00:00
sfraser%netscape.com 1921990062 Remove caret->Refresh calls. The presshell now refreshes the caret after painting. 1999-04-02 00:01:05 +00:00
mcmullen%netscape.com 667ef75ec4 Since I changed prefapi.h to use prtypes instead of the obsolete XP_ things, I have to change calls to match. In this case, a macro had been used that was in one of the obsolete files 'PRIVATE'. Replaced this by its value 'static' 1999-04-01 20:39:30 +00:00
kipp%netscape.com 53aca2150f Reflow floater frames using the block reflow context 1999-04-01 01:37:36 +00:00
sfraser%netscape.com 7b62ec6dcf Fix a problem with tab expansion when filling the offset indices array. 1999-03-31 20:12:42 +00:00
jdunn%netscape.com 986977b905 Fix compiler error on AIX...
Can't have 'protected' structures, so for AIX make them public and then
make sure that the AIX is defined in the Makefile.in
1999-03-31 04:21:53 +00:00
kipp%netscape.com d8d50a289b Support MOZ_PRE_WRAP 1999-03-31 04:12:46 +00:00
kipp%netscape.com 4c435810fd Removed some dead code; Added support for eStyleUnit_Chars for width values 1999-03-31 04:11:40 +00:00
kipp%netscape.com b6234ed95d Removed some dead code 1999-03-31 04:11:02 +00:00
kipp%netscape.com c2ce4ffb18 Removed compact margin hackery 1999-03-31 04:10:51 +00:00
kipp%netscape.com 928bd4aed8 Removed unsupported css2 'compact' support ; fixed bug #2013 with floater placement 1999-03-31 04:10:27 +00:00
kipp%netscape.com 5c094fe255 Select size of builtin arrays by platform (sigh); remove some cruft; added in support for debugging memory leaks and reducing initialization time 1999-03-29 23:46:34 +00:00
kipp%netscape.com fe0e42f55c Removed some cruft 1999-03-29 23:45:49 +00:00
kipp%netscape.com 6b923e2208 Collapse margins away for html paragraphs (bug #2589 and #2291); add is-html-paragraph method 1999-03-29 23:45:36 +00:00
kipp%netscape.com 3b9f802263 Removed cruft; added IsHTMLParagraph method 1999-03-29 23:44:59 +00:00
kipp%netscape.com 8f767aaa79 Use shared is-html-paragraph method; fixed handling of floater widths for bug #2949 1999-03-29 23:44:45 +00:00
karnaze%netscape.com 2f35752cf9 bug 3522 - crash when more <frame>, <frameset> specified than cells 1999-03-29 23:26:57 +00:00
amusil%netscape.com d71744eb68 Changes to hook up LiveConnect on Windows 1999-03-29 22:18:05 +00:00
akkana%netscape.com 32c69a1f6c Turn on triangle cursor temporarily for Unix, until bug 4202 gets fixed 1999-03-29 22:02:16 +00:00
kipp%netscape.com 87b715ea04 Fixed bug #4133 by not providing negative margin values for tables that are too wide 1999-03-29 04:17:23 +00:00
troy%netscape.com eee182393a Changed ComputeWordFragmentWidth() to handle the case where the content
object's document pointer is NULL
1999-03-29 04:15:07 +00:00
warren%netscape.com fbb4cabd9e PR_FALSE is not nsnull! 1999-03-27 02:56:52 +00:00
kipp%netscape.com 225210903a Removed carried-out-top-margin 1999-03-27 01:24:24 +00:00
kipp%netscape.com 8d26de263f Eliminate speculative-top-margin cruft; use new block reflow context API 1999-03-27 01:23:30 +00:00
kipp%netscape.com 5f1c1061e3 Moved vertical margin application into here; implement top-margin collapsing logic 1999-03-27 01:22:45 +00:00
kipp%netscape.com 35f2b08de2 Reworked vertical margin handling; fixed some issues with floater placement and clearing and block element clearing (bugs #1080, #1808, ... 1999-03-27 01:22:14 +00:00
kipp%netscape.com fee403af6c Added methods to support pre-collapsing of top-margins; expose class-id for nsBlockReflowContext code 1999-03-27 01:21:21 +00:00
kipp%netscape.com 62ecd33b0a Translate trapezoid into proper coordinate system 1999-03-27 01:20:46 +00:00
av%netscape.com d7499062d9 Image recognition by file extension for object tag 1999-03-27 01:00:02 +00:00
mjudge%netscape.com fa21f8ac67 fixing errors with pre spaced text. prepareunicode string was not filling the index array correctly for thatn 1999-03-27 00:18:32 +00:00
troy%netscape.com ef7800bb44 Fix for bug #2592. Changed ComputeMargin() and ComputePadding() to handle
'inherit' when calculating the computed values
1999-03-26 03:57:46 +00:00
kipp%netscape.com c4e67b2be9 Use raw trapezoid data to solve issues of floaters with margins (bug #2024) 1999-03-26 01:59:13 +00:00
ftang%netscape.com e0a7810073 correct katakan/hiragana/katakana-iroha/hiragana-iroha list after reviewed by momoi. Add implementation for NS_STYLE_LIST_STYLE_DECIMAL_LEADING_ZERO. 1999-03-26 01:37:27 +00:00
kipp%netscape.com ab5b716944 Work around some first-letter bugs 1999-03-26 00:41:36 +00:00
kipp%netscape.com 135293b061 Undo partial fix for 3882 since its a bad fix 1999-03-26 00:40:37 +00:00
kipp%netscape.com fab8db134e Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
kipp%netscape.com fbe9f400b3 Fixed bugs #1277, #2007 and #1517 and #1918; rendering is improved for floaters and a minimim height rule is now enforced for computed-height situations 1999-03-26 00:39:04 +00:00
kipp%netscape.com f605430cfe Init mFloaters 1999-03-26 00:37:32 +00:00
kipp%netscape.com 35bac488eb Fixed bug #4112 1999-03-26 00:37:22 +00:00
peterl%netscape.com 78240897f9 augmented ReResolveStyleContext to capture style change information 1999-03-25 06:43:38 +00:00
peterl%netscape.com 8e944a5a2b added args to ReResolveStyle to capture style change info 1999-03-25 06:32:56 +00:00
kipp%netscape.com d168a2890b Support (ever so slightly better) anonymous block reflow by returning a zero sized inline frame when wrapping an anonymous block - partial fix for bug #3882 1999-03-25 03:50:34 +00:00
kipp%netscape.com b7fd88140f Made margin carried outs per-line-layout instead of per-frame 1999-03-25 03:49:47 +00:00
kipp%netscape.com 3d3ce71a61 Fixed a bug that prevented text-indent from working next to floaters; support moz-right and moz-center text-align values 1999-03-25 03:49:29 +00:00
kipp%netscape.com 84437447e1 Support compatability center/right align values for nav4 support 1999-03-25 03:48:51 +00:00
kipp%netscape.com a171a9999d Fixed up area frame sizing calculations to properly compute the final height 1999-03-25 03:48:30 +00:00
jdunn%netscape.com e3c9afd27f backing out changes, because the tree was closed - doh 1999-03-24 21:55:53 +00:00
jdunn%netscape.com 49b47b7c6b Fixed compiler error on AIX. The xlC compiler does not handle protected
structures correctly so for AIX, we make the structures public.

approved by kipp@netscape.com
1999-03-24 21:43:34 +00:00
kipp%netscape.com c373ba84a5 Corrected some of the warning messages to reduce false alarms 1999-03-24 15:42:38 +00:00
kipp%netscape.com 46944cbaf9 Fixed up floater combined area calculations 1999-03-24 15:42:19 +00:00
kipp%netscape.com 17f2852f3b 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 8daeeea8fe De-inlined some methods (temporary) and added CanPlaceFloaterNow 1999-03-24 15:41:17 +00:00
kipp%netscape.com 225831f1bd Removed dependence on nsFrame (a no-no) 1999-03-24 15:40:44 +00:00
beard%netscape.com 060d73d9f4 added nsPluginInstanceOwner::GetDocument() 1999-03-24 05:42:22 +00:00
pierre%netscape.com d9a2c1dc1e 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 5607b83b60 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 f6178fb744 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 38c4721692 Redid ReflowFloater api 1999-03-23 04:25:20 +00:00
kipp%netscape.com 2c2a883c98 Use combined-area to compute the final height of the area frame 1999-03-23 04:25:03 +00:00
amusil%netscape.com 52c0fd685a Added prelim code for ActiveX support. 1999-03-23 03:18:55 +00:00
kipp%netscape.com 39cd6b3ecf 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 9c666e9ef3 Simply floater counters; handle case of a single occupied trapezoid 1999-03-23 01:32:55 +00:00
kipp%netscape.com aea8c0609b Simply floater counters 1999-03-23 01:32:36 +00:00
kipp%netscape.com ac6b1bc50e Improve max-element-size computations and diagnostics 1999-03-22 23:03:31 +00:00
kipp%netscape.com d535f648b4 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 24c3b0ec38 Added GetDepth debug method 1999-03-22 22:41:09 +00:00
kipp%netscape.com eeccf4a2d0 Tweaked to handle unconstrained situations better 1999-03-22 20:47:21 +00:00
kipp%netscape.com 9a62e6de59 Cleaned up combined area calculations 1999-03-22 20:46:09 +00:00
kipp%netscape.com d135887292 Work around 3238 partially until we have a real solution 1999-03-22 20:45:26 +00:00
kipp%netscape.com da5def1071 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 c48b937dd3 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 61b80f3e4d Support redo-reflow for lines to handle reflow around large floaters 1999-03-21 01:15:12 +00:00
kipp%netscape.com 7d02419a44 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 5293dd812d Added state to keep track of lines that are impacted by floaters 1999-03-21 01:14:05 +00:00
kipp%netscape.com 64001dcb96 Ask line if we are breakable instead of using our own logic 1999-03-21 01:13:17 +00:00
beard%netscape.com 29f6f209c9 put in NULL checks for mInstance. 1999-03-20 23:13:41 +00:00
kipp%netscape.com 8746b19b03 Use CRAZY macros for debug noise 1999-03-20 21:57:03 +00:00
kipp%netscape.com 3f36942158 Added crazy macros 1999-03-20 21:56:11 +00:00
kipp%netscape.com bbbd92e668 switch to using CRAZY macros 1999-03-20 21:55:59 +00:00
kipp%netscape.com 7aa3c8b383 Removed some cruft 1999-03-20 21:55:37 +00:00
kipp%netscape.com f6675c2494 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 78ca5a7bc4 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 1b8e84f8e3 Fixed a typo bug 1999-03-20 19:39:08 +00:00
kipp%netscape.com 55455e81b1 Added some debugging help for tracking down max-element-size bugs 1999-03-20 19:38:50 +00:00
kipp%netscape.com 8dc44985fa Fixed centering of list bullets (bug #4040) 1999-03-20 01:37:43 +00:00
kipp%netscape.com d36b586168 Removed some debris 1999-03-19 23:07:38 +00:00
kipp%netscape.com c56ffdeca9 Added more bad-frame detection; fixed a purify caught bug 1999-03-19 23:07:17 +00:00
kipp%netscape.com 1a9b373e56 Eliminate some purify warnings 1999-03-19 23:06:42 +00:00
kipp%netscape.com 1621e4d7ce Added more bad-frame detection 1999-03-19 23:06:20 +00:00
kipp%netscape.com 80cfec53e8 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 71eb620083 Uninitialized variable. 1999-03-19 00:20:02 +00:00
av%netscape.com 5a5bba91cb M3 -- Fix for bug #1157 1999-03-18 21:26:15 +00:00
kipp%netscape.com f7b3921a2c 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 059a2370b1 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 9b8fdd5e24 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 380f97a482 Only set ends-in-newline flag for pre text (bug #3262) 1999-03-16 19:36:49 +00:00
kipp%netscape.com 50930f9663 Handle removable of continued frames better (not 100% done) (bug #3262) 1999-03-16 19:36:24 +00:00
kipp%netscape.com b624e23bf2 Fixed numerous frame removed bugs (bug #3262) 1999-03-16 19:36:00 +00:00
mjudge%netscape.com a876641fd7 I am "unfixing" something. This was something I introduced to prevent an M3 bug with a hack, it is not necessary anymore. reviewd by sfrasier. several people have verified this. 1999-03-16 00:08:38 +00:00
mjudge%netscape.com 33739be53c fix hack for getting selection to "Really" update the frame 1999-03-14 01:18:47 +00:00
mjudge%netscape.com dabafbc386 needed to get caret to draw at end of line and on an empty text element 1999-03-13 21:33:34 +00:00
beard%netscape.com d3249dc9f1 reverted back to kISupportsIID. It seems not all compilers can handle ::nsISupports::GetIID() from inside an XPCOM interface. Yech. 1999-03-13 02:20:57 +00:00
beard%netscape.com 91abf02edf forcing nsISupports to global scope to resovle ambiguity (VC is very weak) 1999-03-13 00:12:13 +00:00
beard%netscape.com ec4e834108 now passing events to plugins, generating idle events with an nsITimer, all XP_MAC changes for the most part. 1999-03-12 22:46:14 +00:00
mjudge%netscape.com 476cb0e421 fixed GetWidth to "do the right thing" and take smallcaps and spaced words/chars into account. 1999-03-12 21:38:16 +00:00
mjudge%netscape.com 098064a40c fixed memory leaks in nsRangelist.cpp. uninitialized memory in nsTextframe, simplified APIs in nsIFrame and the underlying implementations. see layout.checkins 1999-03-12 00:17:14 +00:00
amusil%netscape.com 9fa572f75f Minor API change. Added support for tags that don't specify SRC or DATA params. 1999-03-11 22:50:58 +00:00
troy%netscape.com 38bb440c35 Patch from Bruce Mitchener (bruce@sybersight.com) that fixes incorrect
use of delete operator
1999-03-11 15:21:46 +00:00
troy%netscape.com 3483f42e09 Work-in-progress for min/max properties 1999-03-11 15:13:17 +00:00
ftang%netscape.com 2e945807e6 fix mHasMultibyte hint problem when the first character of the *word* is not ASCII 1999-03-11 03:00:33 +00:00
troy%netscape.com a6281248ab Work-in-progress for 'min' and 'max' properties 1999-03-11 01:23:10 +00:00
av%netscape.com 78d3f3bcdd *** empty log message *** 1999-03-11 00:17:38 +00:00
akkana%netscape.com 02574d59fa Fix purify UMR error -- thanks to braddr & bruce @ puremagic.com 1999-03-10 22:30:23 +00:00
av%netscape.com 5efd40a548 Rendering alt context in object tag 1999-03-10 20:43:07 +00:00
karnaze%netscape.com 6a4d5b1d87 bug 3407 1999-03-10 06:13:35 +00:00
troy%netscape.com ebad085fdd Some more table pagination improvements 1999-03-09 22:34:51 +00:00
warren%netscape.com c50687b845 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
troy%netscape.com d1cc042f2e Made sure NS_FRAME_COMPLETE is always returned. This fixes an incremental
reflow problem
1999-03-09 05:11:14 +00:00
troy%netscape.com 102096a6d6 Fixed it so that for incremental reflow commands the correct value is
passed for the available height
1999-03-09 05:01:59 +00:00
ftang%netscape.com ef26bbb0df add katakana, hiragana, katakana-iroha, hiragana-iroha, lower-greek 1999-03-09 01:56:02 +00:00
kipp%netscape.com 4f5301d5c4 Implement GetFrameName 1999-03-08 19:26:45 +00:00
kipp%netscape.com c2a02d7bce setup more skid marks (disabled) 1999-03-08 19:26:30 +00:00
kipp%netscape.com 1fa4b4f9eb Added a skid mark (disabled) 1999-03-08 19:26:09 +00:00
kipp%netscape.com 93d6bff384 added some nasty logging messages for frames that don't set max-element-size 1999-03-08 19:25:18 +00:00
kipp%netscape.com 1f0ae90eb5 Copy out computed combined area even when dealing with an zero height block; added some nasty logging messages for frames that don't set max-element-size 1999-03-08 19:25:03 +00:00
kipp%netscape.com 4d444e2f13 Compute combined-area more sanely; handle another nasty top margin bug (1910) 1999-03-08 19:24:07 +00:00
kipp%netscape.com 0b7d4e9d4e Removed a duplicated method; moved by debug asserts into a central spot 1999-03-08 19:22:55 +00:00
kipp%netscape.com 78209a0be1 Fixed bug #2052 - don't adjust the height when its computed 1999-03-08 19:22:16 +00:00
warren%netscape.com 6165d42084 Fixed uninitialized variable problem. 1999-03-06 03:54:19 +00:00
troy%netscape.com 1afaf4bfe9 Changed Reflow() to use style info from the HTML reflow state 1999-03-06 03:30:25 +00:00
troy%netscape.com 93bc8c37b3 Removed some code that is no longer needed 1999-03-06 01:58:33 +00:00
troy%netscape.com ae25a99e7a Eliminated some code that's no longer needed now that the info is in the
HTML reflow state
1999-03-06 01:48:28 +00:00
troy%netscape.com 756524925c Eliminated some code that's no longer needed now that the info is in the
HTML reflow state
1999-03-06 01:40:29 +00:00
troy%netscape.com 34074de63a Removed some static functions that are no longer needed 1999-03-06 00:48:45 +00:00
troy%netscape.com 4810c912a1 Added ComputePadding() member function 1999-03-06 00:36:59 +00:00
troy%netscape.com d368588674 Added ComputeMargin() member function that takes the containing block width
as an argument. This is necessary for absolutely positioned elements which use
the padding edge and not the content edge for the containing block
1999-03-05 22:24:27 +00:00
troy%netscape.com ec6b5f5965 Fixed containing block calculation for absolutely positioned elements. Now
uses padding edge and not the content edge
1999-03-05 21:26:49 +00:00
kipp%netscape.com 49b30b8c01 Cleanup state recomputation; fix bug # 3453 crasher; debug out some max-element-size issues 1999-03-05 19:25:44 +00:00
kipp%netscape.com 29d90160b9 Removed ref to dead nsFrameReflowState 1999-03-05 15:22:03 +00:00
kipp%netscape.com 29893a7946 use new nsHTMLReflowState ctors 1999-03-05 04:29:11 +00:00
kipp%netscape.com 44975aa096 Eliminate some compiler warnings 1999-03-05 04:28:54 +00:00
kipp%netscape.com 72e8fa0701 Output rects in twips; eliminated some typo bugs with selection directions 1999-03-05 04:28:40 +00:00
kipp%netscape.com 24b1378c74 use new nsHTMLReflowState ctors; made pages support IsPercentageBase 1999-03-05 04:28:07 +00:00
kipp%netscape.com d82c80b2ed Output rects in twips 1999-03-05 04:26:40 +00:00
kipp%netscape.com 19dc51eb86 use computed values from reflow state; made inline-reflow-state no longer isa html-reflow-state 1999-03-05 04:25:57 +00:00