platform/framework/web/wrt-plugins-common.git
10 years ago[Release] wrt-plugins-common_0.3.92
Jihoon Chung [Fri, 31 May 2013 10:24:40 +0000 (19:24 +0900)]
[Release] wrt-plugins-common_0.3.92

Change-Id: I1f155d09e2de753576f29f7a1df918528b69f908

10 years agoClean-up log
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

10 years ago[Release] wrt-plugins-common_0.3.91
sung-su.kim [Fri, 24 May 2013 05:30:31 +0000 (14:30 +0900)]
[Release] wrt-plugins-common_0.3.91

Change-Id: Ic51481611149b3040859833f02f8051e509462ef

10 years agoSync SMACK rule
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

10 years ago[Release] wrt-plugins-common_0.3.90
sung-su.kim [Thu, 23 May 2013 09:23:55 +0000 (18:23 +0900)]
[Release] wrt-plugins-common_0.3.90

Change-Id: I1651994915934233128716b65974504e38cd5830

10 years agoImprove performance in getting root plugins list.
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

10 years agoRemove js_overlay_addEventListener
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

10 years ago[Release] wrt-plugins-common_0.3.89
sung-su.kim [Tue, 21 May 2013 05:54:21 +0000 (14:54 +0900)]
[Release] wrt-plugins-common_0.3.89

Change-Id: I0d09f5077722d02365590a431e83625560e14fcc

10 years agoClean up unnecessary logs.
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

10 years agoAdd e17 read SMACK privilege in wrt-popup-wrt-runtime/wrt-popup-ace-runtime rule...
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

10 years agoAdd e17 read SMACK privilege in wrt-popup-wrt-runtime/wrt-popup-ace-runtime rule...
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

10 years ago[Release] wrt-plugins-common_0.3.88
sung-su.kim [Thu, 16 May 2013 04:32:38 +0000 (13:32 +0900)]
[Release] wrt-plugins-common_0.3.88

Change-Id: I4361566c9b10a8ec9a0b64777570bc026dfe5235

10 years agoAdd exception case of NULL for ipc between plugin and UI Process
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

10 years ago[Release] wrt-plugins-common_0.3.87
sung-su.kim [Tue, 14 May 2013 06:10:03 +0000 (15:10 +0900)]
[Release] wrt-plugins-common_0.3.87

Change-Id: Ib3663c657a9ae83e516935fc106ad7a72fce4f86

10 years ago[Release] wrt-plugins-common_0.3.86
Jihoon Chung [Fri, 10 May 2013 11:34:51 +0000 (20:34 +0900)]
[Release] wrt-plugins-common_0.3.86

Change-Id: Ia2b5584edc39fcde5f9ef5e7ce99653b30892ce1

10 years agoSynchronized with tizen_2.1_smack branch
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

10 years ago[Release] wrt-plugins-common_0.3.85
Jihoon Chung [Sat, 4 May 2013 14:25:56 +0000 (23:25 +0900)]
[Release] wrt-plugins-common_0.3.85

Change-Id: I36d30687b66e22fb3a7f174504348f1689273cdf

10 years agoImplement IPC between plugins and UI Process
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

10 years agoFixing warnings in the wrt-plugins-common
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

10 years agoCancel signal fix
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

11 years ago[Prevent] Issue 52063
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

11 years ago[Release] wrt-plugins-common_0.3.84
Taejeong Lee [Mon, 29 Apr 2013 14:02:53 +0000 (23:02 +0900)]
[Release] wrt-plugins-common_0.3.84

Change-Id: I4c07c58941c8b31f7e2424a69ff0f2a84cbb2fce

11 years agoTemporary patch for ApplicationLaunchAppControl event handling
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

11 years ago[Release] wrt-plugins-common_0.3.83
Taejeong Lee [Mon, 29 Apr 2013 07:02:59 +0000 (16:02 +0900)]
[Release] wrt-plugins-common_0.3.83

Change-Id: I634596e46474c49b1e0c75b5db4121fd47bbb653

11 years agoFelica plugin loading crash fix
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

11 years ago[Release] wrt-plugins-common_0.3.82
Jihoon Chung [Sat, 27 Apr 2013 13:18:00 +0000 (22:18 +0900)]
[Release] wrt-plugins-common_0.3.82

Change-Id: I320e0a671d188632286c61db4fb79d20228222c2

11 years agoCancel waitableevent fix
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

11 years agoMerge "ecore window handle storage"
Pawel Sikorski [Wed, 24 Apr 2013 15:10:49 +0000 (00:10 +0900)]
Merge "ecore window handle storage"

11 years agoScript initializing DB for plugin DAO tests fix
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

11 years agoecore window handle storage
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

11 years agoPopup process fix.
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

