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

49 Коммитов

Автор SHA1 Сообщение Дата
mjudge%netscape.com 4655fdd163 82151 r=jfrancis sr = kin 2002-04-16 02:42:09 +00:00
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
dbaron%fas.harvard.edu bf82abfd11 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
hyatt%netscape.com 2bf7260d28 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
brade%netscape.com 3bda423b89 add GetScrollableView; bug #65124 2001-05-11 13:24:28 +00:00
erik%netscape.com 84ace96483 bug 71314; author=simon@softel.co.il; r=mjudge,anthonyd; sr=erik; changes
from IBM bidi project (Arabic, Hebrew, etc); some in ifdef for now
2001-03-21 01:16:22 +00:00
cmanske%netscape.com e4e8f945c9 Reinstating table selection work for bug 57863 and fixed textfield.value bug 63376. r=kin, sr=sfraser 2000-12-20 22:13:54 +00:00
leaf%mozilla.org 1b004f4d02 backing out regression-causing changes to reopen tree 2000-12-20 18:09:53 +00:00
cmanske%netscape.com 4612fb38be Convert IDL defines from short to long so enums are PRInt32 on all platforms (fixing build bustage) 2000-12-20 03:15:16 +00:00
cmanske%netscape.com cdfc880f41 Table selection work (part of b=57863): Moved param for GetTableSelectionDate from .h to .idl, requiring change from PRUint32 to PRInt16 for all users. Table Cell ranges are now added in document order (location in table) when selecting multiple cells. Refactored table selection methods and fixed leaks. r=mjudge, sr=kin 2000-12-20 01:36:41 +00:00
mjudge%netscape.com a2fa9edcb5 small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
sfraser%netscape.com a19bcfbde3 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:38:00 +00:00
cmanske%netscape.com 293fd81594 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
mjudge%netscape.com 16dba34403 r=jfrancis,r=hyatt 42045 beta2+ 42675 beta2+ hitting return on text area not putting new line. onchange,oninput. 2000-06-28 04:00:12 +00:00
kin%netscape.com 2303aabdcb 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
cmanske%netscape.com d662d0595f Changed comments to accurately describe HandleTableSelection parameters 2000-05-16 03:31:28 +00:00
mjudge%netscape.com 084b1aad2f lets you set the view to be scrolled 2000-05-13 08:06:13 +00:00
mjudge%netscape.com b24046a978 new api for limiter in selection 2000-05-02 03:44:17 +00:00
mjudge%netscape.com 6e453761da change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument 2000-04-28 06:21:31 +00:00
mjudge%netscape.com 48f046e6b3 ender lite checkin. 2000-04-27 07:37:12 +00:00
mjudge%netscape.com 949cea5712 table cell selection now shows up background. also small fix for nsBlockFrame to do the right thing for mouse capture. 2000-04-13 20:21:32 +00:00
cmanske%netscape.com 89f6311468 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 ba3457173e Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge 2000-03-16 23:45:39 +00:00
mjudge%netscape.com a27771d4f5 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
kin%netscape.com 09204de391 Fix for bug #21029: Caret get's wrong offset when parent not a text node
mozilla/layout/base/public/nsIFrameSelection.h
      - Added aReturnOffset arg to GetFrameForNodeOffset().

    mozilla/layout/base/src/nsCaret.cpp
      - mLastContentOffset now gets it's value from the offset
        returned by GetFrameForNodeOffset().

    mozilla/layout/base/src/nsRangeList.cpp
      - GetFrameForNodeOffset() now returns an offset to be used
        with the result frame.

r=mjudge@netscape.com,jfrancis@netscape.com
2000-01-10 15:32:42 +00:00
mjudge%netscape.com eecd5e732f r= kin. fix for another parameter. fixing m13 bug with multiple selection. 2000-01-08 00:31:32 +00:00
mjudge%netscape.com 2cf7e901e3 massive changes a=jar.hoffman, r=akkana 1999-12-11 00:02:08 +00:00
dmose%mozilla.org 42fc94a6ec updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
troy%netscape.com a47e8db44b Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
mjudge%netscape.com 3d3eb16f9a 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
mjudge%netscape.com 21ba41e280 bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. get position not a valid call anymore to nsIFrame.h 1999-10-13 01:16:09 +00:00
kin%netscape.com ff2c034123 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
mjudge%netscape.com 24a5d270fd fixes for crasher in tree 1999-09-11 00:18:02 +00:00
mjudge%netscape.com 8a55b0d40e 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 c4ea811665 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 fcc5b35d37 Move non-idlc generated stuff from nsIDOMSelection.h to nsIPresShell.h 1999-07-21 00:12:23 +00:00
mjudge%netscape.com 7ddf8fee55 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 a2f598637e checkin for carpool for multiple seleciton/ime selection and api changes to nsIDOMselection 1999-07-15 18:19:03 +00:00
mjudge%netscape.com 341678533a adding in selection of non text frames in editor only 1999-05-17 00:21:18 +00:00
mjudge%netscape.com 85afd8f29d 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 8f54a21774 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 fd79ce63e6 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 75dd0e4936 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 21fe067546 Added support for basic Japanese input on Win32 1999-03-19 23:36:20 +00:00
mjudge%netscape.com 098064a40c 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 31ff626ae9 rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
mjudge%netscape.com bc5b38fe17 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 c61751911a 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 7cc2928871 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