Commit Graph

460 Commits

Author SHA1 Message Date
Matt Woodrow
543350988c Bug 982812 - Use UpdateThemeGeometry for windows region clearing. r=mstange 2014-03-17 16:42:48 +08:00
Masayuki Nakano
e8acfb8a92 Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug 2014-03-17 15:56:53 +09:00
Makoto Kato
031b7b2318 Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Makoto Kato
829d10c0ed Backed out changeset fad708985071 (bug 968647) 2014-03-03 11:53:36 +09:00
Makoto Kato
9cf7cc066d Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Carsten "Tomcat" Book
90786234be Backed out changeset 743fb3c48ed7 (bug 968647) 2014-02-28 09:30:01 +01:00
Makoto Kato
00a4697c50 Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Oleg Romashin
3e4b7c7eb5 Bug 970964 - Implement generic mouse/touch -> Pointer events converter. r=smaug,jimm 2014-02-26 13:37:01 -08:00
Masayuki Nakano
fa8d4547e8 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
c779726813 Bug 971489 Simplify constructor of WidgetSimpleGestureEvent r=smaug 2014-02-15 10:06:06 +09:00
Bill McCloskey
dd0fa98cbb Bug 963952 - [e10s] Don't use basic compositor when using D3D11 compositor (r=mattwoodrow) 2014-02-13 08:53:50 -08:00
Bas Schouten
07ac7c771a Bug 806406: Remove some lingering references to gfxD2DSurface. r=jrmuizel 2014-02-13 02:59:12 +01:00
Bas Schouten
4f9680c98a Bug 805406: Never draw directly to a window with Direct2D. r=jrmuizel 2014-02-11 21:54:02 +01:00
Ehsan Akhgari
cfde1d4759 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
bb0feafab2 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
77a0dda3bf backout 82937be94f94 due to bustage. 2014-02-05 06:18:43 -06:00
Jim Mathies
0877b1d1ef 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
b313311aef 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
01fa7e9f98 Backout Bug 930793 - Remove favor performance mode (we have still racy b2g tests), a=backout 2014-01-30 21:35:44 -08:00
Benoit Jacob
49238a878d 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
aeb3bee922 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
844232d97c 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
0d7e2d8fca Bug 930793 - Remove favor performance mode, r=roc,avih 2014-01-16 16:09:08 +02:00
Masayuki Nakano
a7d613c53f 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
5582e20c22 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
68bfe70f09 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
537f620a00 Bug 953146 part.6 Clean up WM_MOUSEACTIVE case in nsWindow::ProcessMessage() r=jimm 2013-12-31 09:41:37 +09:00
Masayuki Nakano
53397db0d4 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
858fa07f58 Bug 953146 part.4 Separate counting pupups to rollup from nsWindow::DealWithPopups() r=jimm 2013-12-31 09:41:37 +09:00
Masayuki Nakano
608fde9aea 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
c559902b51 Bug 953146 part.2 Remove unnecessary code from nsWindow::DealWithPopups() r=jimm 2013-12-31 09:41:36 +09:00
Masayuki Nakano
6163ead273 Bug 953146 part.1 Clean up nsWindow::DealWithPopups() r=jimm 2013-12-31 09:41:35 +09: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
e414f0d413 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
7ea831ebf2 Bug 946532. Setup translucent window drawing properly with OMTC. r=dvander, mattwoodrow 2013-12-09 17:44:57 +13:00
Birunthan Mohanathas
c04d0ff563 Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Phil Ringnalda
38d3e461a7 Back out ebc291b18b35:eaf6e83e80fe (bug 946532) for non-unified Windows bustage
CLOSED TREE
2013-12-08 15:24:42 -08:00
Nicholas Cameron
9fc67815ff Fix asserts which were broken in bug 946532, which was r=mattwoodrow,dvander btw 2013-12-09 10:31:13 +13:00
Nicholas Cameron
c81a6ce2d2 Bug 946532. Fix crash on startup with basic compositor and d2d. r= 2013-12-09 09:47:57 +13:00
Nicholas Cameron
dba2cb53e0 Bug 943204. Don't use HWA compositors for transparent windows. r=mattwoodrow 2013-12-04 11:56:12 +13:00
Nicholas Cameron
72d7cb4faf Bug 943204. Fix transparent windows with the basic compositor. r=dvander 2013-12-04 11:56:11 +13: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
Brian R. Bondy
02dc73cec9 Bug 935178 - Support broadcast message for switching between Metro and Desktop. r=jimm 2013-11-19 16:38:39 -05:00
Nicolas Silva
6340c340a4 Bug 924403 - Send non-OMTC GL layers into oblivion. r=nrc 2013-11-27 11:15:17 +13:00
Nicholas Cameron
a3b31e62e5 Bug 942649. Remove a duplicate call to CreateCompositor. r=mattwoodrow 2013-11-25 20:07:31 +13:00
Masatoshi Kimura
a39c875384 Bug 925599 - Replace WinUtils::GetWindowsVersion() and GetWindowsServicePackVersion(). r=jimm 2013-11-22 12:35:42 +09:00
Neil Deakin
a2576ac5b0 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
98724d6065 Bug 907635 - Move metro utils logging functions over to WinUtils. r=masayuki 2013-11-01 05:09:32 -05:00
Jim Mathies
7e6bb5f5e8 Bug 930177 - Consolidate async scroll event handling with keyboard handling. r=tabraldes 2013-10-24 16:35:07 -05:00
Masayuki Nakano
545f36a759 Bug 602787 part.8 Don't implement nsWindowBase::DispatchPluginEvent() in windows/nsWindowBase.h r=jimm 2013-10-22 22:27:35 +09:00