troy%netscape.com
cfcb675bb4
Removed some commented out dead code
1999-12-01 04:12:46 +00:00
troy%netscape.com
53b3fe1d67
Removed some old dead code
1999-12-01 04:10:47 +00:00
pierre%netscape.com
537d50025c
18163 "Use of fixed positioning in style sheet corrupts display". Don't create empty widgets for fixed positioned elements in order to avoid problems in the View Manager (GetDrawingSurface) where we end up copying uninitialized bitmaps to the screen. The main reason for fixing the bug here instead of within the View Manager is that we'll get rid of widgets altogether over time.
1999-12-01 04:10:02 +00:00
pierre%netscape.com
c96bf41683
12520 "GFX select elements need to be able to turn off text". Fixing previous checkins in nsFrame::DisplaySelection(): mUserSelect is not a bit field.
1999-11-30 23:31:16 +00:00
ftang%netscape.com
606b96a9df
fix bug 18398. Make sure the startOffset and textWidth get reset in the while loop
1999-11-30 22:16:12 +00:00
troy%netscape.com
8d6fa574b2
b=20286. Changed PlaceFloater() so that it repositions any views after
...
placing the frame
1999-11-30 05:09:08 +00:00
warren%netscape.com
a265a32348
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
1999-11-30 04:50:42 +00:00
troy%netscape.com
12f89b6912
Changes parameter to be "const nsRect*" and changed a comment
1999-11-30 04:48:34 +00:00
tbogard%aol.net
4f8eb9b94c
nsFrameFrame now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. Also changed the call to GetTitle to properly free the returned pointer as an internal const pointer is no longer returned.
1999-11-27 03:06:59 +00:00
tbogard%aol.net
a0640b60c4
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
mjudge%netscape.com
a7cd9f0066
Fixing mac issue with selection dragging not working when above or below single line text. aka URL. mac has a different preference now. this may be done with look and feel object later. hyatt,cmanske(19191)
1999-11-24 01:10:22 +00:00
mjudge%netscape.com
22011f00ad
missed a |= instead of just a ==. The compared variable is a bitflag not just a number.
1999-11-23 22:49:44 +00:00
kin%netscape.com
bc173ec910
Fix for bug #18092 which is a modified version of Kipp's fix for #1413 that
...
also fixes #18002 , and #18006 . nsContainerFrame::GetFrameForPointUsing() now
looks through any outside children even if it finds a normal child containing
aPoint.
r=joki@netscape.com
1999-11-23 22:05:05 +00:00
mjudge%netscape.com
59b8ea67f0
small fixes for BR frames getting correct offset. also one case of textframe not returning proper location (simply a missed change of a regressed call in PeekOffset) nsCaret was also too stringent on the limitation of text frames as the only frames to get the caret position. these were reviewed by a few people and i just dont remember. r=simon,cmanske,akkana and hyatt?
1999-11-23 20:30:21 +00:00
tbogard%aol.net
82bc6d307b
Changed the concept of the webshell holding an mChromeElement object to it holding a nsIChromeEventHandler interface. This is more generic and allows other apps to plugin nicer into the API.r=hyatt
1999-11-23 09:57:47 +00:00
pierre%netscape.com
c1abaa96a5
12520 "GFX select elements need to be able to turn off text". Changed nsFrame::DisplaySelection to use the parent's mUserSelect similarly to what we do with mCursor in nsFrame::GetCursor. r=mjudge.
1999-11-23 01:07:56 +00:00
troy%netscape.com
18e16961d7
b=19416. Workaround for problem of combo box drop-down being displayed in
...
the wrong place sometimes
1999-11-20 06:03:16 +00:00
troy%netscape.com
df581eb873
b=19374. Restored some code I unintentionaly removed in previous checkin.
...
Now after Reflow() of child frame "kidRect.width" and "kidRect.height" are
updated
1999-11-19 22:04:01 +00:00
troy%netscape.com
fe56995443
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
1999-11-19 15:33:29 +00:00
buster%netscape.com
5e269fcf05
moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
...
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
kin%netscape.com
655697a251
Fix for bug #17989 : Selection AutoScrolling broken when using GFX Scrollbars
...
layout/base/src/nsRangeList.cpp
- Added ConstrainFrameAndPointToAnchorSubtree() and various utility
methods.
- Modified HandleDrag() to call ConstrainFrameAndPointToAnchorSubtree().
layout/html/base/src/nsFrame.cpp
- Modified GetContentAndOffsetFromPoint() to skip over generated
and anonymous content frames.
layout/html/base/src/nsGfxScrollFrame.cpp
layout/html/base/src/nsGfxScrollFrame.h
- Override the default nsFrame::GetContentAndOffsetsFromPoint()
implementation with a version that calls
mInner->GetContentAndOffsetsFromPoint(). This prevents the
scrollbar frames from being included in the search.
view/src/nsScrollPortView.cpp
- Fixed bug where GetContainerSize() was returning the size of the
ScrollPortView instead of the ScrolledView.
r=evaughan@netscape.com
1999-11-18 19:40:52 +00:00
tbogard%aol.net
4f6c979f2f
Changed QueryCapability to use the new interface requestor. r=pavlov
1999-11-14 10:22:00 +00:00
vidur%netscape.com
d563684b31
Fix for bug 13948. We now correctly store and retrieve an OL element with type=1. R=pollmann.
1999-11-12 02:06:09 +00:00
troy%netscape.com
e36c0c9d4c
b=17546. Changed block frame code to save/restore space manager when create
...
a space manager, and changes button code to use the NS_BLOCK_SPACE_MGR flag
when creating the area frame
1999-11-11 06:00:41 +00:00
av%netscape.com
7c2704d6f6
Fix for bug 16302. Added counting margins when calculating the object size, r=nisheeth
1999-11-11 00:00:07 +00:00
nisheeth%netscape.com
242db1bd00
r=vidur. a=chofmann. Post a reflow event instead of doing reflow command processing synchronously. Currently this only happens on content appended and content inserted notificaitions in the pres shell.
1999-11-09 03:23:26 +00:00
dmose%mozilla.org
42fc94a6ec
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
mjudge%netscape.com
ceceeacb0a
fix review by sfrasier, approved choffman. simple fix to get first letter style frames/paragraphs to show their selection. simply notifies children that the selection bit should be "on"
1999-11-05 22:09:16 +00:00
kin%netscape.com
98547fd894
Temporary Fix for dogfood blocker bugs #18002 and #18006 . With kipp's
...
permission, I backed out his fix for bug #1413 from
layout/html/base/src/nsContainerFrame.cpp revision 1.68.
Will re-check in kipp's fix after M11 is branched.
r=buster@netscape.com a=chofmann
1999-11-05 17:42:21 +00:00
kipp%netscape.com
2fb6aeb04b
r=vidur; bug=17372; found a case where a trailing shy character on a line would trigger an infinite loop iff the shy character was the only piece of text after a text frame had been continued
1999-11-04 19:34:36 +00:00
kipp%netscape.com
f4f952bf1f
r=joki; fixed the ancient and venerable bug 1413 by noting that the code was using an optimization that wasn't always valid and that one that optimization wasn't valid, the slower path must be used...I commented the fix fairly solidly
1999-11-03 22:09:00 +00:00
kipp%netscape.com
ec28ac0c5c
r=troy; remove another 4 bytes from each block frame for a total of 10% today :-)
1999-11-03 00:42:12 +00:00
mjudge%netscape.com
c4fafc566c
small fix from pierre on use of the style system. pierre reviewed.
1999-11-03 00:11:49 +00:00
kmcclusk%netscape.com
89ebbd5bc1
Removed call to mWebShell->Repaint in nsHTMLFrameInnerFrame::Reflow. This eliminates
...
multiple repaints of the content area in Mozilla when the content area is resized.
The mWebShell->SetBounds is sufficient since it invalidates the webshell window.
bug 16270; r= rods@netscape.com
1999-11-03 00:11:40 +00:00
kipp%netscape.com
2bacd78cfe
r=troy; Shrink block frames by 4 bytes per instance by making the overflow-lines instance variable a frame property
1999-11-02 23:42:52 +00:00
cls%seawood.org
14ef08310e
Removed unused NECKO ifdefs.
...
a=leaf
1999-11-02 23:34:03 +00:00
kipp%netscape.com
d4c6233f05
r=troy; fixed bugs 2636 and 17636 - line layout issues for some more edge cases (nobr's with floaters in them) and handling of nbsp
1999-11-02 15:44:57 +00:00
troy%netscape.com
29fb654d25
Changed QueryInterface() to check for nsIFrameDebug
1999-11-02 05:49:11 +00:00
troy%netscape.com
aa9c75655f
Fixed problem with GetFrameName() being defines in non-debug build
1999-11-01 23:12:32 +00:00
kipp%netscape.com
1169709b0f
r=troy; fixed bug 14982 - the problem was that empty continuations of an inline non-replaced element (e.g. 'span') were impact line-height calculations when they should effectively disappear
1999-11-01 22:38:17 +00:00
troy%netscape.com
04accb3de6
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
kipp%netscape.com
7bcba871ef
r=ftang (someday); fixed bug 17130 - the problem was that nbsp's were being mapped into spaces by the text-transformer which is normally good, but for the purposes of line-breaking look-ahead was bad. I added code to revert the post-transformed spaces into nbsp's before using the line-breaker
1999-11-01 15:36:02 +00:00
kipp%netscape.com
d656b82be2
r=ftang (someday); fixed 17559 regression - there were a few cases where characters > 127 were leaking out without setting the mHasMultibyte flag that were triggering painting bugs on macs...
1999-11-01 15:32:37 +00:00
kipp%netscape.com
04a9e2451d
Disabled debug noise I accidently checked in (whoops!)
1999-11-01 15:31:04 +00:00
kipp%netscape.com
0699f8cc22
r=troy; reworked the way that blocks inside of inline elements are handled. It's all in the frame construction code now (bugs 15999, 16737)
1999-11-01 15:24:57 +00:00
troy%netscape.com
56620e9b5a
Added nsHTMLReflowState.h
1999-10-30 16:16:45 +00:00
troy%netscape.com
effb3aefb7
Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
...
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
mjudge%netscape.com
17c9ff17c4
i cannot find the bug# it is for selecting inside forms. we need to turn off selection in certain frames based on the style. this sets up it to work once we figure out the style rule to set.
1999-10-29 23:07:07 +00:00
evaughan%netscape.com
86fd1321dd
Made tabs us visibility instead of shrinking their children to 0,0.
...
Made it possible to change the look for the selected tab.
1999-10-29 22:13:57 +00:00
kipp%netscape.com
87c4e2884c
r=troy; fixed a crash bug in the debug logic found while fixing 12958
1999-10-29 14:36:00 +00:00
kipp%netscape.com
5f3b41ae43
r=troy; api changes for 12958, 12760 and preperations for 17377
1999-10-29 14:35:36 +00:00
kipp%netscape.com
50dc6c6dba
r=troy; cleaned up resize reflow optimization logic and prepared it for fixing bug #17737 (not yet fixed!)
1999-10-29 14:34:53 +00:00
kipp%netscape.com
97e2826bf2
r=troy; fixed letter frame logic to use the line layout to flow frames so that white-space trimming, for example, would work right
1999-10-29 14:34:01 +00:00
kipp%netscape.com
32ee25122e
r=troy; updated api slightly to support fixes to bug 12760, 12958 and some resize-reflow optimization bugs
1999-10-29 14:33:26 +00:00
kipp%netscape.com
c6a4f6f131
r=troy; use new line-layout api to help with some resize-reflow optimization bugs
1999-10-29 14:32:11 +00:00
kin%netscape.com
46b69e20ca
Fix for bug #16176 : [DOGFOOD] need to annotate line frames with whitespace trim
...
layout/base/src/nsCaret.cpp
- Modified DrawCaretWithContext so that we only
adjust the caret position if we are within the
frame's bounds.
layout/html/base/src/nsTextFrame.cpp
- Modified GetPointFromOffset() to add the width
of a space if the offset is after a trailing space
and it was trimmed off the frame.
r=sfraser@netscape.com
1999-10-29 13:43:11 +00:00
kipp%netscape.com
050d1f0711
bug=17320; Fixed a purify warning
1999-10-28 14:33:34 +00:00
troy%netscape.com
e2dfeedb8d
Changed view to be stored as a frame property instead of a member data
...
of nsFrame
1999-10-27 03:56:14 +00:00
troy%netscape.com
8b70d1eabe
Change to some assertions in debug mode
1999-10-27 00:53:15 +00:00
troy%netscape.com
a47e8db44b
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
kipp%netscape.com
599e66084e
Reduce the number of cases that trigger noisy debug noise
1999-10-25 23:05:31 +00:00
kipp%netscape.com
19d24d7c81
Turned off some more debug noise
1999-10-25 23:05:15 +00:00
kipp%netscape.com
20cde21ca2
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
fa733cae47
fix not enough gap between IME selection problem. r=erik
1999-10-25 22:18:41 +00:00
troy%netscape.com
dac6d1119c
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
918255682c
Removed 5 convenience functions from nsIFrame
1999-10-22 14:53:52 +00:00
kipp%netscape.com
705faaa709
Removed some more warnings
1999-10-22 14:51:41 +00:00
braddr%puremagic.com
d4abf23615
Change NS_COMFALSE instances to NS_ERROR_ABORT's
1999-10-22 05:32:31 +00:00
valeski%netscape.com
918bac3736
fixing build warning
1999-10-22 04:48:31 +00:00
troy%netscape.com
d0190a7f34
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
3d3eb16f9a
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
548649505f
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
a74943d540
Fixed percolation of nbsp's into the transformed buffer (bug 16886)
1999-10-21 20:47:36 +00:00
kipp%netscape.com
5ff3bcc409
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
870c8ad174
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
d61d8f50a4
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
3587210728
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
b50e520eca
Fixed some warnings: reviewed -hyatt
1999-10-21 20:17:51 +00:00
kipp%netscape.com
6da34edb78
new
1999-10-21 16:20:53 +00:00
troy%netscape.com
01cf059769
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
0dc0b76629
fixed numerous warnings. Reviewed by Hyatt.
1999-10-20 00:46:21 +00:00
kipp%netscape.com
db2e83b3f1
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
c0b2e2a313
update to new nsTextTransformer api
1999-10-19 23:01:58 +00:00
kipp%netscape.com
0c68b7cb66
r=ftang; rewrite to fix 16656, parts of 7455
1999-10-19 23:01:45 +00:00
kipp%netscape.com
ad778d6889
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
88cf2d89c8
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
757c0b5f01
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
27c06f0a19
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
2c6c5d65d1
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
9cf7094f5f
oops. for got to check this in last time. bug number is 14795
1999-10-14 23:52:42 +00:00
kipp%netscape.com
5bf72a1120
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
ec14991303
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
444b9e431c
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
3b567a8691
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
a71b08f611
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
45b14c6a42
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
21ba41e280
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
8ca2604934
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
6236da7013
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
aa30c6fc9b
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
26f3bc9b5b
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
4bc8037d2a
New API for bug 16176
1999-10-12 23:26:41 +00:00
kipp%netscape.com
4845abe2cb
Factored common code into a single method (UseComputedHeight)
1999-10-12 23:25:49 +00:00
kipp%netscape.com
5d5bafb2c1
Port to new nsILineIterator api
1999-10-12 23:25:19 +00:00
kipp%netscape.com
3a1c740c05
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
cfd8498ab1
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
57f24ad909
r=evaughan friend declaration needs to declare object is function or class (HPUX)
1999-10-12 22:58:04 +00:00
evaughan%netscape.com
dd8734ed83
Integrated Gfx scrollbars.
1999-10-12 00:16:06 +00:00
av%netscape.com
132357b3c7
Bug 15178, r=vidur adding check for null-pointer avoiding crash
1999-10-08 23:46:23 +00:00
troy%netscape.com
49838148df
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
b0dcc883f8
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
troy%netscape.com
0c3a74b8be
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
104c0f8c7e
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
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