Commit Graph

182 Commits

Author SHA1 Message Date
Timothy Nikkel
9324c64202 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
c9148497c8 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
b619fb7e57 bug 859266 - respect devPixelsPerPx preference when calculating screen dimens on Windows. r=roc 2013-04-09 09:39:47 +01:00
David Zbarsky
0180c76147 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
9c1c141302 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
59f46e66b3 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
aa54cd6bad Bug 848672 Redesign focus handling of nsTextStore r=jimm 2013-03-27 09:04:02 +09:00
Nathan Froyd
6c2ee6841f Bug 844331 - part 5 - add profile-before-change2 notification; r=bsmedberg 2013-03-01 15:11:21 -05:00
Masayuki Nakano
a6dd7e160f Bug 807241 Use ITfMessagePump and ITfKeystrokeMgr r=jimm 2013-03-18 13:41:24 +09:00
Masayuki Nakano
68f1050915 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
0bfefb7eed 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
1859a93138 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
11b866300f Bug 558976 part.6 Rename nsIWidget::OnIMETextChange() to nsIWidget::NotifyIMEOfTextChange() r=roc, sr=roc 2013-03-06 15:14:34 +09:00
Masayuki Nakano
af9b223beb Bug 558976 part.2 Implement nsIWidget::NotifyIME() on Windows r=jimm 2013-03-06 15:14:32 +09:00
Jeff Walden
bf23cd54f1 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Jim Mathies
c689c82355 Bug 839808 - Add support for omtc to winrt widget. r=bbondy 2013-03-04 12:32:20 -06:00
Masayuki Nakano
e1b162ac12 Bug 840409 part.14 Implement widget::IMEHandler::GetNativeData() r=jimm 2013-02-25 13:00:07 +09:00
Masayuki Nakano
dd698e762a 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
8ba8af8e50 Bug 840409 part.12 Implement widget::IMEHandler::InitInputContext() and widget::IMEHandler::SetInputContext() r=jimm 2013-02-25 13:00:06 +09:00
Masayuki Nakano
e21a02c189 Bug 840409 part.11 Implement nsIMEContext::AssociateDefaultContext() and nsIMEContext::Disassociate() r=jimm 2013-02-25 13:00:06 +09:00
Masayuki Nakano
11d2de247e Bug 840409 part.10 Implement widget::IMEHandler::SetOpenState() and widget::IMEHandler::GetOpenState() r=jimm 2013-02-25 13:00:06 +09:00
Masayuki Nakano
56147b7f59 Bug 840409 part.9 Implement widget::IMEHandler::GetUpdatePreference() r=jimm 2013-02-25 13:00:06 +09:00
Masayuki Nakano
fa38a34011 Bug 840409 part.8 Implement widget::IMEHandler::NotifyIMEOfTextChange() r=jimm 2013-02-25 13:00:06 +09:00
Masayuki Nakano
9abe38168e 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
649b4e4874 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
1c5d916951 Bug 840409 part.5 Implement widget::IMEHandler::IsComposing() and widget::IMEHandler::IsComposingOn() r=jimm 2013-02-25 13:00:05 +09:00
Masayuki Nakano
709f32c9d6 Bug 840409 part.4 Implement widget::IMEHandler::CurrentKeyboardLayoutHasIME() for debug r=jimm 2013-02-25 13:00:05 +09:00
Masayuki Nakano
77dda286b5 Bug 840409 part.3 Implement widget::IMEHandler::ProcessMessage() r=jimm 2013-02-25 13:00:05 +09:00
Masayuki Nakano
502b06a82e Bug 840409 part.2 Move nsIMM32Handler::IsDoingKakuteiUndo() to widget::IMEContext r=jimm 2013-02-25 13:00:05 +09:00
Masayuki Nakano
3f35ffd466 Bug 840409 part.1 Implement widget::IMEHandler with Initialize() and Terminate() methods r=jimm 2013-02-25 13:00:05 +09:00
Masayuki Nakano
97bae25640 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
6c53161814 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
906315714f 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
e51aa84004 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
857c57179f Bug 826115 - Remove noisy NS_ENSURE_TRUE(rollupWidget, false) from nsWindow.cpp
r=jimm
2013-01-04 17:42:34 +01:00
Jim Mathies
bf0ef59040 Bug 819888 - Check the result of nsBaseWidget::GetActiveRollupListener. r=enndeakin 2012-12-31 11:27:04 -06:00
Masayuki Nakano
fbeff841fd 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
aef542653e 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
cc6519bc64 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
2bd5431ea7 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
7ac3514ffe 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
b1c0111f55 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
322db055c2 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
e26d8738b2 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
e225d2ac6c 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
12bb67cc3e 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
fa1d6e3b6e 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
aa8404a74a 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
580ff17032 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
60ccae9fe3 Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00