Commit Graph

44 Commits

Author SHA1 Message Date
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
Marco Bonardo
ca207d0361 Bug 799609 - Disable Places in B2G - Part 3 - Allow widget to be built without Places
r=jimm
2012-11-09 10:55:56 +01:00
Ehsan Akhgari
ac35497057 Bug 579517 follow-up: Remove NSPR types that crept in 2012-11-07 20:34:50 -05:00
Jim Mathies
f05e018ad8 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
Andrew Quartey
549c0bfc08 Bug 792581 - part 22: Replace LL_ZERO and LL_Zero() macros with 0. r=ehsan 2012-10-25 19:25:59 -04:00
Jacek Caban
fd1f77a22f 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
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
0fd9123eac 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
Honza Bambas
541453729c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Parth Mudgal
d726239623 Bug 753021 - Favicon shortcuts should be centered with a white background. r=bbondy 2012-07-21 16:07:30 -04:00
Parth Mudgal
b77a37fb02 Bug 110894 - Use favicons on webpage shortcuts in Windows. r=bbondy 2012-07-21 16:07:26 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Matt Brubeck
3e24a1e507 Back out bug 373266 because of mochitest leaks 2012-03-07 17:15:57 -08:00
Jim Mathies
6647675fdb Bug 373266 - win support for rendering two layer themes on widgets. r=joe,bbondy 2012-03-07 09:29:42 -06:00
Masayuki Nakano
bd3b76da6b Bug 672175 part.4 Move HasRegistryKey() in nsWindow.cpp to WinUtils r=jimm 2012-03-06 12:20:28 +09:00
Jim Mathies
6c9686107d Bug 718374 - File picker support for choosing Win7 library default folders, and strip sdk ifdefing junk. r=neil 2012-02-16 18:36:04 -06:00
Masayuki Nakano
ecb8f8c2ac Bug 716819 Move nsToolkit::VistaCreateItemFromParsingNameInit() and nsToolkit::createItemFromParsingName to WinUtils r=jimm 2012-01-11 11:09:41 +09:00
Masayuki Nakano
9b37004ef6 Bug 712483 Implement mozilla::widget::WinUtils r=jimm 2012-01-04 19:21:44 +09:00