mjudge%netscape.com
1cc1a29d13
change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument
...
git-svn-id: svn://10.0.0.236/trunk@67486 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 06:21:31 +00:00
mjudge%netscape.com
24b8f29c46
ender lite checkin.
...
git-svn-id: svn://10.0.0.236/trunk@67387 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 07:37:12 +00:00
troy%netscape.com
2831676fb5
Reinstated clipping code which had been backed out because it caused
...
a problem for XUL layout. I added a workaround for the XUL problem
git-svn-id: svn://10.0.0.236/trunk@67078 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:43:11 +00:00
putterman%netscape.com
97e6e61f3c
Backing out troy's changes to fix various UI blocker bugs.
...
git-svn-id: svn://10.0.0.236/trunk@66999 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:15:55 +00:00
troy%netscape.com
e90db6dfb9
Changes to bring clipping inline with upcoming CSS2 errata
...
git-svn-id: svn://10.0.0.236/trunk@66887 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 00:56:16 +00:00
rods%netscape.com
fbf8aca833
Add ifdef'ed Performance Reflow Counting code
...
git-svn-id: svn://10.0.0.236/trunk@66719 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:59:47 +00:00
anthonyd%netscape.com
10a34f6e1b
drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge
...
git-svn-id: svn://10.0.0.236/trunk@66600 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:11:41 +00:00
mjudge%netscape.com
bccee5ad91
a=gramps. smoketest fix for 35590
...
git-svn-id: svn://10.0.0.236/trunk@65739 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 00:15:02 +00:00
mjudge%netscape.com
20beb15b82
dangit
...
git-svn-id: svn://10.0.0.236/trunk@65668 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 05:48:03 +00:00
mjudge%netscape.com
7623edc2ec
left out static in prototype. mac compiler...grumble
...
git-svn-id: svn://10.0.0.236/trunk@65667 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 05:43:42 +00:00
morse%netscape.com
1749c5246b
attempt to fix mac bustage
...
git-svn-id: svn://10.0.0.236/trunk@65664 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 05:20:49 +00:00
mjudge%netscape.com
9d8e7b1e33
dangit forgot this one
...
git-svn-id: svn://10.0.0.236/trunk@65653 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 03:35:27 +00:00
mjudge%netscape.com
c25a8377d7
fix for setcapture. passes events to the nsHTMLFrame's areaframe when events are trapped to a given frame's view.
...
git-svn-id: svn://10.0.0.236/trunk@65649 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 03:04:11 +00:00
scc%netscape.com
2255fe399e
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@65030 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 11:39:09 +00:00
jim_nance%yahoo.com
b1ccfbf2cb
Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
...
days for module owners to comment on. r=troy@netscape.com
git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
mjudge%netscape.com
b24e7a54c2
small change to stop selection from being notified of clicks on non selecteable sytle content
...
git-svn-id: svn://10.0.0.236/trunk@64087 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 01:14:39 +00:00
dbaron%fas.harvard.edu
0936aaafab
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.
...
git-svn-id: svn://10.0.0.236/trunk@63689 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:08 +00:00
cmanske%netscape.com
9c9491d705
Fixed bugs in table selection. Added improvements to facilitate row and column selection. r=mjudge
...
git-svn-id: svn://10.0.0.236/trunk@63550 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 06:04:02 +00:00
cmanske%netscape.com
5ab9b7f9df
Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge
...
git-svn-id: svn://10.0.0.236/trunk@63201 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:45:39 +00:00
jdunn%netscape.com
659b2712ed
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
r=troy@netscape.com ,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@61237 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 23:19:18 +00:00
pinkerton%netscape.com
566aef7a31
removed obsolete (and ifdef'd out) d&d test code. r=saari.
...
git-svn-id: svn://10.0.0.236/trunk@60835 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 07:13:21 +00:00
vidur%netscape.com
f1a9c3f401
Fix for bug 9140. Area elements now have event fired for them. r=joki
...
git-svn-id: svn://10.0.0.236/trunk@60399 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:24:59 +00:00
mjudge%netscape.com
44c8697114
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.
...
git-svn-id: svn://10.0.0.236/trunk@60278 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 04:35:51 +00:00
dbaron%fas.harvard.edu
22c80ea3f0
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
git-svn-id: svn://10.0.0.236/trunk@59610 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 02:49:58 +00:00
troy%netscape.com
05e293d03e
r=vidur@netscape.com Performance. Added NS_FRAME_HAS_VIEW frame state flag
...
so we can quickly tell whether the frame has an associated view
git-svn-id: svn://10.0.0.236/trunk@59586 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 00:51:37 +00:00
pp%ludusdesign.com
a2927ce43e
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
...
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
kmcclusk%netscape.com
5f7ac3effb
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; r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@58838 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 23:04:40 +00:00
troy%netscape.com
60471abd92
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
brade%netscape.com
ff04156de5
use proper key for discontiguous selection on Mac (r=jfrancis)
...
git-svn-id: svn://10.0.0.236/trunk@57680 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 16:07:03 +00:00
mjudge%netscape.com
a21138136b
small changes for 22752 ctrl left and right. r=cmanske
...
git-svn-id: svn://10.0.0.236/trunk@57564 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 21:39:36 +00:00
putterman%netscape.com
6f88f28b10
This should fix the build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@57554 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 17:20:16 +00:00
nisheeth%netscape.com
59dbaae9fb
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.
...
git-svn-id: svn://10.0.0.236/trunk@57522 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 08:28:24 +00:00
mjudge%netscape.com
070645421e
bug 15982 r=cmanske. needed more places to add checks for style turning off normal selection.
...
git-svn-id: svn://10.0.0.236/trunk@57411 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 19:44:59 +00:00
mjudge%netscape.com
0502df8149
r= kin. fix for another parameter. fixing m13 bug with multiple selection.
...
git-svn-id: svn://10.0.0.236/trunk@57131 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 00:31:32 +00:00
troy%netscape.com
52084caad8
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
git-svn-id: svn://10.0.0.236/trunk@55424 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 15:49:53 +00:00
hyatt%netscape.com
7e24c61109
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
troy%netscape.com
8ed54079fe
Correctly this time
...
git-svn-id: svn://10.0.0.236/trunk@54863 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 04:13:19 +00:00
troy%netscape.com
62b5734d6a
Removed some commented out dead code
...
git-svn-id: svn://10.0.0.236/trunk@54862 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 04:12:46 +00:00
pierre%netscape.com
2af3ff840a
12520 "GFX select elements need to be able to turn off text". Fixing previous checkins in nsFrame::DisplaySelection(): mUserSelect is not a bit field.
...
git-svn-id: svn://10.0.0.236/trunk@54811 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 23:31:16 +00:00
tbogard%aol.net
ae5a81e394
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
...
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
mjudge%netscape.com
4c7a925272
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)
...
git-svn-id: svn://10.0.0.236/trunk@54354 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 01:10:22 +00:00
mjudge%netscape.com
93087b4bea
missed a |= instead of just a ==. The compared variable is a bitflag not just a number.
...
git-svn-id: svn://10.0.0.236/trunk@54333 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 22:49:44 +00:00
mjudge%netscape.com
43a63010d1
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?
...
git-svn-id: svn://10.0.0.236/trunk@54299 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 20:30:21 +00:00
pierre%netscape.com
47b0c08a9f
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.
...
git-svn-id: svn://10.0.0.236/trunk@54230 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 01:07:56 +00:00
troy%netscape.com
3f61543a91
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
git-svn-id: svn://10.0.0.236/trunk@53998 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 15:33:29 +00:00
kin%netscape.com
53798ca2b2
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
git-svn-id: svn://10.0.0.236/trunk@53893 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 19:40:52 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
mjudge%netscape.com
9252d81168
small fix from pierre on use of the style system. pierre reviewed.
...
git-svn-id: svn://10.0.0.236/trunk@52625 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 00:11:49 +00:00
troy%netscape.com
8c862baf0d
Changed QueryInterface() to check for nsIFrameDebug
...
git-svn-id: svn://10.0.0.236/trunk@52516 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 05:49:11 +00:00
troy%netscape.com
3513334988
Moved a bunch of stuff out to a nsIFrameDebug interface
...
git-svn-id: svn://10.0.0.236/trunk@52427 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:12:45 +00:00