platform/framework/web/data-provider-master.git
9 years agoModification about smack label of db file belong to process. 12/20812/2 accepted/tizen_mobile tizen accepted/tizen/mobile/20141022.083003 submit/tizen/20140519.044905
jooseong.lee [Tue, 13 May 2014 05:13:19 +0000 (14:13 +0900)]
Modification about smack label of db file belong to process.

[Problem]
Most db files have 'floor' label.  Because these are created during image creation time.
Therefore no process can write the dbs (since 'floor' label allows only read and execute)

[Solution]
Modify smack label of the db files based on condition below referring three domain model
Condition1. Assign domain of process which creates db files
Condition2. Assign domain of process accesses db files.

Change-Id: Ib4aa1e071225035ffd2dcd8f305e5a2ac3eedf3b
Signed-off-by: jooseong.lee <jooseong.lee@samsung.com>
9 years agoReplace com.samsung with org.tizen 35/20235/3 submit/tizen/20140513.011028 submit/tizen/20140513.011216
Sung-jae Park [Wed, 30 Apr 2014 02:07:37 +0000 (11:07 +0900)]
Replace com.samsung with org.tizen

Prefix is not valid for the Tizen.
Dynamic Box Database Schema is updated.

From now, each box size is able to define its status for mouse event.

Change-Id: I6b28e630f8ba2d6f5947ee8da91d0763fcfeadd7

9 years agoChange the SMACK label for PUBLIC domain. 93/20193/2 submit/tizen/20140430.015858
Sung-jae Park [Tue, 29 Apr 2014 08:00:58 +0000 (17:00 +0900)]
Change the SMACK label for PUBLIC domain.

Currently, this service is not able to be activated by systemd.socket.
Instead of activating by systemd, I will do labeling the socket file using smack_fset function.

After I can see the service is running well, I will try change it to be activated by systemd-socket.
But it requires some more testing and stabilizing, before change it, I need to see whether the service is running well or not.

Is it possible to activate the one service process via multiple socket files?

Change-Id: Ifed525bcc906be2f7b49791e668223285b202494

9 years agoSync with the private code. 80/20180/1
Sung-jae Park [Tue, 29 Apr 2014 07:17:19 +0000 (16:17 +0900)]
Sync with the private code.

commit a4ea3106538a3c75eeb8e9fe730eee66d2cc2a02
Author: Sung-jae Park <nicesj.park@samsung.com>
Date:   Tue Apr 22 17:57:52 2014 +0900
  Remove dependency of sec-product-feature

commit 327f620ea51a132122c03eeb3475332119be1396
Author: Sung-jae Park <nicesj.park@samsung.com>
Date:   Thu Apr 17 21:58:36 2014 +0900
  Add new method to get the PID of client process.

  Only if the client is in same host (localhost),
  Get the PID from socket and deliever it to the service core.

commit 9c6c30f4c6cf4a14f042d4cfb92bd25e6e834288
Author: Sung-jae Park <nicesj.park@samsung.com>
Date:   Thu Apr 17 20:38:22 2014 +0900
  Don't try to unpremultipling alpha value.
  For the sake for scrolling performance.

commit 3e1688e1833077a83dff4a86c17749d71be0fb8d
Author: youngsub ko <ys4610.ko@samsung.com>
Date:   Wed Apr 16 17:05:39 2014 +0900
  [notification service] fixed problem multicast packet about deleting notification sent to viewers when deletion isn't successful

commit 01929e7b0f5fc79d6c6ddef2f7be434f3131b089
Author: youngsub ko <ys4610.ko@samsung.com>
Date:   Wed Apr 16 15:28:34 2014 +0900
  [notification service] code cleanup

Change-Id: I286ce5fed15e4a29888024e637ae5cc03f7b456e

9 years agoFix the path-conflict (Add on-hold/on-scroll event path) 79/20179/1
Sung-jae Park [Tue, 29 Apr 2014 07:08:48 +0000 (16:08 +0900)]
Fix the path-conflict (Add on-hold/on-scroll event path)

Change-Id: I01f5af0bdad51b7910cc3d043902ae7e62d5f46a

9 years agoMerge "Add missing package." into tizen
Sung-jae Park [Tue, 29 Apr 2014 07:04:31 +0000 (00:04 -0700)]
Merge "Add missing package." into tizen

9 years agoMerge "Update the PATH for supporting multi-user" into tizen
Sung-jae Park [Tue, 29 Apr 2014 07:02:40 +0000 (00:02 -0700)]
Merge "Update the PATH for supporting multi-user" into tizen

10 years agoAdd missing package. 80/19380/1
Sung-jae Park [Fri, 11 Apr 2014 08:19:54 +0000 (17:19 +0900)]
Add missing package.

package dependency.

Change-Id: I6cddcb04c081d82026a5ed3269f4eb19340b6ae0

10 years agoRemove SMACK rule file(.rule) according three domain model 57/19357/2
seong.chung [Fri, 11 Apr 2014 06:18:24 +0000 (15:18 +0900)]
Remove SMACK rule file(.rule) according three domain model

Since SMACK only allows three labels, "_"(floor), "User", "System"
The labels of current rule file are not appropriate
Result :
- Remove rule file

Reference site
https://wiki.tizen.org/wiki/Security:SmackThreeDomainModel

