293 Commits

Author SHA1 Message Date
mjudge%netscape.com
eaec62deed bug = 34896, r= hyatt. changing caret apis. this will demand that when a caret changes focus a call to setDOMSelection must be called to tell the caret what selection to listen to.
git-svn-id: svn://10.0.0.236/trunk@71230 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:37:40 +00:00
cmanske%netscape.com
b457171a1d Added row/column selection in tables: Bug 26833. r=kin, a=beppe
git-svn-id: svn://10.0.0.236/trunk@71115 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:07:58 +00:00
akkana%netscape.com
e8f9d34322 38713: Allow TakeFocus motion inside selection batching. r=mjudge, jfrancis; a=beppe
git-svn-id: svn://10.0.0.236/trunk@71111 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:02:12 +00:00
kin%netscape.com
d7bccacbfb 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


git-svn-id: svn://10.0.0.236/trunk@70855 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 20:04:02 +00:00
mjudge%netscape.com
2f998b8cc1 removing debug messages
git-svn-id: svn://10.0.0.236/trunk@70254 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:07:31 +00:00
pavlov%netscape.com
a0feb91521 changes all usages of NS_NewTimer to CreateInstance
git-svn-id: svn://10.0.0.236/trunk@70249 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:49:35 +00:00
mjudge%netscape.com
44d73d55a6 fixing relative div position bug with autoscroll
git-svn-id: svn://10.0.0.236/trunk@70128 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:41:38 +00:00
cmanske%netscape.com
7bf34e9d29 Select table column and row support (20973). r=mjudge
git-svn-id: svn://10.0.0.236/trunk@69950 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:03:13 +00:00
mjudge%netscape.com
82191df631 fixing legal issues
git-svn-id: svn://10.0.0.236/trunk@69794 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:19:25 +00:00
mjudge%netscape.com
9f85d6b917 fixing warnings and some redundant code
git-svn-id: svn://10.0.0.236/trunk@69576 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 20:47:42 +00:00
mjudge%netscape.com
4f704d5fd3 fixing redundant calls to notify selection listeners
git-svn-id: svn://10.0.0.236/trunk@69556 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 09:10:16 +00:00
mjudge%netscape.com
a7aed95683 (ender-lite) forcing use of nsixifconverter rather than nsxifconverter. making tostring method take output type parameters.
git-svn-id: svn://10.0.0.236/trunk@69541 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:07:34 +00:00
mjudge%netscape.com
2f9bd42697 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.
git-svn-id: svn://10.0.0.236/trunk@69180 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:25:43 +00:00
mjudge%netscape.com
78a87d2108 forgot to initialize this
git-svn-id: svn://10.0.0.236/trunk@68628 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 04:00:48 +00:00
dprice%netscape.com
9e6c72d5c4 fix for 38253 r=mjudge
git-svn-id: svn://10.0.0.236/trunk@68350 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:37:27 +00:00
mjudge%netscape.com
e5b2003819 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.
git-svn-id: svn://10.0.0.236/trunk@68219 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 08:35:42 +00:00
mjudge%netscape.com
8d3cfc61b9 new api for limiter in selection
git-svn-id: svn://10.0.0.236/trunk@67846 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:44:17 +00:00
kin%netscape.com
b748362cc1 Fix for crasher bugs 37701 and 37728. r=mjudge@netscape.com
git-svn-id: svn://10.0.0.236/trunk@67732 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 18:21:30 +00:00
dbaron%fas.harvard.edu
cce89251da Fixed miscellaneous leaks exposed to tinderbox leak stats by brade%netscape.com's JS checkin (rev 1.150 of navigator.js, 2000-04-28).
git-svn-id: svn://10.0.0.236/trunk@67689 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 00:26:37 +00:00
jst%netscape.com
24cb527be6 Make nsSelection::ToString(); do the right thing, now it uses the document encoder to create the string representation of the selection. r=mjudge&akkana (before I did a string API change).
git-svn-id: svn://10.0.0.236/trunk@67527 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 13:58:08 +00:00
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
akkana%netscape.com
fe3c0b3f4a Backing out previous change -- wasn't ready. a=mjudge
git-svn-id: svn://10.0.0.236/trunk@67168 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:58:28 +00:00
akkana%netscape.com
b2aefd93c7 Change Save File APIs in layout and editor to eliminate the specific
references to text and html and make them more general (take a mime type).
In the editor, prettyprint all output if editor.prettyprint_html is set.


