framework/web/webkit-efl.git
11 years agoRemove '-' from month picker.
Hyerim Bae [Tue, 7 May 2013 12:03:28 +0000 (21:03 +0900)]
Remove '-' from month picker.

[Title] Remove '-' from month picker.
[Problem] N_SE-37649
[Cause] N/A
[Solution] N/A

Change-Id: I2f2a3862fe0e57c51176e53b83baeb841c018dde

11 years agoFix DCM-1341
Michał Pakuła vel Rutka [Sun, 28 Apr 2013 15:36:19 +0000 (17:36 +0200)]
Fix DCM-1341

This is a quick fix for a bug DCM-1341 where new paragraph was not
created on contenteditable area with image and text nodes inside
span tag.

Change-Id: I83708d2e816b86a722555729c7348d394917b98f

Conflicts:

Source/WTF/wtf/Platform.h

11 years agoIME show properly after disappear the clipboard.
Taeyun An [Mon, 6 May 2013 14:15:24 +0000 (23:15 +0900)]
IME show properly after disappear the clipboard.

[Title] IME show properly after disappear the clipboard.
[Issue#] N_SE-36402
[Problem] Clipboard disappearing properly but keyboard does not appear after tap on Entry text field in TizenWinset
[Cause] IME show blocking codes are existing while opening CBHM window.
[Solution] Remove blocking codes.

Change-Id: I223c755de362cf911fafdc68493768ca003778c6

11 years agoMerge "Fixed webkit crash after selecting cancel button of authentication popup....
seung hak lee [Tue, 7 May 2013 08:27:08 +0000 (17:27 +0900)]
Merge "Fixed webkit crash after selecting cancel button of authentication popup." into tizen_2.1

11 years agoChange boilerplate of test code
Ryuan Choi [Tue, 7 May 2013 08:17:50 +0000 (17:17 +0900)]
Change boilerplate of test code

[Title] Change boilerplate of test code
[Problem] Theare are no reason to follow flora. instead follow webkit copy right.

11 years agoFixed webkit crash after selecting cancel button of authentication popup.
Sungman Kim [Tue, 7 May 2013 08:19:32 +0000 (17:19 +0900)]
Fixed webkit crash after selecting cancel button of authentication popup.

When the authentication popup is displayed and user select the cancel (or ok),
webkit is terminated because cancel function is called twice by wrong deleted data reference.

[Title] Fixed webkit crash after authentication popup
[Issue#] N/A
[Problem] When the authentication popup is displayed and user select the cancel, webkit is terminated.
[Cause] authChallenge data is deleted after calling cancel and webkit is refer to deleted data and wrong operation is occurred.
[Solution] Change the timing of deleting authChallenge data to destruct ewkViewImple or handle another auth message.
[SCMRequest] N/A

Change-Id: Ie225218d9e07c308298610a64de50aad6e1a9c1a

11 years agoFixed right text selection handle is not moved after left text selection handle is...
Yuni Jeong [Mon, 6 May 2013 13:51:47 +0000 (22:51 +0900)]
Fixed right text selection handle is not moved after left text selection handle is selected.

[Title] Fixed right text selection handle is not moved after left text selection handle is selected.
[Issue#] N_SE_37401
[Problem] Right text selection handle is not moved after left text selection handle is selected.
[Cause] Left text selection handle was selected and then,
        when right text selection handle is selected,
        isMouseDowned() value of both left and right handles is true.
        So, selected handle is alwyas left text selection handle due to below code.
          - "TextSelectionHandle* selectionHandle = m_leftHandle->isMouseDowned()? m_leftHandle : m_rightHandle;"
[Solution] Added m_selectedHandle variable and changed routine to get selected handle.

Change-Id: I5b6cbd38ff14de8a2747112622be9d2196f11eb5

11 years agoFix the issue that force close occurs after playing video.
YongGeol Jung [Mon, 6 May 2013 14:35:11 +0000 (23:35 +0900)]
Fix the issue that force close occurs after playing video.

[Title] Fix the issue that force close occurs after playing video.
[Issue#] N_SE-37608
[Problem] Force close occurs when try to play video second time.
[Cause] Video layers shared window object. And shared window object is deleted when one of video element is destroyed.
[Solution] Do not share window object.

Change-Id: Ibeea38f6f32f6378f410ce88d0daf02fc81d978c

11 years agoexponentially grow the read buffer size for the html resource
Jie Chen [Mon, 15 Apr 2013 01:41:58 +0000 (09:41 +0800)]
exponentially grow the read buffer size for the html resource

[Title] exponentially grow the read buffer size for the html resource
[Issue] N/A
[Problem] takes long time to entirely load and render some huge pages like Facebook
[Cause] The page early rendering with partially loading is an attractive feature
for better UX. The rendering and loading tasks are performed in turn in
same event loop of the WebProcess. After the loading task parses each
newly loaded buffer of html or css content, the new dom nodes and css
rules will be added. Later, the rendering task will recompute the render
tree accordingly. Enlarging the buffer size can reduce this recomputing
to some extent. Hypothetically it can be totally avoided if the buffer
size is large enough to completely accommodate all the html with merely one buffer.
[Solution] exponentially grow the read buffer size for the html resource

Change-Id: I6fbf7c1a66876f64a40b956cf7e5b3c06d0d6068

11 years agoMerge "[Release] Webkit2-efl-123997_0.11.39" into tizen_2.1
Kangil Han [Mon, 6 May 2013 13:56:24 +0000 (22:56 +0900)]
Merge "[Release] Webkit2-efl-123997_0.11.39" into tizen_2.1

11 years agoPatch proposal for Docomo 1339 bug.
Wojciech Bielawski [Thu, 2 May 2013 11:56:49 +0000 (13:56 +0200)]
Patch proposal for Docomo 1339 bug.

Change-Id: I4f0fcb14361f8e80736507868f8c7d17c374b3fa

11 years agoFix for different layout of mhtml saved page
Santosh [Thu, 2 May 2013 09:16:49 +0000 (18:16 +0900)]
Fix for different layout of mhtml  saved page
http://sports.hankooki.com/lpage/soccer/201304/sp2013042317313793750.htm

[Title] Fix for different layout of mhtml  saved page
in http://sports.hankooki.com/lpage/soccer/201304/sp2013042317313793750.htm
[Issue#] TD-9513
[Problem] The Style of saved page was completely different
from original page.
[Cause] The final path url of sheet specified under @import
are not relative to parent stylesheet but relative to document
[Solution] Modified the code to calulate final URL path of Stylesheet
relative to parent stylesheet.
[Developer] Santosh Mahto[santosh.ma@samsung.com)

Change-Id: Ic9624339de4d39be205119c15e529f22f6067064

11 years agoMerge "Fix for missing image in MHTML Page save" into tizen_2.1
seung hak lee [Mon, 6 May 2013 10:02:10 +0000 (19:02 +0900)]
Merge "Fix for missing image in MHTML Page save" into tizen_2.1

11 years ago[Release] Webkit2-efl-123997_0.11.39
Taehwan Kim [Mon, 6 May 2013 08:53:19 +0000 (17:53 +0900)]
[Release] Webkit2-efl-123997_0.11.39

Change-Id: Ieeafa7cbbba6d49b6d929b62e4d62ee9f5b49238

11 years agoMerge "Remove not used code of SharedVideoPlatformSurfaceTizen." into tizen_2.1
GyongJin Joung [Mon, 6 May 2013 08:19:18 +0000 (17:19 +0900)]
Merge "Remove not used code of SharedVideoPlatformSurfaceTizen." into tizen_2.1

11 years agoFix for missing image in MHTML Page save
Santosh [Sat, 27 Apr 2013 12:54:40 +0000 (21:54 +0900)]
Fix for missing image in MHTML Page save

[Title] Fix for missing image in MHTML Page save by handling
resources under @Media
[Issue#] TD-9513
[Problem] Some Image was missing in MTHML format of Page saving
[Cause] Image resource specified in CSS under @media
are ignored by pageserializer
[Solution] Added the code to get the resources specified
under rule @media
[Developer] Santosh Mahto[santosh.ma@samsung.com)

Change-Id: I4fdd26a96b16b49ed2d32a009e3131c0cfea664c

11 years agoDo not hide keypad when webview has not focus
SangYong Park [Fri, 3 May 2013 09:31:48 +0000 (18:31 +0900)]
Do not hide keypad when webview has not focus

[Title] Do not hide keypad when webview has not focus
[Issue#] N_SE-37413
[Problem] Keypad did hiding when editor state was changed
[Cause] Do not check webview focus
[Solution] Hide keypad if webview has focus

Change-Id: I2964d8a79a35db1afd364c6b6184140b5b0e77ec

11 years agoRemove not used code of SharedVideoPlatformSurfaceTizen.
YongGeol Jung [Mon, 6 May 2013 05:26:14 +0000 (14:26 +0900)]
Remove not used code of SharedVideoPlatformSurfaceTizen.

[Title] Remove not used code of SharedVideoPlatformSurfaceTizen.
[Issue#] N/A
[Problem]
[Cause]
[Solution]

Change-Id: I1dac69df0ebf5b3cf8a268c118bad2006199fb11

11 years agoFix typo error.
Hyowon Kim [Mon, 6 May 2013 05:10:36 +0000 (14:10 +0900)]
Fix typo error.

Change-Id: I6b9ec6821f3e6d913bf79b57dbc402638ce1245d

11 years agoMerge "Fix for error page text break due to word break style being break all" into...
seung hak lee [Mon, 6 May 2013 05:05:49 +0000 (14:05 +0900)]
Merge "Fix for error page text break due to word break style being break all" into tizen_2.1

11 years agoAdd null-check in the PageClient's destructor.
Hyowon Kim [Mon, 6 May 2013 02:38:35 +0000 (11:38 +0900)]
Add null-check in the PageClient's destructor.

[Title] Add null-check in the PageClient's destructor.
[Issue] N_SE-37245
[Problem] Unexpected force close
[Cause] The EwkViewImpl or WebPageProxy is not valid.
[Solution] null-check

Change-Id: I94b0af22cbeededf8f9d63a776d4c105289bc7e8

11 years agoApply SERVICE_OPERATION_PICK operation for <input type=file>
Jiyeon Kim [Fri, 3 May 2013 08:03:35 +0000 (17:03 +0900)]
Apply SERVICE_OPERATION_PICK operation for <input type=file>

[Title] Apply SERVICE_OPERATION_PICK operation for <input type=file>
[Problem] P130426-4933, P130425-4323. Facebook, twitter and other application need selecting UI for using different kinds of application when user select upload file button or video icon
[Cause] Only file manager launched when input type is file.
[Solution] If input type is file, set service operation type to SERVICE_OPERATION_PICK and launch app service controller not file manager

Change-Id: Ib00a1dce77156459ae92ed5e766c6a4daee542bc

11 years agoPlay area should not be exceeded to the entire timeline.
eojin.ham [Sat, 4 May 2013 11:12:15 +0000 (20:12 +0900)]
Play area should not be exceeded to the entire timeline.

[Title] Play area should not be exceeded to the entire timeline.
[Issue#] N/A
[Problem] If the duration value is smaller than actual value, play area exceed to the entire timeline.
[Cause] Didn't check max limit when draw play area.
[Solution] Set max limit when draw play area in timeline.

Change-Id: I7cb68df534f1f2c1ea5eeeb24eb63493c5ae917b

11 years agoDon't do unnecessary initialization for video size.
eojin.ham [Sat, 4 May 2013 09:20:27 +0000 (18:20 +0900)]
Don't do unnecessary initialization for video size.

[Title] Don't do unnecessary initialization for video size.
[Issue#] https://tizendev.org/bugs/browse/N_SE-37219
[Problem] Video size is initialized unnecessarily in notifyPlayerOfVideo().
[Cause] Video size was already assigned in xWindowIdPrepared().
[Solution] Don't do unnecessary initialization for video size.

Change-Id: Ic70d49ab49ec905c3a65bd23b4558e1d70a59366

11 years agoSet default size of video in media document as 300 * 150
eojin.ham [Sat, 4 May 2013 08:35:58 +0000 (17:35 +0900)]
Set default size of video in media document as 300 * 150

[Title] Set default size of video in media document as 300 * 150
[Issue#] https://tizendev.org/bugs/browse/N_SE-37219
[Problem] Video is shown as thin line in media document when failed to get natural video size.
[Cause] It set default size of video in media document as 300 * 1.
[Solution] Set default size of video in media document as 300 * 150 when it has video stream.

Change-Id: I48fce28b8e79ace772185f3353ebb0d33c8f45ab

11 years agoFix for error page text break due to word break style being break all
praveen.ks [Sat, 27 Apr 2013 02:13:48 +0000 (11:13 +0900)]
Fix for error page text break due to word break style being break all

[Title] Fix for error page text break
[Issue#] P130425-7080
[Problem] Error page text after "Web page not available" breaks at any character
[Cause] It is due to <p> before error text tag having style attribute set to word-break:break-all
[Solution] Remmove style attribute from <p> tag and apply it to the <a> tag for link present in error text
[Developer] Praveen (praveen.ks@samsung.com)

11 years agoDisable partial update tile
Eunsol Park [Fri, 3 May 2013 08:51:12 +0000 (17:51 +0900)]
Disable partial update tile

[Title] Disable partial update tile
[Issue#] NA
[Problem] vedio controller was broken
[Cause]
[Solution] Disable partial update tile

Change-Id: I92ee9b82536cb8e97d5157660578f63a42d05627

11 years agoMerge "Remove unused Tizen script tizen-layout-test" into tizen_2.1
Kangil Han [Fri, 3 May 2013 09:52:41 +0000 (18:52 +0900)]
Merge "Remove unused Tizen script tizen-layout-test" into tizen_2.1

11 years agoRemove unused Tizen script tizen-layout-test
Taehwan Kim [Fri, 3 May 2013 09:00:55 +0000 (18:00 +0900)]
Remove unused Tizen script tizen-layout-test

[Title] Remove unused Tizen script tizen-layout-test
[Issue#] N/A
[Problem] Not used anymore
[Cause] Code clean up
[Solution] Delete unused code

Change-Id: I04c672431b0298a2823c0ff9679606f9260f5946

11 years agoMerge "Fix the EGL_NON_CONFORMANT_CONFIG issue" into tizen_2.1
YongGeol Jung [Fri, 3 May 2013 08:08:32 +0000 (17:08 +0900)]
Merge "Fix the EGL_NON_CONFORMANT_CONFIG issue" into tizen_2.1

11 years agoFix the EGL_NON_CONFORMANT_CONFIG issue
Jie Chen [Fri, 3 May 2013 07:33:06 +0000 (15:33 +0800)]
Fix the EGL_NON_CONFORMANT_CONFIG issue

[Title] Fix the EGL_NON_CONFORMANT_CONFIG issue
[Issue#] TDIS-5594
[Problem] webprocess crashes for some webgl test cases
[Cause] EGL_NON_CONFORMANT_CONFIG is not available
[Solution] use EGL_NONE instead

11 years agoMerge "[Release] Webkit2-efl-123997_0.11.38" into tizen_2.1
Kangil Han [Fri, 3 May 2013 07:27:03 +0000 (16:27 +0900)]
Merge "[Release] Webkit2-efl-123997_0.11.38" into tizen_2.1

11 years ago[Release] Webkit2-efl-123997_0.11.38
Sanghyup Lee [Fri, 3 May 2013 07:27:15 +0000 (16:27 +0900)]
[Release] Webkit2-efl-123997_0.11.38

Change-Id: I71fc4479a38708c02ddb551cd6acbd6c17b40598

11 years ago[WK2] Use fixed scale to animation layer.
JungJik Lee [Tue, 30 Apr 2013 07:35:55 +0000 (16:35 +0900)]
[WK2] Use fixed scale to animation layer.

[Title] [WK2] Use fixed scale to animation layer.
[Issue#] P130426-4323
[Problem] while pulling the list, the list page is blurred in mobile twitter page.
[Cause] small zoom scale is applied to an animation layer
[Solution] if the layer is an animation layer, use fixed zoom scale.

Change-Id: Ia7c6cd78a1e8c9a2f73516dec913c22131714296

11 years agoMerge "Fix memory leak of graphics surface.(Emulator)" into tizen_2.1
Heejin Chung [Fri, 3 May 2013 05:09:56 +0000 (14:09 +0900)]
Merge "Fix memory leak of graphics surface.(Emulator)" into tizen_2.1

11 years agoMerge "Remove invalid code." into tizen_2.1
Heejin Chung [Fri, 3 May 2013 05:03:46 +0000 (14:03 +0900)]
Merge "Remove invalid code." into tizen_2.1

11 years agoMerge "[CherryPick] [EFL][Qt][WK2] Fixed position elements are not always fixed"...
YongGeol Jung [Fri, 3 May 2013 02:36:26 +0000 (11:36 +0900)]
Merge "[CherryPick] [EFL][Qt][WK2] Fixed position elements are not always fixed" into tizen_2.1

11 years ago[CherryPick] [EFL][Qt][WK2] Fixed position elements are not always fixed
kenneth@webkit.org [Tue, 4 Dec 2012 00:04:52 +0000 (00:04 +0000)]
[CherryPick] [EFL][Qt][WK2] Fixed position elements are not always fixed

[Issue#] N_SE-36822
[Problem] Display error occur when go to " http://www.samsung.com/global/ativ/ativ_s.html
[Cause] Fixed position elements are not always fixed
[Solution] Cherry picked.

[EFL][Qt][WK2] Fixed position elements are not always fixed
https://bugs.webkit.org/show_bug.cgi?id=103452

Reviewed by Simon Fraser.

The code figuring out whether fixed position layers are inside
the visible viewport, assumes that the visible viewport is always
the size of the layout viewport. This assumption doesn't hold with
how the Qt and EFL tiled backing store and coordinated graphics
works, so instead using the visibleContentsRect(), which provides
the right values in all cases.

* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::requiresCompositingForPosition):

    Use visibleContentsRect instead of scrollOffsetForFixedPosition().

    scrollOffsetForFixedPosition() is needed sometimes in the Mac code
    because visibleContentRect() will return negative offsets when you
    are in the rubber-band phase of a scroll on the Mac.

    However that is not an issue here.

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

Conflicts:
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderLayerCompositor.cpp

Change-Id: Ia2fcdcc376e3cf72edd016ae574b062c0f0e32cf

11 years agoSMACK rule added
Taehwan Kim [Fri, 3 May 2013 02:09:20 +0000 (11:09 +0900)]
SMACK rule added

[Title] SMACK rule added
[Issue#] N/A
[Problem] N/A
[Cause] In the application, have the privilege to write about the Xorg.
        so add the read permission.
[Solution] webkit2-efl.manifest file modified

Change-Id: I0134c437de28f4b6dadf60b1ac250213e47812cb

11 years agoReplaced handling row data with cairoAPI while copying dirty area
Eunsol Park [Thu, 2 May 2013 12:10:31 +0000 (21:10 +0900)]
Replaced handling row data with cairoAPI while copying dirty area

[Title] Replaced handling row data with cairoAPI while copying dirty areas
[Issue#] P130429-4677
[Problem] Crash once when copying dirty area
[Cause] The dirty area buffer was allocated by malloc, some part of that was broken.
[Solution] The buffer was used by cairo API, not allocated singly,
          because cairo API is safer to handle buffers.

Change-Id: I4b3f6c1064d24e352485990d75c8bd19bde0021e

11 years agoDo not suspend CSS animations when page is hidden
Heejin Chung [Thu, 2 May 2013 08:20:07 +0000 (17:20 +0900)]
Do not suspend CSS animations when page is hidden

[Title] Do not suspend CSS animations when page is hidden
[Issue#] TDIS-5549
[Problem] CSS animation gets suspended when moved to background.
[Cause] commit f9d52256dc1509696c042ae7b7400fbaa271e8bd
        was added to save CPU resource when page is hidden.
        However, animated attributes are changed without it being
        painted when page is in background, so almost no CPU resources
        are used when css animation runs on a page that is hidden.
[Solution] revert previous patch

Change-Id: Idf54192a75709c2a6db1f755e9fb233b58eb2185

11 years agoRevert "Refine focus ring repainting code when web contents was changed."
Jongseok Yang [Thu, 2 May 2013 12:42:32 +0000 (21:42 +0900)]
Revert "Refine focus ring repainting code when web contents was changed."

This reverts commit c8bdeda433cfa1f863fde9b3d502fe79bfd6ea34

11 years agoMerge "Replace ALOG with ALOG_VA for ConsoleMessage" into tizen_2.1
InBum Chang [Thu, 2 May 2013 10:50:10 +0000 (19:50 +0900)]
Merge "Replace ALOG with ALOG_VA for ConsoleMessage" into tizen_2.1

11 years agoApply the scale after the media control is created
Seonae Kim [Thu, 2 May 2013 09:33:16 +0000 (18:33 +0900)]
Apply the scale after the media control is created

[Title] Apply the scale after the media control is created
[Issue] N_SE-37138
[Problem] The size of media control is too large sometimes in portrait mode.
[Cause] The media control is not resized after second entry to fullscreen.
[Solution] Call the scale function when created,

Change-Id: I56e06ade3f85225e4a084b93951e26455bc36907

11 years agoAdd the 'GraphicsSurface::UseLinearFilter' flag to Canvas2DLayerTizen.
Hyowon Kim [Thu, 2 May 2013 09:40:10 +0000 (18:40 +0900)]
Add the 'GraphicsSurface::UseLinearFilter' flag to Canvas2DLayerTizen.

[Title] Add the 'GraphicsSurface::UseLinearFilter' flag to Canvas2DLayerTizen.
[Issue] VPSS-870 TDIST-184
[Problem] The <canvas> image is distorted by minification (when its scale factor is not 1.)
[Cause] The Canvas2DLayerTizen's CanvasFlag doesn't have UseLinearFilter.
[Solution] Canvas2DLayerTizen::graphicsSurfaceFlags() returns UseLinearFilter.

Change-Id: I68572babd03adb3ad42ba5fb500759672efc1529

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 agoRemove invalid code.
YongGeol Jung [Mon, 29 Apr 2013 11:47:42 +0000 (20:47 +0900)]
Remove invalid code.

[Title] Remove invalid code.
[Issue#] N/A
[Problem] Some webgl test cases fail on emulator.
[Cause] After initializing webgl context, getError function returns INVALID_VALUE due to invalid code.
[Solution] Remove invalid code.

Change-Id: Id8617171ae59ad4e5ceb87729c43996fe73cb1fa

11 years agoReplace ALOG with ALOG_VA for ConsoleMessage
KwangYong Choi [Thu, 2 May 2013 04:48:41 +0000 (13:48 +0900)]
Replace ALOG with ALOG_VA for ConsoleMessage

[Title] Replace ALOG with ALOG_VA for ConsoleMessage
[Issue#] N/A
[Problem] ALOG prints additional its own format.
[Cause] Dlog package changes.
[Solution] Use ALOG_VA instead of ALOG.

Change-Id: I33e55238a439457f03e5c5f3ae5fd54bbf22b658

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 agoFix memory leak of graphics surface.(Emulator)
YongGeol Jung [Fri, 26 Apr 2013 07:39:21 +0000 (16:39 +0900)]
Fix memory leak of graphics surface.(Emulator)

[Title] Fix memory leak of graphics surface.(Emulator)
[Issue#] N/A
[Problem] Private data is not freed.
[Cause]
[Solution] Free private data.

Change-Id: I3ceef4a149af2c4696ab8a9ce49daf780f4b5fff

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