1326 Commits

Author SHA1 Message Date
ftang%netscape.com
8b4d6e129c fix bug 4240,5532,5529,7899 pass in current word buffer to ComputeWordWidth functions so we have the whole text that we can pass to line breaker.
git-svn-id: svn://10.0.0.236/trunk@41292 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 14:47:24 +00:00
troy%netscape.com
dd72d8029f Changed root frame class over to new reflow command handling
git-svn-id: svn://10.0.0.236/trunk@41287 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 14:15:42 +00:00
av%netscape.com
48b8cdd78f fixing bug #8290
git-svn-id: svn://10.0.0.236/trunk@41205 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 01:35:30 +00:00
troy%netscape.com
6b27e8cd0c Fix for bug #10395. Now we recalculate margins when we use the minimum or
maximum value for the computed width/height. This applies to positioned
elements only


git-svn-id: svn://10.0.0.236/trunk@41181 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 00:48:47 +00:00
rickg%netscape.com
ba693215ad replaced calls to deprecated nsString API
git-svn-id: svn://10.0.0.236/trunk@41075 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 00:37:24 +00:00
troy%netscape.com
ed06c35f34 Added 'm' prefix to structs defined in nsISpaceManager
git-svn-id: svn://10.0.0.236/trunk@41059 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 19:01:13 +00:00
troy%netscape.com
fca2c43f1f Cleanup of reflow command handling
git-svn-id: svn://10.0.0.236/trunk@41005 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 21:41:15 +00:00
troy%netscape.com
391149c4d4 Moved code that repaints after a resize or initial reflow to the viewport
git-svn-id: svn://10.0.0.236/trunk@40977 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 15:18:24 +00:00
troy%netscape.com
6297f61432 Changed to use the new reflow command handling
git-svn-id: svn://10.0.0.236/trunk@40963 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 03:59:47 +00:00
troy%netscape.com
448fbdd0ee Changed area frame code over to new reflow command handling
git-svn-id: svn://10.0.0.236/trunk@40955 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 02:37:45 +00:00
troy%netscape.com
59f067c692 Added VerifyDirtyBitSet() helper function
git-svn-id: svn://10.0.0.236/trunk@40954 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 02:37:06 +00:00
troy%netscape.com
ad761afe38 Defined it so that the NS_FRAME_IS_DIRTY flag is set for newly added frames in
SetInitialChildlist(), AppendFrames(), InsertFrames(), and ReplaceFrame()


git-svn-id: svn://10.0.0.236/trunk@40953 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 02:33:07 +00:00
pollmann%netscape.com
203c71adbd Bug 10301: Check base target for image maps
git-svn-id: svn://10.0.0.236/trunk@40679 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 18:47:23 +00:00
troy%netscape.com
73690aa1c5 Added ReplaceFrame() member function to nsIFrame
git-svn-id: svn://10.0.0.236/trunk@40599 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 04:32:31 +00:00
troy%netscape.com
a314bc3877 Renamed some nsFrameList member functions
git-svn-id: svn://10.0.0.236/trunk@40595 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 04:00:57 +00:00
troy%netscape.com
947927e816 Renamed DeleteFrame() to Destroy()
git-svn-id: svn://10.0.0.236/trunk@40585 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 02:24:52 +00:00
troy%netscape.com
afd55b77d6 Added NS_FRAME_IS_DIRTY flag to the frame state flags
git-svn-id: svn://10.0.0.236/trunk@40547 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 23:47:01 +00:00
troy%netscape.com
25df555ae8 Removed IsTransparent() function from nsIFrame
git-svn-id: svn://10.0.0.236/trunk@40539 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 23:15:39 +00:00
troy%netscape.com
8ac7d2a316 Made sure to Invalidate() for the initial reflow, too
git-svn-id: svn://10.0.0.236/trunk@40411 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 04:39:24 +00:00
brade%netscape.com
bbafb3d9ad Implement InvertRect on Mac. r sfraser
git-svn-id: svn://10.0.0.236/trunk@40365 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 23:38:55 +00:00
ramiro%netscape.com
3903eb4d89 Adding support for XOR selection. Updated nsIRenderingContext interface
to support InvertRect() for the XOR-ing of rectangles.  Makes selection
work as expected on windows and unix as opposed to the rectangle hack.
Stubs added for all other platforms.


