Граф коммитов

157 Коммитов

Автор SHA1 Сообщение Дата
sharparrow1%yahoo.com d19f64369b Bug 370185: clean up view header includes (trivial). rs=bzbarsky. 2007-02-12 19:17:33 +00:00
sharparrow1%yahoo.com 76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
bzbarsky%mit.edu 530dab30fb Update scrollframes to the new GetCollapsed() API too. Bug 369127, r+sr=dbaron. 2007-02-03 00:08:19 +00:00
Olli.Pettay%helsinki.fi b3361bf8f9 Bug 243370, deCOMtaminate parts of nsIFrame that come from nsIBox, part 2, p=anlan@lange.cx, r+sr=roc 2007-01-31 16:02:42 +00:00
cvshook%sicking.cc a39ff30284 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
mats.palmgren%bredband.net 318f1d6bdf Improve overflow/underflow DOM event handling. b=365477 r+sr=roc 2007-01-27 22:50:18 +00:00
bzbarsky%mit.edu 43a4dc3eeb Fix build bustage. Bug 367587 2007-01-22 04:41:06 +00:00
bzbarsky%mit.edu 7a61f6f940 Don't do XUL collapsing stuff with HTML text inputs or HTML scrollframes. Bug
335628, r+sr=roc
2007-01-22 04:27:31 +00:00
bzbarsky%mit.edu 019c7e17f9 Make sure to do scrollbar layout if we suppressed it previously, even if we
don't obviously need to do it.  Bug 364762, r+sr=roc
2007-01-19 18:01:10 +00:00
bzbarsky%mit.edu 3ef8c518f2 Fix painting of focus outline for empty <select>s. Bug 362995, r+sr=roc 2007-01-17 23:17:30 +00:00
bzbarsky%mit.edu 5bb5b8f623 deCOMtaminate nsIFrame::GetMinSize/GetPrefSize/GetMaxSize. Bug 243370, patch
by Andreas Lange <anlan@lange.cx>, r+sr=roc
2007-01-08 02:57:59 +00:00
mats.palmgren%bredband.net 79090c0f4b Rename IsSplittable() to GetSplittableType(). b=349973 r+sr=bzbarsky 2006-12-20 03:52:34 +00:00
dbaron%dbaron.org 31f1898810 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213. 2006-12-08 05:38:33 +00:00
mats.palmgren%bredband.net fd99ce03ed 1. Make scroll frames non-splittable.
2. Make a placeholder splittable only if the out-of-flow is.
3. If a float placeholder is not splittable then place it immediately
   instead of failing to reflow it because it can't be split.
