Commit Graph

105 Commits

Author SHA1 Message Date
Ryan VanderMeulen
77e8bee35e Backed out 6 changesets (bug 989198, bug 1082963) for causing bug 1083231.
Backed out changeset a7c972407578 (bug 1082963)
Backed out changeset 94d1b30bde00 (bug 989198)
Backed out changeset 01e064ceb505 (bug 989198)
Backed out changeset f5a538109e36 (bug 989198)
Backed out changeset 3ff227d79d74 (bug 989198)
Backed out changeset 186743fc6f6d (bug 989198)

CLOSED TREE
2014-10-16 12:57:18 -04:00
Gina Yeh
471476102e Bug 989198, Patch 1: Implementation of InternalBeforeAfterKeyboardEvent, r=smaug,masayuki
---
 widget/BasicEvents.h              |    5 +++
 widget/EventClassList.h           |    1 +
 widget/TextEvents.h               |   72 +++++++++++++++++++++++++++++++++++--
 widget/nsGUIEventIPC.h            |   31 ++++++++++++++++
 widget/shared/WidgetEventImpl.cpp |    4 +++
 5 files changed, 111 insertions(+), 2 deletions(-)
2014-10-14 15:09:15 +08:00
Masayuki Nakano
20ded1179a Bug 960871 part.4 Rename NS_TEXT_TEXT to NS_COMPOSITION_CHANGE and fix comments which mention text events r=smaug 2014-10-07 19:01:47 +09:00
Masayuki Nakano
dbb2618438 Bug 1046101 part.30 Rename NS_PLUGIN_COMMAND_EVENT to ePluginEventClass r=smaug 2014-08-04 14:28:57 +09:00
Masayuki Nakano
3468c847e3 Bug 1046101 part.29 Rename NS_CONTENT_COMMAND_EVENT to eContentCommandEventClass r=smaug 2014-08-04 14:28:56 +09:00
Masayuki Nakano
29273d4088 Bug 1046101 part.15 Rename NS_POINTER_EVENT to ePointerEventClass r=smaug 2014-08-04 14:28:52 +09:00
Masayuki Nakano
c19caaece3 Bug 1046101 part.14 Rename NS_WHEEL_EVENT to eWheelEventClass r=smaug 2014-08-04 14:28:51 +09: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
b46105aba9 Bug 1046101 part.9 Rename NS_SELECTION_EVENT to eSelectionEventClass r=smaug 2014-08-04 14:28:49 +09:00
Masayuki Nakano
b19dd031fd Bug 1046101 part.8 Rename NS_QUERY_CONTENT_EVENT to eQueryContentEventClass r=smaug 2014-08-04 14:28:49 +09:00
Masayuki Nakano
77d7a1ac4b Bug 1046101 part.1 Rename nsEventStructType to mozilla::EventClassID r=smaug 2014-08-04 14:28:46 +09:00
Nathan Froyd
9ea6c585f8 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Mike Hommey
20d181268e Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Frederic Plourde
a213281a74 b=1015218 add pref to remove Xlib offscreen surfaces on GTK3 platform r=karlt
This patch adds a new pref called "layers.use-image-offscreen-surfaces"
that makes GTK3 platform create gfxImageSurfaces for content layers
instead of gfxXlibSurfaces.