Change-Id: I4525b91e0cee6759bc805a637f484d5c3cb1f077
Signed-off-by: seong.chung <seong.chung@samsung.com>
10 years agoUpdate the PATH for supporting multi-user 47/18947/1
Sung-jae Park [Thu, 3 Apr 2014 09:18:45 +0000 (18:18 +0900)]
Update the PATH for supporting multi-user

Change the policy of updating period info of instances for upgrading packages.

If the package is upgraded, its period should be changed for all instances.
but some instances which have changed their period by manually, is not affected by
upgraded information of a package.

Change-Id: Ibca629b92041233c90cddb677539c11275de292b

10 years agoProvider control option is added. 31/18431/1 accepted/tizen/ivi/panda/20140403.014818 submit/tizen_ivi_panda/20140403.011916
Sung-jae Park [Mon, 24 Mar 2014 01:21:44 +0000 (10:21 +0900)]
Provider control option is added.

Provider can select the behaviours of master.
If a provider requests manual termination & reactivation,
The master will not send terminate request to the provider.
and it will not reactivate it. if it is requested.

The provider should handles it manually, if it requests manual option.

If the manual-termiation option is turned on, the master will send
"disconnect" request instead of "termiation" request.

Change-Id: I83b7325207b334d4ac2bb877b8a0aa61a12eb4d2

10 years agoSupport wayland build 04/17804/2
Sung-jae Park [Tue, 11 Mar 2014 04:58:20 +0000 (13:58 +0900)]
Support wayland build

Sync with the lastet private code.
Support SLAVE_TTL disabling feature

Change-Id: Ied58f1e8c3ba8d4b9a15cc1657352849ad8879dd

10 years agoFind the fault package from log file. 51/15951/1 accepted/tizen/generic accepted/tizen/generic/20140226.072408 submit/tizen/20140226.000750
Sung-jae Park [Fri, 31 Jan 2014 15:44:46 +0000 (00:44 +0900)]
Find the fault package from log file.

if it is available.

The data-provider-slave will leave the fault log if it finds a "SO" filename from the siganl handler.
And then if the master catches abnormal termination of slave provider, the master will try to open a
slave's fault log file. if it founds, the master will get the so filename from a log file.
and find the lbid using livebox-service API.

Previously, the master could not find the lbid correctly because of the old style code.
This patch will find the lbid from the DB.

*lbid = livebox Id (aka. dynamic box id)

Change-Id: Idc9ea93bb05c2059d8717385c5610a8ed2f8c22b

10 years agoAdd new attribute "category" 37/15837/2
Sung-jae Park [Wed, 29 Jan 2014 03:54:53 +0000 (12:54 +0900)]
Add new attribute "category"

Each dbox can be grouped by category.

http://tizen.org/category/idle-clock
http://tizen.org/category/default

Change-Id: I4b5ef17edb0123614c792781401dfa5f90d3eae5

10 years agoResolve issue in report of prevent. 87/15487/2
Sung-jae Park [Wed, 22 Jan 2014 02:11:24 +0000 (11:11 +0900)]
Resolve issue in report of prevent.

And explicitly casting the enumartion values.

Change-Id: Ie5b5e11c2635972fffa27b1a3f0bbb4aaa66f0e4

10 years agoOnly check the existence of pixmap buffer. 23/15423/1
Sung-jae Park [Tue, 21 Jan 2014 02:44:55 +0000 (11:44 +0900)]
Only check the existence of pixmap buffer.

Because the client can make a request to destroy the pixmap after it gots instance deleted callback.
at that time, the instance is deleted from server.
But client should request to destroy the pixmap.

So the master should not check the existence of the instance.
check the existence of pixmap buffer only.

Change-Id: I80640acb2d6e83e820ac2a980f555b82fec7f000

10 years agoIf the viewer sends request without ID to delete an instance, 22/15322/1
Sung-jae Park [Sat, 18 Jan 2014 14:46:44 +0000 (23:46 +0900)]
If the viewer sends request without ID to delete an instance,

Master should try to find an instance using timestamp.

Change-Id: Icb9c3779d61f69062707d3c7d2fffd706f21a498

10 years agoRevise the fault recovery code. 96/14996/1
Sung-jae Park [Tue, 14 Jan 2014 23:55:38 +0000 (08:55 +0900)]
Revise the fault recovery code.

If the data-provider-slave (inhouse dbox provider) crashed,
the master tries to recover it.

While recovering it if the client make a new request,
the master is crahsed sometimes.

Because refcnt of a handler is not managed correctly.

This patch will fix it and beautifies other parts.

Change-Id: Ic980add3ff1edfe1ce7f1863644bb08da3ba49bf

10 years agoFix the bug of creating lock file for PD buffer. 43/14743/1
Sung-jae Park [Fri, 10 Jan 2014 12:54:34 +0000 (21:54 +0900)]
Fix the bug of creating lock file for PD buffer.

Master only creates lock file for LB
This patch will fix it.

But,. buffer_handler and script_handler creates circular dependency.

buffer_handler refs script_handler
script_handler refs buffer_handler

This circular dependency must has to be resolved.

Change-Id: Icee11b696101c821cf0d1c68b32002f58db7b81e

10 years agoAdd the missing code. 90/14690/1
Sung-jae Park [Fri, 10 Jan 2014 01:33:15 +0000 (10:33 +0900)]
Add the missing code.

While refactoring the "script engine" for script type Dbox (inhouse only)
I missed "pd,hide" event sedning code.

This patch added missing code.
So the dboxes can get the "pd,hide" event correctly, in time.

