kipp%netscape.com
193727f73e
r=ftang,brade, bug=16886,9101 - the text transformer was letting some nbsp's through in a few special cases; the text transformer also squelches shy characters now (9101)
1999-10-25 23:04:51 +00:00
ftang%netscape.com
0b2a09b76d
fix not enough gap between IME selection problem. r=erik
1999-10-25 22:18:41 +00:00
troy%netscape.com
29963d8875
Changed nsTextFrame to be derived from nsFrame instead of nsSplittableFrame.
...
nsTextFrame now has only a next-in-flow pointer and no prev-in-flow pointer.
Subclass nsContinuingTextFrame is used for continuing text frames; it has a
prev-in-flow pointer. This saves 4 bytes
1999-10-23 23:19:14 +00:00
troy%netscape.com
f5ba346bdc
Removed 5 convenience functions from nsIFrame
1999-10-22 14:53:52 +00:00
kipp%netscape.com
8f4ae7163a
Removed some more warnings
1999-10-22 14:51:41 +00:00
braddr%puremagic.com
f939a5bb97
Change NS_COMFALSE instances to NS_ERROR_ABORT's
1999-10-22 05:32:31 +00:00
valeski%netscape.com
ff2d2903ad
fixing build warning
1999-10-22 04:48:31 +00:00
troy%netscape.com
5d86678e7b
r=karnaze@netscape.com
...
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.
1999-10-22 02:06:22 +00:00
mjudge%netscape.com
7d0e807931
massive checkin for underlying implementation of key handling from javascript and home/end breakage and.. selecting around NON-text frames. like arrowing around an image for example. 16636,16655 and another i cannot find. r=kin r=hyatt a=me
1999-10-22 00:19:18 +00:00
ftang%netscape.com
e1475842c4
change the input method highligh code from 2 style to 4 styles. r=mjudge
1999-10-21 22:01:18 +00:00
kipp%netscape.com
a66a206556
Fixed percolation of nbsp's into the transformed buffer (bug 16886)
1999-10-21 20:47:36 +00:00
kipp%netscape.com
584976d119
r=troy; Optimize append text reflows to only reflow the new part of the text
1999-10-21 20:46:05 +00:00
kipp%netscape.com
b10899223c
r=troy; bug: 15153; fixed problem with style-change reflows not being propogated properly
1999-10-21 20:44:58 +00:00
kipp%netscape.com
0d540807d5
r=troy; bugs: 13196; fixed floating table reflow issues found in 13196 by storing floater max-element-size for later retrieval
1999-10-21 20:44:22 +00:00
kipp%netscape.com
568331e355
r=troy; bugs: 15153, 13196; fixed problem with style-change reflows not being propogated properly; also fixed floating table reflow issues found in 13196 by storing floater max-element-size for later retrieval
1999-10-21 20:43:48 +00:00
evaughan%netscape.com
b6438a44bc
Fixed some warnings: reviewed -hyatt
1999-10-21 20:17:51 +00:00
kipp%netscape.com
897f9ed9f9
new
1999-10-21 16:20:53 +00:00
troy%netscape.com
0959b411de
r=kipp@netscape.com
...
Added API to get/set properties on frames. Also changed nsContainerFrame
to use a property to implement the frame overflow list. This saves 4 bytes
per container frames
1999-10-21 05:11:43 +00:00
evaughan%netscape.com
a2bcc96c08
fixed numerous warnings. Reviewed by Hyatt.
1999-10-20 00:46:21 +00:00
kipp%netscape.com
a5c69dc5af
Fixed O(N^2) debug logic bug; speed up paint loop by avoiding painting too much now that we have combined-area (bug 7455, 12297)
1999-10-19 23:04:19 +00:00
kipp%netscape.com
a03246a1e0
update to new nsTextTransformer api
1999-10-19 23:01:58 +00:00
kipp%netscape.com
effbb5992f
r=ftang; rewrite to fix 16656, parts of 7455
1999-10-19 23:01:45 +00:00
kipp%netscape.com
15a0ec26fa
r=troy; revised nsITextContent api to simplify it and the consumers; this is done as prep work for bug 9101
1999-10-15 23:36:07 +00:00
kipp%netscape.com
6b86a5034c
r=troy; fixed bug 7093 by carefully pre-computed the collapsed top margin before reflowing the child block and then using that value to properly acquire the available space; In addition, I had to fix an incremental reflow bug associated with this problem
1999-10-15 23:35:10 +00:00
peterl%netscape.com
a6adfea707
Added namespace ID to the AttributeChanged notification
...
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
buster%netscape.com
a13fc42067
no bug number, part of webshell cleanup. nsIWebShell.h was needlessly included, so I removed it
...
trivial change, no reviewer.
1999-10-15 13:34:45 +00:00
kin%netscape.com
6762dd27f5
Fix for bug #15360 : Drag Selecting, Clicking, then Clicking leaves caret cruft.
...
r=troy@netscape.com ,kipp@netscape.com,evaughan@netscape.com,beard@netscape.com
layout/html/base/src/nsGfxScrollFrame.cpp
- Renamed all occurrences of ScrollPositionChanged() to
to ScrollPositionDidChange() to match changes made
to nsIScrollPositionListener.
- Added ScrollPositionWillChange() stub method.
layout/html/base/src/nsPresShell.cpp
- Added PresShellViewEventListener class that implements the
nsIScrollPositionListener and nsICompositeListener view
interfaces. This allows us to turn caret rendering on and off
when scrolling and repainting to prevent leaving caret cruft
on the screen.
- PresShellViewEventListener is created in InitialReflow(), and
released in ~PresShell().
view/public/Makefile.in
view/public/makefile.win
view/public/MANIFEST
- Added nsICompositeListener to list of files to be exported.
view/public/nsICompositeListener.h
- New file. Implementers of this interface can register themselves
with the view manager to receive notification before and after
a view is composited/refreshed.
view/public/nsIScrollPositionListener.h
- Added a ScrollPositionWillChange() method.
- Changed ScrollPositionChanged() to ScrollPositionDidChange().
view/public/nsIViewManager.h
- Added AddCompositeListener() and RemoveCompositeListener methods.
view/src/nsScrollingView.cpp
view/src/nsScrollingView.h
- Added NotifyScrollPositionWillChange() and
NotifyScrollPositionDidChange() methods.
- Modified HandleScrollEvent() to call NotifyScrollPositionWill/DidChange()
methods. Added temporary offsetX and offsetY variables to allow us
to calculate new offsets without changing mOffsetX and mOffsetY before
notifications are sent out.
view/src/nsScrollPortView.cpp
- Changed ScrollPositionChanged() to ScrollPositionDidChange().
- Modified ScrollTo() to call the listener's ScrollPositionWillChange()
method.
view/src/nsViewManager.cpp
view/src/nsViewManager.h
- Added AddCompositeListener() and RemoveCompositeListener() methods.
- Added support for CompositeListener notifications in the Refresh()
methods for regions and rects.
- Fix for bug #15901 : [DOGFOOD] Selected text does not clear when you type
Modified UpdateView() so that rects with zero width and height are
no longer added to our damage region.
r=beard@netscape.com
1999-10-15 04:29:30 +00:00
mjudge%netscape.com
385f949e66
oops. for got to check this in last time. bug number is 14795
1999-10-14 23:52:42 +00:00
kipp%netscape.com
c0f47fe47c
Fixed edge case where line bounds wasn't quite accurate which causes the combined rect to not match which now wastes memory; only affects right aligned lines
1999-10-14 23:10:59 +00:00
kipp%netscape.com
ab0a40b009
r=troy; Reworked nsLineBox api to allow for reduced storage overhead; fixed bug 16252 while keeping bug 12709 fixed
1999-10-14 23:10:03 +00:00
kipp%netscape.com
1f6b355fee
r=troy; Use a custom frame type so that bullets show up properly in the frame sizing data
1999-10-14 23:08:58 +00:00
tbogard%aol.net
57fb3acb21
Fixed a number of incorrect assumptions of the attribute retrieval so it would now work with the of new XUL content nodes (iframe, browser, editor). r=hyatt.
1999-10-14 10:58:04 +00:00
troy%netscape.com
eccee5177e
b=15388,15408 r=peterl@netscape.com
...
Made it so that for absolutely positioned frames we pass in the containing
block width/height to the HTML reflow state, rather than have it compute it.
This means we get a bottom up size rather than a top down size. That fixes
a problem where for containing blocks with a specified 'height' of 'auto' we
weren't correctly calculating the containing block height
1999-10-14 04:56:50 +00:00
pollmann%netscape.com
3ab87e9d02
Bug 15423: Check for a base href when forming the URL for an image map; r=harishd
1999-10-13 01:37:30 +00:00
mjudge%netscape.com
3a065e373b
bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. get position not a valid call anymore to nsIFrame.h
1999-10-13 01:16:09 +00:00
mjudge%netscape.com
fc71fb36d1
bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling.
1999-10-13 01:15:26 +00:00
troy%netscape.com
e592be8776
b=15509, r=peterl@netscape.com
...
If the frame has visible content that extends outside its content area,
then the view needs to be marked as having transparent content
1999-10-13 01:02:53 +00:00
kipp%netscape.com
02b64f135d
r=kin,troy; Fixed reflow bug with optimization logic to avoid measuring text (no bug #)
1999-10-12 23:29:01 +00:00
kipp%netscape.com
e44578adf4
Fixed bugs with combined-area continuing to include trimmed whitespace (wip for 12297); Added support for tracking trim for 16176)
1999-10-12 23:27:32 +00:00
kipp%netscape.com
384ec5e73f
New API for bug 16176
1999-10-12 23:26:41 +00:00
kipp%netscape.com
87e08f98e9
Factored common code into a single method (UseComputedHeight)
1999-10-12 23:25:49 +00:00
kipp%netscape.com
5a9e69f0c8
Port to new nsILineIterator api
1999-10-12 23:25:19 +00:00
kipp%netscape.com
2cd78b72d8
Fixed bug with bounds of line-box including side margins when it shouldn't (part of 12297)
1999-10-12 23:24:51 +00:00
kipp%netscape.com
d29d16b728
r=troy; Cleaned up line-box API (prep work for bug #12297 ; more coming); Support new line iterator API change ( #16176 )
1999-10-12 23:24:22 +00:00
mgleeson1%netscape.com
e12bc5aecd
r=evaughan friend declaration needs to declare object is function or class (HPUX)
1999-10-12 22:58:04 +00:00
evaughan%netscape.com
f3a2112f38
Integrated Gfx scrollbars.
1999-10-12 00:16:06 +00:00
av%netscape.com
4e9cabb770
Bug 15178, r=vidur adding check for null-pointer avoiding crash
1999-10-08 23:46:23 +00:00
troy%netscape.com
0d79fa2c78
Fix for blocker #15839 . r=kipp@netscape.com,kin@netscape.com
...
Typing into a text area wasn't working properly. Problem was that when the text
changed we were reflowing the text frames with a resize reflow command and
we thought we could optimize the reflow. So I changed ContentChanged() to
mark each text frame dirty so we would know not to do the optimization
1999-10-08 22:04:31 +00:00
kipp%netscape.com
65f6ba5343
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
troy%netscape.com
3b3ccb9cf7
Removed some dead code and moved some #if 0 code from the area frame
...
to the block frame. This completes the previous checkin
1999-10-08 04:45:12 +00:00
troy%netscape.com
72ee697f6c
Frame space reductions. r=kipp@netscape.com
...
Table cell frames and table caption frames now use block frames and not area
frames. This saves 24 bytes per frame instance
1999-10-08 04:32:46 +00:00
warren%netscape.com
8c71c45537
Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
1999-10-08 01:49:06 +00:00
troy%netscape.com
cdf2c77595
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
606f3b77ab
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
a2f1c7cf5a
r=troy; Added in ctor/dtor counting
1999-10-05 14:51:12 +00:00
rpotts%netscape.com
89f54ea1ae
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
724aca8163
removing dead style change code
...
r=troy
1999-10-02 04:24:20 +00:00
troy%netscape.com
6b808204e8
Added SizeOf() handler for floater information maintained by the
...
line box
1999-10-02 02:51:03 +00:00
troy%netscape.com
5dfb641a58
Added SizeOf() handler for space manager
1999-10-02 00:52:01 +00:00
av%netscape.com
a3ce92faff
Fixing bug #8036 , reviewd by beard
1999-09-30 08:07:23 +00:00
mjudge%netscape.com
54829b853b
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
ca92ac282c
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
055ef7bf53
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
cd5a8a17d1
manage view visibility better, hide collapsed views and hidden views with widgets
1999-09-29 03:37:02 +00:00
peterl%netscape.com
7911885f43
manage view visibility better
1999-09-29 03:36:16 +00:00
troy%netscape.com
409c9ae7db
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
e8f13ffdd6
aproved leaf. reviews sfraser. checking for null stopping crash
1999-09-28 00:13:19 +00:00
troy%netscape.com
7a30e821a3
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
9430750742
Fixes for bug #2552 and bug #10961
1999-09-26 20:40:29 +00:00
warren%netscape.com
339d201a49
Refcounted case conversion service properly
1999-09-26 10:05:51 +00:00
mjudge%netscape.com
2c78141fa6
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
84fdc7184f
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
b4438b15f9
Refixed bug #10496 - a=choffman, r=troy
1999-09-24 17:23:33 +00:00
mjudge%netscape.com
c6fd49197c
more tweaks for line boundaries. previous
1999-09-22 07:26:37 +00:00
mjudge%netscape.com
e989c3be45
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
6976c807dc
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
99dadf07b9
approved by Dagley. fixes for CTRL_LEFT and CTRL_RIGHT navigation and wrapping
1999-09-22 05:56:44 +00:00
mjudge%netscape.com
88c407b158
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
4016178c5d
Adding support for event.clickCount, obsoleting old dblclick event.
1999-09-22 02:29:33 +00:00
mjudge%netscape.com
dfcf0208d4
fix for going to correct offset in selection with keyboard navigation
1999-09-22 01:19:04 +00:00
kipp%netscape.com
f76eb620df
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
574daaa6d8
Whoops, left some noise on
1999-09-22 00:41:13 +00:00
kipp%netscape.com
5a777fb9ed
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
2cdc8576a2
Changed to have the stack buffer embedded in the xformer
1999-09-22 00:40:16 +00:00
kipp%netscape.com
3f7a66b903
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
1e48363fd7
changes to selection code to stop a never ending loop
1999-09-21 22:58:14 +00:00
peterl%netscape.com
700674fb14
removed ReResolveStyleContext
1999-09-21 07:56:18 +00:00
peterl%netscape.com
ecb4bd83d0
removed ReResolveStyleContext
...
added style tree verify flag
1999-09-21 07:51:52 +00:00
peterl%netscape.com
ad49316854
removed ReResolveStyleContext
...
added flag for style tree verify
1999-09-21 07:48:34 +00:00
troy%netscape.com
fef9b919ac
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
1948a1d4a8
Eliminate a warning
1999-09-21 02:20:14 +00:00
hyatt%netscape.com
e4b15ba761
Chrome event stuff. Menu changes.
1999-09-21 01:03:00 +00:00
kipp%netscape.com
e634c9589a
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
d5d391a005
Reimplement TrimTrailingWhiteSpace; fixed another combined area bug (12910)
1999-09-21 00:14:22 +00:00
kipp%netscape.com
b4262f0657
Reimplement TrimTrailingWhiteSpace
1999-09-21 00:13:50 +00:00
kipp%netscape.com
22df009a37
Bring TrimTrailingWhiteSpace back to life after troy's changes
1999-09-21 00:12:50 +00:00
kipp%netscape.com
6e01ea2f60
Tweaked list logic
1999-09-21 00:12:27 +00:00
mjudge%netscape.com
3c9065ac80
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
f004ab4be8
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
0d253cf419
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
a3551f363b
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
8bc490a93b
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
d4a731ec92
fix dereferencing error on slashdot.org
1999-09-18 00:48:51 +00:00
kipp%netscape.com
3d857842f7
Handle right aligned skipped floaters a little better
1999-09-18 00:20:48 +00:00
kipp%netscape.com
becb3704d9
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
2b082dc55b
Added more (disabled) debug noise
1999-09-17 23:15:53 +00:00
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
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
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
warren%netscape.com
7d5e565fd5
Factored file transport service out of file: protocol.
1999-09-16 01:16:22 +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
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
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
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
pollmann%netscape.com
652decc4c4
Bug 13058: Tweaks to StatefulFrame interface
1999-09-14 01:58:49 +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
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
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
peterl%netscape.com
de5d9b0b62
added content state changed (vs content changed) notification
1999-09-10 05:50:02 +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
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
bruce%cybersight.com
443ae40b6e
Use nsCRT::free() instead of delete[] for char* data.
1999-09-03 07:42:41 +00:00
kipp%netscape.com
86e12ae621
Implement fix for bug #5821 as per dbaron's suggestion
1999-09-03 03:47:49 +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
02a8d6427d
Added missing = 0 to make method's pure virtual
1999-08-31 04:20:22 +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
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
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
kipp%netscape.com
6361c09f47
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
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
7dddc57925
bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol
1999-08-25 21:49:18 +00:00
mjudge%netscape.com
5531d305c5
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
46415e1c34
Reworked ReparentFrameView() to make it more efficient
1999-08-24 19:26:03 +00:00
evaughan%netscape.com
d6b9c2a27f
Fixed compile bug.
1999-08-19 23:33:38 +00:00
evaughan%netscape.com
28a83eea31
Fix for build error
1999-08-19 22:44:06 +00:00
vidur%netscape.com
189e9b728d
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
a12f942778
xpscrollbars
1999-08-19 22:16:23 +00:00
ducarroz%netscape.com
91e18f8021
Add constructor definition for autocomplete widget
1999-08-19 22:10:53 +00:00
rods%netscape.com
b8e288a61f
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
62ae1bfcf9
added PaintOutline to paint CSS outlines to paint method
1999-08-19 14:35:48 +00:00
rods%netscape.com
5bfe95c0f4
Added NS_NewAttributeContent method
1999-08-19 14:32:19 +00:00
ftang%netscape.com
5a577f62d9
implement word jump for non Ascii
1999-08-19 06:06:57 +00:00
troy%netscape.com
f901be20dc
Changed to table incremental reflow
1999-08-19 03:51:25 +00:00
troy%netscape.com
8bf0fbd4a8
Fixed a place I had missed when converting over to the new reflow command
...
handling
1999-08-10 14:28:27 +00:00
ftang%netscape.com
b71a536920
tune performance by elimate unnecessary reference to nsIWordBreaker in nsTexTransformer. Add NS_PRECONDITION code into nsTextTransformer to make code better
1999-08-10 07:23:56 +00:00
av%netscape.com
e41767be1f
Setting some default size to objects with unknown size, bug #8740
1999-08-09 23:41:55 +00:00
sfraser%netscape.com
0166147f3c
Optimization so that moving a collapsed selection does not cause the frame to redraw.
1999-08-09 19:15:04 +00:00
peterl%netscape.com
7bf06a962e
moved scrolled content pseudo to layout atoms
1999-08-08 01:15:30 +00:00
troy%netscape.com
bc4ecda20c
Fixed compiler warning
1999-08-06 17:21:57 +00:00
pierre%netscape.com
1394381abf
breaking up gfx & native widgets
1999-08-06 05:11:39 +00:00
av%netscape.com
c2b8a3650e
Removing old code
1999-08-05 22:55:05 +00:00
beard%netscape.com
53b68810ba
reverting GetDocumentBase() to be consistent with other accessors. If we decide to change this, let's change ALL of them.
1999-08-03 02:51:39 +00:00
troy%netscape.com
5e93e674c5
Fixed incremental painting problem
1999-08-01 16:50:52 +00:00
troy%netscape.com
3ee376f002
Added NULL pointer check in DisplayAltFeedback() to fix Necko related crash
...
where LoadIconImage() is succeeding but returning NULL for the icon
1999-07-31 05:59:12 +00:00
troy%netscape.com
2ba05e9bf2
Added failure check for call to nsStyleData::GetBorder()
1999-07-28 04:48:34 +00:00
troy%netscape.com
3ee32d5915
Added support for "box-sizing" style property
1999-07-28 03:51:37 +00:00
ftang%netscape.com
67c7d1e316
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.
1999-07-27 14:47:24 +00:00
troy%netscape.com
05fb1d7f25
Changed root frame class over to new reflow command handling
1999-07-27 14:15:42 +00:00
av%netscape.com
375bb0259f
fixing bug #8290
1999-07-27 01:35:30 +00:00
troy%netscape.com
a6e974261c
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
1999-07-27 00:48:47 +00:00
rickg%netscape.com
f4902b78bc
replaced calls to deprecated nsString API
1999-07-26 00:37:24 +00:00
troy%netscape.com
bc9ccffd53
Added 'm' prefix to structs defined in nsISpaceManager
1999-07-25 19:01:13 +00:00
troy%netscape.com
a8d3d80ebc
Cleanup of reflow command handling
1999-07-24 21:41:15 +00:00
troy%netscape.com
7ffa0d8a63
Moved code that repaints after a resize or initial reflow to the viewport
1999-07-24 15:18:24 +00:00
troy%netscape.com
38a6357a79
Changed to use the new reflow command handling
1999-07-24 03:59:47 +00:00
troy%netscape.com
1f924dade3
Changed area frame code over to new reflow command handling
1999-07-24 02:37:45 +00:00
troy%netscape.com
17838b7952
Added VerifyDirtyBitSet() helper function
1999-07-24 02:37:06 +00:00
troy%netscape.com
08c5b45b84
Defined it so that the NS_FRAME_IS_DIRTY flag is set for newly added frames in
...
SetInitialChildlist(), AppendFrames(), InsertFrames(), and ReplaceFrame()
1999-07-24 02:33:07 +00:00
pollmann%netscape.com
eaecd3f441
Bug 10301: Check base target for image maps
1999-07-22 18:47:23 +00:00
troy%netscape.com
1df4c2d244
Added ReplaceFrame() member function to nsIFrame
1999-07-22 04:32:31 +00:00
troy%netscape.com
7a5e4dbdb5
Renamed some nsFrameList member functions
1999-07-22 04:00:57 +00:00
troy%netscape.com
c551fe3166
Renamed DeleteFrame() to Destroy()
1999-07-22 02:24:52 +00:00
troy%netscape.com
f02d9ef8b9
Added NS_FRAME_IS_DIRTY flag to the frame state flags
1999-07-21 23:47:01 +00:00
troy%netscape.com
19ed07723e
Removed IsTransparent() function from nsIFrame
1999-07-21 23:15:39 +00:00
troy%netscape.com
93621b70eb
Made sure to Invalidate() for the initial reflow, too
1999-07-21 04:39:24 +00:00
brade%netscape.com
0621f4050e
Implement InvertRect on Mac. r sfraser
1999-07-20 23:38:55 +00:00
ramiro%netscape.com
12f5c30340
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.
1999-07-20 07:26:09 +00:00
troy%netscape.com
c3e32b0b65
Added 'm' prefix to a couple more data members of nsHTMLReflowState struct
1999-07-20 03:51:46 +00:00
troy%netscape.com
155ed6816a
Added 'm' prefix to some of the nsHTMLReflowState data members
1999-07-20 03:41:03 +00:00
troy%netscape.com
2207888d69
Fix for bug #9611 : now handles absolutely positioned replaced elements
1999-07-20 02:48:18 +00:00
rickg%netscape.com
23b232d248
switch to faster string search API
1999-07-19 03:29:56 +00:00
rickg%netscape.com
e94128a661
fixed bug 9845
1999-07-18 06:35:52 +00:00
mjudge%netscape.com
c0b1525970
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.
1999-07-18 02:27:19 +00:00
peterl%netscape.com
c35106c852
fix reresolve style context to iterate all child lists
1999-07-18 00:18:45 +00:00
troy%netscape.com
f9d48b07a9
Added NotifyDestroyingFrame() function to nsIPresShell
1999-07-16 23:25:15 +00:00
sfraser%netscape.com
14f2e71bab
Don't cast a char* to a PRUnichar* array when calling PaintTextDecorations.
1999-07-15 23:11:35 +00:00
mjudge%netscape.com
f447570414
checkin for carpool for multiple seleciton/ime selection and api changes to nsIDOMselection
1999-07-15 18:19:03 +00:00
kipp%netscape.com
a427d96f8c
Disabled my debug noise (whoops)
1999-07-14 20:40:23 +00:00
nisheeth%netscape.com
de96f69ead
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.
1999-07-14 18:02:14 +00:00
kipp%netscape.com
23518e9968
Removed compiler warnings
1999-07-14 17:30:22 +00:00
kipp%netscape.com
0bfd6a27a3
Removed some compiler warnings
1999-07-14 17:29:45 +00:00
kipp%netscape.com
b32c6678b7
Removed some compiler warnings; fix subtlety with handling empty inline frames and whitespace compression for bug #5999
1999-07-14 17:29:32 +00:00
kipp%netscape.com
f7c32cc440
Clean up warnings
1999-07-14 17:28:45 +00:00