Commit Graph

76 Commits

Author SHA1 Message Date
Masayuki Nakano
ee37e9f481 Bug 939006 part.1 Sort out key names in Modifier Keys section r=smaug 2014-06-04 21:43:42 +09:00
Masayuki Nakano
dc1f8cc2f6 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
0fb6924886 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
bac7425e13 Bug 865649 part.4 Set KeyboardEvent.code value on Linux r=smaug+karlt+romaxa 2014-05-25 11:09:00 +09:00
Masayuki Nakano
465b11e80f Bug 865649 part.3 Set KeyboardEvent.code value on Mac r=smaug+smichaud 2014-05-25 11:08:59 +09:00
Masayuki Nakano
a699e5cbbf Bug 865649 part.2 Set KeyboardEvent.code value on Windows r=smaug+jimm 2014-05-25 11:08:59 +09:00
Masayuki Nakano
aa909719cd Bug 865649 part.1 Implement KeyboardEvent.code r=smaug 2014-05-25 11:08:58 +09:00
Masayuki Nakano
01e56a0150 Bug 1009388 part.1 Support getModifierState("Accel") r=smaug 2014-05-22 13:06:05 +09:00
George Wright
00dca54704 Bug 994938 - Support ARGB32 in nsShmImagee r=jrmuizel 2014-04-10 16:51:59 -04:00
Masayuki Nakano
614e03df2e 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
f6885469a0 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
5c2e9920b9 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
2778cc48dc 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
e88d76a23b 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
8b54bec8cc Bug 974335 - Refactor Qt Widget Backend implementation. Shared Widget part . r=doug 2014-02-20 18:08:53 -08:00
Benoit Jacob
ed427f9600 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
e5ed95579b 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
9950acfd20 Bug 962119 - fix offset table for GetDOMKeyName; r=masayuki 2014-01-21 11:41:24 -05:00
Nathan Froyd
7cc4b6c4c7 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
1b83407ce9 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
47e89f5bad 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
Masayuki Nakano
d7fcc64c1e Bug 946044 Handle context menu key of PC keyboard on Mac r=smichaud 2013-12-06 12:16:55 +09:00
Daniel Holbert
5bcd244d0b Bug 945060: Mark widget/shared as FAIL_ON_WARNINGS. r=roc 2013-12-01 19:05:18 -08:00
Oleg Romashin
ea72fc5f00 Bug 822898 - Implement pointer events. Basic handling of Pointer Events. r=smaug 2013-11-20 21:44:31 -08:00
Oleg Romashin
117dfcdce3 Backed out 3 changesets (bug 822898) for mochitest bustage on B2G ICS emulator 2013-11-20 16:08:36 -08:00
Oleg Romashin
a5f7d3c425 Bug 822898 - Implement pointer events. Basic handling of Pointer Events. r=smaug 2013-11-20 13:05:41 -08:00
Mike Hommey
2812d11fce Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Chris Peterson
abe2ff1401 Bug 939572 - Build widget/cocoa in unified mode. r=josh 2013-11-16 23:27:11 -08:00
Ehsan Akhgari
96c519ebd6 Bug 938134 - Build widget/xpwidgets in unified mode; r=roc
--HG--
rename : widget/shared/WidgetUtils.cpp => widget/shared/SharedWidgetUtils.cpp
2013-11-17 14:03:55 -05:00
Masayuki Nakano
4c99fde530 Bug 930855 Replace WidgetEvent::Is*EventDerivedClass() with WidgetEvent::As*Event() r=smaug 2013-10-29 13:14:42 +09:00
Birunthan Mohanathas
28ba747e91 Bug 784739 - Switch from NULL to nullptr in widget/; r=ehsan 2013-10-28 10:05:51 -04:00
Masayuki Nakano
ce970f41ff Bug 930860 Move IsLeftClickEvent() and IsContextMenuKeyEvent() from WidgetEvent to WidgetMouseEvent(Base) r=smaug 2013-10-28 18:03:19 +09:00
Mike Hommey
b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Brian O'Keefe
9c9d71fddb Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey
59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Masayuki Nakano
113d2cb05c Bug 920425 part.2 Implement mozilla::WidgetEvent::As*Event() methods r=roc 2013-10-18 15:10:20 +09:00
Masayuki Nakano
015140fe0d Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc 2013-09-25 20:21:19 +09:00
Benoit Jacob
eb8b1d73bb Bug 913872 - Take nested enums out of gfxASurface - 3/3 : remove the now-useless inclusions of gfxASurface.h - r=jrmuizel 2013-09-24 16:45:14 -04:00
Benoit Jacob
55d6cf1e20 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Benoit Jacob
0bda204d81 Bug 919219 - Trim gfxASurface more - r=jrmuizel 2013-09-24 16:45:13 -04:00
Masayuki Nakano
c28e4cad25 Bug 912956 part.12 All event utils (macros and inline methods) should be methods of mozilla::WidgetEvent r=roc 2013-09-24 19:04:16 +09:00
Masayuki Nakano
0fbfe07d7e Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Brian O'Keefe
d118b95a0d Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Ms2ger
04a948975a Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal 2013-08-22 08:56:02 +02:00
Ms2ger
3a103a7e9f Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium 2013-08-22 08:56:01 +02:00
Brian O'Keefe
61565e4086 Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00