Commit Graph

2086 Commits

Author SHA1 Message Date
kipp%netscape.com
a01e908524 Fixed a glitch in the debug noise 1999-09-17 23:15:31 +00:00
kipp%netscape.com
2652daef33 Fixed a glitch in word-breaking look ahead that was using the wrong content to compute the next fragments width (whoops!) 1999-09-17 23:14:47 +00:00
kipp%netscape.com
54f35e5a8e Fixed bug 8652 1999-09-17 20:16:53 +00:00
nisheeth%netscape.com
1e72d8adc5 Added measurement of reflow time and frame creation time during the loading of a page. 1999-09-17 07:16:42 +00:00
kipp%netscape.com
666a8d9c00 Removed list item hack 1999-09-17 00:57:40 +00:00
troy%netscape.com
a5d89af219 Minor changes to reduce the amount of unnecessary ref counting and speed
things up a little
1999-09-16 23:31:59 +00:00
troy%netscape.com
5a52201cf2 Fix for bug #13341. Changed DisplayAltFeedback() so it doesn't render the
recessed border unless there's room
1999-09-16 21:37:37 +00:00
kipp%netscape.com
f4124f6283 Fixed bugs 4572, 7400 and maybe 802 1999-09-16 19:56:36 +00:00
kipp%netscape.com
26e0a12c03 Expose left vs. right floaters (again) 1999-09-16 19:56:15 +00:00
kipp%netscape.com
ef65491e09 Temp tweak 1999-09-16 19:56:00 +00:00
cls%seawood.org
26a4d6dc7d Linux only: Removed -D_BSD_SOURCE from DEFINES as it is unnecessary now that __STRICT_ANSI__ is set in <prinet.h> 1999-09-16 14:54:18 +00:00
troy%netscape.com
410a37f467 Added nsHTMLReflowState constructor that allows containing block width
and height to be specified. This is needed for relatively positioned
block elements
1999-09-16 14:33:19 +00:00
kipp%netscape.com
bbea57fc6b formatting sillyness 1999-09-15 20:38:42 +00:00
kipp%netscape.com
7a1b979fb6 Squished a memory leak 1999-09-15 20:38:09 +00:00
troy%netscape.com
46f7140270 In CreateViewForFrame() removed code that was hiding view if the 'visibility'
property is 'hidden'
1999-09-15 04:54:00 +00:00
troy%netscape.com
5c8341b9f0 Removed code in CreateViewForFrame() that always forced relatively positioned
and absolutely positioned frames to have transparent views. It's not needed
now that bug #11637 is fixed
1999-09-15 04:16:31 +00:00
pollmann%netscape.com
73c3c9952a Bug 13058: Make global enum a public member. 1999-09-15 02:30:39 +00:00
mjudge%netscape.com
d71f4104da changes for bug fixes for dogfood. finding frames left and right should find the correct frame and not give up so easily. nsTextFrame needed to change getpositionslowly. 1999-09-15 01:57:50 +00:00
nisheeth%netscape.com
313baf741f Start of instrumentation of the presshell to calculate timing data for the reflow process. 1999-09-15 00:43:53 +00:00
kipp%netscape.com
6488f7b26e Fixed various incremental reflow bugs (1764,12890,1910,2222) and list bullet painting bug (10675,13599) 1999-09-15 00:28:10 +00:00
kipp%netscape.com
090878a3d5 Added kIAreaFrameIID 1999-09-15 00:27:20 +00:00
kipp%netscape.com
924f578517 Upgraded incremental reflow debugging support 1999-09-15 00:27:05 +00:00
kipp%netscape.com
c06ce86187 Added GetSpaceManager 1999-09-15 00:26:44 +00:00
kipp%netscape.com
d0e73c20e6 Removed MoveInSpaceManager 1999-09-15 00:26:39 +00:00
kipp%netscape.com
eee4794fda Disabled (obsolete?) usage of MoveInSpaceManager 1999-09-15 00:26:10 +00:00
kipp%netscape.com
bab712b6e1 Added some spacemanager debugging noise 1999-09-15 00:25:51 +00:00
kipp%netscape.com
999be9a0a1 Implement List method 1999-09-15 00:24:54 +00:00
sfraser%netscape.com
c0fa195473 Remove some redundant caret methods in the pres shell, and use my funky new stack-based caret hider class to manage caret visibility during difficult times. 1999-09-14 23:43:35 +00:00
sfraser%netscape.com
2ad5b8ffa2 Fix a warning. 1999-09-14 23:41:49 +00:00
mjudge%netscape.com
611e47bbd4 content iter not initing properly for reuse. text frame not selecting slowly properly, bad bounds checking :(. rangelist now traversing each node in a spaniter with a normal iter to make SURE we get all the children! 1999-09-14 23:16:22 +00:00
evaughan%netscape.com
d1525e5bd4 Fixed some bugs in splitter
added auto collapse.
1999-09-14 22:17:19 +00:00
troy%netscape.com
b80b7939b1 Fix for bug #13700. Removed a warning that's no longer needed 1999-09-14 04:43:16 +00:00
pollmann%netscape.com
ea3c61f2be Bug 13058: Tweaks to StatefulFrame interface - and not keeping state for anonymous content 1999-09-14 02:00:20 +00:00
briano%netscape.com
97faab6716 General cleanup. 1999-09-14 01:02:20 +00:00
mjudge%netscape.com
e2d1d73278 fixes for selection. up/down arrow behavior and also extending selection. all should be in peek offset ect. Also adding in a slight change to the hack (which should go away soon) that will stop the editor from scrolling when up/down left/right ect are clicked. when key events go in this code will be removed 1999-09-13 22:19:31 +00:00
troy%netscape.com
5c61cb8ef4 Added frame type for OBJECT frame 1999-09-13 21:26:05 +00:00
cls%seawood.org
762fca642e Fix my bustage using -D_BSD_SOURCE 1999-09-12 16:41:14 +00:00
mjudge%netscape.com
eaa78b424a fixes for crasher in tree 1999-09-11 00:18:02 +00:00
kipp%netscape.com
fb8c244c9f Fixed two incremental reflow bugs (12890) 1999-09-10 18:52:56 +00:00
kipp%netscape.com
c211a54bed Tweaked incremental reflow support logic 1999-09-10 18:49:23 +00:00
mjudge%netscape.com
046cdcb844 changes for peekoffset removal of extra parameters. also fixing some ownership issues with nsIenumerator and the rangelist iterator. fixing also some hit tests for line frames. 1999-09-10 18:29:37 +00:00
peterl%netscape.com
fa95528749 added content state changed notification 1999-09-10 05:52:23 +00:00
briano%netscape.com
08af3df2e0 General cleanup. 1999-09-10 00:18:42 +00:00
kipp%netscape.com
ee216379ac Fixed refcnt crash bug with style-contexts (bad nscomptr usage -- whoops) 1999-09-09 21:54:20 +00:00
kipp%netscape.com
beadfcb37c Reworked to be more css compliant; factored compatability logic out of nsInlineFrame into here 1999-09-09 21:04:37 +00:00
kipp%netscape.com
606ea6edd9 Cleaned up 1999-09-09 21:04:00 +00:00
kipp%netscape.com
9f50793471 Added rendering context to CalcLineHeight API 1999-09-09 21:03:46 +00:00
kipp%netscape.com
e5499ef843 Reworked nsHTMLReflowState::CalcLineHeight (bug 6865) 1999-09-09 21:03:27 +00:00
kipp%netscape.com
056b8e9197 Fixed bug 10820 1999-09-09 21:02:02 +00:00
kipp%netscape.com
ed874d1439 Fixed infinite loop 12747 1999-09-09 20:53:32 +00:00
kipp%netscape.com
f73fad9197 Updated for revised line-layout algorithm 1999-09-09 20:53:18 +00:00
mjudge%netscape.com
ba4611bb7d addiung selectable BRFrames. but brframes arent like images ect. they give you a collapsed range, collapsed to just "before" themselves. this will help editing immensely. this should also fix some mail news issues 1999-09-08 19:43:17 +00:00
av%netscape.com
b6788ffcc5 Fixing bug 7509 1999-09-08 00:12:26 +00:00
mjudge%netscape.com
a5ac5b186c adding in begin line and end line enums for selection movement. this allows peeking to the start and end of and like given a content offset for any frame. 1999-09-07 23:40:17 +00:00
mjudge%netscape.com
591daffd24 Had a loop that did not reset one variable for "next" iteration. this will fix arrow up/down ya. 1999-09-07 18:47:01 +00:00
peterl%netscape.com
b5b37d859e added reparent style context 1999-09-03 23:35:41 +00:00
peterl%netscape.com
09ea141535 added accessors to additional style contexts 1999-09-03 23:35:14 +00:00
ftang%netscape.com
31de89ab0f fix bug 13063 12881 1999-09-03 22:46:16 +00:00
danm%netscape.com
e68f60f671 implemented intrinsic sizing method on DOM Window 1999-09-03 22:41:56 +00:00
rods%netscape.com
e2e4220db7 Added NS_NewSelectsAreaFrame 1999-09-03 14:52:17 +00:00
rods%netscape.com
ec3b6092be Added nsSelectsAreaFrame.cpp to build 1999-09-03 14:38:26 +00:00
rods%netscape.com
9cfdd9cffd initial add (not in the build yet) 1999-09-03 14:25:15 +00:00
kipp%netscape.com
86e12ae621 Implement fix for bug #5821 as per dbaron's suggestion 1999-09-03 03:47:49 +00:00
bienvenu%netscape.com
f466ad1dda fix build bustage 1999-09-02 19:21:45 +00:00
joki%netscape.com
de39ff5831 Fix for bug 12226, allow reentrant events 1999-09-02 18:14:01 +00:00
kipp%netscape.com
1e904c8b7b Save some memory by not saving away useless text runs 1999-09-02 18:01:59 +00:00
mjudge%netscape.com
3b3c9f8b30 oops infinite loop. need to break out if no frame is found. 1999-09-02 00:04:56 +00:00
mjudge%netscape.com
fa5d3c3459 new selection code for dead areas. this is much better, trust me. the block frame now will look at its best line and look for a spot to select. if it finds another block frame now, it will continue the process in a while loop. each time looking for best x and y area. this reuses the code located in GetNextPrevLine. 1999-09-01 21:40:16 +00:00
kipp%netscape.com
ae12f6c7e5 Added in support for IE specific area types 1999-09-01 20:58:17 +00:00
kipp%netscape.com
510e253e0f Create floating frame properly (bug #2751) 1999-09-01 20:57:58 +00:00
kipp%netscape.com
121e487001 Fixed to account for the overflow hidden value when computing the combined area (bug #2751) 1999-09-01 20:57:37 +00:00
troy%netscape.com
8ca21e9d4e Fixed compiler warning 1999-09-01 04:32:45 +00:00
kipp%netscape.com
1ea958d508 Added missing #ifdef's 1999-09-01 02:03:50 +00:00
troy%netscape.com
3688b0a7ce Fix for bug #12864. Changed CreateViewForFrame() so it respects the z-index
of relatively positioned elements
1999-09-01 01:10:24 +00:00
kipp%netscape.com
7fe2679e86 Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
nisheeth%netscape.com
dfd7b5d559 - Added setter for history state to nsIPresShell
- Added capture/restore frame state methods to nsIFrameManager
- Added a getter for state type to nsIStatefulFrame.
- Changed the save/restore method parameters  in nsIStateful frame
  so that only the frame state gets passed to the stateful frame.
- Implemented all the new interface methods in the respective implementation classes.
1999-08-31 14:35:50 +00:00
kipp%netscape.com
9f71d4027a Tally up lineBox's and textRun's seperately 1999-08-31 04:32:13 +00:00
kipp%netscape.com
f808fbb193 Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
nisheeth%netscape.com
a208673213 Added get/set document state API for use by session history. 1999-08-30 22:38:58 +00:00
evaughan%netscape.com
f19bc0e464 Numberous fixes 1999-08-30 22:32:25 +00:00
kin%netscape.com
5fb0f43078 Temporary fix for bug #9708 and #12438.
Modified Reflow() to set the scrollbar
dimensions to zero if the scrollbars are hidden.
1999-08-30 21:55:02 +00:00
kin%netscape.com
bfd4c1f102 Fix for bugs #7153, #10673, #12066, #12067, and #12793.
editor/base/nsEditorEventListeners.cpp
editor/base/nsEditorEventListeners.h

  - Added code to scroll the selection into view
    after processing key events.
  - Commented out the hack that redraws the entire
    view when the focus is gained and lost. Replaced
    the hack code with calls to RepaintSelection().

layout/base/public/nsIFrameSelection.h
layout/base/public/nsIPresShell.h
layout/html/base/src/nsPresShell.cpp
   - Added ScrollSelectionIntoView() and RepaintSelection() methods.

layout/base/src/nsRangeList.cpp
   - Added implementation for ScrollSelectionIntoView() and
     RepaintSelection().
   - Check for NULL primary frame in GetFocusNodeRect()
     to fix bug #12793.
1999-08-30 21:54:40 +00:00
troy%netscape.com
ea250c6886 Changed block frame code to cache the max element width. This enables
us to ask for the maxElementSize when doing an incremental reflow
1999-08-28 00:39:55 +00:00
kipp%netscape.com
0c8f598a12 Added hack code (for me) to allow for stack depth testing 1999-08-27 21:50:37 +00:00
kipp%netscape.com
bcb6fd2f40 Fixed computation of max-element-size for bug #12384; don't compute line-height in this class 1999-08-27 21:50:06 +00:00
kipp%netscape.com
07283caa5c Shrink down size of nsLineLayout object 1999-08-27 21:49:12 +00:00
kipp%netscape.com
06e81276ec Keep trakc of the depth of reflow to allow for limiting stack usage (bug #10310) 1999-08-27 21:48:54 +00:00
kipp%netscape.com
a990e6fdbf Don't paint frames that are unflowable 1999-08-27 21:48:21 +00:00
kipp%netscape.com
0131e47431 Added IsFrameTreeTooDeep method to support code handling bug #10310 1999-08-27 21:48:06 +00:00
kipp%netscape.com
5be7df2d3e Fixed bug 12451 - use list-style-type when image doesn't load or is loading 1999-08-27 21:47:39 +00:00
kipp%netscape.com
74746dee38 Cache computed width so that during placement of the block we can see if auto margins need recomputing (bug #1164) 1999-08-27 21:47:04 +00:00
kipp%netscape.com
e40963e370 Reduce stack size by allocating nsLineLayout objects from the heap when the frame tree depth gets too big (bug #10310) 1999-08-27 21:45:37 +00:00
kipp%netscape.com
424e55fe9d Reduced the default number of nsBandTrapezoids to reduce stack space used (bug #10310) 1999-08-27 21:44:10 +00:00
evaughan%netscape.com
f781250e40 Fixed to gfx scrollbar.
Fixed some blockers.
1999-08-27 06:06:39 +00:00
pinkerton%netscape.com
bb33f01d50 remove refs to nsIContentConnector 1999-08-27 04:30:48 +00:00
troy%netscape.com
8d4c41ad24 Fix for bug #12449. Changed UpdateImageFrame() so that if the content object
has a NULL document object (the case for generated content) we mark the image
frame dirty and generate a reflow command targeted at the parent frame
1999-08-25 23:55:57 +00:00
troy%netscape.com
a5ea47b596 Fix for bug #12444. Made sure that for a "StyleChanged" reflow command we
invalidate our entire bounds
1999-08-25 23:15:36 +00:00
mjudge%netscape.com
5272505f4a added in selection of tables/images as blue borders for browser. 1999-08-25 22:19:23 +00:00
karnaze%netscape.com
49bded7631 changed conditional NS_RELEASE to NS_IF_RELEASE to fix memory leak 1999-08-25 21:57:15 +00:00
karnaze%netscape.com
7dddc57925 bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol 1999-08-25 21:49:18 +00:00