11 years ago[Release] wrt-plugins-common_0.3.81
Jihoon Chung [Fri, 19 Apr 2013 09:26:27 +0000 (18:26 +0900)]
[Release] wrt-plugins-common_0.3.81

Change-Id: I8cd6876a1c545a98d235ec938a4c005cea112306

11 years agoRemove label for wrt popup
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

11 years agoFixing issues found by prevent (49867)
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

11 years ago[Release] wrt-plugins-common_0.3.80
Taejeong Lee [Mon, 8 Apr 2013 13:47:37 +0000 (22:47 +0900)]
[Release] wrt-plugins-common_0.3.80

Change-Id: I1f5c11b6718d6c2b29cde6489ec382017e4779da

11 years agoW3C extension feature bug fix
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

11 years ago[Release] wrt-plugins-common_0.3.79
Jihoon Chung [Mon, 1 Apr 2013 12:55:22 +0000 (21:55 +0900)]
[Release] wrt-plugins-common_0.3.79

Change-Id: Id3ea4612d61497f93c521d9fd4e87da3b96d3226

11 years agoAdd SMACK rule for wrt-popup process
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

11 years agoRemove unused standard feature code
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

11 years agoClean-up unused feature data
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

11 years ago[Release] wrt-plugins-common_0.3.78
Taejeong Lee [Sat, 30 Mar 2013 12:08:56 +0000 (21:08 +0900)]
[Release] wrt-plugins-common_0.3.78

Change-Id: I6a213829a2235fc9c5f842c3d92efeb6a70c61d1

11 years agoMerge "AddEventListener fix"
Hoseon LEE [Sat, 30 Mar 2013 12:01:52 +0000 (21:01 +0900)]
Merge "AddEventListener fix"

11 years agoAddEventListener 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

11 years ago[Release] wrt-plugins-common_0.3.77
Jihoon Chung [Fri, 29 Mar 2013 04:50:04 +0000 (13:50 +0900)]
[Release] wrt-plugins-common_0.3.77

Change-Id: Id5488e7f70a6313764ac9718cee10f196c0f4067

11 years agoRemove debian directory
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

11 years agoDefine SMACK label for wrt-popup process
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

11 years ago[Release] wrt-plugins-common_0.3.76
Jihoon Chung [Tue, 26 Mar 2013 08:42:12 +0000 (17:42 +0900)]
[Release] wrt-plugins-common_0.3.76

Change-Id: Ia4512c0946e1c2545eda6ba3937b7536624563fc

11 years agoPrevent issue fix
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

11 years agoModification the root plugins register function
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

11 years ago[Release] wrt-plugins-common_0.3.75 submit/trunk/20130321.035544
Jihoon Chung [Thu, 21 Mar 2013 03:54:28 +0000 (12:54 +0900)]
[Release] wrt-plugins-common_0.3.75

Change-Id: I289182933419617334c8a5d28024e492c925d99a

11 years agoFix for GCC 4.7 compatibility.
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

11 years agoConverter::toULong converts values from type double via type long.
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

11 years agoUpdate unmerged source code
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

11 years ago[Release] wrt-plugins-common_0.3.74 submit/trunk/20130311.133832
Taejeong Lee [Mon, 11 Mar 2013 13:37:56 +0000 (22:37 +0900)]
[Release] wrt-plugins-common_0.3.74

Change-Id: I0d5021818015ae8c6aad5d9830408252b9cccc8b

11 years agoBug Fix for crash while webapi notification TC is running.
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

11 years ago[Release]wrt-plugins-common_0.3.73 submit/trunk/20130308.083157
Taejeong Lee [Fri, 8 Mar 2013 08:25:48 +0000 (17:25 +0900)]
[Release]wrt-plugins-common_0.3.73

Change-Id: I5f186578ec675cd618bc42a6ad38af083163f213

11 years agoMerge "'on_frame_unload' plugin's callback is not invoked when webapp is terminated."
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."

11 years agoFix injection of javascript
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

11 years ago'on_frame_unload' plugin's callback is not invoked when webapp is terminated.
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

11 years agoFix issues shown by cppcheck for wrt-plugins-common
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

11 years agoRenaming tests binaries.
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

11 years agoFix warnings in compilation of wrt-plugins-common
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

11 years agoFix warnings in compilation of wrt-plugins-common
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

11 years ago[Release]wrt-plugins-common_0.3.72 submit/trunk/20130213.050342
Taejeong Lee [Wed, 13 Feb 2013 05:01:10 +0000 (14:01 +0900)]
[Release]wrt-plugins-common_0.3.72

Change-Id: I5fcc2242da432d577432912a1dc21b00241befb2

11 years agoSource code formating unification
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

11 years agoPrevent issues fixes
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

