platform/framework/web/wrt.git
10 years agoPTREL-135: Fix build issues caused by using unavailable functions 66/11166/3 accepted/tizen/20131022.233816 accepted/tizen/20131023.043427 submit/tizen/20131022.215230
Rusty Lynch [Mon, 21 Oct 2013 22:08:39 +0000 (15:08 -0700)]
PTREL-135: Fix build issues caused by using unavailable functions

The sync of code from 2.2 has included some wrong assumptions about
a few methods in elementary and webkit-efl.  This patch removes those
calls to fix the build with the expectation that once the associated
functionality has landed in elementary and webkit-efl that this patch
can be removed.

Change-Id: Ic433c5a6888eafb772d5dd317339eb00352a3646
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
10 years agoFix build issues for wayland based targets 65/11165/1
Rusty Lynch [Mon, 21 Oct 2013 22:06:59 +0000 (15:06 -0700)]
Fix build issues for wayland based targets

Change-Id: Ie04cb58fcdac2c68c9e72df108c8041aed42f348
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
10 years agoAdd BuildRequires for app2sd 63/11163/1
Rusty Lynch [Mon, 21 Oct 2013 21:06:52 +0000 (14:06 -0700)]
Add BuildRequires for app2sd

This package is explicitly required in src/CMakeList.txt but not
explicitly called out in the spec

Change-Id: I203657205f7f043513ab07dbd6aab9b4258e3518
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
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 accepted/tizen/20131014.132032 accepted/tizen/20131014.170452 accepted/tizen/20131014.174016 submit/tizen/20131014.115438
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 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

