framework/web/wrt.git
10 years ago[Release] wrt_0.8.295 submit/tizen_2.2/20131107.063216
sung-su.kim [Thu, 31 Oct 2013 23:54:10 +0000 (08:54 +0900)]
[Release] wrt_0.8.295

Merge branch 'master' into tizen_2.2

Change-Id: Ia314e44857763a1d6fa89e49a33832b2adc07d98

10 years ago[Release] wrt_0.8.295
sung-su.kim [Thu, 31 Oct 2013 09:10:55 +0000 (18:10 +0900)]
[Release] wrt_0.8.295

Change-Id: Ie4c4e98d64dd4c73d4e0bd794e96b7961e67659e

10 years agoFix WRT test suite
Andrzej Surdej [Wed, 30 Oct 2013 09:22:58 +0000 (10:22 +0100)]
Fix WRT test suite

[Issue#]   N/A
[Problem]  Fail to create widget model.
[Cause]    New database file was created while test process used old one.
[Solution] Reset database connection.

[Verification] Build repo with tests and run wrt-tests-general.
               All of them should pass.

Change-Id: I6b3736d1b1eef5b626e75bbedeabe40155ae0abc

10 years agostrncpy() fix in wrt-launcher against buffer overflow.
Tae-Jeong Lee [Wed, 30 Oct 2013 03:04:49 +0000 (12:04 +0900)]
strncpy() fix in wrt-launcher against buffer overflow.

[Issue#]   N/A
[Problem]  Riskiness of buffer overflow.
[Cause]    The strncpy() was used incorrectly.
[Solution] Fixed to refer proper buffer size in strncpy().

Change-Id: Ia543e0e181cb6ddb30c7df371caed366aa190e15

10 years ago[Release] wrt_0.8.294
sung-su.kim [Tue, 29 Oct 2013 23:48:26 +0000 (08:48 +0900)]
[Release] wrt_0.8.294

Change-Id: I0704afcd0edffdd51ebe448eb1a3de1928c06fbf

10 years agoExplicit conversion of wide char string to DPL::String.
Zbigniew Kostrzewa [Tue, 29 Oct 2013 13:05:12 +0000 (14:05 +0100)]
Explicit conversion of wide char string to DPL::String.

[Issue#]   LINUXWRT-1061
[Problem]  When changing FastDelegate to std::function, this causes build break.
[Cause]    Bug in GCC which introduces implicit conversion from a pointer to std::function.
[Solution] Remove possible implicit conversions.

[Verification]
    1. Build repository.
    2. Run `wrt-tests-general --output=text` (the same number of tests
       should pass before and after applying this change).

Change-Id: I5c46a2d590d197cf2c985e4d369676da96c72031

10 years agoAdd BuildRequired of pkgconfig(libcurl) to rpm spec file.
Tae-Jeong Lee [Tue, 29 Oct 2013 08:35:17 +0000 (17:35 +0900)]
Add BuildRequired of pkgconfig(libcurl) to rpm spec file.

[Issue#]   N/A
[Problem]  Build break on tizen lite branch
[Cause]    Wrt have been using 'libcurl' in creating view common static library,
           but it was not included on 'BuildRequired' list of wrt.
           It can be caused a build break if other libs doesn't have depedency about that
           in place of wrt.
[Solution] Its 'BuildRequired' was added to rpm spec file.

Change-Id: I884e3911608f3ef5d76496e29ce7e10fa9e141ac

10 years ago[Release] wrt_0.8.293
sung-su.kim [Tue, 29 Oct 2013 06:44:59 +0000 (15:44 +0900)]
[Release] wrt_0.8.293

Merge branch 'master' into tizen_2.2

Change-Id: I6ad879c420125571137619251a0f456b6d3b2534

10 years agoFix UX Review Issue about Popup Button Text
Jihoon Chung [Sat, 26 Oct 2013 03:48:42 +0000 (12:48 +0900)]
Fix UX Review Issue about Popup Button Text

[Issue#]   LINUXWRT-1062
[Problem]  Tizen Redwood UX reivew issue.
             - Button should use "Allow/Deny" instead of "Yes/No".
             - The order of button is "Deny" and "Allow"
[Cause]    N/A
[Solution] Change button text to "Allow/Deny".
           Also change the button order to "Deny" and "Allow".

[Verification]
    - Insatll attached "Permission" test application in LINUXWRT-1062.
    - Lanuch application and select "Web Notification" or other button.
    - Checking button text and order.
[SCMRequest] N/A

Change-Id: I45f9c91dd9e4c7c86ddbc7432511ba763f3fbd00

10 years agoAdd #undef Directives for Debug Log Macros
Jihoon Chung [Mon, 28 Oct 2013 01:47:11 +0000 (10:47 +0900)]
Add #undef Directives for Debug Log Macros

[Issue#]   N/A
[Problem]  Define "_D", "_E" and "_W" in another place causes "redefinition" build warning,
           as well as "redefinition of macro" warning message occasionally.
[Cause]    "_D", "_E" and "_W" are defined without checking whether "#ifndef" or "#undef".
[Solution] Add "#undef" prior to define "_D", "_E" and "_W".

[Verification] Build repo.
[SCMRequest] N/A

Change-Id: I1b5fdec9a5a98160bbe422cfb99c22c443254c80

10 years ago[Release] wrt_0.8.293
sung-su.kim [Tue, 29 Oct 2013 02:17:41 +0000 (11:17 +0900)]
[Release] wrt_0.8.293

Change-Id: Ice0c17ea1b109e151bd54e216f59a09ce8906f89

10 years agoWrt patch for plugin process labeling to assign a separate label from UI process.
Tae-Jeong Lee [Mon, 23 Sep 2013 13:17:02 +0000 (22:17 +0900)]
Wrt patch for plugin process labeling to assign a separate label from UI process.

 - This patch includes 'EXECUTE_ON_WHOLE_THREAD()' utility which can be used
   when tring to execute same routine on whole thread a each.

[Issue#]   N/A
[Problem]  Wrt should assign a separated smack label from UI process to Plugin Process.
[Cause]    Because a child process inherits parent's smack label in linux system,
           We needed a special processing for smack labeling.
[Solution] Using inheritable bit of capability, UI process makes the Plugins process
           be available to have 'CAP_MAC_ADMIN' capabiltity.

[SCMRequest] Depends on https://review.tizendev.org/gerrit/#/c/90502/

Change-Id: I86176b74ad72d749a487e3fab5f705291e464084

10 years ago[Release] wrt_0.8.292
sung-su.kim [Mon, 28 Oct 2013 05:21:01 +0000 (14:21 +0900)]
[Release] wrt_0.8.292

Change-Id: I03356239d600e77a83c6a3d3ace1a13f1a3a674d

10 years agoRevert "Checking installator lock on launch"
sung-su.kim [Mon, 28 Oct 2013 04:43:03 +0000 (13:43 +0900)]
Revert "Checking installator lock on launch"

Launch is blocked by reinstallation or deinstallation
For this reason, the app is not launched.
Please check again it and make a commit.

This reverts commit 3f7f4b09a4d3767babc169611355ae4ffbafcb34.

Change-Id: Ib29d482c135844e381b2566943dc48a289678545

10 years ago[Release] wrt_0.8.291
sung-su.kim [Sun, 27 Oct 2013 23:47:08 +0000 (08:47 +0900)]
[Release] wrt_0.8.291

Change-Id: Ida8d3ae222f73519eabcb2b6a9828dd98b90eaee

10 years agoChecking installator lock on launch
Tomasz Iwanek [Thu, 24 Oct 2013 14:27:41 +0000 (16:27 +0200)]
Checking installator lock on launch

[Issue#]   N_SE-55833
[Problem]  No checkign if widget can be launched when installation si in progress.
[Cause]    N/A
[Solution] Checking if reinstallation is in progress.
           If yes quit wrt-client.
           This is quick fix some popup shoudl be probably displayed.

[Verification]
    - werify with wrt-installer change: ID:315796

Change-Id: Icaadc1284132fda91450628b92a00efc783b50d6

10 years agoClean-up "ViewLogic::resetWidget()"
Jihoon Chung [Thu, 24 Oct 2013 08:35:20 +0000 (17:35 +0900)]
Clean-up "ViewLogic::resetWidget()"

[Issue#]   LINUXWRT-1064
[Problem]  With the newly introduced "Reset" behavior
           (as in https://review.tizendev.org/gerrit/#/c/94207/),
           some code in "ViewLogic::resetWidget()" is duplicated.
[Cause]    N/A
[Solution] Clean-up and remove duplicated code.

[Verification] Build repo and test LINUXWRT-1055 verifications.
               Also checking normal launching and web-provider.
[SCMRequest] N/A

Change-Id: I030696cd2fe4d747c4b2d3aaddcbd86414f6c1ff

10 years agoChange "Reset" behavior to change uri on current Webview
Jihoon Chung [Wed, 23 Oct 2013 03:05:21 +0000 (12:05 +0900)]
Change "Reset" behavior to change uri on current Webview

* "Reset" event occurs in the following two cases:
  - On launching Wgt
  - On Receiving "app-control" while wgt is running

[Issue#]   LINUXWRT-1055
[Problem]  When web application receives "app-control" event, page is destroyed w/o user notice.
           If a user is middle of writing a message or email, there is no chance to store them
           before destroying Webview.
[Cause]    The current WRT simply removes and re-creates webview upon receiving "app-control".
[Solution] Change "Reset" behavior to dispatch "onbeforeunload"
             - Change remove all webview code to re-use current webview and only replace uri.

[Remarks] Further explanations:
    - There is "onunload" event which is dispatched before page is destroyed.
      However long term callback doesn't guarantee to finish.
      Usually, "onbeforeunload" event is used to do this kind of job.
      Webkit, however, only dispatch "onbeforeunload" event only if uri is changed.
    - This is main cause that Tizen platform doesn't dispatch "onbeforeunload".

[Verification] Install attached application.
    Write some text to editor area and select "LanuchAppcontrol to me after 5 seconds".
    Select "Home key" to move back-ground.
    After receive reset event, popup should show.
    "Leave" & "Stay" should work to below.
    "Leave" : written text should reset to initialize value.
    "Stay"  : written text should be kept.
[SCMRequest] N/A

Change-Id: Ie08d2f400ecede33e2d727cfb23692d03e9ec18c

10 years agoFix Mismatched free (iri_t)
Jihoon Chung [Fri, 25 Oct 2013 00:04:12 +0000 (09:04 +0900)]
Fix Mismatched free (iri_t)

[Issue#]   P131022-02660
[Problem]  As result of valgrind, memory mismatched free is occurred.
[Cause]    Iri data structure, "iri_t", should be alloc by iri_parse and released by iri_destory.
           Some part doesn't use "iri_destory" when release "iri_t".
[Solution] Change use case from DPL::ScropedPtr to unique_ptr with deleter(iri_destory).

[Remarks] Error log
  ==9281== Mismatched free() / delete / delete []
  ==9281== at 0x48334E4: operator delete(void*) (vg_replace_malloc.c:502)
  ==9281== by 0xA6B4CBF: InjectedBundleURIHandling::processURIForPlugin(char co nst*) (in /usr/lib/libwrt-injected-bundle.so.0.8.286)
  ==9281== Address 0xe25f8a8 is 0 bytes inside a block of size 60 alloc'd
  ==9281== at 0x48329F4: calloc (vg_replace_malloc.c:618)
  ==9281== by 0x6D909A5: iri_parse (in /usr/lib/libiri.so)

[Verification] Retest valgrind.
[SCMRequest] N/A

Change-Id: I31b34902bccb8f1740f3413e0dc6ab8723945c83

10 years agoAdd help popup to show path of menu remove "default setting"
Jihoon Chung [Sat, 5 Oct 2013 08:00:56 +0000 (17:00 +0900)]
Add help popup to show path of menu remove "default setting"

[Issue#]     H0100217240
[Problem]    If user decides request for W3C permission in web application,
             then it is hard to find how to reset that selection.
[Cause]      "Website settings", menu for reset of delete user permission, menu tree requires to find many depth.
[Solution]   Show help popup after user decides request on a popup.
             - Help popup only shows when user decides request with checked "Remember preference".
[Verification] Install attached application "Permission.wgt" (LINUXWRT-967)
               Launch application and select "Web Notification" or other W3C feature.
               Checked "Remember preference" and select "Yes"/"No"
[SCMRequest] N/A

Change-Id: I741ace0b9dfc941d14bee76c02f3e86744eefdcd

10 years ago[Release] wrt_0.8.290
sung-su.kim [Thu, 24 Oct 2013 10:36:56 +0000 (19:36 +0900)]
[Release] wrt_0.8.290

Merge branch 'master' into tizen_2.2

Change-Id: I2856d34c517fdec14e2b72ff00715daa3665335f

10 years ago[Release] wrt_0.8.290
sung-su.kim [Wed, 23 Oct 2013 00:09:26 +0000 (09:09 +0900)]
[Release] wrt_0.8.290

Change-Id: I83011fb975a342d2dab16c1b98f7e72e24f61ab8

10 years ago[CodeCovarage] Tests for wrt-launcher binary output
Tomasz Iwanek [Wed, 17 Jul 2013 09:18:26 +0000 (11:18 +0200)]
[CodeCovarage] Tests for wrt-launcher binary output

[Issue#]   LINUXWRT-639
[Problem]  Tests for program output to increase code covarage result (CC for ~100 lines)
[Cause]    There is no tests to cover some parts of code of and wrt-launcher
[Solution] There was some basic tests prepared for output of and wrt-launcher.

[SCMRequest] Depends on https://review.tizendev.org/#/c/81938/
[Verification] Build with tests.
    - Pre-condition:
      working installer
    - Run:
      $> wrt-tests-general --output=text --regexp='CommandLineParameters_'

Change-Id: Ia2188d9dc0f832c310df5879bb313367493496ec

10 years agoImplement new authentication popup
Jihoon Chung [Sun, 6 Oct 2013 08:24:10 +0000 (17:24 +0900)]
Implement new authentication popup

[Issue#]   LINUXWRT-975
[Problem]  "authentication popup" shows broken popup layout.
[Cause]    Current implementation uses old API and UX concept.
[Solution] Re-factor authentication popup
           - Replace "entry" usage to use "ea_editfield"
            : "ea_editfield" supports more features than "entry"
           - Set padding area to each sides(modify edc)
            : "elementary" doesn't add padding area by default.
           - Replace text to use STMS

[Verification]
    - Install attached test widget in LINUXWRT-975
    - Select "Authentication" button
[SCMRequest] N/A

Change-Id: I4a630f64becf36ceff3b0ac6ac2efb1f16d17060

10 years agoClean-up GlobalDAO
Jihoon Chung [Mon, 21 Oct 2013 13:31:17 +0000 (22:31 +0900)]
Clean-up GlobalDAO

[Issue#]   LINUXWRT-1056
[Problem]  GlobalDAO has unnecessary API.
[Cause]    N/A
[Solution] Remove unnecessary header include
           - "global_dao_read_only.h" and "global_dao.h" are used
              even there is no use case of GlobalDAO or GlobalDAOReadOnly.

[Verification] build repo
[SCMRequest] N/A

Change-Id: I2c4551a2e102ebb967698a66ba69d24c2bc568a2

10 years agoClean-up GlobalDAO (RoamingDataUsage)
Jihoon Chung [Mon, 21 Oct 2013 12:54:07 +0000 (21:54 +0900)]
Clean-up GlobalDAO (RoamingDataUsage)

[Issue#]   LINUXWRT-1032
[Problem]  GlobalDAO has unnecessary API.
[Cause]    N/A
[Solution] Remove "RoamingDataUsage" API
           - Current use cases are unnecessary.
           - This kind of setting should directly use platform setting.

[Verification] build repo
[SCMRequest] N/A

Change-Id: I44c0407cf1d7be74afcb3d6689ffaa8f38469ba4

10 years ago[Release] wrt_0.8.289
sung-su.kim [Mon, 21 Oct 2013 23:37:04 +0000 (08:37 +0900)]
[Release] wrt_0.8.289

Change-Id: I119f4ba49324064f5119aba2f102ab20cc6246ed

10 years agoFix prevent issue
sung-su.kim [Fri, 18 Oct 2013 08:19:39 +0000 (17:19 +0900)]
Fix prevent issue

[Issue#]   CID:20852
[Problem]  Untrusted value as argument
[Cause]    Casting unexpected value
[Solution] Check the passed value before use

[Verification] Build repository

Change-Id: I99659509b8995e1a8f77da83ea5eafe463128035

10 years ago[Release] wrt_0.8.288
sung-su.kim [Mon, 21 Oct 2013 10:45:53 +0000 (19:45 +0900)]
[Release] wrt_0.8.288

Merge branch 'master' into tizen_2.2

Change-Id: I5cb5ad9d70b91481a9ceae9e8a08f92870f0337b

10 years ago[Release] wrt_0.8.288
sung-su.kim [Sun, 20 Oct 2013 23:31:43 +0000 (08:31 +0900)]
[Release] wrt_0.8.288

Change-Id: I7db97925244264ce8412007fa9e22737f352a999

10 years agoClean-up GlobalDAO (HomeNetworkDataUsage)
Jihoon Chung [Thu, 17 Oct 2013 06:26:35 +0000 (15:26 +0900)]
Clean-up GlobalDAO (HomeNetworkDataUsage)

[Issue#]   LINUXWRT-1031
[Problem]  GlobalDAO has unnecessary API.
[Cause]    N/A
[Solution] Remove "HomeNetworkDataUsage" API
           - This kind of setting should directly use platform setting.
[Verification] build repo
[SCMRequest] N/A

Change-Id: I841faafed3fcc6ac7b7c4c45296006bb49a601f1

10 years agoClean-up GlobalDAO (WhiteURIList)
Jihoon Chung [Thu, 17 Oct 2013 04:45:47 +0000 (13:45 +0900)]
Clean-up GlobalDAO (WhiteURIList)

[Issue#]   LINUXWRT-1029
[Problem]  GlobalDAO has unnecessary API.
[Cause]    N/A
[Solution] Remove "WhiteURIList" API
           - "WhiteURIList" stores uri to allow using plugin even uri is external uri.(http, https)
           - Moreover, tizen plugin doesn't have plan to support tizen web api to external uri.
           - Current usage case is checking "WhiteURIList" before load plugin object to JS engine.
[Verification] Checking plugin object is available in external page
[SCMRequest] N/A

Change-Id: Ib35ec9a13babb31a50a9a8b8835d8ee8eebaee85

10 years agoAdd back-key exception during fullscreen by default video tag
Jihoon Chung [Wed, 16 Oct 2013 05:48:09 +0000 (14:48 +0900)]
Add back-key exception during fullscreen by default video tag

[Issue#]     LINUXWRT-1035
[Problem]    In case of fullscreen is enabled by default video tag, back-key works to exit fullscreen.
             However, "tizenhwkey" event also dispatch to application.
[Cause]      Missed to consider.
[Solution]   Move current implementation from wrt-client to view_logic for early return before dispatch "tizenhwkey" event.
[Verification] Install test application attached LINUXWRT-1035.
               Launch application -> change video to fullscreen.
               Select back-key -> Application not terminate
[SCMRequest] N/A

Change-Id: I4c8f510281216d95ca170db047f07aeb61b022ab

10 years agoReduce unnecessary resize
Jihoon Chung [Fri, 18 Oct 2013 00:43:54 +0000 (09:43 +0900)]
Reduce unnecessary resize

[Issue#]     N_SE-54888
[Problem]    Wrong touch position is passed to webkit.
             : Approximately 20~30 pixel is added to height position.
[Cause]      Webkit set view-port width and height when first resize callback is called.
             In problem case, resize callback is called with wrong width and height.
             As investigate, WRT too early set webkit to contents area of elementary before elementary finished resize.
[Solution]   Remove unnecessary resize behavior
             : Set default naviframe item style to "empty".
               As result of style set, one resize is removed (720, 1154 -> 720, 1780)
[Verification] Launch application and checking first resize callbak result.
[SCMRequest] N/A

Change-Id: I3e6399b6a238e76d23b508ef8384cedc4bf0fabd

10 years agoReduce unnecessary resize
Jihoon Chung [Fri, 18 Oct 2013 01:35:29 +0000 (10:35 +0900)]
Reduce unnecessary resize

[Issue#]     N_SE-54888
[Problem]    Wrong touch position is passed to webkit.
             : Approximately 20~30 pixel is added to height position.
[Cause]      Webkit set view-port width and height when first resize callback is called.
             In problem case, resize callback is called with wrong width and height.
             As investigate, WRT too early set webkit to contents area of elementary before elementary finished resize.
[Solution]   Remove unnecessary resize behavior
             : Remove unnecessary evas_object_show API call
               After call API, resize is occurred one more time.
[Verification] Launch application and checking first resize callbak result.
[SCMRequest] N/A

Change-Id: I2559db6337ce7feff376d7614b90b54c10a7fdf3

10 years agoFix prevent issue
sung-su.kim [Thu, 17 Oct 2013 12:33:43 +0000 (21:33 +0900)]
Fix prevent issue

[Issue#]   CID:21193
[Problem]  Use of untrusted string value
[Cause]    Return null value in getenv function
[Solution] If getenv return null value, set empty string

[Verification] Build repository

Change-Id: I91d797c15d49a331c8fa9baaf43fce798ae057ef

10 years ago[Release] wrt_0.8.287
sung-su.kim [Thu, 17 Oct 2013 08:24:17 +0000 (17:24 +0900)]
[Release] wrt_0.8.287

Change-Id: I61a004f582fd418f7f98561120c3349f18f4436b

10 years agofixed checking condition of decyprtion for preload and download.
Soyoung Kim [Tue, 15 Oct 2013 06:56:00 +0000 (15:56 +0900)]
fixed checking condition of decyprtion for preload and download.

[Issue#] N/A
[Problem] can't decrypt resource when launch encypted prealod app.
[Cause] there was wrong condition about checking preload or download.
[Solution]
Change checking condition to using package manager api.
(pkgmgrinfo_pkginfo_is_preload and pkgmgrinfo_pkginfo_is_update)
[SCMRequest] N/A

Change-Id: Icf4037160795c1ae5a69bf01f6313e3170b3b263

10 years agoClean-up duplicated SMACK rule files
Jihoon Chung [Mon, 14 Oct 2013 04:15:54 +0000 (13:15 +0900)]
Clean-up duplicated SMACK rule files

[Issue#]    LINUXWRT-950
[Problem]   "wrt_launchpad_daemon.rule" is existed two files in the repo.
            1. accesses.d/wrt_launchpad_daemon.rule -> /opt/etc/smack/accesses.d/
            2./wrt_launchpad_daemon.rule -> /etc/smack/accesses2.d/
[Cause]     Tizen RSA policy is install rule file to "accesses.d"
[Solution]  Remove unnecessary installing a rule file to "/etc/smack/accesses2.d/"
[Verification] Launch web application
[SCMRequest] Only applicable to Tizen RSA repository.

Change-Id: I66bba62cfd200783c1a60b50bc6db79803c648ae

10 years ago[Release] wrt_0.8.286
sung-su.kim [Tue, 15 Oct 2013 04:58:09 +0000 (13:58 +0900)]
[Release] wrt_0.8.286

Merge branch 'master' into tizen_2.2

Change-Id: Ief808492ce354819bffc5a2cf186f5123201dd89

10 years agoMerge "[Release] wrt_0.8.286"
HOSEON LEE [Tue, 15 Oct 2013 01:21:19 +0000 (01:21 +0000)]
Merge "[Release] wrt_0.8.286"

10 years ago[Release] wrt_0.8.286
sung-su.kim [Mon, 14 Oct 2013 23:18:57 +0000 (08:18 +0900)]
[Release] wrt_0.8.286

Change-Id: I089b8b7c1ac5b30eb81b01650e72597f4ffb289e

10 years agoReplace "dpl/unused.h" to "dpl/availability.h"
Jihoon Chung [Mon, 14 Oct 2013 01:14:01 +0000 (10:14 +0900)]
Replace "dpl/unused.h" to "dpl/availability.h"

[Issue#]     LINUXWRT-1015
[Problem]    To create common header for various macro, "dpl/availability.h" is added.
             Old macro usage case should replace to use new header.
[Cause]      N/A
[Solution]   DPL_UNUSED and DPL_UNUSED_PARAM macro move to "dpl/availability.h"
[Verification] Build package.
[SCMRequest] N/A

Change-Id: I7a59c0d72981ee46efcfac779d35802a84f5f356

10 years ago[Release] wrt_0.8.284
sung-su.kim [Fri, 11 Oct 2013 08:30:56 +0000 (17:30 +0900)]
[Release] wrt_0.8.284

Merge branch 'master' into tizen_2.2

Change-Id: I1039b7728d73ddaf31be35d32d74faf3a689c9de

10 years ago[Release] wrt_0.8.284
sung-su.kim [Wed, 9 Oct 2013 23:29:42 +0000 (08:29 +0900)]
[Release] wrt_0.8.284

Change-Id: I83f1dba7f838b40b29e0b139df13b96e04176fc8

10 years agoRevert "Revert "Add specific condition for back-key handle""
Jihoon Chung [Tue, 8 Oct 2013 11:52:36 +0000 (11:52 +0000)]
Revert "Revert "Add specific condition for back-key handle""

  * Note: ewk_view_text_selection_clear() API is now available in RSA webkit.

[Issue#]   P130829-05787
[Problem]  Long press on the text to enter text-selection mode.
           Back-key is working to history back or send tizenhwkey event to Application even current mode is text-selection mode.
[Cause]    Elementary is called back-key callback both webkit and wrt.
[Solution] WRT calls "ewk_view_text_selection_clear" before handle back-key.
           If return value is "EINA_TRUE", back-key is handled by webkit.
           As back-key event is handled by webkit, WRT doens't need to handle back-key.
           In case of return value is "EINA_FALSE", WRT should handle back-key.
           History back or dispatch tizenhwkey event to application.

[SCMRequest] N/A

Change-Id: I7d96d3b2ea38a42e4e8d2746f27137cfcf1bbc94

10 years agoFix Prevent issue
Tae-Jeong Lee [Tue, 8 Oct 2013 09:17:05 +0000 (18:17 +0900)]
Fix Prevent issue

[Issue#]   CID: 17523
[Problem]  Resource leak.
[Cause]    There was allocated memory resources that we intentionally keep it
           not to be released until its process terminates.
[Solution] Use atexit() to release resources properly.

Change-Id: I05658e633d9c7537731368a5e0ec27a76355bebe

10 years agoFix Prevent issue
Zbigniew Kostrzewa [Mon, 7 Oct 2013 12:15:03 +0000 (14:15 +0200)]
Fix Prevent issue

[Issue#]   CID: 33146
[Problem]  Unchecked return value
[Cause]    Return value from function is not checked
[Solution] Check return value

[Verification] Build repository

Change-Id: Id3c6c49239ed0d42a1762ae18e2bc07cb24678a9

10 years ago[Release] wrt_0.8.283
sung-su.kim [Tue, 8 Oct 2013 07:22:20 +0000 (16:22 +0900)]
[Release] wrt_0.8.283

Merge branch 'master' into tizen_2.2

Change-Id: Ia6fe490f65b163d05b6d09b67c93def33dfaeed8

10 years ago[Release] wrt_0.8.283
sung-su.kim [Tue, 8 Oct 2013 00:24:30 +0000 (09:24 +0900)]
[Release] wrt_0.8.283

Change-Id: I5e92464877fe8f54dcc9856ea2da3bdc41274abb

10 years agoAdd "Restart" systemd option
Jihoon Chung [Fri, 4 Oct 2013 01:52:47 +0000 (10:52 +0900)]
Add "Restart" systemd option

[Issue#]   LINUXWRT-1001
[Problem]  wrt_launchpad_daemon does not restart when daemon is killed.
[Cause]    Missing "Restart" option in the service file, while systemd supports automatic restart.
[Solution] Add "Restart" option to service file.

[Remarks] Reference - https://fedoraproject.org/wiki/User:Johannbg/QA/Systemd/Systemd.service
          - Restart=always
           : Configures whether the main service process shall be restarted when it exits.
             Takes one of "once", "restart-on-success" or "restart-always".
             If set to once (the default), the service will not be restarted when it exits.
             If set to restart-on-success, it will be restarted only when it exited cleanly
             (i.e. terminated with an exit code of 0).
             If set to restart-always, the service will be restarted regardless whether it exited
             cleanly or not, or got terminated abnormally by a signal.
          - RestartSec=0
           : Configures the time to sleep before restarting a service (as configured with Restart=).
             Takes a unit-less value in seconds, or a time span value such as "5min 20s".
             Defaults to 100ms.

[SCMRequest] Only applicable to Tizen RSA repository.

Change-Id: I1af7b34a63e7845f3fc575d5f0660a2e250327c8

10 years agoRemove "app2sd" build dependency
Jihoon Chung [Sat, 5 Oct 2013 06:36:32 +0000 (15:36 +0900)]
Remove "app2sd" build dependency

* app2sd library supports APIs to handle external storage

[Issue#]   LINUXWRT-998
[Problem]  "app2sd" package dependency is no longer necessary.
[Cause]    symlink'ing to external storage is managed by platform level now.
           For this reason, WRT does not need to use "app2sd" package.
[Solution] Deprecate "app2sd" usage
           - Remove "app2sd" dependency.
           - Remove "src/domain/prepare_external_storage.cpp/h" and usage

[Remarks]
- To launch apps installed in external storage, symlink'ing to external storage is mandatory.
- WRT used to create symlink during web app installation time to external storage feature,
  but this is no longer necessary.

[SCMRequest] N/A

Change-Id: Iab51f9cb7a6ab58b5bf0cb7ee2378cfaaac5ddb3

10 years ago[Release] wrt_0.8.282
sung-su.kim [Fri, 4 Oct 2013 00:34:50 +0000 (09:34 +0900)]
[Release] wrt_0.8.282

Change-Id: I4395414a9da0379208cf4e42207d9631a629975a

10 years agoFix app Id format in for all wrt test cases
Tomasz Iwanek [Thu, 3 Oct 2013 09:08:21 +0000 (11:08 +0200)]
Fix app Id format in for all wrt test cases

[Issue#]   LINUXWRT-912
[Problem]  Test cases missing Tizen app Id
[Cause]    N/A
[Solution] Run the script attached to Jira to fix app Id.
http://cam.sprc.samsung.pl/secure/attachment/44397/fix_application.py

[Verification] Build repository.

Change-Id: Ib3ef9a27c2bdbdc9ae31a62ed8164761f64d03a0

10 years agoAutomatically restart wrt_launchpad_daemon after install package
Jihoon Chung [Thu, 3 Oct 2013 02:42:40 +0000 (11:42 +0900)]
Automatically restart wrt_launchpad_daemon after install package

  * wrt_launchpad_daemon maintains three services:
    1. wrt_launchpad_daemon@app.service
    2. wrt_launchpad_daemon_1.socket
    3. wrt_launchpad_daemon_2.socket

[Issue#]   N/A
[Problem]  Fail to restart wrt_launchpad_daemon after install a new package,
           even though "wrt.spec" has restart command.
               - systemctl restart wrt_launchpad_daemon@app.service
[Cause]    Below preconditions are missed before restarting services.
           - "stop service" with dependency service
             (wrt_launchpad_daemon_1.socket wrt_launchpad_daemon_2.socket)
           - "daemon-reload" after installing a new service config file
           - "if" condition used wrong value.
               %post
               install ($1 == 1)
               upgrade ($1 == 2)
               uninstall (N/A) --> Only available %postun
[Solution] Fixed missed preconditions
       - "stop service" with dependency service
         (wrt_launchpad_daemon_1.socket wrt_launchpad_daemon_2.socket)
        : Add command to stop all services during running "%pre".
          Moreover, restart should do when wrt_launchpad_daemon is existed case.
          To verify condition, add condition to check "upgrade package" case.
          This change also applies to "%preun"
       - "daemon-reload" after install new service config file
        : The command for "daemon-reload" is existed in the "post". Keep current state.
          However next command is "restart service".
          As all services are stopped during running "%pre",
          it changes to "start" service only for daemon.(wrt_launchpad_daemon@app.service)
          Also add condition to run only "upgrade package" case.

[SCMRequest] Tizen RSA only

[Remarks] rpm reference http://fedoraproject.org/wiki/Packaging:ScriptletSnippets

Change-Id: I1559e6e94772e308e75cd41823998f5bec847892

10 years agoFix Prevent issue
Zbigniew Kostrzewa [Thu, 3 Oct 2013 05:20:42 +0000 (07:20 +0200)]
Fix Prevent issue

[Issue#]   CID: 33265
[Problem]  Resource leak.
[Cause]    Allocated memory is not released.
[Solution] Fix the code so that allocated memory is assigned to pointer
           from outer scope which is passed to the EVAS_CALLBACK_DEL callback
           (in which the memory is released).

[Verification]
    1. Build repository
    2. Run a test that will display pop-up from security origin.

Change-Id: Ic03284cb9b696e4d5aa8329d081700d2bd086381

10 years agoRegister a key callback to handle back key event with untrusted certificate confirm...
Jihoon Chung [Tue, 1 Oct 2013 14:40:38 +0000 (23:40 +0900)]
Register a key callback to handle back key event with untrusted certificate confirm popup

    - This applies to the permission request popup for untrusted certificate confirm

[Issue#]   N/A
[Problem]  A web page underneath pop-up moves to the previous page when user expects the pop-up closed.
[Cause]    The permission request pop-up did not handle the back-key callback.
[Solution] Register the key callback.

[SCMRequest] N/A

Change-Id: Iddee71ee6414a24326eeedd083601571e5726cc7

10 years agoEnhance createPopup() API to support key callback
Jihoon Chung [Wed, 2 Oct 2013 02:57:14 +0000 (11:57 +0900)]
Enhance createPopup() API to support key callback

[Issue#]   N/A
[Problem]  A web page underneath pop-up moves to the previous page when user expects the pop-up closed.
           This happens when a user select back-key when the permission request pop-up is on the screen.
[Cause]    Permission request pop-up does not handle the key callback.
           Moreover, the key event (which is not consumed) is passed onto the webview evas_object.
           As a result, the default behavior (i.e. dispatch tizenhwkey event) happens.
[Solution] Add key callback handler to popup evas_object.
           Destory popup and pass "deny" to webkit that waits permission request result,
           when Back-key event callback is called.

[SCMRequest] Needed by https://review.tizendev.org/gerrit/#/c/88381/

[Remarks] Implementation details
    * CertificateSupportUtil::createPopup extend an argument to receive key callback.
      (Evas_Smart_Cb keyCallback)
    * Add "EVAS_CALLBACK_DEL" callback to remove before popup is removed.
      This behavior will prevent crash.
      Sometimes ecore dispatch event which is in the queue even callback data is already released.

Change-Id: I48b09e85db36da9f9ca27a38e7a08ed27b29cbbc

10 years agoRegister a key callback to handle back key event with W3C permission popup
Jihoon Chung [Tue, 1 Oct 2013 13:47:43 +0000 (22:47 +0900)]
Register a key callback to handle back key event with W3C permission popup

    - This applies to the permission request popup for W3C Web Notification.

[Issue#]   N/A
[Problem]  A web page underneath pop-up moves to the previous page when user expects the pop-up closed.
[Cause]    The permission request pop-up did not handle the back-key callback.
[Solution] Register the key callback.

[SCMRequest] N/A

Change-Id: I9489658ebafe750a2d157d15c4d573ae7b51a147

10 years agoRegister a key callback to handle back key event with W3C permission popup
Jihoon Chung [Tue, 1 Oct 2013 14:14:34 +0000 (23:14 +0900)]
Register a key callback to handle back key event with W3C permission popup

    - This applies to the permission request popup for W3C Web Storage.

[Issue#]   N/A
[Problem]  A web page underneath pop-up moves to the previous page when user expects the pop-up closed.
[Cause]    The permission request pop-up did not handle the back-key callback.
[Solution] Register the key callback.

[SCMRequest] N/A

Change-Id: I0d14b6092678724f1462e8153754a7efe3ec5819

10 years agoFixed wrong argument usage for geolocation permission popup
Jihoon Chung [Tue, 1 Oct 2013 08:18:08 +0000 (17:18 +0900)]
Fixed wrong argument usage for geolocation permission popup

[Issue#]   N/A
[Problem]  Fail to set "allow"/"deny" even though user selects button
           on the permision request popup
[Cause]    Wrong argument passed to "SecurityOriginSupportUtil::getResult" API.
           - Wrong Usage : popup evas_object
           - Right Usage : button evas_object
[Solution] Change argument to correct evas_object for "button".

[SCMRequest] N/A

Change-Id: I6b02599837d5680747a9a2337cf3d6f29ef41c12

10 years agoProblem with encoding in WRT
Adam Banasiak [Tue, 17 Sep 2013 13:27:47 +0000 (15:27 +0200)]
Problem with encoding in WRT

[Issue#] WGL-427
[Problem] No validation of default encoding in WRT
[Cause] N/A
[Solution] Add encoding validation to WRT. Set default encoding to UTF-8
[Verification]
1. Build repository
2. Download (http://cam.sprc.samsung.pl/secure/attachment/42428/e7.wgt) and install e7.wgt
3. Launch the widget

Change-Id: I317ebec5bc37d62b41b778166469f6d153d045df

10 years ago[Release] wrt_0.8.281
sung-su.kim [Wed, 2 Oct 2013 04:20:02 +0000 (13:20 +0900)]
[Release] wrt_0.8.281

Merge branch 'master' into tizen_2.2

Change-Id: I559ff6f8826defa2fd02b8c328b18c7f1fe07e55

10 years ago[Release] wrt_0.8.281
sung-su.kim [Tue, 1 Oct 2013 23:37:30 +0000 (08:37 +0900)]
[Release] wrt_0.8.281

Change-Id: I6316278b896d9a274345634146c42febc61639ca

10 years agoFix build break in Profiling build type.
Zbigniew Kostrzewa [Tue, 1 Oct 2013 07:42:15 +0000 (09:42 +0200)]
Fix build break in Profiling build type.

[Issue#]   N/A
[Problem]  Build break in Profiling build type.
[Cause]    Profiling API not adjusted to C language (e.g. bool type).
[Solution] Fix build break.

[Verification] Build repository with following command:
    $ gbs build -A armv7l --define 'build_type Profiling'

Change-Id: I5a0338353607250a757ff45bd42d44c5dd363b66

10 years agoImplement flexible popup depend on text length
Jihoon Chung [Sat, 28 Sep 2013 05:19:01 +0000 (14:19 +0900)]
Implement flexible popup depend on text length

[Issue#]   P130927-03499
[Problem]  Layout of permission popup is broken
[Cause]    Current WRT doesn't set padding area to popup layout.
           Before it is working fine with default padding supported by elementary,
           the latest version has no padding area is supported.
[Solution] Change popup layout to use padding area.
           - Add padding(SPACER type) between contents and four sides of a popup.
           - Contents area(body text) removes minimum size. (Automatically set by elementary)
           Add scroller if text is overflown screen height.
           - Register "resize" callback to popup.
           - When callback is called, calculate screen height and popup height.
           - In case of popup height is over screen height, add scroller to popup.

[SCMRequest] N/A

Change-Id: Ic07a3209ebeebad0ac35bbab92aea1d5250b31f4

10 years ago[Release] wrt_0.8.280
sung-su.kim [Mon, 30 Sep 2013 08:59:52 +0000 (17:59 +0900)]
[Release] wrt_0.8.280

Change-Id: I64848e9ea7147bc468fda6f6cf1f0ca8d282be77

10 years agoUX change of check box usage in permission request popup
Jihoon Chung [Sat, 28 Sep 2013 04:26:21 +0000 (13:26 +0900)]
UX change of check box usage in permission request popup

[Issue#]   N/A
[Problem]  New UX concept is applied to check box in the permission request popup
[Cause]    N/A
[Solution] The relevant implementation is already done in the elementary library layer.
           - To use elemetary implementation, remove "elm,text" in the WRT.
           - After clean-up "elm,text", text will be attached to check box evas_object.

[Remarks]
    * Previous concept: toggle when user click check box area only.
    * New concept: toggle check box even though user selects text area beside check box.

[SCMRequest] N/A

Change-Id: I725a258375f2d937cee342fbaa0784711caad0c2

10 years agoFixed wrong part name usage
Jihoon Chung [Sat, 28 Sep 2013 07:31:17 +0000 (16:31 +0900)]
Fixed wrong part name usage

[Issue#]   N/A
[Problem]  Certificate confirm popup check wrong part name.
           It will be caused get wrong check box status.
[Cause]    Miss-typo.
[Solution] Change part name:
           "elm.swallow.end" -> "elm.swallow.checkbox"

[SCMRequest] N/A

Change-Id: I28cefd8df0655a1c4768e9c7cb9ff742fc2f29ce

10 years ago[Release] wrt_0.8.279
sung-su.kim [Mon, 30 Sep 2013 02:45:30 +0000 (11:45 +0900)]
[Release] wrt_0.8.279

Change-Id: I3cbae8668493f4369d3647ac30540bbb57c8320d

10 years agoUpdate package spec file for license
Zbigniew Kostrzewa [Fri, 27 Sep 2013 11:45:07 +0000 (13:45 +0200)]
Update package spec file for license

[Issue#]   LINUXWRT-927
[Problem]  Invalid/missing license file
[Cause]    N/A
[Solution] Update license file

[Verification]
    1. Build repository
    2. Install package on DUT
    3. Check whether license for this repository exists in
       /usr/share/license

Change-Id: If29463cb4b560e24f06a7b3cade7b02e31e67385

10 years agoUpdate package spec file for license
Zbigniew Kostrzewa [Fri, 27 Sep 2013 11:45:07 +0000 (13:45 +0200)]
Update package spec file for license

[Issue#]   LINUXWRT-927
[Problem]  Invalid/missing license file
[Cause]    N/A
[Solution] Update license file

[Verification]
    1. Build repository
    2. Install package on DUT
    3. Check whether license for this repository exists in
       /usr/share/license

Change-Id: I2b49fe2fd1b3090c28f4198ca8f6eb51dfe13b75

10 years agoRegister a key callback to handle back key event with W3C permisison popup
Jihoon Chung [Fri, 27 Sep 2013 13:57:25 +0000 (22:57 +0900)]
Register a key callback to handle back key event with W3C permisison popup

    - This applies to the permission request popup for W3C Geolocation API.

[Issue#]   P130927-03479
[Problem]  A web page underneath pop-up moves to the previous page when user expects the pop-up closed.
[Cause]    The permission request pop-up did not handle the back-key callback.
[Solution] Register the key callback.

[SCMRequest] Depends on https://review.tizendev.org/gerrit/#/c/91228/

Change-Id: Ib987a8b4e5795a434771d1e7ffe26eb0f8149c38

10 years agoRevert "Add specific condition for back-key handle"
Soo-Hyun Choi [Sat, 28 Sep 2013 06:13:19 +0000 (15:13 +0900)]
Revert "Add specific condition for back-key handle"

This reverts commit 7654c550d2d4636c2e0fe968bcd16af0c7951119.

[Remarks] Fix build break!
ewk_view_text_selection_clear() is not ready in RSA WebKit yet.

Change-Id: Ibb546f5e4e495a48a41f0d122d3fbeee044921b5

10 years agoEnhance createPopup() API to support key callback
Jihoon Chung [Fri, 27 Sep 2013 10:37:36 +0000 (19:37 +0900)]
Enhance createPopup() API to support key callback

[Issue#]   P130927-03479
[Problem]  A web page underneath pop-up moves to the previous page when user expects the pop-up closed.
           This happens when a user select back-key when the permission request pop-up is on the screen.
[Cause]    Permission request pop-up does not handle the key callback.
           Moreover, the key event (which is not consumed) is passed onto the webview evas_object.
           As a result, the default behavior (i.e. dispatch tizenhwkey event) happens.
[Solution] Add key callback handler to popup evas_object.
           Destory popup and pass "deny" to webkit that waits permission request result,
           when Back-key event callback is called.

[SCMRequest] Needed by https://tizendev.org/gerrit/#/c/91230/

[Remarks] Implementation details
    * SecurityOriginSupportUtil::createPopup extend an argument to receive key callback.
      (Evas_Smart_Cb keyCallback)
    * Add "EVAS_CALLBACK_DEL" callback to remove before popup is removed.
      This behavior will prevent crash.
      Sometimes ecore dispatch event which is in the queue even callback data is already released.

Change-Id: I4aeaf6ee4e2a9219ec3fd27c886673a2ba88a452

10 years agoDrop root permission when launching apps in command line
Jihoon Chung [Thu, 26 Sep 2013 04:57:32 +0000 (13:57 +0900)]
Drop root permission when launching apps in command line

- Launching apps in command line is useful to investigate issue with printf or other tools.

[Issue#]   N/A
[Problem]  Indicator does not show correctly when launched via command line.
[Cause]    Caused by various reasons - e.g., DAC and SMACK.
           * When applications are run with "root" permission,
             some of the platform feature (DAC, SMACK, etc) will fail to initialize.
           * Indicator issue is one of the issues which will occurr
             when web application is running on the "root" permission.
[Solution] Drop root permission
           * To support normal operations when launched by command line,
             web app needs to drop "root" permission before doing something.

[Remarks] Implementation details
    * Drop "root" permission should be done before touching  platform resource.
    * Current implementation point is too early, before attaching database, to access widget dao.
    * To resolve this, using ail to get various information to use privilege API.

Change-Id: I4c3014277da924cff590a80cb01c411655418a05

10 years ago[Release] wrt_0.8.278
sung-su.kim [Fri, 27 Sep 2013 02:36:18 +0000 (11:36 +0900)]
[Release] wrt_0.8.278

Change-Id: Id2f82312ac1fb2612829fc8ee5cf10760be901ef

10 years ago[Release] wrt_0.8.277
sung-su.kim [Fri, 27 Sep 2013 00:40:03 +0000 (09:40 +0900)]
[Release] wrt_0.8.277

Merge branch 'master' into tizen_2.2

Conflicts:
packaging/wrt.spec
src/view/common/scheme_action_map.cpp
src/view/common/view_logic_certificate_support.cpp
src/view/common/view_logic_security_origin_support.cpp
src/view/webkit/injected-bundle/wrt-injected-bundle.cpp
src/view/webkit/view_logic_user_agent_support.cpp
src/view/webkit/view_logic_web_notification_support.cpp
src/wrt-client/window_data.cpp
src/wrt-client/wrt-client.cpp
src/wrt-launchpad-daemon/src/process_pool.c

Change-Id: I60bff766ac80de050396fed0c8e52cafe4e83e86

10 years agoAdd specific condition for back-key handle
Jihoon Chung [Thu, 26 Sep 2013 10:35:30 +0000 (19:35 +0900)]
Add specific condition for back-key handle

[Issue#]     P130829-05787
[Problem]    Long press on the text to enter text-selection mode.
             Back-key is working to history back or send tizenhwkey event to Application even current mode is text-selection mode.
[Cause]      Elementary is called back-key callback both webkit and wrt.
[Solution]   WRT calls "ewk_view_text_selection_clear" before handle back-key.
             If return value is "EINA_TRUE", back-key is handled by webkit.
             As back-key event is handled by webkit, WRT doens't need to handle back-key.
             In case of return value is "EINA_FALSE", WRT should handle back-key.
             History back or dispatch tizenhwkey event to application.
[SCMRequest] N/A

Change-Id: I3ecea8ae5c3aaec71fdd07b86b6df49e70dae500

10 years ago[Release] wrt_0.8.277
sung-su.kim [Mon, 23 Sep 2013 11:44:07 +0000 (20:44 +0900)]
[Release] wrt_0.8.277

Change-Id: I9d14358e169a825c67b8f26bcd57fa7e39844485

10 years agoApp-control sub-mode disable
Tae-Jeong Lee [Mon, 16 Sep 2013 08:49:10 +0000 (17:49 +0900)]
App-control sub-mode disable

[Issue#]   P130905-02637
[Problem]  App-control sub-mode operation on webapp is unstable.
[Cause]    App-control webapi was not ready to support sum-mode.
[Solution] So, we have decided to disable sub-mode support til the architecture is arranged for sub-mode.

Change-Id: I0bc8184cdb3e72b2b2b5a5783b30454ba71e62ca

10 years agoFix Prevent issue
Karol Pawlowski [Mon, 23 Sep 2013 07:01:08 +0000 (09:01 +0200)]
Fix Prevent issue

[Issue#]   CID: 15851
[Problem]  Static analysis fails
[Cause]    N/A
[Solution] Refactored proces_pool_fd_handler method

[Verification] Build wrt repository.
Launch widget with wrt-client -l and wrt-launcher -s

Change-Id: Ib354c50a6734ef90fe6c0e0c40dad1a8c2b6b352

10 years agoFix Prevent issue
Karol Pawlowski [Mon, 23 Sep 2013 06:14:35 +0000 (08:14 +0200)]
Fix Prevent issue

[Issue#]   CID: 13633
[Problem]  Static analysis fails
[Cause]    N/A
[Solution] Refactored error__refuse_dummy_process method

[Verification] Build wrt repository.
Launch widget with wrt-client -l and wrt-launcher -s

Change-Id: I13445890810f98c372488aae0e62b97920f3d94b

10 years ago[Release] wrt_0.8.276
sung-su.kim [Mon, 23 Sep 2013 00:00:04 +0000 (09:00 +0900)]
[Release] wrt_0.8.276

Change-Id: I242ed6a685abd539187cdabc31827b0810e291ec

10 years agoFix build warning
Soo-Hyun Choi [Sat, 21 Sep 2013 07:57:22 +0000 (16:57 +0900)]
Fix build warning

* warning: unused parameter

[Issue#]   N/A
[Problem]  Build warning
[Cause]    Unused parameter
[Solution] Make use of DPL_UNUSED_PARAM()

Change-Id: I9269bf5f182b2cd0d42024b3f2e3d29f68976e17

10 years agoFix building the package with GCC-4.8
Grzegorz Rynkowski [Fri, 20 Sep 2013 08:56:28 +0000 (10:56 +0200)]
Fix building the package with GCC-4.8

[Problem]      The package cannot be built with gcc-4.8.
[Cause]        Missing #include statements.
[Solution]     Add the missing #include statements.
[Verification] Build package both with current (GCC-4.5) and (GCC-4.8)
               version of compiler.
[SCMRequest]   N/A

Change-Id: Ie6c62621ab29fabd5ededfde2d3b658f17622953

10 years agoReplace a deprecated libprivilege-control API
Soo-Hyun Choi [Tue, 17 Sep 2013 06:54:34 +0000 (15:54 +0900)]
Replace a deprecated libprivilege-control API

    set_app_privilege() -> perm_app_set_privilege()

[Issue#]   N/A
[Problem]  set_app_privilege() will be deprecated.
[Cause]    API updates on libprivilege-control.
[Solution] Replaced the deprecated API.

10 years agoFix for certification support popup.
Tae-Jeong Lee [Tue, 17 Sep 2013 07:17:53 +0000 (16:17 +0900)]
Fix for certification support popup.

[Issue#] N/A
[Problem] A crash occurs when drawing certificate support check popup.
[Cause] The ui popup has been created base on 'ewk_view' obejct.
[Solution] Fixed to creating popup based on window object by getParentWindow() api.

Change-Id: I917ecf5d735fc71c269695b5bb43c3998fc8d039

10 years agoFix Prevent issue
Zbigniew Kostrzewa [Mon, 16 Sep 2013 07:56:26 +0000 (09:56 +0200)]
Fix Prevent issue

[Issue#]   CID: 31582
[Problem]  Resource leak
[Cause]    Invalid condition
[Solution] Fix condition

[Verification] Build repository

Change-Id: I4d22559cc127a3e2380f072fb773c8830812cc48

10 years agoPrevent issue fix
Zbigniew Kostrzewa [Mon, 16 Sep 2013 06:05:01 +0000 (08:05 +0200)]
Prevent issue fix

[Issue#]   CID: 32418
[Problem]  Unused variable
[Cause]    Variable defined but not used
[Solution] Remove unused variable

[Verification] Build repository

Change-Id: I04df3df3cefa76b6798be37ed85bfc411e5b2acc

10 years ago[Release] wrt_0.8.275
Hoseon LEE [Sat, 14 Sep 2013 08:02:20 +0000 (17:02 +0900)]
[Release] wrt_0.8.275

Change-Id: Iea4ed4ce9f415cceebdb4f69538315017483bd98

10 years agoThe unnecessary condition is removed in VibrationSupport
Hoseon LEE [Sat, 14 Sep 2013 06:52:34 +0000 (15:52 +0900)]
The unnecessary condition is removed in VibrationSupport

[Issue#] P130911-02986
[Problem] web-provider crash by assert code
[Cause] The destructor of VibrationSupport has unnecessary condition
        Sometimes m_initialized is set to false. But the destructor always check that it is true
[Solution] The unnecessary condition is removed

Change-Id: I149be5073efa750810bd08cc3aa7c72b534f1963

10 years ago[Release] wrt_0.8.274
Hoseon LEE [Sat, 14 Sep 2013 06:25:35 +0000 (15:25 +0900)]
[Release] wrt_0.8.274

Change-Id: I0ffcc72a4803409a74e1c56d6441255ba4dc2ba7

10 years agoCatch DatabaseError while getting widget list in wrt-launcher
Karol Pawlowski [Fri, 13 Sep 2013 12:13:21 +0000 (14:13 +0200)]
Catch DatabaseError while getting widget list in wrt-launcher

[Issue#]   N_SE-51978
[Problem]  wrt-launcher has closed unexpectedly
[Cause]    The reason may be some uncaught exception
[Solution] Try Catch block added

Change-Id: Id8855b4637c2c5f507b3928ccab4686d7c955504

10 years ago[Release] wrt_0.8.273
sung-su.kim [Fri, 13 Sep 2013 07:27:25 +0000 (16:27 +0900)]
[Release] wrt_0.8.273

Change-Id: I71fe5aca5a740131de0e6276a5c94ca4fd5d2024

10 years agoTemporary fix for asking geolocation permission popup crash.
Tae-Jeong Lee [Fri, 13 Sep 2013 05:22:01 +0000 (14:22 +0900)]
Temporary fix for asking geolocation permission popup crash.

[Issue#] N/A
[Problem] A crash occurs when webkit ask geolocation permission to wrt.
[Cause] The ui popup has been created base on 'ewk_view' obejct.
[Solution] Fixed to creating popup based on window object by getParentWindow() api.

Change-Id: I62fa67da6de5d07cba52f6162290e3ff9af9dcd0

10 years ago[Release] wrt_0.8.271
Tae-Jeong Lee [Mon, 9 Sep 2013 02:58:37 +0000 (11:58 +0900)]
[Release] wrt_0.8.271

Change-Id: I1008134af02cf5de976ad95dc58c2655af379baf

10 years ago[Release] wrt_0.8.271
Tae-Jeong Lee [Mon, 9 Sep 2013 02:50:55 +0000 (11:50 +0900)]
[Release] wrt_0.8.271

Change-Id: I258999cad6edf209d4f50974fa24376a3a91c523

10 years agoRevert about inserting application info to user agent.
Tae-Jeong Lee [Mon, 9 Sep 2013 02:21:11 +0000 (11:21 +0900)]
Revert about inserting application info to user agent.

[Issue#] N/A
[Problem] New concept of user agent causes some unexpected problem.
[Cause] N/A
[Solution] So, it reverted to original type.

Change-Id: I0c3dd12c2372b0c50129dcb427fa806d5e0dc6d8

10 years ago[Release] wrt_0.8.270
Tae-Jeong Lee [Fri, 6 Sep 2013 15:34:53 +0000 (00:34 +0900)]
[Release] wrt_0.8.270

Change-Id: I658031fa288cafb4de102d8a133abe42aa06994d