Change-Id: I6d35a6ebfca7a0e08b90158579bf4f626bd392a1

10 years agoFix the fault management code. 50/14650/1
Sung-jae Park [Thu, 9 Jan 2014 04:16:56 +0000 (13:16 +0900)]
Fix the fault management code.

If a box is faulted, the service provider is going to release the buffer of PD.
However the master waiting the buffer allocation request from the service provider again.

This patch will check the fault status of a package.
and if the package is faulted, the master will not wait allocating request.
just release the buffer of PD. because it will be destroyed.

Change-Id: I65f8a8b7b76b5c24ebda40bd7b46fce42c668408

10 years agoSync with the latest code of phone profile 71/14471/5
Sung-jae Park [Sun, 5 Jan 2014 08:27:43 +0000 (17:27 +0900)]
Sync with the latest code of phone profile

Let's see the long stroy of this patch set.
(Code diff - history of code changes - is skipped)

* Sung-jae Park [Sun, 5 Jan 2014 04:02:37 +0000]
- Review the code

* Sung-jae Park [Sat, 4 Jan 2014 08:33:58 +0000]
- Remove unnecessary header inclusion

* Sung-jae Park [Sat, 4 Jan 2014 08:17:27 +0000]
- Separate the EFL plugin from the master process.
- Only the EFL should be loaded by liblivebox-edje when it is required.

* Sung-jae Park [Thu, 2 Jan 2014 03:06:48 +0000]
- Selectable service enabling code is added

* Sung-jae Park [Fri, 27 Dec 2013 10:07:35 +0000]
- Remove NONBLOCK flag from the pipe2

* youngsub ko [Fri, 27 Dec 2013 02:23:45 +0000]
- releasing data-provider-master_0.31.2-1

* youngsub ko [Thu, 26 Dec 2013 12:54:06 +0000]
- include badge-service package

* Sung-jae Park [Mon, 23 Dec 2013 15:30:00 +0000]
- Add premultipled color control conf.

* Sung-jae Park [Mon, 23 Dec 2013 05:37:20 +0000]
- Add locking mechanism.
- for SHM & FILE method for content sharing.

* Sung-jae Park [Sat, 21 Dec 2013 13:23:46 +0000]
- Remove inline keyword
- To prevent from GCC build warnings.

* Sung-jae Park [Sat, 21 Dec 2013 12:49:47 +0000]
- Replace EINA_LIST_FREE with eina_list_free

* Sung-jae Park [Sat, 21 Dec 2013 12:37:58 +0000]
- Initialize the var. for may-uninitialized (gcc)

* Sung-jae Park [Sat, 21 Dec 2013 11:38:04 +0000]
- Fix build error (inline fail)

* Sung-jae Park [Fri, 20 Dec 2013 08:06:21 +0000]
- Add log dump data

* Sung-jae Park [Wed, 18 Dec 2013 06:25:57 +0000]
- Create folder first before dump the logs.

* Sung-jae Park [Wed, 18 Dec 2013 04:09:17 +0000]
- Add alternative icon & name for the instance

* Sung-jae Park [Tue, 17 Dec 2013 09:02:00 +0000]
- Fix the invalid client pid of content filename

* Sung-jae Park [Sat, 14 Dec 2013 03:40:32 +0000]
- Add log for pkgmgr plugin

* Sung-jae Park [Fri, 13 Dec 2013 12:52:14 +0000]
- Update log path

* Sung-jae Park [Fri, 13 Dec 2013 11:56:42 +0000]
- Print error log for plugin of pkgmgr

* Sung-jae Park [Fri, 13 Dec 2013 09:45:02 +0000]
- Update log_dump script

* Sung-jae Park [Fri, 13 Dec 2013 08:48:02 +0000]
- Add new event path for propagating the delete type.

* Sung-jae Park [Thu, 12 Dec 2013 13:31:07 +0000]
- Update the fault tolerant code

* Sung-jae Park [Wed, 11 Dec 2013 00:53:53 +0000]
- update state when clear the terminating timer

* Sung-jae Park [Wed, 11 Dec 2013 00:28:29 +0000]
- Adopt the terminate timer.
- Terminate timer will be fired instead of direct terminating services.
- After the terminate timer callback is called, the service provider will be terminated.

* Sung-jae Park [Tue, 10 Dec 2013 11:44:03 +0000]
- Do not terminate process even though it gets off.vconf

* Sung-jae Park [Tue, 10 Dec 2013 10:25:15 +0000]
- Update debug log

* Sung-jae Park [Tue, 10 Dec 2013 09:17:31 +0000]
- Even if there is not enough space to manage the dboxes, try to use the tmpfs

* Sung-jae Park [Mon, 9 Dec 2013 12:36:18 +0000]
- If the system has not enough space, use tmpfs(6 MB)

* Sung-jae Park [Sat, 7 Dec 2013 06:33:22 +0000]
- Add new event path. (close_pd)
- App wants to close their PD in some cases.
- The app requests to close the PD, but the viewer can accepts it. (or rejects it)

* Sung-jae Park [Fri, 6 Dec 2013 12:45:26 +0000]
- Update key event forwarding code

* Sung-jae Park [Fri, 6 Dec 2013 04:56:50 +0000]
- Add key event path

Change-Id: Ida194388b66df8f13e264820e4b0f38cbfbaf459

10 years agoFix the crash issue. 02/13402/1
Sung-jae Park [Thu, 5 Dec 2013 05:34:12 +0000 (14:34 +0900)]
Fix the crash issue.