Conflicts:
packaging/wrt.spec

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 [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 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 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 agoFixing Build error 46/10746/1 accepted/tizen/20131011.111305 accepted/tizen/20131011.205355 accepted/tizen/20131011.211557 submit/tizen/20131011.110626
Hoseon LEE [Thu, 10 Oct 2013 12:24:28 +0000 (21:24 +0900)]
Fixing Build error

The conflict resolving has some missing for 6f29260d365e5d81caab020c1430d61e7ab40b51.
Adding conflict resolving for fixing build error.

Change-Id: Ibb270807e4887075e9a7b70b40e409e7da0d12da

10 years ago[Release] wrt_0.8.277 accepted/tizen/20131002.083908 accepted/tizen/20131002.170017 submit/tizen/20131002.075134
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

Conflicts:
packaging/wrt.spec

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 agoMerge branch working into tizen
Hoseon LEE [Sun, 29 Sep 2013 07:11:47 +0000 (16:11 +0900)]
Merge branch working into tizen

Conflicts:
CMakeLists.txt
packaging/wrt.spec
src/view/common/application_launcher.cpp
src/view/common/scheme_action_map_data.h
src/view/webkit/ewk_context_manager.cpp
src/view/webkit/injected-bundle/CMakeLists.txt
src/view/webkit/injected-bundle/wrt-injected-bundle.cpp
src/view/webkit/view_logic_service_support.cpp
src/wrt-client/window_data.cpp
src/wrt-client/wrt-client.cpp
src/wrt-client/wrt-client.h
src/wrt-launcher/wrt-launcher.cpp
src/wrt-launchpad-daemon/legacy/preload_list_wrt.txt

Change-Id: I34297e3a0e893eb64f0b62a776aa21f8b51ed930

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.270
Tae-Jeong Lee [Fri, 6 Sep 2013 15:34:53 +0000 (00:34 +0900)]
[Release] wrt_0.8.270

Change-Id: I658031fa288cafb4de102d8a133abe42aa06994d

10 years ago[Release] wrt_0.8.268
sung-su.kim [Wed, 4 Sep 2013 10:53:13 +0000 (19:53 +0900)]
[Release] wrt_0.8.268

Change-Id: I9b1a1df599061c4d6fc3664de5092a1e642b3bc8

10 years ago[Release] wrt_0.8.264
sung-su.kim [Wed, 21 Aug 2013 02:19:15 +0000 (11:19 +0900)]
[Release] wrt_0.8.264

Change-Id: I8e69503197665a1eb5b7d51fea9df99929cc2347

10 years ago[Release] wrt_0.8.260
sung-su.kim [Wed, 14 Aug 2013 00:10:27 +0000 (09:10 +0900)]
[Release] wrt_0.8.260

Change-Id: If485ec86da43f9a52d5207fe8c48d7bbe6c4b6de

10 years ago[Release] wrt_0.8.257
sung-su.kim [Thu, 8 Aug 2013 07:54:06 +0000 (16:54 +0900)]
[Release] wrt_0.8.257

Change-Id: Ie1af6747c6a39ecbdee26f0b2f5b64c88b024659

10 years agoAdd tizen scheme handler
Jihoon Chung [Wed, 31 Jul 2013 03:04:35 +0000 (12:04 +0900)]
Add tizen scheme handler

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add tizen scheme handler in the IPC callback
"tizen://exit", "tizen://hide"
No longer used title changed callback for IPC between UI process and tizen plugin
[SCMRequest] must be imported with wrt-plugins-common

Change-Id: I9d17a6963d7907d76b1193247a311e5c9b621fcc

10 years ago[Release] wrt_0.8.251
sung-su.kim [Fri, 26 Jul 2013 01:53:50 +0000 (10:53 +0900)]
[Release] wrt_0.8.251

Change-Id: I539642f74159813695092410932a13f809b91db4

10 years ago[Release] wrt_0.8.240.1
sung-su.kim [Tue, 16 Jul 2013 11:51:37 +0000 (20:51 +0900)]
[Release] wrt_0.8.240.1

Change-Id: I842db2910f944d81b5c8fb3a448a1816fad72f5d

10 years ago[Release] wrt_0.8.240
sung-su.kim [Mon, 15 Jul 2013 13:02:24 +0000 (22:02 +0900)]
[Release] wrt_0.8.240

Change-Id: I89b96673d21c4c95091af57fe02b097d07fd09f9

10 years ago[Release] wrt_0.8.238
sung-su.kim [Fri, 12 Jul 2013 04:17:59 +0000 (13:17 +0900)]
[Release] wrt_0.8.238

Change-Id: I8874d58030cb892e4632cd6669690c174bc9f3a8

10 years ago[Release] wrt_0.8.237
Jihoon Chung [Wed, 10 Jul 2013 12:36:40 +0000 (21:36 +0900)]
[Release] wrt_0.8.237

Change-Id: Ie338ec8661bf798daec5705da4207d0fc9e52162

10 years ago[Release] wrt_0.8.235
Jihoon Chung [Tue, 9 Jul 2013 13:41:21 +0000 (22:41 +0900)]
[Release] wrt_0.8.235

Change-Id: I2772ea94902f10452eb2e5945f01fd205ac57ee8

10 years ago[Release] wrt_0.8.233
sung-su.kim [Wed, 3 Jul 2013 11:15:22 +0000 (20:15 +0900)]
[Release] wrt_0.8.233

Change-Id: Id2878f6e9abc183a0f1e173eb4de38252926cb22

10 years ago[Release] wrt_0.8.232
sung-su.kim [Tue, 2 Jul 2013 11:14:08 +0000 (20:14 +0900)]
[Release] wrt_0.8.232

Change-Id: Ie34835289738b1f2362c78342563cb50450ab400

10 years agoFixed window unshowed issue
Jihoon Chung [Sun, 30 Jun 2013 11:32:45 +0000 (20:32 +0900)]
Fixed window unshowed issue

[Issue#] N_SE-44053, N_SE-43973
[Problem] After enable process pool, window isn't showed
[Cause] x server doesn't prepared to show application x window
[Solution] Call x window show one more time after set webview
[SCMRequest] N/A

Change-Id: Ifb8d83649f976a74c90c057965312cb0d5652946

10 years ago[Release] wrt_0.8.231
Jihoon Chung [Sat, 29 Jun 2013 13:16:01 +0000 (22:16 +0900)]
[Release] wrt_0.8.231

Change-Id: Ifdc6f2bb29158a47ce323b09aa00227285296ba7

10 years ago[Release] wrt_0.8.230
Jihoon Chung [Sat, 29 Jun 2013 07:42:28 +0000 (16:42 +0900)]
[Release] wrt_0.8.230

Change-Id: Ief5e568c5d4fdd4125360f54f5642537c2c62588

10 years ago[Release] wrt_0.8.229
Taejeong Lee [Tue, 18 Jun 2013 09:20:17 +0000 (18:20 +0900)]
[Release] wrt_0.8.229

Change-Id: I78fcaa3a6bc537777e1f3888b32fd393cbfa27c5

10 years ago[Release] wrt_0.8.227
Zbigniew Kostrzewa [Fri, 14 Jun 2013 11:32:58 +0000 (13:32 +0200)]
[Release] wrt_0.8.227

Change-Id: Ibb6e97d27396cdf2120c915629705f299d4e70cd

10 years ago[Release] wrt_0.8.226
Jihoon Chung [Mon, 24 Jun 2013 04:45:50 +0000 (13:45 +0900)]
[Release] wrt_0.8.226

Change-Id: I2f302fb7b02d5d6d62131d9db74fa2561f553a49

10 years ago[Release] wrt_0.8.225
Jihoon Chung [Sat, 22 Jun 2013 12:13:16 +0000 (21:13 +0900)]
[Release] wrt_0.8.225

Change-Id: Ie331d03b0d526c24f43f5cebf2c132c7675f8fe5

10 years agoRevert "Build break fix"
Jihoon Chung [Thu, 13 Jun 2013 08:05:43 +0000 (08:05 +0000)]
Revert "Build break fix"

This reverts commit 3289bb084e10603ef98dfc135779957a21dd1e10

Change-Id: I3b921aff621e26b2fffc5dac0a23dbdef03457c7

10 years agoRevert "Replace download manager define"
Jihoon Chung [Tue, 11 Jun 2013 07:20:46 +0000 (16:20 +0900)]
Revert "Replace download manager define"

This reverts commit 286b71cd274ffa7b762c65a1d7e521a246ec0938.

10 years agoReplace download manager define
Jihoon Chung [Mon, 22 Apr 2013 12:49:38 +0000 (21:49 +0900)]
Replace download manager define

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Replace SERVICE_OPERATION_DOWNLOAD to DOWNLOAD_SERVICE_OPERATION
[SCMRequest] N/A

Change-Id: Ic4ed1e10f246d630a67da5ffab65554a56d5b5bf

10 years ago[Release] wrt_0.8.215
Jihoon Chung [Fri, 7 Jun 2013 14:34:09 +0000 (23:34 +0900)]
[Release] wrt_0.8.215

Change-Id: I0b85572f6e8362d0494ef1512172e16e578600d5

10 years ago[Release] wrt_0.8.213
Jihoon Chung [Thu, 6 Jun 2013 11:16:47 +0000 (20:16 +0900)]
[Release] wrt_0.8.213

Change-Id: Ia9819d419d389f7f22cb30570790948a8507fd10

10 years agoFix build by removing refs to nonexisting youtube implementation 45/8545/2 accepted/tizen/ivi/genivi tizen_ivi_genivi accepted/tizen/20130912.001229 accepted/tizen/20130912.001236 accepted/tizen/20130912.001237 accepted/tizen/20130912.015200 accepted/tizen/ivi/genivi/20140131.064708 ivi_oct_m2 submit/tizen/20130912.000835 submit/tizen_ivi_genivi/20140131.061725
Rusty Lynch [Thu, 22 Aug 2013 22:19:48 +0000 (15:19 -0700)]
Fix build by removing refs to nonexisting youtube implementation

10 years agoUpdate changelog 07/7707/1 accepted/tizen/20130808.175731 submit/tizen/20130801.173101 submit/tizen/20130808.123911
Rusty Lynch [Thu, 1 Aug 2013 17:29:36 +0000 (10:29 -0700)]
Update changelog

Change-Id: Id2ecd3e698d60c514f3e912fdb0b7cf8c7e21515

10 years agoAdd gles dependency since wrt-client needs it when wrt-client is built with ewebkit2 98/5998/3
Wang Quanxian [Wed, 24 Jul 2013 02:20:59 +0000 (10:20 +0800)]
Add gles dependency since wrt-client needs it when wrt-client is built with ewebkit2

Bug Fix TDIST-277. https://bugs.tizen.org/jira/browse/TDIST-277

Signed-Off-By Quanxian Wang <quanxian.wang@intel.com>

10 years agoAdd build Option for multi-user support 42/6042/2
Baptiste DURAND [Thu, 25 Jul 2013 09:44:36 +0000 (11:44 +0200)]
Add build Option for multi-user support

Change-Id: I87e7bb02948c1b59f5ce9a2bea7c8870fd6b5380
Signed-off-by: Baptiste DURAND <baptiste.durand@eurogiciel.fr>
10 years agoRemove display system specific environment 52/5752/3 accepted/tizen/20130716.235610 submit/tizen/20130716.222709
Rusty Lynch [Mon, 15 Jul 2013 23:03:31 +0000 (16:03 -0700)]
Remove display system specific environment

We need the prelaunch daemon to run in both X and wayland environments,
so directly exporting DISPLAY or ELM_ENGINE in the service file will
not work.  Instead the service file will use the EnvironmentFile mechanism
to load a snippet (if the file exists).

Each vertical can create a /etc/sysconfig/wrt file containing key/value
pairs that needed for the specific environment.  This could be done in the
post section of a ks file or any other mechanism.Z

Change-Id: I8e14233595c6e992b718ae9dfa14077a026c657c

10 years agoRemove display system specific environment 52/5752/2 submit/tizen/20130715.233022 submit/tizen/20130716.162541
Rusty Lynch [Mon, 15 Jul 2013 23:03:31 +0000 (16:03 -0700)]
Remove display system specific environment

We need the prelaunch daemon to run in both X and wayland environments,
so directly exporting DISPLAY or ELM_ENGINE in the service file will
not work.  Instead the service file will use the EnvironmentFile mechanism
to load a snippet (if the file exists).

Each vertical can create a /etc/sysconfig/wrt file containing key/value
pairs that needed for the specific environment.  This could be done in the
post section of a ks file or any other mechanism.Z

Change-Id: I8e14233595c6e992b718ae9dfa14077a026c657c

10 years ago Fix memory leak 72/5572/1
Baptiste DURAND [Tue, 9 Jul 2013 11:35:16 +0000 (13:35 +0200)]
 Fix memory leak

ri_t is a complex structure.
It should be freed by call iri_destroy.
Cast it to a scopedPtr is forbiden because that call a delete function not iri_destroy

10 years agoUpdate changelog 57/5557/1 accepted/tizen/20130708.234009 accepted/tizen/20130710.221131 submit/tizen/20130708.201445 submit/tizen/20130710.125322
Rusty Lynch [Mon, 8 Jul 2013 20:13:51 +0000 (13:13 -0700)]
Update changelog

Change-Id: If2674c75c9ed3edb2bc0baf3997f47cb85abcc4e

10 years agoRefactor spec handling of decrypt support 56/5556/1
Rusty Lynch [Mon, 8 Jul 2013 20:02:29 +0000 (13:02 -0700)]
Refactor spec handling of decrypt support

Change-Id: Ia1ce892e6093bc03e18a72e9ce83bb4ad06fd856

10 years agoReturn an error when we try to load an encrypted ressource if DECRYPT build Option...
Baptiste DURAND [Fri, 5 Jul 2013 09:56:16 +0000 (11:56 +0200)]
Return an error when we try to load an encrypted ressource if DECRYPT build Option is disabled.

10 years agoFix build compatibility for x64 arch 53/5553/1
Baptiste DURAND [Fri, 5 Jul 2013 09:49:44 +0000 (11:49 +0200)]
Fix build compatibility for x64 arch

Remove FPIE gcc option to avoid relocation R_X86_64_PC32 error during build.

Change-Id: I1b4012fbb55761d7c0395c7ff772b58b01b356c4

10 years agoresetting manifest requested domain to floor 51/4551/1
Alexandru Cornea [Fri, 28 Jun 2013 16:25:44 +0000 (19:25 +0300)]
resetting manifest requested domain to floor

10 years agoExplicitly set EGL_PLATFORM when using wayland 44/4344/1 accepted/tizen/20130627.212329 submit/tizen/20130627.212436
Rusty Lynch [Thu, 27 Jun 2013 21:23:21 +0000 (14:23 -0700)]
Explicitly set EGL_PLATFORM when using wayland

Change-Id: Ib706600f802386234ad7e682b37571bfad65089b

10 years agoUpdate changelog 33/4233/1 accepted/tizen/20130625.003904 submit/tizen/20130624.231020
Rusty Lynch [Mon, 24 Jun 2013 23:09:21 +0000 (16:09 -0700)]
Update changelog

10 years agoAdd build config support for X11 31/4231/1
Rusty Lynch [Tue, 18 Jun 2013 02:17:04 +0000 (19:17 -0700)]
Add build config support for X11

10 years agoAdd build config for decrypt support 30/4230/1
Rusty Lynch [Tue, 18 Jun 2013 02:09:48 +0000 (19:09 -0700)]
Add build config for decrypt support

10 years agoUpdate Changelog 75/3775/1 accepted/tizen/20130611.152517 submit/tizen/20130611.142929
Baptiste DURAND [Thu, 30 May 2013 14:24:35 +0000 (16:24 +0200)]
Update Changelog

10 years agoFix compatibility for x64 arch 74/3774/1
Baptiste DURAND [Thu, 30 May 2013 14:23:09 +0000 (16:23 +0200)]
Fix compatibility for x64 arch

-> Fix hardcoded library path in the code
-> Fix hardcoded library path in a txt file preload_list_wrt.txt
-> Use %cmake macro
-> Fix library install directory
-> Fix pc file install directory
-> Fix pc file
-> Fix LD FLAGS
-> Fix systemd service installation