[EFL] Handling of numeric-pad keys in EFL's PlatformKeyboardEvent
https://bugs.webkit.org/show_bug.cgi?id=85479

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-05-08
Reviewed by Gustavo Noronha Silva.

Source/WebCore:

EFL's PlatformKeyboardEvent::isKeypad() now returns meaningful value.
Added numeric-pad keys to the Key Map and Windows Key Map.

No new tests.

* platform/efl/EflKeyboardUtilities.cpp:
(WebCore::createKeyMap):
(WebCore::createWindowsKeyMap):
* platform/efl/PlatformKeyboardEventEfl.cpp:
(WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):

LayoutTests:

Unskipped fast/events/keydown-numpad-keys.html.

* platform/efl/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116452 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CMake] Rewrite FindGStreamer.cmake.
https://bugs.webkit.org/show_bug.cgi?id=85857

Reviewed by Daniel Bates.

.:

We are currently kind of duplicating the same
FindGStreamer-Foo.cmake file whenever a new GStreamer plugin needs
to be found. Besides this approach not scaling very well, it
relies on pkg-config for version checking, uses the LibFindMacros
package that we should deprecate and all the find files could be
merged into one, with users using the COMPONENTS feature of the
FIND_PACKAGE() call to find the desired plugins.

FindGStreamer.cmake has then been rewritten to take all that into
account:
- The LibFindMacros.cmake package is not used anymore.
- Version check is performed in the CMake file itself by parsing
the gstversion.h header.
- All GStreamer plugins are searched and the COMPONENTS keyword
used in the FIND_PACKAGE() call is used to check which plugins are
required.
- The plugins-base and base GStreamer plugins are not searched, as
they were not used anywhere in the build system.

* Source/cmake/FindGStreamer-App.cmake: Removed.
* Source/cmake/FindGStreamer-Audio.cmake: Removed.
* Source/cmake/FindGStreamer-Base.cmake: Removed.
* Source/cmake/FindGStreamer-FFT.cmake: Removed.
* Source/cmake/FindGStreamer-Interfaces.cmake: Removed.
* Source/cmake/FindGStreamer-Pbutils.cmake: Removed.
* Source/cmake/FindGStreamer-Plugins-Base.cmake: Removed.
* Source/cmake/FindGStreamer-Video.cmake: Removed.
* Source/cmake/FindGStreamer.cmake: Rewrite as described above.
* Source/cmake/OptionsEfl.cmake: Use COMPONENTS to specify which
GStreamer plugins to look for.

Source/WebCore:

No new tests, build system change.

We are currently kind of duplicating the same
FindGStreamer-Foo.cmake file whenever a new GStreamer plugin needs
to be found. Besides this approach not scaling very well, it
relies on pkg-config for version checking, uses the LibFindMacros
package that we should deprecate and all the find files could be
merged into one, with users using the COMPONENTS feature of the
FIND_PACKAGE() call to find the desired plugins.

FindGStreamer.cmake has then been rewritten to take all that into
account:
- The LibFindMacros.cmake package is not used anymore.
- Version check is performed in the CMake file itself by parsing
the gstversion.h header.
- All GStreamer plugins are searched and the COMPONENTS keyword
used in the FIND_PACKAGE() call is used to check which plugins are
required.
- The plugins-base and base GStreamer plugins are not searched, as
they were not used anywhere in the build system.

* PlatformEfl.cmake: Update GStreamer-related variable names.

Source/WebKit:

We are currently kind of duplicating the same
FindGStreamer-Foo.cmake file whenever a new GStreamer plugin needs
to be found. Besides this approach not scaling very well, it
relies on pkg-config for version checking, uses the LibFindMacros
package that we should deprecate and all the find files could be
merged into one, with users using the COMPONENTS feature of the
FIND_PACKAGE() call to find the desired plugins.

FindGStreamer.cmake has then been rewritten to take all that into
account:
- The LibFindMacros.cmake package is not used anymore.
- Version check is performed in the CMake file itself by parsing
the gstversion.h header.
- All GStreamer plugins are searched and the COMPONENTS keyword
used in the FIND_PACKAGE() call is used to check which plugins are
required.
- The plugins-base and base GStreamer plugins are not searched, as
they were not used anywhere in the build system.

