Commit Graph

2342 Commits

Author SHA1 Message Date
smontagu@netscape.com
ad6d425d04 Fix crash when scrolling absolute positioned textarea by adding test to return value from |GetLine|. Bug 105004, r=rbs, sr=kin 2001-11-16 03:08:30 +00:00
karnaze@netscape.com
a3ac20fe84 bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd 2001-11-14 13:40:03 +00:00
bzbarsky@mit.edu
aa00eb2f47 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
attinasi@netscape.com
55bd09f710 Oops - check for empty damageRect in nsFrame::Invalidate should be DEBUG only. b=103266 r=rbs sr=hyatt 2001-11-06 02:44:35 +00:00
attinasi@netscape.com
977bfb19d7 Elimiate calls to nsFrame::Invalidate when the dirtyRect is empty. Also, removed some invalid code from nsFrame::Invalidate and added DEBUG check to catch later offenders. b=103266 r=rbs sr=hyatt 2001-11-06 01:44:20 +00:00
karnaze@netscape.com
6e9c4f1161 fix crash in display reflow debugging. 2001-11-01 15:53:57 +00:00
karnaze@netscape.com
85f7a856f0 bug 107403 - shannond's patch to cast debug code before deleting to satisfy HP-UX. r=karnaze 2001-10-31 14:45:12 +00:00
karnaze@netscape.com
63f46f0ed2 bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov 2001-10-29 01:43:59 +00:00
dbaron@fas.harvard.edu
4b1de618fc Bug 86947:
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow).  Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed.  Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs  sr=waterson
2001-10-25 01:08:40 +00:00
hyatt@netscape.com
f89422ce49 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
dougt@netscape.com
2605bce49e Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527 2001-10-23 01:37:21 +00:00
dbaron@fas.harvard.edu
d0430dd000 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
dbaron@fas.harvard.edu
d52d3d978e Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
bernd.mielke@snafu.de
ddaa570810 bug 103443 replace the return rv?rv:NS_ERROR_FAILURE; with a more correct version
r=dbaron sr=attinasi
2001-10-13 09:27:46 +00:00
gerv@gerv.net
58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
karnaze@netscape.com
5b7e018561 bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov. 2001-09-19 12:35:19 +00:00
harishd@netscape.com
6be04997db 98261 - reconcile the difference between the ContentSink's notion of depth and Layout's notion of depth. r=heikki, sr=attinasi. 2001-09-14 20:44:41 +00:00
dbaron@fas.harvard.edu
a0388fa2e9 Make middle-click pasting put things in the right place by uncommenting code that ensures Y coordinate is more important than X coordinate and by making sure the code does the right thing in case of overlap. b=57913 r=bryner sr=kin a=chofmann 2001-08-26 18:33:57 +00:00
hyatt@netscape.com
7a898f35d2 Fix for 95475. r=jag, sr=ben, a=dbaron 2001-08-25 02:01:08 +00:00
bryner@netscape.com
1998454c7b Bug 66617 - if tabbing scrolls page, focus outline doesn't leave first link (second try). r=saari, sr=hyatt. 2001-08-18 07:25:52 +00:00
bryner@netscape.com
0b20fc36bb Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
jgaunt@netscape.com
04dd96ee29 fix for bug 94768
r=smfr,leaf
sr=hyatt
2001-08-17 03:13:07 +00:00
bryner@netscape.com
7d330cb27d Bug 66617 - When tabbing between links on a page, the focus outline on the
previously focused link would not be redrawn if the tab caused the page to
scroll.  r=valeski, saari, sr=hyatt.
2001-08-10 23:50:05 +00:00
pavlov@netscape.com
3a5d625d26 fixing bug 78690. removing old imagelib. r=jst sr=waterson 2001-08-09 20:22:39 +00:00
waterson@netscape.com
45833ac380 Bug 92190. Add anonymous children to nsIContent::List() output, add gdb-callable routines for listing frame and content trees. r=hyatt, sr=jst 2001-08-03 07:34:28 +00:00
waterson@netscape.com
ed8fca129d Bug 79486. Make sure that |MoveChildrenTo()| correctly updates the NS_FRAME_HAS_CHILD_WITH_VIEW flag when moving child frames into the new {ib} split frames. r=dbaron, sr=attinasi. 2001-08-01 04:37:17 +00:00
jaggernaut@netscape.com
c2bcad0b73 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
mjudge@netscape.com
7f83a6e278 82993, 87662 fixes for caret going into generated content. adjusting the content snapping to the best X value not Y value for up/down clicking. This will not cause a problem with the different size text but it MAY cause a problem with inline positioned elements. 2001-07-19 23:32:07 +00:00
attinasi@netscape.com
1a10c8065d Misplaced #endif - fixed for opt builds 2001-07-17 22:02:11 +00:00
attinasi@netscape.com
2b137dfc01 Checkin for alexsavulov@netscape.com: b=80396 r=rbs sr=attinasi new debug method added to dump frames 2001-07-17 21:30:17 +00:00
mjudge@netscape.com
e9d2f6ca91 PDT+ 88164 backing out of bad bug for keyboard navigation. 2001-07-05 19:11:32 +00:00
anthonyd@netscape.com
399a908d7a fix for 82151 -- Right arrow key at end of a TEXTAREA goes to the beginning
checking in for mjudge
r=cmanske, anthonyd
sr=kin
a=asa
2001-06-26 20:47:46 +00:00
anthonyd@netscape.com
8866f825cd backing out changes
a=asa@mozilla.org
2001-06-26 19:35:21 +00:00
anthonyd@netscape.com
31b09b4fd2 fix for 82151 - checking in mjudges patch for right arrow key fix for textarea
r=cmanske@netscape.com, anthonyd@netscape.com
sr=kin@netscape.com
a=asa@mozilla.org
2001-06-26 18:01:10 +00:00
mjudge@netscape.com
0439809f9b 86749 fix for "home key" scenario. we now search for 1st valid frame on a line. not just try the very first and fail. we now behave like "end key" does;. r=anthonyd sr=kin a=asa 2001-06-22 14:52:48 +00:00
ftang@netscape.com
a40c513f65 fix bug 84031. r=simon@softel.co.il sr=kin a=blizzard
fix GetBidiProperty
2001-06-21 12:35:48 +00:00
kin@netscape.com
55f444be66 Fix for bug #86492 Double click does not bring up object props dialog.
- Fixed 'if' statement in nsFrame::GetContentAndOffsetsFromPoint()
    so that it checks contentOffset instead of the uninitialized aContentOffset.