--HG--
extra : rebase_source : b803a453bafc70226f3d4c65684618f154147fdb
2014-07-23 11:04:47 +12:00
Mike Hommey
d10b15b035 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Benoit Jacob
f047483d40 Bug 1027251 - Fix or whitelist dangerous public destructors in widget/ - r=roc 2014-06-20 07:08:25 -04:00
Masayuki Nakano
f6bdd74d04 Bug 1025982 Fix the mapping of KeyboardEvent.code value of Digit0 to Digit9 keys on Windows r=jimm 2014-06-17 23:50:11 +09:00
Masayuki Nakano
f81e02b967 Bug 939006 part.13 Sort out deprecated key names r=smaug 2014-06-04 21:43:45 +09:00
Masayuki Nakano
acb7036c31 Bug 939006 part.12 Sort out key names in Media Controller Keys section r=smaug 2014-06-04 21:43:45 +09:00
Masayuki Nakano
a01600fcf4 Bug 939006 part.11 Sort out key names in Browser Keys section r=smaug 2014-06-04 21:43:45 +09:00
Masayuki Nakano
abb4d506c8 Bug 939006 part.10 Sort out key names in Application Keys section r=smaug 2014-06-04 21:43:44 +09:00
Masayuki Nakano
1264041caa Bug 939006 part.9 Sort out key names in Multimedia Keys section r=smaug 2014-06-04 21:43:44 +09:00
Masayuki Nakano
90ca69806a Bug 939006 part.8 Sort out key names in General-Purpose Function Keys section r=smaug 2014-06-04 21:43:44 +09:00
Masayuki Nakano
ba470bcdb7 Bug 939006 part.7 Sort out key names in IME and Composition Keys section r=smaug 2014-06-04 21:43:43 +09:00
Masayuki Nakano
28f4ecf84e Bug 939006 part.6 Sort out key names in Device Keys section r=smaug 2014-06-04 21:43:43 +09:00
Masayuki Nakano
8dc76f899b Bug 939006 part.5 Sort out key names in UI Keys section r=smaug 2014-06-04 21:43:43 +09:00
Masayuki Nakano
1597c0267d Bug 939006 part.4 Sort out key names in Editing Keys section r=smaug 2014-06-04 21:43:43 +09:00
Masayuki Nakano
362d14c490 Bug 939006 part.3 Sort out key names in Navigation Keys section r=smaug 2014-06-04 21:43:42 +09:00
Masayuki Nakano
0516a853ca Bug 939006 part.2 Sort out key names in Whitespace Keys section r=smaug 2014-06-04 21:43:42 +09:00
Masayuki Nakano
8e45de36bf Bug 939006 part.1 Sort out key names in Modifier Keys section r=smaug 2014-06-04 21:43:42 +09:00
Masayuki Nakano
f7ad5f2eba Bug 1015028 Compute scan code value from virtual keycode if a keydown/keyup message doesn't have proper scancode value r=jimm 2014-06-01 11:32:08 +09:00
Masayuki Nakano
dea0fc341d Bug 865649 part.5 Set KeyboardEvent.code value on Android and Gonk r=smaug+nchen+mwu 2014-05-25 11:09:00 +09:00
Masayuki Nakano
4875f7c006 Bug 865649 part.4 Set KeyboardEvent.code value on Linux r=smaug+karlt+romaxa 2014-05-25 11:09:00 +09:00
Masayuki Nakano
0b57b56cb7 Bug 865649 part.3 Set KeyboardEvent.code value on Mac r=smaug+smichaud 2014-05-25 11:08:59 +09:00
Masayuki Nakano
c98f587fde Bug 865649 part.2 Set KeyboardEvent.code value on Windows r=smaug+jimm 2014-05-25 11:08:59 +09:00
Masayuki Nakano
c981e66e2f Bug 865649 part.1 Implement KeyboardEvent.code r=smaug 2014-05-25 11:08:58 +09:00
Masayuki Nakano
728e27ae6c Bug 1009388 part.1 Support getModifierState("Accel") r=smaug 2014-05-22 13:06:05 +09:00
George Wright
3440d2242c Bug 994938 - Support ARGB32 in nsShmImagee r=jrmuizel 2014-04-10 16:51:59 -04:00
Masayuki Nakano
f1f7281fe7 Bug 989213 part.1 Rename nsDOMKeyNameList.h to mozilla/KeyNameList.h r=smaug
--HG--
rename : dom/events/nsDOMKeyNameList.h => dom/events/KeyNameList.h
2014-04-01 20:42:11 +09:00
Masayuki Nakano
bd6decd65b Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Masayuki Nakano
c83bdff42a Bug 964718 Don't dispatch DOM event if internal event doesn't need that. Otherwise, implement Duplicate() method r=smaug 2014-03-27 22:53:19 +09:00
Masayuki Nakano
fd06be64c3 Bug 977959 part.1 Define constants for each command which may be caused by native key bindings r=roc 2014-03-14 22:13:30 +09:00
Masayuki Nakano
a00c4254f3 Bug 975688 part.17 Rename dom/events/MutationEvent.h to dom/Events/InternalMutationEvent.h r=smaug+roc
--HG--
rename : dom/events/MutationEvent.h => dom/events/InternalMutationEvent.h
2014-02-27 19:51:15 +09:00
Oleg Romashin
cdc9691a65 Bug 974335 - Refactor Qt Widget Backend implementation. Shared Widget part . r=doug 2014-02-20 18:08:53 -08:00
Benoit Jacob
3846defaec Bug 959380 - 3/5 - Make gfxSurfaceType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxSurfaceType\(Image\|PDF\|PS\|Xlib\|Xcb\|Glitz\|Quartz\|Win32\|BeOS\|DirectFB\|SVG\|OS2\|Win32Printing\|QuartzImage\|Script\|QPainter\|Recording\|VG\|GL\|DRM\|Tee\|XML\|Skia\|Subsurface\|D2D\|Max\)\($\|[^A-Za-z0-9_]\)/\1gfxSurfaceType::\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
Nathan Froyd
350e356977 Bug 962119 - fix offset table for GetDOMKeyName; r=masayuki 2014-01-21 11:41:24 -05:00
Nathan Froyd
d530ec1b69 Bug 957659 - slim down WidgetKeyboardEvent::GetDOMKeyName; r=masayuki
Instead of calling nsAString::Assign several hundred times along with a
switch statement that may or may not get translated into a jump table,
let's implement our own lookup table that we can guarantee will be
constant time.  The KeyNameTable struct is used instead of the more
obvious |const char* const table[]| idiom to avoid runtime relocations.
2014-01-08 11:45:30 -05: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
cbe6950146 Bug 936318 Remove key names, "Spacebar", "Add", "Decimal", "Divde", "Equals", "Multiply", "Separator" and "Subtract" due to dropped from D3E r=smaug 2013-12-11 01:14:53 +09:00