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
eojin.ham [Tue, 16 Apr 2013 01:19:45 +0000 (10:19 +0900)]
Use 127.0.0.1 instead of 'localhost'.
[Title] Use 127.0.0.1 instead of 'localhost'.
[Issue#] http://slp-info.sec.samsung.net/bugs/browse/S1-13606
[Problem] 'SelfCamera' doesn't work .
[Cause] Some device can't map 'localhost' to 127.0.0.1
[Solution] Use 127.0.0.1 instead of 'localhost'.
Change-Id: I3c5882eabf9410f1661c54031241483eb7f8afe5
keonho07.kim [Mon, 15 Apr 2013 15:32:26 +0000 (00:32 +0900)]
Make webaudio is not using close-hanle-on-prepare property for temporary.
[Title] Make webaudio is not using close-hanle-on-prepare property for temporary.
[Problem] https://tizendev.org/bugs/browse/DCM-1102
[Cause] N/A
[Solution] Revert commit for only webaudio.
Change-Id: I6d81cc5ca8a7293d9fc141964d7365eb957120fe
SangYong Park [Tue, 16 Apr 2013 01:47:05 +0000 (10:47 +0900)]
Merge "Do not clip to visible content rect on WebPage::getSelectionRect()" into tizen_2.1
Kangil Han [Tue, 16 Apr 2013 01:40:25 +0000 (10:40 +0900)]
Remove several skipped cases that are now passed
[Title] Remove several skipped cases that are now passed
[Issue#] N/A
[Problem] Have more skipped cases than private repository
[Cause] Taehwan fixed crashed cases on favicon behavior but removal of skipped cases has not been done
[Solution] Remove those skipped cases
Change-Id: I73cec0e4d9677883b81d86f5d7e0c04eb2248d78
Changhyup Jwa [Mon, 15 Apr 2013 10:56:52 +0000 (19:56 +0900)]
Do not clip to visible content rect on WebPage::getSelectionRect()
[Title] Do not clip to visible content rect on WebPage::getSelectionRect()
[Issue#] N_SE-34525
[Problem] Input field zoom is not working
[Cause] By any reason, if visible content rect is updated before calling
ewk_view_focused_node_adjust(), getSelectionRect() returns 0
[Solution] Do not clip to visible content rect for FrameSelection
Change-Id: I6b77f52b1b09d2a911d01d6fddaa39fd4f546080
KeonHo Kim [Mon, 15 Apr 2013 14:38:24 +0000 (23:38 +0900)]
Revert "WebAudio task shouldn't be running on suspend to reduce usage of CPU."
This reverts commit
7e9ba6264d512cfe2b55e097ac998d5f0c6d805b
SangYong Park [Mon, 15 Apr 2013 10:05:17 +0000 (19:05 +0900)]
Do not showing keypad when edit field was located outside of screen
[Title] Do not showing keypad when edit field was located outside of screen
[Issue#] WEB-2654
[Problem] Keypad did showing when tap image in www.tumblr.com
[Cause] focus to edit field that located outside of screen
[Solution] ignore edit field if located outside of screen
Change-Id: I2e92a397d399a856e8afc8465f028ada1d03b61a
Taeyun An [Mon, 15 Apr 2013 12:03:56 +0000 (21:03 +0900)]
Hide clipboard window when tapping except editfield
[Title] Hide clipboard window when tapping except editfield
[Issue#] P130412-5414
[Problem] Clipboard windows doesn't disappear when tapping back button.
[Cause] There already exist the hide code but before hide Clipboard window it returned.
[Solution] Move the code to top of the method.
Change-Id: I016b9f994bb5de8af790e808547b895853a78ca8
Taeyun An [Sun, 14 Apr 2013 07:19:11 +0000 (16:19 +0900)]
Add localized strings for copied to clipboard
[Title] Add localized strings for copied to clipboard
[Issue#] P130412-5414
[Problem] There is no localized strings for copied to clipboard
[Cause] There is no localized strings for copied to clipboard in po file
[Solution] Add localized strings for copied to clipboard
Change-Id: I5cef0a5dc626616f8d6c3a3e2ceef9c22ca813f4
Conflicts:
Source/WebKit2/UIProcess/efl/po_tizen/en.po
oliver@apple.com [Mon, 11 Mar 2013 21:02:39 +0000 (21:02 +0000)]
[CherryPick] Make SegmentedVector Noncopyable
[Title] Make SegmentedVector Noncopyable
[Issue#] N/A
[Problem] DoCoMo Shabette App crashes on startup
[Cause] BytecodeGenerator's storage for LabelScope has problem.
[Solution] Use Vector<LabelScope, 8>, instead of SegmentedVector<LabelScope, 8>
[CherryPicker] Lee SangGyu<sg5.lee@samsung.com>
Make SegmentedVector Noncopyable
https://bugs.webkit.org/show_bug.cgi?id=112059
Reviewed by Geoffrey Garen.
Source/JavaScriptCore:
Copying a SegmentedVector is very expensive, and really shouldn't
be necessary. So I've taken the one place where we currently copy
and replaced it with a regular Vector, and replaced the address
dependent logic with a indexing ref instead.
* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::newLabelScope):
(JSC::BytecodeGenerator::emitComplexJumpScopes):
* bytecompiler/BytecodeGenerator.h:
(BytecodeGenerator):
* bytecompiler/LabelScope.h:
(JSC):
(JSC::LabelScopePtr::LabelScopePtr):
(LabelScopePtr):
(JSC::LabelScopePtr::operator=):
(JSC::LabelScopePtr::~LabelScopePtr):
(JSC::LabelScopePtr::operator*):
(JSC::LabelScopePtr::operator->):
* bytecompiler/NodesCodegen.cpp:
(JSC::DoWhileNode::emitBytecode):
(JSC::WhileNode::emitBytecode):
(JSC::ForNode::emitBytecode):
(JSC::ForInNode::emitBytecode):
(JSC::SwitchNode::emitBytecode):
(JSC::LabelNode::emitBytecode):
Source/WTF:
Copying a SegmentedVector can be extraordinarily expensive, so we beat
it with the Noncopyable stick - that way we can ensure that if anyone
wants an actual copy they know what they're doing.
* wtf/SegmentedVector.h:
(SegmentedVector):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145401
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Change-Id: I4907152b81bbd0e7c4ad07dd8c575af36eee3741
Seonae Kim [Fri, 12 Apr 2013 11:35:59 +0000 (20:35 +0900)]
Attach callback to the media element to calculate device rotation
[Title] Attach callback to the media element to calculate device rotation
[Issue] N/A
[Problem] There is no place to check the rotation for media.
[Cause] We did not consider about rotation.
[Solution] Add rotation callback using sensor apis.
Change-Id: Ic2e6bd6067647448016394cade805300f64db818
daehyun81.yoo [Mon, 15 Apr 2013 09:42:08 +0000 (18:42 +0900)]
[Release] Webkit2-efl-123997_0.11.23
Change-Id: I84df0396e166755f58aab1ecfc65f466a33e3d0e
daehyun81.yoo [Mon, 15 Apr 2013 09:28:23 +0000 (18:28 +0900)]
Change default User Agent.
[Title] Change default User Agent.
[Issue#] N/A
[Problem] User Agent is set by old version.
[Cause] We did not change it when version was upgraded.
[Solution] We change the User Agent to latest.
Change-Id: I2934f1d469d127b17a79984e4cfc9f6a5856665d
eojin.ham [Sun, 14 Apr 2013 07:10:20 +0000 (16:10 +0900)]
Don't hide contorls of audio by click event.
[Title] Don't hide contorls of audio by click event.
[Issue#] n/a
[Problem] Controls of audio can be hided when user touch outside of controls .
[Cause] We change view status of controls when click event occur in media element's render area.
[Solution] Don't hide contorls of audio by click event.
We don't need to hide controls of audio.
Change-Id: If9a62b7a1647b74084c958807f3cca3c6fcee737
eojin.ham [Thu, 11 Apr 2013 14:14:43 +0000 (23:14 +0900)]
Suspend LocalMediaServer when all WebkitCameraSrc is changed to null state.
[Title] Suspend LocalMediaServer when all WebkitCameraSrc is changed to null state.
[Issue#] https://tizendev.org/bugs/browse/N_SE-33840
[Problem] After running 'SelfCamera', can't run other camera apps properly.
[Cause] LocalMedaiServer don't release camera device when the app goes to background.
[Solution] Suspend LocalMediaServer when all WebkitCameraSrc is changed to null state.
Change-Id: I7550960de7c07bf762f98734af14773f06ce8a5c
Gyuyoung Kim [Fri, 12 Apr 2013 00:33:49 +0000 (09:33 +0900)]
Remove TIZEN_FONTCACHE_DEPRECATED which is not used anymore
Change-Id: I10b796b2dfe046cfba2df70c2ad9980a163a6b01
Changhyup Jwa [Wed, 10 Apr 2013 12:56:11 +0000 (21:56 +0900)]
Fix incorrect window.innerHeight issue on launching WebApp
[Title] Fix incorrect window.innerHeight issue on launching WebApp
[Issue#] N_SE33672
[Problem] Sometimes initial window.innerHeight is bigger than normal value
[Cause] Basically rendering process runs before view size is fixed.
And PageClientImpl tries to update visible content rect
[Solution] Change initial m_pageDidRendered value to true
Change-Id: Ie0399179d81a3df8f3de4c8d24b56c437fe166f0
SangYong Park [Sun, 14 Apr 2013 10:00:54 +0000 (19:00 +0900)]
Fix composition issue
[Title] Fix composition issue
[Issue#] N/A
[Problem] Composition did not canceled after moving cursor by tap
[Cause] IME context did not resetted
[Solution] Reset IME context before handling tap event
Change-Id: Ie059e3540cc41f32025318acb75151dac3cba711
Gyuyoung Kim [Thu, 11 Apr 2013 12:12:02 +0000 (21:12 +0900)]
Remove TIZEN_YOUTUBE_HD, which is disabled
Change-Id: I87bdecff0d50a2571ea438d72e04e60abc921aab
bunam.jeon [Sun, 14 Apr 2013 06:38:33 +0000 (15:38 +0900)]
Remove the video context menu
[Title] Remove the video context menu
[Issue#] P130413-1739
[Problem] The text is not translated.
[Cause] The reference browser does not support this feature.
[Solution] Remove the video context menu
Change-Id: Ic0c998cfc28baf9424964f5b7b1f89584f15c11d
Taeyun An [Sun, 14 Apr 2013 04:52:30 +0000 (13:52 +0900)]
Show notification popup when excuting copy function.
[Title] Show notification popup when excuting copy function.
[Issue#] P130412-5414
[Problem] Users can't know exactly, copy function is excuted successfully.
[Cause] There is no notification when excuting copy function
[Solution] Show notification popup when excuting copy function.
Change-Id: Ia34f4c9f3ffde15423e9d80db94654794d1a0a70
Taeyun An [Sat, 13 Apr 2013 12:11:00 +0000 (21:11 +0900)]
Prevent the control for window size from WebCore
[Title] Prevent the control for window size from WebCore
[Issue#] N_SE-33880, N_SE-33947, N_SE34112
[Problem] the window is resized
[Cause] The size is controled by WebCore as javascript
[Solution] Prevent the control for window size from WebCore
Change-Id: Ie3f09768a7b12f255c981ef3f2cdb64198245862
JungJik Lee [Sat, 13 Apr 2013 08:39:52 +0000 (17:39 +0900)]
Revert "Update tile partially"
[Title] Revert "Update tile partially"
[Issue#] N/A
[Problem] Drawing images without clipping in StoryAlbum.
[Cause] N/A
[Solution] Revert the patch.
This reverts commit
2f997258449b738de6096d8749c1acfd32f90260.
Jaesik Chang [Sat, 13 Apr 2013 07:09:09 +0000 (16:09 +0900)]
Merge "Change navigator.language dynamically" into tizen_2.1
Taeyun An [Fri, 12 Apr 2013 15:51:41 +0000 (00:51 +0900)]
[Release] Webkit2-efl-123997_0.11.22
Change-Id: Icb735cda4d42ff6eb7be232b6cf10c3c73c6e810
SangYong Park [Fri, 12 Apr 2013 09:05:56 +0000 (18:05 +0900)]
Fix keypad layout issue
[Title] Fix keypad layout issue
[Issue#] N/A
[Problem] Tap edit field while keypad is visible, keypad layout does not change
[Cause] Do not keypad context
[Solution] Set keypad context if new keypad has other layout
Change-Id: I60ebf4b2fa9648c9a3289cf3aa36bfa9549851ff
YoungTaeck Song [Fri, 5 Apr 2013 09:02:10 +0000 (18:02 +0900)]
Prerender first frame of new view size before angle is changed.
[Title] Prerender first frame of new view size before angle is changed.
[Issue#] DCM-745
[Problem] When rotating, a flicker has occurred.
[Cause] Some frames of old view size is showed.
[Solution] After first frame of new view size is rendered, run displaying.
Change-Id: Ib5786401b38b269cf12da3aa036fb191204e2834
Conflicts:
Source/WebKit2/UIProcess/API/efl/ewk_view.cpp
Source/WebKit2/UIProcess/API/efl/ewk_view_private.h
Heejin Chung [Fri, 12 Apr 2013 08:04:43 +0000 (17:04 +0900)]
[CherryPick] Set the initial scissor box for WebGL
[Title] [CherryPick] Set the initial scissor box for WebGL
[Issues] TWEB-1131
[Problem] Scissor box isn't initialized. gl-get-calls.html conformance test fails.
[Solution] Initialize scissor box when initializing WebGLRenderingContext
Change-Id: I689add2bb17adcd3345feb96fd373e14f0748074
Jihye Kang [Fri, 12 Apr 2013 08:33:09 +0000 (17:33 +0900)]
Remove security concerned logs
[Title] Remove security concerned logs
[Issue#] N/A
[Problem] Fails on LoggingChecker while testing html5 APIs
[Cause] url is printed by log
[Solution] remove logs printing url
Change-Id: If55249cdb4c34f104bc6066c1ed658f290a49a54
Changhyup Jwa [Fri, 12 Apr 2013 07:34:44 +0000 (16:34 +0900)]
Get orientation via widget to fully sync orientation
[Title] Get orientation via widget to fully sync orientation
[Issue#] SE-32463, SE-33848, SE-34116
[Problem] WebApp gets orientation unapplied screen value
[Cause] On launching time, Ecore_X_Window cannot guarantee orientation sync
[Solution] Get orientation via widget
Change-Id: I7d78894d76b5a0845a2a9e48e64ed708d8a33a42
Taehwan Kim [Fri, 12 Apr 2013 08:22:36 +0000 (17:22 +0900)]
[Release] Webkit2-efl-123997_0.11.21
Change-Id: I6eaba192c6612355ceab7ea24fe95013816b9d6a
SangYong Park [Fri, 12 Apr 2013 06:50:13 +0000 (15:50 +0900)]
Fix keypad issue that do not disappear
[Title] Fix keypad issue that do not disappear
[Issue#] S1-13531
[Problem] Keypad do not disappear after enter key
[Cause] A condition to determine enter key was wrong
[Solution] modify condition code to determine enter key
Change-Id: I86a75f237a527871625357468212a39fcd1086ad
HoJong Han [Fri, 12 Apr 2013 05:17:25 +0000 (14:17 +0900)]
Merge "LLInt should not use d8 register as scratch register" into tizen_2.1
SangGyu Lee [Fri, 12 Apr 2013 04:51:12 +0000 (13:51 +0900)]
LLInt should not use d8 register as scratch register
[Issue#] N_SE-29275
[Problem] WebApp exits if javascript alert popup shows while softkeyboard is shown
[Cause] LLInt (Low Level Interpreter) overwrite d8 register, which was allocated to other variable.
[Solution]
LLInt should use d8 as scratch.
d8 register must be preserved according to ARM Procedure Call
Standard ยง5.1.2.1 VFP register usage conventions.
Instead, use d6 register, it is defined as scratch register in APCS.
Change-Id: I257dc891975d9e1df0dd896417150de57cde9a12
Eunsol Park [Tue, 2 Apr 2013 04:21:11 +0000 (13:21 +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: I7874ba77adc2a0bdec13c49487ec816aef9d0a19
Jaehun Lim [Fri, 12 Apr 2013 04:10:17 +0000 (13:10 +0900)]
Change navigator.language dynamically
[Title] Change navigator.language dynamically
[Issue#] N/A
[Problem] navigator.language doesn't change after platform's language is changed.
[Cause] Vector for language values is static.
[Solution] Read vconf value whenever navigator.language is requested.
Change-Id: Ie43ca073889a9e2301e5c6fba183561f0544ab40
keonho07.kim [Wed, 10 Apr 2013 17:53:01 +0000 (02:53 +0900)]
WebAudio task shouldn't be running on suspend to reduce usage of CPU.
[Title] WebAudio task shouldn't be running on suspend to reduce usage of CPU.
[Problem] webKitWebAudioSrcLoop is running even if browser is gone to suspending.
[Cause] Task of gstreamer is never been made stop to keep pipeline is running.
[Solution] Implement pauseRendering() to make pause tast of gstreamer.
Change-Id: I05f60f415c8a10226a97885130afa0e005ea5ec8
Kihong Kwon [Fri, 12 Apr 2013 03:16:13 +0000 (12:16 +0900)]
Merge "Scenario of media volume control should be changed during sound is playing." into tizen_2.1
keonho07.kim [Thu, 11 Apr 2013 16:26:11 +0000 (01:26 +0900)]
Scenario of media volume control should be changed during sound is playing.
[Title] Scenario of media volume control should be changed during sound is playing.
[Problem] https://tizendev.org/bugs/browse/DCM-1102
[Cause] avsysaudiosink is open to close device when it is transfer READY -> PAUSE.
[Solution] Set property of avsysaudiosink element "close-handle-on-prepare" == 1
Change-Id: I8872b1418ebbedb9a24101797def99a0d82da977
Taehwan Kim [Fri, 12 Apr 2013 02:34:41 +0000 (11:34 +0900)]
[Release] Webkit2-efl-123997_0.11.20
Change-Id: Iac12c00cef44ec48113ef7d84c33a4f039ae7bb3
Jihye Kang [Fri, 12 Apr 2013 01:51:55 +0000 (10:51 +0900)]
Revert "Attach callback to media element to calculate device rotation"
This reverts commit
d87fb24e4a283117bd8ddc5a0368a310ee328dcd
Jihye Kang [Fri, 12 Apr 2013 01:40:49 +0000 (10:40 +0900)]
Revert "Fix zoom issue when enter fullscreen from media element"
This reverts commit
1186c75829231a3d71a8b6e8426d43f844dff42c
Jihye Kang [Fri, 12 Apr 2013 01:41:00 +0000 (10:41 +0900)]
Revert "separate style sheet of media controls"
This reverts commit
6c3ebb2965b8200a2a01a157f43979758eb5cb83
Jihye Kang [Fri, 12 Apr 2013 01:41:17 +0000 (10:41 +0900)]
Revert "Fix the location issue of media control when used other formats"
This reverts commit
4d37ba61799236291914e685766cab941ebde9fe
Jiyeon Kim [Fri, 12 Apr 2013 01:47:06 +0000 (10:47 +0900)]
Revert "Revert "Attach callback to media element to calculate device rotation""
This reverts commit
320ef6a883d077536eb41a48070fcd4dd6f03b9d
Jihye Kang [Fri, 12 Apr 2013 01:41:08 +0000 (10:41 +0900)]
Revert "Apply a zoom property when resolution is changed"
This reverts commit
39bc1fe1adf64257dce0e54d5a37a739bd809c42
Jihye Kang [Fri, 12 Apr 2013 01:43:52 +0000 (10:43 +0900)]
Revert "Attach callback to media element to calculate device rotation"
This reverts commit
d87fb24e4a283117bd8ddc5a0368a310ee328dcd
Seonae Kim [Thu, 11 Apr 2013 17:21:23 +0000 (02:21 +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: I7b011937b947383131ec64300a8b71a4563ff0ab
Seonae Kim [Thu, 11 Apr 2013 15:28:15 +0000 (00:28 +0900)]
Apply a zoom property when resolution is changed
[Title] Apply a zoom property when resolution is changed
[Issue] N_SE-31973, N_SE-31379
[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: Iab46f76b17c2457c3927db4111775f7324afed7b
Seonae Kim [Wed, 10 Apr 2013 12:51:39 +0000 (21:51 +0900)]
separate style sheet of media controls
Change-Id: Ie5624c8b9d5ad7eeb3403b9fdd99296d68aff5fc
Seonae Kim [Wed, 10 Apr 2013 05:26:34 +0000 (14:26 +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: I41b381cfe4ed3cffc723942ba1d8b4be1d65f8c9
SangYong Park [Thu, 11 Apr 2013 12:11:04 +0000 (21:11 +0900)]
Fix keypad blinking issue
[Title] Fix keypad blinking issue
[Issue#] N_SE-33450 N_SE-33881
[Problem] Keypad did showing when ewk view has focus
[Cause] Ewk view has focus before handling tap event
[Solution] Set focus to ewk view after handling tap event
Change-Id: Ib4387c6024c71d474120a9ceb7180846aa9c1e9b
Heejin Chung [Thu, 11 Apr 2013 12:07:56 +0000 (21:07 +0900)]
Merge "Check env variables only once." into tizen_2.1
eojin.ham [Thu, 11 Apr 2013 03:00:05 +0000 (12:00 +0900)]
Don't rotate camera view during getUserMedia logic when running web app.
[Title] Don't rotate camera view during getUserMedia logic when running web app.
[Problem] The direciton of camera view is incorrect when rotate device during running 'Self Camera' app.
(https://tizendev.org/bugs/browse/N_SE-33737)
[Cause] Even if 'auto-rotate' is turned on 'Self Camera' doesn't rotate window.
[Solution] getUserMedia don't know whether the web app will rotate window.
So don't rotate camera view when running web app.
If necessary the web app should implement it.
Change-Id: I4c3db52ab6a3a1ee48d55249da72658e9c5ba887
commit-queue@webkit.org [Wed, 10 Apr 2013 14:58:37 +0000 (14:58 +0000)]
[Cherry-pick] [Texmap] Update a dirty region which is not covered with keepRect.
[Title] [Cherry-pick] [Texmap] Update a dirty region which is not covered with keepRect.
[Issue] NA
[Problem] Possible to get the performance regression by the previous patch.
[Cause] Iterating more tiles to apply the dirty region then before.
[Solution] Refactoring code of "[WK2] Recover a loss of dirty region" patch.
[Cherry-pick] [Texmap] Update a dirty region which is not covered with keepRect.
https://bugs.webkit.org/show_bug.cgi?id=113752
Patch by JungJik Lee <jungjik.lee@samsung.com> on 2013-04-10
Reviewed by Jocelyn Turcotte.
There can be a dirty region which is not covered with keepRect.
However the dirty could be inside the tile area. In this case,
currently we ignore the dirty by intersecting with keepRect
and the dirty region will not be invalidated until the tile is
recreated. We must expand the keep rect to its intersecting tiles
to make sure that the dirty region is applied to existing tiles.
No tests needed, change is unobservable.
* platform/graphics/TiledBackingStore.cpp:
(WebCore::TiledBackingStore::invalidate):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148094
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Yuni Jeong [Thu, 11 Apr 2013 08:06:42 +0000 (17:06 +0900)]
Added "magnifier,show" & "magnifier,hide" evas smart callbak event.
[Title] Added "magnifier,show" & "magnifier,hide" evas smart callbak event.
[Issue#] N/A
[Problem] Main scroll of email is moved while magnifier is moving.
[Cause] Email can not check magnifier state.
[Solution] Added "magnifier,show" & magnifier,hide" evas smart callback event for checking magnifier state.
Change-Id: I5a46f796ad2eda5955e672349fcc255d37847b5d
bunam.jeon [Thu, 11 Apr 2013 07:27:02 +0000 (16:27 +0900)]
Fix the problem with pop-up flashes when text changed in input tag
[Title] Fix the problem with pop-up flashes when text changed in input tag
[Issue#] N/A
[Problem] pop-up flashes when text changed in input tag
[Cause] N/A
[Solution] Change the initialization method
Change-Id: I81b62c4f9c6cd94bf1369605975e120e119eaaa4
Jihye Kang [Tue, 9 Apr 2013 15:57:54 +0000 (00:57 +0900)]
Fix lockup issue occurred while stress test for filesystem
[Title] Fix lockup issue occurred while stress test for filesystem
[Issue#] N/A
[Problem] Lockup occurs while calling writer.write() stressfully
[Cause] ecore_pipe_write() is blocked because PIPE_BUF is full with O_NONBLOCK disabled for waiting the pipe is ready to write.
But pipe cannot be consumed because main thread is blocked because ecore_pipe_write() is blocked.
[Solution] dispatchFunctionsFromMainThread(), called by registered Ecore_Pipe_Cb for the pipe, consume functionQueue as many as possible until maxRunLoopSuspensionTime is reached.
It means ecore_pipe_write() does not needed to be called when waiting for pipe is read. - write:read does not need to be 1:1 call.
So add flag for check whether scheduled request waiting for read exists or not.
Change-Id: I58a2724c1eb33c1565a88844cc87e33ee576a6d4
eojin.ham [Thu, 11 Apr 2013 02:31:35 +0000 (11:31 +0900)]
Add a flag for getUserMedia in TizenExtensibleAPI.
[Title] Add a flag for getUserMedia in TizenExtensibleAPI.
[Problem]
[Cause] It is necessary to have different behavior between browser and web app during getUserMedia logic.
[Solution] Add a flag for getUserMedia in TizenExtensibleAPI.
Change-Id: I93ee7584b4b0db82cdda0a7217bef916f3148e40