180 Commits

Author SHA1 Message Date
timeless%mozdev.org
af51e73d0e Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@191013 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 09:36:43 +00:00
masayuki%d-toybox.com
4960fb7793 Bug 296687 TSM (IME) candidate window is displayed at wrong position (too below). patch by Katsuhiro MIHARA <katsuhiromihara@goo.jp> r=josh, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@189774 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-11 16:04:25 +00:00
mark%moxienet.com
d440aedba9 Bug 314856, mousewheel scrolling is too fast on OS X, especially 10.4.3. Don't scale mousewheel deltas, instead relying on system acceleration. Acceleration is provided at least as early as 10.2, which is our minimum, so there. r=josh sr=pink
git-svn-id: svn://10.0.0.236/trunk@185332 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 20:11:54 +00:00
mozilla.mano%sent.com
d7758b25cd Bug 315837 - [Mac] Keys which should produce multiple characters only produce one. patch from Uri Bernstein <uriber@gmail.com>, r=me, sr=smfr.
git-svn-id: svn://10.0.0.236/trunk@185084 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 21:27:05 +00:00
mark%moxienet.com
eb3158b10a Bug 304089, maximum window size during resize is too large, windows go offscreen and under the dock. Set maximum bounds carefully. r=mano r=josh sr=smfr
git-svn-id: svn://10.0.0.236/trunk@181285 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 16:24:54 +00:00
mark%moxienet.com
884101e30d Bug 310379, crash [@nsMacEventHandler::Scroll]. Check for !widgetToScroll. r=mano sr=smfr
git-svn-id: svn://10.0.0.236/trunk@181203 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 17:26:09 +00:00
mark%moxienet.com
c4db65b46e Bug 171680, modifier keys have no effect on mouse wheel (Mac). Handle modifier keys for scrollwheel events. Bug 255415, scroll wheel doesn't scroll the right scrollable thing until the mouse is moved. Walk the widget hierarchy to find out what's under the mouse. r=mano sr=smfr
git-svn-id: svn://10.0.0.236/trunk@180735 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 04:10:59 +00:00
roc+%cs.cmu.edu
5525e0f045 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman
git-svn-id: svn://10.0.0.236/trunk@178666 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 03:57:07 +00:00
timeless%mozdev.org
6789898ed6 Bug 283827 When turn on IME and switch applications before fix characters, location bar doesn't accept any more character
patch by katsuhiromihara@goo.jp r=pinkerton sr=smfr a=asa