While processing callbacks,
if the item of callback list is deleted from it, crash can be occurred.
If the next item is deleted from the callback, when return from the callback, the item is not valid.

Change-Id: I021a81a0d620642195b0a456695bb513379bce63

10 years agoApply force option to trigger the updates forcely 54/13354/1
Sung-jae Park [Wed, 4 Dec 2013 04:59:05 +0000 (13:59 +0900)]
Apply force option to trigger the updates forcely

Change-Id: Iae803017a09e78a23bd3f79cf5e094d8732447f9

10 years agoValidate TCB before unicast packet. 93/13293/1
Sung-jae Park [Tue, 3 Dec 2013 05:32:12 +0000 (14:32 +0900)]
Validate TCB before unicast packet.

Change-Id: I24260daae56adda1af1e1e80e34d0ba2c88c7011

10 years agoSend the correct reason of a box deletion to the client. 55/13155/1
Sung-jae Park [Thu, 28 Nov 2013 11:36:13 +0000 (20:36 +0900)]
Send the correct reason of a box deletion to the client.

Change-Id: I29480833ed9b6bb2341f0b2e551a760f8e25747f

10 years agoPropagate the reason of box deletion 82/12782/1
Sung-jae Park [Fri, 22 Nov 2013 12:26:21 +0000 (21:26 +0900)]
Propagate the reason of box deletion

Change-Id: I722e9fea78fa97f88961442801d5c62361eca852

10 years agoSend the command to the slave even if it is related with faulted package 66/12666/1
Sung-jae Park [Thu, 21 Nov 2013 04:05:28 +0000 (13:05 +0900)]
Send the command to the slave even if it is related with faulted package

Change-Id: Ifcba7740c0beb0e85f349898ced5664f8c74ac84

10 years agoSend the PD destroyed event before handles registered callbacks. 02/12502/1
Sung-jae Park [Sat, 16 Nov 2013 05:35:00 +0000 (14:35 +0900)]
Send the PD destroyed event before handles registered callbacks.

To guarantees the data validity of an instance.

Change-Id: I155dbf01c3a049a98c6bea2856d9c293846084b4

10 years agoUpdate service_trigger update interface. 47/12447/1
Sung-jae Park [Fri, 15 Nov 2013 07:43:43 +0000 (16:43 +0900)]
Update service_trigger update interface.

To deliever the content_info for updating content.

Change-Id: I83f11172850259ccbab9a207f819f680d17f9362

10 years agoTry again even if a appinfo is not in the DB 09/12009/1
Sung-jae Park [Mon, 11 Nov 2013 06:13:38 +0000 (15:13 +0900)]
Try again even if a appinfo is not in the DB

Change-Id: Id3ff0edc09ab3660a98be4abbde1c8cadafbea78

10 years agoAdd new event type for uninstall/upgrade packages. 05/11805/1
Sung-jae Park [Tue, 5 Nov 2013 09:46:29 +0000 (18:46 +0900)]
Add new event type for uninstall/upgrade packages.

Change-Id: I38cc3d7b210d7c7e7aebeb498e7142a8a6ddbde2

10 years agoSend the _PKGMGR event type for deleting an instance if it is triggerd by the pkgmgr 00/11800/1
Sung-jae Park [Tue, 5 Nov 2013 07:37:28 +0000 (16:37 +0900)]
Send the _PKGMGR event type for deleting an instance if it is triggerd by the pkgmgr

Change-Id: Ia880e69ae5dcfa14dc53d311e0042605aec3209c

10 years agoAdd version table for upgrading via FOTA 76/11676/2
Sung-jae Park [Fri, 1 Nov 2013 17:50:23 +0000 (02:50 +0900)]
Add version table for upgrading via FOTA

Change-Id: I6500ac974f6eecc94e10fafc38a49d6a5a6fc46b

10 years agoFix the prevent issue. 76/11476/1
Sung-jae Park [Mon, 28 Oct 2013 11:52:19 +0000 (20:52 +0900)]
Fix the prevent issue.

If there is no parsed block, the "filebuf" remains without releasing.
Then it will be the resource(heap) leak.

If there is no parsed block, it means, the inhouse dbox write invalid script content.
But we should care the exceptional case correctly.

This patch will care the invalid script content. (for the empty content)

Change-Id: Id4920b1dbe34f1c5ca7b405d1d5f7ffd8683a2a2

10 years agoUpdate the timer for service common. 01/11401/2
Sung-jae Park [Fri, 25 Oct 2013 08:27:51 +0000 (17:27 +0900)]
Update the timer for service common.

Use the abstime to get expired timer event.

Change-Id: I4590e066c2c63add5845ee50d4722512ce0d5148
Signed-off-by: Sung-jae Park <nicesj.park@samsung.com>
10 years agoMove manifest file to the packaging folder 27/11327/1
Sung-jae Park [Thu, 24 Oct 2013 11:24:08 +0000 (20:24 +0900)]
Move manifest file to the packaging folder

