Commit Graph

72 Commits

Author SHA1 Message Date
Jonathan Watt
80a104b4e7 Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
Jonathan Kew
c7373934de Bug 1264196 - Use the DPI from the parent window, if any, for consistency between popups and their owners when straddling a monitor boundary. r=emk 2016-04-13 14:40:46 +01:00
Aaron Klotz
21a7f4f6b7 Bug 1240315: Add startup crash report annotation for AppInit_DLLs; r=jimm 2016-01-16 14:09:28 -07:00
Bob Owen
0cec7ba3b2 Bug 1236680 Part 1: Add new WinUtils function to Resolve moved Users folder. r=jimm 2016-02-09 15:22:43 +00:00
Jonathan Kew
c92f01422f Bug 1242720 - Use (non-dynamic) resolution from GetDeviceCaps when dealing with native-theme code that does not handle dynamic changes to system DPI. r=emk 2016-01-28 15:08:33 +00:00
Jonathan Kew
492e14ee2f Bug 890156 - patch 3 - Remove gfxWindowsPlatform::GetDPIScale and replace it with methods in WinUtils, ready for per-monitor DPI support. r=emk 2015-12-02 15:09:29 +00:00
Nicholas Nethercote
6f043f6b6e Bug 1229237 (part 3) - Make nsIWidget::Invalidate() take a LayoutDeviceIntRect. r=botond. 2015-11-16 21:18:31 -08:00
Nathan Froyd
c868222a91 Bug 1222149 - delete unused fields from AsyncEncodeAndWriteIcon; r=roc
clang-cl says these are unused, so let's delete them.
2015-11-05 14:19:20 -05:00
Nathan Froyd
dd5a328e65 Bug 1218488 - clarify buffer ownership for nsICanvasRenderingContextInternal::GetBuffer; r=Bas,baku
This patch started life as making ImageEncoder.cpp:EncodingRunnable not
use nsAutoArrayPtr, but the API effects rippled out from there.  On the
whole, I think using UniquePtr throughout has made the code clearer.
2015-10-26 14:31:12 -04:00
Masayuki Nakano
d36f87a852 Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug 2015-08-26 21:56:59 +09:00
Maksim Lebedev
e5baeed8f4 Bug 1137555 - Add implementation of PuppetWidget::GetMaxTouchPoints(). r=smaug, r=jimm 2015-05-08 03:29:00 +02:00
Nicolas Silva
d73f54cb00 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Ehsan Akhgari
ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Mason Chang
37bb8f9d19 Bug 1127151. Part 1: Expose dwmFlush to winutils. r=jrmuizel 2015-02-13 17:17:23 +08:00
Jim Mathies
be167acdf9 Bug 1095754 - Move InvalidatePluginAsWorkaround from nsWindow to WinUtils so the compositor can access it. r=aklotz 2015-01-29 13:41:54 -06:00
Ehsan Akhgari
2acefe2331 Bug 1117264 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/base code; r=baku 2015-01-06 11:52:45 -05:00
Aaron Klotz
2ce085ab5e Bug 1072752: Make Chromium UI message loops for Windows call into WinUtils::WaitForMessage; r=jimm 2014-09-25 12:39:15 -06:00
Jim Mathies
0b7643f743 Bug 1052395 - Improve ipc debug output for unhandled nonqueued Windows messages. r=bent 2014-08-12 14:06:00 -05:00
Ehsan Akhgari
dfc4108682 Bug 1038411 - Give myDownloadObserver a private destructor; r=mak 2014-07-16 13:21:23 -04:00
Ehsan Akhgari
9e14a05aa0 Backed out changeset 32d47282044f (bug 1038411) because of build bustage on CLOSED TREE 2014-07-15 15:31:15 -04:00
Ehsan Akhgari
a4ccdf3139 Bug 1038164 - Give some classes in WinUtils.h private destructors; r=bjacob 2014-07-15 14:56:01 -04:00
Ehsan Akhgari
fb541d39e1 Bug 1038411 - Give myDownloadObserver a private destructor; r=bjacob 2014-07-15 14:55:04 -04:00
Masayuki Nakano
ea7a45eeca Bug 995893 part.1 Use nsAutoRefCnt in IUnknown inherited classes and log the refcounting r=jimm 2014-07-12 02:09:59 +09:00
Jonathan Watt
4f3ac337d3 Bug 1029627 - Remove unused string variable and member variable in WinUtils code. r=jmathies 2014-06-25 12:59:41 +01:00
Chris Pearce
456a0d060b Bug 1022421 - Cache value of FaviconHelper::GetICOCacheSecondsTimeout() in AsyncDeleteAllFaviconsFromDisk so that we don't use pref service off main thread. r=jimm 2014-06-11 10:53:17 +12:00
Brian R. Bondy
f705733b31 Bug 724423 - Fix jump list favicon cleanup. r=jimm 2014-06-03 09:26:11 -04:00
Nicholas Cameron
5c9c785a58 Bug 896896. Use MsgWaitForMultipleObjectsEx instead of WaitMessage. r=roc 2013-07-31 08:51:45 +12:00
Oleg Romashin
3e4b7c7eb5 Bug 970964 - Implement generic mouse/touch -> Pointer events converter. r=smaug,jimm 2014-02-26 13:37:01 -08:00
Nicholas Cameron
96c0f919f5 Backed out changeset 4887f7d34df2 (bug 896896) for causing bug 933733. a=lsblakk 2013-11-11 13:59:45 -05:00
Jim Mathies
f0da9f7a7c Bug 941774 - Centralize various dpi related queries on Windows. r=bbondy 2013-12-14 14:40:55 -06:00
Stephen Pohl
b61c5ca3e6 Bug 934811 - Ensure that no scrollbars are displayed for touch input. r=jimm,tn 2013-12-03 13:21:09 -05:00
Jacek Caban
20aa364672 Bug 944894 - Fix char16_t/wchar_t mismatch in widget/windows/. r=jimm 2013-12-03 16:12:57 +01:00
Masatoshi Kimura
a39c875384 Bug 925599 - Replace WinUtils::GetWindowsVersion() and GetWindowsServicePackVersion(). r=jimm 2013-11-22 12:35:42 +09:00
Jim Mathies
98724d6065 Bug 907635 - Move metro utils logging functions over to WinUtils. r=masayuki 2013-11-01 05:09:32 -05:00
Birunthan Mohanathas
2ad00893ea Bug 784739 - Switch from NULL to nullptr in widget/windows/ (3/3); r=ehsan 2013-10-08 14:48:34 -04:00
Benoit Jacob
c719617d8e Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-19 09:54:39 -04:00
Wes Kocher
df60e63207 Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE 2013-09-18 17:21:02 -07:00
Benoit Jacob
7bcf1eee88 Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Benoit Jacob
3e5e988ae0 Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Jim Mathies
b875df334d Bug 907410 - Winrt async input - rework initial startup logic. r=bbondy 2013-09-06 08:11:14 -05:00
Robert O'Callahan
cdf94b5abe Bug 900785. Part 2: Make nsRefreshDriver use the WinUtils DWM APIs instead of loading the DLL itself. r=avih 2013-08-15 16:25:58 +12:00
Robert O'Callahan
9b7f5890c6 Bug 900875. Part 1: Move DWM APIs to WinUtils. r=avih 2013-08-15 16:25:12 +12:00
Jim Mathies
88a6bd4811 Bug 879562 - Convert WinUtils::GetNSWindowPtr to WinUtils::GetNSWindowBasePtr. r=masayuki 2013-08-09 05:12:38 -05:00
Nicholas Cameron
8c3a6b38e7 Bug 896896. Use MsgWaitForMultipleObjectsEx instead of WaitMessage. r=roc 2013-07-31 08:51:45 +12:00
Joshua Cranmer
0d541d1d95 Bug 884061 - Part 3x: Use NS_DECL_THREADSAFE_ISUPPORTS in widget/, r=jimm 2013-07-18 21:24:15 -05:00
Masatoshi Kimura
eb6c54428a Bug 888870 - Add Windows 8.1 support to WinUtils::GetWindowsVersion. r=jimm 2013-07-12 06:26:55 +09:00
Masayuki Nakano
03f1e09b3a Bug 855975 part.19 Move nsWindow::SynthesizeNativeKeyEvent() to widget::KeyboardLayout::SynthesizeNativeKeyEvent() r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
ee5977a0d9 Bug 855975 part.17 Move nsWindow::OnKeyDown() to widget::NativeKey::HandleKeyDownMessage() r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
a98bd7ecbe 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
Brian R. Bondy
9d73a6c104 Bug 875609 - Refactor jump list code to decode images on the main thread. r=jimm 2013-05-28 14:08:48 -04:00