Commit Graph
171 Commits
Author SHA1 Message Date
bienvenu@netscape.com cc7fe23620 fix build bustage 1999-09-02 19:21:45 +00:00
joki@netscape.com 9c08da7d74 Fix for bug 12226, allow reentrant events 1999-09-02 18:14:01 +00:00
nisheeth@netscape.com d09bc57dbb - Added setter for history state to nsIPresShell
- Added capture/restore frame state methods to nsIFrameManager
- Added a getter for state type to nsIStatefulFrame.
- Changed the save/restore method parameters  in nsIStateful frame
  so that only the frame state gets passed to the stateful frame.
- Implemented all the new interface methods in the respective implementation classes.
1999-08-31 14:35:50 +00:00
nisheeth@netscape.com d66a640714 Added get/set document state API for use by session history. 1999-08-30 22:38:58 +00:00
kin@netscape.com 2206ab56b9 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
kipp@netscape.com 36c66a102e Added hack code (for me) to allow for stack depth testing 1999-08-27 21:50:37 +00:00
jfrancis@netscape.com 4036bf65f9 making nsPresShell and nsDocument support weak references; using weak references to docs and pres shells within the editor 1999-08-25 10:51:55 +00:00
pinkerton@netscape.com 9a13c452d7 IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter. 1999-08-25 08:35:06 +00:00
hyatt@netscape.com 04ce29b4c2 Fix for editor typing bustage (part 2). 1999-08-24 10:20:35 +00:00
hyatt@netscape.com 8a9bd2a027 Patching an error in the key event handling. 1999-08-24 00:42:02 +00:00
beard@netscape.com 7848d31f5a fixes a crasher triggered by test case of bug #5194. 1999-08-07 20:43:47 +00:00
troy@netscape.com 8bcc4415e2 Moved cantrenderreplacedelememt code over to the frame manager 1999-08-05 20:17:44 +00:00
troy@netscape.com a9cd805e30 Added NULL pointer checks in GetPrimaryFrameFor() and GetPlaceholderFrameFor() 1999-08-05 03:23:39 +00:00
troy@netscape.com d2e28c48a0 Changed frame construction code to use frame manager when modifying frame
model
1999-08-05 03:09:22 +00:00
buster@netscape.com ab00c39760 added GetCaretEnabled
cleaned up caret APIs according to coding convention
1999-08-04 20:46:16 +00:00
troy@netscape.com 3fa043f0ab Now uses frame manager 1999-08-04 04:02:40 +00:00
rods@netscape.com 7a6b6fe748 temporary fix for reentrancy bug in HandleEvent 1999-07-28 21:42:37 +00:00
joki@netscape.com 39b685f44a Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus. 1999-07-26 15:02:19 +00:00
rods@netscape.com e42968d0ba Sending wrong length when putting data on the clipboards,
double byte chars need twice the space. Wrongly assummed nsString.Length()
return bytes instead of length in chars doubel or single.
1999-07-23 02:25:17 +00:00
troy@netscape.com d6f5216441 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
troy@netscape.com 73aa191b66 Changed ScrollFrameIntoView() to also do horizontal scrolling if necessary 1999-07-19 18:38:33 +00:00
mjudge@netscape.com 5003dfb491 cant query interface from frame selection to dom selection since we now have more than one type of dom selection implementations. you must ask for ANY dom selection then remove yourself as a listener or whatever you want to do. MJ 1999-07-19 18:04:35 +00:00
mjudge@netscape.com 8e4c13fcd1 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
troy@netscape.com c55e5f77c8 Added code to make sure that posted events are removed when the frame they
refer to is destroyed
1999-07-16 23:27:46 +00:00
rods@netscape.com 1a9883406b XIF is now being put into the transferable as double byte 1999-07-16 14:20:59 +00:00
troy@netscape.com b4cd234466 Turned on the use of the digital search tree code 1999-07-16 03:32:09 +00:00
sfraser@netscape.com 301273f455 Removal of nsCaretProperties 1999-07-14 22:18:29 +00:00
kipp@netscape.com 5049fe0e8f nop 1999-07-14 17:30:07 +00:00
hyatt@netscape.com 78d7f26ae9 Fixing problems with redraw on initial show of window. 1999-07-07 22:34:31 +00:00
troy@netscape.com 61b2408671 Changed GetPrimaryFrameFor() to use a hash table to improve performance 1999-07-06 03:52:33 +00:00
hyatt@netscape.com d39d799cc5 Checking in support for intrinsic sizing of chrome. 1999-07-04 04:09:54 +00:00
troy@netscape.com 78f05971c4 Work-in-progress for having GetPrimaryFrameFor() use a hash table 1999-06-30 04:42:26 +00:00
joki@netscape.com fcda68d304 Fixes for event going to frames which have changes as a result of other event handlers. (loosely bug 1283) 1999-06-15 03:14:28 +00:00
mjudge@netscape.com d36c31368a fixing table selection again. also adding parameter to nsIFocusTracker that allows us to get the current caret location. I am also stopping nsTableRowFrame from putting blue border around itself since cells are a high enough granularity. made a change to nsIFrame GetPosition to remove some useless parameters ect. this caused me to change nsDOMEvent.cpp and some other places.
MJ
1999-06-10 21:08:17 +00:00
nisheeth@netscape.com 865199beb1 Patch from alecf to do a null pointer check in FindFrameWithContent(). 1999-06-05 00:18:03 +00:00
dp@netscape.com 6dc8a899c6 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
rickg@netscape.com f18f40c0c7 fixed per cyeh 1999-05-21 23:11:16 +00:00
joki@netscape.com 4419f076cc Fix for bug 6005, crash on window closing via script. A: chofmann, R: vidur 1999-05-20 23:16:53 +00:00
mjudge@netscape.com d1520ed3dc adding in selection of non text frames in editor only 1999-05-17 00:21:18 +00:00
rods@netscape.com 031a157dcc removed reference to nsIDataFlavor and merged nsITransferable and nsIGenericTransferable 1999-05-13 21:53:57 +00:00
av@netscape.com c091dfdc5f Fixing bug #3605 1999-05-05 01:10:25 +00:00
hyatt@netscape.com 0e78d56e66 Changes to support window.open in AppRunner. 1999-05-04 23:29:06 +00:00
danm@netscape.com 03b219599f PresShell given owning reference to its nsDocument and nsPresContext. Prevents early deletion of these objects in some cases. Part of bug 5844. a:kipp 1999-05-04 23:27:42 +00:00
rods@netscape.com 7d2aa804aa Removed D&D statically defined IIDs and replaced them with the static class GetIID() 1999-05-04 14:55:24 +00:00
joki@netscape.com 3bb8305dba Adding scrolling fixes to fix bug #3999, A: chofmann 1999-04-30 19:38:39 +00:00
pinkerton@netscape.com 5ec4702d7e pinkerton/scc. appr chofmann. Bug #4127, et al. Fixing ownership models (more work to come). 1999-04-30 09:04:36 +00:00
kipp@netscape.com 50a1627c44 Disable rendering during presentation tear down 1999-04-30 00:08:17 +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
kipp@netscape.com f6f538636b Removed compiler warnings 1999-04-27 22:14:17 +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