167 Commits

Author SHA1 Message Date
kin%netscape.com
ea9db112f9 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.


git-svn-id: svn://10.0.0.236/trunk@45163 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 21:54:40 +00:00
kipp%netscape.com
5caf777abe Added hack code (for me) to allow for stack depth testing
git-svn-id: svn://10.0.0.236/trunk@44929 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:50:37 +00:00
jfrancis%netscape.com
2a60fccebc making nsPresShell and nsDocument support weak references; using weak references to docs and pres shells within the editor
git-svn-id: svn://10.0.0.236/trunk@44483 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 10:51:55 +00:00
pinkerton%netscape.com
6eb3a21da9 IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter.
git-svn-id: svn://10.0.0.236/trunk@44476 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 08:35:06 +00:00
hyatt%netscape.com
f12db0b33c Fix for editor typing bustage (part 2).
git-svn-id: svn://10.0.0.236/trunk@44282 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 10:20:35 +00:00
hyatt%netscape.com
3af8b5569f Patching an error in the key event handling.
git-svn-id: svn://10.0.0.236/trunk@44192 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:42:02 +00:00
beard%netscape.com
3e9a8b9a14 fixes a crasher triggered by test case of bug #5194.
git-svn-id: svn://10.0.0.236/trunk@42666 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 20:43:47 +00:00
troy%netscape.com
aba5f77708 Moved cantrenderreplacedelememt code over to the frame manager
git-svn-id: svn://10.0.0.236/trunk@42332 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 20:17:44 +00:00
troy%netscape.com
22079fd541 Added NULL pointer checks in GetPrimaryFrameFor() and GetPlaceholderFrameFor()
git-svn-id: svn://10.0.0.236/trunk@42258 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 03:23:39 +00:00
troy%netscape.com
db679bfa7c Changed frame construction code to use frame manager when modifying frame
model


git-svn-id: svn://10.0.0.236/trunk@42257 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 03:09:22 +00:00
buster%netscape.com
132773aaab added GetCaretEnabled
cleaned up caret APIs according to coding convention


git-svn-id: svn://10.0.0.236/trunk@42196 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:46:16 +00:00
troy%netscape.com
1b2f63b41f Now uses frame manager
git-svn-id: svn://10.0.0.236/trunk@42101 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 04:02:40 +00:00
rods%netscape.com
e2a7ed2062 temporary fix for reentrancy bug in HandleEvent
git-svn-id: svn://10.0.0.236/trunk@41488 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:42:37 +00:00
joki%netscape.com
73627c01e7 Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus.
git-svn-id: svn://10.0.0.236/trunk@41139 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 15:02:19 +00:00
rods%netscape.com
dcffac81c3 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.


git-svn-id: svn://10.0.0.236/trunk@40777 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 02:25:17 +00:00
troy%netscape.com
947927e816 Renamed DeleteFrame() to Destroy()
git-svn-id: svn://10.0.0.236/trunk@40585 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 02:24:52 +00:00
troy%netscape.com
23d4ad25a7 Changed ScrollFrameIntoView() to also do horizontal scrolling if necessary
git-svn-id: svn://10.0.0.236/trunk@40113 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 18:38:33 +00:00
mjudge%netscape.com
dbd14f2e48 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
git-svn-id: svn://10.0.0.236/trunk@40109 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 18:04:35 +00:00
mjudge%netscape.com
329d39ba11 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.
git-svn-id: svn://10.0.0.236/trunk@39971 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 02:27:19 +00:00
troy%netscape.com
3cb93edabc Added code to make sure that posted events are removed when the frame they
refer to is destroyed


git-svn-id: svn://10.0.0.236/trunk@39785 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 23:27:46 +00:00
rods%netscape.com
c53019c6fb XIF is now being put into the transferable as double byte
git-svn-id: svn://10.0.0.236/trunk@39693 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 14:20:59 +00:00
troy%netscape.com
8f02eaacb9 Turned on the use of the digital search tree code
git-svn-id: svn://10.0.0.236/trunk@39632 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 03:32:09 +00:00
sfraser%netscape.com
fdcb802f6e Removal of nsCaretProperties
git-svn-id: svn://10.0.0.236/trunk@39412 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:18:29 +00:00
kipp%netscape.com
86df575458 nop
git-svn-id: svn://10.0.0.236/trunk@39308 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:30:07 +00:00
hyatt%netscape.com
b4233487a4 Fixing problems with redraw on initial show of window.
git-svn-id: svn://10.0.0.236/trunk@38736 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 22:34:31 +00:00
troy%netscape.com
cd133fcb8b Changed GetPrimaryFrameFor() to use a hash table to improve performance
git-svn-id: svn://10.0.0.236/trunk@38387 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 03:52:33 +00:00
hyatt%netscape.com
0783f2a892 Checking in support for intrinsic sizing of chrome.
git-svn-id: svn://10.0.0.236/trunk@38310 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-04 04:09:54 +00:00
troy%netscape.com
f1588e6197 Work-in-progress for having GetPrimaryFrameFor() use a hash table
git-svn-id: svn://10.0.0.236/trunk@37514 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 04:42:26 +00:00
joki%netscape.com
1b13b0f841 Fixes for event going to frames which have changes as a result of other event handlers. (loosely bug 1283)
git-svn-id: svn://10.0.0.236/trunk@35325 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:14:28 +00:00
mjudge%netscape.com
21a15def92 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