* PlatformEfl.cmake: Update GStreamer-related variable names.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116453 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Chromium rebaselines after http://trac.webkit.org/changeset/116438.

* platform/chromium-linux/css2.1/20110323/first-letter-000-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-000-expected.png.
* platform/chromium-linux/css2.1/20110323/first-letter-001-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-001-expected.png.
* platform/chromium-linux/css2.1/20110323/first-letter-dynamic-001-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-001-expected.png.
* platform/chromium-linux/css2.1/20110323/first-letter-dynamic-002-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-002-expected.png.
* platform/chromium-linux/css2.1/20110323/first-letter-dynamic-003a-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-003a-expected.png.
* platform/chromium-linux/css2.1/20110323/first-letter-dynamic-003b-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-003b-expected.png.
* platform/chromium-linux/css2.1/20110323/first-letter-inherit-001-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-inherit-001-expected.png.
* platform/chromium-linux/css2.1/20110323/first-letter-nested-001-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-nested-001-expected.png.
* platform/chromium-linux/css2.1/20110323/first-letter-nested-002-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-nested-002-expected.png.
* platform/chromium-linux/css2.1/20110323/first-letter-nested-003-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-nested-003-expected.png.
* platform/chromium-linux/css2.1/20110323/first-letter-nested-004-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-nested-004-expected.png.
* platform/chromium-linux/css2.1/20110323/first-letter-nested-005-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-nested-005-expected.png.
* platform/chromium-linux/css2.1/20110323/first-letter-nested-006-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-nested-006-expected.png.
* platform/chromium-linux/css2.1/20110323/first-letter-nested-007-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-nested-007-expected.png.
* platform/chromium-linux/css2.1/20110323/first-letter-quote-001-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-quote-001-expected.png.
* platform/chromium-linux/css2.1/20110323/first-letter-quote-002-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-quote-002-expected.png.
* platform/chromium-linux/css2.1/20110323/first-letter-quote-003-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-quote-003-expected.png.
* platform/chromium-linux/css2.1/20110323/first-letter-quote-004-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-quote-004-expected.png.
* platform/chromium-linux/css2.1/20110323/first-letter-quote-005-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-quote-005-expected.png.
* platform/chromium-linux/css2.1/20110323/first-letter-quote-006-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-quote-006-expected.png.
* platform/chromium-linux/fast/css/first-letter-nested-positioned-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/first-letter-nested-positioned-expected.png.
* platform/chromium-linux/fast/css/first-letter-quotes-no-content-before-after-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/first-letter-quotes-no-content-before-after-expected.png.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-000-expected.png: Added.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-dynamic-001-expected.png: Added.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-dynamic-002-expected.png: Added.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-dynamic-003a-expected.png: Added.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-dynamic-003b-expected.png: Added.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-inherit-001-expected.png: Added.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-quote-001-expected.png: Added.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-quote-002-expected.png: Added.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-quote-003-expected.png: Added.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-quote-004-expected.png: Added.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-quote-005-expected.png: Added.
* platform/chromium-mac-leopard/css2.1/20110323/first-letter-quote-006-expected.png: Added.
* platform/chromium-mac-leopard/fast/css/first-letter-nested-positioned-expected.png: Added.
* platform/chromium-mac-leopard/fast/css/first-letter-quotes-no-content-before-after-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-000-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-dynamic-001-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-dynamic-002-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-dynamic-003a-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-dynamic-003b-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-inherit-001-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-quote-001-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-quote-002-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-quote-003-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-quote-004-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-quote-005-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/first-letter-quote-006-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/css/first-letter-nested-positioned-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/css/first-letter-quotes-no-content-before-after-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-000-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-000-expected.txt: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-001-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-001-expected.txt: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-dynamic-001-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-dynamic-001-expected.txt: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-dynamic-002-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-dynamic-002-expected.txt: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-dynamic-003a-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-dynamic-003a-expected.txt: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-dynamic-003b-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-dynamic-003b-expected.txt: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-inherit-001-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-inherit-001-expected.txt: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-001-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-001-expected.txt: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-002-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-002-expected.txt: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-003-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-003-expected.txt: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-004-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-004-expected.txt: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-005-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-005-expected.txt: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-006-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-006-expected.txt: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-007-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-nested-007-expected.txt: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-001-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-001-expected.txt: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-002-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-002-expected.txt: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-003-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-003-expected.txt: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-004-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-004-expected.txt: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-005-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-005-expected.txt: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-006-expected.png: Added.
* platform/chromium-mac/css2.1/20110323/first-letter-quote-006-expected.txt: Added.
* platform/chromium-mac/fast/css/first-letter-nested-positioned-expected.png: Added.
* platform/chromium-mac/fast/css/first-letter-nested-positioned-expected.txt: Added.
* platform/chromium-mac/fast/css/first-letter-quotes-no-content-before-after-expected.png: Added.
* platform/chromium-mac/fast/css/first-letter-quotes-no-content-before-after-expected.txt: Added.
* platform/chromium-win/css2.1/20110323/first-letter-000-expected.png: Added.
* platform/chromium-win/css2.1/20110323/first-letter-000-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-000-expected.txt.
* platform/chromium-win/css2.1/20110323/first-letter-001-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-003b-expected.png.
* platform/chromium-win/css2.1/20110323/first-letter-001-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-001-expected.txt.
* platform/chromium-win/css2.1/20110323/first-letter-dynamic-001-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-003a-expected.png.
* platform/chromium-win/css2.1/20110323/first-letter-dynamic-001-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-001-expected.txt.
* platform/chromium-win/css2.1/20110323/first-letter-dynamic-002-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-001-expected.png.
* platform/chromium-win/css2.1/20110323/first-letter-dynamic-002-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-002-expected.txt.
* platform/chromium-win/css2.1/20110323/first-letter-dynamic-003a-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-003a-expected.png.
* platform/chromium-win/css2.1/20110323/first-letter-dynamic-003a-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-003a-expected.txt.
* platform/chromium-win/css2.1/20110323/first-letter-dynamic-003b-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-003b-expected.png.
* platform/chromium-win/css2.1/20110323/first-letter-dynamic-003b-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-003b-expected.txt.
* platform/chromium-win/css2.1/20110323/first-letter-inherit-001-expected.png: Added.
* platform/chromium-win/css2.1/20110323/first-letter-inherit-001-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-inherit-001-expected.txt.
* platform/chromium-win/css2.1/20110323/first-letter-nested-001-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-003b-expected.png.
* platform/chromium-win/css2.1/20110323/first-letter-nested-001-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-nested-001-expected.txt.
* platform/chromium-win/css2.1/20110323/first-letter-nested-002-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-003b-expected.png.
* platform/chromium-win/css2.1/20110323/first-letter-nested-002-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-nested-002-expected.txt.
* platform/chromium-win/css2.1/20110323/first-letter-nested-003-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-003b-expected.png.
* platform/chromium-win/css2.1/20110323/first-letter-nested-003-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-nested-003-expected.txt.
* platform/chromium-win/css2.1/20110323/first-letter-nested-004-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-003b-expected.png.
* platform/chromium-win/css2.1/20110323/first-letter-nested-004-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-nested-004-expected.txt.
* platform/chromium-win/css2.1/20110323/first-letter-nested-005-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-003b-expected.png.
* platform/chromium-win/css2.1/20110323/first-letter-nested-005-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-nested-005-expected.txt.
* platform/chromium-win/css2.1/20110323/first-letter-nested-006-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-003b-expected.png.
* platform/chromium-win/css2.1/20110323/first-letter-nested-006-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-nested-006-expected.txt.
* platform/chromium-win/css2.1/20110323/first-letter-nested-007-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-003b-expected.png.
* platform/chromium-win/css2.1/20110323/first-letter-nested-007-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-nested-007-expected.txt.
* platform/chromium-win/css2.1/20110323/first-letter-quote-001-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-001-expected.png.
* platform/chromium-win/css2.1/20110323/first-letter-quote-001-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-quote-001-expected.txt.
* platform/chromium-win/css2.1/20110323/first-letter-quote-002-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-001-expected.png.
* platform/chromium-win/css2.1/20110323/first-letter-quote-002-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-quote-002-expected.txt.
* platform/chromium-win/css2.1/20110323/first-letter-quote-003-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-001-expected.png.
* platform/chromium-win/css2.1/20110323/first-letter-quote-003-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-quote-003-expected.txt.
* platform/chromium-win/css2.1/20110323/first-letter-quote-004-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-001-expected.png.
* platform/chromium-win/css2.1/20110323/first-letter-quote-004-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-quote-004-expected.txt.
* platform/chromium-win/css2.1/20110323/first-letter-quote-005-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-001-expected.png.
* platform/chromium-win/css2.1/20110323/first-letter-quote-005-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-quote-005-expected.txt.
* platform/chromium-win/css2.1/20110323/first-letter-quote-006-expected.png: Copied from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-001-expected.png.
* platform/chromium-win/css2.1/20110323/first-letter-quote-006-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-quote-006-expected.txt.
* platform/chromium-win/fast/css/first-letter-nested-positioned-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-001-expected.png.
* platform/chromium-win/fast/css/first-letter-nested-positioned-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/first-letter-nested-positioned-expected.txt.
* platform/chromium-win/fast/css/first-letter-quotes-no-content-before-after-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/css2.1/20110323/first-letter-dynamic-003b-expected.png.
* platform/chromium-win/fast/css/first-letter-quotes-no-content-before-after-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/first-letter-quotes-no-content-before-after-expected.txt.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116454 268f45cc-cd09-0410-ab3c-d52691b4dbfc
SIGFPE on divide in classic interpreter
https://bugs.webkit.org/show_bug.cgi?id=85917