r=jfrancis@netscape.com  sr=attinasi@netscape.com  a=blizzard@mozilla.org
2001-06-21 06:35:37 +00:00
mjudge@netscape.com
4a6938d40a used false instead of PR_FALSE. 2001-06-20 06:40:48 +00:00
mjudge@netscape.com
cef5b9706b have to check for bidi on frame before executing bidi code. bug=39198 sr= kin, r=sfrasier a= asa 2001-06-20 04:40:17 +00:00
hyatt@netscape.com
dfdfa14592 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
mjudge@netscape.com
c93d12bb6f 80937, null check for out of bounds on arrowing. r=cmanske sr=kin a=asa 2001-05-25 20:27:41 +00:00
roc+@cs.cmu.edu
7fb0da5c30 Fix for bug 77507. Set default background color correctly. Warn if it isn't set correctly. r=waterson,sr=attinasi,a=blizzard 2001-05-25 15:00:51 +00:00
ftang@netscape.com
97e9923565 fix 81957. return error code when error happen when we do not get a good frame result to stop a selection crash
in a page which have bidi/table/image
proposed by yokoyama r=ftang/mjudge/attinasi sr=kin a=blizzard
2001-05-24 01:10:19 +00:00
evaughan@netscape.com
2b93d3f3e9 Fix for bug #80902
-r jeff@tcbnetworks.com -sr waterson

Fix for bug #80505

-r aaronl, jgaunt -sr brendan
2001-05-17 23:52:32 +00:00
ftang@netscape.com
2c9616ef62 fix bug 80552 r=ftang r/sr=jst
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable
2001-05-16 13:40:08 +00:00
evaughan@netscape.com
c32a797cb6 Landing accessibility
-r aarol, jgaunt

-sr brendan
2001-05-11 21:11:38 +00:00
mjudge@netscape.com
f519c63443 reverting method for getting selection controller. this WAS to stop selection from snapping from outer document to inside the text field. unfortunately this caused a regression with copying. r= kin a= leaf 2001-05-11 18:51:43 +00:00
mjudge@netscape.com
c3101df3d2 62971 sr= hyatt r=kin/waterson fix for changing how we find the line given an event point
this will now do a binary search muuuch faster worst case than before
2001-05-11 08:04:29 +00:00
pierre@netscape.com
d833a3436d 30971 cursor: auto does not work. r=attinasi 2001-05-02 11:03:03 +00:00
hyatt@netscape.com
e797066f13 Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov 2001-04-25 19:52:49 +00:00