Commit Graph

302 Commits

Author SHA1 Message Date
Masayuki Nakano
0e922aada3 Bug 965685 Use IMENotification struct for nsIWidget::NotifyIME() and merge NotifyIMEOfTextChange() with it r=smaug, sr=roc 2014-02-18 09:00:15 +09:00
Masayuki Nakano
f3b647e533 Bug 971489 Simplify constructor of WidgetSimpleGestureEvent r=smaug 2014-02-15 10:06:06 +09:00
Bill McCloskey
785a0402ee Bug 963952 - [e10s] Don't use basic compositor when using D3D11 compositor (r=mattwoodrow) 2014-02-13 08:53:50 -08:00
Bas Schouten
b26e16149d Bug 806406: Remove some lingering references to gfxD2DSurface. r=jrmuizel 2014-02-13 02:59:12 +01:00
Bas Schouten
e28ffc4396 Bug 805406: Never draw directly to a window with Direct2D. r=jrmuizel 2014-02-11 21:54:02 +01: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
Jim Mathies
674ffc0b74 Bug 819613 - Move app command code to nsWindowBase so it can be shared between win32 and metro widgets (plus missing include fix). r=tabraldes 2014-02-05 09:36:59 -06:00
Jim Mathies
de69b19959 backout 82937be94f94 due to bustage. 2014-02-05 06:18:43 -06:00
Jim Mathies
cee4f77e4b Bug 819613 - Move app command code to nsWindowBase so it can be shared between win32 and metro widgets. r=tabraldes 2014-02-05 05:49:49 -06:00
Neil Deakin
6c8876f120 Bug 943759, [Australis], support mousethrough on panels to allow mouse events to pass through to the content behind, implemented on Windows, Mac and Linux, use this for the UI tour highlight, r=neil,jmathies,karlt 2014-01-31 08:27:43 -05:00
Olli Pettay
d4a55513b7 Backout Bug 930793 - Remove favor performance mode (we have still racy b2g tests), a=backout
--HG--
extra : rebase_source : 6f6de1cbf54670d63b74c44ca0134ed9c5354d2b
2014-01-30 21:35:44 -08:00
Benoit Jacob
67a17b1047 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
93826fc6b0 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
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
Olli Pettay
63f95f00c7 Bug 930793 - Remove favor performance mode, r=roc,avih
--HG--
extra : rebase_source : e936e5b02dc2e613816fb6f97f9af5a303dc6f6d
2014-01-16 16:09:08 +02:00
Masayuki Nakano
159c40ebd0 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
1ec9998ed1 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
ebd358dfd7 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
b56da906b6 Bug 953146 part.6 Clean up WM_MOUSEACTIVE case in nsWindow::ProcessMessage() r=jimm 2013-12-31 09:41:37 +09:00
Masayuki Nakano
a2cf506691 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
c8a2fa3f7e Bug 953146 part.4 Separate counting pupups to rollup from nsWindow::DealWithPopups() r=jimm 2013-12-31 09:41:37 +09:00
Masayuki Nakano
7f7be1c0ee 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
e94db6a074 Bug 953146 part.2 Remove unnecessary code from nsWindow::DealWithPopups() r=jimm 2013-12-31 09:41:36 +09:00
Masayuki Nakano
09f02cdc65 Bug 953146 part.1 Clean up nsWindow::DealWithPopups() r=jimm 2013-12-31 09:41:35 +09:00
Jim Mathies
d85f619b11 Bug 941774 - Centralize various dpi related queries on Windows. r=bbondy 2013-12-14 14:40:55 -06:00
Stephen Pohl
86c48b96b8 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
8986c76fb3 Bug 946532. Setup translucent window drawing properly with OMTC. r=dvander, mattwoodrow 2013-12-09 17:44:57 +13:00
Birunthan Mohanathas
2a97f4dc0d Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Phil Ringnalda
9c9133624d Back out ebc291b18b35:eaf6e83e80fe (bug 946532) for non-unified Windows bustage
CLOSED TREE
2013-12-08 15:24:42 -08:00
Nicholas Cameron
41b1ad4003 Fix asserts which were broken in bug 946532, which was r=mattwoodrow,dvander btw 2013-12-09 10:31:13 +13:00
Nicholas Cameron
71f949fbcc Bug 946532. Fix crash on startup with basic compositor and d2d. r= 2013-12-09 09:47:57 +13:00
Nicholas Cameron
af737c7dda Bug 943204. Don't use HWA compositors for transparent windows. r=mattwoodrow 2013-12-04 11:56:12 +13:00
Nicholas Cameron
b191c2c20d Bug 943204. Fix transparent windows with the basic compositor. r=dvander 2013-12-04 11:56:11 +13: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
Brian R. Bondy
e872be6568 Bug 935178 - Support broadcast message for switching between Metro and Desktop. r=jimm 2013-11-19 16:38:39 -05:00
Nicolas Silva
532313927f Bug 924403 - Send non-OMTC GL layers into oblivion. r=nrc 2013-11-27 11:15:17 +13:00
Nicholas Cameron
418760396b Bug 942649. Remove a duplicate call to CreateCompositor. r=mattwoodrow 2013-11-25 20:07:31 +13:00
Masatoshi Kimura
23ff300256 Bug 925599 - Replace WinUtils::GetWindowsVersion() and GetWindowsServicePackVersion(). r=jimm 2013-11-22 12:35:42 +09:00
Neil Deakin
03d731b742 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
169a6e38df Bug 907635 - Move metro utils logging functions over to WinUtils. r=masayuki 2013-11-01 05:09:32 -05:00
Jim Mathies
6f1261f4e1 Bug 930177 - Consolidate async scroll event handling with keyboard handling. r=tabraldes 2013-10-24 16:35:07 -05:00
Masayuki Nakano
6d0b7bb736 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
6559234e89 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
117b70ba72 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
40483897f3 Bug 920425 part.28 Use mozilla::WidgetEvent::AsMouseEvent() r=smaug 2013-10-22 17:55:20 +09:00
Vladimir Vukicevic
ec836bccf2 b=927727; support OpenGL OMTC layers on Windows; r=bgirard 2013-10-17 00:16:40 -04:00
Masayuki Nakano
eef5eccfeb Bug 920377 part.33 Get rid of mozilla::WheelEvent r=roc 2013-10-16 18:37:36 +09: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
Masayuki Nakano
e46624e0ca Bug 920377 part.32 Get rid of nsMouseEvent r=roc 2013-10-02 15:38:27 +09:00
Masayuki Nakano
d9fe18d02f Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00