Commit Graph

329 Commits

Author SHA1 Message Date
Bill McCloskey
a83b99df4a Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke) 2014-08-05 21:43:36 -07:00
Masayuki Nakano
29bd521c18 Bug 1046101 part.11 Rename NS_MOUSE_EVENT to eMouseEventClass r=smaug 2014-08-04 14:28:50 +09:00
Masayuki Nakano
77d7a1ac4b Bug 1046101 part.1 Rename nsEventStructType to mozilla::EventClassID r=smaug 2014-08-04 14:28:46 +09:00
Bill McCloskey
71fa364cba Back out bug 950745 for crashes 2014-07-30 16:19:46 -07:00
Benoit Jacob
97177c7e3d Bug 586656 - Serialize external "pluginEvent" structs in WidgetGUIEvent so that plugin events work in e10s - r=masayuki,jimm 2014-07-23 15:55:51 -04:00
Bill McCloskey
f021e199b6 Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke) 2014-07-17 21:09:45 -07:00
Walter Litwinczyk
324cfd1c23 Bug 701948 - Rename nsIGfxInfo::FEATURE_NO_INFO to nsIGfxInfo::FEATURE_STATUS_OK. r=jgilbert 2014-07-01 14:44:09 -07:00
Brian Birtles
66f12612db Bug 77992 part 1.2 - Fix a bug in Windows timestamp calculations; r=karlt 2014-06-18 08:58:25 +09:00
Jonathan Watt
3f8a3e0513 Bug 1023522 - Get rid of the remaining Thebes backed gfxContexts in the Windows widget code. r=mattwoodrow 2014-06-11 10:38:44 +01:00
Jonathan Watt
5ed095fa50 Bug 991640 - Get rid of nsIWidget::GetThebesSurface and a bunch of Thebes backed gfxContexts. r=mattwoodrow 2014-06-10 07:02:21 +01:00
Brian Birtles
0744bdd75a Bug 77992 part 1.1 - Convert Windows native event times to timestamps; r=masayuki 2014-06-06 14:29:49 +09:00
Jacek Caban
c5a5468649 Bug 1005619 - Fixed parse error on GCC.
--HG--
extra : rebase_source : b8b2b6bd4c4425b423a04b28b509857b899b4703
2014-06-03 13:25:21 +02:00
Masatoshi Kimura
fb28c1c0e5 Bug 1005619 - Part 3: Implement GetRestoredBounds on Windows. r=jimm 2014-05-20 16:32:18 +09:00
Makoto Kato
603077a571 Bug 996493 - Implement MaxTouchPoints for Windows widget. r=jimm 2014-05-14 19:05:34 +09:00
Aaron Klotz
ab1ec3649a 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
f2dc7d48e5 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
5b3ec084f3 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
a8d25bda87 Bug 986347 - Restore accidentaly removed HasBogusPopupsDropShadowOnMultiMonitor() call. r=jimm 2014-03-25 21:09:25 +09:00
Neil Deakin
54fd69f1a7 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
007105ff82 Bug 982812 - Use UpdateThemeGeometry for windows region clearing. r=mstange 2014-03-17 16:42:48 +08:00
Masayuki Nakano
a7a5e56dd5 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
1e3167927c Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Makoto Kato
94e82b6d5e Backed out changeset fad708985071 (bug 968647) 2014-03-03 11:53:36 +09:00
Makoto Kato
5a98fb8f83 Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Carsten "Tomcat" Book
152bca780f Backed out changeset 743fb3c48ed7 (bug 968647) 2014-02-28 09:30:01 +01:00
Makoto Kato
2d8a640b28 Bug 968647 - Part 2. Listen window position change for IME. r=roc 2014-02-28 16:45:08 +09:00
Oleg Romashin
add07fba1a 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
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