Commit Graph

291 Commits

Author SHA1 Message Date
Benoit Jacob
15ef84b8b5 Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob
28ff3ad25f Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
981c6431d3 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
Olli Pettay
9eba76141c Bug 930793 - Remove favor performance mode, r=roc,avih
--HG--
extra : rebase_source : e936e5b02dc2e613816fb6f97f9af5a303dc6f6d
2014-01-16 16:09:08 +02:00
Masayuki Nakano
674853bdcb Bug 957019 Don't check mouse cursor position at handling non-mouse message in nsWindow::DealWithPopups() r=jimm+enndeakin 2014-01-14 09:13:25 +09:00
Masayuki Nakano
bcae30b033 Bug 953146 part.7 Don't allow other application to activate non-focusable popup r=jimm 2014-01-07 13:20:04 +09:00
Ehsan Akhgari
eaa7491d77 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Masayuki Nakano
034c174f65 Bug 953146 part.6 Clean up WM_MOUSEACTIVE case in nsWindow::ProcessMessage() r=jimm 2013-12-31 09:41:37 +09:00
Masayuki Nakano
dbd069b63e Bug 953146 part.5 The switch statement of nsWindow::DealWithPopups() should decide if the popup should be rolled up completely r=jimm 2013-12-31 09:41:37 +09:00
Masayuki Nakano
2badc4b8b4 Bug 953146 part.4 Separate counting pupups to rollup from nsWindow::DealWithPopups() r=jimm 2013-12-31 09:41:37 +09:00
Masayuki Nakano
84a8c95b9e Bug 953146 part.3 nsWindow::DealWithPopups() should decide if popup should be rolled up in each case of messages r=jimm 2013-12-31 09:41:36 +09:00
Masayuki Nakano
7804424dc9 Bug 953146 part.2 Remove unnecessary code from nsWindow::DealWithPopups() r=jimm 2013-12-31 09:41:36 +09:00
Masayuki Nakano
3d5bf2e418 Bug 953146 part.1 Clean up nsWindow::DealWithPopups() r=jimm 2013-12-31 09:41:35 +09:00
Jim Mathies
c4383a34ed Bug 941774 - Centralize various dpi related queries on Windows. r=bbondy 2013-12-14 14:40:55 -06:00
Stephen Pohl
6d0cd970e0 Bug 940677 - Add pref to enable auto switching between Desktop/Metro for Laptop/Slates. r=bbondy 2013-12-10 12:53:59 -05:00
Nicholas Cameron
2ebff1a590 Bug 946532. Setup translucent window drawing properly with OMTC. r=dvander, mattwoodrow 2013-12-09 17:44:57 +13:00
Birunthan Mohanathas
bd0f161288 Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Phil Ringnalda
d395ad16b7 Back out ebc291b18b35:eaf6e83e80fe (bug 946532) for non-unified Windows bustage
CLOSED TREE
2013-12-08 15:24:42 -08:00
Nicholas Cameron
82ad1038a7 Fix asserts which were broken in bug 946532, which was r=mattwoodrow,dvander btw 2013-12-09 10:31:13 +13:00
Nicholas Cameron
1f1e8370e8 Bug 946532. Fix crash on startup with basic compositor and d2d. r= 2013-12-09 09:47:57 +13:00
Nicholas Cameron
c4018fb9e7 Bug 943204. Don't use HWA compositors for transparent windows. r=mattwoodrow 2013-12-04 11:56:12 +13:00
Nicholas Cameron
8224c8771b Bug 943204. Fix transparent windows with the basic compositor. r=dvander 2013-12-04 11:56:11 +13:00
Jacek Caban
e0cf7e59b7 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
Brian R. Bondy
f7fc7a91cf Bug 935178 - Support broadcast message for switching between Metro and Desktop. r=jimm 2013-11-19 16:38:39 -05:00
Nicolas Silva
fd65e156ab Bug 924403 - Send non-OMTC GL layers into oblivion. r=nrc 2013-11-27 11:15:17 +13:00
Nicholas Cameron
24a123c2c0 Bug 942649. Remove a duplicate call to CreateCompositor. r=mattwoodrow 2013-11-25 20:07:31 +13:00
Masatoshi Kimura
aec068d530 Bug 925599 - Replace WinUtils::GetWindowsVersion() and GetWindowsServicePackVersion(). r=jimm 2013-11-22 12:35:42 +09:00
Neil Deakin
c7870ca9ad Bug 596723, Don't consume clicks outside of arrow panels by default, always consume the clicks on anchors of all popups, r=dao,neil 2013-11-04 11:22:24 -05:00
Jim Mathies
54dfb75273 Bug 907635 - Move metro utils logging functions over to WinUtils. r=masayuki 2013-11-01 05:09:32 -05:00
Jim Mathies
3a1baeb713 Bug 930177 - Consolidate async scroll event handling with keyboard handling. r=tabraldes 2013-10-24 16:35:07 -05:00
Masayuki Nakano
1a43d71f3d Bug 602787 part.8 Don't implement nsWindowBase::DispatchPluginEvent() in windows/nsWindowBase.h r=jimm 2013-10-22 22:27:35 +09:00
Wes Kocher
8c3f67ddfc Backed out 9 changesets (bug 602787) on suspicion of breaking mochitest-metro on a CLOSED TREE
Backed out changeset 1730bcae2c45 (bug 602787)
Backed out changeset 70606b9b1e42 (bug 602787)
Backed out changeset 57ca2861ea30 (bug 602787)
Backed out changeset 3b9f1062d915 (bug 602787)
Backed out changeset 3ee56eacc84b (bug 602787)
Backed out changeset 1c35693be3d3 (bug 602787)
Backed out changeset ef095c3aef98 (bug 602787)
Backed out changeset 4827bdae97fd (bug 602787)
Backed out changeset fa0f355e7871 (bug 602787)
2013-10-22 13:11:53 -04:00
Masayuki Nakano
b251169d52 Bug 602787 part.8 Don't implement nsWindowBase::DispatchPluginEvent() in windows/nsWindowBase.h r=jimm 2013-10-22 22:27:35 +09:00
Masayuki Nakano
ef895616c5 Bug 920425 part.28 Use mozilla::WidgetEvent::AsMouseEvent() r=smaug 2013-10-22 17:55:20 +09:00
Vladimir Vukicevic
d2538a4815 b=927727; support OpenGL OMTC layers on Windows; r=bgirard 2013-10-17 00:16:40 -04:00
Masayuki Nakano
6931c6e1e5 Bug 920377 part.33 Get rid of mozilla::WheelEvent r=roc 2013-10-16 18:37:36 +09:00
Birunthan Mohanathas
4c1faddf9d 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
Masayuki Nakano
b266c80d36 Bug 920377 part.32 Get rid of nsMouseEvent r=roc 2013-10-02 15:38:27 +09:00
Masayuki Nakano
096a701901 Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
David Anderson
8cd94ee096 Combine AsyncChannel, SyncChannel, and RPCChannel into one class (bug 901789, r=cjones,bent).
--HG--
rename : ipc/glue/RPCChannel.cpp => ipc/glue/MessageChannel.cpp
rename : ipc/glue/RPCChannel.h => ipc/glue/MessageChannel.h
2013-09-27 18:42:08 -07:00
Birunthan Mohanathas
04fa266c36 Bug 783333 - Use WM_WINDOWPOSCHANGING instead of WM_MOVE to handle window moves in nsWindow. r=jimm 2013-09-27 14:46:59 -04:00
Masayuki Nakano
e3ab617d31 Bug 920377 part.15 Get rid of nsGestureNotifyEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano
b02623b48f Bug 920377 part.14 Get rid of nsSimpleGestureEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano
da7066887d Bug 920377 part.13 Get rid of nsTouchEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano
3d0f63c0e7 Bug 920377 part.4 Get rid of nsContentCommandEvent r=roc 2013-09-27 15:20:54 +09:00
Masayuki Nakano
2de3459e45 Bug 920377 part.3 Get rid of nsCommandEvent r=roc 2013-09-27 15:20:54 +09:00
Masayuki Nakano
ee772d1cbc Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Masayuki Nakano
38b1de7ee7 Bug 912956 part.16 mozilla/MiscEvents.h should be included directly r=roc 2013-09-25 20:21:20 +09:00
Masayuki Nakano
715f30b959 Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc 2013-09-25 20:21:18 +09:00
Masayuki Nakano
a362049807 Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc 2013-09-25 20:21:16 +09:00