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
saari%netscape.com
2486244bde
fix for 105061, mac shifted keybindings don't work. Just needed to offset the keycode properly. r=brade,ftang, sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@110253 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 11:19:20 +00:00
pinkerton%netscape.com
8ac744782a
fix regressions with carbon events. r=ccarlen/sr=sfraser. bug# 112653
...
git-svn-id: svn://10.0.0.236/trunk@109253 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 22:36:22 +00:00
pinkerton%netscape.com
901ad8ab6a
removing nsMacMessageSink for standalone and embedding. Replacing with nsIEventSink and a couple of internal interfaces. r=ccarlen/sr=sfraser. bug#110851
...
git-svn-id: svn://10.0.0.236/trunk@109214 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 14:38:56 +00:00
jaggernaut%netscape.com
d22bec017c
Bug 98213: Make data members of nsStr protected and clean up code. r=dbaron, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@108048 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 12:35:52 +00:00
seawood%netscape.com
4551221bef
Landing the rest of the mach-o OSX changes.
...
Bug #75653 r=cls sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106461 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 07:38:18 +00:00
pinkerton%netscape.com
d3777355aa
rewrite osx menus to use carbon command events to work around all MenuSelect problems on carbon on 9. r=beard/sr=sfraser, bug#58227
...
git-svn-id: svn://10.0.0.236/trunk@106270 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 13:58:13 +00:00
ftang%netscape.com
14658e7a61
fix bug 23363. Implement TSM1.5
...
r=brade
sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@105799 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:51:26 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
pinkerton%netscape.com
c3cdc9e186
make the system unit of mousewhell scrolling 3 lines on osx. r=sdagley/sr=sfraser/a=chofmann. bug# 100799
...
git-svn-id: svn://10.0.0.236/trunk@103459 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 18:27:41 +00:00
saari%netscape.com
4578f06507
fixing 77675, windows stealing focus from each other. r=bryner, sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@99637 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-20 08:14:44 +00:00
jaggernaut%netscape.com
51b17b5bf0
Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
...
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.
nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
pinkerton%netscape.com
46b0a8e530
Adding scrollwheel support for OSX via carbon events. Turning off phantom scrollbar hack under carbon. refactoring scrollwheel event dispatch so both can co-exist. r=beard/sr=sfraser bug 71045
...
git-svn-id: svn://10.0.0.236/trunk@98133 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-28 02:47:07 +00:00
pchen%netscape.com
fc01c4c229
bug 78409, r=pinkerton, sr=hyatt, a=asa, apply patch for bug 66848 which fixes submenus not knowing that its parent menu popped up in the opposite direction (usually because of hitting a screen boundary)
...
git-svn-id: svn://10.0.0.236/trunk@96344 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 23:03:24 +00:00
pinkerton%netscape.com
79e43e38c2
add live-resizing for macosx. expose update/resize in the event handler to avoid having to hack up EventRecords to fake events. r=saari/sr=smfr/a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@96197 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-01 23:38:27 +00:00
brade%netscape.com
259374b6e6
fix gcc/MacOSX build (bug #66742 ); patch from davea@xetron.com
...
git-svn-id: svn://10.0.0.236/trunk@94235 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 14:12:06 +00:00
brade%netscape.com
d3c6ae3144
fix for bug 66742; r=joki, sr=sfraser; grab focusedWidget between keydown and keypress in case it was changed
...
git-svn-id: svn://10.0.0.236/trunk@93821 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 20:19:43 +00:00
pinkerton%netscape.com
ccfecb4d51
switching mac to use NS_CONTEXTMENU event, click-hold context menus, switching embedding to use NS_CONTEXTMENU event. r=saari/sr=hyatt. bug# 36665, 18726
...
git-svn-id: svn://10.0.0.236/trunk@90828 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 04:45:40 +00:00
nhotta%netscape.com
439ade71df
Enabled TSM for Carbon, bug 70720, r=ftang,pinkerton, sr=sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@89163 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 00:10:31 +00:00
cltbld%netscape.com
ae2b05b5bc
bug 65219, change nsAutoString::Recycle() to delete. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@87774 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 04:10:38 +00:00
pinkerton%netscape.com
4c94bdb338
carbon changes. r=pink/sdagley/beard. a=sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@86937 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 21:48:26 +00:00
pinkerton%netscape.com
6ae938a280
more work for bug 7347 (mac scrollwheel). now works with logitech, but still requires a click. we have code that doesn't, but there are still some issues. r=saari/sr=sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@83931 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 01:31:23 +00:00
pinkerton%netscape.com
5df2a80199
add scroll-wheel support bug 7347. r=beard/sr=sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@82996 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 00:30:46 +00:00
warren%netscape.com
a8b9664a8c
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
...
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
bb561fcbb0
Removed extra 0 param
...
git-svn-id: svn://10.0.0.236/trunk@81920 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 02:18:32 +00:00
warren%netscape.com
c6b67eceeb
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
saari%netscape.com
a3e7f84667
Fix for 53771, Mac only key event fix. r=sfraser, a=hyatt rtm++
...
git-svn-id: svn://10.0.0.236/trunk@80642 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 02:26:23 +00:00
saari%netscape.com
1449d3bf79
Mac part of 48785 (hyatt's keybinding checkin) and also a fix for 52552. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@79854 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:03:13 +00:00
saari%netscape.com
e752b34f33
more fixes for 53017. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@79509 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 03:37:09 +00:00
saari%netscape.com
02474ba699
fix for 49975. r=pinkerton and hyatt
...
git-svn-id: svn://10.0.0.236/trunk@79286 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:28:26 +00:00
ftang%netscape.com
3dbc008a18
fix 41305. r=jfrancis. send correct charcode for contrl key on mac.
...
git-svn-id: svn://10.0.0.236/trunk@76997 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:12:46 +00:00
sfraser%netscape.com
8727267960
Fix for blank windows on Mac bug 42289. Ensure we only validate regions which we've painted. r=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@74501 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 00:13:06 +00:00
pinkerton%netscape.com
2835498ba0
fix for 45238, add kung-fu death grip on widget while we're processing the event. r=saari.
...
git-svn-id: svn://10.0.0.236/trunk@74335 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 22:00:30 +00:00
pinkerton%netscape.com
af868ff566
when passing drag event into gecko, correctly compute offset to child widget. r=damn bug 43405
...
git-svn-id: svn://10.0.0.236/trunk@73705 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 23:14:14 +00:00
beard%netscape.com
225060e4fa
bug #42100 , Carbon compatibility. r=gordon, saari, pinkerton, sfraser
...
git-svn-id: svn://10.0.0.236/trunk@72686 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 23:10:06 +00:00
scc%mozilla.org
fd1efd70c8
fix type equivalence between |PRUnichar| and |jschar| now that |PRUnchar| may be |wchar_t| on select platforms
...
git-svn-id: svn://10.0.0.236/trunk@72073 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:52:31 +00:00
saari%netscape.com
4721e131f2
Slight modification to my fix for bug 38725 to make it more robust in the case of a popup bringing up a popup. Just in case.
...
git-svn-id: svn://10.0.0.236/trunk@69023 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 07:32:14 +00:00
saari%netscape.com
adea9a1c8b
Fix for bug 38725, popups cause blurs to fire on MacOS only.
...
git-svn-id: svn://10.0.0.236/trunk@68995 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 05:42:22 +00:00