platform/framework/web/webkit-efl.git
11 years agoAttach callback to media element to calculate device rotation
Seonae Kim [Thu, 4 Apr 2013 04:53:15 +0000 (13:53 +0900)]
Attach callback to media element to calculate device rotation

[Title] Attach callback to media element to calculate device rotation
[Issue] N/A
[Problem] There is no place to check the rotation for media.
[Cause] N/A
[Solution] Add rotation callback using sensor apis.

Change-Id: Idbbc97477442cf13009f4c241d9e2ff904240f9b

11 years agoMerge "[Release] Webkit2-efl-123997_0.11.11" into tizen_2.1
Kangil Han [Thu, 4 Apr 2013 09:53:22 +0000 (18:53 +0900)]
Merge "[Release] Webkit2-efl-123997_0.11.11" into tizen_2.1

11 years ago[Release] Webkit2-efl-123997_0.11.11
Sanghyup Lee [Thu, 4 Apr 2013 09:50:49 +0000 (18:50 +0900)]
[Release] Webkit2-efl-123997_0.11.11

Change-Id: I544288eb57c5db366c31d8f750be3b3588ca646a

11 years agoFix for remember password feature
Dhirendra Kumar [Wed, 3 Apr 2013 09:21:08 +0000 (18:21 +0900)]
Fix for remember password feature

[Title] Fixed remember username and password in case when
        username is input tag with type equal to email
