Commit Graph

316 Commits

Author SHA1 Message Date
Makoto Kato
ad584ba1ae Bug 996493 - Implement MaxTouchPoints for Windows widget. r=jimm 2014-05-14 19:05:34 +09:00
Aaron Klotz
1163dc12c4 Bug 1006765: Ensure that Win32 widget handles terminal services messages; r=jimm
--HG--
extra : rebase_source : a25ad41fb20aa3b52207a78f42d51fb870246bf4
2014-05-12 13:30:31 -06:00
Masayuki Nakano
beeb960987 Bug 1008723 Even while a context menu is open for an bookmark item on a popup, bookmark menus shouldn't be closed by a right click on one of them r=enndeakin 2014-05-13 02:05:56 +09:00
Tim Abraldes
dd9e44d582 bug 981569. Don't ever remove our custom "is the window active" property. When switching from custom non-client margins to default non-client margins, send a WM_NCACTIVATE message so that DefWindowProc knows the correct active/inactive state of the window. r=blassey 2014-04-15 11:09:27 -07:00
Masatoshi Kimura
69d2e3f313 Bug 986347 - Restore accidentaly removed HasBogusPopupsDropShadowOnMultiMonitor() call. r=jimm 2014-03-25 21:09:25 +09:00
Neil Deakin
5bca1a23ba Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn 2014-03-19 12:48:08 -04:00
Matt Woodrow
9d8f118d8d Bug 982812 - Use UpdateThemeGeometry for windows region clearing. r=mstange 2014-03-17 16:42:48 +08:00
Masayuki Nakano
6461de2a4d Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
Makoto Kato
2c28941ccb Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Makoto Kato
943de92ef1 Backed out changeset fad708985071 (bug 968647) 2014-03-03 11:53:36 +09:00
Makoto Kato
ca435072ea Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Carsten "Tomcat" Book
99ae76e71d Backed out changeset 743fb3c48ed7 (bug 968647) 2014-02-28 09:30:01 +01:00
Makoto Kato
32baf5f742 Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Oleg Romashin
190736ec59 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
Masayuki Nakano
f241d9bab3 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
a5ad7181a3 Bug 971489 Simplify constructor of WidgetSimpleGestureEvent r=smaug 2014-02-15 10:06:06 +09:00
Bill McCloskey
414cc1efff Bug 963952 - [e10s] Don't use basic compositor when using D3D11 compositor (r=mattwoodrow) 2014-02-13 08:53:50 -08:00
Bas Schouten
22ff6636d9 Bug 806406: Remove some lingering references to gfxD2DSurface. r=jrmuizel 2014-02-13 02:59:12 +01:00
Bas Schouten
3674e63b9e Bug 805406: Never draw directly to a window with Direct2D. r=jrmuizel 2014-02-11 21:54:02 +01:00
Ehsan Akhgari
4d41b3c46d 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
a9b634abf6 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
6dfcd758e9 backout 82937be94f94 due to bustage. 2014-02-05 06:18:43 -06:00
Jim Mathies
eedfc8d406 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
ee782b7b75 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
cd30a9b12b 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
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