saari%netscape.com
729048aef7
Something I forgot with yesterday's checkin.
2000-01-28 04:04:26 +00:00
kmcclusk%netscape.com
eeeb109f4c
Added support for widgetless viewmanager. Changed code pattern that assumed the root view
...
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com
2000-01-26 23:04:40 +00:00
hyatt%netscape.com
0dfb94bf0a
Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody.
2000-01-25 06:35:27 +00:00
saari%netscape.com
f5b4ea7489
Fix for 24124, focus crasher. Review and a whole lot of help from danm.
2000-01-19 03:03:09 +00:00
bryner%uiuc.edu
6012d905b7
Make trees capable of scrolling by full pages with the mouse wheel.
...
General cleanup and additions to mousewheel debugging code (which is
#ifdef DEBUG_scroll). r=hyatt.
2000-01-16 05:30:49 +00:00
brade%netscape.com
1a4bae4013
remove function DispatchKeyPressEvent (not used); initialize the modifier keys in the event structure; r=joki
2000-01-15 17:21:20 +00:00
hyatt%netscape.com
8b0ed8707d
Fix for 18444
2000-01-13 11:43:54 +00:00
sspitzer%netscape.com
f291328810
fixing my old enemy "the classic .get() with nsCOMPtr on solaris (and linux, if you have --enable-pedantic) turned on" bustage.
2000-01-12 07:39:00 +00:00
beard%netscape.com
844a51fde3
fixes nsIAtom leaks, bug=15906, r=sspitzer
2000-01-12 06:54:58 +00:00
bryner%uiuc.edu
a19a21f754
This fixes mousewheel scrolling inside trees. I also cleaned up the code
...
in nsEventStateManager, moving the view/frame locating code to its own
function - this will be helpful for implementing page up/down scrolling
for trees. r=alecf.
2000-01-11 22:30:22 +00:00
bryner%uiuc.edu
d83a9c65ee
Implementing the mousewheel preferences. A new option has been added, "Use system default", which follows the OS
...
default (on Windows at least) for the number of lines to scroll. I also changes the default actions for the modifier
keys slightly.
2000-01-06 06:22:00 +00:00
sspitzer%netscape.com
100117019f
whoops. when I checked in that warnings fix I accidentally checked in some
...
changes from bryner for the mouse wheel prefs. backing my last check in out,
but still fixing the warning.
1999-12-28 23:02:38 +00:00
sspitzer%netscape.com
f37e107774
fix warnings
1999-12-28 19:41:57 +00:00
hyatt%netscape.com
221920403a
Patch that gets tabbing back into text fields. r=waterson
1999-12-21 19:35:13 +00:00
saari%netscape.com
3586adc047
Simple check for null fix for a crasher that some people are seeing quite a lot today. It is reflected in bug 22024. R= waterson, a= chofmann
1999-12-21 01:12:40 +00:00
hyatt%netscape.com
d3e0848c19
Fixes for 3 PDT+ bugs (THAT'S RIGHT). Bugs 21895, 21832, and 21610. r=mjudge,
...
a=i'm leaving now for vacation, and i can't find anyone around, but i'm assuming that you
actually want them before January 3rd, so I'm checking them in.
1999-12-18 04:02:28 +00:00
hyatt%netscape.com
8c979cd0bb
Fix for the crash in SendFocusBlur.
1999-12-11 05:42:18 +00:00
mjudge%netscape.com
b51f84b3de
massive changes a=jar.hoffman, r=akkana
1999-12-11 00:02:08 +00:00
saari%netscape.com
b887310bfb
Helping to fix 19114 by making a strong ref weak. Potential fix for 19268 by making scrollbars not steal focus. r=hyatt a=chofmann
1999-12-10 00:51:50 +00:00
joki%netscape.com
adc741f32c
fix 21337, set modifier keys for generated events. r:brendan a:brendan
1999-12-09 21:02:09 +00:00
hyatt%netscape.com
9f336df5c0
Fix for caret problems in Ender text fields. r=saari
1999-12-08 20:55:45 +00:00
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
rods%netscape.com
63f061e2e4
Fixed clearing of state for setting style for mouse hover and dragOver Bug #3175
...
Added support for DROP to force a style change.
1999-06-22 14:20:14 +00:00
joki%netscape.com
3e8742b912
Fix for bug 8270. A:chofmann Reenable key events to control tabbing/scrolling
1999-06-16 22:52:16 +00:00
joki%netscape.com
2c742db83b
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
tague%netscape.com
2ee25ba819
Fixed conditional problem when i turned on my keyobard patch.
1999-06-14 04:39:03 +00:00
tague%netscape.com
8688949472
Turned on bug fix for #6896 : Windows editorinterprets the period key as a forward delete.
1999-06-13 21:13:12 +00:00
joki%netscape.com
25aab9fee5
Fixing event coordinates to give screen based info. Also fixing direct reference to frames via their names.
1999-06-09 07:38:26 +00:00
tague%netscape.com
d0540fc75b
Conditional fix for #7629 . Only builds with a conditional set in my environment
1999-06-09 03:17:56 +00:00
joki%netscape.com
a5de3b4554
Fixing coords for click event since by not setting them at all before they were unlikely to be correct.
1999-06-08 19:28:52 +00:00
joki%netscape.com
71fae75ff6
Fix hover state crash at document change. Bug 6580
1999-06-08 19:01:56 +00:00
beard%netscape.com
582c184279
bug #7354 : arrow key scrolling, force the update to deal with different event priorities.
1999-05-31 01:45:23 +00:00
joki%netscape.com
6d01924c3c
Partial fix for 3289, reduce number of repaints/reflow when mousing over toolbar buttons. A:chofmann
1999-05-19 23:28:18 +00:00
joki%netscape.com
71e96012a3
Breaking nsIDOMEvent out into nsIDOMEvent and nsIDOMUIEvent.
1999-05-18 23:51:04 +00:00
mjudge%netscape.com
884bb4bb82
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
8a1db8783c
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
57516cf432
updating new state controler for mouse status. aka dragging has stopped
1999-05-05 22:28:51 +00:00
rods%netscape.com
59a80b40f3
Added Drag Over to act like "hover"
1999-05-04 14:44:51 +00:00
joki%netscape.com
d1f2b3ef88
Adding scrolling fixes to fix bug #3999 , A: chofmann
1999-04-30 19:38:39 +00:00
kipp%netscape.com
39c56cdb27
Removed compiler warnings
1999-04-27 22:14:17 +00:00
peterl%netscape.com
fdf686d2b8
modified state change notifications to use new wider api and reduce calls
1999-04-20 00:03:30 +00:00
joki%netscape.com
e594bb9b7c
Send Click events to frames as well as content.
1999-04-13 00:27:58 +00:00
joki%netscape.com
b6f2484b5b
New api's into nsEventStateManager for content state change (hover,focus,active)
1999-04-12 21:24:07 +00:00
joki%netscape.com
1c2882e5e6
Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements)
1999-03-28 22:22:54 +00:00
pierre%netscape.com
ed955aafcf
#3974 "mac crashes when hitting return to submit form"
1999-03-21 04:35:01 +00:00
joki%netscape.com
9e6f6e3820
Fix for bug 3553, links on Linux
1999-03-15 23:44:15 +00:00
troy%netscape.com
158ed075a4
Patch from Bruce Mitchener (bruce@cybersight.com) that fixes unitialized
...
memort error
1999-03-11 05:56:11 +00:00
joki%netscape.com
0baca6512f
Adding new tab handling and focus support.
1999-03-02 19:19:24 +00:00
peterl%netscape.com
3f8df31e5d
switched state change notifications to use ContentStateChanged
1999-02-27 07:12:38 +00:00
troy%netscape.com
0debd6f0d1
Fixed some errors related to switch to using nsCOMPtr
1999-02-12 18:41:26 +00:00
kipp%netscape.com
36c243cdc0
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00