Rubber stamped by Oliver Hunt.

* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):
    - check for divisor of -1.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116455 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Create LinkHighlightLayerChromium class to provide link-highlight preview animations for GraphicsLayerChromium.
https://bugs.webkit.org/show_bug.cgi?id=85084

Reviewed by James Robinson.

Source/WebCore:

Unit test provided.

Creates a layer delegate class to provide link highlight animations for link-preview feature.
These are added to a GraphicsLayerChromium via provided methods. Moves dispensing of animation
ids into a separate class.

* WebCore.gypi:
* platform/graphics/chromium/AnimationIdVendor.cpp: Added.
(WebCore):
(WebCore::AnimationIdVendor::getNextAnimationId):
(WebCore::AnimationIdVendor::getNextGroupId):
* platform/graphics/chromium/AnimationIdVendor.h: Added.
(WebCore):
(AnimationIdVendor):
* platform/graphics/chromium/GraphicsLayerChromium.cpp:
(WebCore::GraphicsLayerChromium::willBeDestroyed):
(WebCore::GraphicsLayerChromium::updateNames):
(WebCore::GraphicsLayerChromium::addAnimation):
(WebCore::GraphicsLayerChromium::addLinkHighlight):
(WebCore):
(WebCore::GraphicsLayerChromium::didFinishLinkHighlight):
(WebCore::GraphicsLayerChromium::updateChildList):
(WebCore::GraphicsLayerChromium::mapAnimationNameToId):
* platform/graphics/chromium/GraphicsLayerChromium.h:
(WebCore):
(GraphicsLayerChromium):
* platform/graphics/chromium/LinkHighlight.cpp: Added.
(WebCore):
(WebCore::LinkHighlight::create):
(WebCore::LinkHighlight::LinkHighlight):
(WebCore::LinkHighlight::~LinkHighlight):
(WebCore::LinkHighlight::contentLayer):
(WebCore::LinkHighlight::paintContents):
(WebCore::LinkHighlight::notifyAnimationStarted):
(WebCore::LinkHighlight::notifyAnimationFinished):
* platform/graphics/chromium/LinkHighlight.h: Added.
(WebCore):
(LinkHighlight):

