sfraser%netscape.com
72205420ff
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:48:42 +00:00
saari%netscape.com
4c09a29ac5
massive landing of joki changes.
...
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
2000-08-08 21:31:05 +00:00
pierre%netscape.com
5e553bbece
42864 ('user-select:none' should make children non-selectable)
2000-08-05 04:41:33 +00:00
cmanske%netscape.com
ca24e6aca4
Fixed crashing bug 42195: Added method to nsIFrameSelection so frame can get limiting content node for parent node searches in text edit fields. r=mjudge
2000-08-02 01:47:55 +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
nisheeth%netscape.com
9b09a0b6c1
Fix for nsbeta2+ bug 43472. r=rpotts. We no longer crash on exit on Full Circle enabled builds.
2000-07-23 06:51:39 +00:00
akkana%netscape.com
481b7a5c02
38232 (nsbeta2+): Make line break character configurable in the
...
output system, and use \n (the DOM linebreak character) when getting
output from text controls. Also fix some warnings. r=kin.
2000-07-10 19:46:59 +00:00
anthonyd%netscape.com
b752b18c25
bug fix for #40742
...
crasher in DrillDownToEndOfLine()
r:mjudge a:beppe precheckin test done
2000-06-22 00:41:42 +00:00
anthonyd%netscape.com
2ba178903c
warning fixes for linux. r: mjudge a: beppe
2000-06-16 22:28:10 +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
evaughan%netscape.com
55816643f1
fix for [beta2] bugs:
...
37835
39085
32920
-r pinkerton, rods, hyatt
2000-05-26 06:42:29 +00:00
kin%netscape.com
108b7677fd
Part 1 of fix for bug #39821 : Drag and Drop interferes with selection.
...
layout/base/public/nsIFrameSelection.h
layout/base/src/nsSelection.cpp
layout/events/src/nsEventStateManager.cpp
layout/html/base/src/nsFrame.cpp
layout/html/forms/src/nsGfxTextControlFrame2.cpp
xpfe/browser/resources/content/navigatorDD.js
r=brade@netscape.com ,cmanske@netscape.com a=beppe@netscape.com ,waterson@netscape.com
2000-05-25 20:04:02 +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
kin%netscape.com
e56254aabb
- First pass checkin for a Drag and Drop friendlier selection. (Bug #38527 ) Code is ifdef'd out with DRAG_AND_DROP_FRIENDLY_SELECTION.
...
- Replaced tabs with spaces.
2000-05-16 22:16:05 +00:00
mjudge%netscape.com
5237a6fe65
changes for setcapture.
2000-05-16 13:52:28 +00:00
anthonyd%netscape.com
7ab436fd88
avoiding confusion between line iterator between layout and navigation.
...
if you want a line iterator for navigation you must explicitly ask for one.
2000-05-16 08:11:14 +00:00
cmanske%netscape.com
acad8adcca
Select table column and row support (20973). r=mjudge
2000-05-16 03:03:13 +00:00
mjudge%netscape.com
d12e670ad8
updating capture code
2000-05-14 03:41:25 +00:00
anthonyd%netscape.com
8bbcc675f6
more changes to make table navigation in editor
...
work correctly and not crash.
2000-05-14 00:10:25 +00:00
mjudge%netscape.com
fa4088842d
fixing warnings and some redundant code
2000-05-13 20:47:42 +00:00
mjudge%netscape.com
4d87ea0999
fixing up some of the calls for frameselection to setting mousedown state
2000-05-13 08:09:03 +00:00
mjudge%netscape.com
55912eddb8
changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret.
2000-05-11 04:25:43 +00:00
anthonyd%netscape.com
e8ceb8ee1b
r:mjudge
...
fix for bug# 29785, keyboard navigation of tables in editor
not completely fixed, tables with row|column span do not navigate correctly
2000-05-11 01:04:39 +00:00
mjudge%netscape.com
9fc3ea7f15
adjusting how we get nsIFrameSelection. maybe we can QI from SelectionController
2000-05-08 03:59:53 +00:00
mjudge%netscape.com
450040c157
bad infiniteloop fix
2000-05-05 02:38:03 +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
mjudge%netscape.com
7e5a6b3cd7
change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument
2000-04-28 06:21:31 +00:00
mjudge%netscape.com
2c0953e1be
ender lite checkin.
2000-04-27 07:37:12 +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
rods%netscape.com
21de9f3e8a
Add ifdef'ed Performance Reflow Counting code
2000-04-21 14:59:47 +00:00
anthonyd%netscape.com
815b66f915
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
mjudge%netscape.com
7caea63ed1
a=gramps. smoketest fix for 35590
2000-04-13 00:15:02 +00:00
mjudge%netscape.com
ac8d5b837a
dangit
2000-04-12 05:48:03 +00:00
mjudge%netscape.com
6536f6d6d7
left out static in prototype. mac compiler...grumble
2000-04-12 05:43:42 +00:00
morse%netscape.com
90e57a8f70
attempt to fix mac bustage
2000-04-12 05:20:49 +00:00
mjudge%netscape.com
c6128bbf01
dangit forgot this one
2000-04-12 03:35:27 +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
scc%netscape.com
e37740acdb
making string conversions explicit
2000-04-03 11:39:09 +00:00
jim_nance%yahoo.com
dc0e139673
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
2000-03-30 03:21:26 +00:00
mjudge%netscape.com
9c968a3902
small change to stop selection from being notified of clicks on non selecteable sytle content
2000-03-25 01:14:39 +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
01933d5726
Fixed bugs in table selection. Added improvements to facilitate row and column selection. r=mjudge
2000-03-21 06:04:02 +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
jdunn%netscape.com
080142580c
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
2000-02-17 23:19:18 +00:00
pinkerton%netscape.com
15c85ef5ee
removed obsolete (and ifdef'd out) d&d test code. r=saari.
2000-02-15 07:13:21 +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
dbaron%fas.harvard.edu
bf2b8a41ed
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
troy%netscape.com
792c9c1053
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
2000-02-03 00:51:37 +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
kmcclusk%netscape.com
eeeb109f4c
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
2000-01-26 23:04: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
brade%netscape.com
ef62b4b778
use proper key for discontiguous selection on Mac (r=jfrancis)
2000-01-13 16:07:03 +00:00
mjudge%netscape.com
118e690267
small changes for 22752 ctrl left and right. r=cmanske
2000-01-12 21:39:36 +00:00
putterman%netscape.com
7650e4cd34
This should fix the build bustage.
2000-01-12 17:20:16 +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
mjudge%netscape.com
3ec359f588
bug 15982 r=cmanske. needed more places to add checks for style turning off normal selection.
2000-01-11 19:44:59 +00:00
mjudge%netscape.com
dcbf3266bd
r= kin. fix for another parameter. fixing m13 bug with multiple selection.
2000-01-08 00:31:32 +00:00
troy%netscape.com
85012ab550
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
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
troy%netscape.com
01dc596189
Correctly this time
1999-12-01 04:13:19 +00:00
troy%netscape.com
6c92be92a0
Removed some commented out dead code
1999-12-01 04:12:46 +00:00
pierre%netscape.com
046ba35285
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
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
mjudge%netscape.com
d1b5f823f1
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
mjudge%netscape.com
e5cc293e99
missed a |= instead of just a ==. The compared variable is a bitflag not just a number.
1999-11-23 22:49:44 +00:00
mjudge%netscape.com
d7fbad6cea
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
pierre%netscape.com
096c23050e
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
troy%netscape.com
597b5f236b
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
1999-11-19 15:33:29 +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
mjudge%netscape.com
cb31827195
small fix from pierre on use of the style system. pierre reviewed.
1999-11-03 00:11:49 +00:00
troy%netscape.com
614cbe4d17
Changed QueryInterface() to check for nsIFrameDebug
1999-11-02 05:49:11 +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
mjudge%netscape.com
21ff71f017
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
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
2e4ab18e9c
Change to some assertions in debug mode
1999-10-27 00:53:15 +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
29963d8875
Changed nsTextFrame to be derived from nsFrame instead of nsSplittableFrame.
...
nsTextFrame now has only a next-in-flow pointer and no prev-in-flow pointer.
Subclass nsContinuingTextFrame is used for continuing text frames; it has a
prev-in-flow pointer. This saves 4 bytes
1999-10-23 23:19:14 +00:00
troy%netscape.com
f5ba346bdc
Removed 5 convenience functions from nsIFrame
1999-10-22 14:53:52 +00:00
kipp%netscape.com
8f4ae7163a
Removed some more warnings
1999-10-22 14:51:41 +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
troy%netscape.com
e592be8776
b=15509, r=peterl@netscape.com
...
If the frame has visible content that extends outside its content area,
then the view needs to be marked as having transparent content
1999-10-13 01:02:53 +00:00
kipp%netscape.com
5a9e69f0c8
Port to new nsILineIterator api
1999-10-12 23:25:19 +00:00
kipp%netscape.com
a2f1c7cf5a
r=troy; Added in ctor/dtor counting
1999-10-05 14:51:12 +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
cd5a8a17d1
manage view visibility better, hide collapsed views and hidden views with widgets
1999-09-29 03:37:02 +00:00
troy%netscape.com
9430750742
Fixes for bug #2552 and bug #10961
1999-09-26 20:40:29 +00:00
mjudge%netscape.com
2c78141fa6
fixes for M11 a=shaver r=cmanske. this will add 1 enumerator value to en enum in nsIFrame so dont be scared. this is for tweaking selection should not affect anyone outside of selection/editor
1999-09-25 23:33:02 +00:00
mjudge%netscape.com
c6fd49197c
more tweaks for line boundaries. previous
1999-09-22 07:26:37 +00:00