framework/web/webkit-efl.git
11 years agoApply elm access to screen reader
SangYong Park [Wed, 17 Apr 2013 10:37:16 +0000 (19:37 +0900)]
Apply elm access to screen reader

[Title] Apply elm access to screen reader
[Issue#] N/A
[Problem] Screen reader did not operated with other module
[Cause] The way had not been defined.
[Solution] Apply efl's guideline

Change-Id: I597687231fc274ec1715d68d56dabdb67589e79a

11 years agoRefine focus ring repainting code when web contents was changed.
SangYong Park [Tue, 23 Apr 2013 20:13:23 +0000 (05:13 +0900)]
Refine focus ring repainting code when web contents was changed.

[Title] Refine focus ring repainting code when web contents was changed.
[Issue#] N/A
[Problem] The code was confused.
[Cause] The code has been written in several places.
[Solution] Refine code.

Change-Id: Ifc735ea360a47063effb5295ca7b8e95644c7253

11 years agoUse the env value "TIZEN_WEBKIT_DIRECT_RENDERING" to enable EVAS_GL_DIRECT_RENDERING.
Hyowon Kim [Tue, 16 Apr 2013 09:33:09 +0000 (18:33 +0900)]
Use the env value "TIZEN_WEBKIT_DIRECT_RENDERING" to enable EVAS_GL_DIRECT_RENDERING.
Default value is On.
Therefore, if you want to disable direct rendering explicitly,
set the env value "TIZEN_WEBKIT_DIRECT_RENDERING" as 0.

[Title] Use the env value "TIZEN_WEBKIT_DIRECT_RENDERING" to enable EVAS_GL_DIRECT_RENDERING.
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A

Change-Id: Ia039c9b7a809010d542ebdbff90f1f3b5dc700e3

Conflicts:

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

11 years agoMerge "Remove ALOG logging channels" into tizen_2.1
InBum Chang [Thu, 2 May 2013 02:37:19 +0000 (11:37 +0900)]
Merge "Remove ALOG logging channels" into tizen_2.1

11 years agoMerge "Apply secure log to plugins" into tizen_2.1
InBum Chang [Thu, 2 May 2013 02:36:55 +0000 (11:36 +0900)]
Merge "Apply secure log to plugins" into tizen_2.1

11 years agoMerge "Change Tizen Log macros" into tizen_2.1
InBum Chang [Thu, 2 May 2013 02:36:27 +0000 (11:36 +0900)]
Merge "Change Tizen Log macros" into tizen_2.1

11 years agoRemove unused member variable and function of MediaRecorder.
eojin.ham [Wed, 24 Apr 2013 06:24:15 +0000 (15:24 +0900)]
Remove unused member variable and function of MediaRecorder.

[Title] Remove unused member variable and function of MediaRecorder.
[Issue#] n/a
[Problem] n/a
[Cause] n/a
[Solution] Remove unused member variable and function of MediaRecorder.

Change-Id: I216c68714bbb431c085e2386d0382e1590b6aa08

11 years agoAudioSessionManger is applied to getUserMedia.
keonho07.kim [Tue, 30 Apr 2013 13:57:51 +0000 (22:57 +0900)]
AudioSessionManger is applied to getUserMedia.

[Title] AudioSessionManger is applied to getUserMedia.
[Problem] N_SE-36337
[Cause] N/A
[Solution] Makes getUserMedia's video element to pause() if it got a call.

Change-Id: I88c7ebb6fb7b1a9f3585970c2fb27fde5570f083

11 years agoSupport external keyboard function (SelectAll, Cut, Copy, Paste)
Taeyun An [Tue, 30 Apr 2013 06:35:44 +0000 (15:35 +0900)]
Support external keyboard function (SelectAll, Cut, Copy, Paste)

[Title] Support BT keyboard function (SelectAll, Cut, Copy, Paste)
[Issue#] N/A
[Problem] Not supported SelectAll, Cut, Copy, Paste function by external keyboard
[Cause] There is no code for external keyboard.
[Solution] Add code for external keyboard.

Change-Id: Id11675a6f6a4e0da64a26832be8a8a5bf8085a00

11 years agoFix ime candidate panel flickering issue
SangYong Park [Tue, 30 Apr 2013 10:52:06 +0000 (19:52 +0900)]
Fix ime candidate panel flickering issue

[Title] Fix ime candidate panel flickering issue
[Issue#] N/A
[Problem] IME candidate panel flickered in email composer
[Cause] IME state callback did not called
[Solution] Set state to 'will show' when show keypad

Change-Id: I7bb27067f6c2698bba0f26f76951ad7e8553c6ed

11 years agocheck minimum size for gl canvas
Kyungjin Kim [Tue, 30 Apr 2013 12:08:11 +0000 (21:08 +0900)]
check minimum size for gl canvas

[Title] check minimum size for gl canvas
[Issue#] N/A
[Problem] N_SE-36822
[Cause] if the canvas size is too small, no benefit to acceletate it
[Solution] set minimum size to 32 for gl canvas

Change-Id: I6377caae6a4ba7c742bd6ecb40b6ac4b02a18457

11 years agoFixed for widget crash when multiple authentication has to be done.
Sungman Kim [Tue, 30 Apr 2013 09:14:49 +0000 (18:14 +0900)]
Fixed for widget crash when multiple authentication has to be done.

When the multiple authentication message is sent to WRT,
the crash is occurred after second popup because authenticationChallengeProxy is released.

[Title] Fixed for widget crash when multiple authentication has to be done.
[Issue#] N/A
[Problem] When the multiple authentication message is sent to WRT from webkit, crash is occurred.
[Cause] authenticationChallengeProxy is release after second message.
[Solution] Change the send messgae method to sendSync with delayed option.
[SCMRequest] N/A

Change-Id: Icf1b0d3738759ae2f54137ba852eca1d873215ac

11 years agoAdd a flag for pre-rendering for rotation in TizenExtensibleAPI.
eojin.ham [Tue, 30 Apr 2013 09:09:30 +0000 (18:09 +0900)]
Add a flag for pre-rendering for rotation in TizenExtensibleAPI.

[Title] Add a flag for pre-rendering for rotation in TizenExtensibleAPI.
[Problem]
[Cause] It is necessary to have different behavior between browser and web app during rotating device.
        Logic of TIZEN_PRERENDERING_FOR_ROTATION will be applied to web app at every rotation.
        But it will be applied to browser only in fullscreen mode.
[Solution] Add a flag for pre-rendering for rotate in TizenExtensibleAPI.

Change-Id: Ic2972cf8f5d34b589ff0093b9e9f54b5fee4f9c8

11 years ago[CherryPick] [EFL] Cancel mark on search field is not displayed
gyuyoung.kim@samsung.com [Mon, 18 Mar 2013 10:13:19 +0000 (10:13 +0000)]
[CherryPick] [EFL] Cancel mark on search field is not displayed

[EFL] Cancel mark on search field is not displayed
https://bugs.webkit.org/show_bug.cgi?id=94880

Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

adjustSearchFieldCancelButtonStyle() doesn't set style width and height for search cancel button.
So, the button isn't showing up in search input field. Besides the button size should be scaled based
on the font size as chromium, qt, and blackberry ports.

Tests: fast/forms/search-cancel-button-style-sharing.html
       fast/forms/search-rtl.html

* platform/efl/RenderThemeEfl.cpp:
(WebCore):
(WebCore::RenderThemeEfl::adjustSearchFieldCancelButtonStyle):

LayoutTests:

Rebaseline expected results related to search cancel button.

* platform/efl-wk1/TestExpectations: These tests don't work with WK1 pixel test yet.
* platform/efl/TestExpectations:
* platform/efl/fast/forms/search-cancel-button-style-sharing-expected.png:
* platform/efl/fast/forms/search-cancel-button-style-sharing-expected.txt:
* platform/efl/fast/forms/search-rtl-expected.png:
* platform/efl/fast/forms/search-rtl-expected.txt:

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

Conflicts:

LayoutTests/ChangeLog
LayoutTests/platform/efl-wk1/TestExpectations
LayoutTests/platform/efl/TestExpectations
LayoutTests/platform/efl/fast/forms/search-cancel-button-style-sharing-expected.png
LayoutTests/platform/efl/fast/forms/search-cancel-button-style-sharing-expected.txt
LayoutTests/platform/efl/fast/forms/search-rtl-expected.png
LayoutTests/platform/efl/fast/forms/search-rtl-expected.txt
Source/WebCore/ChangeLog

Change-Id: Ie75c38ec713bf6b60264dce04d468c74ae2f9004

11 years ago[CherryPick] Fullscreen element should not share styles with its siblings
Seonae Kim [Tue, 30 Apr 2013 09:36:58 +0000 (18:36 +0900)]
[CherryPick] Fullscreen element should not share styles with its siblings

[Title][CherryPick] Fullscreen element should not share styles with its siblings
[Issue] N/A
[Problem] The size of video element is calculated incorrectly sometimes when entering fullscreen.
[Cause] If fullscreen element has sibling, do share the style of sibling element.
[Solution] Cherry picked.
[Cherry-Picker] Seonae Kim

Fullscreen element should not share styles with it's siblings.
https://bugs.webkit.org/show_bug.cgi?id=106888

Reviewed by NOBODY (OOPS!).

Test: fullscreen/full-screen-no-style-sharing.html

* css/StyleResolver.cpp:
(WebCore::StyleResolver::canShareStyleWithElement):

Change-Id: I533bad9411777947546fbf37e0c9bf32f7166593

11 years agoFree memory properly for keygen and generate key everytime
Jihye Kang [Mon, 29 Apr 2013 13:09:53 +0000 (22:09 +0900)]
Free memory properly for keygen and generate key everytime

[Title] Free memory properly for keygen and generate key everytime
[Issue#] P130426-7863
[Problem] Browser closed when using keygen twice
[Cause] Free already freed memory
[Solution] EVP_PKEY_assign_RSA(EVP_PKEY *pkey, RSA *key) uses the supplied key internally so key will be freed when the parent pkey is freed.
So do not free RSA if RSA is successfully assigned to PKEY.
Additionally, remove unnecessary RSA_new() for avoiding memory leak.
Also make keygen generate key for every submit press as it is the same behavior of other browsers.

Change-Id: Ie146c3c78698a0dd65190424afa7f861be5a08ac

11 years agoUse Settings Font for web app when font-family is "Tizen"
Hyeonji Kim [Fri, 26 Apr 2013 11:27:04 +0000 (20:27 +0900)]
Use Settings Font for web app when font-family is "Tizen"

[Title] Use Settings Font for web app when font-family is "Tizen"
[Issue#] N/A
[Problem] When web app is resumed after changing Settings font type, the font of web app is not changed
[Cause] It needs page layout to apply the font which is changed in Settings
[Solution] When font-family is "Tizen", use system's Settings font as default font-family and do layout to apply the font

Change-Id: I88a07e9435c391e52ac5cbf0f5be5ef4b6e3e92c

11 years agoAdded APIs to get font/background color of selected text.
Yuni Jeong [Tue, 30 Apr 2013 06:31:39 +0000 (15:31 +0900)]
Added APIs to get font/background color of selected text.

[Title] Added APIs to get font/background color of selected text.
[Issue#] P130424-8635
[Problem] Font/Background color of text toolbar in email composer is not changed to font/background color of selected text.
[Cause] There are no APIs to get font/background color of selected text.
        So, Email can not change font/background color of text toolbar to font/background color of selected text.
[Solution] Added APIs to get font/background color of selected text.

Change-Id: I91ce18d72b1ab28b49220740d3791380d70ac0ce

11 years ago[Release] Webkit2-efl-123997_0.11.37
Sanghyup Lee [Tue, 30 Apr 2013 07:50:23 +0000 (16:50 +0900)]
[Release] Webkit2-efl-123997_0.11.37

Change-Id: I00837fdb9248e6dc1c23265cb31b3368633e4a0c

11 years agoInitialize handles mouse down value when selection mode is false.
Taeyun An [Mon, 29 Apr 2013 07:23:52 +0000 (16:23 +0900)]
Initialize handles mouse down value when selection mode is false.

[Title] Initialize handles mouse down value when selection mode is false.
[Issue#] N_SE-36670
[Problem] Context menu isn't disapper when longpressed on handle in Interner-ref
[Cause] There is no initialize code for handles mouse down value. So it ignored longpress event happend from handles.
[Solution] Add handles mousedown value initialize code.

Change-Id: I5040827fc416872f92d93c44d033716c69ec14e8

11 years agoChange the location to update the style of media control
Seonae Kim [Mon, 29 Apr 2013 07:19:20 +0000 (16:19 +0900)]
Change the location to update the style of media control

[Title] Change the location to update the style of media control
[Issue] N_SE-36453
[Problem] The size of media control is too large.
[Cause] When entering fullscreen from some element not fullscreen button, media control is not yet created in wrt.
[Solution] Updated the style when creating media control

Change-Id: Icc6afe4bdf7b87096c9b20e469ce1945f17e4ac3

11 years agoMerge "Fix build break by removing TIZEN_RECORDING_SURFACE_SET" into tizen_2.1
Heejin Chung [Mon, 29 Apr 2013 10:12:09 +0000 (19:12 +0900)]
Merge "Fix build break by removing TIZEN_RECORDING_SURFACE_SET" into tizen_2.1

11 years agoFix build break by removing TIZEN_RECORDING_SURFACE_SET
Gyuyoung Kim [Mon, 29 Apr 2013 08:00:09 +0000 (17:00 +0900)]
Fix build break by removing TIZEN_RECORDING_SURFACE_SET

Change-Id: Ia8648b935687dbc0238eb4ae8c45efed0108f462

11 years agoAdd NULL check routine for frame on FrameView::scrollTo (N_SE-36624)
KyungTae Kim [Mon, 29 Apr 2013 06:24:46 +0000 (15:24 +0900)]
Add NULL check routine for frame on FrameView::scrollTo (N_SE-36624)

 [Title] Add NULL check routine for frame on FrameView::scrollTo
 [Issue] N_SE-36624 (same with http://slp-info.sec.samsung.net/gerrit/#/c/179408/)
 [Problem] Segmentation Fault on FrameView::scrollPositionChanged() because the frame() is NULL.
 [Cause]
  FrameView::scrollTo was called from resetScrollbars during FrameView destruction.
  In this case, because the frame() can be NULL, the below codes that access the frame() shouldn't be executed.
 [Solution] Add NULL check routine.

Change-Id: I7eb507659901fd28c3e18969f3798cf84a1062b6

11 years agoRevert "Revert "Remove TIZEN_RECORDING_SURFACE_SET and TIZEN_RECORDING_SURFACE_PAINT_...
Gyuyoung Kim [Thu, 25 Apr 2013 01:57:45 +0000 (10:57 +0900)]
Revert "Revert "Remove TIZEN_RECORDING_SURFACE_SET and TIZEN_RECORDING_SURFACE_PAINT_THREAD""

This reverts commit 4c9c28cc2bfad040465705432cc3256ba1f9ce17.

Conflicts:

Source/WebKit2/WebProcess/WebPage/efl/tizen/TiledBackingStoreRemoteTileTizen.cpp

Change-Id: I8f6d79a384ef4535d6b19844eb5df69e6a8d3c12

11 years agoCheck node value when called getFocusedRect method
Taeyun An [Fri, 26 Apr 2013 10:50:01 +0000 (19:50 +0900)]
Check node value when called getFocusedRect method

[Title] Check node value when called getFocusedRect method
[Issue#] P130426-5253
[Problem] When push the View more tweets in twitter app Webprocess
[Cause] Missing null check routine node value while proceed getFocusedRect method.
[Solution] Adding check routine for node value.

Change-Id: I381685b7a3e3c7595d7e38f5c196ba157535d78b

11 years agoSet the threshold value of tile size for tile partial update.
Eunsol Park [Thu, 25 Apr 2013 02:51:49 +0000 (11:51 +0900)]
Set the threshold value of tile size for tile partial update.

[Title] Limitation of the tile size on partial update
[Issue#] N/A
[Problem] Aquarium and Toon shading test result regressed due to partial update.
[Cause] Partial update takes even longer than repainting whole tile.
[Solution] Added the threshold value of tile size for tile partial update.

Change-Id: I03a3885d560a1c42a4688042ef3dac4ed02c2afc

11 years agoUpdate tile partially
Eunsol Park [Fri, 26 Apr 2013 07:52:54 +0000 (16:52 +0900)]
Update tile partially

    [Title] Update tile partially
    [Issue#] N/A
    [Problem] BrowserMark2 CSS 2D Transform test result is behind competitors.
    [Cause] Painting takes too long due to whole tile update.
    [Solution] Copy painted tile to empty tile and paint only dirty area.

Change-Id: I472a9933e47a0d9dd6000ff5b01462a42126d315

11 years ago[Release] Webkit2-efl-123997_0.11.36 accepted/tizen_2.1/20130426.150610 submit/tizen_2.1/20130426.153153
Taehwan Kim [Fri, 26 Apr 2013 08:03:35 +0000 (17:03 +0900)]
[Release] Webkit2-efl-123997_0.11.36

Change-Id: Iae9d9254af1cdb0b9dacb9d597f0f19f270be535

11 years agoSync the focused Frame with the mouse pressed Node.
Jaehun Lim [Fri, 26 Apr 2013 06:11:38 +0000 (15:11 +0900)]
Sync the focused Frame with the mouse pressed Node.

[Title] Sync the focused Frame with the mouse pressed Node.
[Issus#] N_SE-35881
[Problem] The scrolling is disabled in Google+ notification.
[Cause] The pressed Node is not in the focused Frame sometimes.
[Solution] changeFocusedFrameAndNode() changes both Frame and Node.

Change-Id: I2db4c7db5162c2fe1119feb9539a807b31ed2111

11 years agoNegative zero checks cause unnecessary speculation failures on SunSpider on ARMv7...
Jeong [Fri, 26 Apr 2013 02:47:55 +0000 (11:47 +0900)]
Negative zero checks cause unnecessary speculation failures on SunSpider on ARMv7. (https://bugs.webkit.org/show_bug.cgi?id=113862)

[Title] Negative zero checks cause unnecessary speculation failures on SunSpider on ARMv7.
[Issue#] N/A
[Problem] While testing SunSpider math-spectral-norm on x86-64 and ARMv7 Linux,
          there are a lot of "Speculation failures" on ARM, but not on x86.
[Cause] N/A
[Solution] Check nodeCanIgnoreNegativeZero() for DoubleAsInt32 nodes, and create zero-check only when needed.

Change-Id: I50384d628a7ed8928d1378c52fe100f6de02197d

11 years agoBuild Error patch for "Volume key scenario has been applied for media element and...
keonho07.kim [Fri, 26 Apr 2013 02:06:37 +0000 (11:06 +0900)]
Build Error patch for "Volume key scenario has been applied for media element and webaudio."

[Title] Build Error patch for "Volume key senario has been applied for media element and webaudio."
[Problem] DCM-1102
[Cause] N/A
[Solution] N/A

Change-Id: Icb998412b249399f7f5f93f5ecf945e55f4044c2

11 years ago Fix for "wrong context menu is displayed"
Dhirendra Kumar [Fri, 19 Apr 2013 07:26:33 +0000 (16:26 +0900)]
 Fix for "wrong context menu is displayed"

 [Title] Fix for displaying correct context menu in case of a link
         tag with image and text tags as children.
 [Issue#] WEB-2938
 [Problem] When user taps on "Selection mode" on a context-menu with images
           below, again the same items are added to the menu rather than
           items specific to images.
 [Cause] When user taps on "Selection mode", various context-menu
           items are added to it. Here check for range selection was missing.
 [Solution] Added condition for frame->selection()->isRange() along with others
            while appending context-menu items.
 [Developer] Dhirendra Kumar(dhirendra.kr@samsung.com)

Change-Id: I1bfc30693c937175fc52cf15ca539a6faddd0682

11 years agoVolume key scenario has been applied for media element and webaudio.
keonho07.kim [Thu, 25 Apr 2013 16:41:18 +0000 (01:41 +0900)]
Volume key scenario has been applied for media element and webaudio.

[Title] Volume key senario has been applied for media element and webaudio.
[Problem] DCM-1102
[Cause] N/A
[Solution] N/A

Change-Id: Ib1c2a5da00aaccad87b3cdda492701b26517ae5f

11 years agoFixed left/right text selection handle is not moved smoothly in case that host keyboa...
Yuni Jeong [Wed, 24 Apr 2013 12:06:07 +0000 (21:06 +0900)]
Fixed left/right text selection handle is not moved smoothly in case that host keyboard is used.

[Title] Fixed left/right text selection handle is not moved smoothly in case that host keyboard is used.
[Issue#] N/A
[Problem] Left/Right text selection handle is not moved smoothly in case that host keyboard is used.
[Cause] Because showIMFContext() function is called.
[Solution] If "isTextSelectionMode() && isTextSelectionHandleDowned()" is true,
           added routine to return for preventing from calling showIMFContext() function.

Change-Id: I5c7e71ab329d84b2202c875ebb81b29537f5409c

11 years ago[CherryPick] Fire webkitfullscreenchange event for element inside an iframe when...
eojin.ham [Wed, 24 Apr 2013 03:08:08 +0000 (12:08 +0900)]
[CherryPick] Fire webkitfullscreenchange event for element inside an iframe when exiting full screen.

[Title] Fire webkitfullscreenchange event for element inside an iframe when exiting full screen.
[Problem] webkitfullscreenchange is not fired when exiting full screen if the element exiting is inside an iframe.
[Cause] webkitCancelFullScreen exits fullscreen by invoking webkitExitFullScreen on topDocument.
        However, if webkitDidExitFullScreenForElement is invoked on a descendant document, no events get dispatched.
[Solution] Start the event dispatch delay timer on the document where webkitCancelFullScreen was called.
[CherryPicker] Eojin ham

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

Change-Id: I1efd496c6e6bea07da6ec5721875c0ceb58951b2

11 years ago[Cherry-pick] [EFL][WK2] Add ewk_settings APIs for text autosizing
Jaehun Lim [Tue, 23 Apr 2013 11:19:31 +0000 (20:19 +0900)]
[Cherry-pick] [EFL][WK2] Add ewk_settings APIs for text autosizing

[EFL][WK2] Add ewk_settings APIs for text autosizing
https://bugs.webkit.org/show_bug.cgi?id=103342

Reviewed by Kenneth Rohde Christiansen.

Add ewk_settings_text_autosizing_enabled_get / set() functions.
Text autosizing is disabled by default.

* UIProcess/API/efl/ewk_settings.cpp:
(ewk_settings_text_autosizing_enabled_set):
(ewk_settings_text_autosizing_enabled_get):
* UIProcess/API/efl/ewk_settings.h:
* UIProcess/API/efl/tests/test_ewk2_settings.cpp:
(TEST_F):

Change-Id: Id519d9fe9e983b3d61b83f0d393d0082c2c01c60

11 years ago[Cherry-pick] Remove dependency on RenderStyle from FractionalLayoutBoxExtent and...
Jaehun Lim [Tue, 23 Apr 2013 11:02:12 +0000 (20:02 +0900)]
[Cherry-pick] Remove dependency on RenderStyle from FractionalLayoutBoxExtent and LayoutBox

Remove dependency on RenderStyle from FractionalLayoutBoxExtent and LayoutBox
https://bugs.webkit.org/show_bug.cgi?id=94146

Reviewed by Eric Seidel.

FractionalLayoutBoxExtent and LayoutBox currently have a dependency on
RenderStyle to resolve writing mode and text direction.
This is undesirable and breaks encapsulation.

Change FractionalLayoutBoxExtent and LengthBox to take a writing mode
parameter, and text direction as needed, instead of a pointer to a
RenderStyle object.

No new tests, no change in functionality.

* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
Add new WritingMode.h file.

* css/CSSPrimitiveValueMappings.h:
* css/CSSProperty.h:
* css/CSSToStyleMap.h:
Change includes as needed.

* platform/LengthBox.h:
* platform/LengthBox.cpp:
(WebCore::LengthBox::logicalLeft):
(WebCore::LengthBox::logicalRight):
(WebCore::LengthBox::before):
(WebCore::LengthBox::after):
Change methods to take a WirtingMode parameter instead of a RenderStyle pointer.

(WebCore::LengthBox::start):
(WebCore::LengthBox::end):
Change methods to take WritingMode and TextDirection parameters instead of a RenderStyle pointer.

* platform/graphics/FractionalLayoutBoxExtent.h:
* platform/graphics/FractionalLayoutBoxExtent.cpp:
(WebCore::FractionalLayoutBoxExtent::logicalTop):
(WebCore::FractionalLayoutBoxExtent::logicalBottom):
(WebCore::FractionalLayoutBoxExtent::logicalLeft):
(WebCore::FractionalLayoutBoxExtent::logicalRight):
(WebCore::FractionalLayoutBoxExtent::before):
(WebCore::FractionalLayoutBoxExtent::after):
(WebCore::FractionalLayoutBoxExtent::setBefore):
(WebCore::FractionalLayoutBoxExtent::setAfter):
(WebCore::FractionalLayoutBoxExtent::mutableLogicalLeft):
(WebCore::FractionalLayoutBoxExtent::mutableLogicalRight):
(WebCore::FractionalLayoutBoxExtent::mutableBefore):
(WebCore::FractionalLayoutBoxExtent::mutableAfter):
Change methods to take a WritingMode parameter instead of a RenderStyle pointer.

(WebCore::FractionalLayoutBoxExtent::start):
(WebCore::FractionalLayoutBoxExtent::end):
(WebCore::FractionalLayoutBoxExtent::setStart):
(WebCore::FractionalLayoutBoxExtent::setEnd):
Change methods to take WritingMode and TextDirection parameters instead of a RenderStyle pointer.

* platform/text/TextDirection.h:
(WebCore::isLeftToRightDirection):
Add convenience method.

* platform/text/WritingMode.h: Added.
Move WritingMode enum from RenderStyleConstants to new file.

(WebCore::isHorizontalWritingMode):
(WebCore::isFlippedLinesWritingMode):
(WebCore::isFlippedBlocksWritingMode):
Add convenience methods for working with writing modes.

* rendering/InlineFlowBox.cpp:
* rendering/RenderBox.cpp:
* rendering/RenderBox.h:
* rendering/style/RenderStyle.h:
Update calls to FractionalLayoutBoxExtent/LengthBox to pass WritingMode/
TextDirection as needed.

* rendering/style/RenderStyleConstants.h:
Remove WritingMode enum as it is now in a dedicated file.

Change-Id: I71dc5d99bad23ba14f774e01a9f004d4914ace0d

11 years agoFix keypad capital issue
SangYong Park [Wed, 24 Apr 2013 12:24:57 +0000 (21:24 +0900)]
Fix keypad capital issue

[Title] Fix keypad capital issue
[Issue#] P130422-7286
[Problem] Keypad show in capital instantly.
[Cause] set cursor position 0 before insert text
[Solution] ignore temporary cursor position

Change-Id: I22adac5a1c92186725c39eb23ce8da9d45961ff1

11 years ago[Release] Webkit2-efl-123997_0.11.35
Taeyun An [Wed, 24 Apr 2013 13:52:40 +0000 (22:52 +0900)]
[Release] Webkit2-efl-123997_0.11.35

Change-Id: Ibc6ac31e62ccde654b6bf1c4e2e035900b027585

11 years agoMerge "Disable TIZEN_USE_XPIXMAP_DECODED_IMAGESOURCE" into tizen_2.1
Hyunki Baik [Wed, 24 Apr 2013 13:54:29 +0000 (22:54 +0900)]
Merge "Disable TIZEN_USE_XPIXMAP_DECODED_IMAGESOURCE" into tizen_2.1

11 years agoDisable TIZEN_USE_XPIXMAP_DECODED_IMAGESOURCE
Byeongha Cho [Wed, 24 Apr 2013 11:13:43 +0000 (20:13 +0900)]
Disable TIZEN_USE_XPIXMAP_DECODED_IMAGESOURCE

[Title] Disable TIZEN_USE_XPIXMAP_DECODED_IMAGESOURCE
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A

Change-Id: I93864f9ee726db133771fff08ff2edb4801deb8f

11 years agoMerge "Change Webkit version value for about:version." into tizen_2.1
seung hak lee [Wed, 24 Apr 2013 13:47:00 +0000 (22:47 +0900)]
Merge "Change Webkit version value for about:version." into tizen_2.1

11 years agoChange Webkit version value for about:version.
daehyun81.yoo [Wed, 24 Apr 2013 13:14:44 +0000 (22:14 +0900)]
Change Webkit version value for about:version.

[Title] Change Webkit version value for about:version.
[Issue#] N/A
[Problem] Webkit version value is used by hard coded it.
[Cause] We changed it for fixing version.
[Solution] We change to original value.

Change-Id: I2411e66b41d4b15e71325020f9baab0d15d81aef

11 years agoRevert "Merge "Versioning.""
daehyun81.yoo [Tue, 23 Apr 2013 07:45:11 +0000 (16:45 +0900)]
Revert "Merge "Versioning.""

This reverts commit acff218c59367cf96f27eac6c54451368120822c, reversing
changes made to ed367a9e1a9a91497dd4e0209dfb7461f9620132.

Change-Id: Ia2e5a03a90f4d0e026136e1dec33bfd7013fcb47

11 years ago[Release] Webkit2-efl-123997_0.11.34
Taehwan Kim [Wed, 24 Apr 2013 09:21:00 +0000 (18:21 +0900)]
[Release] Webkit2-efl-123997_0.11.34

Change-Id: Ic7407c7c8e7f5fe3d2dde0e60ccd70f1a73fe421

11 years agoChecking disabled state handling of fullscreen button
Seonae Kim [Wed, 24 Apr 2013 07:11:02 +0000 (16:11 +0900)]
Checking disabled state handling of fullscreen button

[Title] Checking disabled state handling of fullscreen button
[Issue] N/A
[Problem] After failing to seek on slider, the fullscreen button is disabled.
[Cause] when a seek error occurs, do not consider the fullscreen mode.
[Solution] Add the code checking disabled state handling of fullscreen button

Change-Id: I74ab6a7bdbd82dd6f95c166408c24a8cf0a1e873

11 years agoUpdate untranslated text and .po file
bunam.jeon [Tue, 23 Apr 2013 10:08:23 +0000 (19:08 +0900)]
Update untranslated text and .po file

[Title] Update untranslated text and .po file
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Update untranslated text and .po file

Change-Id: I5168963edf25a0419b68ddd4c51bd9b231334f76

11 years ago[WK2] Fix for crash issue while destroying ImageBuffer
Shanmuga Pandi M [Thu, 25 Apr 2013 06:56:41 +0000 (12:26 +0530)]
[WK2] Fix for crash issue while destroying ImageBuffer

[Title] Fix for crash issue while destroying ImageBuffer
[issue#] Web-2975
[Problem] crash while go back to previous page
[Cause] While destroying ImageBuffer we just calling cairo_surface_destroy, but we not calling
cairo_surface_flush. Since cairo_surface_flush is getting called some times after destroying cairo_surface by cairo internally which leads to crash.
[Solution] calling cairo_surface_flush before destroying cairo_surface_destroy.
[Developer] shanmuga.m

Change-Id: I59932e2c2547e902a388165f5d8bf6b2763aead4

11 years ago[CherryPick][WK2/EFL] Fix for texts are overlapping over search bar
bhagirathi.s [Wed, 24 Apr 2013 05:04:14 +0000 (10:34 +0530)]
[CherryPick][WK2/EFL] Fix for texts are overlapping over search bar

[Version] N/A
[Project] N/A
[Title] [WK2]  Fix for texts are overlapping over search bar
[BinType] N/A
[Customer] N/A
[Issue#] WEB-2547
[Problem][WK2] Texts are overlapping over search bar
[Cause]  Text-align of 'center' on an out-of-flow element determines its x-p
         doesn't mean that the element should be centred in the line as though it
[Solution] Cherry-picked the patch from opensource
[Developer] Bhagirathi ( bhagirathi.s )

REGRESSION (r94492):
  https://bugs.webkit.org/show_bug.cgi?id=77754

Reviewed by David Hyatt.

Change-Id: Iceb9d559a99d65e83e27c7a9e60686b5fc553e78

11 years agoMerge "[CherryPick] [mac] REGRESSION (r122215): Animated GIF outside the viewport...
Hyunki Baik [Wed, 24 Apr 2013 04:47:38 +0000 (13:47 +0900)]
Merge "[CherryPick] [mac] REGRESSION (r122215): Animated GIF outside the viewport doesn't play when scrolled into view." into tizen_2.1

11 years agoSet max-height of video area in media document as 100%
eojin.ham [Mon, 22 Apr 2013 12:05:35 +0000 (21:05 +0900)]
Set max-height of video area in media document as 100%

[Title] Set max-height of video area in media document as 100%
[Issue#] n/a
[Problem] Some video's height in media document is larger than screen on landscape mode.
[Cause] Width of video area in media document is set as 100%.
        So, height of video can be larger than screen depending on video resolution.
[Solution] Set max-height of video area in media document as 100%
           Video will be shown as the maximum size in render area(width = 100%, max-height = 100%)

Change-Id: I3454a933b820ba2b83c52337212f9e111bbb9d96

11 years agoAdd WKContextDeleteIndexedDatabaseAll API for deleting indexed database
Jiyeon Kim [Wed, 24 Apr 2013 02:19:25 +0000 (11:19 +0900)]
Add WKContextDeleteIndexedDatabaseAll API for deleting indexed database

[Title] Add WKContextDeleteIndexedDatabaseAll API for deleting indexed database
[Problem] N/A
[Cause] N/A
[Solution] N/A

Change-Id: Ie10054302e4e7525b36588a4e9662bf68156f394

11 years ago[CherryPick] [mac] REGRESSION (r122215): Animated GIF outside the viewport doesn...
commit-queue@webkit.org [Sat, 6 Oct 2012 01:28:05 +0000 (01:28 +0000)]
[CherryPick] [mac] REGRESSION (r122215): Animated GIF outside the viewport doesn't play when scrolled into view.

[Title] [CherryPick] [mac] REGRESSION (r122215): Animated GIF outside the viewport doesn't play when scrolled into view.
[Issue#] DCM-1457
[Problem] Animated GIF outside the viewport doesn't play when scrolled into view.
[Cause] Patch regression
[Solution] Rollback patch
[Cherry-Picker] Byeongha Cho <byeongha.cho@samsung.com>

[mac] REGRESSION (r122215): Animated GIF outside the viewport doesn't play when scrolled into view.
https://bugs.webkit.org/show_bug.cgi?id=94874

Patch by Huang Dongsung <luxtella@company100.net> on 2012-10-05
Reviewed by Simon Fraser.

Rollback previous patch because this patch caused two problems.
1. GIF animation is occasionally paused when tiled scrolling is enabled.
2. This change regressed Apple's Membuster benchmark by ~20% (80MB.)

* loader/cache/CachedImage.cpp:
(WebCore::CachedImage::shouldPauseAnimation):
* loader/cache/CachedImage.h:
(CachedImage):
* loader/cache/CachedResource.h:
* loader/cache/MemoryCache.cpp:
(WebCore::MemoryCache::pruneLiveResourcesToSize):
* rendering/RenderObject.cpp:
(WebCore::RenderObject::willRenderImage):

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

Conflicts:

Source/WebCore/ChangeLog

Change-Id: I48389ff552b73dafc7cab6fa13d3248c400e5fdb

11 years agoChange indexed database directory path for deleting indexed database
Jiyeon Kim [Wed, 24 Apr 2013 01:18:35 +0000 (10:18 +0900)]
Change indexed database directory path for deleting indexed database

[Title] Change indexed database directory path for deleting indexed database
[Problem] Indexed database directory is not deleted
[Cause] Data directory of browser was changed
[Solution] Change indexed database directory path

Change-Id: Ie19ee6e7421e57f0ad15005690d0e6c6b82c923c

11 years ago[Release] Webkit2-efl-123997_0.11.33 2.1_release accepted/tizen_2.1/20130425.005756 submit/tizen_2.1/20130425.005613
Jongseok Yang [Tue, 23 Apr 2013 22:34:00 +0000 (07:34 +0900)]
[Release] Webkit2-efl-123997_0.11.33

Change-Id: I99e231a7b0a95b14822a5c96ef4d138581b63f7c

11 years agoFixed lockup appear after rotating screen in case that host keyboard is used.
Yuni Jeong [Tue, 23 Apr 2013 22:21:26 +0000 (07:21 +0900)]
Fixed lockup appear after rotating screen in case that host keyboard is used.

[Title] Fixed lockup appear after rotating screen in case that host keyboard is used.
[Issue#] N_SE-35699
[Problem] lockup appear after rotating screen in case that host keyboard is used.
[Cause] m_editorState of WebPage is not updated to changed value.
        So, "EditorStateChanged" message is continually sent from WebProcess to UIProcess.
[Solution] Updated m_editorState variable to changed value.

Change-Id: I8482883702396ebd81d085d5b31d3b7fc50c5516

11 years agoFix input picker issue
SangYong Park [Tue, 23 Apr 2013 20:56:25 +0000 (05:56 +0900)]
Fix input picker issue

[Title] Fix input picker issue
[Issue#] N_SE-35884
[Problem] Do not showing input picker by tap after hiding input picker.
[Cause] showInputPicker() was called before ewk view has focus.
[Solution] call showInputPicker() when ewk view has focus.

Change-Id: I97de35a63f884b55ae02c011f57bba648f049115

11 years agoAdd select all context menu when showing context menu anytime.
Taeyun An [Fri, 19 Apr 2013 13:40:25 +0000 (22:40 +0900)]
Add select all context menu when showing context menu anytime.

[Title] Add select all context menu when showing context menu anytime.
[Issue] P130411-5402
[Problem] There is no select all menu in context menu where called body of document
[Cause] There is no select all item append routine.
[Solution] Add select all context menu when showing context menu anytime.

Change-Id: I7a058f31b497083e770d1403c3f7109d2afc9d62

11 years agoImproper position of selection handlers on scroll
prathmesh.m [Mon, 22 Apr 2013 19:05:41 +0000 (00:35 +0530)]
Improper position of selection handlers on scroll

[Title] Improper position of selection handlers on scroll
[Issue#] WEB-2943
[Problem] When a long text is selcted and then the page is
  scrolled with the selection the handlers get algned to
  start of the view port insteed of start of the selection
[Cause] Invalid point calculation of the handlers if the
  selection rect does not fall in the view port. So the
  first intersection point was considred for the calculation
  which was the start of view port
[Solution] This calculation is not required. The rect which
  is obtained is including all the text rects

Change-Id: I66a484269eee252605c1b733a5d9be5cc7d86802

11 years ago[Release] Webkit2-efl-123997_0.11.32
Taehwan Kim [Tue, 23 Apr 2013 10:37:50 +0000 (19:37 +0900)]
[Release] Webkit2-efl-123997_0.11.32

Change-Id: I541d9fae74686390dd5bbb600946a1e16a3b85a2

11 years agoRevert "Remove TIZEN_RECORDING_SURFACE_SET and TIZEN_RECORDING_SURFACE_PAINT_THREAD"
Taehwan Kim [Tue, 23 Apr 2013 10:09:12 +0000 (19:09 +0900)]
Revert "Remove TIZEN_RECORDING_SURFACE_SET and TIZEN_RECORDING_SURFACE_PAINT_THREAD"

This reverts commit ad0944515e7af33a54bdeeb09e121933ddf93afb.

11 years ago[Release] Webkit2-efl-123997_0.11.31
Taehwan Kim [Tue, 23 Apr 2013 08:58:31 +0000 (17:58 +0900)]
[Release] Webkit2-efl-123997_0.11.31

Change-Id: I49a43368143a244086daa63163aa9b64159e7f53

11 years agoRemove TIZEN_RECORDING_SURFACE_SET and TIZEN_RECORDING_SURFACE_PAINT_THREAD
Gyuyoung Kim [Fri, 12 Apr 2013 01:37:44 +0000 (10:37 +0900)]
Remove TIZEN_RECORDING_SURFACE_SET and TIZEN_RECORDING_SURFACE_PAINT_THREAD
- Those patches are not used anymore

Change-Id: Iddc417c7a59683dcceb571169754e2b9250950b9

11 years agoRemove unnecessary rotation callback
Seonae Kim [Mon, 22 Apr 2013 11:55:55 +0000 (20:55 +0900)]
Remove unnecessary rotation callback

[Title] Remove unnecessary rotation callback
[Issue] N_SE-35415, N_SE-34964, N_SE-35637
[Problem] 1. Lock-up sometimes appears.
       2. When rotated the device, the screen is abnormal.
[Cause] 1. A rotation callback using sensor apis is continously called.
      2. When entered to horizontal fullscreen, a rotation variable is not updated.
[Solution] 1. Removed the code according to rotation
       2. Changed to use the width and height of device not m_rotation

Change-Id: I8639a20811103c10e3bf9bc63aec6a9542a23370

11 years agoFix merge error in TextAutosizer.cpp.
Jaehun Lim [Tue, 23 Apr 2013 05:51:16 +0000 (14:51 +0900)]
Fix merge error in TextAutosizer.cpp.

[Title] Fix merge error in TextAutosizer.cpp.
[Issue#] N/A
[Problem] Merge conflic messaes exist.
[Cause]
[Solution] Remove conflic message.

Change-Id: Idc926f65363dac863bb66f365665b5ae5c093926

11 years agoMerge "Do not hide when commited sub frame" into tizen_2.1
Jinwoo Song [Tue, 23 Apr 2013 02:34:40 +0000 (11:34 +0900)]
Merge "Do not hide when commited sub frame" into tizen_2.1

11 years agoDo not hide when commited sub frame
Ryuan Choi [Tue, 23 Apr 2013 01:46:53 +0000 (10:46 +0900)]
Do not hide when commited sub frame

[Title] Do not hide when commited sub frame
[Issue#] N_SE-35700
[Problem] In order to hide popup when redirected, we added workaround patch but it makes regression
[Cause] Some sites frequently loads sub frames, in this case, popup looks broken
[Solution] Checkes main frame is newly committed
           In addition, clear active selection if committed so that next popup will not be blocked.

Change-Id: I6e884a5c764c013c80bffba477031b18ec5f6046

11 years agoMerge "Fix webgl shader compiling issue." into tizen_2.1
GyongJin Joung [Tue, 23 Apr 2013 02:07:24 +0000 (11:07 +0900)]
Merge "Fix webgl shader compiling issue." into tizen_2.1

11 years agoUpdate combo button
Ryuan Choi [Mon, 22 Apr 2013 23:42:03 +0000 (08:42 +0900)]
Update combo button

[Title] Update combo button
[Issue#] N_SE-35676
[Problem] arrow was drawn twice
[Cause] Image is wrong
[Solution] Remake image

Change-Id: Ib2956c916e39af8a6655ca18f9e7ee0a945fee74

11 years agoFix webgl shader compiling issue.
YongGeol Jung [Mon, 22 Apr 2013 12:03:59 +0000 (21:03 +0900)]
Fix webgl shader compiling issue.

[Title] Fix webgl shader compiling issue.
[Issue#] TWEB-1118
[Problem] Fragment shader which contains "Gl_OES_standard_derivatives" is not compiled properly.
[Cause] ANGLE compiler did not enable "Gl_OES_standard_derivatives".
[Solution] Enable "Gl_OES_standard_derivatives".

Change-Id: I78b4a75f3616984ae5f48522283ea5bddcf85ff5

11 years agoFixed silent crash, when viewer/composer opens
r.karu [Mon, 22 Apr 2013 08:30:11 +0000 (14:00 +0530)]
Fixed silent crash, when viewer/composer opens

[Title] When viewer/composer open, silent crash occurs
[Issue#] TD-9621
[Problem] When user tries to open a mail with html page in email application, silent crash occurs
[Cause] Since html content of email contains a sub resource url with path not having file read permissions,
message becomes invalid, hence UI process terminates.
[Solution] Given universal file read permissions in case of ewk_view_contents_set called from the application
as the same thing happening in loading file:///<url path> type of urls in browser application.
[Developer] Raveendra Karu (r.karu@samsung.com)

11 years ago[Release] Webkit2-efl-123997_0.11.30
Taehwan Kim [Mon, 22 Apr 2013 08:40:56 +0000 (17:40 +0900)]
[Release] Webkit2-efl-123997_0.11.30

Change-Id: Ie04fd07d28b82eb5acfeb4721ca951760d07b475

11 years agoMerge "Change seek forward time 10.0f to 5.0f" into tizen_2.1
Kihong Kwon [Mon, 22 Apr 2013 08:23:44 +0000 (17:23 +0900)]
Merge "Change seek forward time 10.0f to 5.0f" into tizen_2.1

11 years agoMerge "Authentication in iFrame" into tizen_2.1
seung hak lee [Mon, 22 Apr 2013 06:59:02 +0000 (15:59 +0900)]
Merge "Authentication in iFrame" into tizen_2.1

11 years agoAuthentication in iFrame
r.karu [Mon, 22 Apr 2013 06:21:55 +0000 (11:51 +0530)]
Authentication in iFrame

[Title] Authentication in iFrame
[Issue#] TD-9604, DCM-596
[Problem] Authentication pop up is not shown for iFrames
[Cause] Since we are handling Authentication challenge requests only for main frames, iframe case is being ignored.
[Solution] Enabled Authentication challenge requests for all frames
[Developer] Raveendra Karu (r.karu@samsung.com)

11 years agoFix the incorrect operation about link effect
Sanghyup Lee [Mon, 22 Apr 2013 05:38:19 +0000 (14:38 +0900)]
Fix the incorrect operation about link effect

[Title] Fix the incorrect operation about link effect
[Issue#] DCM-1403
[Problem] Unexpectedly sounds when tapped simple image.
[Cause] Link effect played without checking html tag name.
[Solution] Add routine for checking tag that decide whether to play link effect

Change-Id: I7f2026b3b31d976f970f69286dd8b6acd56177ad

11 years agoMerge "Align pixmap of video layer to 16." into tizen_2.1
GyongJin Joung [Mon, 22 Apr 2013 05:00:18 +0000 (14:00 +0900)]
Merge "Align pixmap of video layer to 16." into tizen_2.1

11 years agoChange seek forward time 10.0f to 5.0f
Jiyeon Kim [Mon, 22 Apr 2013 04:41:48 +0000 (13:41 +0900)]
Change seek forward time 10.0f to 5.0f

[Title] Change seek forward time 10.0f to 5.0f
[Problem] N/A
[Cause] N/A
[Solution] N/A

Change-Id: I2e3c813fed96c834848190bfc86f81c980f624be

11 years agoArrow of combo box was overwrapped with text.
ryuan [Mon, 22 Apr 2013 04:08:25 +0000 (13:08 +0900)]
Arrow of combo box was overwrapped with text.

[Title] Arrow of combo box was overlapped with text.
[Issue#] WEB-2957
[Problem] As a regression, text was overwrapped.
[Cause]
[Solution] At least, we should set extra padding of right side for arrow

Change-Id: I120a1c4e86b1d83c28ca175b4773e34d3005292c

11 years agoAlign pixmap of video layer to 16.
YongGeol Jung [Mon, 22 Apr 2013 02:57:20 +0000 (11:57 +0900)]
Align pixmap of video layer to 16.

[Title] Align pixmap of video layer to 16.
[Issue#] N/A
[Problem] Some streaming video's screen is not updated.
[Cause] Pixmap if not aligned to 16.
[Solution] Align pixmap of video layer to 16.

Change-Id: I73eb9241f779da06611bb0ad6ec3b7fae1e66337

11 years agoModify that do not check the drag position when text selection is canceled
Sanghyun Park [Sun, 21 Apr 2013 08:12:34 +0000 (17:12 +0900)]
Modify that do not check the drag position when text selection is canceled

[Title] Modify that do not check the drag position when text selection is canceled
[Problem] DCM-1102
[Cause] In the case of drag in mobile browser, drag does not work at Text Selection. but have checked the drag position when Text Selection is canceled.
[Solution] Modify that when dragstate is true, only check the drag start's position.

Change-Id: I106a89cdd40ef2beb32195acfdc3d00c2868192a

11 years ago[Release] Webkit2-efl-123997_0.11.29
Byungwoo Lee [Fri, 19 Apr 2013 14:34:13 +0000 (23:34 +0900)]
[Release] Webkit2-efl-123997_0.11.29

Change-Id: Ica370ee6fb114b97e634460f63a8745baa79d7d9

11 years agoMerge "Revert "[EFL] Remove redundant pipe write to prevent pipe buffer full. https...
Seongjun Yim [Fri, 19 Apr 2013 14:30:46 +0000 (23:30 +0900)]
Merge "Revert "[EFL] Remove redundant pipe write to prevent pipe buffer full. https://bugs.webkit.org/show_bug.cgi?id=101135"" into tizen_2.1

11 years agoRevert "Fix the issue that some streaming video's screen is not updated."
YongGeol Jung [Fri, 19 Apr 2013 13:30:20 +0000 (22:30 +0900)]
Revert "Fix the issue that some streaming video's screen is not updated."

This reverts commit acb462183356cf9a763b40db6f4a175ea7117573

11 years agoRevert "[EFL] Remove redundant pipe write to prevent pipe buffer full. https://bugs...
Byungwoo Lee [Fri, 19 Apr 2013 12:05:12 +0000 (21:05 +0900)]
Revert "[EFL] Remove redundant pipe write to prevent pipe buffer full. https://bugs.webkit.org/show_bug.cgi?id=101135"

This reverts commit 75f8ddbaf34c195071156596662f42199fc32d39

Change-Id: I937f30e82ce91316e839375a25264f62913fdb04

11 years agoFix the issue that some streaming video's screen is not updated.
YongGeol Jung [Fri, 19 Apr 2013 11:10:24 +0000 (20:10 +0900)]
Fix the issue that some streaming video's screen is not updated.

[Title] Fix the issue that some streaming video's screen is not updated.
[Issue#] N/A
[Problem] Some streaming video's screen is not updated.
[Cause] After platform changing, glEvasGLImageTargetTexture2DOES is not working properly.
[Solution] Call glEvasGLImageTargetTexture2DOES function per frame. (Workaround)

Change-Id: I3f10e1b6735a4e7e868f1a24f8676fecbeaab38f

11 years ago[Release] Webkit2-efl-123997_0.11.28
Sanghyup Lee [Fri, 19 Apr 2013 06:38:51 +0000 (15:38 +0900)]
[Release] Webkit2-efl-123997_0.11.28

Change-Id: I422bdb2b1e3ca74ecc345c0daa293fe67de32156

11 years agofixed fail cases on intelTC
Kyungjin Kim [Fri, 19 Apr 2013 01:12:43 +0000 (10:12 +0900)]
fixed fail cases on intelTC

[Title] fixed fail cases on intelTC
[Issue#] N/A
[Problem] intelTC fails in shadow cases and drawimage.self
[Cause] shadowBlur shares the context, it fails because of the shared image cache
[Solution] fixed not to cache shadow context and self context for the gl surface

Change-Id: I123242c77b71d8b4a792b5d854e0bcd3189c9348

11 years agoFix fail case of IntelTC after applying pixmap source surface to canvas
Byeongha Cho [Fri, 19 Apr 2013 00:48:53 +0000 (09:48 +0900)]
Fix fail case of IntelTC after applying pixmap source surface to canvas

[Title] Fix fail case of IntelTC after applying pixmap source surface to canvas
[Issue#] N/A
[Problem] Fail Intel canvas test case.
[Cause] Image surface made by Shadow drawing was not considered.
[Solution] Check surface type of nativeimage before drawing

Change-Id: I8c440c6f3968a1be7d47fca926e3d83347a2b846

11 years agomove xWindowIdPrepared inside of TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE
Zhao Halley [Fri, 12 Apr 2013 08:25:46 +0000 (16:25 +0800)]
move xWindowIdPrepared inside of TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE

[Title] move xWindowIdPrepared inside of TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE
[Issue#] N/A
[Problem] function declaration doesn't follow the scope of implementation
[Cause]
[Solution] move xWindowIdPrepared/scaleHDVideoToDisplaySize inside of
        ENABLE(TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE)
        in MediaPlayerPrivateGStreamer.h

Change-Id: I3e5aeb28260f505b03e9b2acba9cc1d37c4cf513

11 years agodownscale video surface to screen resolution
Zhao Halley [Mon, 1 Apr 2013 03:09:09 +0000 (11:09 +0800)]
downscale video surface to screen resolution

[Title] downscale video surface to screen resolution
[Issue#] N/A
[Problem] high definition video consume too much GPU load
        and memory bandwidth.
[Cause] when video size is bigger than screen resolution,
        video texture with original size consumes more GPU load
        and memory bandwidth without quality improvement
[Solution] downscale video size to not bigger than screen resolution
        when it is rendered to Pixmap: scaleHDVideoToDisplaySize.
        The solution is enclosed in USE(ACCELERATED_VIDEO_VAAPI),
        since other device doesn't prefer such optimization for the time being.

Change-Id: Ia41b7d9d0622560ed3659df05622711b55c4788f

11 years agoScale to 2.0 if target scale factor is same as current scale factor.
Eunmi Lee [Thu, 18 Apr 2013 05:58:42 +0000 (14:58 +0900)]
Scale to 2.0 if target scale factor is same as current scale factor.

[Title] Scale to 2.0 if target scale factor is same as current scale factor.
[Issue#] P130416-3501
[Problem] We can not scale when we do double-tap in the left-bottom side of news.google.com.
[Cause] The target rect is same as contents rect in the left-bottom side of news.google.com.
[Solution] Scale to 2.0 if target scale factor is same as current scale factor.

Change-Id: I2ad0908aca4881ef94e3a4fe9da0ed26367330da

11 years ago[Release] Webkit2-efl-123997_0.11.27
Sanghyup Lee [Thu, 18 Apr 2013 08:06:21 +0000 (17:06 +0900)]
[Release] Webkit2-efl-123997_0.11.27

Change-Id: Id5ad7210b4db239688fa88e090b6fa13fab8bc31

11 years agoFixed scale problem of magnifier on WVGA mode
bunam.jeon [Thu, 18 Apr 2013 05:12:18 +0000 (14:12 +0900)]
Fixed scale problem of magnifier on WVGA mode

[Title] Fixed scale problem of magnifier on WVGA mode
[Issue#] N_SE-34915
[Problem] The magnifier does not shrink
[Cause] No code related to the scale applied.
[Solution] add code to adjust the scale dynamically.

Change-Id: If79401c0b3d4833e989c9b7466e87eb975095063

11 years agoRemove ALOG logging channels
KwangYong Choi [Thu, 18 Apr 2013 02:58:53 +0000 (11:58 +0900)]
Remove ALOG logging channels

[Title] Remove ALOG logging channels
[Issue#] N/A
[Problem] Not used.
[Cause] ALOG macros are for OSP layer. WebKit should not use ALOG macros.
[Solution] Remove ALOG implementation.

Change-Id: Ice0a84185f82356291b4ee469cb3c53f08cf9a22

11 years agoApply secure log to plugins
KwangYong Choi [Thu, 18 Apr 2013 02:47:40 +0000 (11:47 +0900)]
Apply secure log to plugins

[Title] Apply secure log to plugins.
[Issue#] N/A
[Problem] File path, plugin names, etc should not displayed.
[Cause] Privacy violation.
[Solution] Use TIZEN_SECURE_LOGI for plugins. And I will remove alog macros which is not used.
           Alog macros are for OSP layer.

Change-Id: I863bf805b6eff88f0eeb43cc3822eae257f17cc7

11 years agoChange Tizen Log macros
KwangYong Choi [Thu, 18 Apr 2013 02:28:46 +0000 (11:28 +0900)]
Change Tizen Log macros

[Title] Change Tizen Log macros
[Issue#] N/A
[Problem] SECURE_LOG is implemented. LOG macro has been changed.
[Cause] DLOG package is changed.
[Solution] Use LOG_VA instead of LOG.
           Add TIZEN_SECURE_LOG[IE] for secure logs.

Change-Id: I924d2d206b75f534e860a791836e7f79ee0ccac6

11 years agoDestory WebUserMediaClient when webpage is destroyed.
eojin.ham [Wed, 17 Apr 2013 13:41:53 +0000 (22:41 +0900)]
Destory WebUserMediaClient when webpage is destroyed.

[Title] Destroy WebUserMediaClient when webpage is destroyed.
[Issue#] n/a
[Problem] Dom tree is not destroyed when webpage is destoryed after calling getUserMedia()
[Cause] Reference point of document remains after webpage is destoryed.
[Solution] Destroy WebUserMediaClient when webpage is destoryed.

Change-Id: I85e1f703c85b14265ed0acef41d6b87cf7e9b6dc

11 years ago[CherryPick] Crash in WebCore::HTMLMediaElement::~HTMLMediaElement.
jer.noble@apple.com [Wed, 17 Apr 2013 21:15:03 +0000 (21:15 +0000)]
[CherryPick] Crash in WebCore::HTMLMediaElement::~HTMLMediaElement.

[Title][CherryPick] Crash in WebCore::HTMLMediaElement::~HTMLMediaElement.
[Problem] Crash reproducible from time to time with HTMLMediaElement
[Cause] Did not clear MediaPlayer cleanly.
[Solution] Clear MediaPlay manually before the destructor exits.
[Cherry-Picker] Soo-Hyun Choi <sh9.choi@samsung.com>

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

Reviewed by Eric Carlson.

No new tests, though this is intermittently reproducible with
http/tests/misc/delete-frame-during-readystatechange.html under ASAN.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::~HTMLMediaElement): Clear the media player manually
    before the destructor exits. Clearing the media player may cancel a resource load,
    which can trigger a readystatechange event. It's possible for the HTMLMediaElement
    to attempt to fire an abort event within the readystatechange event, even though it is
    now in an inconsistent state. Clearling the media player before finishing the destructor
    ensures that the HTMLMediaElement will at least still be alive if this case is triggered.
    Set m_completelyLoaded to true to ensure that if userCancelledLoad() is called, it doesn't
    attempt to fire events while destructing.

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

Conflicts:

Source/WebCore/ChangeLog
Source/WebCore/html/HTMLMediaElement.cpp

Change-Id: Ia61805750d80ac1c3ac6ef914e15981382e6e026