Commit Graph

96 Commits

Author SHA1 Message Date
hyatt%netscape.com
5b5d567b93 Fix for the two crashers: 21180 and 21163, r=saari 1999-12-08 20:18:16 +00:00
hyatt%netscape.com
e2f2336d35 Fix for 21139, r=waterson 1999-12-08 09:01:06 +00:00
hyatt%netscape.com
244bfeaee8 Massive rewrite of the focus/blur architecture. Things should behave better
now. r=saari
1999-12-08 04:54:29 +00:00
kin%netscape.com
893ebc079b Fix for bug #20524: [DOGFOOD] No Caret in Win32 Composer window
Made some modifications to nsEventStateManager::PreHandleEvent().
We now prevent setting of gLastFocusedContent when handling
NS_ACTIVATE. We now allow DOM focus notifications even when
we can't send a blur notification in NS_GOTFOCUS.
r=saari@netscape.com
1999-12-06 21:48:36 +00:00
joki%netscape.com
1e9397058e Fix bug 14836, keep disabled control from responding to events. r:pollmann@netscape.com 1999-12-04 02:22:21 +00:00
tbogard%aol.net
eb96099e6d 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.
1999-12-03 09:24:22 +00:00
saari%netscape.com
bcb4759449 Adding new event state manager API GetFocusedEventTarget which returns the current frame in focus
regardless of the ESM instance you call it from. Editor guys need this for bug 20225
1999-12-02 20:55:17 +00:00
saari%netscape.com
2fdbb01c37 Fix for bug 18983, multiple carets showing up. R: shaver, a long time ago. I've since verified personally on linux and other platforms. 1999-12-01 09:09:46 +00:00
bryner%uiuc.edu
bfeded07d0 Making a minor optimization for mousewheel scrolling on trees. r=shaver. 1999-11-30 22:00:28 +00:00
waterson%netscape.com
79556e2008 Fix incorrect use of dont_QueryInterface() in PreHandleEvent() that was leaking. 1999-11-29 22:47:39 +00:00
tbogard%aol.net
af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
warren%netscape.com
6d07de8143 Minor cleanup. 1999-11-23 07:05:53 +00:00
joki%netscape.com
e51265f992 Fix for 17683, add key events for alt+numpad character generation. r:vidur 1999-11-22 19:45:13 +00:00
bryner%uiuc.edu
8c66e61d94 These changes will enable scrolling with the mouse wheel (currently only
for unix).  r=saari.
1999-11-21 01:46:41 +00:00
saari%netscape.com
233ce14385 Bring back, bring back, bring back the caret to me, to me...
The return of the text caret. Simple change, start dispatching content
focus events to the window (what I checked in) *and* the document (the
way it worked before, what editor relied upon). Discussed with joki, but not
technically reviewed.
1999-11-16 00:04:55 +00:00
don%netscape.com
1a4cd9e0a6 Checked in saari fix for bug #18876 to help re-open tree. r:saari 1999-11-15 20:09:37 +00:00
saari%netscape.com
1cfbe7d9a6 Landing focus changes. R: joki 1999-11-13 05:16:33 +00:00
pinkerton%netscape.com
e4bbb475eb don't generate drag exit events until _after_ drop event has been processed. move from PreHandleEvent to PostHandleEvent. r=saari. 1999-11-12 01:02:14 +00:00
pinkerton%netscape.com
4095510e3a fix for #17664 (crash in drag code when css destroys the frame when clicking on link). small fix for when target is null on mouseMove events (say when mouse is in menu bar on MacOS). (r=saari). 1999-11-09 07:10:46 +00:00
joki%netscape.com
ddb9aacbff Fix for bug 17618, null out current event target frame after processing event. a:chofmann, r:vidur 1999-11-08 21:30:22 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
joki%netscape.com
1675be15e0 Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur 1999-11-03 07:11:45 +00:00
pinkerton%netscape.com
fa65c1d6e2 fix for #16463 (crash when frames involved in a drag went away) and nsCOMPtrizing a lot of things (r=saari). 1999-11-02 03:55:14 +00:00
troy%netscape.com
87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
rods%netscape.com
a915909a72 The code that checked to see whether it should explicitly set focus on the gfx's containing widget
now uget the new focused content's frame instead of using the mCurrentTarget. The mCurrentTarget
is correct for a mouse down but incorrect for a "tab". This is because the mCurrentTarget points at
the currently focused content for a tab event, instead of the new content.
r=joki, bug 11162
1999-10-19 21:57:43 +00:00
kipp%netscape.com
bb62374419 Removed two more warnings 1999-10-15 00:29:28 +00:00
ftang%netscape.com
850606d07a landing keyEvent_19991004_BRANCH
bugs # see the log of the check in into branch
author/reviewer:
mozilla/layout/base/src/nsRangeList.cpp brade/mjudge
mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp brade/ftang
mozilla/layout/events/src/nsDOMEvent.cpp brade/joki
mozilla/layout/events/src/nsEventStateManager.cpp brade/joki
mozilla/widget/public/nsGUIEvent.h akkana/ftang
mozilla/widget/src/windows/nsWindow.cpp ftang/mjudge
mozilla/widget/src/windows/nsWindow.h ftang/mjudge
mozilla/widget/src/mac/nsTextAreaWidget.cpp brade/ftang
mozilla/widget/src/mac/nsMacEventHandler.cpp brade/simon
mozilla/widget/src/xpwidgets/nsKeyBindMgr.cpp brade/ftang
mozilla/widget/src/gtk/nsGtkEventHandler.cpp akkana/?
mozilla/widget/src/gtk/nsWidget.cpp erik/ftang
mozilla/layout/xul/base/src/nsTreeCellFrame.cpp brade/ftang
mozilla/editor/base/nsEditorEventListeners.cpp brade/akkana
mozilla/editor/base/nsHTMLEditor.cpp brade/akkana
mozilla/rdf/content/src/nsXULKeyListener.cpp ftang/saari
fix the master bug- 15693
fix at least, but not limited to, the following bugs
10158,11956,6053,9333,10901,14348,6449,11845,13016,14410,15657,15307,15842,13856
1999-10-14 18:27:01 +00:00
vidur%netscape.com
a636b7dacd Fix for bug 15772. Check that a content node is part of the document tree before dispatching a blur event to it. R=joki 1999-10-13 04:19:26 +00:00
rods%netscape.com
b65978b79a Added ConsumeFocusEvents method to consume all focus event and make sure they don't get dispatched 1999-09-30 11:40:42 +00:00
joki%netscape.com
b2f254f766 Fix scrolling via home/end keys to scroll to beginning and end of doc 1999-09-22 06:28:57 +00:00
joki%netscape.com
4016178c5d Adding support for event.clickCount, obsoleting old dblclick event. 1999-09-22 02:29:33 +00:00
joki%netscape.com
95bc014f1b Fix bug 6258, release of null content pointer due to reentrant event 1999-09-21 19:00:55 +00:00
joki%netscape.com
7304187269 Adding old 4.x capture/release compatibility code, changing dom event VK_* names to DOM_VK_* 1999-09-21 14:18:52 +00:00
rods%netscape.com
df31376942 nailed again by nsCOMPtr 1999-09-20 22:56:32 +00:00
rods%netscape.com
e528a0d539 Added code to make sure that focus gets set on the window for mouse down 1999-09-20 22:18:57 +00:00
kipp%netscape.com
e333e98277 Fixed a memory leak triggered by clicking on content 1999-09-16 14:54:59 +00:00
pinkerton%netscape.com
7031693531 clean up some d&d stuff. 1999-09-09 00:28:23 +00:00
sspitzer%netscape.com
56873de822 bulletproofing to prevent the crash I reported in bug #13007. assert is better than a crash any day. 1999-09-02 07:22:47 +00:00
hyatt%netscape.com
c1ab40064d Fix for typing bustage in editor. 1999-08-24 09:37:28 +00:00
hyatt%netscape.com
b08d08ff27 Making focus changes on mouse downs crawl up a parent chain to find the nearest
enclosing focusable content.  Allows composite widgets to still receive the focus.
1999-08-24 00:42:38 +00:00
pinkerton%netscape.com
277d3d704c add drag_gesture event. 1999-08-19 19:48:45 +00:00
joki%netscape.com
11585608e8 Adding new onselect event. Also slight modification to ender text widget focus behavior 1999-08-07 23:18:35 +00:00
joki%netscape.com
e49a6d584f Partial fixes for focus/blur events on windows/frames, fixes for incorrect event.target values 1999-07-27 20:55:03 +00:00
joki%netscape.com
556e5e31e7 Fixing key value for ctrl+keys. 1999-07-27 14:38:07 +00:00
joki%netscape.com
f1c8421c61 Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus. 1999-07-26 15:02:19 +00:00
joki%netscape.com
c47e24dc79 Checking in fix for tab navigation submitted by alex@cendio.se 1999-07-19 21:23:57 +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
norris%netscape.com
06317a54b3 Tom Pixley's code for the beginnings of DOM security, with a fix for the previous Mac link failure. 1999-07-07 07:50:03 +00:00
joki%netscape.com
6385394fee Partial fix for bug 8123, handle spacebar scrolling on keypress, not keydown 1999-07-06 22:55:46 +00:00
pinkerton%netscape.com
baabf666ba filled in widget, clickCount, and mouse location for mouse enter/exit/over and drag enter/exit/over events. This info was just not getting set as it was for mouse clicks. 1999-07-01 04:12:42 +00:00