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
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
Taeyun An [Wed, 24 Apr 2013 13:52:40 +0000 (22:52 +0900)]
[Release] Webkit2-efl-123997_0.11.35
Change-Id: Ibc6ac31e62ccde654b6bf1c4e2e035900b027585
Hyunki Baik [Wed, 24 Apr 2013 13:54:29 +0000 (22:54 +0900)]
Merge "Disable TIZEN_USE_XPIXMAP_DECODED_IMAGESOURCE" into tizen_2.1
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
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
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
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
Taehwan Kim [Wed, 24 Apr 2013 09:21:00 +0000 (18:21 +0900)]
[Release] Webkit2-efl-123997_0.11.34
Change-Id: Ic7407c7c8e7f5fe3d2dde0e60ccd70f1a73fe421
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
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
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
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
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
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
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
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
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
Jongseok Yang [Tue, 23 Apr 2013 22:34:00 +0000 (07:34 +0900)]
[Release] Webkit2-efl-123997_0.11.33
Change-Id: I99e231a7b0a95b14822a5c96ef4d138581b63f7c
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
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
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
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
Taehwan Kim [Tue, 23 Apr 2013 10:37:50 +0000 (19:37 +0900)]
[Release] Webkit2-efl-123997_0.11.32
Change-Id: I541d9fae74686390dd5bbb600946a1e16a3b85a2
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.
Taehwan Kim [Tue, 23 Apr 2013 08:58:31 +0000 (17:58 +0900)]
[Release] Webkit2-efl-123997_0.11.31
Change-Id: I49a43368143a244086daa63163aa9b64159e7f53
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
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
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
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
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
GyongJin Joung [Tue, 23 Apr 2013 02:07:24 +0000 (11:07 +0900)]
Merge "Fix webgl shader compiling issue." into tizen_2.1
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
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
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)
Taehwan Kim [Mon, 22 Apr 2013 08:40:56 +0000 (17:40 +0900)]
[Release] Webkit2-efl-123997_0.11.30
Change-Id: Ie04fd07d28b82eb5acfeb4721ca951760d07b475
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
seung hak lee [Mon, 22 Apr 2013 06:59:02 +0000 (15:59 +0900)]
Merge "Authentication in iFrame" into tizen_2.1
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)
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
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
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
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
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
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
Byungwoo Lee [Fri, 19 Apr 2013 14:34:13 +0000 (23:34 +0900)]
[Release] Webkit2-efl-123997_0.11.29
Change-Id: Ica370ee6fb114b97e634460f63a8745baa79d7d9
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
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
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
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
Sanghyup Lee [Fri, 19 Apr 2013 06:38:51 +0000 (15:38 +0900)]
[Release] Webkit2-efl-123997_0.11.28
Change-Id: I422bdb2b1e3ca74ecc345c0daa293fe67de32156
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
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
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
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
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
Sanghyup Lee [Thu, 18 Apr 2013 08:06:21 +0000 (17:06 +0900)]
[Release] Webkit2-efl-123997_0.11.27
Change-Id: Id5ad7210b4db239688fa88e090b6fa13fab8bc31
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
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
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
Seonae Kim [Sun, 14 Apr 2013 07:44:40 +0000 (16:44 +0900)]
Fix the location issue of media control when used other formats
[Title] Fix location issue of media control when used other formats
[Issue] N/A
[Problem] If other formats are used(ogg, webm), the control location is changed.
[Cause] We did not consider other formats.
[Solution] A position property of media panel is fixed and a flag moving panel is unset to false.
Change-Id: I12b9cd3165aa0af4e484bbb0bb0aaf7d2fd6b706
Seonae Kim [Sun, 14 Apr 2013 07:49:58 +0000 (16:49 +0900)]
Apply a zoom property when resolution is changed
[Title] Apply a zoom property when resolution is changed
[Issue] N/A
[Problem] If screen resolution is changed, the size of media controls is not accurate.
[Cause] We did not consider other resolution.
[Solution] Adjust the control size using a zoom property
Change-Id: I361e65ecfacf62301240268f4207f5a17c1715f8
Seonae Kim [Sun, 14 Apr 2013 07:34:02 +0000 (16:34 +0900)]
Separate a style sheet of media controls when entered fullscreen
[Title] Separate style sheet of media controls when entered fullscreen
[Issue] N_SE-31973, N_SE-31379, P130413-1675
[Problem] When rotated the device, it's abnormal.
[Cause] Vertical and horizontal style sheets is not separated.
[Solution] Make vertical and horizontal sheets of applying 720*1280 resolution
Change-Id: I8103a47d09c3f1b78bb4039d5a11a4314abe4eda
Changhyup Jwa [Thu, 18 Apr 2013 00:38:25 +0000 (09:38 +0900)]
Floating division miscalculation with launching in landscape mode
[Title] Floating division miscalculation with launching in landscape mode
[Issue#] N_SE-35034, N_SE-35003
[Problem] Content is not fitted correctly if browser loads media content in
landscape mode
[Cause] Minimum scale factor is selected maximum one between horizontal and
vertical minimum scale factor. And on landscape mode, vertical minimum
scale factor is a bit larger than horizontal minimum scale factor. So,
content is not fitted initially.
[Solution] Ignore a bit difference between horizontal and vertial minimum
scale factor. And initialize m_viewportAngle for landscape mode
launching.
Change-Id: I9c551f35606ea724cceaa2461a39705bfd8f949b
Jongseok Yang [Wed, 17 Apr 2013 13:49:42 +0000 (22:49 +0900)]
Implement the smart function for fullscreen API
The UI operation for fullscreen API was already implemented.
This patch is to use the interface which is implemented from opensource.
[Title] Implement the smart function for fullscreen API
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A
Change-Id: Ifb6d7b8215fcedfccf4fb7880e11399a02d4de71
Taeyun An [Wed, 17 Apr 2013 16:13:15 +0000 (01:13 +0900)]
[Release] Webkit2-efl-123997_0.11.26
Change-Id: I1347f43b32077fc763bd36d507256ce15ed1efa5
Yuni Jeong [Wed, 17 Apr 2013 15:17:52 +0000 (00:17 +0900)]
Fixed tap is working when tap on left/right text selection handle above any linkable content.
[Title] Fixed tap is working when tap on left/right text selection handle above any linkable content.
[Issue#] N_SE-34980
[Problem] When tap on left/right text selection handle above any linkable content,
tap is working.
[Cause] If isTextSelectionHandleDowned() return value is true, _ewk_view_smart_gesture_end() is return.
When _ewk_view_smart_gesture_end() is called, isTextSelectionHandleDowned() return value is false.
So, tap is working.
[Solution] Changed routine to set isMouseDowned variable to false.
Change-Id: I5adf8518f6ce99bba3462806f785b95e98eb1370
GyongJin Joung [Wed, 17 Apr 2013 13:08:46 +0000 (22:08 +0900)]
Merge "Fix WebGLShaderPrecisionFormat issue." into tizen_2.1
YongGeol Jung [Wed, 17 Apr 2013 12:36:04 +0000 (21:36 +0900)]
Fix WebGLShaderPrecisionFormat issue.
[Title] Fix WebGLShaderPrecisionFormat issue.
[Issue#] TWEB-1124
[Problem] WebGLSharedPrecisionFormat returns wrong value.
[Cause] getShaderPrecisionFormat function was not implemented.
[Solution] Implement it.
Change-Id: Iceee233dc86df524d9cf02f2f73dcdedd55772cd
Byeongha Cho [Fri, 29 Mar 2013 06:21:10 +0000 (15:21 +0900)]
Apply platform surface to source surface of Canvas.
[Title] Apply platform surface to source surface of Canvas.
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A
Change-Id: I859f85c80bc15b2d6799b5eff475d55eb3ccb82c
bunam.jeon [Wed, 17 Apr 2013 06:54:32 +0000 (15:54 +0900)]
Remove IME check logic when text changed on input tag
[Title] Remove IME check logic when text changed on input tag
[Issue#] N/A
[Problem] formdatabase does not appear when use host keyboard
[Cause] It is not appear if do not use IME.
[Solution] Remove IME check logic
Change-Id: I0e658ff868b79c44d301fb7d6488e144ae528f4e
SangYong Park [Wed, 17 Apr 2013 10:01:34 +0000 (19:01 +0900)]
Fix keypad issue of printer icon in google maps
[Title] Fix keypad issue of printer icon in google maps
[Issue#] N_SE-34799
[Problem] keypad did shown after tapping printer icon
[Cause] google maps focus to edit field on load, and prevent raise tap event.
in this case, webkit show keypad.
[Solution] show keypad if tap edit field
Change-Id: Ia94708c5d3bc7452c340f0dc021c4d6baccbe14b
Jihye Kang [Wed, 17 Apr 2013 07:42:51 +0000 (16:42 +0900)]
Show controls when requested while control is transparent by timeout
[Title] Show controls when requested while control is transparent by timeout
[Issue#] N/A
[Problem] Control is not shown when control is set as true by js API when control is transparent by timeout
[Cause] show API of control does not consider transparent of control panel
[Solution] Make panel opaque when show is requested
Change-Id: I1a6fb9ffa8e095d7a68e27d86454931c3e5465b8
Kihong Kwon [Wed, 17 Apr 2013 10:48:02 +0000 (19:48 +0900)]
Merge "Fix abnormal seek issue after suspend/resume video" into tizen_2.1
Jihye Kang [Wed, 17 Apr 2013 05:24:16 +0000 (14:24 +0900)]
Fix abnormal seek issue after suspend/resume video
[Title] Fix abnormal seek issue after suspend/resume video
[Issue#] N/A
[Problem] Seek to 0 after suspend/resume while playing video
[Cause] Wrong duration is updated to control after resume
[Solution] Keep current duration When fails to query duration
Change-Id: Ib6dd3f32091ba2b88f4e272a465f9cb577bab517
Hyunki Baik [Wed, 17 Apr 2013 10:04:26 +0000 (19:04 +0900)]
Merge "Set antialias none for paintSelection" into tizen_2.1
Eunmi Lee [Fri, 12 Apr 2013 06:46:14 +0000 (15:46 +0900)]
Clear callbacks of elm_gesture_layer when GestureRecognizer is deleted.
[Title] Clear callbacks of elm_gesture_layer when GestureRecognizer is deleted.
[Issue#] P130410-6692, P130411-4986, P130411-4980, P130412-5042
[Problem] The email application is crashed when we change the mail by flicking the view.
[Cause] The callback of elm_gesture_layer is called when ewk_view is deleted and deleted object is referenced by callback.
[Solution] Clear callbacks of elm_gesture_layer when GestureRecognizer is deleted.
Change-Id: I48fe55b39cc8914b24aeae1782cdcef3331535b6
Sanghyup Lee [Wed, 17 Apr 2013 09:39:55 +0000 (18:39 +0900)]
[Release] Webkit2-efl-123997_0.11.25
Change-Id: I4ce2c125e5cd14800ef14637ea7eb4ec1642592a
Hyeonji Kim [Wed, 17 Apr 2013 04:51:36 +0000 (13:51 +0900)]
Set antialias none for paintSelection
[Title] Set antialias none for paintSelection
[Issue#] P130411-5033
[Problem] there's a line between the preceding text block and the next text block which are selected
[Cause] there's antialias during zoom in/out
[Solution] set antialias none for paintSelection
Change-Id: Ie2b88ce0fc5e0924c6bd68ba717a8d2907d05b9b
GyongJin Joung [Wed, 17 Apr 2013 07:22:43 +0000 (16:22 +0900)]
Merge "[CherryPick] Expose ArrayBufferView constructor on DOMWindow" into tizen_2.1
Yuni Jeong [Mon, 15 Apr 2013 14:44:51 +0000 (23:44 +0900)]
Fixed when webview's geometry is changed, text selection is not updated.
[Title] Fixed when webview's geometry is changed, text selection is not updated.
[Issue#] P130411-5160
[Problem] when webview's geometry is changed, text selection is not updated.
[Cause] when webview's geometry is changed, there is no routine to update text selection.
[Solution] If smartData->changed.position is true in _ewk_view_smart_calculate(),
added routine to update text selection.
Change-Id: I4b7d44aee9de8d97e2f0c6be2af6b742195ea909
kbr@google.com [Fri, 21 Dec 2012 19:38:28 +0000 (19:38 +0000)]
[CherryPick] Expose ArrayBufferView constructor on DOMWindow
[Title] [CherryPick] Expose ArrayBufferView constructor on DOMWindow
[Issue#] TWEB-1128
[Problem] ArrayBufferView does not have [NotInterfaceObject] extended attribute, this attribute not defined.
[Cause] ArrayBufferView constructor was not exposed.
[Solution] Expose ArrayBufferView constructor.
Expose ArrayBufferView constructor on DOMWindow
https://bugs.webkit.org/show_bug.cgi?id=105605
Reviewed by Sam Weinig.
Source/WebCore:
Update IDL to track recent spec change exposing ArrayBufferView
constructor on DOMWindow for instanceof checks. There are no
constructors exposed in the Web IDL, however, so calling it via
operator new throws TypeError.
Test (updated): fast/canvas/webgl/array-unit-tests.html
* html/canvas/ArrayBufferView.idl:
Removed OmitConstructor attribute.
* page/DOMWindow.idl:
Exposed ArrayBufferView constructor function attribute.
LayoutTests:
Updated test from Khronos repository.
* fast/canvas/webgl/array-unit-tests-expected.txt:
* fast/canvas/webgl/array-unit-tests.html:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138393
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Conflicts:
LayoutTests/ChangeLog
Source/WebCore/ChangeLog
Source/WebCore/html/canvas/ArrayBufferView.idl
Source/WebCore/page/DOMWindow.idl
Change-Id: I8a0683faf445baeecbf969cdb5574b32673ba755
Hojong Han [Tue, 16 Apr 2013 01:00:49 +0000 (10:00 +0900)]
Converting date string to seconds fixed
[Title] Converting date string to seconds fixed
[Issue#] DCM-1358
[Problem] Date string is not correctly converted to seconds
[Cause] There's implicit cast from int to double
[Solution] Constants fixed not to be considered as double
Change-Id: Ia68f491955dc47b516cc6781f062937b4844ef2f
YongGeol Jung [Tue, 16 Apr 2013 13:17:18 +0000 (22:17 +0900)]
Fix depth-test bug of webgl.
[Title] Fix depth-test bug of webgl.
[Issue#] TWEB-1127
[Problem] Fail happen when DEPTH_COMPONENT16 vs DEPTH_STENCIL and unbinding/deleting second renderbuffer.
[Cause] Depth-test flag bit was not cleared.
[Solution] Clear depth-test flag after setting depth buffer.
Change-Id: If0af688c5326ab7a8870364b30f5d3b0419c0b74
Jiyeon Kim [Tue, 16 Apr 2013 12:07:50 +0000 (21:07 +0900)]
MediaSlider was broken occasionally during rebuffering
[Title] MediaSlider was broken occasionally during rebuffering
[Problem] MediaSlider was broken when seeking and resume in MediaPlayer
[Cause] TimeRanges are buffering ranges in gstreamer and it represented start point and end point of buffering. Normally TimeRagnes length is one, but some times TimeRanges is bigger than 1.
And that time, there exists difference between first and second timeRanges.
[Solution] If there exists difference between first end value of timeRange and second start value of timeRange, second start value is set to first end value.
Change-Id: I545cbec95faaae319c52b481e5256dc9e3acfbdd
Taeyun An [Tue, 16 Apr 2013 16:35:52 +0000 (01:35 +0900)]
Fix the position for magnifier of text selction
The issue was reproduced after changing the bg image for magnifier.
So, this is the additional patch for the magnifier of which bg image is changed.
[Title] Fix the position for magnifier of text selction
[Issue#] P130404-4384
[Problem] the magnifier got out of screen
[Cause]
[Solution] restrct the postion to the screen
Change-Id: Ia37c2dac1a31786af2e17cd7a2d7650006cf454e
Kihong Kwon [Tue, 16 Apr 2013 12:34:46 +0000 (21:34 +0900)]
Merge "Revert "Fix zoom issue when enter fullscreen from media element"" into tizen_2.1
Kihong Kwon [Tue, 16 Apr 2013 12:34:30 +0000 (21:34 +0900)]
Revert "Fix zoom issue when enter fullscreen from media element"
This reverts commit
d0455a8f7c694d88fc25bc8b6cf20f32d9605346
eojin.ham [Tue, 16 Apr 2013 07:53:12 +0000 (16:53 +0900)]
Move suspend() and resume() inside of namespace WebCore
[Title] Move suspend() and resume() inside of namespace WebCore
[Issue#] n/a
[Problem] Body of suspend() and resume() exist outside of namespace WebCore.
[Cause]
[Solution] Move suspend() and resume() inside of namespace WebCore
Change-Id: I9d33900e80d7d1d2a0cee9e8121fc6ef16963f86
eojin.ham [Tue, 16 Apr 2013 07:16:25 +0000 (16:16 +0900)]
Replay a video for local media stream when it comes back to foreground.
[Title] Replay a video for local media stream when it comes back to foreground.
[Issue#] n/a
[Problem] Video for local media stream is not played again, when it comes back to foreground.
[Cause] Pipeline for video element remains in ready state, because local media server is not started.
[Solution] 1. Start local media server when webkitcamerasrc becomes ready state.
2. When state of local media server becomes PLAYING, set state of webkitcamerasrc as PLAYING.
Change-Id: Ib81144418161bbbf5ffe3bb6b32fea13d2237d45
Jaesik Chang [Tue, 16 Apr 2013 11:19:37 +0000 (20:19 +0900)]
Merge "[Cherry-pick][[Text Autosizing] Refactoring to eliminate boolean parameter." into tizen_2.1
Jaesik Chang [Tue, 16 Apr 2013 11:19:24 +0000 (20:19 +0900)]
Merge "[Cherry-pick][Text Autosizing] Simplify computation of screenRect/windowRect." into tizen_2.1
Jaesik Chang [Tue, 16 Apr 2013 11:19:06 +0000 (20:19 +0900)]
Merge "[Cherry-pick][Text Autosizing] prevent oscillation of font sizes during autosizing" into tizen_2.1
Jaesik Chang [Tue, 16 Apr 2013 11:18:43 +0000 (20:18 +0900)]
Merge "[Cherry-pick][Text Autosizing] Combine narrow descendants of a cluster into groups that should be autosized with the same multiplier." into tizen_2.1
Jaesik Chang [Tue, 16 Apr 2013 11:18:07 +0000 (20:18 +0900)]
Merge "[Cherry-pick][Text Autosizing] Process narrow descendants with the same multiplier for the font size." into tizen_2.1
Seonae Kim [Sun, 14 Apr 2013 07:10:28 +0000 (16:10 +0900)]
Fix zoom issue when enter fullscreen from media element
[Title] Fix zoom issue when enter fullscreen from media element
[Issue] N/A
[Problem] In case of first enterance, media controls is bigger than the second case.
[Cause] A scale factor of content is used.
[Solution] Change a calculated scale factor from content to viewport
Change-Id: I1c2ec62ec1c756985b2298bf1d9953587693dd76
Yuni Jeong [Mon, 15 Apr 2013 15:07:44 +0000 (00:07 +0900)]
Added routine to delete m_moveAnimator and m_showTimer in the destructor of TextSelection.
[Title] Added routine to delete m_moveAnimator and m_showTimer in the destructor of TextSelection.
[Issue#] N/A
[Problem] Crash can occur when deleting webview while m_moveAnimator or m_showTimer is working
[Cause] There is no routine to delete m_moveAnimator and m_showTimer in the destructor of TextSelection.
[Solution] Added routine to delete m_moveAnimator and m_showTimer in the destructor of TextSelection.
Change-Id: I468045249174aab5ade1b8e2345b071f9dca7f59
Jiyeon Kim [Tue, 16 Apr 2013 09:11:31 +0000 (18:11 +0900)]
Merge "MediaCapture for camera application is delevering wrong window handle to appcontrol." into tizen_2.1
keonho07.kim [Tue, 16 Apr 2013 08:52:00 +0000 (17:52 +0900)]
MediaCapture for camera application is delevering wrong window handle to appcontrol.
[Title] Do not makes a delevering with wrong window handle for mediacapture API.
[Problem] https://tizendev.org/bugs/browse/VPSS-827
[Cause] MediaCapture for camera application is delevering wrong window handle to appcontrol.
[Solution] Revert commit for only webaudio.
Change-Id: I7340507f0aab3539fdb9d52876b751a76c5342c3
Sanghyup Lee [Tue, 16 Apr 2013 08:34:35 +0000 (17:34 +0900)]
[Release] Webkit2-efl-123997_0.11.24
Change-Id: I14d3437ec1b0fbd66cfd06c5c9831cdd3d79f045