Change-Id: I003effe31971805f3efc0671acaaf3376e4def20
Signed-off-by: Sung-jae Park <nicesj.park@samsung.com>
10 years agoFix the build error accepted/tizen/ivi/release accepted/tizen/ivi/stable accepted/tizen_ivi accepted/tizen_ivi_panda tizen_ivi_panda accepted/tizen/20131023.110915 accepted/tizen/20131023.171305 accepted/tizen/20131112.015229 accepted/tizen/ivi/panda/20140403.020620 accepted/tizen_ivi_stable/20131116.111532 submit/tizen/20131023.084251 submit/tizen_ivi_panda/20140403.020058 submit/tizen_ivi_stable/20131116.101023
Sung-jae Park [Wed, 23 Oct 2013 08:42:14 +0000 (17:42 +0900)]
Fix the build error

Change-Id: I94e7d04b3b494bfc00553e5235ac4f92fb7a1c52

10 years agoRemove inline. accepted/tizen/20131022.083812 submit/tizen/20131022.045600
Sung-jae Park [Tue, 22 Oct 2013 04:55:45 +0000 (13:55 +0900)]
Remove inline.

Change-Id: Icf8c647a22d25ed91fce9cbcfbad8f4f10f0dfc8

10 years agoInlining stack is too small. I think. submit/tizen/20131022.045236
Sung-jae Park [Tue, 22 Oct 2013 04:51:55 +0000 (13:51 +0900)]
Inlining stack is too small. I think.

GCC complains too much.

Change-Id: I98ee73e1d2cfd7187a2d5d31e839da503186054a

10 years agoFix build error. submit/tizen/20131022.044846
Sung-jae Park [Tue, 22 Oct 2013 04:48:30 +0000 (13:48 +0900)]
Fix build error.

Change-Id: I5b2aa0da2afd616ab223265ba40dea4ec0d59435

10 years agoShut gcc compile warning. submit/tizen/20131022.044217
Sung-jae Park [Tue, 22 Oct 2013 04:41:25 +0000 (13:41 +0900)]
Shut gcc compile warning.

This is so stupid compiler.
Even though I used them for out-value.
but it complains uninitialized variable.
What...

Change-Id: I1818b60a1a8deb849f0a578d9325b823e97cfacd

10 years agoFix build error submit/tizen/20131022.043258
Sung-jae Park [Tue, 22 Oct 2013 04:32:44 +0000 (13:32 +0900)]
Fix build error

Change-Id: I21cafadcc0af2888ea258a33536ecb0082607ef4

10 years agoFix the build error submit/tizen/20131022.042632
Sung-jae Park [Tue, 22 Oct 2013 04:26:16 +0000 (13:26 +0900)]
Fix the build error

Change-Id: I14531a751949b57beecda016141a4ac5ba07b70a

10 years agoMerge branch 'tizen_2.2' of ssh://review.tizendev.org:29418/apps/livebox/data-provide... submit/tizen/20131022.035921
Sung-jae Park [Tue, 22 Oct 2013 03:38:58 +0000 (12:38 +0900)]
Merge branch 'tizen_2.2' of ssh://review.tizendev.org:29418/apps/livebox/data-provider-master into work

Sync with the tizen 2.2 latest code.
systemd socket activation for notification service is now disabled temporarly.
After implement the systemd:// schema from the com-core, it will be able to enabled again.
I keep the .sockets service file, but it cannot be work because of com-core.

Conflicts:
CMakeLists.txt
data-provider-master.manifest
include/conf.h
packaging/data-provider-master.spec
src/event.c
src/main.c
src/parser.c
src/service_common.c
util_liveinfo/src/liveinfo.c

Change-Id: I907b79843769778164f4ad8561537dbb15293857

10 years agoMark the end of file buffer
Sung-jae Park [Mon, 21 Oct 2013 09:55:32 +0000 (18:55 +0900)]
Mark the end of file buffer

Change-Id: Ia097463edc4c9d530dfa158d42bd0f0ea73d85f1

10 years agoSync with the 3.0
Sung-jae Park [Sat, 19 Oct 2013 09:37:19 +0000 (18:37 +0900)]
Sync with the 3.0

Open DB with READONLY option.

Change-Id: I7081cecc8216dbf6543a0835233b496e06c467c4

10 years agoOptimize the script parser
Sung-jae Park [Mon, 14 Oct 2013 09:33:39 +0000 (18:33 +0900)]
Optimize the script parser

Change-Id: Id445ebb3db22471cc2228c355c6dc2247424b76c

10 years agoSimulate faulted package
Sung-jae Park [Thu, 10 Oct 2013 16:06:13 +0000 (01:06 +0900)]
Simulate faulted package

Change-Id: Icbf8b308e4cf66ec5381b97388ccc0dc6c223385

10 years agoUpdate accessibility operation.
Sung-jae Park [Thu, 10 Oct 2013 09:01:52 +0000 (18:01 +0900)]
Update accessibility operation.

Change-Id: I59437b763192ca11ce8d046e532610df633627d6

10 years agoIncrease the refcnt for lazy processing
Sung-jae Park [Tue, 1 Oct 2013 07:32:14 +0000 (16:32 +0900)]
Increase the refcnt for lazy processing

Change-Id: I67df0f364e3cf38614bc2e8647683f2e920a9f08

10 years agoDo not use the clock_gettime for compensating period
Sung-jae Park [Tue, 1 Oct 2013 01:04:25 +0000 (10:04 +0900)]
Do not use the clock_gettime for compensating period

Change-Id: Iee7ebb3d91015ee4eca1711303bc731818b462c4

10 years agoReplace gettimeofday with ecore_time_get
Sung-jae Park [Thu, 26 Sep 2013 01:50:08 +0000 (10:50 +0900)]
Replace gettimeofday with ecore_time_get

