Commit Graph

2342 Commits

Author SHA1 Message Date
anthonyd@netscape.com
8a44359dde warning fixes for linux. r: mjudge a: beppe 2000-06-16 22:28:10 +00:00
kin@netscape.com
b6365c6ff0 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
e374166c08 Added row/column selection in tables: Bug 26833. r=kin, a=beppe 2000-05-31 00:07:58 +00:00
evaughan@netscape.com
39a5baf723 fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt
2000-05-26 06:42:29 +00:00
kin@netscape.com
45231c91c7 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
e58dc13225 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
4aa2bc88d9 - 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
7bd05d74bb changes for setcapture. 2000-05-16 13:52:28 +00:00
anthonyd@netscape.com
9c9e0c5a15 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
1809dea113 Select table column and row support (20973). r=mjudge 2000-05-16 03:03:13 +00:00
mjudge@netscape.com
4603aa8b77 updating capture code 2000-05-14 03:41:25 +00:00
anthonyd@netscape.com
e42ac985ca more changes to make table navigation in editor
work correctly and not crash.
2000-05-14 00:10:25 +00:00
mjudge@netscape.com
18b79d8767 fixing warnings and some redundant code 2000-05-13 20:47:42 +00:00
mjudge@netscape.com
1d4a83be9c fixing up some of the calls for frameselection to setting mousedown state 2000-05-13 08:09:03 +00:00
mjudge@netscape.com
9548dce1c6 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
71ccee07a0 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
43f3dd2c34 adjusting how we get nsIFrameSelection. maybe we can QI from SelectionController 2000-05-08 03:59:53 +00:00
mjudge@netscape.com
df6ffaef47 bad infiniteloop fix 2000-05-05 02:38:03 +00:00
mjudge@netscape.com
340d89a44e 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
f27d13ba3c r: mjudge
table bacgrounds now sleected properly with disabled selection
(grey selection)
2000-04-30 18:56:26 +00:00
mjudge@netscape.com
7632ddddc7 change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument 2000-04-28 06:21:31 +00:00
mjudge@netscape.com
2e85db0702 ender lite checkin. 2000-04-27 07:37:12 +00:00
troy@netscape.com
3cb3cfefb2 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
18cce22621 Backing out troy's changes to fix various UI blocker bugs. 2000-04-24 22:15:55 +00:00
troy@netscape.com
dc75dfc818 Changes to bring clipping inline with upcoming CSS2 errata 2000-04-23 00:56:16 +00:00
rods@netscape.com
526976891e Add ifdef'ed Performance Reflow Counting code 2000-04-21 14:59:47 +00:00
anthonyd@netscape.com
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
mjudge@netscape.com
7b33c246e5 a=gramps. smoketest fix for 35590 2000-04-13 00:15:02 +00:00
mjudge@netscape.com
9404384a88 dangit 2000-04-12 05:48:03 +00:00
mjudge@netscape.com
ed5f81bdfa left out static in prototype. mac compiler...grumble 2000-04-12 05:43:42 +00:00
morse@netscape.com
f694b100a7 attempt to fix mac bustage 2000-04-12 05:20:49 +00:00
mjudge@netscape.com
32644e5eea dangit forgot this one 2000-04-12 03:35:27 +00:00
mjudge@netscape.com
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
scc@netscape.com
6bf2422246 making string conversions explicit 2000-04-03 11:39:09 +00:00
jim_nance@yahoo.com
112be9f648 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
382787cf19 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
0db3c15533 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
864abb8b39 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
a9eac5f7f0 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
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

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
6e814c2402 removed obsolete (and ifdef'd out) d&d test code. r=saari. 2000-02-15 07:13:21 +00:00
vidur@netscape.com
399eb274c1 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
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
dbaron@fas.harvard.edu
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
troy@netscape.com
f2ba156da5 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
baf799923b Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
kmcclusk@netscape.com
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; r=rods@netscape.com
2000-01-26 23:04:40 +00:00
troy@netscape.com
67f034175a 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
7b69029405 use proper key for discontiguous selection on Mac (r=jfrancis) 2000-01-13 16:07:03 +00:00
mjudge@netscape.com
e7742baf73 small changes for 22752 ctrl left and right. r=cmanske 2000-01-12 21:39:36 +00:00