b=337419 (Patch B) r+sr=roc
2006-08-24 05:22:16 +00:00
roc+%cs.cmu.edu a0ca718bfc Bug 334765. Fix XUL boxobject coordinates to not take scrolling into account. Second try, with a patch that hopefully won't regress Tp. r+sr=bzbarsky 2006-06-16 02:40:29 +00:00
roc+%cs.cmu.edu 5f052f1225 Fixing bustage 2006-06-08 02:41:32 +00:00
roc+%cs.cmu.edu 597d8bc582 Bug 339889. Propagate invalidation through the frame hierarchy to topmost widgets. r+sr=bzbarsky 2006-06-08 01:11:43 +00:00
darin%meer.net 0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
roc+%cs.cmu.edu a7f03736a9 Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc 2006-04-10 00:16:29 +00:00
dbaron%dbaron.org 0e88f73bc6 Single line comments to describe files (helpful in LXR) 2006-03-29 18:29:03 +00:00
roc+%cs.cmu.edu 0a10a79f62 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc 2006-03-26 21:30:36 +00:00
dbaron%dbaron.org 80962467f4 Always use the UI direction for the scrollbar side, which is what we used to do in the most common case, but make it a pref. b=330863 r=smontagu sr=roc 2006-03-26 00:48:03 +00:00
dbaron%dbaron.org b750924680 It is no longer correct to assume 0 as a default value for curpos, due to translations of curpos when scrolling left of the viewport. b=331049 r+sr=roc 2006-03-23 03:45:41 +00:00
dbaron%dbaron.org c37d9a2cf3 Change our scrolling code so that it is capable of scrolling above and to the left of the viewport, and then use that capability for nsHTMLScrollFrames with RTL directionality. This removes the invariant that the child of a scrollframe (::scrolled-canvas canvas or ::scrolled-content block) will be stretched to fill the entire scrollable area and stops enforcing it, a change that's likely to cause some regressions not yet fixed within the patch. This also fixes directionality detection for the scrollframe holding the canvas (changing which side the scrollbar appears on) and fixes an old bug in the code that paints the focus ring around the canvas (so it's now again visible on all sides, even when the canvas is scrollable). b=192767 r+sr=roc 2006-03-15 16:55:19 +00:00
pavlov%pavlov.net 131e8794e2 backing out roc's patch for bug 328926 due to crash running tests on vc8 machines. 2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu 557b089a47 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc 2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu 77bca74243 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
cvshook%sicking.cc 7db01c8d27 Bug 321294: Remove unused ReplaceFrame codepaths.
r/sr=roc
2006-01-10 22:58:37 +00:00
bzbarsky%mit.edu 8fa76d37ac Don't store the "normal" frame state for the root scrollframe, for now. Bug
318709, r+sr=roc
2005-12-06 23:56:17 +00:00
roc+%cs.cmu.edu 520b30a7f7 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-04 02:38:33 +00:00
roc+%cs.cmu.edu 49188025d3 Bug 307158. Half-heartedly account for vertical scrollbar presence when positioning absolute children relative to the right edge of a scrollable container. r+sr=dbaron with regrets. 2005-10-18 05:00:24 +00:00
roc+%cs.cmu.edu 60903ce73c Bug 306222. Make nsIFrame::GetContentAndOffsetsFromPoint, and nsIFrameSelection::HandleDrag, take coordinates relative to the current frame, not some random view. r+sr=roc,patch by Eli Friedman 2005-09-04 20:04:23 +00:00
roc+%cs.cmu.edu 2dac54badf Bug 305120. Make overflow/underflow events be posted by HTML again. Also, only post an overflow event when we go from not-overflowing to overflowing instead of every time we reflow with overflow. r+sr=dbaron 2005-08-31 00:57:27 +00:00
roc+%cs.cmu.edu 329c6cc865 Bug 293714. Be smart about guessing whether a vertical scrollbar is needed when we do the first real reflow of a scrollframe; remember in global history whether the page needed a scrollbar or not. r+sr=bzbarsky 2005-08-25 00:10:37 +00:00
roc+%cs.cmu.edu 55d745e0bb Bug 189308. Fire onscroll for all kinds of scrollling, and consolidate multiple scrolls into one event, and delay firing the event until we've returned to our PLevent loop. r+sr=dbaron 2005-08-21 23:37:13 +00:00
roc+%cs.cmu.edu 920e33d25a Bug 301439. Don't update scrollbars when we do first-pass layout of a listbox. r+sr=dbaron,a=bsmedberg 2005-07-25 23:23:53 +00:00
roc+%cs.cmu.edu 30e764d94c Bug 296337. Always correct the overflow area even if NS_FRAME_OUTSIDE_CHILDREN is set. r+sr=bzbarsky,a=shaver 2005-06-16 02:57:23 +00:00
bzbarsky%mit.edu a3843ab96f Not all scrollable children of the viewport are the root scrollframe. Fix
semi-hangs when fixed-pos elements have non-visible overflow.  Bug 295292,
r+sr=roc, a=chofmann
2005-05-31 18:30:27 +00:00
roc+%cs.cmu.edu 995017676b Forgot to check in these other files too 2005-05-02 23:01:41 +00:00
roc+%cs.cmu.edu 9441821383 Checked in wrong patch. Backing out. 2005-05-02 04:48:59 +00:00
roc+%cs.cmu.edu 4a070ac8cf Bug 47710. Fix padding inside scrollframes. r+sr=dbaron,a=chofmann 2005-05-02 04:26:38 +00:00
roc+%cs.cmu.edu 84b0577142 Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa 2005-04-28 21:57:22 +00:00
roc+%cs.cmu.edu 61fc68579f Bug 288949. Don't try to use view reparenting to handle scrolled child views. Also, fix regression so that listboxes don't always have widgets. r+sr=dbaron,a=asa. 2005-04-07 23:54:28 +00:00
roc+%cs.cmu.edu 61fedcaf7b Bug 288888. Fix detection of when a scrollframe is the root scrollframe, so that we don't create scrollbars for scrolling=no IFRAMEs. r+sr=dbaron 2005-04-03 22:40:25 +00:00
roc+%cs.cmu.edu 20d333fbf6 Bug 288117. Reland nsScrollBoxFrame removal. This will regress Tp a bit. r+sr=dbaron 2005-04-03 21:00:41 +00:00
dbaron%dbaron.org 36107f5980 Back out roc's checkin for bug 288117 to isolate performance regressions during tinderbox downtime. 2005-03-31 18:04:50 +00:00
roc+%cs.cmu.edu 5466f1cb0f Bug 288117. Fix up function name as dbaron requested. 2005-03-31 03:44:38 +00:00
roc+%cs.cmu.edu f93b035647 Bug 288117. Eliminate nsScrollBoxFrame. r+sr=dbaron 2005-03-31 03:40:12 +00:00
bzbarsky%mit.edu 54d585f2af Remove prescontext args for some nsIFrame methods
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land.  Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
2005-02-07 01:58:25 +00:00
bryner%brianryner.com d94c0df713 Remove nsIPresState (bug 279699). r+sr=roc. 2005-01-27 22:52:53 +00:00
roc+%cs.cmu.edu 9cb0174df1 Bug 261040. Make sure that scrollframe borders are not included in GetActualScrollbarSizes. r+sr=dbaron 2004-09-29 02:19:06 +00:00
bryner%brianryner.com f67d250152 Unify box and frame trees by moving nsIBox methods onto nsIFrame. XUL-box frames can call the superclass nsBox implementation, all other frames get the nsFrame implementation of the box methods, which acts like nsBoxToBlockAdaptor used to. Bug 258513, r+sr=roc. 2004-09-28 18:37:50 +00:00
neil%parkwaycc.co.uk a782b4dc30 Bug 76197 Unscrollable scrollbars should look disabled r=varga sr=roc 2004-09-22 06:33:36 +00:00
roc+%cs.cmu.edu 2a8936b1a7 Bug 257916. Move history scroll position save and restore from nsScrollBoxFrame to nsHTML/XULScrollFrame. +sr=dbaron(rubber-stamp) 2004-09-13 02:10:29 +00:00
roc+%cs.cmu.edu 6255acffd9 Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine 2004-09-06 02:44:43 +00:00
dbaron%dbaron.org 9a61205ad8 Back out text input changes from bug 72747. 2004-09-04 03:17:18 +00:00
dbaron%dbaron.org 1d4d3b735f Land bug 72747 in pieces: Remove mNeverHas*Scrollbar variables which are unneeded since the m*ScrollbarBox null-checks handle their one remaining user. b=72747 r+sr=roc 2004-09-03 23:28:26 +00:00
dbaron%dbaron.org 076f00e7d4 Land bug 72747 in pieces: use CSS instead of C++ to ensure single line text inputs don't have scrollbars. b=72747 r+sr=roc 2004-09-03 23:17:18 +00:00
dbaron%dbaron.org 77d25b92c6 Land bug 72747 in pieces: remove nsIScrollableFrame::GetScrollPreference. b=72747 r+sr=roc 2004-09-03 00:46:43 +00:00
aaronleventhal%moonset.net 1f5edcb856 Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc 2004-09-01 14:58:34 +00:00
dbaron%dbaron.org c200b49750 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org 5948a3cb75 Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
bryner%brianryner.com 5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
roc+%cs.cmu.edu 72e061457e Bug 217120. Always make an attempt to scroll to history position after restoring scroll position in EndLoad, just in case no reflows happen again. r+sr=dbaron 2004-07-23 21:39:47 +00:00
roc+%cs.cmu.edu b751c53c83 Bug 251501. Refactor handling where frames get inserted on content insertion. r+sr=dbaron 2004-07-18 12:02:53 +00:00
roc+%cs.cmu.edu c81d937cfe Bug 240276. Fork nsGfxScrollFrame into nsHTMLScrollFrame and nsXULScrollFrame. No behaviour is changed yet. r+sr=dbaron 2004-06-18 02:08:19 +00:00
roc+%cs.cmu.edu a6dd695671 Bug 240276. Trim fat from nsGfxScrollFrame, move functionality into nsGfxScrollFrameInner so that when we fork nsGfxScrollFrame, it will be shared 2004-05-05 02:32:27 +00:00
gerv%gerv.net 708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
roc+%cs.cmu.edu 3bfe589ac4 Bug 210269. Reduce use of SetAttr during reflow. Also, fix up the API that gets the scrollbar dimensions of a scrollframe to always work right for RTL. r+sr=bryner 2004-01-09 19:21:20 +00:00
roc+%cs.cmu.edu bb2d3795de Bug 227458. Make scrollports without scrollbars NOT use a native widget; they probably won't be scrolled anyway. r+sr=bz,a=dbaron 2003-12-10 03:43:39 +00:00
uid502 d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
roc+%cs.cmu.edu f5b886b9cd Bug 202681. Do not recreate frames during reflow via -moz-binding change for lazy scrollbars. Instead of lazy scrollbars, completely remove the anonymous scrollbar element for scrollbars which are disabled by CSS. r+sr=dbaron,a=asa 2003-05-22 01:46:13 +00:00
bryner%netscape.com d36a919a95 Remove nsScrollFrame and frame constructor support for it. Remove dlldeps.cpp for layout, it's not necessary. Bug 201457, r+sr=roc. 2003-04-11 08:26:42 +00:00
roc+%cs.cmu.edu 12c5a8aa8b Bug 201300. Get rid of document observer from nsGfxScrollFrame. r+sr=bz 2003-04-09 11:27:09 +00:00
roc+%cs.cmu.edu 3936b4c393 Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron 2003-04-08 20:50:57 +00:00
bryner%netscape.com e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
bzbarsky%mit.edu f2ee8260a0 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
gerv%gerv.net 4e12e44b2f 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 e908dd0313 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
waterson%netscape.com c080ea9b7e Bug 55100. Re-order vtable so that nsFrame::Destroy will find the size in the right spot. This is a band-aid fix. r=buster, sr=hyatt 2000-10-09 21:10:05 +00:00
waterson%netscape.com 883ea58a61 Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt 2000-10-09 03:08:41 +00:00
dbaron%fas.harvard.edu edbb56773e Fix leak on hovering over a scrollbar and re-fix similar leak for text inputs (bug 42895) by adding a "general" method for unrooting anonymous content created through nsIAnonymousContentCreator, plus a hack to deal with the scrollbars on the root element. Some of the other SetDocumentForAnonymousContent methods *may* need to be implemented. Chris Waterson helped significantly with this patch. r=waterson,hyatt b=45676 (nsbeta3+) 2000-08-09 12:51:05 +00:00
hyatt%netscape.com 0f1477e37e Missed files. Fixs bustage. 2000-07-27 06:57:32 +00:00
evaughan%netscape.com a17ec2746d Fixed body resizing bug #35681
-r pinkerton
2000-07-07 22:24:06 +00:00
hyatt%netscape.com e43955f56d Tree/grid work. Bug #30511. r=danm. 2000-06-06 23:14:11 +00:00
evaughan%netscape.com d4513de096 Fixed bug that crashed when menus are used with native scrollbars. 2000-05-17 04:45:44 +00:00
evaughan%netscape.com 2316308130 1) Scrolling menus
2) many bug fixes
3) box debuging flags
2000-05-15 04:12:31 +00:00
mjudge%netscape.com db0ca25636 adding method to remove scrollbars 2000-05-13 23:00:53 +00:00
rods%netscape.com 47329d0362 Not enabling creator's to be asked if they want to create a special frame for anonymous content
bug 33515
2000-04-19 13:55:17 +00:00
evaughan%netscape.com 6a2ad59407 1) Bug fixes.
2) Changed to fix rods text control
3) Added new Grid widget
2000-04-05 00:19:00 +00:00
evaughan%netscape.com 53b00e50f0 box skinnablility changes.
-r Hyatt
2000-03-31 07:02:06 +00:00
evaughan%netscape.com cf0d42fc25 bugs fixes for: 28460, 27242, 29462
-r hyatt, -a jar
2000-03-02 03:01:30 +00:00
evaughan%netscape.com b361107ebe 1) implememted box reflow coelescing.
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543

-r hyatt, troy, rod
2000-02-09 22:02:40 +00:00
troy%netscape.com 8a78d916a5 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
sspitzer%netscape.com c8e084ac35 fix #22493 and #22494. at least turn the crash into an assertion.
r=hangas.  also fix a warning.
1999-12-23 23:44:56 +00:00
evaughan%netscape.com 29c18fc081 1) created an nsIScrollableFrame interface make it possible for Chris K to fix PDP+ bug #12122
-r Troy
1999-12-07 03:36:05 +00:00
hyatt%netscape.com de2eaede42 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
tbogard%aol.net af1ce8d410 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
kin%netscape.com 9ce2f08c0b 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
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00