[Issue#] WEB-567
[Problem] Remember password feature was working only for
          password field and not for username field in case
          of sites like www.gmail.com
[Cause] The logic to populate data was missing if the
        type of input tag was email and hence was ignoring it
[Solution] Added condition to check if input tag has type as
           email while populating value
[Developer] Dhirendra Kumar(dhirendra.kr@samsung.com)

Change-Id: I8c6a883492761e4eea934e25d6c99c7b55f3df30

11 years agoMerge "[UT] ewk_view_text_find, ewk_view_text_find_highlight" into tizen_2.1
Lukasz Slachciak [Thu, 4 Apr 2013 07:58:23 +0000 (16:58 +0900)]
Merge "[UT] ewk_view_text_find, ewk_view_text_find_highlight" into tizen_2.1

11 years ago[UT] ewk_view_text_find, ewk_view_text_find_highlight
Krzysztof Czech [Thu, 4 Apr 2013 07:43:05 +0000 (09:43 +0200)]
[UT] ewk_view_text_find, ewk_view_text_find_highlight

Change-Id: I708c7005b5e7c874aa6a3b0eb296b73f042afcbd

11 years agoChecking the clipboard status before appear context menu
Taeyun An [Mon, 1 Apr 2013 13:04:34 +0000 (22:04 +0900)]
Checking the clipboard status before appear context menu

[Title] Checking the clipboard status before appear context menu
[Issue#] N_SE-29804
[Problem] Context menu options does disappear after clipboard appear
[Cause] There is appear the context menu routine after clipboard appear
[Solution] Checking clipboard status before appear context menu

Change-Id: Ib86d926733aebc1ddd985157f5d4959714d2639a

11 years agoFix ime issues
SangYong Park [Wed, 3 Apr 2013 12:51:40 +0000 (21:51 +0900)]
Fix ime issues

[Title] Fix ime issues
[Issue#] N/A
[Problem] Keypad did not showing when edit field has focus.
[Cause] It is side-effect by showing by editorState as opensource
[Solution] Change invalid code

Change-Id: I8e968d05a014f8c8acb2ad288604995f7395c2d2

11 years ago[CherryPick] WebKit does not support 'flex-wrap: nowrap'
tony@chromium.org [Mon, 22 Oct 2012 21:32:01 +0000 (21:32 +0000)]
[CherryPick] WebKit does not support 'flex-wrap: nowrap'

[Title] [CherryPick] WebKit does not support 'flex-wrap: nowrap'
[Issue] TWEB-969, TWEB-1006
[Problem] The flex-wrap attribute value expected "nowrap" but got "none".
[Cause] The spec was changed from "none" to "nowrap",
        and the Webkit code for that modified in 2012.10,
        but it didn't come in to Tizen.
[Solution] Cherry-pick the opensource patch.
[Cherry-Picker] KyungTae Kim <ktf.kim@samsung.com>

WebKit does not support 'flex-wrap: nowrap'
https://bugs.webkit.org/show_bug.cgi?id=99924

Reviewed by Ojan Vafai.

Source/WebCore:

The spec changed back from using none to nowrap for the single-line
flexbox case.
http://dev.w3.org/csswg/css3-flexbox/#flex-wrap-property

No new tests, covered by css3/flexbox/css-properties.html and others.

* css/CSSParser.cpp:
(WebCore::isValidKeywordPropertyAndValue):
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
(WebCore::CSSPrimitiveValue::operator EFlexWrap):
* css/CSSValueKeywords.in:
* rendering/RenderBox.cpp:
(WebCore::isStretchingColumnFlexItem):
(WebCore::RenderBox::sizesLogicalWidthToFitContent):
* rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::isMultiline):
* rendering/style/RenderStyle.h:
* rendering/style/RenderStyleConstants.h:

LayoutTests:

Update expectations (find and replace none with nowrap).

* css3/flexbox/css-properties-expected.txt:
* css3/flexbox/css-properties.html:
* fast/css/getComputedStyle/computed-style-expected.txt:
* fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* svg/css/getComputedStyle-basic-expected.txt:

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

Conflicts:

LayoutTests/ChangeLog
Source/WebCore/ChangeLog
Source/WebCore/css/CSSPrimitiveValueMappings.h
Source/WebCore/rendering/RenderBox.cpp

Change-Id: Ia3124cfc785c722276c324f396e26ab1596d2392

11 years agoFix for screen flickering on page have lots of contents size change
Changhyup Jwa [Tue, 26 Mar 2013 11:21:12 +0000 (20:21 +0900)]
Fix for screen flickering on page have lots of contents size change

[Title] Fix for screen flickering on page have lots of contents size change
[issue#] Web-2826
[Problem] Screen is flickering continuosly
[Cause] ContentSize is incresing/decreasing continuosly
        and setVisibleContentRect is called whenever it's changed
[Solution] Fit viewport to content only on load finish

Change-Id: I7cf4676804774182a7d7a40aaf100c1e90e6eec0

11 years agoImplemented scrolling of text when the magnifier is on
prathmesh.m [Wed, 3 Apr 2013 02:12:22 +0000 (11:12 +0900)]
Implemented scrolling of text when the magnifier is on

[Title] Implemented scrolling of text when the magnifier is on
  and implemented the movement of touch point with blocking of
  magnifier
[Issue#] N/A
[Problem] The movement of magnifier and caret was stopped when
  the mouse move went out side the inputbox and the text inside
  the input box was not scrolled
[Cause] When the mousemove point was out side the inputbox
the handlers were blocked
[Solution] Implemented mousemove and handled the case where
   mousedown is done on inputbox and mouse move point is outside
   the input box and also scrolled the text ant the end of input
   box

Change-Id: I514714871b9c1238ea3d8dbc7fcef5f9be5aa896

11 years agoMerge "If applicationCachePermissionCallback does not define or set, call replayAppli...
Kihong Kwon [Thu, 4 Apr 2013 05:36:02 +0000 (14:36 +0900)]
Merge "If applicationCachePermissionCallback does not define or set, call replayApplicationCachePermission(true)" into tizen_2.1

11 years agoIf applicationCachePermissionCallback does not define or set, call replayApplicationC...
Jiyeon Kim [Thu, 4 Apr 2013 05:32:46 +0000 (14:32 +0900)]
If applicationCachePermissionCallback does not define or set, call replayApplicationCachePermission(true)

[Title] If applicationCachePermissionCallback does not define or set, call replayApplicationCachePermission(true)
[Problem] Application cache doesn't work
[Cause] N/A
[Solution] I'll change returning value true to false after implementing permission popup on browser side

Change-Id: If5592b1c00f52b7dbfdc8267c6f70466f668f130

11 years agoMerge "[DCM-1211] Make copyTo() copy real file" into tizen_2.1
Kihong Kwon [Thu, 4 Apr 2013 05:32:50 +0000 (14:32 +0900)]
Merge "[DCM-1211] Make copyTo() copy real file" into tizen_2.1

11 years ago[DCM-1211] Make copyTo() copy real file
Jihye Kang [Thu, 4 Apr 2013 05:09:00 +0000 (14:09 +0900)]
[DCM-1211] Make copyTo() copy real file

[Title] Make copyTo copy real file rather than link file
[Issue#] DCM-1211
[Problem] copyTo() filesystem API does not do real copy of the file
[Cause] copyTo() uses POSIX link. So the change of one file affect each other.
[Solution] Copy real file for copyTo API

Change-Id: I62a9804e5f8e6fa2117c7f68deb8a06608fa64c8

11 years ago[WK2] Recover a loss of dirty region.
JungJik Lee [Mon, 1 Apr 2013 04:59:12 +0000 (13:59 +0900)]
[WK2] Recover a loss of dirty region.

[Title] [WK2] Recover a loss of dirty region.
[Issue#] N_SE-26405
[Problem] TBS can not update the tile due to a loss of dirty region.
[Cause] intersecting dirty region with keepRect can cause the loss of dirty resion.
[Solution] Remove intersect code and invalidate all dirties.

11 years ago[CherryPick] WebKit does not reject some cubic-bezier form values for transition...
alexis@webkit.org [Tue, 8 Jan 2013 21:44:22 +0000 (21:44 +0000)]
[CherryPick] WebKit does not reject some cubic-bezier form values for transition-timing-function.

    [Title] [CherryPick] WebKit does not reject some cubic-bezier form values for transition-timing-function.
    [Issues] TWEB-828, TWEB-828
    [Problem] WebKit does not reject some cubic-bezier form values for transition-timing-function.
    [Solution] Cherry picked.
    [Cherry-Picker] HunseopJeong <hs85.jeong@samsung.com>

WebKit does not reject some cubic-bezier form values for transition-timing-function.
https://bugs.webkit.org/show_bug.cgi?id=106369

Reviewed by Dean Jackson.

Source/WebCore:

http://www.w3.org/TR/css3-transitions/#transition-timing-function-property
describes restricitions on cubic-bezier values where the x values of
the curve should be between [0, 1] and y values can exceed this range.
WebKit was not following the specification by allowing x values
exceeding the range.
The spec also says that we should reject the defintion if the condition
is not respected which is what the new code does.

Test: transitions/transitions-parsing.html

* css/CSSParser.cpp:
(WebCore::CSSParser::parseAnimationTimingFunction):

LayoutTests:

Extended existing tests to cover the bug. Updated an existing test
which was checking wrong values.

* fast/css/transition-timing-function.html: Change the tested values as
they are considered wrong by the spec.
* fast/css/transition-timing-function-expected.txt:

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

Conflicts:

LayoutTests/ChangeLog
LayoutTests/transitions/transitions-parsing-expected.txt
LayoutTests/transitions/transitions-parsing.html
Source/WebCore/ChangeLog

Change-Id: Icb0de3cc26ac37bb133c03308af50a8c6eb59fb5

11 years agoSkip crashed cases in layout test
Kangil Han [Thu, 4 Apr 2013 04:07:40 +0000 (13:07 +0900)]
Skip crashed cases in layout test

[Title] Skip crashed cases in layout test
[Issue#] N/A
[Problem] Crash happened while running layout test
[Cause] Need investigation from developers in charge of
[Solution] Skip those cases from official layout test

Change-Id: I17c39d237c44f1852b77bb79ae53d12d6ef002fe

11 years ago[CherryPick] new flexbox should ignore float set on flexitems
tony@chromium.org [Mon, 30 Jul 2012 18:39:53 +0000 (18:39 +0000)]
[CherryPick] new flexbox should ignore float set on flexitems

[Title] [CherryPick] new flexbox should ignore float set on flexitems
[Issue] TWEB-826
[Problem] WebAPI/W3C_CSS3/FlexibleBox/CSS3FlexBox_display_float.html test case failed.
[Cause] In the test case, the item in flexbox have float:right, but it should be disallowed.
[Solution] Cherry-pick the opensource patch.
[Cherry-Picker] KyungTae Kim <ktf.kim@samsung.com>

new flexbox should ignore float set on flexitems
https://bugs.webkit.org/show_bug.cgi?id=70792

Reviewed by Ojan Vafai.

Source/WebCore:

Force flex items to not float.

Test: css3/flexbox/floated-flexitem.html

* css/StyleResolver.cpp:
(WebCore::StyleResolver::adjustRenderStyle): Force NoFloat on flex items.

LayoutTests:

Make an example in the spec into a ref test.  Add some styles to make it a bit more clear what's happening.

* css3/flexbox/floated-flexitem-expected.html: Added.
* css3/flexbox/floated-flexitem.html: Added.

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

Change-Id: I1b17a729a10edc4d9cc9e74ab4e038630b1eadad

11 years agoShow ime keypad by editorState event as opensource
SangYong Park [Wed, 3 Apr 2013 11:03:50 +0000 (20:03 +0900)]
Show ime keypad by editorState event as opensource

[Title] Show ime keypad by editorState event as opensource
[Issue#] N/A
[Problem] opensource is not implement setInputMethodState
[Cause] setInputMethodState is not opensource policy
[Solution] Show ime keypad by editorState event

Change-Id: I1b1a2490d10aa34288c14321de683b54899a04e0

11 years agoDo not access any object in the destructor and only delete animators in the destructor.
Eunmi Lee [Wed, 3 Apr 2013 10:57:21 +0000 (19:57 +0900)]
Do not access any object in the destructor and only delete animators in the destructor.

[Title] Do not access any object in the destructor and only delete animators in the destructor.
[Issue#] N_SE-30414
[Problem] The browser is crashed when exiting browser during smart zoom or flick.
[Cause] The deleted objects are accessed in the destructor of smart zoom and flick.
[Solution] Do not access any object in the destructor and only delete animators there.

Change-Id: I7f0d269c249135ee089f77a8f943831ebf10b706

11 years agoAudio and Video file doesn't work when preload attribute is none
Jiyeon Kim [Wed, 3 Apr 2013 02:08:10 +0000 (11:08 +0900)]
Audio and Video file doesn't work when preload attribute is none

[Title] Audio and Video file doesn't work when preload attribute is none
[Problem] Audio and Video file always loaded whole data even if preload attribute is none
[Cause] Network state is loading and gstreamer state is GST_STATE_PAUSE
[Solution] If preload attribute is none, network state is set to Idle and Gstreamer state is not changed

Change-Id: I24505b8e80a46e5f6d00d52da175ab82c0f18ff1

11 years agoMerge "Audio is not proper in WebAudio Tests" into tizen_2.1
Kihong Kwon [Wed, 3 Apr 2013 08:16:03 +0000 (17:16 +0900)]
Merge "Audio is not proper in WebAudio Tests" into tizen_2.1

11 years ago[Refactoring] Move tizen specfic files to efl/tizen directory
Gyuyoung Kim [Wed, 3 Apr 2013 06:52:07 +0000 (15:52 +0900)]
[Refactoring] Move tizen specfic files to efl/tizen directory
 - WebRegisterContentHandlerClient.cpp
 - WebRegisterProtocolHandlerClient.cpp
 - WebUserMediaClient.cpp
 - WebDragClientTizen.cpp
 - WebErrorsTizen.cpp

Change-Id: Iacc3f6d4bff90ed5ef67db7b4b85adb1924d3644

11 years agoMerge "When saved mht file is opened progress bar is stuck" into tizen_2.1
seung hak lee [Wed, 3 Apr 2013 06:34:55 +0000 (15:34 +0900)]
Merge "When saved mht file is opened progress bar is stuck" into tizen_2.1

11 years agoMerge "[Release] Webkit2-efl-123997_0.11.10" into tizen_2.1
Kangil Han [Wed, 3 Apr 2013 05:51:37 +0000 (14:51 +0900)]
Merge "[Release] Webkit2-efl-123997_0.11.10" into tizen_2.1

11 years agoMerge "Fixed paste issue after selecting word in inputbox" into tizen_2.1
Gyuyoung Kim [Wed, 3 Apr 2013 05:47:04 +0000 (14:47 +0900)]
Merge "Fixed paste issue after selecting word in inputbox" into tizen_2.1

11 years ago[Release] Webkit2-efl-123997_0.11.10
Sanghyup Lee [Wed, 3 Apr 2013 05:41:26 +0000 (14:41 +0900)]
[Release] Webkit2-efl-123997_0.11.10

Change-Id: I7ca10a9fcddb60484b9859bd0949f0dddb646d8f

11 years agoAudio is not proper in WebAudio Tests
Praveen R Jadhav [Wed, 3 Apr 2013 03:14:02 +0000 (12:14 +0900)]
Audio is not proper in WebAudio Tests

[Title] : Audio is not proper in WebAudio Tests
[Issue] : WEB-2918
[Problem] : vsmul() in VectorMath is not handled properly
[Solution] : vsmul() is updated to handle properly as in OpenSource

Change-Id: I8d0cc87136684dabd028cbbed0ee0b254f793cbb

11 years agoFixed paste issue after selecting word in inputbox
prathmesh.m [Tue, 2 Apr 2013 06:18:50 +0000 (15:18 +0900)]
Fixed paste issue after selecting word in inputbox

[Title] Fixed paste issue after selecting word in inputbox
[Issue#] WEB-2907
[Problem] Copy some text and paste in edit filed, the seleced
   text is not getting replaced insteed getting appended
[Cause] Selection was getting cleared before the paste call
   was made due to with the paste function was not getting the
   selected text so it was appending isteed of replacing the
   text
[Solution] Removed the code for clearing of the text

Change-Id: I24d643abd5d4e6a597c5970c8dea36c20804a869

11 years agoWhen saved mht file is opened progress bar is stuck
praveen.ks [Tue, 2 Apr 2013 13:52:54 +0000 (19:22 +0530)]
When saved mht file is opened progress bar is stuck

[Title] Saved mht file does not finish load if it has external resource in it
[Issue#] TD-9485
[Problem] When saved mht file is loaded the progress bar gets stuck and loading never finishes
[Cause] It happens when external resources i.e. resources not present in the mht resource file
        are included. Webkit tries to fail the load for such sub resources but this does not
        clear the sub resource loaders since didFail is never called and in the process
        checkLoadComplete is never called thereby keeping the load in an unfinished state
        infinitely.
[Solution] Allow external resources to be downloaded from network so as not to have a broken
           page. If external resources cannot be fetched didFail will be properly called and
           load will finish.
[Developer] Praveen (praveen.ks@samsung.com)

11 years agoChange the deferring delay in LayerFlush from a fixed value to a varying value
Soon-Young Lee [Tue, 2 Apr 2013 10:58:47 +0000 (19:58 +0900)]
Change the deferring delay in LayerFlush from a fixed value to a varying value

[Title] Change the deferring delay in LayerFlush from a fixed value to a varying value
[Issue#] N/A
[Problem] In m.comic.naver.com, the contents are not shown quickly.
[Cause] Fixed 0.5s delay in LayerFlush reduces redundant tile repaints so that it
        can enhance a page loading time. However, it also causes a bad visual
        responsiveness because the view updates are deferred.
[Solution] The deferring delay is redesigned to gradually increase from 0 to 1.3
           seconds during page loading.

Change-Id: I7f7c687d18425d27d25a956661c2fbcd3beb66f1

11 years agoFollow recent elementary changes about elm_genlist_item_index_get
ryuan [Tue, 2 Apr 2013 07:34:00 +0000 (16:34 +0900)]
Follow recent elementary changes about elm_genlist_item_index_get

[Title] Follow recent elementary changes about elm_genlist_item_index_get
[Issue#] N_SE-30897
[Problem] elementary was changed about index_get.
[Cause]
[Solution] Follow changes.

Change-Id: I5ba5ebceb48455083ef8b977f770e21db5b949c2

11 years ago[CherryPick] Remove AudioGain.idl from compilation.
commit-queue@webkit.org [Thu, 21 Mar 2013 18:08:05 +0000 (18:08 +0000)]
[CherryPick] Remove AudioGain.idl from compilation.

[Title] [CherryPick] Remove AudioGain.idl from compilation.
[Issues] WEB-2908
[Problem] WebAudio performance optimization patch
[Solution] Cherry picked.
[Cherry-Picker] Praveen R Jadhav <praveen.j@samsung.com>

https://bugs.webkit.org/show_bug.cgi?id=112650

Patch by Praveen R Jadhav <praveen.j@samsung.com> on 2013-03-21
Reviewed by Chris Rogers.

Source/WebCore:

Spec: https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#GainNode
      https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBufferSourceNode

AudioParam serves the same purpose as AudioGain. Infact, AudioGain inherits
AudioParam class and doesn't have its own member functions/parameters. Also,
AudioGain is not part of WebAudio W3C specifications.

Test: webaudio/gain-basic.html

* CMakeLists.txt:
* DerivedSources.make:
* DerivedSources.pri:
* GNUmakefile.list.am:
* Modules/webaudio/AudioBufferSourceNode.cpp:
(WebCore::AudioBufferSourceNode::AudioBufferSourceNode):
* Modules/webaudio/AudioBufferSourceNode.h:
(AudioBufferSourceNode):
(WebCore::AudioBufferSourceNode::gain):
* Modules/webaudio/AudioBufferSourceNode.idl:
* Modules/webaudio/AudioGain.h: Removed.
* Modules/webaudio/AudioGain.idl: Removed.
* Modules/webaudio/GainNode.cpp:
(WebCore::GainNode::GainNode):
* Modules/webaudio/GainNode.h:
(WebCore):
(WebCore::GainNode::create):
(GainNode):
(WebCore::GainNode::gain):
* Modules/webaudio/GainNode.idl:
* Modules/webaudio/PannerNode.cpp:
(WebCore::PannerNode::PannerNode):
* Modules/webaudio/PannerNode.h:
(WebCore::PannerNode::distanceGain):
(WebCore::PannerNode::coneGain):
* Target.pri:
* WebCore.gypi:
* WebCore.xcodeproj/project.pbxproj:

LayoutTests:

Test to verify GainNode attributes.

* webaudio/gain-basic-expected.txt: Added.
* webaudio/gain-basic.html: Added.

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

Conflicts:

LayoutTests/ChangeLog
Source/WebCore/ChangeLog
Source/WebCore/Modules/webaudio/AudioBufferSourceNode.h
Source/WebCore/Modules/webaudio/AudioBufferSourceNode.idl
Source/WebCore/Modules/webaudio/AudioGain.idl
Source/WebCore/Modules/webaudio/GainNode.idl
Source/WebCore/Modules/webaudio/PannerNode.cpp
Source/WebCore/WebCore.xcodeproj/project.pbxproj

Change-Id: I9136b633149d866b61f213e0d734e3df3cbc0187

11 years agoMerge "Add copySurfaceTye argument to copySurface function." into tizen_2.1
Heejin Chung [Tue, 2 Apr 2013 07:17:11 +0000 (16:17 +0900)]
Merge "Add copySurfaceTye argument to copySurface function." into tizen_2.1

11 years ago[Refactoring] Move PlatformSurfacePoolEfl to PlatformSurfacePoolTizen
Gyuyoung Kim [Mon, 1 Apr 2013 07:22:04 +0000 (16:22 +0900)]
[Refactoring] Move PlatformSurfacePoolEfl to PlatformSurfacePoolTizen

Change-Id: I532fb2332b786d17c3623717922efd89554b2ff5

11 years agoMerge "[Release] Webkit2-efl-123997_0.11.9" into tizen_2.1
Kangil Han [Tue, 2 Apr 2013 06:04:58 +0000 (15:04 +0900)]
Merge "[Release] Webkit2-efl-123997_0.11.9" into tizen_2.1

11 years ago[Release] Webkit2-efl-123997_0.11.9
Sanghyup Lee [Tue, 2 Apr 2013 05:39:33 +0000 (14:39 +0900)]
[Release] Webkit2-efl-123997_0.11.9

Change-Id: Ie8f2f5c64fdb314696d9e341e8680d37b712b582

11 years agoRevert "Set data of emoji setting to keypad"
SangYong Park [Tue, 2 Apr 2013 05:19:52 +0000 (14:19 +0900)]
Revert "Set data of emoji setting to keypad"

This reverts commit b7d08f4eef6ccaf1b78c37a773c07b3a8137e95d.

Conflicts:

Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp

Change-Id: I0dee5a07eb3ee1c3b625e4ce59a4a2b5a6be7234

11 years agoRemoved code to clear text selection after copying text by the 'copy' menu of context...
Yuni Jeong [Mon, 1 Apr 2013 13:46:13 +0000 (22:46 +0900)]
Removed code to clear text selection after copying text by the 'copy' menu of context menu.

[Title] Removed code to clear text selection after copying text by the 'copy' menu of context menu.
[Issue#] N/A
[Problem] After copying text, caret disappear and IME is not hidden.
          So, user can not enter text in input field.
[Cause] There is code to clear text selection after copying text.
[Solution] Removed code to clear text selection like copy operation of native app.

Change-Id: I7c661662337bb34dd163fea6152bfdc837d66fa0

11 years agoJSC should scale the optimization threshold for a code block according to the cost...
Hojong Han [Tue, 2 Apr 2013 02:33:17 +0000 (11:33 +0900)]
JSC should scale the optimization threshold for a code block according to the cost of compiling it

[Title] JSC should scale the optimization threshold for a code block according to the cost of compiling it
[Issue#] N/A
[Problem] Speed up for SunSpider benchmark
[Cause] N/A
[Solution] This patch is based on commit 10f249a64e5541f54533c5960fde4392409ce982
           We just take some parts, suitable to tizen, from the original patch above.

Change-Id: I41283308911bec11feed39f2579b946aecbe92ef

11 years agoAdd copySurfaceTye argument to copySurface function.
YongGeol Jung [Mon, 1 Apr 2013 11:37:43 +0000 (20:37 +0900)]
Add copySurfaceTye argument to copySurface function.

[Title] Add copySurfaceTye argument to copySurface function.
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A

Change-Id: I1aa1f5ce548b3c331af0a30eb1d023fc514c3f17

11 years agoRevert "Revert "[CherryPick] Input Method upversion""
SangYong Park [Fri, 29 Mar 2013 00:45:27 +0000 (09:45 +0900)]
Revert "Revert "[CherryPick] Input Method upversion""

This reverts commit 96e21f9bfb14c1c123d34768791c57589a52e167.

Change-Id: I5dcaf7379bff5f7ce90c54adf37c094fc3c75268

11 years agoAdded routine to ignore text selection when longtap on handle from OSP.
Yuni Jeong [Mon, 1 Apr 2013 10:19:12 +0000 (19:19 +0900)]
Added routine to ignore text selection when longtap on handle from OSP.

[Title] Added routine to ignore text selection when longtap on handle from OSP.
[Issue#] N/A
[Problem] When longtap on handle from OSP, text selection is cleared.
[Cause] When longtap on handle, textSelectionDown function is called from OSP.
        And then, function to clear text selection is called in textSelectiondown function.
[Solution] Added routine to ignore text selection when longtap on handle from OSP.

Change-Id: Idea04ec51ba2f1cc3eb9929c856453f17f4dca35

11 years agoApply quota policy for indexed database
Jiyeon Kim [Fri, 22 Mar 2013 06:17:48 +0000 (15:17 +0900)]
Apply quota policy for indexed database

[Title] Apply quota policy for indexed database
[Problem] N/A
[Cause] N/A
[Solution] Check quota limitation before making objectStore, index and put data for objectStore
- Default quota : 100*1024*1024
- Maximum quota : 2*1024*1024*1024
- ewk_view_exceeded_indexed_database_quota_callback_set() is added for calling the callback when request quota for UA
- ewk_view_exceeded_indexed_database_quota_reply() is added to allow/deny quota

Change-Id: I24e47c9b2955fb2ee63a9265c46a5f376391db56

11 years ago[CherryPick] [ARMv7] Neither linkCall() nor linkPointer() should flush code.
yoli@rim.com [Tue, 20 Nov 2012 16:32:32 +0000 (16:32 +0000)]
[CherryPick] [ARMv7] Neither linkCall() nor linkPointer() should flush code.

[Title] [ARMv7] Neither linkCall() nor linkPointer() should flush code.
[Issue#] N/A
[Problem] Speed up for SunSpider benchmark
[Cause] N/A
[Solution] N/A
[CherryPicker] Han HoJong<hojong.han@samsung.com>

Change-Id: Id3a6b1e74fcbbb86a578b3f07a025cef66f45ffc

11 years agoFixed caret selection issue in inputbox
prathmesh.m [Fri, 29 Mar 2013 07:45:38 +0000 (16:45 +0900)]
Fixed caret selection issue in inputbox

[Title] Fixed carret selection issue in inputbox
[Issue#] N/A
[Problem] Caret was set at the end of text field even after
    long press in between the input box.
[Cause] Invalid points were passed when the touch point was
    on the border of the inputbox. Focused frame points were
    passed.
[Solution] Handled the border cases and set the proper
    touch point. Set the mainframe point with the difference
    of rect and focused frame point

Change-Id: Id3cd249c52e47764c34e28eee82125e07f219c54

11 years agoMerge "[Release] Webkit2-efl-123997_0.11.8" into tizen_2.1
Kangil Han [Mon, 1 Apr 2013 06:06:43 +0000 (15:06 +0900)]
Merge "[Release] Webkit2-efl-123997_0.11.8" into tizen_2.1

11 years ago[Release] Webkit2-efl-123997_0.11.8
Sanghyup Lee [Mon, 1 Apr 2013 05:52:11 +0000 (14:52 +0900)]
[Release] Webkit2-efl-123997_0.11.8

Change-Id: I695f0de1c432ca389cddfae52542400c13ef8712

11 years agoMerge "Fix the issue that short black glitch when switching bandwidth.(2)" into tizen_2.1
GyongJin Joung [Mon, 1 Apr 2013 05:50:42 +0000 (14:50 +0900)]
Merge "Fix the issue that short black glitch when switching bandwidth.(2)" into tizen_2.1

11 years agoFix the issue that short black glitch when switching bandwidth.(2)
YongGeol Jung [Mon, 1 Apr 2013 03:49:09 +0000 (12:49 +0900)]
Fix the issue that short black glitch when switching bandwidth.(2)

[Title] Fix the issue that short black glitch when switching bandwidth.(2)
[Issue#] ORANGE-141
[Problem] Short black glitch when switching bandwidth.
[Cause] After changing video size, new buffer which is not drawn was used for compositing.
[Solution] If current buffer is not updated yet, copy previous buffer.

Change-Id: I7e2d2d9822809704328fcef5fa7209fb7c4c6ae6

11 years agoMerge "Tables with just border-style set on the cells do not get a grid https://bugs...
Hyunki Baik [Mon, 1 Apr 2013 04:51:58 +0000 (13:51 +0900)]
Merge "Tables with just border-style set on the cells do not get a grid https://bugs.webkit.org/show_bug.cgi?id=84286" into tizen_2.1

11 years agoTables with just border-style set on the cells do not get a grid
robert@webkit.org [Sat, 25 Aug 2012 16:20:23 +0000 (16:20 +0000)]
Tables with just border-style set on the cells do not get a grid
https://bugs.webkit.org/show_bug.cgi?id=84286

Reviewed by Julien Chaffraix.

Source/WebCore:

This is happening because every cell gets a zero-width border in createSharedCellStyle() if the table border is not explictly set.
FF and Opera don't do this, so leave the cell's border alone if there is no table border explicitly set.

Test: fast/css/table-rules-attribute-none-with-cell-borders.html

* html/HTMLTableElement.cpp:
(WebCore::HTMLTableElement::createSharedCellStyle):
* rendering/RenderTreeAsText.cpp:
(WebCore::RenderTreeAsText::writeRenderObject): Without this we would end up rebaselining a bunch of tests to report 'border: []'
 rather than 'border: [none]'. The problem here was that writeRenderObject would only report the first border if it differed from
 BorderValue(). What we want is for it to report the first border always and then any borders after that if they differ.

LayoutTests:

With the exception of the new test table-rules-attribute-none-with-cell-borders.html all
of these are rebaselines due to RenderTreeAsText now reporting the first border, even if it
is a default border.

* fast/block/float/avoidance-rtl-expected.txt:
* fast/borders/border-radius-wide-border-01-expected.txt:
* fast/borders/only-one-border-with-width-expected.txt:
* fast/css/table-rules-attribute-none-with-cell-borders-expected.html: Added.
* fast/css/table-rules-attribute-none-with-cell-borders.html: Added.
* fast/multicol/progression-reverse-expected.txt:
* fast/multicol/vertical-lr/rules-with-border-before-expected.txt:
* fast/multicol/vertical-rl/rules-with-border-before-expected.txt:
* platform/chromium-linux/css1/box_properties/border_bottom-expected.png:
* platform/chromium-linux/css2.1/t0805-c5519-brdr-r-00-a-expected.txt:
* platform/chromium-linux/css2.1/t0805-c5519-brdr-r-01-e-expected.txt:
* platform/chromium-linux/css2.1/t0805-c5520-brdr-b-01-e-expected.txt:
* platform/chromium-linux/css2.1/t0805-c5521-brdr-l-00-a-expected.txt:
* platform/chromium-linux/css2.1/t0805-c5521-brdr-l-01-e-expected.txt:
* platform/chromium-linux/css2.1/t0805-c5521-ibrdr-l-00-a-expected.txt:
* platform/chromium-linux/fast/css/line-height-determined-by-primary-font-expected.txt:
* platform/chromium-win/animations/cross-fade-border-image-source-expected.txt:
* platform/chromium-win/css1/box_properties/border_bottom-expected.txt:
* platform/chromium-win/css1/box_properties/border_bottom_inline-expected.txt:
* platform/chromium-win/css1/box_properties/border_left-expected.txt:
* platform/chromium-win/css1/box_properties/border_left_inline-expected.txt:
* platform/chromium-win/css1/box_properties/border_right-expected.txt:
* platform/chromium-win/css1/box_properties/border_right_inline-expected.txt:
* platform/chromium-win/css1/units/length_units-expected.txt:
* platform/chromium-win/css2.1/20110323/absolute-replaced-height-036-expected.txt:
* platform/chromium-win/css2.1/20110323/block-non-replaced-height-007-expected.txt:
* platform/chromium-win/css2.1/20110323/block-non-replaced-height-008-expected.txt:
* platform/chromium-win/css2.1/20110323/block-non-replaced-height-009-expected.txt:
* platform/chromium-win/css2.1/20110323/block-non-replaced-height-010-expected.txt:
* platform/chromium-win/css2.1/20110323/block-non-replaced-width-001-expected.txt:
* platform/chromium-win/css2.1/20110323/block-non-replaced-width-002-expected.txt:
* platform/chromium-win/css2.1/20110323/block-non-replaced-width-003-expected.txt:
* platform/chromium-win/css2.1/20110323/block-non-replaced-width-004-expected.txt:
* platform/chromium-win/css2.1/20110323/block-non-replaced-width-008-expected.txt:
* platform/chromium-win/css2.1/20110323/margin-applies-to-008-expected.txt:
* platform/chromium-win/css2.1/20110323/width-non-replaced-inline-001-expected.txt:
* platform/chromium-win/css2.1/t040302-c61-phys-len-00-b-expected.txt:
* platform/chromium-win/css2.1/t0804-c5507-padn-r-02-f-expected.txt:
* platform/chromium-win/css2.1/t0804-c5508-ipadn-b-03-b-a-expected.txt:
* platform/chromium-win/css2.1/t0804-c5509-padn-l-02-f-expected.txt:
* platform/chromium-win/css2.1/t0805-c5519-brdr-r-02-e-expected.txt:
* platform/chromium-win/css2.1/t0805-c5519-ibrdr-r-00-a-expected.txt:
* platform/chromium-win/css2.1/t0805-c5520-brdr-b-00-a-expected.txt:
* platform/chromium-win/css2.1/t0805-c5520-ibrdr-b-00-a-expected.txt:
* platform/chromium-win/css2.1/t0805-c5521-brdr-l-02-e-expected.txt:
* platform/chromium-win/editing/deleting/type-delete-after-quote-expected.txt:
* platform/chromium-win/editing/execCommand/4580583-1-expected.txt:
* platform/chromium-win/editing/execCommand/4580583-2-expected.txt:
* platform/chromium-win/editing/inserting/5418891-expected.txt:
* platform/chromium-win/editing/inserting/5510537-expected.txt:
* platform/chromium-win/editing/inserting/6703873-expected.txt:
* platform/chromium-win/editing/inserting/break-blockquote-after-delete-expected.txt:
* platform/chromium-win/editing/pasteboard/5006779-expected.txt:
* platform/chromium-win/editing/pasteboard/paste-blockquote-after-blockquote-expected.txt:
* platform/chromium-win/editing/pasteboard/paste-blockquote-into-blockquote-4-expected.txt:
* platform/chromium-win/fast/block/float/012-expected.txt:
* platform/chromium-win/fast/block/float/013-expected.txt:
* platform/chromium-win/fast/block/float/016-expected.txt:
* platform/chromium-win/fast/block/margin-collapse/041-expected.txt:
* platform/chromium-win/fast/block/margin-collapse/043-expected.txt:
* platform/chromium-win/fast/block/margin-collapse/057-expected.txt:
* platform/chromium-win/fast/css/acid2-expected.txt:
* platform/chromium-win/fast/css/acid2-pixel-expected.txt:
* platform/chromium-win/fast/css/border-height-expected.txt:
* platform/chromium-win/fast/frames/viewsource-attribute-expected.txt:
* platform/chromium-win/fast/frames/viewsource-on-image-file-expected.txt:
* platform/chromium-win/fast/inline/inline-padding-disables-text-quirk-expected.txt:
* platform/chromium-win/fast/inline/inline-text-quirk-bpm-expected.txt:
* platform/chromium-win/fast/layers/scroll-rect-to-visible-expected.txt:
* platform/chromium-win/fast/lists/007-expected.txt:
* platform/chromium-win/fast/multicol/block-axis-horizontal-bt-expected.txt:
* platform/chromium-win/fast/multicol/block-axis-vertical-lr-expected.txt:
* platform/chromium-win/fast/multicol/block-axis-vertical-rl-expected.txt:
* platform/chromium-win/fast/overflow/overflow-rtl-expected.txt:
* platform/chromium-win/fast/overflow/overflow-rtl-inline-scrollbar-expected.txt:
* platform/chromium-win/fast/repaint/repaint-across-writing-mode-boundary-expected.txt:
* platform/chromium-win/fast/table/border-collapsing/003-expected.txt:
* platform/chromium-win/fast/table/border-collapsing/003-vertical-expected.txt:
* platform/chromium-win/fast/table/border-collapsing/rtl-border-collapsing-expected.txt:
* platform/chromium-win/fast/table/colgroup-spanning-groups-rules-expected.txt:
* platform/chromium-win/fast/text/basic/015-expected.txt:
* platform/chromium-win/fast/text/monospace-width-cache-expected.txt:
* platform/chromium-win/http/tests/misc/acid2-expected.txt:
* platform/chromium-win/http/tests/misc/acid2-pixel-expected.txt:
* platform/chromium-win/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-009-expected.txt:
* platform/chromium-win/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-012-expected.txt:
* platform/chromium-win/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-013-expected.txt:
* platform/chromium-win/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-014-expected.txt:
* platform/chromium-win/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-015-expected.txt:
* platform/chromium-win/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-016-expected.txt:
* platform/chromium-win/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-001-expected.txt:
* platform/chromium-win/tables/mozilla/core/table_rules-expected.txt:
* platform/chromium-win/tables/mozilla/marvin/x_table_rules_groups-expected.txt:
* platform/chromium-win/tables/mozilla_expected_failures/collapsing_borders/bug41262-1-expected.txt:
* platform/chromium-win/tables/mozilla_expected_failures/other/test4-expected.txt:
* platform/chromium-win/transforms/2d/transform-borderbox-expected.txt:
* platform/chromium-win/transforms/2d/transform-origin-borderbox-expected.txt:
* platform/chromium-win/transitions/cross-fade-border-image-expected.txt:
* platform/chromium/fast/css/pseudo-first-line-border-width-expected.txt:
* platform/mac/css2.1/20110323/abspos-non-replaced-width-margin-000-expected.txt:
* platform/mac/css2.1/20110323/abspos-replaced-width-margin-000-expected.txt:
* platform/mac/fast/css/caption-width-absolute-position-expected.txt:
* platform/mac/fast/css/caption-width-absolute-position-offset-top-expected.txt:
* platform/mac/fast/css/caption-width-fixed-position-expected.txt:
* platform/mac/fast/css/caption-width-fixed-position-offset-top-expected.txt:
* platform/mac/fast/table/border-collapsing/equal-precedence-resolution-expected.txt:
* platform/mac/fast/table/border-collapsing/equal-precedence-resolution-vertical-expected.txt:
* platform/mac/fast/text/apply-start-width-after-skipped-text-expected.txt:

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

Conflicts:

LayoutTests/ChangeLog
LayoutTests/platform/chromium/TestExpectations
LayoutTests/platform/efl/TestExpectations
LayoutTests/platform/gtk/TestExpectations
LayoutTests/platform/mac/TestExpectations
LayoutTests/platform/qt/TestExpectations
LayoutTests/platform/win/Skipped
Source/WebCore/ChangeLog

Change-Id: I1fd740b77475e8f08a989df6da7996bee741639c

Conflicts:

Source/WebCore/ChangeLog

11 years agoMerge "changing result of layout-test for cherrypick from open-source webkit" into...
Hyunki Baik [Mon, 1 Apr 2013 04:41:57 +0000 (13:41 +0900)]
Merge "changing result of layout-test for cherrypick from open-source webkit" into tizen_2.1

11 years ago[CherryPick] g_slist_reverse() may not be required in webKitWebAudioSrcLoop
commit-queue@webkit.org [Sat, 30 Mar 2013 10:41:17 +0000 (10:41 +0000)]
[CherryPick] g_slist_reverse() may not be required in webKitWebAudioSrcLoop

[Title] [CherryPick] g_slist_reverse() may not be required in webKitWebAudioSrcLoop
[Issues] N/A
[Problem] WebAudio performance optimization patch
[Solution] Cherry picked.
[Cherry-Picker] Praveen R Jadhav <praveen.j@samsung.com>

g_slist_reverse() may not be required in webKitWebAudioSrcLoop
https://bugs.webkit.org/show_bug.cgi?id=113568

Patch by Praveen R Jadhav <praveen.j@samsung.com> on 2013-03-30
Reviewed by Philippe Normand.

Decremental 'for' loop logic implemented to avoid using g_slist_reverse().

Original code            - 2.025230 micro seconds per loop
Original code + patch    - 1.964759 micro seconds per loop

This patch is covered by existing webaudio tests.

* platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp:
(webKitWebAudioSrcLoop):

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

Conflicts:

Source/WebCore/ChangeLog

Change-Id: Iaba2cef05405b383adba5dc9f9e11f8eea72f704

11 years agochanging result of layout-test for cherrypick from open-source webkit
younghwan cho [Tue, 26 Mar 2013 13:51:43 +0000 (22:51 +0900)]
changing result of layout-test for cherrypick from open-source webkit

[Title] changing result of layout-test for cherrypick from open-source webkit
[Issue#] none
[Problem] result of layout-test is changed after cherrypick 'Tables with just border-style set on the cells do not get a grid'
[Cause] none
[Solution] new-baseline changed result

Change-Id: I3927746919e0ec240430575f835ad9db9b7f659c

11 years agoMerge "If applicationCachePermissionCallback does not define or set, ewkViewRequestAp...
Kihong Kwon [Mon, 1 Apr 2013 01:31:47 +0000 (10:31 +0900)]
Merge "If applicationCachePermissionCallback does not define or set, ewkViewRequestApplicationCachePermission method returns true" into tizen_2.1

11 years agoIf applicationCachePermissionCallback does not define or set, ewkViewRequestApplicati...
Jiyeon Kim [Mon, 1 Apr 2013 00:07:01 +0000 (09:07 +0900)]
If applicationCachePermissionCallback does not define or set, ewkViewRequestApplicationCachePermission method returns true

[Title] If applicationCachePermissionCallback does not define or set, ewkViewRequestApplicationCachePermission method returns true
[Problem] If ewkViewRequestApplicationCachePermission method returns false, application cache doesn't work
[Cause] N/A
[Solution] I'll change returning value true to false after implementing permission popup on browser side

Change-Id: I447cf7e2df0dfbf53f2c8ccf3e5cdaf9c6c76f4d

11 years agoFix BS in m.nate.com
Taeyun An [Sat, 30 Mar 2013 08:55:12 +0000 (17:55 +0900)]
Fix BS in m.nate.com

[Title] Fix BS in m.nate.com
[Issue#] N/A
[Problem] BS occurred when clicking the link in m.nate.com
[Cause] There is no check for page()
[Solution] Add the check for page()

Change-Id: I8c82109dcdbb8b1e4f93ff3fbca579a954bd4264

11 years agoBasic implementation of compassneedscalibration
ryuan [Wed, 27 Mar 2013 10:42:50 +0000 (19:42 +0900)]
Basic implementation of compassneedscalibration

[Title] Basic implementation of compassneedscalibration
[Issue#] N/A
[Problem] W3C mentioned compassneedscalibration, but webkit does not have implementation.
[Cause] N/A
[Solution] Implemented

Change-Id: If813424478fc96545f6257928b7bd67b7abf43b0

11 years agoFix the issue that short black glitch when switching bandwidth.
YongGeol Jung [Fri, 29 Mar 2013 05:49:49 +0000 (14:49 +0900)]
Fix the issue that short black glitch when switching bandwidth.

[Title] Fix the issue that short black glitch when switching bandwidth.
[Issue#] N/A
[Problem] Short black glitch when switching bandwidth.
[Cause] After changing video size, new buffer which is not drawn was used for compositing.
[Solution] If current buffer is not updated yet, copy previous buffer.

Change-Id: I6977e59cf402b28748d368a3a79493972d1ec473

11 years agofixed Check MakeCurrent error for cairo gles
Kyungjin Kim [Fri, 29 Mar 2013 10:25:23 +0000 (19:25 +0900)]
fixed Check MakeCurrent error for cairo gles

[Title] fixed Check makeCurrent error for cairo gles
[Issue#] N/A
[Problem] Check MakeCurrent error happens in DDK when destroying ImageBuffer
[Cause] Because we don't call makeCurrent for gl surface, some gl calls could remain although the context already gone
[Solution] fixed to call glFlush to make sure all gl calls have been committed before destroying pixmaps

Change-Id: I7a3e7edb661985b55cc41e26767613493d2d7cb5

11 years agoThere is "%errorPageTitle%" on Scrapbook screen when page was added to Scrapbook...
Raveendra Karu [Fri, 29 Mar 2013 09:48:45 +0000 (18:48 +0900)]
There is "%errorPageTitle%" on Scrapbook screen when page was added to Scrapbook but cannot be loaded due to no internet connection

[Title] There is "%errorPageTitle%" on Scrapbook screen when page was added to Scrapbook but cannot be loaded due to no internet connection
[Issue#] P130327-7283
[Problem] Error page title is not displayed properly
[Cause] As of now, we are not adding any title while displaying the error page when an error occurs.
       Hence it is showing %errorPageTitle% in the Title bar.
[Solution] Code changes done to replace %errorPageTitle% with Heading of the error page (Similar behavior observed in Android stock browser).
[Developer] Raveendra Karu (r.karu@samsung.com)

11 years agoApply permission popup for offline application cache
Seonae Kim [Wed, 27 Mar 2013 04:22:46 +0000 (13:22 +0900)]
Apply permission popup for offline application cache

[Title] Apply permission popup for offline application cache
[Problem] N/A
[Cause] N/A
[Solution] Add permission popup routine after parsing manifest file. If user doesn't want use application cache and select 'no', cacheUpdateFailed() is called.

Change-Id: I17c57aa0db97c35ae848fbcb8be6a6346f0d42dd

11 years agoRevert "Revert "Hardware Accelerated Video Playback doesn't work on IA""
keonho07.kim [Fri, 29 Mar 2013 05:30:57 +0000 (14:30 +0900)]
Revert "Revert "Hardware Accelerated Video Playback doesn't work on IA""

This reverts commit fe630af72af05c9387735b7cebc82abdffa50bdd.

Note: we have found the root cause of the problem with Samsung SCM team, hence back to merge in.

11 years agoFix message text in number and URL input tag
jinwoo jeong [Fri, 29 Mar 2013 04:53:11 +0000 (13:53 +0900)]
Fix message text in number and URL input tag

[Title] Fix message text in number and URL input tag
[Issue#] N_SE-28998
[Problem] Wrong message in number and URL input tag
[Cause] N/A
[Solution] modify message text.

Change-Id: Ib80557fa1e7cf3d011c4fec40a49bb080ecd76e8

11 years ago[Release] Webkit2-efl-123997_0.11.7
Taeyun An [Fri, 29 Mar 2013 02:49:36 +0000 (11:49 +0900)]
[Release] Webkit2-efl-123997_0.11.7

Change-Id: I5713ff1f0110ecccd67c134cacbf97d88ea876d9

11 years agoRevert "Hardware Accelerated Video Playback doesn't work on IA"
keonho07.kim [Fri, 29 Mar 2013 02:42:41 +0000 (11:42 +0900)]
Revert "Hardware Accelerated Video Playback doesn't work on IA"

This reverts commit c8d52f59fefa39533322223815b0c4825eda8324.

Note: this commit is reverted due to an immediate request from Samsung SCM team.
      We will test and verify this patch if everything works okay with this one.

11 years agoSet value of m_suspended false after resuming of mediaElement asynchronously.
keonho07.kim [Fri, 29 Mar 2013 00:33:17 +0000 (09:33 +0900)]
Set value of m_suspended false after resuming of mediaElement asynchronously.

[Title] Set value of m_suspended false after resuming of mediaElement asynchronously.
[Problem] long horizontal video frame is displayed for while during resuming video.
[Cause] height of mediadocument is set 0 before resuming of video yet in calculateIntrinsicSize().
[Solution] Set value of m_suspended false after resuming of mediaElement asynchronously.

Change-Id: I26e0f9fe52d3a73388cae614c1f8f6a34d899650

11 years ago[Release] Webkit2-efl-123997_0.11.6
Taeyun An [Thu, 28 Mar 2013 15:09:07 +0000 (00:09 +0900)]
[Release] Webkit2-efl-123997_0.11.6

Change-Id: I205c82c2d0122a067952f66295d84e6c1c601452

11 years agoRevert "[CherryPick] Input Method upversion"
Taeyun An [Thu, 28 Mar 2013 15:01:19 +0000 (00:01 +0900)]
Revert "[CherryPick] Input Method upversion"

This reverts commit 8b1930512c6400a038d38d4f13c3c7d0669901f5.

Conflicts:

Source/WebKit2/UIProcess/API/efl/ewk_context.cpp

Change-Id: I87e8df1c9ff8c7c7293e96ca4cf53bbdd0e466fa

11 years ago[Release] Webkit2-efl-123997_0.11.5
Taehwan Kim [Thu, 28 Mar 2013 12:34:38 +0000 (21:34 +0900)]
[Release] Webkit2-efl-123997_0.11.5

Change-Id: I00abeb67f6025fbbde432a29b50454987705b82c

11 years agoDDK Check for WRT.
JungJik Lee [Thu, 28 Mar 2013 11:26:40 +0000 (20:26 +0900)]
DDK Check for WRT.

[Title] DDK Check for WRT
[Issue#] N/A
[Problem] Prevent to launch WRT without DDK(OpenGL Library)
[Cause]
[Solution] if DDK is not installed, force not to launch the WRT client.

11 years ago[CherryPick] Input Method upversion
SangYong Park [Thu, 21 Mar 2013 08:58:03 +0000 (17:58 +0900)]
[CherryPick] Input Method upversion

c261bad7c2c1ff65b9cb7617842e11b469fb6fae 132594
[CherryPick] [EFL][WK2] Move input method code out of EwkViewImpl
8ad4d36c8249c4a6842fa53f625f8ac7a9024d90 132498
[CherryPick] [EFL][WK2] Remove some C'ism from EwkView
392e6b2c0df42fdcf6790b679456753f6b79fc10 132485
[CherryPick] [EFL][WK2] Memory leak in _ewk_view_preedit_changed()
8041403842a80d5829d424b7c8eb68cd1fc5dcff 132483
[CherryPick] [EFL][WK2][AC] Regression(132392) infinite loop when displaying certain animations.
ed162a3011ee019629fde01848cc1b80e053933f 132463
[CherryPick] [EFL][WK2] Get rid of Ewk_View private C API (Part 2)
cd1b6e49e4edafa7f4d634b1483e0cf71fb2febc 132405
[CherryPick] [EFL][WK2] Get rid of Ewk_View private C API (Part 1)
4b37f75e3a220d6ee7dc869948f857347f831d67 132354
[CherryPick] [EFL][WK2] Ewk_Settings refactoring
37b3a4a14216ffbabf29d59949b34c5ab48899ee 132353
[CherryPick] [EFL][AC] Fix build break when AC is enabled
061991b08c7960869ad49688aafaff611beea773 132337
[CherryPick] [EFL][WK2] Move Ewk_View_Private_Data out of ewk_view.cpp
bec3863286163b0c991de26d849aae98633719ea 132336
[CherryPick] [EFL][WK2] Crash when passing NULL instead of ewk_view instance
fea6a2371f8bc6a6ac610ba306f416c2091a7ad5 132334
[CherryPick] [EFL][WK2] Make find and form clients C++ classes
7b933e4c13dfc8c809b93e36a03ca621b52d30d1 132326
[CherryPick] [EFL][WK2] Make History client a C++ class
3e565bbbbef8f483de24340599f9854921e465df 132217
[CherryPick] [EFL][WK2] Make request manager client a C++ class
84707780651e29d05214b869e987f246d55b1c89 132210
[CherryPick] [EFL][WK2] Add support for IMF composition
c833582ebacb4cc55bc6e1f8fa7010f8c8557ee9 132208
[CherryPick] [EFL][WK2] Make Policy client a C++ class
b80fbbd1ad4b65216d3f5d96db7ba8d016821f94 132203
[CherryPick] [EFL][WK2] Make UI client a C++ class
1f5d4170ee4da64d7912004028428323d1092998 132200
[CherryPick] [EFL][WK2] Make a download client a C++ class
ebbdf4297592c8f39c68d08eb397c58396974541 132192
[CherryPick] [EFL][WK2] Refactor Ewk_Context
a05d164bc7843e71fe64843eef1d1c3102d792f2 132189
[CherryPick] [EFL][WK2] Make page load client a C++ class
2dff6ae9b5721d0922a5d5e3f2df6b9abe19bb5e 132126
[CherryPick] [EFL][WK2] ewk_view_color_picker_color_set() is leaking
b7da18319ac14cc548220073581e9f904fb3bc82 132122
[CherryPick] [EFL][WK2] Make the resource load client a C++ class
334d3281721423c9abd7de6df997de4d02990687 132006
[CherryPick] [EFL][WK2] Make Ewk_Url_Request, Ewk_Url_Response and Ewk_Url_Scheme_Request members private
94363c78bdade28ce0da435b9040c8d9fb41f033 132004
[CherryPick] [EFL][WK2] Make Ewk_Favicon_Database members private
3dde50f46b234250b3df937566d44db32039d57a 132003
[CherryPick] [EFL][WK2] Make Ewk back / forward list classes members private and remove private C functions
30620fa7b0b137092edf736fcdfb09575b0172b8 132001
[CherryPick] [EFL][WK2] Make Ewk intent classes members private
ba5554e3c9ad21e8c49701fa1726de5e1f9ea775 132000
[CherryPick] [EFL][WK2] Make Ewk_Download_Job members private and remove private C functions
aa506089cb0603091620d34e22848805382c479a 131712
[CherryPick] [EFL][WK2] Remove '_' prefix from private API structure names
7eaa2bcc88ccb6ddac793a8ea0891358df1f0081 131654
[CherryPick] [EFL][WK2] Memory leak in ewk_download_job_response_set()
645d2757a06471c93ab3981afc8f8a9eac35a1a6 131650
[CherryPick] [EFL][WK2] Use smart pointers inside Ewk_View
5a81ee0cb47dc93d2881ee85862071ba9c5bcbc0 131575
[CherryPick] [EFL][WK2] Ewk_Url_Scheme_Request has to be refactored
f8560fcb10b0626bf8e321d296bc03d87d3a247f 131558
[CherryPick] [EFL][WK2] Start using OwnPtr for non-ref counted ewk types
4a2edb7aa077749efecc2c3a89516f1945fe85d1 131556
[CherryPick] [EFL][WK2] Use WTF RefCounted and RefPtr for Ewk_Resource and Ewk_Form_Submission_Request
3e113fc624a1edd67e34da02671e17846a3eb652 131546
[CherryPick] [EFL][WK2] Add factory methods for refcounted Ewk types
4bf9402da15e1fe50fc9a5e5e1072aafdad1f2e4 131447
[CherryPick] [WK2][EFL] Crash in _ewk_view_on_favicon_changed()
5db423158cccac4f8005ceb9ca1770d0c25d632c 131463
[CherryPick] [EFL][WK2] Have intent classes subclass RefCounted
1930e2b6435cbbe1d17fe29875b6786a1b2b7e36 131460
[CherryPick] [EFL][WK2] Inherit Ewk_Download_Job, Ewk_Back_Forward_List_Item, Ewk_Url_Response, Ewk_Navigation_Policy_Decision from RefCounted
e28661623630a58994c8b2732dc90c7c7f092398 131347
[CherryPick] [EFL][WK2] Provide implementation for PageClientImpl::toolTipChanged()
58b89dcae1ffa64095e6e2708186eb80fc506382 131337
[CherryPick] [EFL][WK2] Implement Favicons API
214817422c8d82afd5eb79b4805abf66a5bce55c 131298
[CherryPick] [EFL][WK2] Encapsulate ref counting for Ewk objects in a parent class
d092042109ff18d0cd0ca0b22624ba64366ec9e1 130978
[CherryPick] [EFL][WK2] Add toolbar buttons to MiniBrowser
5cea21848522a14ce19dd5b5312fad3a0152c293 130871
[CherryPick] [EFL][WK2] Add History callbacks API
992c20a2c91515187d06fbc0ef0c49575310ac64 130764
[CherryPick] [EFL][WK2] Inform the PageProxy about visibility changes when the view is shown/hidden.
b49831353227596bf3fd38678e805507b1e34152 130671
[CherryPick] [EFL][WK2] Avoid useless converting to WKPage
631e053405d647285661149edd47c6342ed9cd4b 130637
[CherryPick] [EFL][WK2] Use URL instead of URI in the API
a69d654b94a2c3851e71a49a2b3d240d8559a44a 130494
[CherryPick] [EFL][WK2] Remove "web" word from ewk_web_error APIs
f4799622fc108a63e77d1f56cfdbaed7e0dacdc3 130492
[CherryPick] [EFL][WK2] Add API to count the matching text
f74518c64c331024db903bc709343cc1dfe77736 130479
[CherryPick] [EFL][WK2] Remove "web" word from ewk_resource APIs
94fc25c764c33bf634c2d476a068ed08b6acaecc 130363
[CherryPick] [EFL] Enable use of X11 in DumpRenderTree / WebKitTestRunner
8cff89f2c5faf906df48011ad44e06f4c4d82e2a 130259
[CherryPick] [GTK] Add API to get the web view that initiated a custom URI request to WebKit2 GTK+
dbc4e54e3df36a758ff7b20846651ea104bbdde4 129906
[CherryPick] [WK2][GTK] Implement new Favicons API
0dfe22fae98efebc705a1e50cf5094b77a0d3a3f 129871
[CherryPick] [EFL][WK2] exceededDatabaseQuota event is not handled
aaf28b5deaecaca4782c030c9de1c86139820131 129789
[CherryPick] [WK2] IconDatabase: Add a way to notify when icon data is available
ca887f46af9b9ac0bffcea00bfb62af810b5a0bb 129765
[CherryPick] [EFL][WK2] Process touch events using mouse and multi events of Evas.
ac70e4903a2e77952ee63c4d9fd3365ac012c5c4 129758
[CherryPick] [EFL][WK2] Add callback functions for WKPageFindClient
9ba77a7258f7a4dc569a1baea16d0a3856deed31 129742
[CherryPick] [WK2] IconDatabase: Add a way to notify when icon data is available
ea161627efad4ac265b8185c82add8082281b8eb 129196
[CherryPick] [EFL][WK2] Add API to feed touch event.
56737f8fc2d31a4951d33698ad31c773326eeda9 129134
[CherryPick] [EFL][WK2] Add APIs to create, delete and get ewk_context.
4ff2b7169c5243661ad3f9fd64de4d62f52465f4 129121
[CherryPick] [EFL][WK2] Implemented color picker API
71c99cdadd411b483d6418cbdfa139554df88f2f 129101
[CherryPick] [EFL] Change the log macro names to be more consistent with EINA LOG
9be94e02356e8e5d33b90ab700eb9e7da146fa4e 128967
[CherryPick] [EFL][WK2] Add javascript popup API.
f074709e2721f4dd9a632b0bb6a296b6ab62a4a6 128962
[CherryPick] [EFL][WK2] Add log macros for EINA_LOG_DOM_XXX series
b65cf8c0522c6b9da9970a7114c205d29b31a35f 128690
[CherryPick] [EFL][WK2] Provide implementation for PageClientImpl::processDidCrash()
ceb180687607be09fffe9cce0cba8cf4dedd2c90 128560
[CherryPick] [EFL] Remove a lot of C'ism from Ewk_Tiled_Matrix
91006ec8a1b78f68f829ecdb4528cd084b14f6e5 128464
[CherryPick] [EFL] Remove a lot of C'ism from Ewk_Tiled_Backing_Store
1be84ed060e1d2faa39ca13f9ad24cc0ba858c86 128413
[CherryPick] [EFL][WK2] Make _ref() functions return the object
720806056f026dbc258b3378b63144e05d5b8daf 128191
[CherryPick] [EFL] Rewrite the EFL-related Find modules
7a4ada78943531a4e73c0a49d87bed552f87c3ae 128160
[CherryPick] [EFL][WK2] WKEinaSharedString needs a function to adopt eina stringshare.
34bc8fe810df2ff1e16f53ac5d174cc807131051 128056
[CherryPick] [EFL][WK2] Add fullscreen enter / exit signals to the ewk_view API
ed67361242abb71b2702630f59577d0a84db3783 127842
[CherryPick] [EFL][WK2] Add APIs to enable or disable the mouse events of the ewk_view.
c770bb27bd73f61980421eee5d8377e20c9a5cd3 127729
[CherryPick] [EFL] Sanitize URLs in EWebLauncher / Minibrowser
60454cecb49525dc3ef71acb084b7a4ea6185788 127686
[CherryPick] [EFL][WK2] Implement missing feature to support <select> tag
8f97462a94af52a76e729474ce0503af10433b38 127444
[CherryPick] [EFL] Drop default theme concept
4cdf2d7e0154c25a6859b6ea2af36e9b060588e7 127422
[CherryPick] [EFL][WK2] Add ewk_settings.
194bce3db2c76c43fe5049943c9daa6569b25c82 127411
[CherryPick] [EFL] Fix resizing issues related to URL bar in Minibrowser / EWebLauncher
23638a4724345b5ce57d438fe5151f1014f767cd 127390
[CherryPick] [EFL] Add missing semicolon at the end of some lines.
55e804cc12a749de0231c74d8b915754abd4374f 126866
[CherryPick] [EFL][WK2] Implement WebPopupMenuProxyEfl to support <select>
108487dee122747ba0bf25e3ce0d32da6eedb941 126844
[CherryPick] [EFL][WK2] Fix PageClientImpl layer violation
17a4f527a706c6ea8e8ce988bccdd8263592e62a 126571
[CherryPick] [EFL][WK2] Back-forward list API needs extension
3050676a36f66418664891079da34d6742d4294e 126419
[CherryPick] [EFL] Add url bar to EWebLauncher and MiniBrowser/Efl.
0df599ba6a6ea16b86a9d4c2ad03b8a676a12ce1 126019
[CherryPick] [EFL][WK2] Add unit tests for WKEinaSharedString
a45281a8b474d20cedd5bb495d2b867711328d8f 125974
[CherryPick] [EFL][WK2] Add API unit tests for Web Intents
1c5d522b7ef38649181e96af6af0479dae63500f 125969
[CherryPick] [EFL][WK2] ewk_back_forward_list_item properties should be in sync with WebProcessProxy::m_backForwardListItemMap
68a200e4e9874bdf9f728d7e40ba2c996edb9e83 125905
[CherryPick] [EFL][wk2] Add unit tests for back-forward list API
34b6efc3fcea9df2b800b0af24ba2270eb359575 125893
[CherryPick] [EFL] [WK2] Add unit tests for vibration_client_callbacks_set API
cee52ecbf720a2e28f00b1cd4d2b70b8c98b6f09 125872
[CherryPick] [EFL][WK2] Getting unnecessary  EINA_SAFETY_ON_NULL_RETURN_VAL warnings while page navigation
6cd25655b989a4997555e62e6fd632c0d6069e4a 125762
[CherryPick] [EFL][WK2] Add unit tests for Web intent registration
e7f5cabbe1a6c425eea7e95d0da48e5dca7e543b 125671
[CherryPick] [EFL][WK2] Refactoring: start using WKEinaSharedString in ewk_ classes
28fed7f21b39e38fe76c74a65e29c15c7b1da8cb 125593
[CherryPick] WebKitTestRunner needs layoutTestController.dumpResourceLoadCallbacks
268766755508446350f8f8a5f7e8ed2be5cfb0b5 125470
[CherryPick] [EFL] Unreviewed bot fix after r125467.
6624e35f35180d6a83f350c84e83c0949d5442b5 125468
[CherryPick] [EFL] Unreviewed attempt at fixing the bots after r125467.
48d9a039b16c90a1d8618942e885f4b6b03ea99d 125467
[CherryPick] [CMake] Rewrite FindLibSoup2.cmake.
56218837f9d2448b54dd651fdb8a41bdc64f7759 125443
[CherryPick] [CMake] Remove glib-related Find modules and write single new one instead.
9df6ea1a47cb4546c1db558fdbe978c66a529928 125076
[CherryPick] [WK2] Coding style violation was brought with r125031
5ab53c044f32aa1e981ec0f646338685a5fc4f38 125035
[CherryPick] [EFL] EFL Webkit needs a class wrapping eina stringshare
e696b1f65de0411c197fd7e70ad1dac7b935c2ad 125031
[CherryPick] [WK2] [WTR] Provide Resource Response dumping.
e639344c868bef01539ce85a5fafdb0ef3d8268a 124875
[CherryPick] [EFL][WK2] Add back forward list API
8189e4a4a98caaf1a7d45758ea0c770796fdcb46 124864
[CherryPick] [EFL][WK2] Add ewk_view_find_client.h / cpp for wrapping WKPageSetPageFindClient.
f9744e3d89a0b92ed62a67cc8c3191cd727d212f 124461
[CherryPick] [EFL][WK2]Add ewk_view_ui_client.
70c0375dbffcb65d3ed6ef366ecb58cd208d5ae7 124445
[CherryPick] [EFL][WK2] WTR is failing when X server is not running

Change-Id: I000211b90078dc10c151741bc94ce98eaab059be

11 years ago[Release] Webkit2-efl-123997_0.11.4
Taehwan Kim [Thu, 28 Mar 2013 09:00:08 +0000 (18:00 +0900)]
[Release] Webkit2-efl-123997_0.11.4

Change-Id: Icaf98aae6f4ab76c32cb3c5b87a8fa08cd2dc531

11 years agoHardware Accelerated Video Playback doesn't work on IA
qing.zhang [Wed, 27 Mar 2013 10:49:02 +0000 (06:49 -0400)]
Hardware Accelerated Video Playback doesn't work on IA

[Title] Be fixed. Unable to play accelerated HTML5 video in browser in IA.
[Issue#] TDIS-4849; TSZP-5002
[Problem] No support for Vaapi Sink to play accelerated video playback.
[Cause] Current solution relies on xvimagesink for accelerated video playbac
[Solution] On IA, Vaapi is used to provide the hardware accelerated video
           playback. This patch adds support for it, guarded with
           USE(ACCELERATED_VIDEO_VAAPI). This is set to true for IA. The pat
           also disables blending for video when RGBX visual is used
           instead of RGBA. This is also guarded under the same flag.
           So there is no change in the default behaviour but only for IA.
           The Changes related to vaapi in VideoLayerTizen are based on
           initial contribution from Zhao Halley,Kondapally Kalyan.

           * H264 -> HW Decoding -> HW Rendering;
           * OGV  -> SW Decoding -> HW Rendering.

Change-id: I11790303e8eacbce756a7273f3802cc05ea367af

11 years agoMerge "[CherryPick] Inappropriate validation message for required number/date input...
Jaesik Chang [Thu, 28 Mar 2013 08:02:58 +0000 (17:02 +0900)]
Merge "[CherryPick] Inappropriate validation message for required number/date input elements" into tizen_2.1

11 years agoMerge "[CherryPick] Implement ValidityState::badInput" into tizen_2.1
Jaesik Chang [Thu, 28 Mar 2013 08:02:42 +0000 (17:02 +0900)]
Merge "[CherryPick] Implement ValidityState::badInput" into tizen_2.1

11 years agoMerge "[CherryPick] Refactoring: Move the content of HTMLInputElement::subtreeHasChan...
Jaesik Chang [Thu, 28 Mar 2013 08:00:54 +0000 (17:00 +0900)]
Merge "[CherryPick] Refactoring: Move the content of HTMLInputElement::subtreeHasChanged to TextFieldInputType" into tizen_2.1

11 years agoMerge "[CherryPick] Correct input[type=number] value sanitization for user-input...
Jaesik Chang [Thu, 28 Mar 2013 08:00:05 +0000 (17:00 +0900)]
Merge "[CherryPick] Correct input[type=number] value sanitization for user-input" into tizen_2.1

11 years agoImplement the work of longtap on image in accordance with Browser UX.
Yuni Jeong [Fri, 22 Mar 2013 08:16:36 +0000 (17:16 +0900)]
Implement the work of longtap on image in accordance with Browser UX.

[Title] Implement the work of longTap on image in accordance with Browser UX.
[Issue#] P130114-4165
[Problem] The work of longTap on image differs with Browser UX.
[Cause] Not implemented.
[Solution] Implement the work of longTap on image in accordance with Browser UX.

Change-Id: I8d6d9e47abf2d6b35f5c436d35b6f7571218fdbd

11 years agoMerge "[Release] Webkit2-efl-123997_0.11.3" into tizen_2.1
Kangil Han [Thu, 28 Mar 2013 06:02:01 +0000 (15:02 +0900)]
Merge "[Release] Webkit2-efl-123997_0.11.3" into tizen_2.1

11 years ago[Release] Webkit2-efl-123997_0.11.3
Taehwan Kim [Thu, 28 Mar 2013 05:56:16 +0000 (14:56 +0900)]
[Release] Webkit2-efl-123997_0.11.3

Change-Id: Id49620c8dbc2ec60180591168a12b0b8fd62b547

11 years agoReturn undefined when browser call record() of MediaStream.
keonho07.kim [Wed, 27 Mar 2013 14:12:35 +0000 (23:12 +0900)]
Return undefined when browser call record() of MediaStream.

[Title] Return undefined when browser call record() of MediaStream.
[Problem] Media stream recording feature is supported on browser.
[Cause] It doesn't check caller of record().
[Solution] Return jsUndefined() when browser call record() of MediaStream.
caution : Merge this patch after WRT apply patch to set the TizenExtensible flag for media stream record
          and http://slp-info.sec.samsung.net/gerrit/#/c/169837/

Change-Id: I5617febc0a463dad275ed4f2458de8fbad6c1353

11 years agoMerge "Remove tizen log for Battery and web database log" into tizen_2.1
Kihong Kwon [Thu, 28 Mar 2013 04:12:34 +0000 (13:12 +0900)]
Merge "Remove tizen log for Battery and web database log" into tizen_2.1

11 years agoMerge "Change the default return value of Certificate Error handling function." into...
seung hak lee [Thu, 28 Mar 2013 04:03:42 +0000 (13:03 +0900)]
Merge "Change the default return value of Certificate Error handling function." into tizen_2.1

11 years ago[CherryPick] Inappropriate validation message for required number/date input elements
tkent@chromium.org [Mon, 11 Mar 2013 14:43:40 +0000 (14:43 +0000)]
[CherryPick] Inappropriate validation message for required number/date input elements

[Title] Inappropriate validation message for required number/date input elements
[Issues] N_SE-28998
[Problem] Input type number not showing any error message in Jquery mobile single page application[Solution] Cherry picked.
[Cherry-Picker] Jinwoo Jeong <jw00.jeong@samsung.com>

Inappropriate validation message for required number/date input elements
https://bugs.webkit.org/show_bug.cgi?id=111982

Reviewed by Kentaro Hara.

Source/WebCore:

For validation message, badInput messages should take precedence
over valueMissing messages because users already filled out the
field with a bad value.

Tests: Update fast/forms/validationMessage.html

* html/InputType.cpp:
(WebCore::InputType::validationMessage):
Check badInput first.

LayoutTests:

* fast/forms/validationMessage-expected.txt:
* fast/forms/validationMessage.html:
* platform/chromium/fast/forms/validationMessage-expected.txt:

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

Conflicts:

LayoutTests/ChangeLog
LayoutTests/fast/forms/validationMessage-expected.txt
LayoutTests/fast/forms/validationMessage.html
LayoutTests/platform/chromium/fast/forms/validationMessage-expected.txt
Source/WebCore/ChangeLog

11 years ago[CherryPick] Implement ValidityState::badInput
jinwoo jeong [Wed, 27 Mar 2013 07:09:52 +0000 (16:09 +0900)]
[CherryPick] Implement ValidityState::badInput

[Title] Implement ValidityState::badInput
[Issues] N_SE-28998
[Problem] Input type number not showing any error message in Jquery mobile single page application[Solution] Cherry picked.
[Cherry-Picker] Jinwoo Jeong <jw00.jeong@samsung.com>

Implement ValidityState::badInput
 https://bugs.webkit.org/show_bug.cgi?id=102861

 Reviewed by NOBODY (OOPS!).

 Add ValidityState::badInput, add hasBadInput, which always returns
 false, to FormAssociatedElement, HTMLInputElement, and InputType.

  For NumberInputType, we had hasUnacceptableValue, which was a hack to
  make an input element match to :invalid if the element had non-number
  strings. We don't need the hack any more because badInput affects :invalid
  style. hasUnacceptableValue is re-used for hasBadInput implementation.
  We cleared invalid numbers when elements lost focus to tell users that
  the element had invalid numbers. We don't need this behavior because the
  interactive validation tells it.

  For date/time input types, we should make an input badInput when the
  input has empty value but its sub-fields have values. It covers both of
  partial input cases such as 12/--/2012 and invalid dates such as
  02/31/2012.

  For other types, ValidityState::badInput always returns false.

  This patch doesn't contain tests for badInput validation messages. They
  will be added later.

  Tests: fast/forms/date-multiple-fields/date-multiple-fields-validity-badinput.html
         fast/forms/datetime-multiple-fields/datetime-multiple-fields-validity-badinput.html
         fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-validity-badinput.html
         fast/forms/month-multiple-fields/month-multiple-fields-validity-badinput.html
         fast/forms/number/number-validity-badinput.html
         fast/forms/time-multiple-fields/time-multiple-fields-validity-badinput.html
         fast/forms/week-multiple-fields/week-multiple-fields-validity-badinput.html

  * html/ValidityState.idl: Add badInput IDL attribute.
  * html/ValidityState.h:
  (ValidityState): Add badInput.
  * html/ValidityState.cpp:
  (WebCore::ValidityState::badInput):
  Added. Calls FormAssociatedElement::hasBadInput.

  * html/FormAssociatedElement.h:
  (FormAssociatedElement): Add hasBadInput.
  * html/FormAssociatedElement.cpp:
  (WebCore::FormAssociatedElement::hasBadInput):
  Added. It always returns false.
  (WebCore::FormAssociatedElement::valid): Takes account of hasBadInput().

  * html/HTMLInputElement.h:
  (HTMLInputElement):
  Remove hasUnacceptableValue, and add hasBadInput override.
  * html/HTMLInputElement.cpp:
  (WebCore::HTMLInputElement::hasBadInput):
  Added. Delegate to InputType::hasBadInput.
  (WebCore): Remove hasUnacceptableValue.

  * html/InputType.h:
  (InputType): Add hasBadInput and badInputText, and remove
  hasUnacceptableValue.
  * html/InputType.cpp:
  (WebCore::InputType::hasBadInput): Added. Returns false.
  (WebCore::InputType::badInputText):
  Added. This function should not be called because hasBadInput always
  returns false.
  (WebCore::InputType::validationMessage):
  Supports badInput. This returns badInputText if hasBadInput is true.

  * html/NumberInputType.h:
  (NumberInputType): Add hasBadInput and badInputTest. Remove
  handleBlurEvent and hasUnacceptableValue.
  * html/NumberInputType.cpp:
  Remove handleBlurEvent, which cleared invalid number strings.
  (WebCore::NumberInputType::hasBadInput):
  Added. We don't need to check existence of a renderer. The standard form
  validation feature doesn't care of it.
  (WebCore::NumberInputType::badInputText): Returns
  validationMessageBadInputForNumberText defined in LocalizedStrings.h.
  * css/SelectorChecker.cpp:
  (WebCore::SelectorChecker::checkOneSelector):
  Remove a hack for hasUnacceptableValue. isValidFormControlElement takes
  account of badInput.
  * dom/Element.h: Remove hasUnacceptableValue.

  * html/BaseMultipleFieldsDateAndTimeInputType.h:
  (BaseMultipleFieldsDateAndTimeInputType): Add hasBadInput and badInputText.
  * html/BaseMultipleFieldsDateAndTimeInputType.cpp:
  (WebCore::BaseMultipleFieldsDateAndTimeInputType::badInputText):
  Returns validationMessageBadInputForDateTimeText defined in LocalizedStrings.h.
  (WebCore::BaseMultipleFieldsDateAndTimeInputType::hasBadInput):
  Added.
  (WebCore::BaseMultipleFieldsDateAndTimeInputType::setValue):
  Add setNeedsValidityCheck call. It is needed because
  updateInnerTextValue can modify subfields empty state.

  * html/TextFieldInputType.cpp:
  (WebCore::TextFieldInputType::subtreeHasChanged): Update a comment.
  * platform/LocalizedStrings.h:
   (WebCore): Add validationMessageBadInputForNumberText and
   validationMessageBadInputForDateTimeText.
   * platform/LocalizedStrings.cpp:
   (WebCore::validationMessageBadInputForNumberText):
   Added a placeholder implementation. This should be fixed later.
   * platform/blackberry/LocalizedStringsBlackBerry.cpp:
   (WebCore::validationMessageBadInputForNumberText): Ditto.
   * platform/efl/LocalizedStringsEfl.cpp:
   (WebCore::validationMessageBadInputForNumberText): Ditto.
   * platform/qt/LocalizedStringsQt.cpp:
   (WebCore::validationMessageBadInputForNumberText): Ditto.

11 years ago[CherryPick] Refactoring: Move the content of HTMLInputElement::subtreeHasChanged...
tkent@chromium.org [Mon, 26 Nov 2012 00:38:30 +0000 (00:38 +0000)]
[CherryPick] Refactoring: Move the content of HTMLInputElement::subtreeHasChanged to TextFieldInputType

[Title] Refactoring: Move the content of HTMLInputElement::subtreeHasChanged to TextFieldInputType
[Issues] N_SE-28998
[Problem] Input type number not showing any error message in Jquery mobile single page application
[Solution] Cherry picked.
[Cherry-Picker] Jinwoo Jeong <jw00.jeong@samsung.com>

Refactoring: Move the content of HTMLInputElement::subtreeHasChanged to TextFieldInputType
https://bugs.webkit.org/show_bug.cgi?id=103195

Reviewed by Kentaro Hara.

HTMLInputElement::subtreeHasChanged is called only if the input is
a text field. The code should be moved to TextFieldInputType.

No new tests. This should not change any behavior.

* html/HTMLInputElement.cpp:
- Remove unnecessary NumberInputType.h inclusion.
- Remove convertFromVisibleValue. It was used only by subtreeHasChanged.
(WebCore::HTMLInputElement::subtreeHasChanged):
Move the code to TextFieldInputType::subtreeHasChanged except
calculateAndAdjustDirectionality, which is a protected member of
HTMLElement.
* html/HTMLInputElement.h:
(HTMLInputElement): Remove convertFromVisibleValue.

* html/InputType.cpp:
Move convertFromVisibleValue to TextFieldInputType.
(WebCore::InputType::subtreeHasChanged):
Add ASSERT_NOT_REACHED.
* html/InputType.h:
(InputType): Remove convertFromVisibleValue.

* html/TextFieldInputType.cpp:
(WebCore::TextFieldInputType::convertFromVisibleValue):
Moved from InputType.
(WebCore::TextFieldInputType::subtreeHasChanged):
Moved from HTMLInputElement. A latter part is moved to
didSetValueByUserEdit to be hooked by SearchInputType.
(WebCore::TextFieldInputType::didSetValueByUserEdit):
Moved from HTMLInputElement::subtreeHasChanged, and clean up the code.
* html/TextFieldInputType.h:
(TextFieldInputType):
- Move convertFromVisibleValue from InputType.
- Add didSetValueByUserEdit and subtreeHasChanged.

* html/SearchInputType.cpp:
(WebCore::SearchInputType::didSetValueByUserEdit):
Renamed from subtreeHasChanged, and calls TextFieldInputType::didSetValueByUserEdit.
* html/SearchInputType.h:
(SearchInputType): Rename subtreeHasChanged to didSetValueByUserEdit.

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

Conflicts:

Source/WebCore/ChangeLog

11 years ago[CherryPick] Correct input[type=number] value sanitization for user-input
tkent@chromium.org [Fri, 23 Nov 2012 13:11:46 +0000 (13:11 +0000)]
[CherryPick] Correct input[type=number] value sanitization for user-input

[Title] Correct input[type=number] value sanitization for user-input
[Issues] N_SE-28998
[Problem] Input type number not showing any error message in Jquery mobile single page application
[Solution] Cherry picked.
[Cherry-Picker] Jinwoo Jeong <jw00.jeong@samsung.com>

Correct input[type=number] value sanitization for user-input
https://bugs.webkit.org/show_bug.cgi?id=103018

Reviewed by Kentaro Hara.

Source/WebCore:

If a number field has non-number string, HTMLInputElement::value is not
updated and returns the past valid value. It doesn't match to the value
sanitization algorithm defined by the HTML standard [1], and Opera's
behavior. We should sanitize non-number strings to "".

[1] http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#number-state-(type=number)
> The value sanitization algorithm is as follows: If the value of the
> element is not a valid floating-point number, then set it to the empty
> string instead.

No new tests. Update existing tests;
fast/forms/number/number-commit-valid-only.html and
fast/forms/number/number-unacceptable-style.html

* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::subtreeHasChanged):
Remove isAcceptableValue check.

* html/HTMLInputElement.h:
(HTMLInputElement): isAcceptableValue is no longer needed.
* html/InputType.cpp: Remove isAcceptableValue.
* html/InputType.h: Ditto.
* html/NumberInputType.cpp: Ditto.
(WebCore::NumberInputType::hasUnacceptableValue):
Fold the isAcceptableValue content into this.
* html/NumberInputType.h:
(NumberInputType): Remove isAcceptableValue.

LayoutTests:

* fast/forms/number/number-commit-valid-only-expected.txt:
* fast/forms/number/number-commit-valid-only.html:
Update the expected HTMLInputElement::value results.
* fast/forms/number/number-unacceptable-style-expected.txt:
* fast/forms/number/number-unacceptable-style.html:
Add some checks for HTMLInputElement::value.

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

Conflicts:

LayoutTests/ChangeLog
Source/WebCore/ChangeLog

Conflicts:

Source/WebCore/ChangeLog

11 years agoAdd hide code of drag icon when webview was hide
bunam.jeon [Wed, 27 Mar 2013 06:44:18 +0000 (15:44 +0900)]
Add hide code of drag icon when webview was hide

[Title] Add hide code of drag icon when webview was hide
[Issue#] N/A
[Problem] drag icon does not disappear when webview was hide
[Cause] not implemented hide code when webview was hide
[Solution] Add hide code of drag icon in ewk_view_suspend

Change-Id: I4fda8b05aefe77806e6779da011ea6bb72e23974

11 years agoAdd ewk_web_application_icon_data.h to EWebKit2_HEADERS
Jihye Kang [Thu, 28 Mar 2013 02:32:49 +0000 (11:32 +0900)]
Add ewk_web_application_icon_data.h to EWebKit2_HEADERS

[Title] Fix build break on osp-web, wrt, org.tizen.setting
[Issue#]
[Problem] build break on osp-web, wrt, org.tizen.setting
[Cause] ewk_web_application_icon_data.h is missing on EWebKit2_HEADERS
[Solution] add ewk_web_application_icon_data.h to EWebKit2_HEADERS

Change-Id: Ib849976931c82f3264fc322db3079b48f86d4dde

11 years agoChange the default return value of Certificate Error handling function.
Sungman Kim [Thu, 28 Mar 2013 02:12:09 +0000 (11:12 +0900)]
Change the default return value of Certificate Error handling function.

[Title] Change the default return value for certificate error handling.
[Issue#] N/A
[Problem] When the xmlhttprequest load request synchronously and in case of https, Page doesn't be displayed normally.
[Cause] When receive the header, didReceiveCertificateError function that is needed to continue for https return always false. It is a default value.
[Solution] Change the default value to true so that can continue about https resource handling.
[SCMRequest] N/A

Change-Id: Iacdecab429015a2e70919b02ba7633f7c389ccdb

11 years agoRemove tizen log for Battery and web database log
Jiyeon Kim [Thu, 28 Mar 2013 02:15:10 +0000 (11:15 +0900)]
Remove tizen log for Battery and web database log

[Title] Remove tizen log for BatteryProviderEfl.cpp
[Problem] N/A
[Cause] N/A
[Solution] These are unnecessary log

Change-Id: I18419c31fe3cd0819144e383a008ae4abcfd75aa

11 years agoFixed text selection is cleared when user try to scroll in editable content.
Yuni Jeong [Tue, 26 Mar 2013 10:12:05 +0000 (19:12 +0900)]
Fixed text selection is cleared when user try to scroll in editable content.

[Title] Fixed text selection is cleared when user try to scroll in editable content.
[Issue#] P130301-2648
[Problem] text selection is cleared when user try to scroll in editable content.
[Cause] There is routine to clear text selection when user try to scroll in editable content.
[Solution] Removed routine to clear text selection when user try to scroll in editable content.
           Added routine to update text selection when scrolling is performed by javascript.

Change-Id: I233a187a4cf1a257bd981e7bb33b0db9c1f2302b

11 years agoFix incorrect scroll position adjustment on device rotation
Changhyup Jwa [Wed, 27 Mar 2013 05:27:07 +0000 (14:27 +0900)]
Fix incorrect scroll position adjustment on device rotation

[Title] Fix incorrect scroll position adjustment on device rotation
[issue#] N/A
[Problem] Scroll position moved incorrectly on device rotation
[Cause] By patch d7e58608b9d5f779a796e0459a60849079c10faf, scroll position
        is adjusted by constrainsScrollingToContentEdge
[Solution] Disable constrainsScrollingToContentEdge until viewport attibutes
        change handling

Change-Id: Ica53a9a68e4bb6c4ccfa0b436005bddaa745fd13

11 years ago[WK2] Fix for white screen on device-orientation change
“prabhavathi” [Mon, 25 Mar 2013 05:23:34 +0000 (10:53 +0530)]
[WK2] Fix for white screen on device-orientation change

[Title]  Fix for white screen on device-orientation change
[issue#] N_SE-26272
[Problem] Width and height is not updated in webprocess, when JS querying for it
[Solution] Setting the width and height on view port attributes change
[Developer] prabha.p

Change-Id: I141cf5501d5afa4580d09407f16da04e4ca27566

11 years ago[Release] Webkit2-efl-123997_0.11.2
Taehwan Kim [Wed, 27 Mar 2013 06:22:10 +0000 (15:22 +0900)]
[Release] Webkit2-efl-123997_0.11.2

Change-Id: I4a9229f079397bd39cc8a14846a2c22f373c09dd

11 years ago[Cherry-pick] Use -webkit-clip-path shapes to clip HTML elements
krit@webkit.org [Wed, 5 Sep 2012 17:48:19 +0000 (17:48 +0000)]
[Cherry-pick] Use -webkit-clip-path shapes to clip HTML elements

[Title] Use -webkit-clip-path shapes to clip HTML elements
[Issues] N/A
[Problem] N/A
[Solution] Cherry picked.
[Cherry-Picker] Sanghyup Lee <sh53.lee@samsung.com>

Use -webkit-clip-path shapes to clip HTML elements
https://bugs.webkit.org/show_bug.cgi?id=95646

Reviewed by Dean Jackson.

Source/WebCore:

-webkit-clip-path creates a new layer for HTML elements now. The border,
background and content gets clipped by the clip path after any filter was
applied.

Tests: css3/masking/clip-path-circle-filter.html
       css3/masking/clip-path-circle-overflow.html
       css3/masking/clip-path-circle-overflow-hidden.html
       css3/masking/clip-path-circle-relative-overflow.html
       css3/masking/clip-path-circle.html
       css3/masking/clip-path-ellipse.html
       css3/masking/clip-path-polygon-evenodd.html
       css3/masking/clip-path-polygon-nonzero.html
       css3/masking/clip-path-polygon.html
       css3/masking/clip-path-rectangle.html

* rendering/RenderBox.h: Create new layer on clip-path.
* rendering/RenderBoxModelObject.h:
(WebCore::RenderBoxModelObject::requiresLayer): Create new layer on clip-path.
* rendering/RenderInline.h:
(WebCore::RenderInline::requiresLayer): Create new layer on clip-path.
* rendering/RenderLayer.cpp: Apply clip-path on context of object.
(WebCore::RenderLayer::paintLayerContents): Create new layer on clip-path.
* rendering/RenderObject.h:
(WebCore::RenderObject::hasClipPath): Indicates that renderer needs to be clipped by clip-path.
* rendering/RenderTableRow.h: Create new layer on clip-path.

LayoutTests:

Added new tests for the -webkit-clip-path property applied to HTML content.

* css3/masking/clip-path-circle-filter.html: Added.
* css3/masking/clip-path-circle-overflow.html: Added.
* css3/masking/clip-path-circle-relative-overflow.html: Added.
* css3/masking/clip-path-circle-overflow-hidden.html: Added.
* css3/masking/clip-path-circle.html: Added.
* css3/masking/clip-path-ellipse.html: Added.
* css3/masking/clip-path-polygon-evenodd.html: Added.
* css3/masking/clip-path-polygon-nonzero.html: Added.
* css3/masking/clip-path-polygon.html: Added.
* css3/masking/clip-path-rectangle.html: Added.
* platform/chromium/TestExpectations:
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/css3/masking/clip-path-circle-expected.png: Added.
* platform/mac/css3/masking/clip-path-circle-expected.txt: Added.
* platform/mac/css3/masking/clip-path-circle-filter-expected.png: Added.
* platform/mac/css3/masking/clip-path-circle-filter-expected.txt: Added.
* platform/mac/css3/masking/clip-path-circle-overflow-expected.png: Added.
* platform/mac/css3/masking/clip-path-circle-overflow-expected.txt: Added.
* platform/mac/css3/masking/clip-path-circle-overflow-hidden-expected.png: Added.
* platform/mac/css3/masking/clip-path-circle-overflow-hidden-expected.txt: Added.
* platform/mac/css3/masking/clip-path-circle-relative-overflow-expected.png: Added.
* platform/mac/css3/masking/clip-path-circle-relative-overflow-expected.txt: Added.
* platform/mac/css3/masking/clip-path-ellipse-expected.png: Added.
* platform/mac/css3/masking/clip-path-ellipse-expected.txt: Added.
* platform/mac/css3/masking/clip-path-polygon-evenodd-expected.png: Added.
* platform/mac/css3/masking/clip-path-polygon-evenodd-expected.txt: Added.
* platform/mac/css3/masking/clip-path-polygon-expected.png: Added.
* platform/mac/css3/masking/clip-path-polygon-expected.txt: Added.
* platform/mac/css3/masking/clip-path-polygon-nonzero-expected.png: Added.
* platform/mac/css3/masking/clip-path-polygon-nonzero-expected.txt: Added.
* platform/mac/css3/masking/clip-path-rectangle-expected.png: Added.
* platform/mac/css3/masking/clip-path-rectangle-expected.txt: Added.

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

Conflicts:

LayoutTests/ChangeLog
LayoutTests/platform/chromium/TestExpectations
LayoutTests/platform/efl/TestExpectations
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBox.h
Source/WebCore/rendering/RenderBoxModelObject.h
Source/WebCore/rendering/RenderInline.h
Source/WebCore/rendering/RenderLayer.cpp
Source/WebCore/rendering/RenderTableRow.h

Change-Id: I66be251285f5966180f4b365fdb8342342d691a0

11 years ago[Cherry-pick] -webkit-clip-path does not apply origin for polygon()
krit@webkit.org [Wed, 5 Sep 2012 03:57:56 +0000 (03:57 +0000)]
[Cherry-pick] -webkit-clip-path does not apply origin for polygon()

[Title] -webkit-clip-path does not apply origin for polygon()
[Issues] N/A
[Problem] N/A
[Solution] Cherry picked.
[Cherry-Picker] Sanghyup Lee <sh53.lee@samsung.com>

-webkit-clip-path does not apply origin for polygon()
https://bugs.webkit.org/show_bug.cgi?id=95656

Reviewed by Tim Horton.

Source/WebCore:

The polygon() shape function did not apply origin of bouding box on created path. The shape was
not moved to the correct position.

Tests: svg/clip-path/clip-path-shape-polygon-relative-expected.svg
       svg/clip-path/clip-path-shape-polygon-relative.svg

* rendering/style/BasicShapes.cpp:
(WebCore::BasicShapePolygon::path): Apply origin of bounding box.

LayoutTests:

Check that the origin of the bounding box gets applied to the clip path.

* svg/clip-path/clip-path-shape-polygon-relative-expected.svg: Added.
* svg/clip-path/clip-path-shape-polygon-relative.svg: Added.

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

Conflicts:

LayoutTests/ChangeLog
Source/WebCore/ChangeLog

Change-Id: Id302fd04f2856653c8dfdfe52fa5b467856b3f79