younghwan cho [Tue, 26 Mar 2013 13:51:43 +0000 (22:51 +0900)]
changing result of layout-test for cherrypick from open-source webkit
[Title] changing result of layout-test for cherrypick from open-source webkit
[Issue#] none
[Problem] result of layout-test is changed after cherrypick 'Tables with just border-style set on the cells do not get a grid'
[Cause] none
[Solution] new-baseline changed result
Change-Id: I3927746919e0ec240430575f835ad9db9b7f659c
Kihong Kwon [Mon, 1 Apr 2013 01:31:47 +0000 (10:31 +0900)]
Merge "If applicationCachePermissionCallback does not define or set, ewkViewRequestApplicationCachePermission method returns true" into tizen_2.1
Jiyeon Kim [Mon, 1 Apr 2013 00:07:01 +0000 (09:07 +0900)]
If applicationCachePermissionCallback does not define or set, ewkViewRequestApplicationCachePermission method returns true
[Title] If applicationCachePermissionCallback does not define or set, ewkViewRequestApplicationCachePermission method returns true
[Problem] If ewkViewRequestApplicationCachePermission method returns false, application cache doesn't work
[Cause] N/A
[Solution] I'll change returning value true to false after implementing permission popup on browser side
Change-Id: I447cf7e2df0dfbf53f2c8ccf3e5cdaf9c6c76f4d
Taeyun An [Sat, 30 Mar 2013 08:55:12 +0000 (17:55 +0900)]
Fix BS in m.nate.com
[Title] Fix BS in m.nate.com
[Issue#] N/A
[Problem] BS occurred when clicking the link in m.nate.com
[Cause] There is no check for page()
[Solution] Add the check for page()
Change-Id: I8c82109dcdbb8b1e4f93ff3fbca579a954bd4264
ryuan [Wed, 27 Mar 2013 10:42:50 +0000 (19:42 +0900)]
Basic implementation of compassneedscalibration
[Title] Basic implementation of compassneedscalibration
[Issue#] N/A
[Problem] W3C mentioned compassneedscalibration, but webkit does not have implementation.
[Cause] N/A
[Solution] Implemented
Change-Id: If813424478fc96545f6257928b7bd67b7abf43b0
YongGeol Jung [Fri, 29 Mar 2013 05:49:49 +0000 (14:49 +0900)]
Fix the issue that short black glitch when switching bandwidth.
[Title] Fix the issue that short black glitch when switching bandwidth.
[Issue#] N/A
[Problem] Short black glitch when switching bandwidth.
[Cause] After changing video size, new buffer which is not drawn was used for compositing.
[Solution] If current buffer is not updated yet, copy previous buffer.
Change-Id: I6977e59cf402b28748d368a3a79493972d1ec473
Kyungjin Kim [Fri, 29 Mar 2013 10:25:23 +0000 (19:25 +0900)]
fixed Check MakeCurrent error for cairo gles
[Title] fixed Check makeCurrent error for cairo gles
[Issue#] N/A
[Problem] Check MakeCurrent error happens in DDK when destroying ImageBuffer
[Cause] Because we don't call makeCurrent for gl surface, some gl calls could remain although the context already gone
[Solution] fixed to call glFlush to make sure all gl calls have been committed before destroying pixmaps
Change-Id: I7a3e7edb661985b55cc41e26767613493d2d7cb5
Raveendra Karu [Fri, 29 Mar 2013 09:48:45 +0000 (18:48 +0900)]
There is "%errorPageTitle%" on Scrapbook screen when page was added to Scrapbook but cannot be loaded due to no internet connection
[Title] There is "%errorPageTitle%" on Scrapbook screen when page was added to Scrapbook but cannot be loaded due to no internet connection
[Issue#] P130327-7283
[Problem] Error page title is not displayed properly
[Cause] As of now, we are not adding any title while displaying the error page when an error occurs.
Hence it is showing %errorPageTitle% in the Title bar.
[Solution] Code changes done to replace %errorPageTitle% with Heading of the error page (Similar behavior observed in Android stock browser).
[Developer] Raveendra Karu (r.karu@samsung.com)
Seonae Kim [Wed, 27 Mar 2013 04:22:46 +0000 (13:22 +0900)]
Apply permission popup for offline application cache
[Title] Apply permission popup for offline application cache
[Problem] N/A
[Cause] N/A
[Solution] Add permission popup routine after parsing manifest file. If user doesn't want use application cache and select 'no', cacheUpdateFailed() is called.
Change-Id: I17c57aa0db97c35ae848fbcb8be6a6346f0d42dd
keonho07.kim [Fri, 29 Mar 2013 05:30:57 +0000 (14:30 +0900)]
Revert "Revert "Hardware Accelerated Video Playback doesn't work on IA""
This reverts commit
fe630af72af05c9387735b7cebc82abdffa50bdd.
Note: we have found the root cause of the problem with Samsung SCM team, hence back to merge in.
jinwoo jeong [Fri, 29 Mar 2013 04:53:11 +0000 (13:53 +0900)]
Fix message text in number and URL input tag
[Title] Fix message text in number and URL input tag
[Issue#] N_SE-28998
[Problem] Wrong message in number and URL input tag
[Cause] N/A
[Solution] modify message text.
Change-Id: Ib80557fa1e7cf3d011c4fec40a49bb080ecd76e8
Taeyun An [Fri, 29 Mar 2013 02:49:36 +0000 (11:49 +0900)]
[Release] Webkit2-efl-123997_0.11.7
Change-Id: I5713ff1f0110ecccd67c134cacbf97d88ea876d9
keonho07.kim [Fri, 29 Mar 2013 02:42:41 +0000 (11:42 +0900)]
Revert "Hardware Accelerated Video Playback doesn't work on IA"
This reverts commit
c8d52f59fefa39533322223815b0c4825eda8324.
Note: this commit is reverted due to an immediate request from Samsung SCM team.
We will test and verify this patch if everything works okay with this one.
keonho07.kim [Fri, 29 Mar 2013 00:33:17 +0000 (09:33 +0900)]
Set value of m_suspended false after resuming of mediaElement asynchronously.
[Title] Set value of m_suspended false after resuming of mediaElement asynchronously.
[Problem] long horizontal video frame is displayed for while during resuming video.
[Cause] height of mediadocument is set 0 before resuming of video yet in calculateIntrinsicSize().
[Solution] Set value of m_suspended false after resuming of mediaElement asynchronously.
Change-Id: I26e0f9fe52d3a73388cae614c1f8f6a34d899650
Taeyun An [Thu, 28 Mar 2013 15:09:07 +0000 (00:09 +0900)]
[Release] Webkit2-efl-123997_0.11.6
Change-Id: I205c82c2d0122a067952f66295d84e6c1c601452
Taeyun An [Thu, 28 Mar 2013 15:01:19 +0000 (00:01 +0900)]
Revert "[CherryPick] Input Method upversion"
This reverts commit
8b1930512c6400a038d38d4f13c3c7d0669901f5.
Conflicts:
Source/WebKit2/UIProcess/API/efl/ewk_context.cpp
Change-Id: I87e8df1c9ff8c7c7293e96ca4cf53bbdd0e466fa
Taehwan Kim [Thu, 28 Mar 2013 12:34:38 +0000 (21:34 +0900)]
[Release] Webkit2-efl-123997_0.11.5
Change-Id: I00abeb67f6025fbbde432a29b50454987705b82c
JungJik Lee [Thu, 28 Mar 2013 11:26:40 +0000 (20:26 +0900)]
DDK Check for WRT.
[Title] DDK Check for WRT
[Issue#] N/A
[Problem] Prevent to launch WRT without DDK(OpenGL Library)
[Cause]
[Solution] if DDK is not installed, force not to launch the WRT client.
SangYong Park [Thu, 21 Mar 2013 08:58:03 +0000 (17:58 +0900)]
[CherryPick] Input Method upversion
c261bad7c2c1ff65b9cb7617842e11b469fb6fae 132594
[CherryPick] [EFL][WK2] Move input method code out of EwkViewImpl
8ad4d36c8249c4a6842fa53f625f8ac7a9024d90 132498
[CherryPick] [EFL][WK2] Remove some C'ism from EwkView
392e6b2c0df42fdcf6790b679456753f6b79fc10 132485
[CherryPick] [EFL][WK2] Memory leak in _ewk_view_preedit_changed()
8041403842a80d5829d424b7c8eb68cd1fc5dcff 132483
[CherryPick] [EFL][WK2][AC] Regression(132392) infinite loop when displaying certain animations.
ed162a3011ee019629fde01848cc1b80e053933f 132463
[CherryPick] [EFL][WK2] Get rid of Ewk_View private C API (Part 2)
cd1b6e49e4edafa7f4d634b1483e0cf71fb2febc 132405
[CherryPick] [EFL][WK2] Get rid of Ewk_View private C API (Part 1)
4b37f75e3a220d6ee7dc869948f857347f831d67 132354
[CherryPick] [EFL][WK2] Ewk_Settings refactoring
37b3a4a14216ffbabf29d59949b34c5ab48899ee 132353
[CherryPick] [EFL][AC] Fix build break when AC is enabled
061991b08c7960869ad49688aafaff611beea773 132337
[CherryPick] [EFL][WK2] Move Ewk_View_Private_Data out of ewk_view.cpp
bec3863286163b0c991de26d849aae98633719ea 132336
[CherryPick] [EFL][WK2] Crash when passing NULL instead of ewk_view instance
fea6a2371f8bc6a6ac610ba306f416c2091a7ad5 132334
[CherryPick] [EFL][WK2] Make find and form clients C++ classes
7b933e4c13dfc8c809b93e36a03ca621b52d30d1 132326
[CherryPick] [EFL][WK2] Make History client a C++ class
3e565bbbbef8f483de24340599f9854921e465df 132217
[CherryPick] [EFL][WK2] Make request manager client a C++ class
84707780651e29d05214b869e987f246d55b1c89 132210
[CherryPick] [EFL][WK2] Add support for IMF composition
c833582ebacb4cc55bc6e1f8fa7010f8c8557ee9 132208
[CherryPick] [EFL][WK2] Make Policy client a C++ class
b80fbbd1ad4b65216d3f5d96db7ba8d016821f94 132203
[CherryPick] [EFL][WK2] Make UI client a C++ class
1f5d4170ee4da64d7912004028428323d1092998 132200
[CherryPick] [EFL][WK2] Make a download client a C++ class
ebbdf4297592c8f39c68d08eb397c58396974541 132192
[CherryPick] [EFL][WK2] Refactor Ewk_Context
a05d164bc7843e71fe64843eef1d1c3102d792f2 132189
[CherryPick] [EFL][WK2] Make page load client a C++ class
2dff6ae9b5721d0922a5d5e3f2df6b9abe19bb5e 132126
[CherryPick] [EFL][WK2] ewk_view_color_picker_color_set() is leaking
b7da18319ac14cc548220073581e9f904fb3bc82 132122
[CherryPick] [EFL][WK2] Make the resource load client a C++ class
334d3281721423c9abd7de6df997de4d02990687 132006
[CherryPick] [EFL][WK2] Make Ewk_Url_Request, Ewk_Url_Response and Ewk_Url_Scheme_Request members private
94363c78bdade28ce0da435b9040c8d9fb41f033 132004
[CherryPick] [EFL][WK2] Make Ewk_Favicon_Database members private
3dde50f46b234250b3df937566d44db32039d57a 132003
[CherryPick] [EFL][WK2] Make Ewk back / forward list classes members private and remove private C functions
30620fa7b0b137092edf736fcdfb09575b0172b8 132001
[CherryPick] [EFL][WK2] Make Ewk intent classes members private
ba5554e3c9ad21e8c49701fa1726de5e1f9ea775 132000
[CherryPick] [EFL][WK2] Make Ewk_Download_Job members private and remove private C functions
aa506089cb0603091620d34e22848805382c479a 131712
[CherryPick] [EFL][WK2] Remove '_' prefix from private API structure names
7eaa2bcc88ccb6ddac793a8ea0891358df1f0081 131654
[CherryPick] [EFL][WK2] Memory leak in ewk_download_job_response_set()
645d2757a06471c93ab3981afc8f8a9eac35a1a6 131650
[CherryPick] [EFL][WK2] Use smart pointers inside Ewk_View
5a81ee0cb47dc93d2881ee85862071ba9c5bcbc0 131575
[CherryPick] [EFL][WK2] Ewk_Url_Scheme_Request has to be refactored
f8560fcb10b0626bf8e321d296bc03d87d3a247f 131558
[CherryPick] [EFL][WK2] Start using OwnPtr for non-ref counted ewk types
4a2edb7aa077749efecc2c3a89516f1945fe85d1 131556
[CherryPick] [EFL][WK2] Use WTF RefCounted and RefPtr for Ewk_Resource and Ewk_Form_Submission_Request
3e113fc624a1edd67e34da02671e17846a3eb652 131546
[CherryPick] [EFL][WK2] Add factory methods for refcounted Ewk types
4bf9402da15e1fe50fc9a5e5e1072aafdad1f2e4 131447
[CherryPick] [WK2][EFL] Crash in _ewk_view_on_favicon_changed()
5db423158cccac4f8005ceb9ca1770d0c25d632c 131463
[CherryPick] [EFL][WK2] Have intent classes subclass RefCounted
1930e2b6435cbbe1d17fe29875b6786a1b2b7e36 131460
[CherryPick] [EFL][WK2] Inherit Ewk_Download_Job, Ewk_Back_Forward_List_Item, Ewk_Url_Response, Ewk_Navigation_Policy_Decision from RefCounted
e28661623630a58994c8b2732dc90c7c7f092398 131347
[CherryPick] [EFL][WK2] Provide implementation for PageClientImpl::toolTipChanged()
58b89dcae1ffa64095e6e2708186eb80fc506382 131337
[CherryPick] [EFL][WK2] Implement Favicons API
214817422c8d82afd5eb79b4805abf66a5bce55c 131298
[CherryPick] [EFL][WK2] Encapsulate ref counting for Ewk objects in a parent class
d092042109ff18d0cd0ca0b22624ba64366ec9e1 130978
[CherryPick] [EFL][WK2] Add toolbar buttons to MiniBrowser
5cea21848522a14ce19dd5b5312fad3a0152c293 130871
[CherryPick] [EFL][WK2] Add History callbacks API
992c20a2c91515187d06fbc0ef0c49575310ac64 130764
[CherryPick] [EFL][WK2] Inform the PageProxy about visibility changes when the view is shown/hidden.
b49831353227596bf3fd38678e805507b1e34152 130671
[CherryPick] [EFL][WK2] Avoid useless converting to WKPage
631e053405d647285661149edd47c6342ed9cd4b 130637
[CherryPick] [EFL][WK2] Use URL instead of URI in the API
a69d654b94a2c3851e71a49a2b3d240d8559a44a 130494
[CherryPick] [EFL][WK2] Remove "web" word from ewk_web_error APIs
f4799622fc108a63e77d1f56cfdbaed7e0dacdc3 130492
[CherryPick] [EFL][WK2] Add API to count the matching text
f74518c64c331024db903bc709343cc1dfe77736 130479
[CherryPick] [EFL][WK2] Remove "web" word from ewk_resource APIs
94fc25c764c33bf634c2d476a068ed08b6acaecc 130363
[CherryPick] [EFL] Enable use of X11 in DumpRenderTree / WebKitTestRunner
8cff89f2c5faf906df48011ad44e06f4c4d82e2a 130259
[CherryPick] [GTK] Add API to get the web view that initiated a custom URI request to WebKit2 GTK+
dbc4e54e3df36a758ff7b20846651ea104bbdde4 129906
[CherryPick] [WK2][GTK] Implement new Favicons API
0dfe22fae98efebc705a1e50cf5094b77a0d3a3f 129871
[CherryPick] [EFL][WK2] exceededDatabaseQuota event is not handled
aaf28b5deaecaca4782c030c9de1c86139820131 129789
[CherryPick] [WK2] IconDatabase: Add a way to notify when icon data is available
ca887f46af9b9ac0bffcea00bfb62af810b5a0bb 129765
[CherryPick] [EFL][WK2] Process touch events using mouse and multi events of Evas.
ac70e4903a2e77952ee63c4d9fd3365ac012c5c4 129758
[CherryPick] [EFL][WK2] Add callback functions for WKPageFindClient
9ba77a7258f7a4dc569a1baea16d0a3856deed31 129742
[CherryPick] [WK2] IconDatabase: Add a way to notify when icon data is available
ea161627efad4ac265b8185c82add8082281b8eb 129196
[CherryPick] [EFL][WK2] Add API to feed touch event.
56737f8fc2d31a4951d33698ad31c773326eeda9 129134
[CherryPick] [EFL][WK2] Add APIs to create, delete and get ewk_context.
4ff2b7169c5243661ad3f9fd64de4d62f52465f4 129121
[CherryPick] [EFL][WK2] Implemented color picker API
71c99cdadd411b483d6418cbdfa139554df88f2f 129101
[CherryPick] [EFL] Change the log macro names to be more consistent with EINA LOG
9be94e02356e8e5d33b90ab700eb9e7da146fa4e 128967
[CherryPick] [EFL][WK2] Add javascript popup API.
f074709e2721f4dd9a632b0bb6a296b6ab62a4a6 128962
[CherryPick] [EFL][WK2] Add log macros for EINA_LOG_DOM_XXX series
b65cf8c0522c6b9da9970a7114c205d29b31a35f 128690
[CherryPick] [EFL][WK2] Provide implementation for PageClientImpl::processDidCrash()
ceb180687607be09fffe9cce0cba8cf4dedd2c90 128560
[CherryPick] [EFL] Remove a lot of C'ism from Ewk_Tiled_Matrix
91006ec8a1b78f68f829ecdb4528cd084b14f6e5 128464
[CherryPick] [EFL] Remove a lot of C'ism from Ewk_Tiled_Backing_Store
1be84ed060e1d2faa39ca13f9ad24cc0ba858c86 128413
[CherryPick] [EFL][WK2] Make _ref() functions return the object
720806056f026dbc258b3378b63144e05d5b8daf 128191
[CherryPick] [EFL] Rewrite the EFL-related Find modules
7a4ada78943531a4e73c0a49d87bed552f87c3ae 128160
[CherryPick] [EFL][WK2] WKEinaSharedString needs a function to adopt eina stringshare.
34bc8fe810df2ff1e16f53ac5d174cc807131051 128056
[CherryPick] [EFL][WK2] Add fullscreen enter / exit signals to the ewk_view API
ed67361242abb71b2702630f59577d0a84db3783 127842
[CherryPick] [EFL][WK2] Add APIs to enable or disable the mouse events of the ewk_view.
c770bb27bd73f61980421eee5d8377e20c9a5cd3 127729
[CherryPick] [EFL] Sanitize URLs in EWebLauncher / Minibrowser
60454cecb49525dc3ef71acb084b7a4ea6185788 127686
[CherryPick] [EFL][WK2] Implement missing feature to support <select> tag
8f97462a94af52a76e729474ce0503af10433b38 127444
[CherryPick] [EFL] Drop default theme concept
4cdf2d7e0154c25a6859b6ea2af36e9b060588e7 127422
[CherryPick] [EFL][WK2] Add ewk_settings.
194bce3db2c76c43fe5049943c9daa6569b25c82 127411
[CherryPick] [EFL] Fix resizing issues related to URL bar in Minibrowser / EWebLauncher
23638a4724345b5ce57d438fe5151f1014f767cd 127390
[CherryPick] [EFL] Add missing semicolon at the end of some lines.
55e804cc12a749de0231c74d8b915754abd4374f 126866
[CherryPick] [EFL][WK2] Implement WebPopupMenuProxyEfl to support <select>
108487dee122747ba0bf25e3ce0d32da6eedb941 126844
[CherryPick] [EFL][WK2] Fix PageClientImpl layer violation
17a4f527a706c6ea8e8ce988bccdd8263592e62a 126571
[CherryPick] [EFL][WK2] Back-forward list API needs extension
3050676a36f66418664891079da34d6742d4294e 126419
[CherryPick] [EFL] Add url bar to EWebLauncher and MiniBrowser/Efl.
0df599ba6a6ea16b86a9d4c2ad03b8a676a12ce1 126019
[CherryPick] [EFL][WK2] Add unit tests for WKEinaSharedString
a45281a8b474d20cedd5bb495d2b867711328d8f 125974
[CherryPick] [EFL][WK2] Add API unit tests for Web Intents
1c5d522b7ef38649181e96af6af0479dae63500f 125969
[CherryPick] [EFL][WK2] ewk_back_forward_list_item properties should be in sync with WebProcessProxy::m_backForwardListItemMap
68a200e4e9874bdf9f728d7e40ba2c996edb9e83 125905
[CherryPick] [EFL][wk2] Add unit tests for back-forward list API
34b6efc3fcea9df2b800b0af24ba2270eb359575 125893
[CherryPick] [EFL] [WK2] Add unit tests for vibration_client_callbacks_set API
cee52ecbf720a2e28f00b1cd4d2b70b8c98b6f09 125872
[CherryPick] [EFL][WK2] Getting unnecessary EINA_SAFETY_ON_NULL_RETURN_VAL warnings while page navigation
6cd25655b989a4997555e62e6fd632c0d6069e4a 125762
[CherryPick] [EFL][WK2] Add unit tests for Web intent registration
e7f5cabbe1a6c425eea7e95d0da48e5dca7e543b 125671
[CherryPick] [EFL][WK2] Refactoring: start using WKEinaSharedString in ewk_ classes
28fed7f21b39e38fe76c74a65e29c15c7b1da8cb 125593
[CherryPick] WebKitTestRunner needs layoutTestController.dumpResourceLoadCallbacks
268766755508446350f8f8a5f7e8ed2be5cfb0b5 125470
[CherryPick] [EFL] Unreviewed bot fix after r125467.
6624e35f35180d6a83f350c84e83c0949d5442b5 125468
[CherryPick] [EFL] Unreviewed attempt at fixing the bots after r125467.
48d9a039b16c90a1d8618942e885f4b6b03ea99d 125467
[CherryPick] [CMake] Rewrite FindLibSoup2.cmake.
56218837f9d2448b54dd651fdb8a41bdc64f7759 125443
[CherryPick] [CMake] Remove glib-related Find modules and write single new one instead.
9df6ea1a47cb4546c1db558fdbe978c66a529928 125076
[CherryPick] [WK2] Coding style violation was brought with r125031
5ab53c044f32aa1e981ec0f646338685a5fc4f38 125035
[CherryPick] [EFL] EFL Webkit needs a class wrapping eina stringshare
e696b1f65de0411c197fd7e70ad1dac7b935c2ad 125031
[CherryPick] [WK2] [WTR] Provide Resource Response dumping.
e639344c868bef01539ce85a5fafdb0ef3d8268a 124875
[CherryPick] [EFL][WK2] Add back forward list API
8189e4a4a98caaf1a7d45758ea0c770796fdcb46 124864
[CherryPick] [EFL][WK2] Add ewk_view_find_client.h / cpp for wrapping WKPageSetPageFindClient.
f9744e3d89a0b92ed62a67cc8c3191cd727d212f 124461
[CherryPick] [EFL][WK2]Add ewk_view_ui_client.
70c0375dbffcb65d3ed6ef366ecb58cd208d5ae7 124445
[CherryPick] [EFL][WK2] WTR is failing when X server is not running
Change-Id: I000211b90078dc10c151741bc94ce98eaab059be
Taehwan Kim [Thu, 28 Mar 2013 09:00:08 +0000 (18:00 +0900)]
[Release] Webkit2-efl-123997_0.11.4
Change-Id: Icaf98aae6f4ab76c32cb3c5b87a8fa08cd2dc531
qing.zhang [Wed, 27 Mar 2013 10:49:02 +0000 (06:49 -0400)]
Hardware Accelerated Video Playback doesn't work on IA
[Title] Be fixed. Unable to play accelerated HTML5 video in browser in IA.
[Issue#] TDIS-4849; TSZP-5002
[Problem] No support for Vaapi Sink to play accelerated video playback.
[Cause] Current solution relies on xvimagesink for accelerated video playbac
[Solution] On IA, Vaapi is used to provide the hardware accelerated video
playback. This patch adds support for it, guarded with
USE(ACCELERATED_VIDEO_VAAPI). This is set to true for IA. The pat
also disables blending for video when RGBX visual is used
instead of RGBA. This is also guarded under the same flag.
So there is no change in the default behaviour but only for IA.
The Changes related to vaapi in VideoLayerTizen are based on
initial contribution from Zhao Halley,Kondapally Kalyan.
* H264 -> HW Decoding -> HW Rendering;
* OGV -> SW Decoding -> HW Rendering.
Change-id: I11790303e8eacbce756a7273f3802cc05ea367af
Jaesik Chang [Thu, 28 Mar 2013 08:02:58 +0000 (17:02 +0900)]
Merge "[CherryPick] Inappropriate validation message for required number/date input elements" into tizen_2.1
Jaesik Chang [Thu, 28 Mar 2013 08:02:42 +0000 (17:02 +0900)]
Merge "[CherryPick] Implement ValidityState::badInput" into tizen_2.1
Jaesik Chang [Thu, 28 Mar 2013 08:00:54 +0000 (17:00 +0900)]
Merge "[CherryPick] Refactoring: Move the content of HTMLInputElement::subtreeHasChanged to TextFieldInputType" into tizen_2.1
Jaesik Chang [Thu, 28 Mar 2013 08:00:05 +0000 (17:00 +0900)]
Merge "[CherryPick] Correct input[type=number] value sanitization for user-input" into tizen_2.1
Yuni Jeong [Fri, 22 Mar 2013 08:16:36 +0000 (17:16 +0900)]
Implement the work of longtap on image in accordance with Browser UX.
[Title] Implement the work of longTap on image in accordance with Browser UX.
[Issue#] P130114-4165
[Problem] The work of longTap on image differs with Browser UX.
[Cause] Not implemented.
[Solution] Implement the work of longTap on image in accordance with Browser UX.
Change-Id: I8d6d9e47abf2d6b35f5c436d35b6f7571218fdbd
Kangil Han [Thu, 28 Mar 2013 06:02:01 +0000 (15:02 +0900)]
Merge "[Release] Webkit2-efl-123997_0.11.3" into tizen_2.1
Taehwan Kim [Thu, 28 Mar 2013 05:56:16 +0000 (14:56 +0900)]
[Release] Webkit2-efl-123997_0.11.3
Change-Id: Id49620c8dbc2ec60180591168a12b0b8fd62b547
keonho07.kim [Wed, 27 Mar 2013 14:12:35 +0000 (23:12 +0900)]
Return undefined when browser call record() of MediaStream.
[Title] Return undefined when browser call record() of MediaStream.
[Problem] Media stream recording feature is supported on browser.
[Cause] It doesn't check caller of record().
[Solution] Return jsUndefined() when browser call record() of MediaStream.
caution : Merge this patch after WRT apply patch to set the TizenExtensible flag for media stream record
and http://slp-info.sec.samsung.net/gerrit/#/c/169837/
Change-Id: I5617febc0a463dad275ed4f2458de8fbad6c1353
Kihong Kwon [Thu, 28 Mar 2013 04:12:34 +0000 (13:12 +0900)]
Merge "Remove tizen log for Battery and web database log" into tizen_2.1
seung hak lee [Thu, 28 Mar 2013 04:03:42 +0000 (13:03 +0900)]
Merge "Change the default return value of Certificate Error handling function." into tizen_2.1
tkent@chromium.org [Mon, 11 Mar 2013 14:43:40 +0000 (14:43 +0000)]
[CherryPick] Inappropriate validation message for required number/date input elements
[Title] Inappropriate validation message for required number/date input elements
[Issues] N_SE-28998
[Problem] Input type number not showing any error message in Jquery mobile single page application[Solution] Cherry picked.
[Cherry-Picker] Jinwoo Jeong <jw00.jeong@samsung.com>
Inappropriate validation message for required number/date input elements
https://bugs.webkit.org/show_bug.cgi?id=111982
Reviewed by Kentaro Hara.
Source/WebCore:
For validation message, badInput messages should take precedence
over valueMissing messages because users already filled out the
field with a bad value.
Tests: Update fast/forms/validationMessage.html
* html/InputType.cpp:
(WebCore::InputType::validationMessage):
Check badInput first.
LayoutTests:
* fast/forms/validationMessage-expected.txt:
* fast/forms/validationMessage.html:
* platform/chromium/fast/forms/validationMessage-expected.txt:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145362
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Conflicts:
LayoutTests/ChangeLog
LayoutTests/fast/forms/validationMessage-expected.txt
LayoutTests/fast/forms/validationMessage.html
LayoutTests/platform/chromium/fast/forms/validationMessage-expected.txt
Source/WebCore/ChangeLog
jinwoo jeong [Wed, 27 Mar 2013 07:09:52 +0000 (16:09 +0900)]
[CherryPick] Implement ValidityState::badInput
[Title] Implement ValidityState::badInput
[Issues] N_SE-28998
[Problem] Input type number not showing any error message in Jquery mobile single page application[Solution] Cherry picked.
[Cherry-Picker] Jinwoo Jeong <jw00.jeong@samsung.com>
Implement ValidityState::badInput
https://bugs.webkit.org/show_bug.cgi?id=102861
Reviewed by NOBODY (OOPS!).
Add ValidityState::badInput, add hasBadInput, which always returns
false, to FormAssociatedElement, HTMLInputElement, and InputType.
For NumberInputType, we had hasUnacceptableValue, which was a hack to
make an input element match to :invalid if the element had non-number
strings. We don't need the hack any more because badInput affects :invalid
style. hasUnacceptableValue is re-used for hasBadInput implementation.
We cleared invalid numbers when elements lost focus to tell users that
the element had invalid numbers. We don't need this behavior because the
interactive validation tells it.
For date/time input types, we should make an input badInput when the
input has empty value but its sub-fields have values. It covers both of
partial input cases such as 12/--/2012 and invalid dates such as
02/31/2012.
For other types, ValidityState::badInput always returns false.
This patch doesn't contain tests for badInput validation messages. They
will be added later.
Tests: fast/forms/date-multiple-fields/date-multiple-fields-validity-badinput.html
fast/forms/datetime-multiple-fields/datetime-multiple-fields-validity-badinput.html
fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-validity-badinput.html
fast/forms/month-multiple-fields/month-multiple-fields-validity-badinput.html
fast/forms/number/number-validity-badinput.html
fast/forms/time-multiple-fields/time-multiple-fields-validity-badinput.html
fast/forms/week-multiple-fields/week-multiple-fields-validity-badinput.html
* html/ValidityState.idl: Add badInput IDL attribute.
* html/ValidityState.h:
(ValidityState): Add badInput.
* html/ValidityState.cpp:
(WebCore::ValidityState::badInput):
Added. Calls FormAssociatedElement::hasBadInput.
* html/FormAssociatedElement.h:
(FormAssociatedElement): Add hasBadInput.
* html/FormAssociatedElement.cpp:
(WebCore::FormAssociatedElement::hasBadInput):
Added. It always returns false.
(WebCore::FormAssociatedElement::valid): Takes account of hasBadInput().
* html/HTMLInputElement.h:
(HTMLInputElement):
Remove hasUnacceptableValue, and add hasBadInput override.
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::hasBadInput):
Added. Delegate to InputType::hasBadInput.
(WebCore): Remove hasUnacceptableValue.
* html/InputType.h:
(InputType): Add hasBadInput and badInputText, and remove
hasUnacceptableValue.
* html/InputType.cpp:
(WebCore::InputType::hasBadInput): Added. Returns false.
(WebCore::InputType::badInputText):
Added. This function should not be called because hasBadInput always
returns false.
(WebCore::InputType::validationMessage):
Supports badInput. This returns badInputText if hasBadInput is true.
* html/NumberInputType.h:
(NumberInputType): Add hasBadInput and badInputTest. Remove
handleBlurEvent and hasUnacceptableValue.
* html/NumberInputType.cpp:
Remove handleBlurEvent, which cleared invalid number strings.
(WebCore::NumberInputType::hasBadInput):
Added. We don't need to check existence of a renderer. The standard form
validation feature doesn't care of it.
(WebCore::NumberInputType::badInputText): Returns
validationMessageBadInputForNumberText defined in LocalizedStrings.h.
* css/SelectorChecker.cpp:
(WebCore::SelectorChecker::checkOneSelector):
Remove a hack for hasUnacceptableValue. isValidFormControlElement takes
account of badInput.
* dom/Element.h: Remove hasUnacceptableValue.
* html/BaseMultipleFieldsDateAndTimeInputType.h:
(BaseMultipleFieldsDateAndTimeInputType): Add hasBadInput and badInputText.
* html/BaseMultipleFieldsDateAndTimeInputType.cpp:
(WebCore::BaseMultipleFieldsDateAndTimeInputType::badInputText):
Returns validationMessageBadInputForDateTimeText defined in LocalizedStrings.h.
(WebCore::BaseMultipleFieldsDateAndTimeInputType::hasBadInput):
Added.
(WebCore::BaseMultipleFieldsDateAndTimeInputType::setValue):
Add setNeedsValidityCheck call. It is needed because
updateInnerTextValue can modify subfields empty state.
* html/TextFieldInputType.cpp:
(WebCore::TextFieldInputType::subtreeHasChanged): Update a comment.
* platform/LocalizedStrings.h:
(WebCore): Add validationMessageBadInputForNumberText and
validationMessageBadInputForDateTimeText.
* platform/LocalizedStrings.cpp:
(WebCore::validationMessageBadInputForNumberText):
Added a placeholder implementation. This should be fixed later.
* platform/blackberry/LocalizedStringsBlackBerry.cpp:
(WebCore::validationMessageBadInputForNumberText): Ditto.
* platform/efl/LocalizedStringsEfl.cpp:
(WebCore::validationMessageBadInputForNumberText): Ditto.
* platform/qt/LocalizedStringsQt.cpp:
(WebCore::validationMessageBadInputForNumberText): Ditto.
tkent@chromium.org [Mon, 26 Nov 2012 00:38:30 +0000 (00:38 +0000)]
[CherryPick] Refactoring: Move the content of HTMLInputElement::subtreeHasChanged to TextFieldInputType
[Title] Refactoring: Move the content of HTMLInputElement::subtreeHasChanged to TextFieldInputType
[Issues] N_SE-28998
[Problem] Input type number not showing any error message in Jquery mobile single page application
[Solution] Cherry picked.
[Cherry-Picker] Jinwoo Jeong <jw00.jeong@samsung.com>
Refactoring: Move the content of HTMLInputElement::subtreeHasChanged to TextFieldInputType
https://bugs.webkit.org/show_bug.cgi?id=103195
Reviewed by Kentaro Hara.
HTMLInputElement::subtreeHasChanged is called only if the input is
a text field. The code should be moved to TextFieldInputType.
No new tests. This should not change any behavior.
* html/HTMLInputElement.cpp:
- Remove unnecessary NumberInputType.h inclusion.
- Remove convertFromVisibleValue. It was used only by subtreeHasChanged.
(WebCore::HTMLInputElement::subtreeHasChanged):
Move the code to TextFieldInputType::subtreeHasChanged except
calculateAndAdjustDirectionality, which is a protected member of
HTMLElement.
* html/HTMLInputElement.h:
(HTMLInputElement): Remove convertFromVisibleValue.
* html/InputType.cpp:
Move convertFromVisibleValue to TextFieldInputType.
(WebCore::InputType::subtreeHasChanged):
Add ASSERT_NOT_REACHED.
* html/InputType.h:
(InputType): Remove convertFromVisibleValue.
* html/TextFieldInputType.cpp:
(WebCore::TextFieldInputType::convertFromVisibleValue):
Moved from InputType.
(WebCore::TextFieldInputType::subtreeHasChanged):
Moved from HTMLInputElement. A latter part is moved to
didSetValueByUserEdit to be hooked by SearchInputType.
(WebCore::TextFieldInputType::didSetValueByUserEdit):
Moved from HTMLInputElement::subtreeHasChanged, and clean up the code.
* html/TextFieldInputType.h:
(TextFieldInputType):
- Move convertFromVisibleValue from InputType.
- Add didSetValueByUserEdit and subtreeHasChanged.
* html/SearchInputType.cpp:
(WebCore::SearchInputType::didSetValueByUserEdit):
Renamed from subtreeHasChanged, and calls TextFieldInputType::didSetValueByUserEdit.
* html/SearchInputType.h:
(SearchInputType): Rename subtreeHasChanged to didSetValueByUserEdit.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135675
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Conflicts:
Source/WebCore/ChangeLog
tkent@chromium.org [Fri, 23 Nov 2012 13:11:46 +0000 (13:11 +0000)]
[CherryPick] Correct input[type=number] value sanitization for user-input
[Title] Correct input[type=number] value sanitization for user-input
[Issues] N_SE-28998
[Problem] Input type number not showing any error message in Jquery mobile single page application
[Solution] Cherry picked.
[Cherry-Picker] Jinwoo Jeong <jw00.jeong@samsung.com>
Correct input[type=number] value sanitization for user-input
https://bugs.webkit.org/show_bug.cgi?id=103018
Reviewed by Kentaro Hara.
Source/WebCore:
If a number field has non-number string, HTMLInputElement::value is not
updated and returns the past valid value. It doesn't match to the value
sanitization algorithm defined by the HTML standard [1], and Opera's
behavior. We should sanitize non-number strings to "".
[1] http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#number-state-(type=number)
> The value sanitization algorithm is as follows: If the value of the
> element is not a valid floating-point number, then set it to the empty
> string instead.
No new tests. Update existing tests;
fast/forms/number/number-commit-valid-only.html and
fast/forms/number/number-unacceptable-style.html
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::subtreeHasChanged):
Remove isAcceptableValue check.
* html/HTMLInputElement.h:
(HTMLInputElement): isAcceptableValue is no longer needed.
* html/InputType.cpp: Remove isAcceptableValue.
* html/InputType.h: Ditto.
* html/NumberInputType.cpp: Ditto.
(WebCore::NumberInputType::hasUnacceptableValue):
Fold the isAcceptableValue content into this.
* html/NumberInputType.h:
(NumberInputType): Remove isAcceptableValue.
LayoutTests:
* fast/forms/number/number-commit-valid-only-expected.txt:
* fast/forms/number/number-commit-valid-only.html:
Update the expected HTMLInputElement::value results.
* fast/forms/number/number-unacceptable-style-expected.txt:
* fast/forms/number/number-unacceptable-style.html:
Add some checks for HTMLInputElement::value.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135598
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Conflicts:
LayoutTests/ChangeLog
Source/WebCore/ChangeLog
Conflicts:
Source/WebCore/ChangeLog
bunam.jeon [Wed, 27 Mar 2013 06:44:18 +0000 (15:44 +0900)]
Add hide code of drag icon when webview was hide
[Title] Add hide code of drag icon when webview was hide
[Issue#] N/A
[Problem] drag icon does not disappear when webview was hide
[Cause] not implemented hide code when webview was hide
[Solution] Add hide code of drag icon in ewk_view_suspend
Change-Id: I4fda8b05aefe77806e6779da011ea6bb72e23974
Jihye Kang [Thu, 28 Mar 2013 02:32:49 +0000 (11:32 +0900)]
Add ewk_web_application_icon_data.h to EWebKit2_HEADERS
[Title] Fix build break on osp-web, wrt, org.tizen.setting
[Issue#]
[Problem] build break on osp-web, wrt, org.tizen.setting
[Cause] ewk_web_application_icon_data.h is missing on EWebKit2_HEADERS
[Solution] add ewk_web_application_icon_data.h to EWebKit2_HEADERS
Change-Id: Ib849976931c82f3264fc322db3079b48f86d4dde
Sungman Kim [Thu, 28 Mar 2013 02:12:09 +0000 (11:12 +0900)]
Change the default return value of Certificate Error handling function.
[Title] Change the default return value for certificate error handling.
[Issue#] N/A
[Problem] When the xmlhttprequest load request synchronously and in case of https, Page doesn't be displayed normally.
[Cause] When receive the header, didReceiveCertificateError function that is needed to continue for https return always false. It is a default value.
[Solution] Change the default value to true so that can continue about https resource handling.
[SCMRequest] N/A
Change-Id: Iacdecab429015a2e70919b02ba7633f7c389ccdb
Jiyeon Kim [Thu, 28 Mar 2013 02:15:10 +0000 (11:15 +0900)]
Remove tizen log for Battery and web database log
[Title] Remove tizen log for BatteryProviderEfl.cpp
[Problem] N/A
[Cause] N/A
[Solution] These are unnecessary log
Change-Id: I18419c31fe3cd0819144e383a008ae4abcfd75aa
Yuni Jeong [Tue, 26 Mar 2013 10:12:05 +0000 (19:12 +0900)]
Fixed text selection is cleared when user try to scroll in editable content.
[Title] Fixed text selection is cleared when user try to scroll in editable content.
[Issue#] P130301-2648
[Problem] text selection is cleared when user try to scroll in editable content.
[Cause] There is routine to clear text selection when user try to scroll in editable content.
[Solution] Removed routine to clear text selection when user try to scroll in editable content.
Added routine to update text selection when scrolling is performed by javascript.
Change-Id: I233a187a4cf1a257bd981e7bb33b0db9c1f2302b
Changhyup Jwa [Wed, 27 Mar 2013 05:27:07 +0000 (14:27 +0900)]
Fix incorrect scroll position adjustment on device rotation
[Title] Fix incorrect scroll position adjustment on device rotation
[issue#] N/A
[Problem] Scroll position moved incorrectly on device rotation
[Cause] By patch
d7e58608b9d5f779a796e0459a60849079c10faf, scroll position
is adjusted by constrainsScrollingToContentEdge
[Solution] Disable constrainsScrollingToContentEdge until viewport attibutes
change handling
Change-Id: Ica53a9a68e4bb6c4ccfa0b436005bddaa745fd13
“prabhavathi” [Mon, 25 Mar 2013 05:23:34 +0000 (10:53 +0530)]
[WK2] Fix for white screen on device-orientation change
[Title] Fix for white screen on device-orientation change
[issue#] N_SE-26272
[Problem] Width and height is not updated in webprocess, when JS querying for it
[Solution] Setting the width and height on view port attributes change
[Developer] prabha.p
Change-Id: I141cf5501d5afa4580d09407f16da04e4ca27566
Taehwan Kim [Wed, 27 Mar 2013 06:22:10 +0000 (15:22 +0900)]
[Release] Webkit2-efl-123997_0.11.2
Change-Id: I4a9229f079397bd39cc8a14846a2c22f373c09dd
krit@webkit.org [Wed, 5 Sep 2012 17:48:19 +0000 (17:48 +0000)]
[Cherry-pick] Use -webkit-clip-path shapes to clip HTML elements
[Title] Use -webkit-clip-path shapes to clip HTML elements
[Issues] N/A
[Problem] N/A
[Solution] Cherry picked.
[Cherry-Picker] Sanghyup Lee <sh53.lee@samsung.com>
Use -webkit-clip-path shapes to clip HTML elements
https://bugs.webkit.org/show_bug.cgi?id=95646
Reviewed by Dean Jackson.
Source/WebCore:
-webkit-clip-path creates a new layer for HTML elements now. The border,
background and content gets clipped by the clip path after any filter was
applied.
Tests: css3/masking/clip-path-circle-filter.html
css3/masking/clip-path-circle-overflow.html
css3/masking/clip-path-circle-overflow-hidden.html
css3/masking/clip-path-circle-relative-overflow.html
css3/masking/clip-path-circle.html
css3/masking/clip-path-ellipse.html
css3/masking/clip-path-polygon-evenodd.html
css3/masking/clip-path-polygon-nonzero.html
css3/masking/clip-path-polygon.html
css3/masking/clip-path-rectangle.html
* rendering/RenderBox.h: Create new layer on clip-path.
* rendering/RenderBoxModelObject.h:
(WebCore::RenderBoxModelObject::requiresLayer): Create new layer on clip-path.
* rendering/RenderInline.h:
(WebCore::RenderInline::requiresLayer): Create new layer on clip-path.
* rendering/RenderLayer.cpp: Apply clip-path on context of object.
(WebCore::RenderLayer::paintLayerContents): Create new layer on clip-path.
* rendering/RenderObject.h:
(WebCore::RenderObject::hasClipPath): Indicates that renderer needs to be clipped by clip-path.
* rendering/RenderTableRow.h: Create new layer on clip-path.
LayoutTests:
Added new tests for the -webkit-clip-path property applied to HTML content.
* css3/masking/clip-path-circle-filter.html: Added.
* css3/masking/clip-path-circle-overflow.html: Added.
* css3/masking/clip-path-circle-relative-overflow.html: Added.
* css3/masking/clip-path-circle-overflow-hidden.html: Added.
* css3/masking/clip-path-circle.html: Added.
* css3/masking/clip-path-ellipse.html: Added.
* css3/masking/clip-path-polygon-evenodd.html: Added.
* css3/masking/clip-path-polygon-nonzero.html: Added.
* css3/masking/clip-path-polygon.html: Added.
* css3/masking/clip-path-rectangle.html: Added.
* platform/chromium/TestExpectations:
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/css3/masking/clip-path-circle-expected.png: Added.
* platform/mac/css3/masking/clip-path-circle-expected.txt: Added.
* platform/mac/css3/masking/clip-path-circle-filter-expected.png: Added.
* platform/mac/css3/masking/clip-path-circle-filter-expected.txt: Added.
* platform/mac/css3/masking/clip-path-circle-overflow-expected.png: Added.
* platform/mac/css3/masking/clip-path-circle-overflow-expected.txt: Added.
* platform/mac/css3/masking/clip-path-circle-overflow-hidden-expected.png: Added.
* platform/mac/css3/masking/clip-path-circle-overflow-hidden-expected.txt: Added.
* platform/mac/css3/masking/clip-path-circle-relative-overflow-expected.png: Added.
* platform/mac/css3/masking/clip-path-circle-relative-overflow-expected.txt: Added.
* platform/mac/css3/masking/clip-path-ellipse-expected.png: Added.
* platform/mac/css3/masking/clip-path-ellipse-expected.txt: Added.
* platform/mac/css3/masking/clip-path-polygon-evenodd-expected.png: Added.
* platform/mac/css3/masking/clip-path-polygon-evenodd-expected.txt: Added.
* platform/mac/css3/masking/clip-path-polygon-expected.png: Added.
* platform/mac/css3/masking/clip-path-polygon-expected.txt: Added.
* platform/mac/css3/masking/clip-path-polygon-nonzero-expected.png: Added.
* platform/mac/css3/masking/clip-path-polygon-nonzero-expected.txt: Added.
* platform/mac/css3/masking/clip-path-rectangle-expected.png: Added.
* platform/mac/css3/masking/clip-path-rectangle-expected.txt: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127608
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Conflicts:
LayoutTests/ChangeLog
LayoutTests/platform/chromium/TestExpectations
LayoutTests/platform/efl/TestExpectations
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBox.h
Source/WebCore/rendering/RenderBoxModelObject.h
Source/WebCore/rendering/RenderInline.h
Source/WebCore/rendering/RenderLayer.cpp
Source/WebCore/rendering/RenderTableRow.h
Change-Id: I66be251285f5966180f4b365fdb8342342d691a0
krit@webkit.org [Wed, 5 Sep 2012 03:57:56 +0000 (03:57 +0000)]
[Cherry-pick] -webkit-clip-path does not apply origin for polygon()
[Title] -webkit-clip-path does not apply origin for polygon()
[Issues] N/A
[Problem] N/A
[Solution] Cherry picked.
[Cherry-Picker] Sanghyup Lee <sh53.lee@samsung.com>
-webkit-clip-path does not apply origin for polygon()
https://bugs.webkit.org/show_bug.cgi?id=95656
Reviewed by Tim Horton.
Source/WebCore:
The polygon() shape function did not apply origin of bouding box on created path. The shape was
not moved to the correct position.
Tests: svg/clip-path/clip-path-shape-polygon-relative-expected.svg
svg/clip-path/clip-path-shape-polygon-relative.svg
* rendering/style/BasicShapes.cpp:
(WebCore::BasicShapePolygon::path): Apply origin of bounding box.
LayoutTests:
Check that the origin of the bounding box gets applied to the clip path.
* svg/clip-path/clip-path-shape-polygon-relative-expected.svg: Added.
* svg/clip-path/clip-path-shape-polygon-relative.svg: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127548
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Conflicts:
LayoutTests/ChangeLog
Source/WebCore/ChangeLog
Change-Id: Id302fd04f2856653c8dfdfe52fa5b467856b3f79
krit@webkit.org [Sun, 2 Sep 2012 00:15:33 +0000 (00:15 +0000)]
[Cherry-pick] Use -webkit-clip-path shapes to clip SVG elements
[Title] Use -webkit-clip-path shapes to clip SVG elements
[Issues] N/A
[Problem] N/A
[Solution] Cherry picked.
[Cherry-Picker] Sanghyup Lee <sh53.lee@samsung.com>
Use -webkit-clip-path shapes to clip SVG elements
https://bugs.webkit.org/show_bug.cgi?id=95620
Reviewed by Rob Buis.
Source/WebCore:
This patch adds a path segment for a BasicShape to a given Path object. This
path and it's wind rule are used to clip the context of the SVG element.
Tests: svg/clip-path/clip-path-shape-circle-1-expected.svg
svg/clip-path/clip-path-shape-circle-1.svg
svg/clip-path/clip-path-shape-circle-2-expected.svg
svg/clip-path/clip-path-shape-circle-2.svg
svg/clip-path/clip-path-shape-ellipse-1-expected.svg
svg/clip-path/clip-path-shape-ellipse-1.svg
svg/clip-path/clip-path-shape-ellipse-2-expected.svg
svg/clip-path/clip-path-shape-ellipse-2.svg
svg/clip-path/clip-path-shape-polygon-1-expected.svg
svg/clip-path/clip-path-shape-polygon-1.svg
svg/clip-path/clip-path-shape-polygon-2-expected.svg
svg/clip-path/clip-path-shape-polygon-2.svg
svg/clip-path/clip-path-shape-polygon-3-expected.svg
svg/clip-path/clip-path-shape-polygon-3.svg
svg/clip-path/clip-path-shape-rounded-rect-1-expected.svg
svg/clip-path/clip-path-shape-rounded-rect-1.svg
svg/clip-path/clip-path-shape-rounded-rect-2-expected.svg
svg/clip-path/clip-path-shape-rounded-rect-2.svg
* rendering/style/BasicShapes.cpp: Added helper functions that apply path segments to a given path.
(WebCore::BasicShapeRectangle::path):
(WebCore::BasicShapeCircle::path):
(WebCore::BasicShapeEllipse::path):
(WebCore::BasicShapePolygon::path):
* rendering/style/BasicShapes.h: Make BasicShape virtualized again, since new virtual functions were added.
(WebCore::BasicShape::~BasicShape):
(BasicShape):
(WebCore::BasicShape::windRule): Will return the wind rule of the shape - nonzero by default.
(WebCore::BasicShape::BasicShape):
(BasicShapeRectangle):
(WebCore::BasicShapeRectangle::type): Removed member variable and return type per inheriting class directly.
(WebCore::BasicShapeRectangle::BasicShapeRectangle):
(BasicShapeCircle):
(WebCore::BasicShapeCircle::type): Ditto.
(WebCore::BasicShapeCircle::BasicShapeCircle):
(BasicShapeEllipse):
(WebCore::BasicShapeEllipse::type): Ditto.
(WebCore::BasicShapeEllipse::BasicShapeEllipse):
(BasicShapePolygon):
(WebCore::BasicShapePolygon::windRule):
(WebCore::BasicShapePolygon::type): Ditto.
(WebCore::BasicShapePolygon::BasicShapePolygon):
* rendering/svg/SVGRenderingContext.cpp: If -webkit-clip-path was defined, clip the context to the shape.
Right now -webkit-clip-path overrides clip-path, so that people don't use both at the same time. Current
clip-path property will be replaced, once -webkit-clip-path gets unprefixed.
(WebCore::SVGRenderingContext::prepareToRenderSVGContent):
LayoutTests:
New tests to check behavior of -webkit-clip-path on SVG elements.
* svg/clip-path/clip-path-shape-circle-1-expected.svg: Added.
* svg/clip-path/clip-path-shape-circle-1.svg: Added.
* svg/clip-path/clip-path-shape-circle-2-expected.svg: Added.
* svg/clip-path/clip-path-shape-circle-2.svg: Added.
* svg/clip-path/clip-path-shape-ellipse-1-expected.svg: Added.
* svg/clip-path/clip-path-shape-ellipse-1.svg: Added.
* svg/clip-path/clip-path-shape-ellipse-2-expected.svg: Added.
* svg/clip-path/clip-path-shape-ellipse-2.svg: Added.
* svg/clip-path/clip-path-shape-polygon-1-expected.svg: Added.
* svg/clip-path/clip-path-shape-polygon-1.svg: Added.
* svg/clip-path/clip-path-shape-polygon-2-expected.svg: Added.
* svg/clip-path/clip-path-shape-polygon-2.svg: Added.
* svg/clip-path/clip-path-shape-polygon-3-expected.svg: Added.
* svg/clip-path/clip-path-shape-polygon-3.svg: Added.
* svg/clip-path/clip-path-shape-rounded-rect-1-expected.svg: Added.
* svg/clip-path/clip-path-shape-rounded-rect-1.svg: Added.
* svg/clip-path/clip-path-shape-rounded-rect-2-expected.svg: Added.
* svg/clip-path/clip-path-shape-rounded-rect-2.svg: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127383
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Conflicts:
LayoutTests/ChangeLog
Source/WebCore/ChangeLog
Change-Id: I0aabeb470a8c5915120a48745bc79747531ba8d3
krit@webkit.org [Fri, 31 Aug 2012 22:29:48 +0000 (22:29 +0000)]
[Cherry-pick] Introduce new CSS property for clip-path
[Title] Introduce new CSS property for clip-path
[Issues] N/A
[Problem] N/A
[Solution] Cherry picked.
[Cherry-Picker] Sanghyup Lee <sh53.lee@samsung.com>
Introduce new CSS property for clip-path
https://bugs.webkit.org/show_bug.cgi?id=95474
Reviewed by Tim Horton.
Source/WebCore:
This path introduces the new, prefixed CSS property 'clip-path' from the
CSS Masking specification. In a first step the property just accepts
'none' and the the basic shapes from CSS Exclusion. Later it will also be
possible to reference SVG 'clipPath' elements - like Firefox already does.
To enable the parsing of the shapes, the exclusion compiler flags
around the shape parser were removed.
http://dvcs.w3.org/hg/FXTF/raw-file/tip/masking/index.html
Test: fast/masking/parsing-clip-path-shape.html
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Return CSSValue for CSSPropertyWebkitClipPath.
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue): Add CSSPropertyWebkitClipPath.
(WebCore::CSSParser::parseBasicShape): Modify parser function to accept CSSPropertyWebkitClipPath as well.
* css/CSSParser.h:
* css/CSSProperty.cpp:
(WebCore::CSSProperty::isInheritedProperty):
* css/CSSPropertyNames.in: Added property name -webkit-clip-path.
* css/StyleBuilder.cpp:
(ApplyPropertyClipPath): New property applier just for -webkit-clip-path.
(WebCore::ApplyPropertyClipPath::setValue):
(WebCore::ApplyPropertyClipPath::applyValue):
(WebCore::ApplyPropertyClipPath::createHandler):
(WebCore::StyleBuilder::StyleBuilder):
* rendering/style/RenderStyle.cpp: Repaint if there is a difference between two BasicShapes.
(WebCore::RenderStyle::diff):
* rendering/style/RenderStyle.h:
* rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
(WebCore::StyleRareNonInheritedData::operator==):
(WebCore::StyleRareNonInheritedData::reportMemoryUsage):
* rendering/style/StyleRareNonInheritedData.h: Add new member variable for clip shape.
(StyleRareNonInheritedData):
LayoutTests:
Test parsing behavior of basic shapes on new introduced '-webkit-clip-path' CSS property.
* fast/masking/parsing-clip-path-shape-expected.txt: Added.
* fast/masking/parsing-clip-path-shape.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127327
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Conflicts:
LayoutTests/ChangeLog
Source/WebCore/ChangeLog
Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp
Change-Id: I3c619eabf8c1b4e3243dd1b003d50fe0f7cff1ed
keonho07.kim [Tue, 26 Mar 2013 18:20:37 +0000 (03:20 +0900)]
MediaPlayer state has been chagned to pause when player is recieved EOS to avoid playback bugs.
[Title] MediaPlayer state has been chagned to pause when player is recieved EOS to avoid playback bugs.
[Problem] N_SE-28870, N-SE-29806
[Cause] Duration value becomes infinity because playbin state is changed to NULL when player is recieved EOS.
[Solution] Makes player's state to pause when player is recieved EOS.
Change-Id: I1ab5379465d7e5e255ef373e7e7c42197223f1e8
keonho07.kim [Tue, 26 Mar 2013 16:43:41 +0000 (01:43 +0900)]
Syncronizing a sound state of audio-session-manager.
[Title] Syncronizing a sound state of audio-session-manager.
[Problem] Audio sound state is not syncronized.
[Cause] Added gst_element_set_state from upstream
[Solution] Add setSoundState() APIs
Change-Id: Icb66340c702e551c2404474c44ca4d1e2c7b92fe
keonho07.kim [Tue, 26 Mar 2013 14:41:30 +0000 (23:41 +0900)]
Video controller's back button is overlapped with forward seek button on fullscreen, WVGA mode.
[Title] Video controller's back button is overlapped with forward seek button on fullscreen, WVGA mode.
[Problem] Video controller's back button is overlapped with forward seek button.
[Cause] CSS setting for mediacontroller doen't consider in WVGA mode.
[Solution] Change CSS values to percentage.
Change-Id: I48ba538fced9bb469fac75bc4be5bdfda893ce2e
commit-queue@webkit.org [Thu, 13 Dec 2012 11:00:12 +0000 (11:00 +0000)]
[EFL] Remove redundant pipe write to prevent pipe buffer full.
https://bugs.webkit.org/show_bug.cgi?id=101135
Patch by Byungwoo Lee <bw80.lee@samsung.com> on 2012-12-13
Reviewed by Gyuyoung Kim.
To prevent a source of a deadlock, remove the redundant pipe write
in wakeUp() function.
EFL uses ecore_pipe_write() to wake up main run loop, and the function
uses POSIX pipe write with O_NONBLOCK disabled.
With O_NONBLOCK disabled, when written data is more than PIPE_BUF,
pipe write will be blocked until it can be written.
Currently, every wakeUp() function calls ecore_pipe_write() to invoke
wakeUpEvent() callback. And this can make pipe buffer full status
which is the one reason of the lockup problem described in Bug 99494.
* platform/RunLoop.h:
(RunLoop):
* platform/efl/RunLoopEfl.cpp:
(WebCore::RunLoop::RunLoop):
(WebCore::RunLoop::wakeUpEvent):
(WebCore::RunLoop::wakeUp):
Change-Id: I0c46a64d885c929cb2ac265d4b0da020cd3db9a7
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@137580
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 28 Nov 2012 14:38:33 +0000 (14:38 +0000)]
[EFL] Use mutex locker in wakeUp() to ensure thread-safety.
https://bugs.webkit.org/show_bug.cgi?id=101132
Patch by Byungwoo Lee <bw80.lee@samsung.com> on 2012-11-28
Reviewed by Gyuyoung Kim.
Add mutex locker for the ecore pipe to ensure thread-safety of
RunLoop::wakeUp().
RunLoop::wakeUp() can be called by multiple thread. It uses
ecore_pipe_write() function but the function is not thread-safe.
* platform/RunLoop.h:
(RunLoop):
* platform/efl/RunLoopEfl.cpp:
(WebCore::RunLoop::wakeUp):
Change-Id: I36bae620af903781cdb3470888aabc434dbdb7b9
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136006
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Ryuan Choi [Wed, 27 Mar 2013 02:29:09 +0000 (11:29 +0900)]
Merge "[Cherry-pick] Refactor WrapShape classes to BasicShape" into tizen_2.1
Ryuan Choi [Wed, 27 Mar 2013 02:28:42 +0000 (11:28 +0900)]
Merge "[Cherry-pick] Refactor WrapShape to Shape/BasicShape" into tizen_2.1
Sanghyun Park [Tue, 26 Mar 2013 13:41:48 +0000 (22:41 +0900)]
Modify that do not stored drag data in the EFL clipboard, when do drag.
[Title] Modify that do not store drag data in the EFL clipboard, when do drag.
[Issue#] N_SE-28370
[Problem] Should not saved any type of text automatically in clipboard when tap on drag.
[Cause] The drag data is stored in the EFL clipboard.
[Solution] Do not store drag data in the EFL clipbaord.
Change-Id: Ib2140daa4ee46763ce33c81c1bc2d8c1646ea677
Jihye Kang [Fri, 22 Mar 2013 08:58:07 +0000 (17:58 +0900)]
[WK2] Support multiple URLs for WebApp meta tag
[Title] Support multiple URLs for WebApp meta tag
[Issue#] N/A
[Problem] Provide a last icon url only
[Cause]
[Solution] Provide an API to get list of icon data which is the set of icon size and urls for WebApp meta tag
- void (*Ewk_Web_App_Icon_URLs_Get_Callback)(Eina_List *icon_urls, void *user_data) is added.
- Ewk_Web_App_Icon_Data type is added.
Following EAPIs are added
- ewk_view_web_application_icon_urls_get()
- ewk_web_application_icon_data_size_get()
- ewk_web_application_icon_data_url_get()
Change-Id: I51076ddf1fcf9dcb919d9a633a74e13436108c52
Kihong Kwon [Tue, 26 Mar 2013 13:19:43 +0000 (22:19 +0900)]
Merge "Change value of mediaSliderThumHeight" into tizen_2.1
Kihong Kwon [Tue, 26 Mar 2013 13:13:29 +0000 (22:13 +0900)]
Merge "Change log for Notification" into tizen_2.1
keonho07.kim [Tue, 26 Mar 2013 12:52:23 +0000 (21:52 +0900)]
Change value of mediaSliderThumHeight
[Title] Change value of mediaSliderThumHeight
[Problem] MediaPlayer's controller was displayed wrong in emulator.
[Cause] mediaSliderThumbHeight was 0, caculation of rect was wrong.
[Solution] Change mediaSliderThumbHeight
Change-Id: I508e866c604b63b28f4ee9d573708410de3fbf78
Praveen R Jadhav [Tue, 26 Mar 2013 01:51:38 +0000 (10:51 +0900)]
Implemented attribute "node" in AudioProcessingEvent
[Title] : Implemented attribute "node" in AudioProcessingEvent
[Issue] : NA
[Problem] : Attribute "node" implementation is not available in WebKit.org
[Solution] : Code changes are implemented for the attribute
Change-Id: I7e9cd9a6dcd97bfed5047bedebd0e5b29636321a
Praveen R Jadhav [Fri, 22 Mar 2013 12:22:36 +0000 (21:22 +0900)]
Exception should be thrown when noteOn and noteOff are not called properly
[Title] : Exception should be thrown when noteOn and noteOff are not called properly
[Issue] : TWEB-1091
[Problem] : Exception handling mechanism implementation is not available
[Solution] : Exception handling mechanism is implemented
Change-Id: I92735f97e0df3481f46b06272e2215a7295d4283
Jihye Kang [Tue, 26 Mar 2013 12:15:55 +0000 (21:15 +0900)]
Change log for Notification
[Title] Change log for Notification
[Issue#] N/A
[Problem]
[Cause]
[Solution] Print notificationID properly.
Change-Id: I8a820a8e56a964b77e4c745ac31bb1287e078a1b
SangYong Park [Thu, 14 Mar 2013 02:12:49 +0000 (11:12 +0900)]
Separate undo step into insert text and delete text
[Title] Separate undo step into insert text and delete text
[Issue#] P130301-2220
[Problem]
[Cause]
[Solution]
Change-Id: I293da579f96503d23e9cffa3ff0a0e597e531e85
Kihong Kwon [Tue, 26 Mar 2013 08:01:26 +0000 (17:01 +0900)]
Merge "WebProcess crash is occured during changing default directory path for file system" into tizen_2.1
YoungTaeck Song [Tue, 26 Mar 2013 07:52:37 +0000 (16:52 +0900)]
Merge "Remove ewk_view_use_smart_selection_set() API because it is not used anymore." into tizen_2.1
YoungTaeck Song [Tue, 26 Mar 2013 07:52:22 +0000 (16:52 +0900)]
Merge "Remove ewk_view_top_of_contents_go() because it is not used anymore." into tizen_2.1
YoungTaeck Song [Tue, 26 Mar 2013 07:52:10 +0000 (16:52 +0900)]
Merge "Use EwkView's variables instead of drawingScaleFactor and drawingScrollPosition." into tizen_2.1
YoungTaeck Song [Tue, 26 Mar 2013 07:51:47 +0000 (16:51 +0900)]
Merge "Remove setAccurateVisibleContentsPosition codes because it is not needed anymore." into tizen_2.1
YoungTaeck Song [Tue, 26 Mar 2013 07:51:17 +0000 (16:51 +0900)]
Merge "[Arrange Tizen Local Patch] Remove viewWidth and viewHeight from Setting(Preferences)." into tizen_2.1
YoungTaeck Song [Tue, 26 Mar 2013 07:51:00 +0000 (16:51 +0900)]
Merge "Make TC for ewk_view_feed_touch_event()." into tizen_2.1
Jiyeon Kim [Fri, 22 Mar 2013 06:47:51 +0000 (15:47 +0900)]
WebProcess crash is occured during changing default directory path for file system
[Title] WebProcess crash is occured during changing default directory path for file system
[Problem] Webprocess crash is occured during changing default directory path of file system
[Cause] There are two reasons for this problem.
First, resetStoragePath() method is called before initializeWebProcess
Second, type of m_basePath is class. So if m_basePath can change, it need set API
[Solution] First, LocalFileSystem, web database, web storage initialize themselves in resetStoragePath method even if initializeWebProcess
Add set api for changing m_basePath value
Change-Id: I7a3f9da46f5fab58978623fc2767b633b4501ca0
Eunmi Lee [Thu, 21 Mar 2013 08:58:03 +0000 (17:58 +0900)]
Remove ewk_view_use_smart_selection_set() API because it is not used anymore.
[Title] Remove ewk_view_use_smart_selection_set() API because it is not used anymore.
[Issue#] N/A
[Problem] ewk_view_use_smart_selection_set() is not used anymore.
[Cause] The ewk_view_use_smart_selection_set() was added for testing desktop web applications,
but it is not used anymore and smart_selection is default behavior of ewk_view.
If user want to disable zoom, he/she can set scalable variable to false in the viewport tag of web pages.
[Solution] Remove ewk_view_use_smart_selection_set().
Change-Id: I16dc69f9da1a5a2591428517af99671854c99715
Eunmi Lee [Thu, 21 Mar 2013 07:32:10 +0000 (16:32 +0900)]
Remove ewk_view_top_of_contents_go() because it is not used anymore.
[Title] Remove ewk_view_top_of_contents_go() because it is not used anymore.
[Issue#] N/A
[Problem] ewk_view_top_of_contents_go() is not used anymore.
[Cause] The ewk_view_top_of_contents_go() was added for old UX concept, but it is not used anymore.
And browser uses ewk_view_animated_scroll_set() API instead of that.
[Solution] Remove ewk_view_top_of_contents_go().
Change-Id: Id9161c4bd81b8c09f5124194141391431cb378ae
Eunmi Lee [Thu, 21 Mar 2013 06:13:03 +0000 (15:13 +0900)]
Use EwkView's variables instead of drawingScaleFactor and drawingScrollPosition.
[Title] Use EwkView's variables instead of drawingScaleFactor and drawingScrollPosition.
[Issue#] N/A
[Problem] Refactoring.
[Cause] The drawing variables and EwkView's variables have same role.
So, I've unified them to use only EwkView's variables.
[Solution] Remove drawingScaleFactor and drawingScrollPosition and refactoring codes.
Change-Id: I5f8105b486c0e1212f76877daed0535552c8b8e9
Eunmi Lee [Thu, 21 Mar 2013 05:05:33 +0000 (14:05 +0900)]
Remove setAccurateVisibleContentsPosition codes because it is not needed anymore.
[Title] Remove setAccurateVisibleContentsPosition codes because it is not needed anymore.
[Issue#] N/A
[Problem] The setAccurateVisibleContentsPosition codes are not needed anymore.
[Cause] We call the initializeVisibleContentRect() and it set the accurateVisibleContentsPosition by
calling setVisibleContentRect(), so we don't have to set accurateVisibleContentsPosition separately anymore.
I know the setAccurateVisibleContentsPosition() is added for fixing N_SE-15113,
and I've checked that defect does not occur without setAccurateVisibleContentsPosition() codes now.
[Solution] Remove setAccurateVisibleContentsPosition codes.
Change-Id: I6f4ebbe851276d826dede142306691993f10e4be
Eunmi Lee [Thu, 21 Mar 2013 11:33:05 +0000 (20:33 +0900)]
[Arrange Tizen Local Patch] Remove viewWidth and viewHeight from Setting(Preferences).
[Title] Remove viewWidth and viewHeight from Setting(Preferences).
[Issue#] N/A
[Problem] viewWidth and viewHeight is not used anymore.
[Cause] The codes which use them was removed.
[Solution] Remove viewWidth and viewHeight from Setting(Preferences).
Change-Id: Ifec68ed3bffcde7050c7d45a7eb459f4428472a5
prathmesh.m [Tue, 26 Mar 2013 04:04:47 +0000 (13:04 +0900)]
Incorrect display of menu option on a playing video
[Title] Incorret display of menu optionon playing video
[Issue#] WEB-2827
[Problem] Unmute option not displayed after selecting mute
on a playing video
[Cause] No option unmute was present
[Solution] Added the string unmute for display
Change-Id: Ib2a3cf5a89efeafd8d0f68552e7cdaa01e3b4d2d
prathmesh.m [Fri, 22 Mar 2013 09:59:53 +0000 (18:59 +0900)]
Added context menu for input field
[Title] Added context menu for input field
[Issue#] TDIS-2990
[Problem] Unable to paste in input field
[Cause] No context menu items added as its a input filed
[Solution] Added paste item for the context menu
Change-Id: Ie4309c1c770ead5bec444b03906f16491e604d59
Jinwoo Song [Mon, 25 Mar 2013 06:55:26 +0000 (15:55 +0900)]
Fix find on web pages with -webkit-user-select: none
[Title] Fix find on web pages with -webkit-user-select: none
[Issue#] https://tizendev.org/bugs/browse/N_SE-25811
[Problem] Focus does not change to the matched string on web pages with -webkit-user-select: none
[Cause] frame selection returns NULL on web pages with -webkit-user-select: none and
current WebKit2 find string algorithm is using the frame selection.
[Solution] Highlight the active matching string using the document's active marker function
instead of frame selection. For this operation, findString() explictly index
the current active matching string and scroll to the position.
Change-Id: I498c944c34be3b2c7bd76cd5ad506f7d11cc9b9e
Eunmi Lee [Fri, 22 Mar 2013 02:25:29 +0000 (11:25 +0900)]
Make TC for ewk_view_feed_touch_event().
[Title] Make TC for ewk_view_feed_touch_event().
[Issue#] N/A
[Problem] TC for ewk_view_feed_touch_event() does not exist.
[Cause] None.
[Solution] Make TC for ewk_view_feed_touch_event().
Change-Id: I9f110aa137dbea982a9b08e3961c7847224b650d
Sanghyup Lee [Wed, 20 Mar 2013 01:57:50 +0000 (10:57 +0900)]
Rename feature that Beep sound when click link
[Title] Rename feature that Beep sound when click link
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Rename feature that Beep sound when click link
Change-Id: I3cf37762672020d8714b8dc713595950d11e420e
Conflicts:
Source/WebCore/PlatformTizen.cmake
Sanghyup Lee [Fri, 15 Mar 2013 07:22:32 +0000 (16:22 +0900)]
Implement Beep sound when click link
[Title] Implement Beep sound when click link
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Implement Beep sound when click link
Change-Id: I79c1f2cb2b8fc1a075aca4318a881c63c559f68d
Kihong Kwon [Tue, 26 Mar 2013 06:50:17 +0000 (15:50 +0900)]
Merge "[WK2] Change tizen log for Geolocation" into tizen_2.1
krit@webkit.org [Thu, 30 Aug 2012 17:08:00 +0000 (17:08 +0000)]
[Cherry-pick] Refactor WrapShape classes to BasicShape
[Title] Refactor WrapShape classes to BasicShape
[Issues] N/A
[Problem] N/A
[Solution] Cherry picked.
[Cherry-Picker] Sanghyup Lee <sh53.lee@samsung.com>
Refactor WrapShape classes to BasicShape
https://bugs.webkit.org/show_bug.cgi?id=95461
Reviewed by Rob Buis.
This is a follow up patch of bug 95411. While the previous patch
just renamed the files, this patch renames the classes, enumerations
and functions.
Just refactoring of internal names. No new tests.
* css/BasicShapeFunctions.cpp:
(WebCore::valueForBasicShape):
(WebCore::basicShapeForValue):
* css/BasicShapeFunctions.h:
(WebCore):
* css/CSSBasicShapes.cpp:
(WebCore::CSSBasicShapeRectangle::cssText):
(WebCore::CSSBasicShapeCircle::cssText):
(WebCore::CSSBasicShapeEllipse::cssText):
(WebCore::CSSBasicShapePolygon::cssText):
* css/CSSBasicShapes.h:
(WebCore::CSSBasicShape::~CSSBasicShape):
(WebCore::CSSBasicShape::CSSBasicShape):
(WebCore::CSSBasicShapeRectangle::create):
(WebCore::CSSBasicShapeRectangle::type):
(WebCore::CSSBasicShapeRectangle::CSSBasicShapeRectangle):
(WebCore::CSSBasicShapeCircle::create):
(WebCore::CSSBasicShapeCircle::type):
(WebCore::CSSBasicShapeCircle::CSSBasicShapeCircle):
(WebCore::CSSBasicShapeEllipse::create):
(WebCore::CSSBasicShapeEllipse::type):
(WebCore::CSSBasicShapeEllipse::CSSBasicShapeEllipse):
(WebCore::CSSBasicShapePolygon::create):
(WebCore::CSSBasicShapePolygon::type):
(WebCore::CSSBasicShapePolygon::CSSBasicShapePolygon):
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseBasicShapeRectangle):
(WebCore::CSSParser::parseBasicShapeCircle):
(WebCore::CSSParser::parseBasicShapeEllipse):
(WebCore::CSSParser::parseBasicShapePolygon):
(WebCore::CSSParser::parseBasicShape):
* css/CSSParser.h:
(WebCore):
* css/CSSPrimitiveValue.cpp:
(WebCore::CSSPrimitiveValue::init):
* css/CSSPrimitiveValue.h:
(WebCore):
(WebCore::CSSPrimitiveValue::getShapeValue):
(CSSPrimitiveValue):
* css/StyleBuilder.cpp:
(WebCore):
(WebCore::ApplyPropertyWrapShape::setValue):
(WebCore::ApplyPropertyWrapShape::applyValue):
(WebCore::ApplyPropertyWrapShape::createHandler):
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::updateWrapShapeInfoAfterStyleChange):
* rendering/RenderBlock.h:
(RenderBlock):
* rendering/WrapShapeInfo.cpp:
(WebCore::WrapShapeInfo::isWrapShapeInfoEnabledForRenderBlock):
(WebCore::WrapShapeInfo::computeShapeSize):
* rendering/style/BasicShapes.cpp:
(WebCore::BasicShape::destroy):
* rendering/style/BasicShapes.h:
(WebCore::BasicShape::BasicShape):
(WebCore::BasicShapeRectangle::create):
(WebCore::BasicShapeRectangle::BasicShapeRectangle):
(WebCore::BasicShapeCircle::create):
(WebCore::BasicShapeCircle::BasicShapeCircle):
(WebCore::BasicShapeEllipse::create):
(WebCore::BasicShapeEllipse::BasicShapeEllipse):
(WebCore::BasicShapePolygon::create):
(WebCore::BasicShapePolygon::BasicShapePolygon):
* rendering/style/RenderStyle.h:
* rendering/style/StyleRareNonInheritedData.h:
(StyleRareNonInheritedData):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127155
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Conflicts:
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBlock.cpp
Source/WebCore/rendering/RenderBlock.h
Source/WebCore/rendering/WrapShapeInfo.cpp
krit@webkit.org [Thu, 30 Aug 2012 13:44:36 +0000 (13:44 +0000)]
[Cherry-pick] Refactor WrapShape to Shape/BasicShape
[Title] Refactor WrapShape to Shape/BasicShape
[Issues] N/A
[Problem] N/A
[Solution] Cherry picked.
[Cherry-Picker] Sanghyup Lee <sh53.lee@samsung.com>
Refactor WrapShape to Shape/BasicShape
https://bugs.webkit.org/show_bug.cgi?id=95411
Reviewed by Andreas Kling.
The wrap shapes are currently specified by CSS3 Exclusions but are useful for other
CSS related proposals like CSS Masking as well. This is the first patch on a chain
of patches to refactor WrapShape to BasicShape. With this patch all relevant files
get renamend and the build systems updated. The classes will be renamend in a second
step.
Just renaming of files. No new tests.
* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* css/BasicShapeFunctions.cpp: Renamed from Source/WebCore/css/WrapShapeFunctions.cpp.
(WebCore):
(WebCore::valueForWrapShape):
(WebCore::convertToLength):
(WebCore::wrapShapeForValue):
* css/BasicShapeFunctions.h: Renamed from Source/WebCore/css/WrapShapeFunctions.h.
(WebCore):
* css/CSSAllInOne.cpp:
* css/CSSBasicShapes.cpp: Renamed from Source/WebCore/css/CSSWrapShapes.cpp.
(WebCore):
(WebCore::CSSWrapShapeRectangle::cssText):
(WebCore::CSSWrapShapeCircle::cssText):
(WebCore::CSSWrapShapeEllipse::cssText):
(WebCore::CSSWrapShapePolygon::cssText):
* css/CSSBasicShapes.h: Renamed from Source/WebCore/css/CSSWrapShapes.h.
(WebCore):
(CSSWrapShape):
(WebCore::CSSWrapShape::~CSSWrapShape):
(WebCore::CSSWrapShape::CSSWrapShape):
(CSSWrapShapeRectangle):
(WebCore::CSSWrapShapeRectangle::create):
(WebCore::CSSWrapShapeRectangle::x):
(WebCore::CSSWrapShapeRectangle::y):
(WebCore::CSSWrapShapeRectangle::width):
(WebCore::CSSWrapShapeRectangle::height):
(WebCore::CSSWrapShapeRectangle::radiusX):
(WebCore::CSSWrapShapeRectangle::radiusY):
(WebCore::CSSWrapShapeRectangle::setX):
(WebCore::CSSWrapShapeRectangle::setY):
(WebCore::CSSWrapShapeRectangle::setWidth):
(WebCore::CSSWrapShapeRectangle::setHeight):
(WebCore::CSSWrapShapeRectangle::setRadiusX):
(WebCore::CSSWrapShapeRectangle::setRadiusY):
(WebCore::CSSWrapShapeRectangle::type):
(WebCore::CSSWrapShapeRectangle::CSSWrapShapeRectangle):
(CSSWrapShapeCircle):
(WebCore::CSSWrapShapeCircle::create):
(WebCore::CSSWrapShapeCircle::centerX):
(WebCore::CSSWrapShapeCircle::centerY):
(WebCore::CSSWrapShapeCircle::radius):
(WebCore::CSSWrapShapeCircle::setCenterX):
(WebCore::CSSWrapShapeCircle::setCenterY):
(WebCore::CSSWrapShapeCircle::setRadius):
(WebCore::CSSWrapShapeCircle::type):
(WebCore::CSSWrapShapeCircle::CSSWrapShapeCircle):
(CSSWrapShapeEllipse):
(WebCore::CSSWrapShapeEllipse::create):
(WebCore::CSSWrapShapeEllipse::centerX):
(WebCore::CSSWrapShapeEllipse::centerY):
(WebCore::CSSWrapShapeEllipse::radiusX):
(WebCore::CSSWrapShapeEllipse::radiusY):
(WebCore::CSSWrapShapeEllipse::setCenterX):
(WebCore::CSSWrapShapeEllipse::setCenterY):
(WebCore::CSSWrapShapeEllipse::setRadiusX):
(WebCore::CSSWrapShapeEllipse::setRadiusY):
(WebCore::CSSWrapShapeEllipse::type):
(WebCore::CSSWrapShapeEllipse::CSSWrapShapeEllipse):
(CSSWrapShapePolygon):
(WebCore::CSSWrapShapePolygon::create):
(WebCore::CSSWrapShapePolygon::appendPoint):
(WebCore::CSSWrapShapePolygon::getXAt):
(WebCore::CSSWrapShapePolygon::getYAt):
(WebCore::CSSWrapShapePolygon::values):
(WebCore::CSSWrapShapePolygon::setWindRule):
(WebCore::CSSWrapShapePolygon::windRule):
(WebCore::CSSWrapShapePolygon::type):
(WebCore::CSSWrapShapePolygon::CSSWrapShapePolygon):
* css/CSSComputedStyleDeclaration.cpp:
* css/CSSParser.cpp:
* css/CSSPrimitiveValue.cpp:
* css/StyleBuilder.cpp:
* rendering/style/BasicShapes.cpp: Renamed from Source/WebCore/rendering/style/WrapShapes.cpp.
(WebCore):
(WebCore::WrapShape::destroy):
* rendering/style/BasicShapes.h: Renamed from Source/WebCore/rendering/style/WrapShapes.h.
(WebCore):
(WrapShape):
(WebCore::WrapShape::deref):
(WebCore::WrapShape::type):
(WebCore::WrapShape::WrapShape):
(WrapShapeRectangle):
(WebCore::WrapShapeRectangle::create):
(WebCore::WrapShapeRectangle::x):
(WebCore::WrapShapeRectangle::y):
(WebCore::WrapShapeRectangle::width):
(WebCore::WrapShapeRectangle::height):
(WebCore::WrapShapeRectangle::cornerRadiusX):
(WebCore::WrapShapeRectangle::cornerRadiusY):
(WebCore::WrapShapeRectangle::setX):
(WebCore::WrapShapeRectangle::setY):
(WebCore::WrapShapeRectangle::setWidth):
(WebCore::WrapShapeRectangle::setHeight):
(WebCore::WrapShapeRectangle::setCornerRadiusX):
(WebCore::WrapShapeRectangle::setCornerRadiusY):
(WebCore::WrapShapeRectangle::WrapShapeRectangle):
(WrapShapeCircle):
(WebCore::WrapShapeCircle::create):
(WebCore::WrapShapeCircle::centerX):
(WebCore::WrapShapeCircle::centerY):
(WebCore::WrapShapeCircle::radius):
(WebCore::WrapShapeCircle::setCenterX):
(WebCore::WrapShapeCircle::setCenterY):
(WebCore::WrapShapeCircle::setRadius):
(WebCore::WrapShapeCircle::WrapShapeCircle):
(WrapShapeEllipse):
(WebCore::WrapShapeEllipse::create):
(WebCore::WrapShapeEllipse::centerX):
(WebCore::WrapShapeEllipse::centerY):
(WebCore::WrapShapeEllipse::radiusX):
(WebCore::WrapShapeEllipse::radiusY):
(WebCore::WrapShapeEllipse::setCenterX):
(WebCore::WrapShapeEllipse::setCenterY):
(WebCore::WrapShapeEllipse::setRadiusX):
(WebCore::WrapShapeEllipse::setRadiusY):
(WebCore::WrapShapeEllipse::WrapShapeEllipse):
(WrapShapePolygon):
(WebCore::WrapShapePolygon::create):
(WebCore::WrapShapePolygon::windRule):
(WebCore::WrapShapePolygon::values):
(WebCore::WrapShapePolygon::getXAt):
(WebCore::WrapShapePolygon::getYAt):
(WebCore::WrapShapePolygon::setWindRule):
(WebCore::WrapShapePolygon::appendPoint):
(WebCore::WrapShapePolygon::WrapShapePolygon):
* rendering/style/StyleRareNonInheritedData.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127132
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Conflicts:
Source/WebCore/ChangeLog
Source/WebCore/Target.pri
Source/WebCore/WebCore.gypi
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/css/StyleBuilder.cpp
Taehwan Kim [Tue, 26 Mar 2013 06:18:39 +0000 (15:18 +0900)]
[Release] Webkit2-efl-123997_0.11.1
Change-Id: I779311f693caa83281aebd9ea297ca693c9b222b
SangYong Park [Mon, 18 Feb 2013 23:33:01 +0000 (08:33 +0900)]
Change traversing tree to render tree in screen reader.
[Title] Change traversing tree to render tree in screen reader.
[Issue#] N/A
[Problem]
[Cause]
[Solution]
Change-Id: Ic4c426d8fc0044ca78a13fc0a7e9018a1d5868e2
Taeyun An [Mon, 25 Mar 2013 12:29:36 +0000 (21:29 +0900)]
Checking the clipboard status before appear context menu
[Title] Changed signal for showing text selection handles.
[Issue#] N_SE-29804
[Problem] Context menu options does disappear after clipboard appear
[Cause] There is appear the context menu routine after clipboard appear
[Solution] Checking clipboard status before appear context menu
Change-Id: I8204b0fb2a48272583b20e6f837917cdfdb7d4c5
Sanghyup Lee [Mon, 25 Mar 2013 07:29:48 +0000 (16:29 +0900)]
Switch release branch from master to tizen_2.1
[Title] Switch release branch from master to tizen_2.1
[Issue] N/A
[Problem] Release policy was changed.
[Cause] N/A
[Solution] Switch release branch from master to tizen_2.1.
In addition, removed sdk branch related code because of no needs anymore.
Change-Id: I47aaacd3695f16a8764ac737ef65cfef86ef6747
pritam.nikam [Tue, 26 Mar 2013 13:13:29 +0000 (18:43 +0530)]
[WK2] Fix for initial scale handling for mobile pages in UI process side.
[Version] N/A
[Project] N/A
[Title] Fix for issue WEB-2446
[BinType] N/A
[Customer] N/A
[Issue#] WEB-2446
[Problem] [WK2] Page display differs while reloading the same webpage in "http://dev.bybjorn.com/ipadoffline".
[Cause] Viewport's initial scale handling on UI process is at fault. In WebKit::PageClientImpl::didChangeContentsSize
over-writes initilal scale and replaces it with minimumScaleByContentWidth, i.e. ratio of webview (evas object)
size's width to page contents width. Apparently contents fit to width, instead of initial scale set in pages
meta viewport tag.
[Solution] If initialScale is not set explicitly in content's meta viewport and is same to minimumScale, then only
update initialScale to the minimumScaleByContentWidth. Otherwise retain the initial scale to value specified in
content's viewport consraints.
[Team] TiledAC
[Developer] pritam.nikam
[Request] N/A
[Horizontal expansion] N/A
[SCMRequest] N/A
Change-Id: Iba9302bb9b0ffa22ea0c5d0e0d6a74c291211d3e
Seonae Kim [Mon, 25 Mar 2013 07:20:19 +0000 (16:20 +0900)]
[WK2] Change tizen log for Geolocation
[Title][WK2] Change tizen log for Geolocation
[Issue] N/A
[Problem] A log is unclear.
[Cause] N/A
[Solution] Geolocation should generate console log for accuracy.
Change-Id: I08d18bea74677e1ed1480f8a8db5bc2c338e67ce
SangYong Park [Mon, 25 Mar 2013 01:27:47 +0000 (10:27 +0900)]
Fix keypad issue in google maps
[Title] Fix keypad issue in google maps
[Issue#] N_SE-26103
[Problem] Keypad did not appear in google maps
[Cause] keypad context was reseted before handling tap event
[Solution] Remove keypad context reseting code
Change-Id: Id4e99ea079d0431c89cb7c11fcc0cf5347ad7bda
akling@apple.com [Fri, 15 Mar 2013 18:10:30 +0000 (18:10 +0000)]
[CherryPick] [JSC] Remove custom WebAudio mark functions that we can generate instead.
[Title] [CherryPick] [JSC] Remove custom WebAudio mark functions that we can generate instead.
[Issues] N/A
[Problem] WebAudio API Spec update
[Solution] Cherry picked.
[Cherry-Picker] Praveen R Jadhav <praveen.j@samsung.com>
[JSC] Remove custom WebAudio mark functions that we can generate instead.
<http://webkit.org/b/110976>
Reviewed by Eric Carlson.
Remove custom JSC mark functions for AudioContext and ScriptProcessorNode since they
are trivial to generate.
* Modules/webaudio/AudioContext.idl:
* Modules/webaudio/ScriptProcessorNode.idl:
* GNUmakefile.list.am:
* UseJSC.cmake:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSAudioContextCustom.cpp:
* bindings/js/JSScriptProcessorNodeCustom.cpp: Removed.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145922
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Conflicts:
Source/WebCore/ChangeLog
Source/WebCore/GNUmakefile.list.am
Source/WebCore/Modules/webaudio/AudioContext.idl
Source/WebCore/Modules/webaudio/ScriptProcessorNode.idl
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Change-Id: Ibd2e5227eb150e696182c5b042e95b3690b4f20d
christophe.dumez@intel.com [Mon, 7 Jan 2013 13:26:13 +0000 (13:26 +0000)]
[CherryPick] Regression(r138786): Causes webaudio tests to crash
[Title] [CherryPick] Regression(r138786): Causes webaudio tests to crash
[Issues] N/A
[Problem] WebAudio Intel TCs hang during regression test
[Solution] Cherry picked.
[Cherry-Picker] Praveen R Jadhav <praveen.j@samsung.com>
https://bugs.webkit.org/show_bug.cgi?id=106182
Reviewed by Philippe Normand.
Source/WebCore:
Partially revert r138786 since it causes crashes in webaudio
tests. The WebProcess would actually become unresponsive due
to source element never going to PLAYING state.
Only the changes to webKitWebAudioSrcChangeState() were reverted.
No new tests, already covered by existing tests.
* platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp:
(webKitWebAudioSrcChangeState):
LayoutTests:
Unskip several webaudio tests for EFL WK2 now that the
regression was fixed.
* platform/efl-wk2/TestExpectations:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138935
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Conflicts:
LayoutTests/ChangeLog
LayoutTests/platform/efl-wk2/TestExpectations
Source/WebCore/ChangeLog
Change-Id: I200bcba74492c4ad5af6b34e2d01b16645683968
Praveen R Jadhav [Mon, 25 Mar 2013 01:49:07 +0000 (10:49 +0900)]
Revert "Fix to resolve hang while running WebAudio automation testing."
This reverts commit
6ac5c23f274dbef1454edca6b5cafbdd6003b816.
[Reason]: Updates from WebKit.org https://bugs.webkit.org/show_bug.cgi?id=106182 will be cherry-picked
to resolve this issue.
Change-Id: If521a91356ca0320dba4a77f7bfb15e8e8e1ddfc
Raveendra Karu [Mon, 25 Mar 2013 08:12:08 +0000 (17:12 +0900)]
Authentication pop up is displayed even when Authentication credentials are set in request url
[Title] Authentication pop up is displayed even when Authentication credentials are set in request url
[Issue#] DCM-596
[Problem] Even though request url contains Authentication credentials, Authentication pop is being shown.
[Cause] "Authorization" headers is not getting added to the request headers since it is skipped for http family protocols.
[Solution] Adding "Authorization" header to the request in case of http family protocols also.
[Developer] Raveendra Karu (r.karu@samsung.com)
Taehwan Kim [Mon, 25 Mar 2013 06:19:07 +0000 (15:19 +0900)]
[Release] Webkit2-efl-123997_0.10.83
Change-Id: Ic3c226c7f1ea766e85966180787a52833d57a831
enrica@apple.com [Tue, 15 Jan 2013 23:00:59 +0000 (23:00 +0000)]
[Cherry-pick] Add a new set of WebKit2 APIs for text search and search results management.
[Title] [Cherry-pick] Add a new set of WebKit2 APIs for text search and search results management.
[Issue] https://tizendev.org/bugs/browse/N_SE-25811
[Problem] Find string is not working in the page with the CSS style, '--webkit-user-select: none'.
[Solution] We need to expand the text search implementation with the new WebKit2 APIs in the open source.
So I cherry-pick this patch in the open source.
[Cherry-Picker] Jinwoo Song <jinwoo7.song@samsung.com>
Add a new set of WebKit2 APIs for text search and search results management.
https://bugs.webkit.org/show_bug.cgi?id=106834.
<rdar://problem/
12597159>
Source/WebCore:
Reviewed by Simon Fraser.
Adding new API to perform text search in WebKit2 without using
the stock UI. The new interface provides all the information
necessary to write a custom UI for search.
Added new TextWebKitAPI test.
* WebCore.exp.in: Added new exported methods.
* editing/Editor.cpp:
(WebCore::Editor::countMatchesForText): Added new parameter to store
all the ranges relative to the matches found.
* editing/Editor.h: Modified the interface of countMatchesForText and removed
the other definition of countMatchesForText with a different signature.
* page/Page.cpp:
(WebCore::Page::findStringMatchingRanges): Added.
(WebCore::Page::markAllMatchesForText): Changed to use the new unified
countMatchesForText.
* page/Page.h:
Source/WebKit/mac:
Reviewed by Simon Fraser.
Adding new API to perform text search in WebKit2 without using
the stock UI. The new interface provides all the information
necessary to write a custom UI for search.
Added new TextWebKitAPI test.
* WebView/WebHTMLView.mm:
(-[WebHTMLView countMatchesForText:inDOMRange:options:limit:markMatches:]):
Modified to reflect the changes to Editor::countMatchesForText interface.
Source/WebKit2:
Reviewed by Simon Fraser.
Adding new API to perform text search in WebKit2 without using
the stock UI. The new interface provides all the information
necessary to write a custom UI for search. The main logic is
implemented in the new functions added to FindController.
Added new TextWebKitAPI test.
* UIProcess/API/C/WKPage.cpp:
(WKPageFindStringMatches): Added.
(WKPageGetImageForFindMatch): Added.
(WKPageSelectFindMatch): Added.
(WKPageSetPageFindMatchesClient): Added.
* UIProcess/API/C/WKPage.h: Added the new API definitions.
* UIProcess/WebFindClient.cpp: Added new client callbacks.
(WebKit::WebFindMatchesClient::didFindStringMatches):
(WebKit::WebFindMatchesClient::didGetImageForMatchResult):
* UIProcess/WebFindClient.h:
(WebFindMatchesClient): Added.
* UIProcess/WebPageProxy.cpp: Added proxy methods.
(WebKit::WebPageProxy::initializeFindMatchesClient):
(WebKit::WebPageProxy::findStringMatches):
(WebKit::WebPageProxy::getImageForFindMatch):
(WebKit::WebPageProxy::selectFindMatch):
(WebKit::WebPageProxy::didGetImageForFindMatch):
(WebKit::WebPageProxy::didFindStringMatches):
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::findStringMatches): Finds all the matching
text according to the find options. All the matching text ranges are
stored in a vector until the next call to findStringMatches or until
hideFindUI is called. The message that is sent back to the UI process
contains a vector containing an entry for each find match (i.e. for each
range) and each entry is represented by a vector of the corresponding
text rects. It also returns the index in the vector of matches corresponding
to the first match after the user selection.
If there is no selection the index is always 0 and if there are no
matches after the user selection, the index returned is -1.
(WebKit::FindController::getFindIndicatorBitmapAndRect): Helper function
to share code between updateFindIndicator and getImageForFindMatch.
(WebKit::FindController::getImageForFindMatch): Creates the image corresponding
to the text matched at the given match index.
(WebKit::FindController::selectFindMatch): creates a selection for the range
corresponding to the given match index.
(WebKit::FindController::hideFindUI): Added logic to clear the vector
of matched ranges.
(WebKit::FindController::updateFindIndicator): Updated to use the
new helper function getFindIndicatorBitmapAndRect.
* WebProcess/WebPage/FindController.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::findStringMatches):
(WebKit::WebPage::getImageForFindMatch):
(WebKit::WebPage::selectFindMatch):
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in:
Tools:
Added new test for the new WebKit2 API for
text search.
Reviewed by Simon Fraser.
* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WebKit2/FindMatches.mm: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139796
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Conflicts:
Source/WebCore/ChangeLog
Source/WebKit/mac/ChangeLog
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/WebPageProxy.h
Source/WebKit2/UIProcess/WebPageProxy.messages.in
Source/WebKit2/WebProcess/WebPage/FindController.cpp
Tools/ChangeLog
Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
Change-Id: I50c151a32ebbc2cbaa1ce2c973afb25d7e99db78
eojin.ham [Fri, 22 Mar 2013 12:16:55 +0000 (21:16 +0900)]
Add a enum value for media stream recorder in _Ewk_Extensible_API
[Title] Add a enum value for media stream recorder in _Ewk_Extensible_API
[Problem] Enum type of _Ewk_Extensible_API should be included in the patch (https://tizendev.org/gerrit/#/c/53792/)
[Cause] It missed by mistake.
[Solution] Add a enum value for media stream recorder in _Ewk_Extensible_API
Change-Id: Ieb821df91bd3c7ba8cb0e7a43559ae85c7140560
ryuan [Mon, 25 Mar 2013 02:03:38 +0000 (11:03 +0900)]
Remove copyright of error page
[Title]Remove copyright of error page
[Problem] copyright is not needed for this error page.
[Cause] N/A
[Solution] Removed.
Change-Id: Ia65ce85d83a8dab01c21bd0ae60062e7e785b3eb