Source/WebKit/chromium:

* WebKit.gypi:
* tests/LinkHighlightTest.cpp: Added.
(WebCore):
(MockGraphicsLayerClient):
(WebCore::MockGraphicsLayerClient::notifyAnimationStarted):
(WebCore::MockGraphicsLayerClient::notifySyncRequired):
(WebCore::MockGraphicsLayerClient::paintContents):
(WebCore::MockGraphicsLayerClient::showDebugBorders):
(WebCore::MockGraphicsLayerClient::showRepaintCounter):
(WebCore::TEST):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116456 268f45cc-cd09-0410-ab3c-d52691b4dbfc
HTMLElementStack::hasOnlyHTMLElementsInScope is no longer called
https://bugs.webkit.org/show_bug.cgi?id=85908

Reviewed by Eric Seidel.

This patch just removes the dead code.

No tests needed. Cleanup only.

* html/parser/HTMLElementStack.cpp:
* html/parser/HTMLElementStack.h:
(HTMLElementStack):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116457 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Prevent crash in animated lists
https://bugs.webkit.org/show_bug.cgi?id=85382

Reviewed by Nikolas Zimmermann.

Source/WebCore:

Animated lists blindly assign the last list value to m_toAtEndOfDurationType
in SVGAnimationElement::startedActiveInterval. If the last list value's length
is larger or smaller than the animated "to" length, we crash.