git-svn-id: svn://10.0.0.236/trunk@173934 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 16:33:48 +00:00
jst%mozilla.jstenback.com
ebed1ee784 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
peterv%propagandism.org
77e047ef6e OS X part of fix for bug 125386 (flyout menu disappears when mouse passes over scrollable div or iframe). r=jhpedemonte, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@169519 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-20 09:56:29 +00:00
smfr%smfr.org
d96dc1f2b2 Fix bug 279510: remove all the pre-Carbon code and TARGET_CARBON #idfefs from widget. Patch by Ludovic Hirlimann <qa-mozilla@hirlimann.net>, r=pink, sr=me
git-svn-id: svn://10.0.0.236/trunk@168451 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-28 17:59:37 +00:00
smfr%smfr.org
ddf0d3ac3a Fix bug 278655: we double-dispatched some mouse events because of the middle-click Carbon Event handler. Fix by making that handler only dispatch middle clicks, and returning noErr only when we think the event has been handled. Patch by yours truly and Steven Michaud <smichaud@pobox.com>, sr=me, r=pink.
git-svn-id: svn://10.0.0.236/trunk@168343 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-26 04:40:39 +00:00
aaronleventhal%moonset.net
26c4323c6c Bug 167145. When PreventDefault() called for onkeydown event, do the same for onkeypress that follows. r=bryner, sr=neil
git-svn-id: svn://10.0.0.236/trunk@167966 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-19 02:38:59 +00:00
pedemont%us.ibm.com
5534e80882 Bug 151249 - Middle-click on link doesn't work on Mac. r=pinkerton, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@166750 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 16:32:02 +00:00
cbiesinger%web.de
767616513d 235581 fix warnings in widget/src/mac
patch by Ludovic Hirlimann <qa-mozilla@hirlimann.net> r=pinkerton sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@163156 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-03 15:50:51 +00:00
bzbarsky%mit.edu
0d366688f6 Fix context menu keyboard shortcut on Mac. Bug 261043, patch by Kyle Yuan
<kyle.yuan@sun.com>, r=peterv, sr=bryner, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@162837 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-27 14:19:14 +00:00
pinkerton%aol.net
a0a783e020 kungFuDeathGrip for mouse event (r=pink, sr=dbaron, bug 227344)
git-svn-id: svn://10.0.0.236/trunk@160138 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-30 15:24:12 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
darin%meer.net
af98e4f306 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +00:00
jst%mozilla.jstenback.com
6629ad58f7 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
bryner%brianryner.com
02d773bbf8 Fixing mac bustage -- readd aMessage parameter to InitializeKeyEvent
git-svn-id: svn://10.0.0.236/trunk@151193 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 09:03:36 +00:00
bryner%brianryner.com
3d8a7179f8 Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@151191 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 08:25:18 +00:00
brade%netscape.com
9091c62f00 fix page accesskeys that are letters (control-letter combinations) by handling control-letter sequences specially (since they are); bug 122479, r=smfr, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@143043 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-29 14:54:12 +00:00
bryner%netscape.com
efbc7db57c Fix up/down arrow keys in menulists by making sure not to reuse nsEvent structs for multiple event dispatches. Bug 206917, r=brade, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@142983 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-28 19:06:52 +00:00
brade%netscape.com
2e06429212 simulate keydown event in HandleUKeyEvent; bug 184549; r=smfr, sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/trunk@142815 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 12:51:49 +00:00
bryner%netscape.com
21af500df3 Don't clear out mActiveWidget if we receive a deactivate event for a toplevel window other than the one containing mActiveWidget. This fixes the case where you restore a window from the dock and get an activate for the application window _before_ the deactivate for the hidden window. Bug 124929, r=saari, sr=sfraser, a=asa.
git-svn-id: svn://10.0.0.236/trunk@142391 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-13 23:42:49 +00:00
bryner%netscape.com
da718f1470 Bug 104371 - shiftKey not set correctly for keypress events, breaking shift+space binding. r=brade, bzbarsky, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@133250 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 03:34:13 +00:00
blizzard%redhat.com
6dc418b1ea Backout unapproved checkin for bug #104371.
git-svn-id: svn://10.0.0.236/trunk@132403 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-23 15:18:13 +00:00
hyatt%netscape.com
3dbbc65466 Fix for 104371, SHIFT not being set correctly in the DOM, i.e., the SHIFT+space
keybinding didn't work.  r=blizzard,brade sr=blake


