Jihoon Chung [Sat, 29 Jun 2013 06:52:29 +0000 (15:52 +0900)]
[Release] wrt-plugins-common_0.3.99
Change-Id: I482e22246386bce4949d27b491cb3ac5b89e00e3
Tae-Jeong Lee [Fri, 28 Jun 2013 12:04:56 +0000 (21:04 +0900)]
Implementation of IPC Asynchronous Message Support.
- sendAsyncMessageToUiProcess()
- ignoreAsyncMessageReply()
[Issue#] N/A
[Problem] Requirement from webapi team.
[Cause] N/A
[Solution] Add IPC Asynchronous Message Support Feature.
Change-Id: I158eebfd5690e6f1e0828da785cac3568f1f9017
sung-su.kim [Mon, 24 Jun 2013 05:16:38 +0000 (14:16 +0900)]
[Release] wrt-plugins-common_0.3.98
Change-Id: I0f1c746748dd9ea87ed181aa20349931ca9d4285
Taejeong Lee [Fri, 14 Jun 2013 15:06:55 +0000 (00:06 +0900)]
Performance improvement of PluginManager with clean up some plugin code.
- Optimization in PluginManager::getProperties().
[Issue#] N/A
[Problem] Performance
[Cause] N/A
[Solution] Performance improvement of PluginManager with clean up some plugin code.
Change-Id: I5aee61bd0a03323fc5057b52f718b80c73ab45c8
sung-su.kim [Tue, 18 Jun 2013 05:44:02 +0000 (14:44 +0900)]
[Release] wrt-plugins-common_0.3.97
Change-Id: I61287d9655a2def003aee81bdec5cd49ff0a3e23
Zbigniew Kostrzewa [Thu, 13 Jun 2013 08:46:54 +0000 (10:46 +0200)]
Fix values of StorageEvent properties.
[Issue#] N/A
[Problem] On removeItem() newValue was set to empty instead of null. On
setItem() oldValue was set to empty instead of null. On clear() key,
oldValue nad newValue were set to empty instead of null.
[Cause] N/A
[Solution] Pass proper values.
[SCMRequest] N/A
[Verification]
1. Build repository
2. Run W3C_WidgetInterface.wgt test widget.
3. Run tests from [RSA]/test/webapi
- webapi-w3c-widgetinterface-tests/widgetinterface/w3c/au.wgt
- webapi-w3c-widgetinterface-tests/widgetinterface/w3c/setItem-fires-event.wgt
- webapi-w3c-widgetinterface-tests/widgetinterface/w3c/removeItem-fires-event.wgt
Change-Id: Ic39340ec283a038012d38dc1918135ea2809e647
Jihoon Chung [Mon, 10 Jun 2013 08:07:10 +0000 (17:07 +0900)]
[Release] wrt-plugins-common_0.3.96
Change-Id: I8b95e5fcea5de9df2a72acd1363c67c53c31e533
Jihoon Chung [Sun, 9 Jun 2013 04:24:38 +0000 (13:24 +0900)]
Support cookie clear IPC
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Support cookie clear IPC
Separate IPC to two types (sendSyncMessage, sendAsyncMessage)
Cookie clear API uses sendAsyncMessage with "tizen://clearAllCookies"
to the name argument
This API will be used by tizen API
[SCMRequest] N/A
Change-Id: Id96a514486d29f8cc8d46352a5c87a551a8d68d1
Jihoon Chung [Fri, 7 Jun 2013 14:07:09 +0000 (23:07 +0900)]
[Release] wrt-plugins-common_0.3.95
Change-Id: Ie4b8a1d44479a446c80efb84eee5762c9965a6b5
Taejeong Lee [Fri, 7 Jun 2013 10:58:16 +0000 (19:58 +0900)]
Add dispatchHwKeyEvent() api to DispatchEventSupport
Change-Id: Ibb62ccf24bfb6e652ef4efada3237f766c4145e3
Jihoon Chung [Tue, 4 Jun 2013 04:27:48 +0000 (13:27 +0900)]
[Release] wrt-plugins-common_0.3.94
Change-Id: I449c0e474fcdd0ddbeafa2efa9e790559eebdbd3
Taejeong Lee [Mon, 3 Jun 2013 10:35:43 +0000 (19:35 +0900)]
Sync with private repository.
[Issue#] N/A
[Problem] Sync with private repository.
[Cause] N/A
[Solution] Some smack rules were changed
Change-Id: I25e2450acac012f9e79820db464e3b9c5f06499d
Jihoon Chung [Sat, 1 Jun 2013 11:16:08 +0000 (20:16 +0900)]
Replace ipc message to read static value
[Issue#] N/A
[Problem] launch.application API is crashed
[Cause] During send IPC from plugin, UI process send
Messages::WebPage::HitTestResultAtPoint to WebProcess.
Conlict is occurred during dispatch IPC message.
[Solution] Replace IPC to get x window handle to static value
[SCMRequest] N/A
Change-Id: I350bf6400887729154b4d05929bded98f976002f
Taejeong Lee [Mon, 3 Jun 2013 04:29:51 +0000 (13:29 +0900)]
Dispatch DOM Event Support Bug Fix
[Issue#] N/A
[Problem] Inner "event" variable in dispatch_event_support overrides global scope variable.
[Cause] N/A
[Solution] Inner variable name was changed to "__event".
Change-Id: I00053cce7f66bc55d11038f6c669f894c223c006
Jihoon Chung [Fri, 31 May 2013 10:24:40 +0000 (19:24 +0900)]
[Release] wrt-plugins-common_0.3.92
Change-Id: I1f155d09e2de753576f29f7a1df918528b69f908
Jihoon Chung [Fri, 31 May 2013 10:22:34 +0000 (19:22 +0900)]
Clean-up log
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Clean-up log when data is null case
[SCMRequest] N/A
Change-Id: Iab487a6f6c9f72b9fa3eeb6f768ab0a8f1b4e5df
sung-su.kim [Fri, 24 May 2013 05:30:31 +0000 (14:30 +0900)]
[Release] wrt-plugins-common_0.3.91
Change-Id: Ic51481611149b3040859833f02f8051e509462ef
Jihoon Chung [Thu, 23 May 2013 14:09:39 +0000 (23:09 +0900)]
Sync SMACK rule
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Sync SMACK rule
[SCMRequest] N/A
Change-Id: Ief244f240f6c07c43839bf412d80fb7342dee354
sung-su.kim [Thu, 23 May 2013 09:23:55 +0000 (18:23 +0900)]
[Release] wrt-plugins-common_0.3.90
Change-Id: I1651994915934233128716b65974504e38cd5830
Taejeong Lee [Thu, 23 May 2013 07:17:00 +0000 (16:17 +0900)]
Improve performance in getting root plugins list.
* note: this commit needs a new api from wrt-commons.
- getRootPluginHandleList()
[Issue#] N/A
[Problem] Performance.
[Cause] Too many access to db.
[Solution] Changed to use new "getRootPluginHandleList()"
Change-Id: Ie4c2191c1882c1ebd4afd9830f0c9f72612e764b
Taejeong Lee [Wed, 22 May 2013 07:37:17 +0000 (16:37 +0900)]
Remove js_overlay_addEventListener
[Issue#] N/A
[Problem] Stability.
[Cause] Before custom event dispatch implementation was very complicated and instability,
because it works by overlay type. It had very heavy operation on webkit with JSC.
[Solution] So we have replaced that to very simple operation which is using dom dispatchEvent() api.
Change-Id: Iecbc105d2aced7f8649e8504b62014e0cdb0c1b9
sung-su.kim [Tue, 21 May 2013 05:54:21 +0000 (14:54 +0900)]
[Release] wrt-plugins-common_0.3.89
Change-Id: I0d09f5077722d02365590a431e83625560e14fcc
Taejeong Lee [Tue, 21 May 2013 02:37:01 +0000 (11:37 +0900)]
Clean up unnecessary logs.
[Issue#] N/A
[Problem] Performance
[Cause] N/A
[Solution] Clean up unnecessary logs.
Change-Id: I28f55bfcdfe03f7955332a267cc5de2ea5ea34e4
Taejeong Lee [Thu, 16 May 2013 08:50:53 +0000 (17:50 +0900)]
Add e17 read SMACK privilege in wrt-popup-wrt-runtime/wrt-popup-ace-runtime rule file. ver.2
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add e17 read SMACK privilege in wrt-popup-wrt-runtime/wrt-popup-ace-runtime rule file.
Change-Id: Ib1cc96a4bf1ad4105fff6f3766a7eb7e733a35a0
Taejeong Lee [Thu, 16 May 2013 08:32:57 +0000 (17:32 +0900)]
Add e17 read SMACK privilege in wrt-popup-wrt-runtime/wrt-popup-ace-runtime rule file.
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add e17 read SMACK privilege in wrt-popup-wrt-runtime/wrt-popup-ace-runtime rule file.
Change-Id: I1d1da04de46ed4961a0841c449866bfdc184bbb4
sung-su.kim [Thu, 16 May 2013 04:32:38 +0000 (13:32 +0900)]
[Release] wrt-plugins-common_0.3.88
Change-Id: I4361566c9b10a8ec9a0b64777570bc026dfe5235
Jihoon Chung [Wed, 15 May 2013 07:07:36 +0000 (16:07 +0900)]
Add exception case of NULL for ipc between plugin and UI Process
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add exception case of NULL is returned from UI Process
In this case, simple pass NULL to plugin
[SCMRequest] N/A
Change-Id: Id907799a98b48c116511765dfb87c584d4fd3045
sung-su.kim [Tue, 14 May 2013 06:10:03 +0000 (15:10 +0900)]
[Release] wrt-plugins-common_0.3.87
Change-Id: Ib3663c657a9ae83e516935fc106ad7a72fce4f86
Jihoon Chung [Fri, 10 May 2013 11:34:51 +0000 (20:34 +0900)]
[Release] wrt-plugins-common_0.3.86
Change-Id: Ia2b5584edc39fcde5f9ef5e7ce99653b30892ce1
Taejeong Lee [Fri, 10 May 2013 11:03:52 +0000 (20:03 +0900)]
Synchronized with tizen_2.1_smack branch
[Issue#] N/A
[Bug] N/A
[Cause] Requested from smack team.
[Solution] Synchronized with tizen_2.1_smack branch
Change-Id: I646ddaf8c908f3b5604822b0316d59fa15ee1ec8
Jihoon Chung [Sat, 4 May 2013 14:25:56 +0000 (23:25 +0900)]
[Release] wrt-plugins-common_0.3.85
Change-Id: I36d30687b66e22fb3a7f174504348f1689273cdf
Jihoon Chung [Sat, 27 Apr 2013 05:24:08 +0000 (14:24 +0900)]
Implement IPC between plugins and UI Process
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Support ipc between plugins and UI Process.
Before use ipc API, injected-bundle must call "setWKBundleRef" to set
WKBundleRef which is used send message to UI Process.
Plugin part call "sendMessageToUiProcess" with message name and body.
Current implementation only support sync message call.
[SCMRequest] N/A
Change-Id: Iad720c69cccf04b473b7e3fca97e8a6ecab7eb5f
Kamil Nować [Thu, 25 Apr 2013 10:43:08 +0000 (12:43 +0200)]
Fixing warnings in the wrt-plugins-common
[Issue#] LINUXWRT-271
[Problem] Too many warnings
[Cause] N/A
[Solution] Preventing some of them
[Verification] Build wrt-plugins-common repository
Change-Id: I51c6c000c7193d06ee2ae9c88acf08251e85ec7e
Lukasz Marek [Mon, 29 Apr 2013 16:27:27 +0000 (18:27 +0200)]
Cancel signal fix
[Issue#] N/A
[Bug] Widget can hang when event cancelled.
[Cause] WaitableHandle can be signalled before it is explicity created.
[Solution] Add a flag to mark signalling.
Change-Id: I67d71a771250967d5f105bdcf7eb40d3ec2bef5c
Tomasz Iwanek [Tue, 30 Apr 2013 09:41:50 +0000 (11:41 +0200)]
[Prevent] Issue 52063
[Issue#] LINUXWRT-235
[Bug] Return statement with no value
[Cause] N/A
[Solution] Fix macro use
[Verification] Build repo.
Change-Id: Ia651c11ed696a820cb6e02927e8119a51666f696
Taejeong Lee [Mon, 29 Apr 2013 14:02:53 +0000 (23:02 +0900)]
[Release] wrt-plugins-common_0.3.84
Change-Id: I4c07c58941c8b31f7e2424a69ff0f2a84cbb2fce
Taejeong Lee [Mon, 29 Apr 2013 13:55:51 +0000 (22:55 +0900)]
Temporary patch for ApplicationLaunchAppControl event handling
[Issue#] N/A
[Bug] ApplicationControl does not work properly.
[Cause] Side-effect of IEvent routine change, but it was used wrongly.
[Solution] Temporary WaitForSingleHandle routine is removed.
Change-Id: Ie7a1565097790f290aa63c888d7aeb6c8b2ffdab
Taejeong Lee [Mon, 29 Apr 2013 07:02:59 +0000 (16:02 +0900)]
[Release] wrt-plugins-common_0.3.83
Change-Id: I634596e46474c49b1e0c75b5db4121fd47bbb653
Taejeong Lee [Mon, 29 Apr 2013 06:45:20 +0000 (15:45 +0900)]
Felica plugin loading crash fix
[Issue#] N/A
[Bug] Webapp is not launched on docomo binary.
[Cause] SMACK denied
[Solution] Add exception handle routine for SMACK denied plugin
Change-Id: I7f2ae8f6951b45f64c4b2f2b3fff0b22d188c1ec
Jihoon Chung [Sat, 27 Apr 2013 13:18:00 +0000 (22:18 +0900)]
[Release] wrt-plugins-common_0.3.82
Change-Id: I320e0a671d188632286c61db4fb79d20228222c2
Lukasz Marek [Thu, 25 Apr 2013 17:09:50 +0000 (19:09 +0200)]
Cancel waitableevent fix
[Issue#] N/A
[Bug] Widget crashes during many filesystem operations
[Cause] Every request creates new pipe.
[Solution] Create pipe only when needed
Change-Id: I7ff9036c7e09071a9f4b038c2ee0ab797155edc7
Pawel Sikorski [Wed, 24 Apr 2013 15:10:49 +0000 (00:10 +0900)]
Merge "ecore window handle storage"
Tomasz Iwanek [Mon, 22 Apr 2013 08:38:51 +0000 (10:38 +0200)]
Script initializing DB for plugin DAO tests fix
[Issue#] LINUXWRT-259
[Bug] Scripting is failing
[Cause] Some tables/columns were removed. they were not used anyway.
[Solution] N/A
[Verification] Run: wrt-plugins-common-tests-widgetdb --output=text. All should pass.
Change-Id: I0efee6d1cd40374a03f85e7362efbe9c93029dc3
Lukasz Marek [Tue, 23 Apr 2013 12:47:03 +0000 (14:47 +0200)]
ecore window handle storage
[Issue#] N/A
[Bug] N/A
[Problem] WebProcess need to store window handle to allow inline disposition
when called by native applications.
[Solution] Add variable in plugin_logic to store ecore window handle.
PluginLogic is a singleton available in WebProcess.
[Verification] Build wrt-plugins-common repository
Change-Id: Ieef2e8f0257bfae44b9905e6c5fe544ce6d8cabe
Andrzej Surdej [Thu, 18 Apr 2013 14:37:13 +0000 (16:37 +0200)]
Popup process fix.
[Issue#] N/A
[Problem] When fork process is created but, exec() return fail,
the process crash and writes nothing to pipe. As result the caller process hangs.
[Cause] N/A
[Solution] Write data to pipe (deny and do not remember).
[SCMRequest] N/A
Change-Id: Ibd47e586790608972d45b7e80805ad15b0b4503b
Jihoon Chung [Fri, 19 Apr 2013 09:26:27 +0000 (18:26 +0900)]
[Release] wrt-plugins-common_0.3.81
Change-Id: I8cd6876a1c545a98d235ec938a4c005cea112306
Jihoon Chung [Fri, 19 Apr 2013 02:55:48 +0000 (11:55 +0900)]
Remove label for wrt popup
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Remove label for wrt popup
[SCMRequest] N/A
Change-Id: Iee553e2008c6005ad3359609aac8cadd21cf0684
Karol Pawlowski [Wed, 17 Apr 2013 13:53:59 +0000 (15:53 +0200)]
Fixing issues found by prevent (49867)
[Issue#] LINUXWRT-234
[Bug] Dereference null return value
[Cause] N/A
[Solution] Remove issues
[Verification] Build wrt-plugins-common repository
Change-Id: I12673c3d4edf0688ef59371f408e590644658613
Taejeong Lee [Mon, 8 Apr 2013 13:47:37 +0000 (22:47 +0900)]
[Release] wrt-plugins-common_0.3.80
Change-Id: I1f5c11b6718d6c2b29cde6489ec382017e4779da
Taejeong Lee [Mon, 8 Apr 2013 13:16:54 +0000 (22:16 +0900)]
W3C extension feature bug fix
[Issue#] N/A
[Problem] A crash occurs when try to get plugin handle about W3C extension feature.
[Cause] W3C extension feature exception handling fault.
[Solution] Exception handling routine was added.
Change-Id: Iabc8a7e7e01fd6b50413a584d5d857b4eb08e2cf
Jihoon Chung [Mon, 1 Apr 2013 12:55:22 +0000 (21:55 +0900)]
[Release] wrt-plugins-common_0.3.79
Change-Id: Id3ea4612d61497f93c521d9fd4e87da3b96d3226
Jihoon Chung [Mon, 1 Apr 2013 05:25:39 +0000 (14:25 +0900)]
Add SMACK rule for wrt-popup process
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add SMACK rule for wrt-popup process
[SCMRequest] N/A
Change-Id: I764f12039cb66242d818d244c7ec30e790261ca5
Jihoon Chung [Mon, 1 Apr 2013 11:40:27 +0000 (20:40 +0900)]
Remove unused standard feature code
[Issue#] N/A
[Problem] Crash is occurred during touch preference API
[Cause] Plugin is loaded two time
[Solution] Remove unused standard feature code
[SCMRequest] N/A
Change-Id: I779d133985080a11efc60903e1ac5a3db42a5d7f
Jihoon Chung [Sat, 23 Mar 2013 08:55:49 +0000 (17:55 +0900)]
Clean-up unused feature data
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Current WRT uses Privilege instead of Feature
Deprecated :
typedef for "param" (Params, Param, ParamsIterator)
API for "param" and "required" (isRequired(), getParams(), addParam)
Remove test case
[SCMRequest] N/A
Change-Id: I2bb282fbff562a8181b1bc3bbe9dc44b9e3d4ca1
Taejeong Lee [Sat, 30 Mar 2013 12:08:56 +0000 (21:08 +0900)]
[Release] wrt-plugins-common_0.3.78
Change-Id: I6a213829a2235fc9c5f842c3d92efeb6a70c61d1
Hoseon LEE [Sat, 30 Mar 2013 12:01:52 +0000 (21:01 +0900)]
Merge "AddEventListener fix"
Lukasz Marek [Tue, 26 Mar 2013 13:38:51 +0000 (14:38 +0100)]
AddEventListener fix
[Issue#] N/A
[Problem] AddEventListener operates only static context object
[Cause] N/A
[Solution] Context is stored on Listener info and used when needed
[SCMRequest] N/A
[Verification]
Requires commit http://slp-info.sec.samsung.net/gerrit/#/c/172220/
Install widget ./manual_tests/wrt_test_widgets/iframes/iframe3/iframe3.wgt
1. Run widget
2. Click "Open page"
3. Click "Close"
4. Click "Click" inside popup
5. No crash occurs, another page is loaded
Change-Id: I144dd1781f90bd81d0676d4d054e4bb43df87f28
Jihoon Chung [Fri, 29 Mar 2013 04:50:04 +0000 (13:50 +0900)]
[Release] wrt-plugins-common_0.3.77
Change-Id: Id5488e7f70a6313764ac9718cee10f196c0f4067
Jihoon Chung [Fri, 29 Mar 2013 04:44:34 +0000 (13:44 +0900)]
Remove debian directory
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] debian directory isn't used anymore
[SCMRequest] N/A
Change-Id: I0d72ba93adf6a7fab9be5cbc17045cb56503747c
Jihoon Chung [Fri, 29 Mar 2013 00:28:24 +0000 (09:28 +0900)]
Define SMACK label for wrt-popup process
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Web Application denied connection with wrt-popup process
For create rule for wrt-popup, assign label to wrt-popup executable
binary. Also add rule for popup process
[SCMRequest] N/A
Change-Id: I03f791c31f868bd1c03452122ba5e4a3f83e3e22
Jihoon Chung [Tue, 26 Mar 2013 08:42:12 +0000 (17:42 +0900)]
[Release] wrt-plugins-common_0.3.76
Change-Id: Ia4512c0946e1c2545eda6ba3937b7536624563fc
Andrzej Surdej [Tue, 19 Mar 2013 11:38:17 +0000 (12:38 +0100)]
Prevent issue fix
[Issue#] N/A
[Problem] tmpnam_r(NULL) returns NULL instead of string
[Cause] N/A
[Solution] changed to tmpnam
[Verification] Build repo. Current state was present before.
Change-Id: Ife262ccd3dad5750f1c4934d2ae2bc2772f1a7d7
Hoseon LEE [Sat, 23 Mar 2013 07:21:33 +0000 (16:21 +0900)]
Modification the root plugins register function
[Issue#] N/A
[Problem] The implicit root plugins should be loaded by WRT
[Cause] WRT loads the explicit root plugins
[Solution] Modification the root plugins register function for the implicit
[SCMRequest] N/A
Change-Id: Id42bfab2be8b78616451444efda92e877aa18662
Jihoon Chung [Thu, 21 Mar 2013 03:54:28 +0000 (12:54 +0900)]
[Release] wrt-plugins-common_0.3.75
Change-Id: I289182933419617334c8a5d28024e492c925d99a
Junfeng Dong [Wed, 20 Mar 2013 08:29:48 +0000 (16:29 +0800)]
Fix for GCC 4.7 compatibility.
- Add -fpermissive. see the part of "Name Lookup changes" in
http://gcc.gnu.org/gcc-4.7/porting_to.html
- Drop the wrong flag: -Wl.
Change-Id: I346d918ba5350166d7c79c8c098ef02b4704c88c
Zbigniew Kostrzewa [Mon, 18 Mar 2013 07:07:00 +0000 (08:07 +0100)]
Converter::toULong converts values from type double via type long.
[Issue#] N/A
[Problem] Possible loss of precision.
[Cause] Conversion from type double to type unsigned long via type long.
[Solution] Convert directly from type double to type unsigned long.
[Verification] Build this change and repository wrt-plugins-tizen.
Change-Id: I4574bfc0f8a3f02aee13c0b6beec22721378911a
Jihoon Chung [Thu, 14 Mar 2013 01:33:35 +0000 (10:33 +0900)]
Update unmerged source code
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Update unmerged source code
[SCMRequest] N/A
Change-Id: I41b003c7f7446f3f4183f7b4f66a45bd0ec37dd5
Taejeong Lee [Mon, 11 Mar 2013 13:37:56 +0000 (22:37 +0900)]
[Release] wrt-plugins-common_0.3.74
Change-Id: I0d5021818015ae8c6aad5d9830408252b9cccc8b
Taejeong Lee [Mon, 11 Mar 2013 13:14:07 +0000 (22:14 +0900)]
Bug Fix for crash while webapi notification TC is running.
[Issue#] N/A
[Problem] Bug Fix for crash
[Cause] There was a fault(NULL pointer) in change of 'https://tizendev.org/gerrit/#/c/46985/'
[Solution] Fixed.
Change-Id: I395df751927948ec69e7f34e1118002986b47e86
Taejeong Lee [Fri, 8 Mar 2013 08:25:48 +0000 (17:25 +0900)]
[Release]wrt-plugins-common_0.3.73
Change-Id: I5f186578ec675cd618bc42a6ad38af083163f213
Hoseon LEE [Fri, 8 Mar 2013 02:08:11 +0000 (11:08 +0900)]
Merge "'on_frame_unload' plugin's callback is not invoked when webapp is terminated."
Grzegorz Rynkowski [Wed, 6 Mar 2013 07:39:08 +0000 (08:39 +0100)]
Fix injection of javascript
[Issue#] LINUXNGWAP-693
[Problem] loadInjectedJavaScript does not inject javascript
[Cause] Condition in the for loop prevents any files in the read
directory from being processed.
[Solution] Correct a condition in the for loop.
[Verification] Build wrt-plugins-common.
Change-Id: Ic9c2651621680a3673b0fefb8881d72df965a663
Taejeong Lee [Tue, 5 Mar 2013 10:32:37 +0000 (19:32 +0900)]
'on_frame_unload' plugin's callback is not invoked when webapp is terminated.
[Issue#] N/A
[Problem] 'on_frame_unload' plugin's callback is not invoked.
[Cause] stopSession() doesn't call 'on_frame_unload' function.
[Solution] changed to perform to erase a session at stopSession() only.
Refer with : https://tizendev.org/gerrit/#/c/49845/
Change-Id: I4ac7d1aa52760e206f6bf29cdfdecbbfe7d70923
Grzegorz Rynkowski [Mon, 18 Feb 2013 13:02:40 +0000 (14:02 +0100)]
Fix issues shown by cppcheck for wrt-plugins-common
[Issue#] LINUXWRT-124
[Problem] Cppcheck appears some warnings for wrt-plugins-common.
[Cause] Incorrect code.
[Solution] Make some changes.
[Verification] Run cppcheck on wrt-plugins-common (omitting
incorrectStringBooleanError). It would be no warnings.
I used the command:
cppcheck --std=posix --std=c++11 --std=c99 --max-configs=1 --enable=all
"`PKG_CONFIG_LIBDIR="/home/grynkowski/GBS-ROOT/local/scratch.armv7l.0/usr/lib/pkgconfig"
PKG_CONFIG_SYSROOT_DIR="/home/grynkowski/GBS-ROOT/local/scratch.armv7l.0"
pkg-config --cflags-only-I dpl-efl wrt-plugins-types security-client
dpl-event-efl ewebkit2 dpl-wrt-dao-ro dpl-wrt-dao-rw dpl-db-efl
libpcrecpp icu-i18n libxml-2.0 cert-svc-vcore`"
"/home/grynkowski/ngwap/wrt-plugins-common"
--suppress=incorrectStringBooleanError
Change-Id: I8cc6142660c4f2253909c7537cc966a3c027fa6f
Karol Pawlowski [Mon, 18 Feb 2013 11:19:04 +0000 (12:19 +0100)]
Renaming tests binaries.
[Issue#] LINUXWRT-130
[Problem] Tests binaries should be named <reponame>-tests-<name>
[Cause] N/A
[Solution] N/A
[Verification] Build wrt-plugins-common repository
Change-Id: Id3a08abaab5e590300f317a30943d885fe028aec
Grzegorz Rynkowski [Wed, 13 Feb 2013 15:22:50 +0000 (16:22 +0100)]
Fix warnings in compilation of wrt-plugins-common
[Issue#] N/A
[Problem] Compilation warnings appearing, part 2.
[Cause] Incorrect code.
[Solution] Make some changes. Most of the changes are related to warning
"type qualifiers ignored on function return type". It is generated by
returning a constant pointer from function. I removed unnecessary consts
related with warnings.
[Verification] Build wrt-plugins-common and look at logs of the building.
There should be only two warnings:
- "Warning: mmap_min_addr is != 0. If programs fail at mmap this could
be the reason"
- "warning: 'WrtDB::PropertyDAOReadOnly::WidgetPreferenceList
WrtDB::PropertyDAOReadOnly::GetPropertyList(WrtDB::DbWidgetHandle)'
is deprecated (declared at
/usr/include/dpl-efl/dpl/wrt-dao-ro/property_dao_read_only.h:79)" at
wrt-plugins-common-0.3.72/src/modules/tizen/WidgetInterfaceDAO/WidgetInterfaceDAO.cpp:112:71
Change-Id: I262c6e5197e84ae83bffef8f23d1ea52295e3adb
Grzegorz Rynkowski [Tue, 12 Feb 2013 14:33:43 +0000 (15:33 +0100)]
Fix warnings in compilation of wrt-plugins-common
[Issue#] N/A
[Problem] Compilation warnings appearing.
[Cause] Inconsistent code.
[Solution] Make some changes.
[Verification] Build wrt-plugins-common.
Change-Id: I5b0cb9bd96a11c6b52fbe72aecd6632dcc0624d7
Taejeong Lee [Wed, 13 Feb 2013 05:01:10 +0000 (14:01 +0900)]
[Release]wrt-plugins-common_0.3.72
Change-Id: I5fcc2242da432d577432912a1dc21b00241befb2
Pawel Sikorski [Wed, 6 Feb 2013 15:11:16 +0000 (16:11 +0100)]
Source code formating unification
[Issue#] N/A
[Problem] Source code was not formatted to any rules. In this situation
creating new patches or making review may become uncomfortable.
[Cause] No formatting rules/tool used.
[Solution] To make implementation and review process more comfortable,
whole plugins-common repository source code has been formatted with
uncrustify tool.
The configuration of the tool is located in the repository
(./uncrustify.cfg).
Command used (stored in uncrustify.sh):
uncrustify -c ./uncrustify.cfg --no-backup `find . -regex
"\(.*\.cpp\|.*\.h\|.*\.c\|.*\.cc\)" | grep -v
"orm.h\|orm_generator.h\|3rdparty"`
[Verification] Build the repository
Change-Id: Ic3b0427b05183ff0c18c0ee6e56928c9fa3a07ac
Lukasz Marek [Mon, 4 Feb 2013 18:17:56 +0000 (19:17 +0100)]
Prevent issues fixes
[Issue#] N/A
[Problem] Prevent issued some warnings.
[Cause] N/A
[Solution] Fixed.
Change-Id: I9fe5cec877a00da7b6e47caedb21d17f2ebcffd1
Soyoung Kim [Fri, 1 Feb 2013 08:02:07 +0000 (17:02 +0900)]
[Release]wrt-plugins-common_0.3.71
Hoseon LEE [Fri, 1 Feb 2013 07:09:55 +0000 (16:09 +0900)]
Merge "Preloading plugin so file was changed to work only for root object."
Soyoung Kim [Thu, 31 Jan 2013 05:55:17 +0000 (14:55 +0900)]
Fixed wrong widget private path
Issue#] N/A
[Problem] if tizen.filesystem.resolve api's parameter is wgt-private, error callback function occur
[Cause] this issue is connected changing appid from pkgname.
[Solution] Fixed widget private path.
[SCMRequest] N/A
Taejeong Lee [Wed, 30 Jan 2013 11:55:53 +0000 (20:55 +0900)]
Preloading plugin so file was changed to work only for root object.
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Preloading plugin so file was changed to work only for root object.
Change-Id: If0b045e122e3d65ed3c3560499dc969304a181ca
LongXiang [Tue, 29 Jan 2013 06:56:34 +0000 (14:56 +0800)]
Fix WrtAccess singleton deinitialize issue
[Issue#] N/A
[Problem] If an iframe or opened window closed, the main frame or opener
window will fail to access device APIs.
[Cause] When iframe or child window be closed, the WrtAccess singleton
will be deinitialized, later ace check calls will fail the WrtAccess
initialized assertion.
[Solution] Count initialized plugins in WrtAccess.
Change-Id: Icd9c5eb0488912225d8dcf4bd222b0bd26ea29c8
Zbigniew Kostrzewa [Fri, 25 Jan 2013 06:30:45 +0000 (07:30 +0100)]
Fix script that populates DB for plugins-tests-widgetdb tests.
[Issue#] N/A
[Problem] Test suite plugins-tests-widgetdb fails.
[Cause] WidgetDAO API has been modified.
[Solution] Adjust to API changes.
[SCMRequest] N/A
[Verification]
1. Build repository (with tests).
2. Run plugins-tests-widgetdb test suite.
Change-Id: I2601a93049135c9bd74ce144ff7efb42be5fc1d7
leerang song [Wed, 23 Jan 2013 13:40:17 +0000 (22:40 +0900)]
[Release]wrt-plugins-common_0.3.70
Change-Id: I399fe5efbdfeb07ef356567c3fce5ce7793457e2
Hoseon LEE [Wed, 23 Jan 2013 13:34:21 +0000 (22:34 +0900)]
Merge "PluginManager change to support tizen privilege policy."
Taejeong Lee [Wed, 23 Jan 2013 02:12:43 +0000 (11:12 +0900)]
PluginManager change to support tizen privilege policy.
* For tizen app type, all plugin object loading is allowed.
* Security check is performed on ace.
[Issue#] N/A
[Problem] Plugin support policy.
[Cause] N/A
[Solution] For tizen app type, all plugin object loading is allowed.
Change-Id: I9761c2d7011a20682234d30f14c67796a437b8c1
Lukasz Marek [Tue, 15 Jan 2013 13:10:16 +0000 (14:10 +0100)]
Add tests - widgetdb
[Issue#] N/A
[Feature] Add widgetdb dao tests back to wrt-plugins-commons.
Build tests conditionally.
[Problem] N/A
[Cause] Unit tests should reside in the same repositories the code they test.
Tests should be built only on explicit request.
[Solution] Add widgetdb dao tests to wrt-commons repository.
Build tests only when option WITH_TESTS is set.
[SCMRequest] gbs >= 0.12
[Veryfication] Build repository and run plugins-tests-widgetdb
Change-Id: Ia26366bb9768a9db04e176faf2cd74d4b3e54f7e
Taejeong Lee [Thu, 10 Jan 2013 02:32:37 +0000 (11:32 +0900)]
[Release] wrt-plugins-common_0.3.69
Change-Id: I81e61f89c06a784a5f490cdead1409922299316c
Hoseon LEE [Thu, 10 Jan 2013 02:25:29 +0000 (11:25 +0900)]
Merge "[Prevent] Fixes issues with exceptions thrown out of main scope."
Taejeong Lee [Wed, 9 Jan 2013 04:29:42 +0000 (13:29 +0900)]
Add initSession step in PluginLogic.
* This step supports to perform PluginLogic initialization and Plugin so file preloading.
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Add initSession step in PluginLogic.
Change-Id: I8363bda15f2313f0ccec4dfe3e51d67c98b7dcfd
Tomasz Iwanek [Tue, 8 Jan 2013 14:26:56 +0000 (15:26 +0100)]
[Prevent] Fixes issues with exceptions thrown out of main scope.
[Issue#] LINUXNGWAP-651
[Bug] Exceptions throwed out of main
[Cause] N/A
[Solution] Adding UNHANDLED_EXCEPTION_HANDLER_* marcoes
[Verification] Build repository
Change-Id: I72b9308a4f438d45e31118027ceb8d060b0e824c
Jan Olszak [Tue, 18 Dec 2012 10:29:51 +0000 (11:29 +0100)]
Changed PkgName type from DPL::Optional<DPL::String> to DPL::String. PART 2
[Issue#] PkgName could have been NULL.
[Bug] N/A
[Cause] N/A
[Solution] Changed Pkgname type, changed api methods. This is a temporary change, to test if the new API work.
[Verification] Build commons, plugins, installer, wrt. Run tests.
Change-Id: I04ad309df7575ae67ae63a5225995e7be739cdca
Jan Olszak [Mon, 17 Dec 2012 07:34:14 +0000 (08:34 +0100)]
[Prevent] Handle unhandled exceptions in wrt-popup.
[Issue] Unhandled exceptions propagate to main().
[Bug] N/A
[Cause] N/A
[Solution] Catch all exceptions and log them.
[Verification] Build wrt-popup.
Change-Id: Id9a1dc6e6162208fda88df7bc7955cc78c6d7e48
Jihoon Chung [Tue, 18 Dec 2012 05:38:32 +0000 (14:38 +0900)]
[Release] wrt-plugins-common_0.3.68
Change-Id: I631fe9e6712562b116f43d7f9d58c77e37d232b9
Hoseon LEE [Tue, 18 Dec 2012 05:31:28 +0000 (14:31 +0900)]
Merge "Support plugin without feature define"
Jihoon Chung [Thu, 13 Dec 2012 10:59:03 +0000 (19:59 +0900)]
Support plugin without feature define
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Support plugin without feature define in the config.xml
Plugin will be controlled by access control
[SCMRequest] N/A
Change-Id: I9d4c0ba7953629bb75182abdc9d6e97a2fa51728
Krzysztof Jackiewicz [Wed, 12 Dec 2012 11:45:20 +0000 (12:45 +0100)]
Missing boilerplate added
[Issue#] N/A
[Feature] N/A
[Problem] The boilerplate is missing in clean.sh script
[Cause] N/A
[Solution] Boilerplate added
[Verification] Check that the boilerplate is present. Successfull compilation.
Change-Id: I3515b6b5094f7eaff26f3038c608a16593494911