Граф коммитов

17 Коммитов

Автор SHA1 Сообщение Дата
mjudge%netscape.com eaa78b424a fixes for crasher in tree 1999-09-11 00:18:02 +00:00
mjudge%netscape.com 046cdcb844 changes for peekoffset removal of extra parameters. also fixing some ownership issues with nsIenumerator and the rangelist iterator. fixing also some hit tests for line frames. 1999-09-10 18:29:37 +00:00
kin%netscape.com bfd4c1f102 Fix for bugs #7153, #10673, #12066, #12067, and #12793.
editor/base/nsEditorEventListeners.cpp
editor/base/nsEditorEventListeners.h

  - Added code to scroll the selection into view
    after processing key events.
  - Commented out the hack that redraws the entire
    view when the focus is gained and lost. Replaced
    the hack code with calls to RepaintSelection().

layout/base/public/nsIFrameSelection.h
layout/base/public/nsIPresShell.h
layout/html/base/src/nsPresShell.cpp
   - Added ScrollSelectionIntoView() and RepaintSelection() methods.

layout/base/src/nsRangeList.cpp
   - Added implementation for ScrollSelectionIntoView() and
     RepaintSelection().
   - Check for NULL primary frame in GetFocusNodeRect()
     to fix bug #12793.
1999-08-30 21:54:40 +00:00
akkana%netscape.com b6a67a9c1c Move non-idlc generated stuff from nsIDOMSelection.h to nsIPresShell.h 1999-07-21 00:12:23 +00:00
mjudge%netscape.com c0b1525970 massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape. 1999-07-18 02:27:19 +00:00
mjudge%netscape.com f447570414 checkin for carpool for multiple seleciton/ime selection and api changes to nsIDOMselection 1999-07-15 18:19:03 +00:00
mjudge%netscape.com a15e7eb5ac adding in selection of non text frames in editor only 1999-05-17 00:21:18 +00:00
mjudge%netscape.com 884bb4bb82 massive checkin for selection modifications and removing static state variables for selection in nsFrame.h. 1999-05-07 21:12:59 +00:00
cyeh%netscape.com 8a1db8783c backout mjudge checkin against closed tree. it also breaks mac as well, so
mjudge will try again when tree reopens
1999-05-05 23:05:41 +00:00
mjudge%netscape.com 0cc9f0073f adding new state to nsRangeList to track mousedown and dragging criteria. much better than static variables in nsFrame.h!! 1999-05-05 22:32:58 +00:00
mjudge%netscape.com f302ca2537 selection changes for new model of content only. frames no longer contain variables referring to selection state outside of 1 bit. keyboard selection will now be disabled until i can get it working in the new selection world order. 1999-04-26 04:02:04 +00:00
tague%netscape.com 6e19645586 Added support for basic Japanese input on Win32 1999-03-19 23:36:20 +00:00
mjudge%netscape.com 26d8cc3a13 fixed memory leaks in nsRangelist.cpp. uninitialized memory in nsTextframe, simplified APIs in nsIFrame and the underlying implementations. see layout.checkins 1999-03-12 00:17:14 +00:00
scc%netscape.com 2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
mjudge%netscape.com bbd3667ca9 Extra parameter in nsIFrameSeleciton HandleKeyEvent not necessary. nsRangeList mod now allows SHIFT-Key selection. currently bound directly to VK_LEFT,RIGHT should be changed eventually to something more internationaly friendly 1999-02-20 23:52:05 +00:00
mjudge%netscape.com fb3a597e8a nsPresShell now listens to changes in the domselection. (also modified nsIEnumerator to use NS_IMETHOD instead of virtual nsresult). Added batching for selection changes. you can move the selection, do things then turn off batching for an update if necessary. also prevented circular referencing by adding listener removal to PresShell::endDocumentListening(sp) 1999-02-19 23:47:36 +00:00
akkana%netscape.com 2c4a099fa1 Renaming nsISelection to nsIFrameSelection.
Here is the old log from nsISelection (since CVS doesn't allow renames):
> revision 1.9
> date: 1999/02/02 00:23:35;  author: mjudge%netscape.com;  state: Exp;  lines: +2 -1
> keyboard navigation of selection.  adding API for nsIFrame. fixing nsFrame and nstextframe to reflect the implementations of the nsIFrame API.  nsRangeList implements the handlekeyevent now.
> ----------------------------
> revision 1.8
> date: 1999/01/29 18:57:51;  author: akkana%netscape.com;  state: Exp;  lines: +6 -0
> Implement a new interface, nsIDOMSelection, intended to become the
> external interface for selection (to be IDL-ified later).
>
> Fix some editor bugs:
> - Advance the cursor on text insert (so text is inserted in the right order)
> - Make DeleteSelection in the editor call the actual selection
> - Make DeleteSelection update the frames' notion of the selection
> ----------------------------
> revision 1.7
> date: 1999/01/25 01:42:32;  author: mjudge%netscape.com;  state: Exp;  lines: +3 -4
> Focus tracker needs to send the tracker to the implementation of selection so that it can update the tracker as to which frame(s) should be considered the focus frames ect.  This is not yet working fully.  Everything I am checking in will stay, I simply have a decision to make as to exactly what to do next.  RangeList also had some modifications to better selection
> ----------------------------
> revision 1.6
> date: 1999/01/22 18:58:09;  author: mjudge%netscape.com;  state: Exp;  lines: +6 -0
> chagnes for selection to work
> ----------------------------
> revision 1.5
> date: 1999/01/18 22:57:08;  author: mjudge%netscape.com;  state: Exp;  lines: +1 -1
> Files for selection across frames.
> ----------------------------
> revision 1.4
> date: 1998/12/14 18:34:09;  author: mjudge%netscape.com;  state: Exp;  lines: +13 -1
> adding in selection
> ----------------------------
> revision 1.3
> date: 1998/12/08 18:25:37;  author: mjudge%netscape.com;  state: Exp;  lines: +9 -32
> changes to selection
> ----------------------------
> revision 1.2
> date: 1998/05/01 05:55:11;  author: rpotts;  state: Exp;  lines: +1 -1
> nslayout.h is *all* lower case
> ----------------------------
> revision 1.1
> date: 1998/04/30 19:15:05;  author: rods;  state: Exp;
> initial
1999-02-11 23:10:20 +00:00