git-svn-id: svn://10.0.0.236/trunk@40252 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 07:26:09 +00:00
troy%netscape.com
8d07a8a962 Added 'm' prefix to a couple more data members of nsHTMLReflowState struct
git-svn-id: svn://10.0.0.236/trunk@40217 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 03:51:46 +00:00
troy%netscape.com
a89529386f Added 'm' prefix to some of the nsHTMLReflowState data members
git-svn-id: svn://10.0.0.236/trunk@40215 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 03:41:03 +00:00
troy%netscape.com
2500818fde Fix for bug #9611: now handles absolutely positioned replaced elements
git-svn-id: svn://10.0.0.236/trunk@40211 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 02:48:18 +00:00
rickg%netscape.com
541f805b78 switch to faster string search API
git-svn-id: svn://10.0.0.236/trunk@40073 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 03:29:56 +00:00
rickg%netscape.com
eaead748d4 fixed bug 9845
git-svn-id: svn://10.0.0.236/trunk@39984 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 06:35:52 +00:00
mjudge%netscape.com
329d39ba11 massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape.
git-svn-id: svn://10.0.0.236/trunk@39971 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 02:27:19 +00:00
peterl%netscape.com
e0ba937dbe fix reresolve style context to iterate all child lists
git-svn-id: svn://10.0.0.236/trunk@39938 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:18:45 +00:00
troy%netscape.com
3be19d2ceb Added NotifyDestroyingFrame() function to nsIPresShell
git-svn-id: svn://10.0.0.236/trunk@39784 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 23:25:15 +00:00
sfraser%netscape.com
507def446e Don't cast a char* to a PRUnichar* array when calling PaintTextDecorations.
git-svn-id: svn://10.0.0.236/trunk@39568 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 23:11:35 +00:00
mjudge%netscape.com
f9575d1f61 checkin for carpool for multiple seleciton/ime selection and api changes to nsIDOMselection
git-svn-id: svn://10.0.0.236/trunk@39541 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 18:19:03 +00:00
kipp%netscape.com
640d0c303c Disabled my debug noise (whoops)
git-svn-id: svn://10.0.0.236/trunk@39365 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 20:40:23 +00:00
nisheeth%netscape.com
ed5a80febc Fix for bug 8314. The block frame takes the bullet's position and area into account when it sets the combined area of the frame during reflow.
git-svn-id: svn://10.0.0.236/trunk@39322 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 18:02:14 +00:00
kipp%netscape.com
921f8fba89 Removed compiler warnings
git-svn-id: svn://10.0.0.236/trunk@39309 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:30:22 +00:00
kipp%netscape.com
8e165c701f Removed some compiler warnings
git-svn-id: svn://10.0.0.236/trunk@39307 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:29:45 +00:00
kipp%netscape.com
4bbbd95c0d Removed some compiler warnings; fix subtlety with handling empty inline frames and whitespace compression for bug #5999
git-svn-id: svn://10.0.0.236/trunk@39306 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:29:32 +00:00
kipp%netscape.com
1ff6d04d8d Clean up warnings
git-svn-id: svn://10.0.0.236/trunk@39304 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:28:45 +00:00
kipp%netscape.com
d1764fc8aa Eliminate a warning
git-svn-id: svn://10.0.0.236/trunk@39302 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:28:00 +00:00
kipp%netscape.com
761178d0e9 Check for another bad reflow child behavior
git-svn-id: svn://10.0.0.236/trunk@39301 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:27:48 +00:00
kipp%netscape.com
8303ab8b7f Cleaned up some warnings; use some com-ptrs
git-svn-id: svn://10.0.0.236/trunk@39299 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:27:24 +00:00
kipp%netscape.com
2b3dad791b Various and sundry bug fixes
git-svn-id: svn://10.0.0.236/trunk@39298 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:26:20 +00:00
kipp%netscape.com
5cdd7daa80 Tweaked area frame shrink wrapping for bug #5999
git-svn-id: svn://10.0.0.236/trunk@39297 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:26:12 +00:00
troy%netscape.com
d21da38397 Changed Reflow() to invalidate bounds for an incremental reflow
git-svn-id: svn://10.0.0.236/trunk@39265 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 15:20:01 +00:00
troy%netscape.com
f6bc6f48ef Changed Reflow() and ReflowDirtyLines() to invalidate the damaged areas
after an incremental reflow


git-svn-id: svn://10.0.0.236/trunk@39260 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 15:16:56 +00:00
troy%netscape.com
8caf686863 Area frame no longer invalidates its entire bounds after an incremental reflow,
and instead it's up to the individual frames to invalidate their damaged areas


git-svn-id: svn://10.0.0.236/trunk@39259 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 15:15:01 +00:00
andreas.otte%primus-online.de
aa8f29f8c5 NECKO only: Using helper function NS_MakeAbsoluteURI A: chofmann R:valeski
git-svn-id: svn://10.0.0.236/trunk@38985 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-11 15:46:10 +00:00
kipp%netscape.com
e892b41a7f Fixed bug 6574 - the problem was that the current color was being reset when the text decoration, in this case an underline, was being drawn so that the next chunk of text rendered in the smallcaps font was drawn in the wrong color
git-svn-id: svn://10.0.0.236/trunk@38808 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 19:52:57 +00:00
kipp%netscape.com
35b87caf87 Only pass on url to server side image map when we end up with a valid url
git-svn-id: svn://10.0.0.236/trunk@38806 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 19:44:42 +00:00
kipp%netscape.com
50e58c37d3 Fix bug #652 - made server side image maps find the proper href to base the url on by looking up the content tree of an nsIDOMHTMLAnchorElement
git-svn-id: svn://10.0.0.236/trunk@38805 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 19:38:08 +00:00
warren%netscape.com
f165677628 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods.
git-svn-id: svn://10.0.0.236/trunk@38659 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 08:08:40 +00:00