git-svn-id: svn://10.0.0.236/trunk@34640 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:08:17 +00:00
nisheeth%netscape.com
b8c7706fa9 Patch from alecf to do a null pointer check in FindFrameWithContent().
git-svn-id: svn://10.0.0.236/trunk@33871 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 00:18:03 +00:00
dp%netscape.com
befa259a88 Landing xpcom20/21 branch.
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
rickg%netscape.com
fb0094ea78 fixed per cyeh
git-svn-id: svn://10.0.0.236/trunk@32485 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 23:11:16 +00:00
joki%netscape.com
91abaf6632 Fix for bug 6005, crash on window closing via script. A: chofmann, R: vidur
git-svn-id: svn://10.0.0.236/trunk@32427 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 23:16:53 +00:00
mjudge%netscape.com
ff933f4f73 adding in selection of non text frames in editor only
git-svn-id: svn://10.0.0.236/trunk@31872 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 00:21:18 +00:00
rods%netscape.com
089a8e7024 removed reference to nsIDataFlavor and merged nsITransferable and nsIGenericTransferable
git-svn-id: svn://10.0.0.236/trunk@31462 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:53:57 +00:00
av%netscape.com
2a8067f921 Fixing bug #3605
git-svn-id: svn://10.0.0.236/trunk@30310 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 01:10:25 +00:00
hyatt%netscape.com
7feb3ecad0 Changes to support window.open in AppRunner.
git-svn-id: svn://10.0.0.236/trunk@30277 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:29:06 +00:00
danm%netscape.com
b5025d58f4 PresShell given owning reference to its nsDocument and nsPresContext. Prevents early deletion of these objects in some cases. Part of bug 5844. a:kipp
git-svn-id: svn://10.0.0.236/trunk@30275 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:27:42 +00:00
rods%netscape.com
2916c7cc05 Removed D&D statically defined IIDs and replaced them with the static class GetIID()
git-svn-id: svn://10.0.0.236/trunk@30107 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 14:55:24 +00:00
joki%netscape.com
a158b164ef Adding scrolling fixes to fix bug #3999, A: chofmann
git-svn-id: svn://10.0.0.236/trunk@29867 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:38:39 +00:00
pinkerton%netscape.com
03c53644f7 pinkerton/scc. appr chofmann. Bug #4127, et al. Fixing ownership models (more work to come).
git-svn-id: svn://10.0.0.236/trunk@29831 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 09:04:36 +00:00
kipp%netscape.com
cb633c88a4 Disable rendering during presentation tear down
git-svn-id: svn://10.0.0.236/trunk@29814 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 00:08:17 +00:00
mjudge%netscape.com
266e1da5ec 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
git-svn-id: svn://10.0.0.236/trunk@29801 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 20:24:21 +00:00
kipp%netscape.com
12a0ca23a4 Removed compiler warnings
git-svn-id: svn://10.0.0.236/trunk@29555 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 22:14:17 +00:00
mjudge%netscape.com
0352ad75c6 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.
git-svn-id: svn://10.0.0.236/trunk@29153 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 04:02:04 +00:00
troy%netscape.com
6e60419dbc Changed FindFrameWithContent() to check for a frame type of "placeholderFrame"
and return the out-of-flow frame instead


git-svn-id: svn://10.0.0.236/trunk@29118 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 17:00:24 +00:00
kipp%netscape.com
de73bda8b4 Implement CancelReflowCommand; remove uselss root-frame resize in incremental reflow code
git-svn-id: svn://10.0.0.236/trunk@28930 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:01:20 +00:00
rods%netscape.com
b2b56d29eb Changed Copy code to use nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@28873 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:15:53 +00:00
mcafee%netscape.com
68d8670bd7 Removing nsSelectionMgr from the build
git-svn-id: svn://10.0.0.236/trunk@28865 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:50:17 +00:00