Change-Id: I42075e0f216e525c5f7def389246ef0bead558d9

10 years agoUpdate slave_activate_all/deactivate_all function.
Sung-jae Park [Mon, 23 Sep 2013 23:33:01 +0000 (08:33 +0900)]
Update slave_activate_all/deactivate_all function.

counting call.
signal & low mem callback uses these API.

Change-Id: I565eda19feb94308011abf3f87b366a8cc3e685f

10 years agog_type_init is deprecated.
Sung-jae Park [Wed, 18 Sep 2013 13:24:39 +0000 (22:24 +0900)]
g_type_init is deprecated.

Check the glib version before call it.

Change-Id: Id7ce4e1d59b611844920d72c7901361361a4572e

10 years agoUpdate script engine init ABI
Sung-jae Park [Wed, 18 Sep 2013 13:11:17 +0000 (22:11 +0900)]
Update script engine init ABI

Give the current scale factor to the script engine

Change-Id: I51fbc2c4db3a18e68c45e6beb9c2a17e8487f39a

10 years agoAdd support for systemd socket activation for notification service 32/9932/3 accepted/tizen/20130919.180124 accepted/tizen/20130920.205114 submit/tizen/20130919.025324
Rusty Lynch [Wed, 11 Sep 2013 20:13:40 +0000 (13:13 -0700)]
Add support for systemd socket activation for notification service

The notificaiton library no longer depends on the vconf based IPC
mechanism for listening for the master to start, instead utilizing
the systemd based socket activation.

Change-Id: I25b74270a3db040442decb9e66df419d90c53eca
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
10 years agoRemove default content string.
Sung-jae Park [Mon, 16 Sep 2013 08:13:31 +0000 (17:13 +0900)]
Remove default content string.

Change-Id: Iccb4b8eeee5aa72e387b51e1b56f35be99b447bd

10 years agoFix the default content info bug.
Sung-jae Park [Mon, 16 Sep 2013 06:52:11 +0000 (15:52 +0900)]
Fix the default content info bug.

If there is no definition of content info,
it should be "".

Change-Id: I25fd26e61a881190b1a2cdcbe003f76a146ea20f

10 years agoUpdate sequence of conf loading.
Sung-jae Park [Sat, 14 Sep 2013 11:44:25 +0000 (20:44 +0900)]
Update sequence of conf loading.

Load the script engine plugin when it is required.

Change-Id: I537b1dd927c07a95eeea28ff35231f7a46fb37f2

10 years agoFix prevent issue.
Sung-jae Park [Tue, 10 Sep 2013 01:46:03 +0000 (10:46 +0900)]
Fix prevent issue.

Change-Id: I07747c6c1e0a984e597a6dbbea9e71eeab1e4647

10 years agoSend INSTANCE_DESTROY_PKGMGR only if it should be recreated
Sung-jae Park [Wed, 4 Sep 2013 10:27:52 +0000 (19:27 +0900)]
Send INSTANCE_DESTROY_PKGMGR only if it should be recreated

Change-Id: Ic7cca5fe3fc463c76c629ce56cb18eda1af2e534

10 years agoUpdate image/desc filename management code.
Sung-jae Park [Wed, 4 Sep 2013 04:41:34 +0000 (13:41 +0900)]
Update image/desc filename management code.

Change-Id: I1387900fcd2819e86732075966f31895b00fa31c

10 years agoUpdate package management code.
Sung-jae Park [Tue, 3 Sep 2013 02:26:39 +0000 (11:26 +0900)]
Update package management code.

1. Deliever the reason why the instance is deleted when send a delete event to service provider.
2. Fix the bug of package manager event handler
3. Input event thread is updated. Check the slot number.
4. Remove some field of instance ADT which is duplicated with package ADT.

Change-Id: Ica570847d82e7d3eb4c8514938967b554e9ec99b

10 years agoSend delete type to service provider.
Sung-jae Park [Thu, 29 Aug 2013 03:54:38 +0000 (12:54 +0900)]
Send delete type to service provider.

Change-Id: I97a84b69c0e04c9f6d75d48b2886d903a6194944

10 years agoFix the prevent issue.
Sung-jae Park [Fri, 23 Aug 2013 09:24:20 +0000 (18:24 +0900)]
Fix the prevent issue.

Change-Id: I5d265288989fc1c282a3aa44ca8ff442fda07e71

10 years agoFix i586 build error
Sung-jae Park [Wed, 14 Aug 2013 06:12:00 +0000 (15:12 +0900)]
Fix i586 build error

Change-Id: I010ec831337c2673aee84c6f09406b85015c75f9

10 years agoSupress the build warnings
Sung-jae Park [Wed, 14 Aug 2013 02:10:08 +0000 (11:10 +0900)]
Supress the build warnings

Change-Id: I5bb789ea2721b1dc34fdcb18a06d9a150b3540ab

10 years agoDo not overwrite the CFLAGS
Sung-jae Park [Wed, 14 Aug 2013 01:51:41 +0000 (10:51 +0900)]
Do not overwrite the CFLAGS

Change-Id: I9ad69995657d1d0cc3040bee28dcc1110717166b

10 years agopkgmgr plugin, coding convention, AUL exception
Sung-jae Park [Tue, 13 Aug 2013 00:51:14 +0000 (09:51 +0900)]
pkgmgr plugin, coding convention, AUL exception

Package manager plugin handles updating packages correctly.
Coding convention is updated.
AUL launch exception is updated

