mjudge@netscape.com
0f3a248c0a
this should have NOT used ABS. if negative there is NO ROUNDING ERROR! ;)r=akkana
2000-03-22 02:10:37 +00:00
pierre@netscape.com
1dcdbdaf29
32252 "Small Caps font too small". Changed the ratio for small-caps from 0.7 to 0.8 (same as MacIE5).
2000-03-19 07:47:23 +00:00
pierre@netscape.com
ee71ad262f
Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.
In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.
2000-03-17 10:15:13 +00:00
troy@netscape.com
c1b7296113
b=30391 r=troy@netscape.com Patch from rbs@maths.uq.edu.au to add parens when
...
necessary to PR_ABS macro
2000-03-11 16:50:52 +00:00
buster@netscape.com
108637a0fe
bug 26840 r=mjudge
2000-02-14 01:54:20 +00:00
nisheeth@netscape.com
c4b1ae5d8b
r=Troy. We were specifying the incorrect child as a reflow dirty target in some cases.
2000-02-11 07:11:43 +00:00
mjudge@netscape.com
0db72c26f0
fix for memory leak bug 24332
2000-02-10 07:55:34 +00:00
mjudge@netscape.com
5dae548c78
fix for bug 18528. fixing tabs controls in selection guessing.
2000-02-10 07:48:17 +00:00
ftang@netscape.com
33b87d2e0f
r=nhotta, fix 24451. Change the IME hightlight code so
...
it won't draw out the clip boundary. It now draw by different color
instead of different hight.
2000-02-02 23:39:25 +00:00
pp@ludusdesign.com
baf799923b
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
2000-02-02 22:24:56 +00:00
troy@netscape.com
67f034175a
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
michael.lowe@bigfoot.com
9875af405d
Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
2000-01-21 21:56:09 +00:00
nisheeth@netscape.com
81aed40d97
r=troy. Changed block, inline, and text frames to call the parent's ReflowDirtyChild() method instead of generating reflow commands.
2000-01-19 03:58:05 +00:00
rbs@maths.uq.edu.au
2cddc0d76b
[MATHML] Change of the character coordinate system of the bounding metrics
2000-01-17 07:34:24 +00:00
mjudge@netscape.com
e7742baf73
small changes for 22752 ctrl left and right. r=cmanske
2000-01-12 21:39:36 +00:00
mjudge@netscape.com
96c555e9d3
bug 15982 r=cmanske. needed more places to add checks for style turning off normal selection.
2000-01-11 19:44:59 +00:00
mjudge@netscape.com
7174f98fc5
r= kin. fix for another parameter. fixing m13 bug with multiple selection.
2000-01-08 00:31:32 +00:00
rbs@maths.uq.edu.au
24733eca10
[MATHML] Added code to enable Reflow() to return, if requested, the bounding metrics needed for precise MathML placements. This is a WIP approved by Troy.
2000-01-07 14:33:11 +00:00
sspitzer@netscape.com
92a5c3ef96
initialize some variables, fix a comment, fix a FMM
1999-12-22 00:41:38 +00:00
rginda@netscape.com
fc987a4cbb
Adding check for null document. Prevents crash described in bug 20677.
...
r=brendan@mozilla.org
1999-12-07 22:04:52 +00:00
hyatt@netscape.com
9a7a1b27f7
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
1999-12-04 23:49:50 +00:00
ftang@netscape.com
7794909ca4
fix bug 18398. Make sure the startOffset and textWidth get reset in the while loop
1999-11-30 22:16:12 +00:00
tbogard@aol.net
617bb737a6
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
fc88b86e04
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
5fb61f40e8
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
dmose@mozilla.org
796280940b
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
kipp@netscape.com
99635967c1
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
6f42ace227
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
bf2283fba6
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
kipp@netscape.com
fbacd0c35e
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
kin@netscape.com
0068650ea2
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
troy@netscape.com
b8ef6465be
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
ftang@netscape.com
101681c30e
fix not enough gap between IME selection problem. r=erik
1999-10-25 22:18:41 +00:00
troy@netscape.com
515d1ffbfc
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
mjudge@netscape.com
3b59f273bf
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
ecfc25ef0d
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
bca804a6a0
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
1041f8cdc1
update to new nsTextTransformer api
1999-10-19 23:01:58 +00:00
kipp@netscape.com
7f6ff13c80
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
mjudge@netscape.com
fb78781fdc
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
kipp@netscape.com
eb217794e9
r=kin,troy; Fixed reflow bug with optimization logic to avoid measuring text (no bug #)
1999-10-12 23:29:01 +00:00
troy@netscape.com
6f7affc848
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
mjudge@netscape.com
fa752f1da3
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
76a460de09
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
mjudge@netscape.com
5db385ca1d
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
mjudge@netscape.com
f5180b6d3c
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
5a3d54af61
approved by Dagley. fixes for CTRL_LEFT and CTRL_RIGHT navigation and wrapping
1999-09-22 05:56:44 +00:00
mjudge@netscape.com
e02f754b09
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
kipp@netscape.com
c04447381b
Whoops, left some noise on
1999-09-22 00:41:13 +00:00
kipp@netscape.com
3e173a86d0
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