git-svn-id: svn://10.0.0.236/trunk@67155 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:00:50 +00:00
scc%netscape.com
4e8e28e89b making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66189 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 10:28:55 +00:00
scc%netscape.com
7741d6c076 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66139 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:19:26 +00:00
mjudge%netscape.com
922709ebdd fixing selection speed. only copying to clipboard on mouse up
git-svn-id: svn://10.0.0.236/trunk@66024 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:00:30 +00:00
mjudge%netscape.com
55078146c7 touch alot. changing api for notify selection listeners to add document and seleciton pointers to the api.
git-svn-id: svn://10.0.0.236/trunk@65977 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 11:21:19 +00:00
mjudge%netscape.com
b5c40f47f1 table cell selection now shows up background. also small fix for nsBlockFrame to do the right thing for mouse capture.
git-svn-id: svn://10.0.0.236/trunk@65860 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:21:32 +00:00
mjudge%netscape.com
ae3c9d9ad5 fixing 2 bugs. bug for notifications going out when we dont need them for selection changing. and for fixing some keyboard navigations around non-text frames
git-svn-id: svn://10.0.0.236/trunk@65694 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 10:34:19 +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
e16ab47ebe making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65029 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 11:20:35 +00:00
mjudge%netscape.com
2fd774249a selecting generated content works now. subtree iterator and all. incredible... added new private method to nsTextFrame to factor out some things on getting correct offsets from generated frames. its a no-op almost for non generated frames
git-svn-id: svn://10.0.0.236/trunk@64921 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 05:05:31 +00:00
mjudge%netscape.com
d068ec5d0f moving nsGeneratedContent stuff to new file nsGeneratedIterator. adding new bitflags for selection types for nsSelection
git-svn-id: svn://10.0.0.236/trunk@64717 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:17:22 +00:00
cmanske%netscape.com
d7aa412329 Optimized SelectBlockOfCells to select/unselect only those cells that really need to be. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63970 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 02:52:07 +00:00
cmanske%netscape.com
e15bf8d5b3 Added support for Ctrl+Shift+mouseclick to select block of cells. Rewrote nsITableLayout::nsGetCellData() to be much more efficient, eliminating a method in the process. Implemented nsTableCellFrame::Get[Previous|Next]CellInColumn for cursor key navigation in tables. r=mjudge,karnaze.
git-svn-id: svn://10.0.0.236/trunk@63825 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 04:24:58 +00:00
cmanske%netscape.com
4c4c8e8cf0 Cleaning up selection: changed 'RangeList' to 'Selection', thus changing implementation class of nsIDOMSelection and nsIFrameSelection to nsSelection. File nsRangeList.cpp replaced with new nsSelection.cpp
git-svn-id: svn://10.0.0.236/trunk@63660 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:58:02 +00:00
sfraser%netscape.com
1cfc44f4fe File Removed.
git-svn-id: svn://10.0.0.236/trunk@27273 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:18:25 +00:00
kipp%netscape.com
10b6617c48 Fixup AddRef/Release and some constructors to use NS_ADDREF (etc) macros
git-svn-id: svn://10.0.0.236/trunk@9955 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:33:48 +00:00
kipp
284512c2d1 IMplement factory in this class; AddRef during QueryInterface like it should; init refcnt in ctor
git-svn-id: svn://10.0.0.236/trunk@3041 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:47:22 +00:00
kipp
9003aba3c1 Fixed irix bustage
git-svn-id: svn://10.0.0.236/trunk@1345 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 21:12:12 +00:00
rods
a31617a2db added selection classes to makefiles and added the selection object and methods to nsDocument and nsIDocument
git-svn-id: svn://10.0.0.236/trunk@913 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 18:21:59 +00:00
rods
f71616b8fa initial check in
git-svn-id: svn://10.0.0.236/trunk@851 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 17:08:57 +00:00