74 Commits

Author SHA1 Message Date
danm%netscape.com
930e16ca97 fix inGoAway event to dispatch the corresponding nsGUIEvent directly to the top-level window. fixes bug 20538. pinkerton suggested the change.
git-svn-id: svn://10.0.0.236/trunk@55146 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 01:14:57 +00:00
danm%netscape.com
22cd501286 hooking up 'close' xul event handler. bug 13695. r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54951 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:38:06 +00:00
saari%netscape.com
fe665bdefe Making the mac focus event flow the same as windows. This is a Good Thing.
git-svn-id: svn://10.0.0.236/trunk@54890 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 09:07:52 +00:00
brade%netscape.com
2aae6549e1 ObscureCursor (bug #19593; r=sfraser)
git-svn-id: svn://10.0.0.236/trunk@54779 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:19:04 +00:00
ftang%netscape.com
7dbb611a31 fix bug 12090. Implement nsIKBStateControl for nsMacWindow . Call ResetInputState when mouse down in GoAway or Content.
git-svn-id: svn://10.0.0.236/trunk@53688 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 22:35:02 +00:00
pinkerton%netscape.com
6455da26bd correctly send dragExit events when the mouse leaves the window (bug# 18356) r=saari.
git-svn-id: svn://10.0.0.236/trunk@53226 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 20:28:23 +00:00
saari%netscape.com
5432ae5d44 Turning gFocusHandler into gEventDispatchHandler, a Mac event dispatch change. Should be fine without the rest of the focus changes, commiting to facilitate pink's need to change this file. R: pink
git-svn-id: svn://10.0.0.236/trunk@53176 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 03:08:31 +00:00
ftang%netscape.com
32f598b99e 1. fix 7571. review by ftang/pierre/saari
2. rewrite Mac IME code r=brade


git-svn-id: svn://10.0.0.236/trunk@53094 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 23:41:21 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
ftang%netscape.com
b93e1edb98 add debuggin message for bug 7571. r=nhotta
git-svn-id: svn://10.0.0.236/trunk@52532 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 06:54:37 +00:00
saari%netscape.com
a9ec68967c Making popups not steal activation on MacOS. r: pinkerton, no bug number that I'm aware of
git-svn-id: svn://10.0.0.236/trunk@51938 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 03:32:35 +00:00
brade%netscape.com
6f185f7761 fixes to handle for control keys (off by 1) (bug #15693) r=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50829 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 14:56:33 +00:00
ftang%netscape.com
2d2a382150 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


git-svn-id: svn://10.0.0.236/trunk@50688 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 18:27:01 +00:00
brade%netscape.com
bbc03d38ad remove dbl-click message (per joki); dblclick message is causing bug #14990; r=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50680 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 14:22:22 +00:00
pinkerton%netscape.com
8c90b18f03 correctly trigger the sending of mouse_exit events when the mouse moves into the growBox. fixes a bug with gfx scrollbars in bookmarks when the window was resized. (r=sfraser, no explicit bug number).
git-svn-id: svn://10.0.0.236/trunk@50516 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:06:00 +00:00
pierre%netscape.com
a8c2a315be Fixed #14775 "Crash removing delete observer when closing windows": reshuffled nsToolkit and added nsMacFocusHandler to nsMacEventHandler. r=dcone/sfraser
git-svn-id: svn://10.0.0.236/trunk@49602 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 21:40:04 +00:00
saari%netscape.com
d0550e7198 Making the Mac key event generation code follow the new spec for autokeys generate keypress events. Brade has run this change on her machine for about a week, I tested it on my machine without any problems. Reviewed by Brade and Dagley.
git-svn-id: svn://10.0.0.236/trunk@49385 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 01:44:42 +00:00
saari%netscape.com
e53f79b0d2 Helping to fix M10 bug 14464 a: chofmann r: akkana
Tested on Mac, Win, and Linux. 14464 requires other checkins to be fully fixed.


git-svn-id: svn://10.0.0.236/trunk@49265 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 00:49:11 +00:00
sfraser%netscape.com
9dec935cc2 Fix for 14804 -- make double-click handling better. r pierre, a chofmann.
git-svn-id: svn://10.0.0.236/trunk@48961 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 04:52:04 +00:00
brade%netscape.com
e56cb73396 bug #14493; a=leaf; r=saari,sfraser. Start to implement proposed key spec (enough to match current editor assumptions). Send KeyPress events for all keydowns. Set or zero charCode and keyCode as appropriate. Have ConvertKeyEventToUnicode return the charCode (only for keypress). Add some additional infrastructure for when the spec is finalized.
git-svn-id: svn://10.0.0.236/trunk@48904 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 14:47:09 +00:00
dcone%netscape.com
f2f81ca6c0 Support of Rollup code
git-svn-id: svn://10.0.0.236/trunk@48621 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 21:18:45 +00:00
pierre%netscape.com
9111c1aa2a Fixed #9456 "[PP]DOM Event listeners don't get MouseOut events when mouse leaves window": mLastWidgetHit and mLastWidgetPointed are now static variables.
git-svn-id: svn://10.0.0.236/trunk@47200 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 23:18:28 +00:00
tague%netscape.com
f747c2a384 Fixed NS_OK direct comparisons.
git-svn-id: svn://10.0.0.236/trunk@45496 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:19:47 +00:00
saari%netscape.com
5f0e817245 Adding SetNativeData(void*) to nsIMenu, which was needed for making the Help menu on MacOS merge with the XUL help menu. The rest of the code is to achive the merge.
git-svn-id: svn://10.0.0.236/trunk@44552 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 22:53:25 +00:00
pierre%netscape.com
65cc8714ba Fixed a crash in embedding apps (null check of mTSMDocument)
git-svn-id: svn://10.0.0.236/trunk@40197 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 00:04:46 +00:00
pinkerton%netscape.com
5bbdd05b66 remove annoying printf during every drag event.
git-svn-id: svn://10.0.0.236/trunk@39435 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:57:39 +00:00
tague%netscape.com
1a4c1a16ff Fix bug #8459, #6989 Can't move cursor within IME composition string.
git-svn-id: svn://10.0.0.236/trunk@39359 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 20:05:25 +00:00
saari%netscape.com
5ea2fe81fa fix for bug 9369
git-svn-id: svn://10.0.0.236/trunk@38756 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 01:25:56 +00:00
sfraser%netscape.com
45dfb85828 Add warnings when focus problems cause us to lose events.
git-svn-id: svn://10.0.0.236/trunk@38154 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 21:30:17 +00:00
tague%netscape.com
db23dd7d5c Added clause range and selection support for Input Methods.
git-svn-id: svn://10.0.0.236/trunk@37434 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 20:30:42 +00:00
pierre%netscape.com
6d043a28a5 Fixed a crash in HandleMenuCommand(). It could especially happen on Quit.
git-svn-id: svn://10.0.0.236/trunk@35706 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:22:11 +00:00
pierre%netscape.com
1cc9deab39 #4084 "JS events: Mac form element events"
A little cleanup in key events too


git-svn-id: svn://10.0.0.236/trunk@35581 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:41:02 +00:00
tague%netscape.com
58fc1493f9 Turned on bug fix for #6896: Windows editorinterprets the period key as a forward delete.
git-svn-id: svn://10.0.0.236/trunk@35096 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 21:13:12 +00:00
tague%netscape.com
0643946696 Conditionalized Fix for #6896. Modified the nsMacEventHandler.cpp to generate NS_KEY_PRESS events in addition to NS_KEY_DOWN.
git-svn-id: svn://10.0.0.236/trunk@34968 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 02:29:52 +00:00
tague%netscape.com
d46753fa28 Temporarily remove TSMActivate/Deactivate document assertions until bug #7571 gets fixed.
git-svn-id: svn://10.0.0.236/trunk@33696 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 02:12:07 +00:00
tague%netscape.com
6a071c8399 Added TSM Input Method support for the Macintosh.
git-svn-id: svn://10.0.0.236/trunk@33105 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 05:06:38 +00:00
pierre%netscape.com
6c1eeac67f #6988 "Click in grow box shrinks window by 1 pixel"
git-svn-id: svn://10.0.0.236/trunk@33061 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:42:49 +00:00
pinkerton%netscape.com
10a38693a3 Accept any kind of drag event, not just drops.
git-svn-id: svn://10.0.0.236/trunk@31614 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:49:42 +00:00
pierre%netscape.com
0d83ce6407 The constructor takes a nsMacWindow instead of a nsWindow. Removed HandleDiskEvent(): disk events are handled in our message pump or left to the embedding apps.
git-svn-id: svn://10.0.0.236/trunk@31593 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 10:14:46 +00:00
pinkerton%netscape.com
bc17bb4f7b dispatch the drag and drop event to the correct widget
git-svn-id: svn://10.0.0.236/trunk@31337 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:13:44 +00:00
pinkerton%netscape.com
cecde1eef1 using accessors when required by Carbon. Also adding lots of preliminary macOS drag and drop stuff. Wish I could have separated these into multiple checkins, but not possible.
git-svn-id: svn://10.0.0.236/trunk@31181 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:02:09 +00:00
saari%netscape.com
4531c5503c fixing bug 4942
git-svn-id: svn://10.0.0.236/trunk@29615 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:40:09 +00:00
sdagley%netscape.com
0fd442c67b Fix bug #4095 - zoom widget now works to re-size windows on Mac.
git-svn-id: svn://10.0.0.236/trunk@29370 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 03:41:17 +00:00
pierre%netscape.com
60ba05a999 restore the GrafPort origin on mouseEvents
git-svn-id: svn://10.0.0.236/trunk@28222 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 04:02:35 +00:00
sfraser%netscape.com
c6a30e06d9 Null check on focused widget to avoid crash.
git-svn-id: svn://10.0.0.236/trunk@27274 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:21:25 +00:00
saari%netscape.com
14b6e00383 fix for bug #4562
> 
mozilla/widget/src/mac/nsMacEventHandler.cpp
- commented out 3 lines
 
mozilla/xpfe/appshell/src/nsWebShellWindow.cpp
- Added 2 #ifdef XP_MAC changes that should go away by
M5.
 
The problem is that the nsMenuBar class doesn't know when it is through building a menubar from XUL since nsWebShellWindow actually does the construction today.
That will change when menus build themselves, which needs to be done for M5's dynamic menu construction.

So the hack would go away sometime soon.

Previously, the nsMacEventHandler would get a deactivate event before bringing up a dialog or another window... why this isn't happening anymore, I don't know.
Perhaps this is a bug in itself, but I was the only one relying on the behavior, and that reliance was a hack to begin with.


git-svn-id: svn://10.0.0.236/trunk@26797 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 04:29:37 +00:00
mcmullen%netscape.com
a943270b6a Bug #4296. Support insertion of floppies.
git-svn-id: svn://10.0.0.236/trunk@26549 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:03:36 +00:00
sfraser%netscape.com
0ea4fecfce Fix for bug 3824 -- fix key mappings on Mac, so that all known raptor key codes are output where possible.
git-svn-id: svn://10.0.0.236/trunk@25039 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:40:20 +00:00
danm%netscape.com
0b7b80c73b fix retrieval of old menubar handle in HandleActivateEvent. fixes crash bug when swapping the active window.
git-svn-id: svn://10.0.0.236/trunk@24858 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 19:26:50 +00:00
saari%netscape.com
0e2bbf2db8 nsIMenu.h interface changes
git-svn-id: svn://10.0.0.236/trunk@24562 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:28:14 +00:00