warren%netscape.com
b90a06a288
Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
1999-10-08 01:49:06 +00:00
troy%netscape.com
1877c607ff
Moved space manager to block frame and changed it the space manager is
...
temporary only during the reflow process
r=kipp@netscape.com
1999-10-06 22:05:23 +00:00
troy%netscape.com
a0c07c636e
Space issue. r=kipp@netscape.com
...
Replaced hash table which used lots of memory with simple linked list of
FrameInfo* structs
1999-10-06 04:22:51 +00:00
kipp%netscape.com
3741d5254a
r=troy; Added in ctor/dtor counting
1999-10-05 14:51:12 +00:00
rpotts%netscape.com
248e31bd70
bug #15341 and bug #15344 . Use the documentloader observer instead of a stream observer.
1999-10-05 04:04:16 +00:00
peterl%netscape.com
697873d57e
removing dead style change code
...
r=troy
1999-10-02 04:24:20 +00:00
troy%netscape.com
d219ef5e29
Added SizeOf() handler for floater information maintained by the
...
line box
1999-10-02 02:51:03 +00:00
troy%netscape.com
6f0d3813a7
Added SizeOf() handler for space manager
1999-10-02 00:52:01 +00:00
av%netscape.com
eacb18ec27
Fixing bug #8036 , reviewd by beard
1999-09-30 08:07:23 +00:00
mjudge%netscape.com
d5261a4cad
fixing optimizations for table selection as well as making sure all flags are turned on/off for text frames when one frame is selected..
1999-09-29 20:36:00 +00:00
kin%netscape.com
ff2c034123
First pass implementation of selection auto scrolling.
...
layout/base/public/nsIFrame.h
- Added GetContentAndOffsetsFromPoint() method. This
method will eventually replace GetPosition().
layout/base/public/nsIFrameSelection.h
- Added HandleDrag() and Start/StopAutoScrollTimer() methods.
layout/base/src/nsRangeList.cpp
- Added implementation for HandleDrag() and
Start/StopAutoScrollTimer() methods.
layout/html/base/src/nsBRFrame.cpp
- Added implementation for GetContentAndOffsetsFromPoint().
layout/html/base/src/nsFrame.cpp
layout/html/base/src/nsFrame.h
- Added implementation for GetContentAndOffsetsFromPoint().
- Added GetClosestViewForFrame() utility method.
- Modified HandleEvent() to call HandleRelease() which now
stops the auto scrolling timers.
- Modified HandleDrag() to call nsIFrameSelection's HandleDrag()
and Start/StopAutoScrollTimer() methods.
layout/html/base/src/nsTextFrame.cpp
- Added implementation for GetContentAndOffsetsFromPoint().
1999-09-29 20:04:05 +00:00
troy%netscape.com
2ab1981c55
Fix for bug #15152 . Moved check for "no wrap" inside of loop. This fixes a
...
problem where blocks inside of blocks were not getting marked dirty
1999-09-29 05:09:19 +00:00
peterl%netscape.com
45ae24d59f
manage view visibility better, hide collapsed views and hidden views with widgets
1999-09-29 03:37:02 +00:00
peterl%netscape.com
0ee00122a0
manage view visibility better
1999-09-29 03:36:16 +00:00
troy%netscape.com
2d378f679b
Part of the fix for bug #11633 . Check the NS_FRAME_OUT_OF_FLOW bit and make
...
sure the frame was really moved out of the flow
1999-09-28 23:42:35 +00:00
mjudge%netscape.com
038109f57b
aproved leaf. reviews sfraser. checking for null stopping crash
1999-09-28 00:13:19 +00:00
troy%netscape.com
843e094239
Fix for bug #14959 . Made sure that lines with floaters are also marked
...
dirty
1999-09-27 20:53:05 +00:00
troy%netscape.com
3b9c13faa9
Fixes for bug #2552 and bug #10961
1999-09-26 20:40:29 +00:00
warren%netscape.com
add4f1c124
Refcounted case conversion service properly
1999-09-26 10:05:51 +00:00
mjudge%netscape.com
0bb65d1fc8
fixes for M11 a=shaver r=cmanske. this will add 1 enumerator value to en enum in nsIFrame so dont be scared. this is for tweaking selection should not affect anyone outside of selection/editor
1999-09-25 23:33:02 +00:00
troy%netscape.com
2ed263d46e
Optimized PrepareResizeReflow() so it doesn't mark lines dirty if they don't need
...
to be reflowed
1999-09-25 16:50:45 +00:00
kipp%netscape.com
da5609e4b9
Refixed bug #10496 - a=choffman, r=troy
1999-09-24 17:23:33 +00:00
mjudge%netscape.com
247c5ac792
more tweaks for line boundaries. previous
1999-09-22 07:26:37 +00:00
mjudge%netscape.com
8e608e33df
tweaked word left and word right again. got double click working on edge cases! yeah
1999-09-22 07:09:41 +00:00
mjudge%netscape.com
f187d94247
recursion failing finding the same frame we started with sometimes with generated content from style. simple 2 line check to avoind this. dagley said ok to check in red tree since not hurting anyone.
1999-09-22 06:12:44 +00:00
mjudge%netscape.com
f4d520bbf9
approved by Dagley. fixes for CTRL_LEFT and CTRL_RIGHT navigation and wrapping
1999-09-22 05:56:44 +00:00
mjudge%netscape.com
375e6fb76f
fixes for line/frame traversal. now we use more common code inside nsFrame rather than nsTextFrame specific code all the time.
1999-09-22 04:12:23 +00:00
joki%netscape.com
de1d4abc32
Adding support for event.clickCount, obsoleting old dblclick event.
1999-09-22 02:29:33 +00:00
mjudge%netscape.com
208c00015a
fix for going to correct offset in selection with keyboard navigation
1999-09-22 01:19:04 +00:00
kipp%netscape.com
4c8eb1ba81
Queue up a reflow command when yanking floaters so that cases like bug #11389 work properly
1999-09-22 00:58:58 +00:00
kipp%netscape.com
a4d231b7a0
Whoops, left some noise on
1999-09-22 00:41:13 +00:00
kipp%netscape.com
20d20949a5
Fixed various bugs including part of 14486 and 14427; cleaned up the usage of stack based buffers to avoid future issues
1999-09-22 00:40:56 +00:00
kipp%netscape.com
4f1117a580
Changed to have the stack buffer embedded in the xformer
1999-09-22 00:40:16 +00:00
kipp%netscape.com
75daffe520
Fixed part of bug 5726 by making spacers have some definite area when they have a non-zero size
1999-09-22 00:39:47 +00:00
mjudge%netscape.com
f9f66c8c83
changes to selection code to stop a never ending loop
1999-09-21 22:58:14 +00:00
peterl%netscape.com
2e3a8d9de7
removed ReResolveStyleContext
1999-09-21 07:56:18 +00:00
peterl%netscape.com
342937acdb
removed ReResolveStyleContext
...
added style tree verify flag
1999-09-21 07:51:52 +00:00
peterl%netscape.com
5c809530ca
removed ReResolveStyleContext
...
added flag for style tree verify
1999-09-21 07:48:34 +00:00
troy%netscape.com
d341d05f91
Fix for bug #14414 . Changed DoRemoveFrame() to invalidate the space taken
...
up by the line when deleting an empty line
1999-09-21 05:15:39 +00:00
kipp%netscape.com
70e4dc16f9
Eliminate a warning
1999-09-21 02:20:14 +00:00
hyatt%netscape.com
a8749017eb
Chrome event stuff. Menu changes.
1999-09-21 01:03:00 +00:00
kipp%netscape.com
2130f3ba1b
Reworked side margin calculations to fix (finally!) bug 11932; also cleaned up table side margin handling to better match nav's behavior yet move forward with css2
1999-09-21 00:15:16 +00:00
kipp%netscape.com
062881c39a
Reimplement TrimTrailingWhiteSpace; fixed another combined area bug (12910)
1999-09-21 00:14:22 +00:00
kipp%netscape.com
561c2fcb48
Reimplement TrimTrailingWhiteSpace
1999-09-21 00:13:50 +00:00
kipp%netscape.com
2d9d8238ec
Bring TrimTrailingWhiteSpace back to life after troy's changes
1999-09-21 00:12:50 +00:00
kipp%netscape.com
7725dd3dd0
Tweaked list logic
1999-09-21 00:12:27 +00:00
mjudge%netscape.com
790ac1c492
checking in fixes for selection around nodes where get primary frame will not lead to the discovery of all frames
1999-09-20 21:47:37 +00:00
troy%netscape.com
42ed16c7fa
Optimized Reflow() some more. In the case where we're not measuring text but
...
we need to peek ahead and so we need to know the length of the last word, if
there's only one word in the text run then we can avoid measuring
1999-09-19 04:42:54 +00:00
troy%netscape.com
239280dca3
Backed out some changes that aren't needed and were fixed with a change
...
to the frame construction code
1999-09-19 00:59:38 +00:00
troy%netscape.com
637d445656
Optimized reflow to skip measuring of the text for a resize reflow (when
...
possible)
1999-09-18 16:22:34 +00:00
alecf%netscape.com
908598f90d
fix a bunch of null-derefing problems when accessing http://webmail.netscape.com/ and add some assertions when these things happen
1999-09-18 01:00:43 +00:00
alecf%netscape.com
4d82041e65
fix dereferencing error on slashdot.org
1999-09-18 00:48:51 +00:00
kipp%netscape.com
1aabe81721
Handle right aligned skipped floaters a little better
1999-09-18 00:20:48 +00:00
kipp%netscape.com
ce5df13558
Fixed various bugs including incremental list reflow (9742) and some table bugs with right floaters
1999-09-17 23:16:43 +00:00
kipp%netscape.com
00f3f37389
Added more (disabled) debug noise
1999-09-17 23:15:53 +00:00
kipp%netscape.com
890e8c7391
Fixed a glitch in the debug noise
1999-09-17 23:15:31 +00:00
kipp%netscape.com
3b3b365267
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
e6b4b1cc8a
Removed list item hack
1999-09-17 00:57:40 +00:00
troy%netscape.com
b5fa42f1ba
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
b85ec6a2c5
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
9fdbdffbb6
Fixed bugs 4572, 7400 and maybe 802
1999-09-16 19:56:36 +00:00
kipp%netscape.com
ae98180257
Expose left vs. right floaters (again)
1999-09-16 19:56:15 +00:00
kipp%netscape.com
a1b9f12c2c
Temp tweak
1999-09-16 19:56:00 +00:00
troy%netscape.com
6c9680c089
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
warren%netscape.com
48cf4685a9
Factored file transport service out of file: protocol.
1999-09-16 01:16:22 +00:00
kipp%netscape.com
05070071b7
formatting sillyness
1999-09-15 20:38:42 +00:00
kipp%netscape.com
5976ab4e32
Squished a memory leak
1999-09-15 20:38:09 +00:00
troy%netscape.com
4e647eca28
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
25d90dc5f3
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
a170712586
Bug 13058: Make global enum a public member.
1999-09-15 02:30:39 +00:00
mjudge%netscape.com
3a9ca8d5ed
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
kipp%netscape.com
373c362b32
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
99de390ca1
Removed MoveInSpaceManager
1999-09-15 00:26:39 +00:00
kipp%netscape.com
bfa787c1c7
Disabled (obsolete?) usage of MoveInSpaceManager
1999-09-15 00:26:10 +00:00
kipp%netscape.com
2dfefb723d
Added some spacemanager debugging noise
1999-09-15 00:25:51 +00:00
kipp%netscape.com
147322f9aa
Implement List method
1999-09-15 00:24:54 +00:00
sfraser%netscape.com
86b2202eba
Fix a warning.
1999-09-14 23:41:49 +00:00
mjudge%netscape.com
3c1962540f
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
cc94b6273b
Fixed some bugs in splitter
...
added auto collapse.
1999-09-14 22:17:19 +00:00
pollmann%netscape.com
82013ad7ea
Bug 13058: Tweaks to StatefulFrame interface
1999-09-14 01:58:49 +00:00
mjudge%netscape.com
6062bf5382
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
bde4ac61db
Added frame type for OBJECT frame
1999-09-13 21:26:05 +00:00
mjudge%netscape.com
24a5d270fd
fixes for crasher in tree
1999-09-11 00:18:02 +00:00
kipp%netscape.com
311d2c3974
Fixed two incremental reflow bugs (12890)
1999-09-10 18:52:56 +00:00
mjudge%netscape.com
8a55b0d40e
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
c1fcb2b00d
added content state changed notification
1999-09-10 05:52:23 +00:00
peterl%netscape.com
f653338e5d
added content state changed (vs content changed) notification
1999-09-10 05:50:02 +00:00
kipp%netscape.com
ff953161c7
Fixed refcnt crash bug with style-contexts (bad nscomptr usage -- whoops)
1999-09-09 21:54:20 +00:00
kipp%netscape.com
f452078c3f
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
31f17c4d3e
Cleaned up
1999-09-09 21:04:00 +00:00
kipp%netscape.com
e94d89cd09
Reworked nsHTMLReflowState::CalcLineHeight (bug 6865)
1999-09-09 21:03:27 +00:00
kipp%netscape.com
13cb15d291
Fixed bug 10820
1999-09-09 21:02:02 +00:00
kipp%netscape.com
43456dad64
Fixed infinite loop 12747
1999-09-09 20:53:32 +00:00
kipp%netscape.com
1660ad99f6
Updated for revised line-layout algorithm
1999-09-09 20:53:18 +00:00
mjudge%netscape.com
6af1b95040
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
0f13ced10e
Fixing bug 7509
1999-09-08 00:12:26 +00:00
mjudge%netscape.com
7b6345b29b
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
8a90ee7653
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
e8b68a5fce
added reparent style context
1999-09-03 23:35:41 +00:00
peterl%netscape.com
6c381d978e
added accessors to additional style contexts
1999-09-03 23:35:14 +00:00
ftang%netscape.com
00528a4ff3
fix bug 13063 12881
1999-09-03 22:46:16 +00:00
danm%netscape.com
fe1d16cc98
implemented intrinsic sizing method on DOM Window
1999-09-03 22:41:56 +00:00
rods%netscape.com
8bf2296fc4
Added NS_NewSelectsAreaFrame
1999-09-03 14:52:17 +00:00
bruce%cybersight.com
6018f42da1
Use nsCRT::free() instead of delete[] for char* data.
1999-09-03 07:42:41 +00:00
kipp%netscape.com
178818de64
Implement fix for bug #5821 as per dbaron's suggestion
1999-09-03 03:47:49 +00:00
kipp%netscape.com
2be371791e
Save some memory by not saving away useless text runs
1999-09-02 18:01:59 +00:00
mjudge%netscape.com
94c7196c4d
oops infinite loop. need to break out if no frame is found.
1999-09-02 00:04:56 +00:00
mjudge%netscape.com
c9b2693769
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
7b59e3ca00
Added in support for IE specific area types
1999-09-01 20:58:17 +00:00
kipp%netscape.com
8b99ad7742
Create floating frame properly (bug #2751 )
1999-09-01 20:57:58 +00:00
kipp%netscape.com
f0048804d8
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
a62ed57ff4
Fixed compiler warning
1999-09-01 04:32:45 +00:00
kipp%netscape.com
acbb1274b9
Added missing #ifdef's
1999-09-01 02:03:50 +00:00
troy%netscape.com
ecc21c953c
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
dff5b76938
Updated SizeOf methods to not waste space when doing a non-debug build
1999-09-01 01:02:16 +00:00
nisheeth%netscape.com
cac7a1a287
- 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
db5c199f08
Tally up lineBox's and textRun's seperately
1999-08-31 04:32:13 +00:00
kipp%netscape.com
1d0c71c142
Added missing = 0 to make method's pure virtual
1999-08-31 04:20:22 +00:00
kipp%netscape.com
fd426dec6a
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
8702861be9
Added get/set document state API for use by session history.
1999-08-30 22:38:58 +00:00
troy%netscape.com
aa10a920fd
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
b15a5a6fc4
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
6c08bc8c75
Shrink down size of nsLineLayout object
1999-08-27 21:49:12 +00:00
kipp%netscape.com
d928d5767c
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
21d217a586
Don't paint frames that are unflowable
1999-08-27 21:48:21 +00:00
kipp%netscape.com
175f8c7657
Added IsFrameTreeTooDeep method to support code handling bug #10310
1999-08-27 21:48:06 +00:00
kipp%netscape.com
646290c128
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
41afaa6475
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
fd902c640a
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
273f0eb752
Reduced the default number of nsBandTrapezoids to reduce stack space used (bug #10310 )
1999-08-27 21:44:10 +00:00
kipp%netscape.com
8c06fe5c21
Added NS_FRAME_IS_UNFLOWABLE bit for handling frame trees that are too deep
1999-08-27 21:39:26 +00:00
evaughan%netscape.com
7bbfd6fa86
Fixed to gfx scrollbar.
...
Fixed some blockers.
1999-08-27 06:06:39 +00:00
pinkerton%netscape.com
220e8f0508
remove refs to nsIContentConnector
1999-08-27 04:30:48 +00:00
troy%netscape.com
4ba0f18641
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
e594b41fc6
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
031762a187
added in selection of tables/images as blue borders for browser.
1999-08-25 22:19:23 +00:00
karnaze%netscape.com
0b5b66f195
bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol
1999-08-25 21:49:18 +00:00
mjudge%netscape.com
1ca330a9f0
changes to allow selection in "dead" space between frames. still need work on "outside" and not in the window at all, but this is a very good chunk of the issue and it will solve many many bugs on my place. good for dogfood as well :)
1999-08-24 21:51:47 +00:00
troy%netscape.com
17b13f5eb6
Reworked ReparentFrameView() to make it more efficient
1999-08-24 19:26:03 +00:00
evaughan%netscape.com
0cbf60d620
Fixed compile bug.
1999-08-19 23:33:38 +00:00
evaughan%netscape.com
45c1bf231e
Fix for build error
1999-08-19 22:44:06 +00:00
vidur%netscape.com
5356c31fd8
Spaces now stripped from map name for client-side maps. Client-side and server-side imagemaps can now co-exist
1999-08-19 22:22:02 +00:00
evaughan%netscape.com
e7ce4e691c
xpscrollbars
1999-08-19 22:16:23 +00:00
ducarroz%netscape.com
250d581053
Add constructor definition for autocomplete widget
1999-08-19 22:10:53 +00:00
rods%netscape.com
64a561b6a4
Added a check to see if an outline should drawn, if so, then the damagaed rect needs to be inflated so it gets drawn "outside" the frames area
1999-08-19 14:36:47 +00:00
rods%netscape.com
efa83b4cb5
added PaintOutline to paint CSS outlines to paint method
1999-08-19 14:35:48 +00:00
rods%netscape.com
3bfe9c0dd1
Added NS_NewAttributeContent method
1999-08-19 14:32:19 +00:00
ftang%netscape.com
26e88426e4
implement word jump for non Ascii
1999-08-19 06:06:57 +00:00
troy%netscape.com
2a655ce368
Changed to table incremental reflow
1999-08-19 03:51:25 +00:00
troy%netscape.com
0b5afd2a9f
Fixed a place I had missed when converting over to the new reflow command
...
handling
1999-08-10 14:28:27 +00:00