Commit Graph
87 Commits
Author SHA1 Message Date
akkana@netscape.com f935217695 comment out annoying debug message 1999-05-05 23:24:58 +00:00
cyeh@netscape.com 80f2bb5031 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 bcc28efd4b 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 a072fb0ef5 m5 BUGS Choffman approved. simon reviewed. removing possible memory leak and getting anchor and focus frame to use the proper range instead of addreffing a node each! tested this afternoon 1999-04-29 20:24:21 +00:00
mjudge@netscape.com ba38f34653 bug fix simon reviewed hoffman approved 1999-04-28 23:09:59 +00:00
sfraser@netscape.com 58a6a8455d Break out of the loop when iter->Next() fails (nil parent problem in the content iterator). 1999-04-28 06:38:19 +00:00
mjudge@netscape.com 3705900877 oops left debug statement on 1999-04-28 03:01:27 +00:00
mjudge@netscape.com 4a21d6459f fixing a plethora of bugs here. This will only set selection on the difference in the ranges before and after the ::Extend call. This will stop unnecessary drawing ect. The flickering that may be seen now is due to an invalidate compositor bug that will not allow me to queue up invalidate calls. this should be safe. 1999-04-28 02:45:19 +00:00
mjudge@netscape.com 40459a892f 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
sfraser@netscape.com ce3284340e Implement the ScriptObjectOwner interface, and adapt to fixed selection interfaces. 1999-04-15 20:19:26 +00:00
joki@netscape.com 1bd5644a0c Modifying auto-scrolling to not happen after every keystroke. 1999-04-14 01:22:09 +00:00
sfraser@netscape.com 81a16a8bf5 Updated to conform to new IDL-ized selection interfaces. 1999-04-13 01:33:32 +00:00
mjudge@netscape.com cfbedc77e5 bug 4539 approved by hoffman. fix gives us nested selection batch changes. 1999-04-08 01:27:29 +00:00
mjudge@netscape.com ae60831fc8 Simon reviewed. Hoffman approved bug number 4584 fixes clicking in alternate text. 1999-04-07 22:49:07 +00:00
sfraser@netscape.com be1cdad127 Turn off debug selection, and fix some debug code that crashed sometimes. 1999-04-03 01:46:58 +00:00
sfraser@netscape.com f88c48efac #ifdef out the navigation printfs, and remove some unused variables. 1999-04-01 23:44:15 +00:00
jfrancis@netscape.com 952679c24c fixed 4057: Clear() now resets focus and anchor nodes 1999-03-22 09:02:30 +00:00
tague@netscape.com 6cab55d03f Added support for basic Japanese input on Win32 1999-03-19 23:36:20 +00:00
mjudge@netscape.com ff2c7192f6 M3 bug reviewed by joe francis. simply adding 0 initiializers to variables 1999-03-15 23:08:27 +00:00
jfrancis@netscape.com 1ad8493327 fixed 3632 - selection turds after delete. fixed 3751 - resizing page with selected image crashes. reviewed mjudge and kin. checkin approval chofmann. 1999-03-15 22:52:06 +00:00
buster@netscape.com 03bc23543a small bug fix in Collapse. If the range array has 0 children, the selection should be considered collapsed. 1999-03-15 05:04:34 +00:00
buster@netscape.com 514d840432 added some debugging code. uncomment the #define DELETE_SELECTION
to see some output about what node is selected.
1999-03-13 04:36:03 +00:00
sdagley@netscape.com 78462d2bc0 Fixing the Mac build bustage by calling the get() accessor for comparison 1999-03-12 01:16:08 +00:00
mjudge@netscape.com 59b40a4edc need to swap positions for mac. need to put COMPtr on right side of == 1999-03-12 01:02:34 +00:00
mjudge@netscape.com 90b5efff4a 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
akkana@netscape.com 60e6f05ba0 Fix UMR, caught with purify by bruce@portland.puremagic.com 1999-03-10 00:28:47 +00:00
warren@netscape.com 35d5e6e062 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
scc@netscape.com 6bb3406b4d rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
mjudge@netscape.com 85aff9625f updates and fixes for CTRL left arrow and right arrow. also fixes for releasing the presshell correctly. the selection code was leaking it. updates for PREV and NEXT in nsFrameTraversal 1999-03-03 01:51:21 +00:00
warren@netscape.com 3fdebc0a44 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
mjudge@netscape.com 598947a424 adding parameter to nsIFrame for ::PeekOffset to be aware of the state of jumping a word. eating WS ect. also, nsRangeList sends the proper parameter for above change. 1999-02-22 04:57:44 +00:00
mjudge@netscape.com f6ce99ce65 adding word jumping with CNTRL char down now 1999-02-22 03:20:18 +00:00
mjudge@netscape.com e4c810a4f1 fixing leak with selection. didnt realize that ElementAt caused a refcount. this should fix problem of selection not allowing presshell to go away. 1999-02-21 05:14:36 +00:00
mjudge@netscape.com 33e055ba46 adding scrolling depending on selection modification. either by key event, or outside event. 1999-02-21 03:49:32 +00:00
mjudge@netscape.com 0c8f7c4d82 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 bf113cfe32 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
mjudge@netscape.com 93713667ad moving nsFrameTraversal.* nsFrameList.* to layout/base also adding selection from keyboard. 1999-02-19 00:21:22 +00:00
scc@netscape.com 8336e83f37 updated for nsCOMPtr (no implicit construction from raw pointers) owners should check that they agree with my choices for |dont_QueryInterface|, |do_QueryInterface| and |dont_AddRef| 1999-02-18 23:55:10 +00:00
kipp@netscape.com 300bc01a96 Used temporary variables to avoid double-casts and make it easier for compilers to do the right thing 1999-02-18 03:24:39 +00:00
danm@netscape.com ec3d42ce01 changed nsCOMPtr comparison operators to explicitly use get(). part of nsCOMPtr carpool. 1999-02-17 04:39:22 +00:00
sfraser@netscape.com 922c8e8846 Do the addref in a better way; part of the nsCOMPtr carpool 1999-02-17 02:13:54 +00:00
sfraser@netscape.com d1dd4d3a5a Part of the great nsCOMPtr carpool. Approved by those in power. 1999-02-17 02:08:01 +00:00
mcafee@netscape.com 6a62cea421 Adding do_QueryInterface() wrapper for nsCOMPtr carpool. r=scc a=sar 1999-02-17 02:08:00 +00:00
troy@netscape.com 602de2f255 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp@netscape.com 74b2988510 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
sfraser@netscape.com 7731f7b6e3 Add support for selection listener interfaces 1999-02-11 23:58:46 +00:00
akkana@netscape.com 0e46889822 Rename nsISelection to nsIFrameSelection 1999-02-11 23:12:28 +00:00
mjudge@netscape.com ec19bd6e4d Keyboard navigation, removing nsICollection(not used) adding PeekOffset to have the nsIFrame tell us where to go when moving a character ect. adding nsFrameTraversal to traverse frames, based on nsIEnumerator. mjudge x4661 1999-02-10 18:55:25 +00:00
troy@netscape.com 87805c7a92 Changed GetNextSibling() to use a pointer argument instead of a reference 1999-02-10 06:13:38 +00:00
troy@netscape.com c63560927c Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&
1999-02-10 02:25:01 +00:00