git-svn-id: svn://10.0.0.236/trunk@132393 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-23 03:15:42 +00:00
peterlubczynski%netscape.com
61f4e9d6a3 Fix for OSX Inline IME does not work in composer and text area when the Flash 6 plugin is running, bug 159016 r=ftang sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@129474 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 03:02:23 +00:00
bryner%netscape.com
6eb3610ee2 Bug 162917 (carried over from bugscape 19001) - initial focus problems with sheets. Patch by sfraser, r=sdagley, sr=bryner.
git-svn-id: svn://10.0.0.236/trunk@127401 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 21:31:47 +00:00
ftang%netscape.com
bea6b1f22a fix bug 137695, add japanese ime reconversion to mac, r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@127099 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 21:56:36 +00:00
sfraser%netscape.com
d8cb7209e9 Fix for bug 157837 -- fix a problem with click-hold scrolling in scrollbars that caused the slightest mouse move to stop the scrolling; patch fixes a coordinate issue that made us think we'd left the widget. r=pinkerton, sr=bryner, a=asa.
git-svn-id: svn://10.0.0.236/trunk@126200 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-02 00:51:08 +00:00
sdagley%netscape.com
2ae0b2d1b5 Fix #149133 - crash when scrolling a tab created by 'Open Link in New Tab' due to not having a valid focused widget when the page finishes loading. r=pinkerton, sr=beard
git-svn-id: svn://10.0.0.236/trunk@122797 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 04:08:19 +00:00
pinkerton%netscape.com
8422c4dcf1 fix problem where resizing window would cause jiggling. the workaround we put in for os9 seems to no longer be needed and gives osx fits. patch from lws@mac.com. r=pink/rs=blake. bug#86740
git-svn-id: svn://10.0.0.236/trunk@122261 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 14:46:23 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
pinkerton%netscape.com
81dc007fcb correctly compute offset to widget. r=ccarlen/sr=hyatt/a=asa. bug#135698
git-svn-id: svn://10.0.0.236/trunk@118471 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-08 13:58:50 +00:00
pinkerton%netscape.com
33d4ea2950 fix outliner and scrollwheels on os9. we needed to keep track of the mouse position ourselves because GetCursor() was tainted by the driver code to return the wrong cursor position. r=ccarlen/sr=scc/a=roz bug# 134674
git-svn-id: svn://10.0.0.236/trunk@117955 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-02 22:04:30 +00:00
danm%netscape.com
f396b39b90 remove redundant zoomwindow and switch to user state on resize. 125711 r=pinkerton,scc a=asa
git-svn-id: svn://10.0.0.236/trunk@116680 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 02:25:18 +00:00
brade%netscape.com
e952c115b4 bug 124393; r=pink, sr=sfraser, a=asa; convert from ns_vk* to nsIDOMKeyEvent constants, use VK_HELP instead of VK_insert, tab cleanup
git-svn-id: svn://10.0.0.236/trunk@115815 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 14:00:13 +00:00
pinkerton%netscape.com
865e375f71 fix scrollwheel issues for os9. we can't rely on the mouse location from GetMouse() because of os hackery w/in the mouse drivers. just fake the mouse position local to the widget we're using. r=brade/sr=sfraser/a=shaver.
git-svn-id: svn://10.0.0.236/trunk@115423 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 14:57:48 +00:00
pinkerton%netscape.com
fc183b1c37 fix scrollwheel issues. make sure we reset origin before calling GlobalToLocal() and xlate local mouse coord into widget-relative coords for gecko. r=bryner/sr=sfraser/a=shaver. bug#125570
git-svn-id: svn://10.0.0.236/trunk@115173 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 23:09:13 +00:00
pinkerton%netscape.com
01a14f6fd6 Rollup popups before dragging a window. patch by ajfeldman@brown.edu. r=pink/sr=sfraser. bug# 99987
git-svn-id: svn://10.0.0.236/trunk@114812 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:41:59 +00:00
sfraser%netscape.com
61f5de4022 Fix for bug 122012 -- make sure we use the correct WIndowRef for offsetting the event coords, so that moving the mouse over a background window does not mess up scrolling or autoselect. r=pinkerton, sr=beard.
git-svn-id: svn://10.0.0.236/trunk@114227 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 01:29:32 +00:00
danm%netscape.com
afb0987891 reset sizemode to normal when window is sized using the mouse. bug 107937 r=ben,jag
git-svn-id: svn://10.0.0.236/trunk@114066 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:35:15 +00:00
pinkerton%netscape.com
8cfab27071 make control-space send a context-menu event into gecko. r=brade/sr=sfraser. bug# 81727
git-svn-id: svn://10.0.0.236/trunk@113134 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:01:42 +00:00
sfraser%netscape.com
f5ca579709 Fix port/GDevice management issues in Mac code, fixes bugs 113480, 103234, 105946, and 104781. Changes ensure that the current graphics device is set correctly when SetPort is used to change the current graphics port (to window or GWorld). r=pinkerton, rs=brendan
git-svn-id: svn://10.0.0.236/trunk@112119 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 23:26:49 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
pinkerton%netscape.com
3a309ca3ee Add keycode of powerbook's Enter key as a special key as it differs from
the keycode for desktops. r=sdagley/sr=sfraser/a=asa. bug# 111723.


git-svn-id: svn://10.0.0.236/trunk@110528 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-15 05:16:59 +00:00