11 years ago[Release]wrt-plugins-common_0.3.71 submit/trunk/20130201.080249
Soyoung Kim [Fri, 1 Feb 2013 08:02:07 +0000 (17:02 +0900)]
[Release]wrt-plugins-common_0.3.71

11 years agoMerge "Preloading plugin so file was changed to work only for root object."
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."

11 years agoFixed wrong widget private path
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

11 years agoPreloading plugin so file was changed to work only for root object.
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

11 years agoFix WrtAccess singleton deinitialize issue
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

11 years agoFix script that populates DB for plugins-tests-widgetdb tests.
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

11 years ago[Release]wrt-plugins-common_0.3.70 submit/trunk/20130123.140026
leerang song [Wed, 23 Jan 2013 13:40:17 +0000 (22:40 +0900)]
[Release]wrt-plugins-common_0.3.70

Change-Id: I399fe5efbdfeb07ef356567c3fce5ce7793457e2

11 years agoMerge "PluginManager change to support tizen privilege policy."
Hoseon LEE [Wed, 23 Jan 2013 13:34:21 +0000 (22:34 +0900)]
Merge "PluginManager change to support tizen privilege policy."

11 years agoPluginManager 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

11 years agoAdd tests - widgetdb
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

11 years ago[Release] wrt-plugins-common_0.3.69 submit/trunk/20130110.023354
Taejeong Lee [Thu, 10 Jan 2013 02:32:37 +0000 (11:32 +0900)]
[Release] wrt-plugins-common_0.3.69

Change-Id: I81e61f89c06a784a5f490cdead1409922299316c

11 years agoMerge "[Prevent] Fixes issues with exceptions thrown out of main scope."
Hoseon LEE [Thu, 10 Jan 2013 02:25:29 +0000 (11:25 +0900)]
Merge "[Prevent] Fixes issues with exceptions thrown out of main scope."

11 years agoAdd initSession step in PluginLogic.
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

11 years ago[Prevent] Fixes issues with exceptions thrown out of main scope.
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

11 years agoChanged PkgName type from DPL::Optional<DPL::String> to DPL::String. PART 2
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

11 years ago[Prevent] Handle unhandled exceptions in wrt-popup.
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

11 years ago[Release] wrt-plugins-common_0.3.68 submit/trunk/20121218.053851
Jihoon Chung [Tue, 18 Dec 2012 05:38:32 +0000 (14:38 +0900)]
[Release] wrt-plugins-common_0.3.68

Change-Id: I631fe9e6712562b116f43d7f9d58c77e37d232b9

11 years agoMerge "Support plugin without feature define"
Hoseon LEE [Tue, 18 Dec 2012 05:31:28 +0000 (14:31 +0900)]
Merge "Support plugin without feature define"

11 years agoSupport 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

11 years agoMissing boilerplate added
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

11 years agoAdd new popup: Ask YesNo with checkbox
Przemyslaw Ciezkowski [Wed, 12 Dec 2012 09:53:19 +0000 (10:53 +0100)]
Add new popup: Ask YesNo with checkbox