Change-Id: I6be04e432ec9fbc698df377ef8b198855ecb76e1

10 years agoFix the prevent issues.
Sung-jae Park [Tue, 6 Aug 2013 08:11:23 +0000 (17:11 +0900)]
Fix the prevent issues.

Change-Id: I34b194ff1b551dfcc13f588253198e885f3e258d

10 years agoRemote client service is implemented.
Sung-jae Park [Mon, 5 Aug 2013 12:40:21 +0000 (21:40 +0900)]
Remote client service is implemented.

But not yet published.
Slave Life cycle management code is updated.
(Return value handling codes are updated)

Change-Id: I8670b9502c11dce404b5a42db6e00fc31dbbdbe4

10 years agoBefore send a packet, check the status of socket.
Sung-jae Park [Wed, 24 Jul 2013 00:47:18 +0000 (09:47 +0900)]
Before send a packet, check the status of socket.

If it is unavailable, waiting 2 secs.

Change-Id: I545891a7622de82282416d063a5a0f4bd95247e6

10 years agoFix the variable name.
Sung-jae Park [Thu, 18 Jul 2013 01:48:32 +0000 (10:48 +0900)]
Fix the variable name.

Change-Id: I58b619ed9dce36dbfe12c67f1076f1e6edd76a5d

10 years agoExecute DDL for livebox DB if it is empty.
Sung-jae Park [Thu, 18 Jul 2013 01:13:19 +0000 (10:13 +0900)]
Execute DDL for livebox DB if it is empty.

Change-Id: I802646f5a5c8323abfb3a56a79f4ce047ad9c561

10 years agoUpdate Accessibility Event Path.
Sung-jae Park [Mon, 15 Jul 2013 03:43:01 +0000 (12:43 +0900)]
Update Accessibility Event Path.

Review the server code.
Duplicated code set are extracted to a inline function.
To enhance the code-readability.

Change-Id: Ib2c67b9b48d01ecf037b5f84e24e7994c03cd195

10 years agoManage the fault of service providers(osp,web).
Sung-jae Park [Fri, 12 Jul 2013 04:19:54 +0000 (13:19 +0900)]
Manage the fault of service providers(osp,web).

While processing the PD open/close operation, the service provider can be faulted.
In that case the master should care the processed operation.
So the master will add the slave deactivate event handler and if it is raised up,
the master will clean all resources related with monitoring PD open/close operations.

Change-Id: Ia5e9937d66af3192c4ff08ed26e923438627bfda

10 years agoPackage name of web-provider is changed.
Sung-jae Park [Fri, 5 Jul 2013 06:36:13 +0000 (15:36 +0900)]
Package name of web-provider is changed.

Change-Id: I1cd03b611c76e136e7aee1c5ed436b5bea0e0293

10 years agoRemove last trailing comma
Sung-jae Park [Wed, 3 Jul 2013 23:38:58 +0000 (08:38 +0900)]
Remove last trailing comma

Change-Id: I6d761cae850308cfcc697dfc1698e7f5cb519a32

10 years agoUpdate acquire/release pixmap operation & fix crash bug
Sung-jae Park [Wed, 3 Jul 2013 11:26:49 +0000 (20:26 +0900)]
Update acquire/release pixmap operation & fix crash bug

while terminating service threads,

in case of the "ptr" is not initialized (at the first time),
calling a "free" function can be crashed.

Change-Id: If261e1ab4f35ac72d64ccb9dcba127e1cdc8e083

10 years agoFix the invalid list item handling code.
Sung-jae Park [Sun, 30 Jun 2013 11:26:51 +0000 (20:26 +0900)]
Fix the invalid list item handling code.

List doesn't remove the released item.
So it can generate the crash while crawling the list.

Change-Id: I27eb10482353d690dca5380a70937adaebf4e798

10 years agoValidate the user level smack rule for shortcut
Sung-jae Park [Sun, 30 Jun 2013 01:19:10 +0000 (10:19 +0900)]
Validate the user level smack rule for shortcut

Change-Id: I8f01b121415b0b1537df2dcd4b93de22292c7ae3

10 years agoHandling the exceptions for PD request correctly.
Sung-jae Park [Sat, 29 Jun 2013 05:06:18 +0000 (14:06 +0900)]
Handling the exceptions for PD request correctly.

When the master gets time out for PD request.
It doesn't reset the PD,owner after delete it.
So the client cannot request a open the PD again.

Change-Id: Ice2742383fdc2713caa887292fed0fdb69d04e70

10 years agoaccess control of badge/notification is enabled
youngsub ko [Sun, 30 Jun 2013 00:47:40 +0000 (09:47 +0900)]
access control of badge/notification is enabled

Change-Id: Icf0cde296fac0d1d89f6c39144334ee2ba986b98

10 years agoUpdate Easy mode livebox size.
Sung-jae Park [Thu, 27 Jun 2013 07:50:24 +0000 (16:50 +0900)]
Update Easy mode livebox size.

Change-Id: I7232641228407c02f257fb44621a72eb1c2ffc68

10 years agoUpdate Log
Sung-jae Park [Thu, 27 Jun 2013 05:09:44 +0000 (14:09 +0900)]
Update Log

Change-Id: Idf8b8e615e654089fe392319b4693ddfb0d93891

10 years agoReset block after consuming it.
Sung-jae Park [Thu, 27 Jun 2013 01:13:09 +0000 (10:13 +0900)]
Reset block after consuming it.

