Commit Graph

69 Commits

Author SHA1 Message Date
Jonathan Watt
fa20dc97b8 Bug 986526 - Create helper functions to encode DrawTargets/SourceSurfaces to PNG/JPEG/BMP/ICO/etc. and save them, dump them, or copy them to the clipboard, either as binary or as data: URIs. r=mattwoodrow 2014-06-27 12:19:40 +01:00
Jonathan Watt
a5d64dadaa Bug 1029627 - Remove unused string variable and member variable in WinUtils code. r=jmathies 2014-06-25 12:59:41 +01:00
Chris Pearce
35a88afc17 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
e479623228 Bug 724423 - Fix jump list favicon cleanup. r=jimm 2014-06-03 09:26:11 -04:00
Birunthan Mohanathas
76ca8ec617 Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Bas Schouten
553e20e271 Bug 1012487: Default to 100% DPI when GetDeviceCaps fails. r=jmathies 2014-05-19 20:10:05 +02:00
Nicholas Cameron
c4e2147a15 Bug 896896. Use MsgWaitForMultipleObjectsEx instead of WaitMessage. r=roc 2013-07-31 08:51:45 +12:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Jonathan Watt
10e73de9e6 Bug 950372 - Convert imgIContainer::GetFrame to return a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow 2014-04-15 19:02:23 +01:00
Jonathan Watt
4a37c22874 Bug 992406 - Add a null check before using the DataSourceSurface in AsyncFaviconDataReady::OnComplete(). r=Bas 2014-04-15 13:57:16 +01:00
Brian R. Bondy
7980082729 Bug 983745 - ICO encoding for hi dpi settings on Windows causes corrupted jump list encoding. r=timA 2014-04-07 22:46:28 -04:00
Neil Rashbrook
a8a5decf6f Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-04-03 23:06:26 +01:00
Anuj Agarwal
972001b556 Bug 890618 - create directory call removed from main thread. r=bbondy 2014-03-18 17:06:13 -04:00
Jonathan Watt
5400a22e0a Bug 981430 - Convert WinUtils consumer of imgIContainer::GetFrame to act on a Moz2D SourceSurface. r=mattwoodrow 2014-03-10 03:13:18 +00:00
Oleg Romashin
add07fba1a Bug 970964 - Implement generic mouse/touch -> Pointer events converter. r=smaug,jimm
--HG--
extra : rebase_source : 165dc4e5c598f9e9f9de928efe16824037b95ff3
2014-02-26 13:37:01 -08:00
Nicholas Cameron
39022ca223 Backed out changeset 4887f7d34df2 (bug 896896) for causing bug 933733. a=lsblakk 2013-11-11 13:59:45 -05:00
Ehsan Akhgari
bc16abf896 Bug 970042 - Stop checking the result of nsTArray::SetLength in the Windows widget code; r=roc 2014-02-09 18:36:41 -05:00
Benoit Jacob
3369ca8bb6 Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Jim Mathies
d85f619b11 Bug 941774 - Centralize various dpi related queries on Windows. r=bbondy 2013-12-14 14:40:55 -06:00
Jonathan Watt
67f3b43be2 Bug 944442 follow-up to check for null instead of rv error. r=me 2013-12-13 08:40:57 +00:00
Jonathan Watt
6c8fbf340c Bug 944442 - DeCOMify imgIContainer::GetFrame. r=seth
--HG--
extra : rebase_source : 612c1923f3ed8a01fc30f2d306b4682e585e53fe
2013-12-13 08:34:24 +00:00
Stephen Pohl
acd47107c8 Bug 934811 - Ensure that no scrollbars are displayed for touch input. r=jimm,tn 2013-12-03 13:21:09 -05:00
Jacek Caban
f1bc13f4ff Bug 944894 - Fix char16_t/wchar_t mismatch in widget/windows/. r=jimm
--HG--
extra : rebase_source : 829390ff7e6f4eb71dcd32c9d1aa27f61baa6653
2013-12-03 16:12:57 +01:00
Masatoshi Kimura
23ff300256 Bug 925599 - Replace WinUtils::GetWindowsVersion() and GetWindowsServicePackVersion(). r=jimm 2013-11-22 12:35:42 +09:00
Birunthan Mohanathas
58a91e67d8 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-11-11 14:17:14 -05:00
Jim Mathies
169a6e38df Bug 907635 - Move metro utils logging functions over to WinUtils. r=masayuki 2013-11-01 05:09:32 -05:00
Birunthan Mohanathas
f81c607b06 Bug 784739 - Switch from NULL to nullptr in widget/windows/ (3/3); r=ehsan
--HG--
extra : rebase_source : 5a2dc4df44ee396890b8b448580d4a04a4999899
2013-10-08 14:48:34 -04:00
Ehsan Akhgari
b6bef348c1 Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Masayuki Nakano
648570f10b Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Benoit Jacob
e290c5a16a Bug 919219 - fix the windows build - no review, bustage CLOSED TREE 2013-09-24 17:50:37 -04:00
Benoit Jacob
c1d7f88886 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Benoit Jacob
f9813a5b18 Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-19 09:54:39 -04:00
Wes Kocher
508c0eaa0a Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE 2013-09-18 17:21:02 -07:00
Benoit Jacob
5bf87f575b Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Avi Halachmi
9bf357041e Bug 906350 - LoadLibraryW(kDwmLibraryName) should check non 0 rather than >31. r=roc 2013-08-25 23:18:46 +03:00
Robert O'Callahan
aa4ceab34d 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
c6aa3d174a Bug 900875. Part 1: Move DWM APIs to WinUtils. r=avih 2013-08-15 16:25:12 +12:00
Jim Mathies
56c162fa76 Bug 879562 - Convert WinUtils::GetNSWindowPtr to WinUtils::GetNSWindowBasePtr. r=masayuki 2013-08-09 05:12:38 -05:00
Nicholas Cameron
c2432afc85 Bug 896896. Use MsgWaitForMultipleObjectsEx instead of WaitMessage. r=roc
--HG--
extra : rebase_source : 4e63339d0aa2ca732c1d12c4abcf891b70ee0056
2013-07-31 08:51:45 +12:00
Joshua Cranmer
4c0a3ad9a6 Bug 884061 - Part 3x: Use NS_DECL_THREADSAFE_ISUPPORTS in widget/, r=jimm
--HG--
extra : rebase_source : 9e6f7d33802b3f8698616fa6f68c8500f275ae9c
2013-07-18 21:24:15 -05:00
Masayuki Nakano
14784660ce Bug 855975 part.22 Move sModifierKeyMap from nsWindowDefs.h to KeyboardLayout.h r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
838fa772a2 Bug 855975 part.19 Move nsWindow::SynthesizeNativeKeyEvent() to widget::KeyboardLayout::SynthesizeNativeKeyEvent() r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
e4d4596767 Bug 855975 part.17 Move nsWindow::OnKeyDown() to widget::NativeKey::HandleKeyDownMessage() r=jimm 2013-05-29 15:34:49 +09:00
Masayuki Nakano
c8623ab9ad 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
6fec3659b8 Bug 875609 - Refactor jump list code to decode images on the main thread. r=jimm 2013-05-28 14:08:48 -04:00
Chris Pearce
cdcda30e31 Bug 852915 - Disable MP3 playback using WMF on Win7SP0 to prevent random crashes. r=bbondy 2013-04-19 14:54:26 +12:00
Phil Ringnalda
d0b651a807 Back out 248daf8c6362 (bug 852915) for Win7 mochitest-1 orange 2013-04-17 23:23:33 -07:00
Chris Pearce
d657cc74b8 Bug 852915 - Disable MP3 playback using WMF on Win7SP0 to prevent random crashes. r=bbondy 2013-04-18 16:38:14 +12:00
Masayuki Nakano
a6dd7e160f Bug 807241 Use ITfMessagePump and ITfKeystrokeMgr r=jimm 2013-03-18 13:41:24 +09:00
Jim Mathies
7cf94b82a8 Bug 658829 part 1 - preliminary cleanup r=bbondy
--HG--
extra : rebase_source : d2c506e0a64a4686dbf7d18b2c89bafcd83ea015
2013-02-25 00:16:02 +00:00