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

137 Коммитов

Автор SHA1 Сообщение Дата
rods%netscape.com 99666eed8c This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
mcafee%netscape.com 7ecf530933 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil 2001-01-25 02:58:12 +00:00
pierre%netscape.com 62bf433a35 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster. 2001-01-20 22:46:54 +00:00
cmanske%netscape.com f731cf305a Reinstating table selection work for bug 57863 and fixed textfield.value bug 63376. r=kin, sr=sfraser 2000-12-20 22:13:54 +00:00
leaf%mozilla.org c7984c2caa backing out regression-causing changes to reopen tree 2000-12-20 18:09:53 +00:00
cmanske%netscape.com 5804015250 Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage) 2000-12-20 03:23:32 +00:00
cmanske%netscape.com d5dcb3691d Changed param from PRUint32 to PRInt16 in nsFrame::GetDataForTableSelection; enums for param moved from .h file to .idl file. Part of table selection work, b=57863, r=jfrancis, sr=kin 2000-12-20 01:36:55 +00:00
attinasi%netscape.com d97aa7f2cb Changes to put style data into the layout regression data output. r=karnaze, a=waterson 2000-12-07 15:31:40 +00:00
warren%netscape.com cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 0c836a5683 more fixes for dbaron 2000-10-28 01:28:06 +00:00
warren%netscape.com 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
attinasi%netscape.com 1fd5ba1fd2 Added default implementation for frames to allow a frame to specify which frame provides its parent style context. Also reworked ReResolveStyleContext and VerifyStyleTree to allow the style context tree to diverge from the frame tree. b=45210 r=karnaze 2000-09-12 22:47:09 +00:00
pinkerton%netscape.com fc367b8a1a making CaptureMouse a public interface on nsIFrame r=mjudge for bug 48250. 2000-08-14 22:28:41 +00:00
sfraser%netscape.com 9aa82a567b Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge. 2000-08-08 23:38:00 +00:00
pierre%netscape.com 5e553bbece 42864 ('user-select:none' should make children non-selectable) 2000-08-05 04:41:33 +00:00
waterson%netscape.com 4896ee6d33 Bug 46693. Check to see if we CanContinueTextRun() while walking over the frames to FindNextText(). This revives the logic that I nuked when fixing 19051, and keeps you from trying to walk over <br> or other frames to erroneously continue a text run. r=akkana. 2000-07-28 22:29:28 +00:00
waterson%netscape.com 9bd4266798 Bug 19051. Remove code that computed and maintained nsTextRun. Instead, compute 'next text' when required by crawling the frame tree in nsLineLayout::FindNextText(). r=roc+moz@cs.cmu.edu 2000-07-27 05:16:08 +00:00
mjudge%netscape.com 7317580268 46209 one of the last beta 2 blockers. adding ability to frames to tell if part of them is visible. idl change to allow nsISelectionController to give CheckVisibility. PresShell actually has the code for nsGfxTextControlFrame to call. 2000-07-26 11:31:12 +00:00
kin%netscape.com 1739a10bbd Part2 of fix for bug #39821: Drag and Drop interferes with selection
Made GetSelectionController() a public method on the nsIFrame interface,
so that nsEventStateManager::GenerateDragGesture() has access to it. This
prevents D&D from interfering with selection in Ender-Lite.

    layout/base/public/nsIFrame.h
    layout/events/src/nsEventStateManager.cpp
    layout/html/base/src/nsFrame.h
    layout/html/base/src/nsFrame.cpp

r=buster@netscape.com,brade@netscape.com,cmanske@netscape.com   a=beppe@netscape.com
2000-05-31 03:20:02 +00:00
cmanske%netscape.com c28f13972f Added row/column selection in tables: Bug 26833. r=kin, a=beppe 2000-05-31 00:07:58 +00:00
akkana%netscape.com d39b10a680 Partial work on 16311, 32807, 16352: code reorganization/cleanup of word/line/paragraph selection. 2000-05-16 22:48:28 +00:00
mjudge%netscape.com 24e9fbcab6 stealing new bit for frames with their own selection. changing caret to be able to handle multiple selected areas. if the bit doesnt work out i will back it out. 2000-05-04 08:35:42 +00:00
anthonyd%netscape.com 9a23850613 r: mjudge
table bacgrounds now sleected properly with disabled selection
(grey selection)
2000-04-30 18:56:26 +00:00
troy%netscape.com 6b04c3b5fa Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman%netscape.com 42e26161e8 Backing out troy's changes to fix various UI blocker bugs. 2000-04-24 22:15:55 +00:00
troy%netscape.com 9b393faa48 Changes to bring clipping inline with upcoming CSS2 errata 2000-04-23 00:56:16 +00:00
mjudge%netscape.com f0c0beb50c fix for setcapture. passes events to the nsHTMLFrame's areaframe when events are trapped to a given frame's view. 2000-04-12 03:04:11 +00:00
dbaron%fas.harvard.edu 87e19c9cef Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161. 2000-03-22 02:43:08 +00:00
cmanske%netscape.com 2824049212 Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge 2000-03-16 23:45:39 +00:00
vidur%netscape.com d4b67b3219 Fix for bug 9140. Area elements now have event fired for them. r=joki 2000-02-11 01:24:59 +00:00
mjudge%netscape.com b32999a1de big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened. 2000-02-10 04:35:51 +00:00
pp%ludusdesign.com 58065dda04 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +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
nisheeth%netscape.com 56525e3574 r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257. 2000-01-12 08:28:24 +00:00
cls%seawood.org 5794c7cb83 Added empty throw() on operator new so that gcc 2.95+ doesn't complain about returning NULL. 1999-12-05 07:29:35 +00:00
hyatt%netscape.com 482f0f8746 Fix Linux bustage. 1999-12-05 02:24:02 +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
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
troy%netscape.com 1585a751fb Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
troy%netscape.com a12c3d6c5d 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
troy%netscape.com 2ea886f3be 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 87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
troy%netscape.com f5ba346bdc Removed 5 convenience functions from nsIFrame 1999-10-22 14:53:52 +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
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
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
peterl%netscape.com 724aca8163 removing dead style change code
r=troy
1999-10-02 04:24:20 +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
peterl%netscape.com ecb4bd83d0 removed ReResolveStyleContext
added style tree verify flag
1999-09-21 07:51:52 +00:00