Change-Id: I129a1c9424615a2480ac69ac5049675c3a692042

10 years agoUpdate Input event thread. and reduce the logs.
Sung-jae Park [Wed, 26 Jun 2013 23:54:28 +0000 (08:54 +0900)]
Update Input event thread. and reduce the logs.

Change-Id: I8d45f484fb581b8f0dbea555b86deec02a056dd0

10 years agoUpdate provider tag
Sung-jae Park [Tue, 25 Jun 2013 06:16:35 +0000 (15:16 +0900)]
Update provider tag

for newly added smack labels.

Change-Id: I23f84ce0582db68b64188274f2be2d6999eedee7

10 years agoUser level smack check for rm_livebox, rm_shortcut
Sung-jae Park [Tue, 25 Jun 2013 02:41:37 +0000 (11:41 +0900)]
User level smack check for rm_livebox, rm_shortcut

Change-Id: Ic02a1c42e96e6cb665632a9425a2369ef69c39ef

10 years agoAdd smack rule file.
Sung-jae Park [Mon, 24 Jun 2013 08:27:01 +0000 (17:27 +0900)]
Add smack rule file.

Update version

Change-Id: I2fd04f3396e6ff3ef2db6aa73ba0bd7b9fd7c6e7

10 years agoUser level smack control added for notification
Sung-jae Park [Mon, 24 Jun 2013 08:15:47 +0000 (17:15 +0900)]
User level smack control added for notification

Change-Id: I58b89984321e8a249fbd976eeb8eb613e29ad439

10 years agoUpdate Easymode DBox size.
Sung-jae Park [Fri, 21 Jun 2013 11:06:38 +0000 (20:06 +0900)]
Update Easymode DBox size.

Change-Id: Ia7a900a5829a6b66e90dc642b80562ab8c3b7c45

10 years agoUser level smack permission check is applied.
Sung-jae Park [Fri, 21 Jun 2013 09:40:18 +0000 (18:40 +0900)]
User level smack permission check is applied.

User level smack permission check code is implemented.
But in this patch, even if it fails to check the permission, service will be going on.
After two weeks later, it will be rejected if it has no permission to get service.

Change-Id: I6ea53665dd3f4ceb27edf90f56b7c368c8f6b31e

10 years agoUpdate ChangeLog 54/4154/1 accepted/tizen/20130620.160431 accepted/tizen/20130912.082636 accepted/tizen/20130912.085532 accepted/tizen/20130912.093403 submit/tizen/20130620.131843 submit/tizen/20130912.075654
Victor Hakoun [Thu, 20 Jun 2013 13:17:26 +0000 (15:17 +0200)]
Update ChangeLog

Change-Id: I892fa4265f4c9b951e0bb01146dbb14f8d0afb8d

10 years agoReplace manifest with default floor 53/4153/1
Victor Hakoun [Thu, 20 Jun 2013 13:15:00 +0000 (15:15 +0200)]
Replace manifest with default floor

Change-Id: Ic8159965b8851c333d48812687c90bd0a2e1c06f

10 years agoFix various bugs.
Sung-jae Park [Thu, 20 Jun 2013 07:51:36 +0000 (16:51 +0900)]
Fix various bugs.

If the service_trigger_update fails, return its status.

[issue#] N/A
[problem] User wants to know how many instances are affected by update trigger request.
[cause] Docomo requires this.
[solution] Check the created instances and return NOT_EXISTS if there are no instances.
[team] HomeTF
[request]
[horizontal_expansion]
--------------------------------------------

Remove unnecessary storage space check code

[issue#] P130607-6207
[problem] PD open/close is not related with storage space.
[cause] Even if a user tries to open a PD, master checks disk space for openning it.
[solution] PD open is not necessary to check the free disk space. So remove it.
[team] HomeTF
[request]
[horizontal_expansion]
--------------------------------------------

Apply GCC 4.8 patch

[issue#] N/A
[problem] GCC 4.8 complier complains about unused variables.
[cause] Unused variables are declared.
[solution] Remove it.
[team] HomeTF
[request]
[horizontal_expansion]
--------------------------------------------

Change-Id: Id861b50f65a00c3c9a25b1c01be7068e897f74e2

10 years agoCheck the PD owner.
Sung-jae Park [Fri, 14 Jun 2013 05:50:57 +0000 (14:50 +0900)]
Check the PD owner.

[model] Tizen
[binary_type] AP
[customer] Tizen Developer
[issue#] N/A
[problem] No one can open or close the PD if it is not owned by requestor.
[cause] N/A
[solution] N/A
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: If4bbe6917507392fed21d3bca8bb791b379c24ef

10 years agoAdd missing package dependencies for smack.
Sung-jae Park [Thu, 13 Jun 2013 09:15:10 +0000 (18:15 +0900)]
Add missing package dependencies for smack.

[model] Tizen
[binary_type] AP
[customer] Tizen Developer
[issue#] N/A
[problem] Insatllation failed
[cause] Unresolvable smack label found.
[solution] Add Requires to spec file.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I7cbbf86f4660b1d77b2dc43aa384f2f48299e827

10 years agoMerge branch 'tizen_2.1' into tizen_2.2
Sung-jae Park [Thu, 13 Jun 2013 02:05:09 +0000 (11:05 +0900)]
Merge branch 'tizen_2.1' into tizen_2.2

Change-Id: Ia524d02d549ca8c8807490e89e487346492bb651