[Issue#] N/A
[Bug] N/A
[Cause] Add new popup with checkbox to get user
option to remember his decision.
[Solution] Added new popup.
[Verification] Run test widget with custom handlers.

Change-Id: I7cc6828714fa0a2eb56f57f632f9f5fc20375eeb

11 years agoRemove popup dependency from wrt-commons
Lukasz Marek [Tue, 11 Dec 2012 18:20:19 +0000 (19:20 +0100)]
Remove popup dependency from wrt-commons

[Issue#]
[Bug] N/A
[Cause] Popup implementation is splitted into several repositories.
[Solution] This commit moves DPL implementation into place where it is used
[Verification] Build repository, run widget with popups

Change-Id: I3bfbcaa97829b75426b66f9bc77650b3e744660a

11 years ago[Release] wrt-plugins-common_0.3.67 submit/trunk/20121213.044624
Taejeong Lee [Thu, 13 Dec 2012 04:44:18 +0000 (13:44 +0900)]
[Release] wrt-plugins-common_0.3.67

Change-Id: Ic58b8a3b26db36d3070735552a60837660a7ece9

11 years agoInformation popup
Lukasz Marek [Tue, 11 Dec 2012 15:11:15 +0000 (16:11 +0100)]
Information popup

[Issue#] N/A
[Bug] N/A
[Cause] Implementation of information popup - popup with message and OK button.
[Solution] N/A
[Verification] Build repository.

Change-Id: I7bf809eb9af0ea0af2782306ab603fe61facb1f8

11 years ago[Prevent] Ensure pointer is not NULL before it's referenced.
Jan Olszak [Fri, 7 Dec 2012 07:56:35 +0000 (08:56 +0100)]
[Prevent] Ensure pointer is not NULL before it's referenced.

[Issue#] ace_param_list->items could have been NULL when referenced
[Bug] N/A
[Cause] N/A
[Solution] Small change in conditions check.
[Verification] Build plugins. Run plugin-common tests.

Change-Id: I0b0ace5e95615311680fc29de6a421f56f7f0b9b

11 years ago[Prevent] Delete unreachable code.
Jan Olszak [Fri, 7 Dec 2012 13:17:00 +0000 (14:17 +0100)]
[Prevent] Delete unreachable code.

[Issue#] Unreachable code.
[Bug] N/A
[Cause] N/A
[Solution] Deleted unreachable code.
[Verification] Build plugin-commons. Run tests.

Change-Id: I6e5d880967c150ada9f1d3b32331a6b4c4ce2fe2

11 years agoPopup cleaning
Lukasz Marek [Wed, 5 Dec 2012 17:14:39 +0000 (18:14 +0100)]
Popup cleaning

[Issue#] N/A
[Bug] N/A
[Cause] Implementation of modal popups is divided into multiple repositiories
[Solution] This commit moves implementation into one place (apart from DPL impl).
[Verification] Rebuild wrt-plugins-common, wrt, plugins and run widget showing popups.

Change-Id: I08ee29db38d68992ede89aa5421a1e7e81cf63d7

11 years ago[Release] wrt-plugins-common_0.3.66 submit/trunk/20121210.024828
Jihoon Chung [Mon, 10 Dec 2012 02:48:10 +0000 (11:48 +0900)]
[Release] wrt-plugins-common_0.3.66

11 years agoFixed problem with running tests
Grzegorz Krawczyk [Wed, 5 Dec 2012 16:24:02 +0000 (17:24 +0100)]
Fixed problem with running tests

After last modification to plugin-loading some object was loaded twice
(with standard and requested featueres)
which causes problems for some test cases due to overriding selected
objects.

[Issue#] N/A
[Problem] Many tests fail
[Cause] P
[Solution] N/A
[SCMRequest] N/A

Verification:
Verify that most of plugins-tests-w3c and wrt-tests-w3c pass.

Signed-off-by: Grzegorz Krawczyk(g.kraczyk@samsung.com)
Change-Id: Iedea94137acfeb8a38dfcb7b5242eb36a3af9f3e

11 years agoAdjustment for usage of STL pointers - build break fix
Tomasz Iwanek [Tue, 4 Dec 2012 15:27:35 +0000 (16:27 +0100)]
Adjustment for usage of STL pointers - build break fix

[Issue#]       N/A
[Bug]          Build break
[Cause]        N/A
[Solution]     Method name fix
[Verification] Build repo

Change-Id: I0e4ee1d22112ea7cf6753ddfabe1065b38b7ef06

11 years agoDuplicated code in plugin loader
Przemyslaw Ciezkowski [Mon, 19 Nov 2012 14:13:06 +0000 (15:13 +0100)]
Duplicated code in plugin loader

[Issue#] N/A
[Bug] Duplicated code for retrieving allowed features.
[Cause] N/A
[Solution] Moved duplicated code to PluginContainerSupport class.
[Verification] Run a widget which requires plugins.

Change-Id: I3b76ed18c0376a70975e3f6e98740e4b7671a556

11 years agowrt-plugins-installer clean up
Andrzej Surdej [Tue, 2 Oct 2012 14:13:25 +0000 (16:13 +0200)]
wrt-plugins-installer clean up

Removed unnecessary code from wrt-plugins-installer.

[Issue#] LINUXNGWAP-399
[Problem] Due to moving installation of plugins from installer
to wrt-plugins-common there were lot of unused code
[Cause] N/A
[Solution] Clean up code.

To verify build package, do 'wrt_reset_all.sh' and then 'wrt-plugins-installer'
Tizen plugins should be installed (around 40).

Change-Id: I6019608e145953ea48902873a1da1352f5742f3e

11 years agoRevert "Pkgname (tizen id) - not null"
Jan Olszak [Fri, 30 Nov 2012 11:28:57 +0000 (20:28 +0900)]
Revert "Pkgname (tizen id) - not null"

This reverts commit 8fab69d481c6ef5979c301a133d4375f1779e931

11 years agoDuplicated code in plugins installer
Przemyslaw Ciezkowski [Mon, 19 Nov 2012 13:42:13 +0000 (14:42 +0100)]
Duplicated code in plugins installer

[Issue#] N/A
[Bug] Duplicated code for retrieving plugins paths.
[Cause] N/A
[Solution] Moved duplicated code to PluginsUtils namespace.
[Verification] Install plugins using wrt-plugins-installer.

Change-Id: Id214f2e4cf75689188bda6c339b1c8065e933309