This change prevents accessing values off the end of toAtEndOfDuration by adding
a check for this case. It may seem inefficient to perform this check on every
animation update but the "to" value can change (in cardinality) while animating.

I checked each of the other animation types (e.g., SVGAnimatedAngle,
SVGAnimatedBoolean, etc.) and was only able to hit this style of crash
in the three types modified in this change:
SVGAnimatedLengthList, SVGAnimatedNumberList, and SVGAnimatedPointList.

Tests: svg/animations/animate-linear-discrete-additive-b-expected.svg
       svg/animations/animate-linear-discrete-additive-b.svg
       svg/animations/animate-linear-discrete-additive-c-expected.svg
       svg/animations/animate-linear-discrete-additive-c.svg
       svg/animations/animate-linear-discrete-additive-expected.svg
       svg/animations/animate-linear-discrete-additive.svg
       svg/animations/animate-list-crash.svg

* svg/SVGAnimatedLengthList.cpp:
(WebCore::SVGAnimatedLengthListAnimator::calculateAnimatedValue):
* svg/SVGAnimatedNumberList.cpp:
(WebCore::SVGAnimatedNumberListAnimator::calculateAnimatedValue):
* svg/SVGAnimatedPointList.cpp:
(WebCore::SVGAnimatedPointListAnimator::calculateAnimatedValue):

LayoutTests:

* svg/animations/animate-linear-discrete-additive-b-expected.svg: Added.
* svg/animations/animate-linear-discrete-additive-b.svg: Added.
* svg/animations/animate-linear-discrete-additive-c-expected.svg: Added.
* svg/animations/animate-linear-discrete-additive-c.svg: Added.
* svg/animations/animate-linear-discrete-additive-expected.svg: Added.
* svg/animations/animate-linear-discrete-additive.svg: Added.
* svg/animations/animate-list-crash-expected.txt: Added.
* svg/animations/animate-list-crash.svg: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add mac results for new tests following http://trac.webkit.org/changeset/116438.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
move listener_leak_test to webkit_unit_tests
https://bugs.webkit.org/show_bug.cgi?id=85922

Reviewed by Ojan Vafai.

Porting the test from src/webkit/tools/test_shell/listener_leak_test.cc.
All I did was change the style and use the FrameTestHelper to load the file.

* WebKit.gyp: Exclude file in components build.
* WebKit.gypi: Add new file.
* tests/ListenerLeakTest.cpp: Added.
(WebKit):
(WebKit::GetProperty):
(WebKit::GetNumObjects):
(ListenerLeakTest):
(WebKit::ListenerLeakTest::ListenerLeakTest):
(WebKit::ListenerLeakTest::RunTest):
(WebKit::TEST_F):
* tests/data/listener/listener_leak1.html: Added.
* tests/data/listener/listener_leak2.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116460 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][DRT] WebKit/DRT should not paint webview for the pixel tests.
https://bugs.webkit.org/show_bug.cgi?id=79853

Reviewed by Eric Seidel.

Screen buffer can be different from rendered results.
For example, WebKit/Efl just moves tiles for ewk_view_tiled when scrolling
contents.
It means that pixel tests can't check regression of ewk_view_tiled.

This patch changes a way to provide bitmap from painting webview to capturing
evas.

* DumpRenderTree/efl/PixelDumpSupportEfl.cpp:
(createBitmapContextFromWebView):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit: [BlackBerry] Implement a popup client for HTML controls
https://bugs.webkit.org/show_bug.cgi?id=85670

Patch by Crystal Zhang <haizhang@rim.com> on 2012-05-08
Reviewed by Rob Buis.

Add popup client file to build system.

* PlatformBlackBerry.cmake:

Source/WebKit/blackberry:     [BlackBerry] Implement a popup client for HTML controls
    https://bugs.webkit.org/show_bug.cgi?id=85670

    Reviewed by Rob Buis.

    Implement a popup client for HTML controls, which would be used to load
    different popups according to popup type.

    * WebCoreSupport/PagePopupBlackBerry.cpp: Added.
    (WebCore):
    (PagePopupChromeClient):
    (WebCore::PagePopupChromeClient::PagePopupChromeClient):
    (WebCore::PagePopupChromeClient::closeWindowSoon):
    (WebCore::PagePopupChromeClient::webPage):
    (WebCore::PagePopupBlackBerry::PagePopupBlackBerry):
    (WebCore::PagePopupBlackBerry::~PagePopupBlackBerry):
    (WebCore::PagePopupBlackBerry::sendCreatePopupWebViewRequest):
    (WebCore::PagePopupBlackBerry::init):
    (WebCore::setValueAndClosePopupCallback):
    (WebCore::popUpExtensionInitialize):
    (WebCore::popUpExtensionFinalize):
    (WebCore::PagePopupBlackBerry::installDomFunction):
    (WebCore::PagePopupBlackBerry::handleMouseEvent):
    (WebCore::PagePopupBlackBerry::closePopup):
    (WebCore::PagePopupBlackBerry::closeWebPage):
    * WebCoreSupport/PagePopupBlackBerry.h: Added.
    (WebKit):
    (WebCore):
    (PagePopupBlackBerry):

Patch by Crystal Zhang <haizhang@rim.com> on 2012-05-08

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Region reads past end of spans
https://bugs.webkit.org/show_bug.cgi?id=85909

Reviewed by Anders Carlsson.

Source/WebCore:

Region currently checks aSpan == aSpanEnd as the indicator that
we passed all the spans. When aSpan < aSpanEnd, it uses aSpan+1
to find the height of the span.

If aSpan == aSpanEnd - 1, then aSpan+1 == aSpanEnd. This does not
represent a valid span, since aSpanEnd is past the end of the
array, not the last element in the array. The loop should terminate
in this case.

Checking aSegment != aSegmentEnd is acceptable in the inner loop since
it increments by two each time (segments come in pairs, while spans
come in singles).

Test: RegionTest.ReadPastFullSpanVectorInIntersectsTest

* platform/graphics/Region.cpp:
(WebCore::Region::Shape::compareShapes):

Source/WebKit/chromium:

* tests/RegionTest.cpp:
(WebCore::TEST):
(WebCore):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116463 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][DRT] EventSender needs implementation of leapForward function
https://bugs.webkit.org/show_bug.cgi?id=83486

Patch by Alexander Shalamov <alexander.shalamov@intel.com> on 2012-05-08
Reviewed by Eric Seidel.

Tools:

Implemented leapForward function in Efl's DRT. This function is required
to delay and queue event execution and simulate real user behavior.

* DumpRenderTree/efl/EventSender.cpp:
(DelayedEvent):
(MouseEventInfo::MouseEventInfo):
(MouseEventInfo):
(sendClick):
(mouseDownCallback):
(mouseUpCallback):
(mouseMoveToCallback):
(leapForwardCallback):
(mouseScrollByCallback):
(feedOrQueueMouseEvent):
(feedMouseEvent):
(feedQueuedMouseEvents):

LayoutTests:

Unskipping few tests that were failing due to the missing leapForward function
Added EFL specific test result, since EFL doesnt support 2D wheel events

* platform/efl/Skipped:
* platform/efl/fast/events/platform-wheelevent-in-scrolling-div-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116464 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptAudioNode should not ASSERT if number of input channels is 0
https://bugs.webkit.org/show_bug.cgi?id=85818

Patch by Raymond Toy <rtoy@google.com> on 2012-05-08
Reviewed by Eric Seidel.

Source/WebCore:

Test: webaudio/javascriptaudionode-zero-input-channels.html

* Modules/webaudio/JavaScriptAudioNode.cpp:
(WebCore::JavaScriptAudioNode::process): Update buffersAreGood.
(WebCore::JavaScriptAudioNode::fireProcessEvent): Remove ASSERT.

LayoutTests:

* webaudio/javascriptaudionode-zero-input-channels-expected.txt: Added.
* webaudio/javascriptaudionode-zero-input-channels.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116465 268f45cc-cd09-0410-ab3c-d52691b4dbfc