Sung-jae Park [Thu, 17 Apr 2014 12:58:36 +0000 (21:58 +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.
Change-Id: I79c2aafe4ab5c2480a29a413701058ce92999c99
Sung-jae Park [Thu, 17 Apr 2014 11:38:22 +0000 (20:38 +0900)]
Don't try to unpremultipling alpha value.
For the sake for scrolling performance.
Change-Id: I12fff34ef90d5970f159461c31aac6f21c982216
youngsub ko [Wed, 16 Apr 2014 08:05:39 +0000 (17:05 +0900)]
[notification service] fixed problem multicast packet about deleting notification sent to viewers when deletion isn't successful
youngsub ko [Wed, 16 Apr 2014 06:28:34 +0000 (15:28 +0900)]
[notification service] code cleanup
Sung-jae Park [Thu, 10 Apr 2014 12:21:31 +0000 (21:21 +0900)]
Add missing dependency (eina)
Change-Id: Ifb9224576352fe4a681dd33da30fcd40d14c0190
Sung-jae Park [Sat, 5 Apr 2014 08:48:52 +0000 (17:48 +0900)]
Route & feed the on_hold,on_scroll events.
Change-Id: I57869db691caf478c95880167e8ab64f7bfb6231
Sung-jae Park [Thu, 3 Apr 2014 08:21:58 +0000 (17:21 +0900)]
Fix the bug of upgrading package.
While upgrading packages, the instance's update period doesn't updated correctly.
This patch will apply the new update period.
But if the instance's update period is changed manually, (that is not same with in the XML),
the master will not touch it.
Only if the period is same with orignal value in the old XML, will be updated to the new value.
Change-Id: I4e8e9f8a104a3010b6261ab77770960463051c84
Sung-jae Park [Thu, 20 Mar 2014 00:31:09 +0000 (09:31 +0900)]
Add slave control option.
* Manual reactivation
If this flag is on, the master will not reactivate the provider automatically.
* Manual termination
If this flag is on, the master will not terminate the provider even though it has no DBox instances.
Change-Id: Ibc71ee6f5bb735ed24f25b5120713fcf9df130e7
Sung-jae Park [Thu, 6 Mar 2014 15:21:29 +0000 (00:21 +0900)]
Fix the bug of faulted package handler (wayland too).
If a package is faulted,
Destroy all instances of the package.
Add wayland.conf file install script
Change-Id: I271f9da19d5cb92eddb836802f1f81d5d73e17d9
Sung-jae Park [Thu, 6 Mar 2014 07:04:36 +0000 (16:04 +0900)]
Enable wayland build
Pixmap is not able to be used in wayland world.
Change-Id: I0ad28017f7f7bfd53f0ce71491f04b16a4c52b14
Sung-jae Park [Wed, 5 Mar 2014 06:13:15 +0000 (15:13 +0900)]
Use the pixel_size and share it with service & viewer
Change-Id: I9796f8c2dd98a5faee29be4ccad16ef23d33fe77
Sung-jae Park [Fri, 28 Feb 2014 07:14:15 +0000 (16:14 +0900)]
Updated for adding a type for closing PD
Change-Id: I2519e7776ba15aa51b462e4059a89b7bec0b8afd
Sung-jae Park [Mon, 17 Feb 2014 10:31:50 +0000 (19:31 +0900)]
SLAVE_TTL can be disabled if its interval is 0.0f
previously, there is no way to disable the TTL timer.
but for some specific cases, TTL timer should be disabled.
This patch will disable the TTL timer if its interval is 0.0f
Only the TTL timer will be enabled if its interval is larger than 0.0f
Change-Id: Ic6b96d265639e9cf29889eaa9127537bfc1cf1b3
Sung-jae Park [Fri, 14 Feb 2014 09:34:08 +0000 (18:34 +0900)]
Fix prevent warnings.
bind_text can accept the NULL parameter.
So replace the "" with NULL like its original value.
bind_text function will cares it correctly.
Change-Id: I6f870b7db6a8c8d1b028fd738b197058b4880dc6
Sung-jae Park [Fri, 14 Feb 2014 05:30:54 +0000 (14:30 +0900)]
Fix the build error (x86)
Change-Id: I103e9c25b5080f44cf6b3188cb459a8e8ebb938e
Sung-jae Park [Fri, 14 Feb 2014 02:47:49 +0000 (11:47 +0900)]
Fix build error (x86) - set but not used warning
Change-Id: Idbbe0dc98eadf0ce113f886e81577258674cdd70
Sung-jae Park [Fri, 14 Feb 2014 01:42:45 +0000 (10:42 +0900)]
Fix build error (set but unused variables)
Change-Id: Idf647618deddb93ea085abcc020b0994f5ddc2fc
Sung-jae Park [Fri, 14 Feb 2014 00:57:06 +0000 (09:57 +0900)]
Fix build error - defined but unused variable
Change-Id: I52ea4ebf6e4795e7a1900c2c8bd5b93447f78e06
Sung-jae Park [Tue, 11 Feb 2014 05:40:00 +0000 (14:40 +0900)]
Remove timer for liveinfo service
Change-Id: I43000a6ac0617a9719de3d6b3ffc87b39d8c9521
Sung-jae Park [Tue, 11 Feb 2014 02:53:17 +0000 (11:53 +0900)]
Update systemd service file
Change-Id: Ie06fd1d96cea6a521b76de99785ff6815e149256
Sung-jae Park [Mon, 10 Feb 2014 22:39:01 +0000 (07:39 +0900)]
Update liveinfo server
Change-Id: I1c50e24579f8c0feae0f006d037719cfee085607
Sung-jae Park [Fri, 31 Jan 2014 15:19:33 +0000 (00:19 +0900)]
Update the fault detection code.
If the inhouse livebox is faulted.
the log file can be used to find the package.
Change-Id: I775b4c7e9c33dba62608cc0829c562451b29678a
Sung-jae Park [Wed, 29 Jan 2014 12:40:13 +0000 (21:40 +0900)]
Update create DB operation.
Change-Id: I7d91d1cbc7c90b0b066253fd3a62c4b18d1add03
Sung-jae Park [Wed, 29 Jan 2014 02:53:22 +0000 (11:53 +0900)]
Add category attribute.
Liveboxes can be grouped by its category.
idle-clock, icon, default, ...
Change-Id: Ia2b2d6fd1ee8704ba575b1eb5a88b2741c12b713
Petr Bred [Wed, 15 Jan 2014 14:10:26 +0000 (18:10 +0400)]
Optimizing widget loading time
- change dependencies in service file
Change-Id: I1173c75dd50b2d1d3747204cd1fc1c54bd484dbe
Signed-off-by: Petr Bred <p.bred@samsung.com>
Sung-jae Park [Wed, 22 Jan 2014 05:07:56 +0000 (14:07 +0900)]
Fix build error
Change-Id: I03831b4ef5e7db85e017c2423416d541408d0039
Sung-jae Park [Wed, 22 Jan 2014 01:57:28 +0000 (10:57 +0900)]
Casting the error code.
To prevent from unexpected comparison
Change-Id: I0387cdad9b474b9baddd132d38001ec03d294d79
Sung-jae Park [Wed, 22 Jan 2014 00:57:51 +0000 (09:57 +0900)]
Fix prevent issues
Change-Id: Ifdb9642abdcd1b424a882cfff07c5696eb84c290
Sung-jae Park [Tue, 21 Jan 2014 02:32:46 +0000 (11:32 +0900)]
Release the Pixmap even if the instance is deleted.
Client can try to destroy the pixmap after the instance is deleted.
so the server should try to find the buf_handler first using given pixmap.
Change-Id: I59a2d2e7a4347d660b1a018b4a593201ceefe8ad
Sung-jae Park [Sat, 18 Jan 2014 14:43:22 +0000 (23:43 +0900)]
Handling the exceptional cases.
if user tries to delete an instance before get the created event callback.
the master cannot get the id of it.
in that case the master cannot delete the instance.
So, if the master could not find the instance, (id == ""), try to find it using timestamp again.
Change-Id: Ib4f565ff812d3ab16393154d41e9ec0e87e70e34
Sung-jae Park [Tue, 14 Jan 2014 04:21:15 +0000 (13:21 +0900)]
Check exceptional cases
Change-Id: Id342d8f10ebc33c4cb92b9850af06a269c16fe8f
Sung-jae Park [Fri, 10 Jan 2014 12:53:28 +0000 (21:53 +0900)]
Fix the PD lock file creating code.
It couldn't create a lock file for PD buffer.
Change-Id: Ic42cb6bc810f159a73b910ed8fc3c6bcb1e91a5b
Sung-jae Park [Fri, 10 Jan 2014 01:54:54 +0000 (10:54 +0900)]
Apply memory limitation to 50M
Change-Id: I4589cb0a49d43154e864b5aab84b8de5e7f516d7
Sung-jae Park [Fri, 10 Jan 2014 01:30:44 +0000 (10:30 +0900)]
Add missing event, "pd,hide"
While refactorying the script-engine for DBox content rendering,
I missed "pd,hide" event sending code.
Change-Id: I90b7b5bfb12ad53d51d758d0570f7be1371c7f26
Sung-jae Park [Wed, 8 Jan 2014 23:39:11 +0000 (08:39 +0900)]
Update fault handling code (PD buffer release)
Change-Id: Iab92be38822e9c3b2399a45f707b7a9c4deaab99
Sung-jae Park [Sun, 5 Jan 2014 05:53:47 +0000 (14:53 +0900)]
Hide unnecessaryly exported API
Change-Id: I7f2785fb4a1a8528c51c12562046d7e9eb6fc47d
Sung-jae Park [Sun, 5 Jan 2014 04:02:37 +0000 (13:02 +0900)]
Review the code
Change-Id: I5333e0594ec466b1a63f49feccd8ccbf63bea8cb
Sung-jae Park [Sat, 4 Jan 2014 08:33:58 +0000 (17:33 +0900)]
Remove unnecessary header inclusion
Change-Id: Ia7ea9a401efc8b3fdfc271e74b57de914e999d44
Sung-jae Park [Sat, 4 Jan 2014 08:17:27 +0000 (17:17 +0900)]
Separate the EFL plugin from the master process.
Only the EFL should be loaded by liblivebox-edje when it is required.
Change-Id: I35bce038a77d8d9b5d350071858c4b5c8e9dc765
Sung-jae Park [Thu, 2 Jan 2014 03:06:48 +0000 (12:06 +0900)]
Selectable service enabling code is added
Change-Id: I46962ad285bfe3442d048b487989388edfa1e82d
SangmanLee [Fri, 27 Dec 2013 11:37:47 +0000 (20:37 +0900)]
Merge "Remove NONBLOCK flag from the pipe2" into devel/home/master
Sung-jae Park [Fri, 27 Dec 2013 10:07:35 +0000 (19:07 +0900)]
Remove NONBLOCK flag from the pipe2
Change-Id: I48ea77f7ee4ff3b515e64fb0b9acca3235bfa169
youngsub ko [Fri, 27 Dec 2013 02:23:45 +0000 (11:23 +0900)]
releasing data-provider-master_0.31.2-1
youngsub ko [Thu, 26 Dec 2013 12:54:06 +0000 (21:54 +0900)]
include badge-service package
Sung-jae Park [Mon, 23 Dec 2013 15:30:00 +0000 (00:30 +0900)]
Add premultipled color control conf.
Change-Id: If49a426b00593382a7b0c06ad78020831a8055f4
Sung-jae Park [Mon, 23 Dec 2013 05:37:20 +0000 (14:37 +0900)]
Add locking mechanism.
for SHM & FILE method for content sharing.
Change-Id: I04f6e96195a4e6e01cccc940a96ec28819f54933
Sung-jae Park [Sat, 21 Dec 2013 13:23:46 +0000 (22:23 +0900)]
Remove inline keyword
To prevent from GCC build warnings.
Change-Id: Ic3dd034fadaf1c746511781d41dbf87a74643c86
Sung-jae Park [Sat, 21 Dec 2013 12:49:47 +0000 (21:49 +0900)]
Replace EINA_LIST_FREE with eina_list_free
Change-Id: Ib681da22bf7bf36524796814fdef7373e00a1b8a
Sung-jae Park [Sat, 21 Dec 2013 12:37:58 +0000 (21:37 +0900)]
Initialize the var. for may-uninitialized (gcc)
Change-Id: I40d1e2de76f521e1843df6e8fea22803baabccea
Sung-jae Park [Sat, 21 Dec 2013 11:38:04 +0000 (20:38 +0900)]
Fix build error (inline fail)
Change-Id: Ifc0e25608552867482a948bce0f5041228698cd0
Sung-jae Park [Fri, 20 Dec 2013 08:06:21 +0000 (17:06 +0900)]
Add log dump data
Change-Id: I47db32a63a4caed62f4433fe07c4af16197564ff
Sung-jae Park [Wed, 18 Dec 2013 06:25:57 +0000 (15:25 +0900)]
Create folder first before dump the logs.
Change-Id: Idf68ecb76e6fe2a3f500f28ab9d6e75cef005b7d
Sung-jae Park [Wed, 18 Dec 2013 04:09:17 +0000 (13:09 +0900)]
Add alternative icon & name for the instance
Change-Id: I03b27485895584ccc48f98d0fc59c4f686fe8897
Sung-jae Park [Tue, 17 Dec 2013 09:02:00 +0000 (18:02 +0900)]
Fix the invalid client pid of content filename
Change-Id: I2d31a4560ffbf8cec14177dc2cc523d051e8e834
Sung-jae Park [Sat, 14 Dec 2013 03:40:32 +0000 (12:40 +0900)]
Add log for pkgmgr plugin
Change-Id: I4ca0587fd218b135dbf5d73ba37206a517b441b2
Sung-jae Park [Fri, 13 Dec 2013 12:52:14 +0000 (21:52 +0900)]
Update log path
Change-Id: Ibe249b56f3d9a8935b67c0179b897d5a28cb38de
Sung-jae Park [Fri, 13 Dec 2013 11:56:42 +0000 (20:56 +0900)]
Print error log for plugin of pkgmgr
Change-Id: I05110888f062119d80090b7030b48feb18dac146
Sung-jae Park [Fri, 13 Dec 2013 09:45:02 +0000 (18:45 +0900)]
Update log_dump script
Change-Id: If35152f4206129e89dd696f20f222a356ad4af9a
Sung-jae Park [Fri, 13 Dec 2013 08:48:02 +0000 (17:48 +0900)]
Add new event path for propagating the delete type.
Change-Id: Ic36bfcbd5135167c628ef7b1df96fccd5cbcaa18
Sung-jae Park [Thu, 12 Dec 2013 13:31:07 +0000 (22:31 +0900)]
Update the fault tolerant code
Change-Id: I5395e4899025c2037aceb2cc046920d8c43266e7
Sung-jae Park [Wed, 11 Dec 2013 00:53:53 +0000 (09:53 +0900)]
update state when clear the terminating timer
Change-Id: I449d0de43f415fc20e993241b61d8b3fa380c93f
Sung-jae Park [Wed, 11 Dec 2013 00:28:29 +0000 (09:28 +0900)]
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.
Change-Id: Ifc9d6083eacc3a38112388d4e0ebae6dcd836d65
Sung-jae Park [Tue, 10 Dec 2013 11:44:03 +0000 (20:44 +0900)]
Do not terminate process even though it gets off.vconf
Change-Id: Ib61abb20e3fccbd8665f4ba8ce9ff0b82d236a85
Sung-jae Park [Tue, 10 Dec 2013 10:25:15 +0000 (19:25 +0900)]
Update debug log
Change-Id: I67f905ae54818011f95c8c705bd0cd62c1284420
Sung-jae Park [Tue, 10 Dec 2013 09:17:31 +0000 (18:17 +0900)]
Even if there is not enough space to manage the dboxes, try to use the tmpfs
Change-Id: Ic299c9ee7f057344544fbd1ccdfd08e3476b6410
Sung-jae Park [Mon, 9 Dec 2013 12:36:18 +0000 (21:36 +0900)]
If the system has not enough space, use tmpfs(6 MB)
Change-Id: I2d3eeaef7b8eaec279b1dbd8894691bf5799b8dc
Sung-jae Park [Sat, 7 Dec 2013 06:33:22 +0000 (15:33 +0900)]
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)
Change-Id: Iafa51eb0756b3108aca127bd4a94f349bab8e6dc
Sung-jae Park [Fri, 6 Dec 2013 12:45:26 +0000 (21:45 +0900)]
Update key event forwarding code
Change-Id: I6b6f396db03a8865bf34a1076e35ddfee4e7e7b7
Sung-jae Park [Fri, 6 Dec 2013 04:56:50 +0000 (13:56 +0900)]
Add key event path
Change-Id: I2fa5f6585c6863cb898e0dbb497d4eb134132b21
Sung-jae Park [Thu, 5 Dec 2013 05:31:38 +0000 (14:31 +0900)]
Fix the crash issue.
Change-Id: I3dc7154a092a4c04d5c4495bd760180c3b969e35
Sung-jae Park [Wed, 4 Dec 2013 04:49:41 +0000 (13:49 +0900)]
Enable force option for triggering update.
Change-Id: Ic87d605bf3f9e206d48e8f8044919670ff566f87
Sung-jae Park [Tue, 3 Dec 2013 03:17:48 +0000 (12:17 +0900)]
Validate the TCB before unicast a packet.
Change-Id: I626f66470c00832a12f00856b3fc3ede1779d168
Sung-jae Park [Fri, 29 Nov 2013 15:53:01 +0000 (00:53 +0900)]
Debug mode configuration added
Change-Id: I9876d28074ec3a7a3f40dfab6eccefb030b4d973
Sung-jae Park [Thu, 28 Nov 2013 11:12:02 +0000 (20:12 +0900)]
Send the deleted reason to the client.
Change-Id: Ie0407029b5306afe674b5f1db45d1df2b88c442c
Sung-jae Park [Fri, 22 Nov 2013 12:12:04 +0000 (21:12 +0900)]
Propagate the reason of box deletion.
Change-Id: I57fb4c641828edad9d7a414fd7c6a80d345141bc
Sung-jae Park [Fri, 22 Nov 2013 08:49:07 +0000 (17:49 +0900)]
sysvinit script is removed from installation file list
Change-Id: Ia414f949fe8bcaf90342134c3cc6f0e0acb53bac
Sung-jae Park [Thu, 21 Nov 2013 04:03:58 +0000 (13:03 +0900)]
Send the command to the slave even if it is related with faulted package.
Change-Id: I694bd5a0ae996e862979e991f0937db4da38b039
Sung-jae Park [Mon, 18 Nov 2013 13:02:37 +0000 (22:02 +0900)]
Remove libstorage temporarly.
Change-Id: I96ceee6a02f7754e8bcf6f8bfd146b103ca1c1dc
Sung-jae Park [Mon, 18 Nov 2013 06:01:00 +0000 (15:01 +0900)]
Reset script/buffer handler of instance if it is destroyed
Change-Id: If2aac801c7a1a4b6954f98a053dcf73cd3ae6e9c
Sung-jae Park [Sat, 16 Nov 2013 05:33:10 +0000 (14:33 +0900)]
Send the pd-destroyed event before invoke instance destroy callbacks.
Change-Id: I6e0c5668c5ea75497c6dfb6e7556f40c612bf4c2
Sung-jae Park [Fri, 15 Nov 2013 10:52:47 +0000 (19:52 +0900)]
Apply libstorage API
To get the available space of the /opt/usr partition(user, rw),
libstorage package supports an API.
Change-Id: I33b11b1793a18da13ed34e7a901c3b6f80bb58bf
Sung-jae Park [Fri, 15 Nov 2013 07:35:22 +0000 (16:35 +0900)]
Update service-update event path.
To path the content_info to the provider when it requires to be updated.
Change-Id: I418d952cbf9c0d38e74a80afcecd245e8bacf1de
Sung-jae Park [Mon, 11 Nov 2013 06:12:16 +0000 (15:12 +0900)]
Try again if it fails to get appinfo from the DB
Change-Id: I25a6d1f87e2485e90cad7fc31993f014f90d3bff
Sung-jae Park [Tue, 5 Nov 2013 09:38:08 +0000 (18:38 +0900)]
Assign values for enumerator explicitly.
Change-Id: Ie6abcdb8fb2a257e47f153286b638256c9551e12
Sung-jae Park [Tue, 5 Nov 2013 09:30:54 +0000 (18:30 +0900)]
Update DESTROY type
Replace PKGMGR with UNINSTALL & UPGRADE.
Change-Id: I2715dbc42f1c8eed6ec48db8e39887b8836df8c3
Sung-jae Park [Tue, 5 Nov 2013 07:27:11 +0000 (16:27 +0900)]
Change the instance delete type.
If an instance is deleted by the pkgmgr, use the _PKGMGR type.
Change-Id: I210b3855511ed40217ece5e0889283e98edaaae5
Sung-jae Park [Mon, 4 Nov 2013 05:02:50 +0000 (14:02 +0900)]
Remove SETUID from executable file.
Change-Id: If9311cf74a12cdbb5084d6c51cb5fc8080d81a6b
Sung-jae Park [Fri, 1 Nov 2013 17:14:51 +0000 (02:14 +0900)]
Add version table for FOTA upgrading.
pkgmgr livebox plugin
Change-Id: I5ebb9209fb8c976eb09da184c0906fd8622a3205
youngsub ko [Thu, 31 Oct 2013 06:37:57 +0000 (15:37 +0900)]
releasing data-provider-master_0.25.21-1
youngsub ko [Thu, 31 Oct 2013 02:14:37 +0000 (11:14 +0900)]
include notification_setting_service.h header
youngsub ko [Tue, 29 Oct 2013 11:09:23 +0000 (20:09 +0900)]
include notfication-service package
Sung-jae Park [Mon, 28 Oct 2013 11:28:45 +0000 (20:28 +0900)]
Fix the prevent issue.
Change-Id: I80bd6b890e0c02d3eca1171515cc977b4a8a8f28
Sung-jae Park [Fri, 25 Oct 2013 08:23:08 +0000 (17:23 +0900)]
Terminate utility process when its ttl is expired
Change-Id: I21a4ebb122729d16e239b04b61f55ffb991a22c9
Sung-jae Park [Mon, 21 Oct 2013 09:54:04 +0000 (18:54 +0900)]
Explicitly set NULL for makring end of file buffer
Change-Id: Ic6b607392a5c2438bf0aaf2cc2168b00e8488a71
Sung-jae Park [Sat, 19 Oct 2013 09:29:11 +0000 (18:29 +0900)]
Apply tizen 3.0 changes
Open DB with options.
Data-provider-master only needs to open DB with READONLY options.
Change-Id: I85f7f88899e52d895694eaab2e96f8937e969453
Sung-jae Park [Tue, 15 Oct 2013 12:43:34 +0000 (21:43 +0900)]
Performance mark macro added.
Change-Id: Ia47611eb87c46ff745e212ab1fd6cae9e681a357
Sung-jae Park [Mon, 14 Oct 2013 09:30:24 +0000 (18:30 +0900)]
Optimize the script parser
Change-Id: I9ccc363669322063e2ea7d41e6244dc349c235d0
Sung-jae Park [Thu, 10 Oct 2013 16:05:28 +0000 (01:05 +0900)]
Add new feature for liveinfo.
Simulate faulted package.
Change-Id: Ie06f8024166fe962df2ffc932bd8f2c16b510940
Sung-jae Park [Thu, 10 Oct 2013 08:45:16 +0000 (17:45 +0900)]
Update accessibility operation for scripting type
Change-Id: I811f1fd9c5d275b80c9a4dd150240ce25b25b3a3
Sung-jae Park [Tue, 1 Oct 2013 07:31:11 +0000 (16:31 +0900)]
Increase refcnt for lazy processing
Change-Id: I307c396c6488679c82dc8917ec24cc8b69e0c302