Commit Graph
1967 Commits
Author SHA1 Message Date
[email protected] 526976891e Add ifdef'ed Performance Reflow Counting code 2000-04-21 14:59:47 +00:00
[email protected] 2abd11ee91 drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge 2000-04-20 23:11:41 +00:00
[email protected] 7b33c246e5 a=gramps. smoketest fix for 35590 2000-04-13 00:15:02 +00:00
[email protected] 9404384a88 dangit 2000-04-12 05:48:03 +00:00
[email protected] ed5f81bdfa left out static in prototype. mac compiler...grumble 2000-04-12 05:43:42 +00:00
[email protected] f694b100a7 attempt to fix mac bustage 2000-04-12 05:20:49 +00:00
[email protected] 32644e5eea dangit forgot this one 2000-04-12 03:35:27 +00:00
[email protected] abfa134534 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
[email protected] 6bf2422246 making string conversions explicit 2000-04-03 11:39:09 +00:00
[email protected] 112be9f648 Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  [email protected]
2000-03-30 03:21:26 +00:00
[email protected] 382787cf19 small change to stop selection from being notified of clicks on non selecteable sytle content 2000-03-25 01:14:39 +00:00
[email protected] 0db3c15533 Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. [email protected](, [email protected]) b=12232,20051,21304,24474,26785, and remaining issues from 23161. 2000-03-22 02:43:08 +00:00
[email protected] 864abb8b39 Fixed bugs in table selection. Added improvements to facilitate row and column selection. r=mjudge 2000-03-21 06:04:02 +00:00
[email protected] a9eac5f7f0 Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge 2000-03-16 23:45:39 +00:00
[email protected] d30b76c7fe Fix problem with NS_IF_ADDREF on member variables inside of const
member functions.  This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h

[email protected],[email protected],[email protected]
# 28114
[email protected]
2000-02-17 23:19:18 +00:00
[email protected] 6e814c2402 removed obsolete (and ifdef'd out) d&d test code. r=saari. 2000-02-15 07:13:21 +00:00
[email protected] 399eb274c1 Fix for bug 9140. Area elements now have event fired for them. r=joki 2000-02-11 01:24:59 +00:00
[email protected] 09015b461c 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
[email protected] a0a4251632 Event Target Debugging (b=18175), a debugging feature to help with fixing bugs where events are going to the wrong elements. It shows (like Visual Debugging) which frame is receiving events, and one can therefore move the mouse over the page to see what frame gets events. All the code is #ifdef NS_DEBUG. However, it is not yet hooked up to the viewer menu (to be checked in later).
r=joki
2000-02-03 02:49:58 +00:00
[email protected] f2ba156da5 [email protected] Performance. Added NS_FRAME_HAS_VIEW frame state flag
so we can quickly tell whether the frame has an associated view
2000-02-03 00:51:37 +00:00
[email protected] baf799923b Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
[email protected] eaa60c1852 Added support for widgetless viewmanager. Changed code pattern that assumed the root view
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; [email protected]
2000-01-26 23:04:40 +00:00
[email protected] 67f034175a b=21657 [email protected] Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
[email protected] 7b69029405 use proper key for discontiguous selection on Mac (r=jfrancis) 2000-01-13 16:07:03 +00:00
[email protected] e7742baf73 small changes for 22752 ctrl left and right. r=cmanske 2000-01-12 21:39:36 +00:00
[email protected] d49a052528 This should fix the build bustage. 2000-01-12 17:20:16 +00:00
[email protected] bd43d81d01 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
[email protected] 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
[email protected] 7174f98fc5 r= kin. fix for another parameter. fixing m13 bug with multiple selection. 2000-01-08 00:31:32 +00:00
[email protected] 7abe460751 Change to how overflow is handled for absolutely positioned elements.
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics
1999-12-06 15:49:53 +00:00
[email protected] 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
[email protected] 0aae6bbd5e Correctly this time 1999-12-01 04:13:19 +00:00
[email protected] 9773027b47 Removed some commented out dead code 1999-12-01 04:12:46 +00:00
[email protected] c1f55e0465 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
[email protected] 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
[email protected] 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
[email protected] a10c0375d6 missed a |= instead of just a ==. The compared variable is a bitflag not just a number. 1999-11-23 22:49:44 +00:00
[email protected] 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
[email protected] 238b79536a 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
[email protected] 3b67f2f17c WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
[email protected] dc1588f4c9 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.

[email protected]
1999-11-18 19:40:52 +00:00
[email protected] 796280940b updated license boilerplate to xPL 1.1, [email protected],[email protected] 1999-11-06 03:40:37 +00:00
[email protected] a5f7396ae0 small fix from pierre on use of the style system. pierre reviewed. 1999-11-03 00:11:49 +00:00
[email protected] 6906d99268 Changed QueryInterface() to check for nsIFrameDebug 1999-11-02 05:49:11 +00:00
[email protected] bf2283fba6 Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
[email protected] 5e5f240649 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
[email protected] 7cca09032d 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
[email protected] 4050851582 Changed view to be stored as a frame property instead of a member data
of nsFrame
1999-10-27 03:56:14 +00:00
[email protected] 2024b2945e Change to some assertions in debug mode 1999-10-27 00:53:15 +00:00
[email protected] b8ef6465be Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00