Commit Graph

325 Commits

Author SHA1 Message Date
Markus Stange
4411a7ad7f Bug 897260 - Don't go through DispatchMouseEvent when sending hit test events. r=jimm 2013-07-25 14:25:39 +02:00
Markus Stange
fc5dcb9c74 Bug 898415 - Fix context menu hittest event position. r=jimm 2013-08-09 19:56:53 +02:00
Alexander Surkov
9f0f0b2d59 Bug 891338 - Popup accessibility broken, r=tbsaunde, roc, f=marcoz, jamie 2013-07-22 11:58:19 -04:00
Masayuki Nakano
d5144e0a9b Bug 891316 part.5 Use widget::MSGResult in widget::IMEHandler r=jimm 2013-07-18 17:12:31 +09:00
Masayuki Nakano
8eb3277b0d Bug 891316 part.4 Use widget::MSGResult at nsWindow::ProcessMessageForPlugin r=jimm 2013-07-18 17:12:31 +09:00
Masayuki Nakano
4338868012 Bug 891316 part.3 Use widget::MSGResult in widget::MouseScrollHandler r=jimm 2013-07-18 17:12:31 +09:00
Masayuki Nakano
1320d65578 Bug 891316 part.2 Use widget::MSGResult in widget::WindowHook r=jimm 2013-07-18 17:12:31 +09:00
Masayuki Nakano
f50359d44b Bug 891316 part.1 Make widget::MSGResult struct and use it in nsWindow r=jimm 2013-07-18 17:12:31 +09:00
Masayuki Nakano
5aaae31bae Bug 891292 r=jimm 2013-07-10 00:54:41 +09:00
Nicholas Cameron
df153198ec Bug 899435. Part 4 - smooth resizing with OMTC. r=roc 2013-08-09 11:32:26 +12:00
Jim Mathies
e0b0bdeb6e Bug 888765 - Avoid querying for titlebar info during toolkit window creation, causes problems on Win8 with browser startup. r=bbondy 2013-07-06 05:53:20 -05:00
Felipe Gomes
2d5cbdb230 Bug 888300 - Respect dom.w3c_touch_events.enabled property on win32 widget. r=jimm 2013-06-28 17:42:25 -04:00
Jim Mathies
ec72336547 Bug 873073. r=bbondy 2013-06-28 08:00:16 -05:00
Alexander Surkov
656ee75ebf Bug 670087 - AccessibleObjectFromPoint returns incorrect accessible for popup menus, r=tbsaunde, sr=roc 2013-06-27 11:03:58 -04:00
James H
73778e4ef2 Bug 844255 - Only use WS_EX_COMPOSITED on popups when using accelerated layers. r=Bas 2013-05-23 11:45:44 -04:00
Masayuki Nakano
3a5490f2b4 Bug 855975 part.19 Move nsWindow::SynthesizeNativeKeyEvent() to widget::KeyboardLayout::SynthesizeNativeKeyEvent() r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
22ab5a3d5b Bug 855975 part.17 Move nsWindow::OnKeyDown() to widget::NativeKey::HandleKeyDownMessage() r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
544e9ff0bb Bug 855975 part.16 Move keydown message redirect manager from nsWindow to widget::RedirectedKeyDownMessageManager r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
60c98c8f62 Bug 855975 part.15 Use widget::NativeKey::mCommittedCharsAndModifiers directly in the methods of widget::NativeKey r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
9b75f6917d Bug 855975 part.14 Move following WM_*CHAR message handler from nsWindow::OnKeyDown() to widget::NativeKey::DispatchKeyPressEventForFollowingCharMessage() r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
31dd337bab Bug 855975 part.13 widget::NativeKey should manage following WM_*CHAR message if it's initialized with WM_*KEYDOWN r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
0b76a23565 Bug 855975 part.12 Move special keypress event handling from nsWindow::OnKeyDown() to widget::NativeKey::DispatchKeyPressEventsAndDiscardsCharMessages r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
453ec6a2b0 Bug 855975 part.11 Sort out the if statement which checks whether the native keydown message needs to be handled without following char messages r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
52a4387108 Bug 855975 part.10 Move nsWindow::DispatchPluginEvent() to nsWindowBase r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
9a0e09a849 Bug 855975 part.9 Move keypress events dispatcher of nsWindow::OnKeyDown() to widget::NativeKey::DispatchKeyPressEventsWithKeyboardLayout() r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
672ed5b1c6 Bug 855975 part.8 Move nsWindow::OnChar() to widget::NativeKey::HandleCharMessage() r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
e96de74786 Bug 855975 part.7 Implement widget::NativeKey::DispatchKeyDownEvent() r=jimm 2013-05-29 15:34:48 +09:00
Masayuki Nakano
fc5549ae89 Bug 855975 part.6 Move nsWindow::OnKeyUp() to widget::NativeKey::HandleKeyUpMessage() r=jimm 2013-05-29 15:34:47 +09:00
Masayuki Nakano
4428a65a82 Bug 855975 part.5 Move nsWindow::DispatchKeyEvent() to widget::NativeKey::DispatchKeyEvent() r=jimm 2013-05-29 15:34:47 +09:00
Masayuki Nakano
86c934be16 Bug 855975 part.4 Move nsWindow::InitKeyEvent() to widget::NativeKey::InitKeyEvent() r=jimm 2013-05-29 15:34:47 +09:00
Masayuki Nakano
e5373c9e94 Bug 855975 part.3 Wrap MapVirtualKeyEx() API for converting VK to ScanCode with widget::KeyboardLayout r=jimm 2013-05-29 15:34:47 +09:00
Masayuki Nakano
529c849332 Bug 855975 part.2 Wrap MapVirtualKeyEx() API for converting native key event to VK or Unichar with widget::NativeKey r=jimm 2013-05-29 15:34:47 +09:00
Masayuki Nakano
73367a9a5c Bug 855975 part.1 Make widget::KeyboardLayout a singleton class r=jimm 2013-05-29 15:34:47 +09:00
David Zbarsky
45aa3d2bde Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger 2013-05-17 13:17:53 -07:00
Bas Schouten
d07d0900a7 Bug 830347 - Part 3: Integrate new D3D compositor into widget. r=jmathies 2013-05-03 19:34:33 +02:00
Kyle Huey
de21211adf Back out bug 830347. 2013-05-08 12:04:11 -07:00
Bas Schouten
689f180c53 Bug 830347 - Part 3: Integrate new D3D compositor into widget. r=jmathies 2013-05-03 19:34:33 +02:00
Nicolas Silva
a1ee3bf807 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
Masayuki Nakano
877ab22109 Bug 842927 part.3 Implement D3E KeyboardEvent.key on Windows (Desktop) r=smaug+jimm 2013-04-24 12:49:47 +09:00
Ehsan Akhgari
93b18e529b Backed out changeset fdaa0659fe13 (bug 863324) because of build bustage on a CLOSED TREE
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 18:12:15 -04:00
Nicolas Silva
faf423d4c4 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 22:51:11 -04:00
Ryan VanderMeulen
42cef9be70 Backed out changeset ddf944cc292d (bug 863324) for Android bustage on a CLOSED TREE.
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 14:47:16 -04:00
Nicolas Silva
bb0bda95b2 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 18:07:48 -04:00
Timothy Nikkel
ef9ea7f803 Bug 863889. nsWindow::Move should compare the same type of pixels when determining if we are moving the window at all. r=jfkthame 2013-04-20 13:19:26 -05:00
Jonathan Kew
a4706ed92a bug 861403 - fix mixing of device pixels with global display pixels in MoveClient and ResizeClient calculations. r=roc 2013-04-15 13:17:22 +01:00
Jonathan Kew
6354f2dfe3 bug 859266 - respect devPixelsPerPx preference when calculating screen dimens on Windows. r=roc 2013-04-09 09:39:47 +01:00
David Zbarsky
632574c3c6 Bug 856962: Move Touch to its own file r=Ms2ger
--HG--
rename : content/events/src/nsDOMTouchEvent.cpp => content/events/src/Touch.cpp
rename : content/events/src/nsDOMTouchEvent.h => content/events/src/Touch.h
2013-04-05 04:49:00 -04:00
Jonathan Kew
5aa31382f8 bug 851952 - handle conversion between logical and device pixels in Windows screen-manager and window position-constraint code. r=jimm 2013-04-01 10:10:33 +01:00
Jonathan Kew
0f5958303f bug 818927 part 2 - refactoring - create a GetDPIScale method in gfxWindowsPlatform, and use this to replace GetDeviceCaps(hdc, LOGPIXELSY) in widget code. r=jimm 2013-04-01 10:10:28 +01:00
Masayuki Nakano
d068300221 Bug 848672 Redesign focus handling of nsTextStore r=jimm 2013-03-27 09:04:02 +09:00
Nathan Froyd
cdcd9fd8f3 Bug 844331 - part 5 - add profile-before-change2 notification; r=bsmedberg 2013-03-01 15:11:21 -05:00
Masayuki Nakano
8818d46337 Bug 807241 Use ITfMessagePump and ITfKeystrokeMgr r=jimm 2013-03-18 13:41:24 +09:00
Masayuki Nakano
7e9019e1d9 Bug 829952 Reimplement system scroll speed override stuff for D3E WheelEvent feedback=avih, r=smaug+roc, sr=roc 2013-03-15 18:03:16 +09:00
Jeff Walden
5ec763f216 Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger 2013-03-05 15:43:30 -08:00
Daniel Holbert
56c48afacf Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth 2013-03-06 00:05:55 -08:00
Masayuki Nakano
f93c4a10b1 Bug 558976 part.6 Rename nsIWidget::OnIMETextChange() to nsIWidget::NotifyIMEOfTextChange() r=roc, sr=roc 2013-03-06 15:14:34 +09:00
Masayuki Nakano
35e5c6a418 Bug 558976 part.2 Implement nsIWidget::NotifyIME() on Windows r=jimm 2013-03-06 15:14:32 +09:00
Jeff Walden
1871e9f3f8 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Jim Mathies
8b05668989 Bug 839808 - Add support for omtc to winrt widget. r=bbondy 2013-03-04 12:32:20 -06:00
Masayuki Nakano
9683bb0a0e Bug 840409 part.14 Implement widget::IMEHandler::GetNativeData() r=jimm 2013-02-25 13:00:07 +09:00
Masayuki Nakano
bc51162884 Bug 840409 part.13 Implement widget::IMEHandler::IsIMEEnabled() which checks whether the state indicates IME available or not r=jimm 2013-02-25 13:00:07 +09:00
Masayuki Nakano
053ccfc3c4 Bug 840409 part.12 Implement widget::IMEHandler::InitInputContext() and widget::IMEHandler::SetInputContext() r=jimm 2013-02-25 13:00:06 +09:00
Masayuki Nakano
a75d2bc49f Bug 840409 part.11 Implement nsIMEContext::AssociateDefaultContext() and nsIMEContext::Disassociate() r=jimm 2013-02-25 13:00:06 +09:00
Masayuki Nakano
d5fcbc0600 Bug 840409 part.10 Implement widget::IMEHandler::SetOpenState() and widget::IMEHandler::GetOpenState() r=jimm 2013-02-25 13:00:06 +09:00
Masayuki Nakano
60933117b1 Bug 840409 part.9 Implement widget::IMEHandler::GetUpdatePreference() r=jimm 2013-02-25 13:00:06 +09:00
Masayuki Nakano
4559245be6 Bug 840409 part.8 Implement widget::IMEHandler::NotifyIMEOfTextChange() r=jimm 2013-02-25 13:00:06 +09:00
Masayuki Nakano
6d5766f8ba Bug 840409 part.7 Define new notification for IME of focus or selection change and handle them in widget::IMEHandler::NotifyIME() r=jimm, feedback=roc 2013-02-25 13:00:06 +09:00
Masayuki Nakano
7eb648f847 Bug 840409 part.6 Implement widget::IMEHandler::NotifyIME() for committing and canceling composition r=jimm, feedback=roc 2013-02-25 13:00:06 +09:00
Masayuki Nakano
d4f5d5a259 Bug 840409 part.5 Implement widget::IMEHandler::IsComposing() and widget::IMEHandler::IsComposingOn() r=jimm 2013-02-25 13:00:05 +09:00
Masayuki Nakano
e952bfc1d5 Bug 840409 part.4 Implement widget::IMEHandler::CurrentKeyboardLayoutHasIME() for debug r=jimm 2013-02-25 13:00:05 +09:00
Masayuki Nakano
ba8d3aca49 Bug 840409 part.3 Implement widget::IMEHandler::ProcessMessage() r=jimm 2013-02-25 13:00:05 +09:00
Masayuki Nakano
9097f54412 Bug 840409 part.2 Move nsIMM32Handler::IsDoingKakuteiUndo() to widget::IMEContext r=jimm 2013-02-25 13:00:05 +09:00
Masayuki Nakano
ff8f96a75a Bug 840409 part.1 Implement widget::IMEHandler with Initialize() and Terminate() methods r=jimm 2013-02-25 13:00:05 +09:00
Masayuki Nakano
5bd2aa268a Bug 708936 Dispatch defaultPrevented Alt keyup event if VK_MENU is received with WM_KEYUP instead of WM_SYSKEYUP r=jimm+smaug 2013-02-12 10:03:00 +09:00
Mats Palmgren
b7ae90666d Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Jim Mathies
99458caaa3 Bug 785534 - Prep work for adding MetroWidget support to the TSF nsTextStore widget module, r=emk 2013-01-07 09:18:11 -06:00
Masayuki Nakano
560990cdee Bug 823904 Support edit actions of WM_APPCOMMAND such as Copy, Cut, Paste, Undo and Redo r=jimm 2013-01-07 23:21:21 +09:00
Marco Bonardo
9472b76aa9 Bug 826115 - Remove noisy NS_ENSURE_TRUE(rollupWidget, false) from nsWindow.cpp
r=jimm
2013-01-04 17:42:34 +01:00
Jim Mathies
5a00e1c7fb Bug 819888 - Check the result of nsBaseWidget::GetActiveRollupListener. r=enndeakin 2012-12-31 11:27:04 -06:00
Masayuki Nakano
a04fe04baf Bug 672193 Support some actions of WM_APPCOMMAND such as New, Open, Close, Save, Find, Help, SendMail, ReplyToMail and ForwardMail r=gavin+jimm 2012-12-31 09:33:49 +09:00
Masayuki Nakano
4138c5d022 Bug 822866 Make mozilla::widget::BaseEventFlags which is a POD struct for VC r=smaug 2012-12-28 23:13:18 +09:00
Jonathan Kew
28b294fe83 bug 628917 - avoid rebuilding the font list repeatedly, by only handling WM_FONTCHANGE for the hidden window. r=jdaggett 2012-12-21 09:49:28 +00:00
Jonathan Kew
96ec80208a bug 765700 - part 2 - always trigger reflow when font list is updated on Windows, not only if there's a new langGroup. r=jdaggett 2012-12-21 09:49:07 +00:00
Neil Deakin
d627a970a4 Bug 815691 - The panel's context menu doesn't change after clicking on a different item
r=jimm
2012-12-17 14:55:37 +01:00
Jim Mathies
242cad816d Bug 814953 - Check for possible widget tear down before calling UpdateWindow in widget's Show. r=bbondy 2012-12-17 06:53:28 -06:00
Masayuki Nakano
bbb1282d70 Bug 813445 part.12 Remove NS_EVENT_FLAG_ONLY_CHROME_DISPATCH and nsEvent::flags r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano
bc637323fa Bug 813445 part.5 Remove NS_EVENT_FLAG_NO_DEFAULT and NS_EVENT_FLAG_NO_DEFAULT_CALLED_IN_CONTENT r=smaug 2012-12-16 10:26:04 +09:00
Jonathan Kew
624901adfa bug 821454 - scaling from display to device pixels should only apply to top-level windows/dialogs/popups, not to child or plugin windows. r=roc 2012-12-14 12:58:15 +00:00
Jim Mathies
02ada69f1b Bug 814953 - Cleanup Win nsWindow WindowProcInternal and move the window ref up above DealWithPopups. r=roc 2012-12-14 06:56:36 -06:00
Jonathan Kew
4c7e7bd1e0 bug 819725 pt 2 - apply default scaling in widget/windows/nsWindow move & resize methods, to account for non-100% Windows UI scale factors. r=roc 2012-12-09 20:54:46 +00:00
Jonathan Kew
81c7d507db bug 819725 pt 1 - make widget move & resize methods take floating-point parameters, to allow passing fractional coordinates without rounding. r=roc 2012-12-12 09:57:38 +00:00
Trevor Saunders
496f01cda1 bug 817133 - move platform init and shutdown stuff out of nsAccessNodeWrap and ApplicationAccessibleWrap static methods r=surkov 2012-12-01 19:58:25 -05:00
Mats Palmgren
924e59e0d0 Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Masayuki Nakano
12c74ac7c3 Bug 733630 part.2 Do hit test inside border r=jimm 2012-12-04 17:44:48 +09:00
Masayuki Nakano
029370588c Bug 733630 Use native window border size if there is no content under mouse cursor r=jimm 2012-12-04 17:44:47 +09:00
Boris Zbarsky
06fae28e55 Bug 815671 part 6. Fixes to widget code to not copy arrays implicitly. r=jlebar 2012-11-29 11:14:14 -05:00
Robert O'Callahan
8ac4b49533 Bug 812897. Limit WS_EX_COMPOSITED hack to pre-Windows-8. r=jmathies 2012-11-29 18:02:57 +13:00
Alexander Surkov
6b25f9216f Bug 812466 - namespacify Accessible classes, r=tbsaunde 2012-11-18 11:01:44 +09:00
Nicolas Silva
51dd83878a Bug 806428 - Fix crash in omtc-linux caused by nsBaseWidget::SetLayersAcceleration, and rename xxxAcceleratedRendering into xxxLayersAcceleration for concistency. r=BenWa 2012-11-15 19:55:15 +01:00
Timothy Nikkel
f999d590f4 Bug 787818. Send activate and deactivate notifications to the correct window. r=enndeakin 2012-11-16 17:40:28 -06:00
Masayuki Nakano
e11469e287 Bug 805767 part.3 Remove hack for bug 496360 r=roc 2012-11-13 22:04:45 +09:00
Masayuki Nakano
066467c7e0 Bug 805767 part.2 Implement nsIWidget::GetIMEUpdatePreference() on Windows for TSF r=emk 2012-11-13 22:04:45 +09:00
Brian R. Bondy
fd4768384a Bug 795887 - Document sleep and process suspend notifications. r=roc 2012-11-09 10:34:10 -05:00
Jim Mathies
e21debf331 Bug 750901 - Elm to mc migration work - metro related changes to Windows widget src to support building metro winrt bits (nsWidgetFactory, nsWindowGfx, nsToolkit, WinUtils). Also landing nsIWinMetroUtils.idl. r=bbondy 2012-11-02 06:54:44 -05:00
Robert O'Callahan
344c63740a Bug 804062. Move device-pixels-per-CSS-pixel preference logic into nsIWidget::GetDefaultScale. r=jfkthame
The only behavior change caused by this patch should be that nsDeviceContexts with no widget
(mainly printing, I think), default to a devpixel-per-CSS-pixel ratio of 1.0, ignoring
any prefs set.
2012-10-31 11:31:35 +11:00
Mike Conley
998dbff9fa Bug 746775 - Clicks to close a context-menu in a panel are also consumed by the panel. r=jmathies,enndeakin. 2012-10-29 12:54:52 -04:00
Ryan VanderMeulen
0e22196909 Backout b6089a8b78d3 (bug 782547) to see if it fixes Flash hangs. 2012-10-28 00:24:02 -04:00
Masayuki Nakano
709e35de01 Bug 801989 part.2 Set InputContext::mNativeIMEContext on Windows r=jmathies 2012-10-27 08:35:21 +09:00
Neil Deakin
dbb5179c04 Bug 701760, merge <select> and popup manager rollup handling, so that select elements don't cancel out any popup rollup listeners, r=mats 2012-10-26 09:15:22 -04:00
Neil Deakin
e76c2ec778 Bug 782547, allow killfocus and deactivate messages to arrive in any order, remove blur suppression code, r=jmathies 2012-10-24 16:05:29 -04:00
Timothy Nikkel
63e3338f4e Bug 802456. Make all popup type windows on Windows have the composited style to work around a bug in Windows. r=jimm 2012-10-20 16:05:14 -05:00
James H
4955da63dd Bug 802316 - Remove WS_EX_COMPOSITED style from popups with WS_EX_LAYERED to prevent invisible context menus. r=roc 2012-10-17 16:18:22 -04:00
James H
8bd40a8324 Bug 801301 - Fix popup submenus opening behind their parent on Windows XP. r=roc
--HG--
extra : rebase_source : 25c1b7bf5db71b40130816d629c4d54707290a49
2012-10-14 18:04:05 -04:00
Ben Turner
03f0a71b4d Bug 799970 - 'Activate HangMonitor for non-queued messages on Windows'. r=bsmedberg. 2012-10-16 12:56:57 -07:00
James H
1e0bf4e944 Bug 610713 - Fix popup menus leaving behind artifacts when using hardware acceleration and a basic Windows theme. r=jmathies 2012-09-13 21:31:53 -04:00
Robert O'Callahan
25d8a9eeb3 Bug 603880. Implement nsWindow::GetDefaultScale on Windows based on LOGPIXELSY, set by font DPI settings. r=jmathies
--HG--
extra : rebase_source : 9f557d71a0aff00cf51093983809d7bbda477294
2012-10-05 15:29:10 +13:00
Jacek Caban
fe4bf5159a Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (widget/windows part) r=jmathies
--HG--
extra : rebase_source : e7f460a18397aa903fb2ba3f9ba7e5fe67d76db6
2012-10-04 10:33:24 +02:00
Isaac Aggrey
481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Chris Pearce
8890e16348 Bug 782729 - Make Windows nsWindow::SynthesizeNativeMouseEvent accept coords in screen coords, not widget coords, to match other widget implementations. r=smaug,jimm 2012-09-18 14:36:16 +12:00
Jim Mathies
88ccb13216 Bug 726615 - Implement w3c touch events for Windows. Original patch by Makoto Kato. r=wesj, smaug, mbrubeck 2012-09-22 14:28:35 -05:00
Jim Mathies
063a9840ee Bug 726615 - Completely remove MozTouch event support from mc. r=smaug 2012-09-22 14:28:08 -05:00
Ehsan Akhgari
8cc30b88b2 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Aryeh Gregor
291bfa222b Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug 2012-08-16 14:58:11 +03:00
Randell Jesup
65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Timothy Nikkel
8156eed68a Bug 786421. If we are asked to repaint while resizing a window on Windows and the new size matches the old size just repaint and don't do a bunch of extra work. r=jimm 2012-08-31 11:16:52 -05:00
Masayuki Nakano
6f66e83933 Bug 674477 Don't scroll around axis whose overflow is hidden by wheel events r=smaug 2012-08-30 10:05:16 +09:00
Neil Deakin
11697a706a Bug 783899, notify the view for resize events before the webshellwindow, fixing thunderbird window size when maximized, r=jmathies 2012-08-24 08:42:15 -04:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Tim Abraldes
a865bb103c bug 758280. Refactor the way we handle WM_NCCALCSIZE messages and how we keep track of our frame offsets. r=jimm 2012-08-20 12:11:31 -07:00
Joe Drew
022bcccbfb Bug 781679 - Assert that we're not in the middle of a transaction when we switch layer managers. r=mattwoodrow 2012-08-15 17:55:38 -04:00
Neil Deakin
c4c73ac86c Bug 743975 - remove the view wrapper,r=tn 2012-08-15 14:53:14 -04:00
Neil Deakin
6b29afdf4b Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Neil Deakin
2e9eced59a Bug 743975 - use a widget listener interface instead of the remaining events that don't need an event, r=tn,jmathies,netzen,smichaud,karlt,blassey,chrisjones 2012-08-15 14:52:42 -04:00
Neil Deakin
e7d98cacc8 Bug 743975 - remove NS_DESTROY event, r=smaug 2012-08-15 14:52:41 -04:00
Neil Deakin
db533c012d Bug 743975 - use a direct call instead of move uistatechanged event, r=smaug 2012-08-15 14:52:40 -04:00
Neil Deakin
fb4d59f2de Bug 743975 - remove accessibility events from widget, replace with a nsBaseWidget::GetAccessible method, r=trevsaunders 2012-08-15 14:52:37 -04:00
Neil Deakin
a534b0b037 Bug 743975 - remove unused NS_CREATE and NS_TABCHANGE events, r=smaug 2012-08-15 14:52:35 -04:00
Neil Deakin
2ed511feda Bug 743975 - move theme and window size done events to direct calls, r=smaug 2012-08-15 14:52:35 -04:00
Masayuki Nakano
f5096646cb Bug 719320 part.12 Replace legacy mouse scroll event dispatchers with D3E wheel event dispatcher on Windows r=smaug+jimm 2012-08-12 10:42:37 +09:00
Neil Deakin
b0640922cf Bug 357725, support minimum and maximum size constraints on windows and popups, r=mats,jmathies,karlt,smichaud,sr=neil 2012-07-30 20:43:29 -04:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Jim Mathies
8efcc81190 Bug 762948 - follow up to remove Windows line endings. r=nobug DONTBUILD 2012-07-25 10:15:28 -05:00
Bas Schouten
57646c88a0 Bug 762948: Workaround for invalidation problem with flash. r=roc 2012-07-23 15:57:38 +02:00
Mark Capella
eddd048c93 Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger 2012-07-23 01:19:08 -04:00
Mark Capella
ab782c26b2 Bug 769998 - Make nsIWidget::IsVisible return bool, r=roc, f=ms2ger 2012-07-19 04:57:50 -04:00
Masayuki Nakano
084ca1d1c9 Bug 773651 Guess VK_RCONTROL and VK_RMENU from extended key flag on XP and don't trust the scan code of key messages r=jimm 2012-07-19 10:28:17 +09:00
Masayuki Nakano
4c95259d7e Bug 751749 part.2 Support Win key for a modifier of shortcut key and access key r=smaug, enn 2012-07-19 10:28:16 +09:00
David Zbarsky
9a61d96c70 [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Jim Mathies
0018f02094 Bug 768400 - clear win32 transparent windows when hidden so stale content isn't briefly displayed when they are reshown. r=roc 2012-07-12 06:39:21 -05:00
Tim Abraldes
93aa0d4ccd bug 708033. Cache the large and small icons that are set for each nsWindow. Free them in nsWindow::~nsWindow() rather than in nsWindow::OnDestroy(). r=jimm 2012-07-05 16:06:13 -07:00