platform/framework/web/data-provider-master.git
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

10 years agoUpdate SMACK, Fix a crash of terminating sequence, etc, ...
Sung-jae Park [Thu, 13 Jun 2013 00:57:24 +0000 (09:57 +0900)]
Update SMACK, Fix a crash of terminating sequence, etc, ...

[model] Tizen
[binary_type] AP
[customer] Tizen Developer
[issue#] N/A
[problem] SMACK label is separated, Crash of terminating sequence
[cause] Terminating sequence is not valid when the edje plugin is loaded. SMACK should be separated by each service module.
[solution] Update SMACK label. Fix the crash of terminating sequence
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I8aa7c4773a6548685e63bd3e822d83cbbb01db98

10 years agoAdd Changelog 08/3908/2 accepted/tizen/20130620.115235 submit/tizen/20130620.063933
Victor Hakoun [Fri, 7 Jun 2013 16:54:50 +0000 (18:54 +0200)]
Add Changelog

Change-Id: I0e1865f50a8bf2ead21855c5148908a0f482fefc

10 years agoFix build x86_64 07/3907/3
Victor Hakoun [Tue, 11 Jun 2013 13:01:46 +0000 (15:01 +0200)]
Fix build x86_64

- Remove build option -fpie to avoid this error :
relocation R_X86_64_PC32 against symbol `dlist_next' can not be used when making a shared object; recompile with -fPIC

- Remove unused variable (svc_ctx)

- Fix rpmlint error summary end with dot

- Use %{_unitdir_user} unstead of %{_libdir}/systemd/user

- g_type_init() is deprecated is GLib version 3.36 or above => add test directive to check glib version to avoid warning :
util_liveinfo/src/liveinfo.c:1722:2: error: 'g_type_init' is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) [-Werror=deprecated-declarations]

Change-Id: I2f111f965864b1f18d2bb8bddc791af71d0beba7

10 years agoFix a bug that the instance is not deleted correctly
Sung-jae Park [Wed, 29 May 2013 10:12:32 +0000 (19:12 +0900)]
Fix a bug that the instance is not deleted correctly

in specific cases, the master will not release the deleted instance'd resources.
It could be a leak.

After open a PD, the timer will be registered and the instance's refcnt will be increased.
But even though the service provider makes response via acquire_buffer, the master
doesn't decrease the instance's refcnt.
It makes a problem. even if the instance is deleted, the livebox doesn't cleared.
because the refcnt could not be reach to ZERO.

This patch will fix it.

And optimize the log.
Verbose logging message are deleted and optimized.

Change-Id: I1c85f428428ac16459c91dfe10dbfa43c972ed5b

10 years agoFix the bug of validate_request function
Sung-jae Park [Wed, 29 May 2013 08:52:36 +0000 (17:52 +0900)]
Fix the bug of validate_request function

Some important requests are ignored
Instance validation should be done only for the requests of slave(service) providers.

Change-Id: I435c62066ae19bd54f10e61ab3aec4ff8859cd46

10 years agoNew patches are applied
Sung-jae Park [Wed, 29 May 2013 06:39:14 +0000 (15:39 +0900)]
New patches are applied

Patch 2/2
Update pd,show/pd,hide & lb,show/lb,hide event

Patch 1/2
review code. extract duplicated code to a function

Change-Id: If9fc018a145b2b779762a02e76b017271487ef1e

10 years agoAdd timer for monitoring opertaion of PD.
Sung-jae Park [Tue, 28 May 2013 05:43:07 +0000 (14:43 +0900)]
Add timer for monitoring opertaion of PD.

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] If the slave doesn't request the PD buffer, client waiting it forever.
[cause] There is no management code for exceptional cases.
[solution] Add the monitor, so the PD buffer is not created in N(5.0) secs, master destroy it automatically.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I2a83060b7218b2deb2dcc4d9040a47decfe06238

10 years agoLogging system & notification service updated.
Sung-jae Park [Tue, 28 May 2013 00:40:41 +0000 (09:40 +0900)]
Logging system & notification service updated.

[model] Tizen
[binary_type] AP
[customer] Tizen Developers
[issue#] N/A
[problem] N/A
[cause] N/A
[solution] Update logging system & notification service routine
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: Ief2ed01ba038f3e28868064dd3544094a47fc231

10 years agoUpdate Badge service routine & optimize log
Sung-jae Park [Thu, 23 May 2013 04:15:35 +0000 (13:15 +0900)]
Update Badge service routine & optimize log

Change-Id: I39501a3bea8662df92c46b4460bc98f48d520cbe

10 years agoLogging the critical message to a file.
Sung-jae Park [Mon, 20 May 2013 11:23:16 +0000 (20:23 +0900)]
Logging the critical message to a file.

The file will be unlinked every boot.
So the log must has to be captured before reboot the device

Change-Id: I1c2bc06b61cd7c429426b04bebbd499d267c1061

10 years agoExit when the provider gets SIGTERM. tizen_2.1 accepted/tizen/20130530.164904 accepted/tizen_2.1/20130520.093306 submit/tizen/20130528.213919 submit/tizen_2.1/20130516.154517
Sung-jae Park [Thu, 16 May 2013 13:52:01 +0000 (22:52 +0900)]
Exit when the provider gets SIGTERM.

Change-Id: I747f11744d51524dc4575929111b95c0a47f7ad0

10 years agoUse the default environment file for systemd accepted/tizen_2.1/20130520.093246 submit/tizen_2.1/20130516.133703
Sung-jae Park [Thu, 16 May 2013 04:27:53 +0000 (13:27 +0900)]
Use the default environment file for systemd

Change-Id: Id04977488c4a2599f95e16107e0d808f57901973

10 years agoVarious patches are applied. accepted/tizen_2.1/20130520.093034 submit/tizen_2.1/20130516.041934
Sung-jae Park [Wed, 15 May 2013 01:39:49 +0000 (10:39 +0900)]
Various patches are applied.

Patch 8/8
   Update language change event handling code.

Change the env value too.
   Region & Language is handles separately.

   So I separate them using VCONFKEY like app-core.

   Region & Lang.

Patch 7/8
   Care the language change notification.

Patch 6/8
   Handling the reply packet correctly.

Patch 5/8
   Define smack rule for vconf key.

Patch 4/8
   Don't terminate the provider even if it gets SIGTERM.

Patch 3/8
   Remove printf and update systemd service file.

Patch 2/8
   Update systemd service file.

Patch 1/8
   Implement the utility service.

   1. Service routine updated.
      If a client is disconnected, service routine will be called with packet NULL.

   2. Utility service is implemented.
      For generating the shortcut icon image, this utility service is prepared.
      Master just route the request & event for generating shortcut icon.
      Then the service daemon will be launched. and it will start generating icon image file.
      The image file is created in specified folder & name by client.
      So the client has to manage the created image file.

   3. service_common_timer API is implemented.
      Using timerfd. Now the timer event can be handled in a separated thread.

Change-Id: I9ce2546aea86c324ea9846d9dc673d6475b706c3

11 years agoFix SMACK error. submit/tizen_2.1/20130514.052204
Sung-jae Park [Fri, 3 May 2013 06:35:41 +0000 (15:35 +0900)]
Fix SMACK error.

Change-Id: Id94013d6491b5316f747130ade17eabe3a9e98f8

11 years agoFix the build error
Sung-jae Park [Fri, 3 May 2013 01:15:17 +0000 (10:15 +0900)]
Fix the build error

Clear the invalid package dependencies.

Change-Id: Iab47e6e656210f82ef73969b5566281bee88b8eb

11 years agoVarious patches are applied
Sung-jae Park [Tue, 30 Apr 2013 12:32:41 +0000 (21:32 +0900)]
Various patches are applied

Patch 9/9
Fix the bug of ignoring updated content info.

Even if the box tries to update its content info,
in case of script type box, the provider ignores it.

This patch will fix it.

Patch 8/9
Use the break after handling the service request (badge/noti)

Patch 7/9
Using EINA_LIST_FREE instead of EINA_LIST_FOREACH_SAFE.
To release the svc_ctx->packet_list.

Patch 6/9
Keep the desc block even if the buffer of lb is not ready.
Keep the desc blocks even if the buffer of livebox is not created.
The provider will send the created event to the slave.
Then the slave will start to generate the desc file. (script data)
But the provider cannot apply desc to its buffer.
Because there is no created object.
To resolve this issue,
This patch will create a cache.
It will be used for keeping the blocks which are parsed before creating a buffer of livebox (or PD).

Patch 5/9
Update License

Patch 4/9
Enable Badge/Notification service.

Patch 3/9
Don't set the "default" to content as default value.
Client can use "" for its content value.
So the provider has not to touch the "content".

Patch 2/9
Update period compensation timer.

Patch 1/9
Fix the storage size calculation bug.

Change-Id: Ia6f0d5e0fe06ed9a348082d324b09cc7732041e7

11 years agoFix the prevent issues 2.1b_release accepted/tizen_2.1/20130425.023233 submit/tizen_2.1/20130424.223847
Sung-jae Park [Tue, 23 Apr 2013 02:53:34 +0000 (11:53 +0900)]
Fix the prevent issues

Change-Id: I2b96cecd5f0e3746e2b6447d067774bc8b77d3b2

11 years agoImplement the service threads.
Sung-jae Park [Mon, 22 Apr 2013 23:59:57 +0000 (08:59 +0900)]
Implement the service threads.

Shortcut service thread is enabled.
Service connection method is updated
(using vconf to notify running state of the master.)

Change-Id: I92af0e2e693c4516b407263bfb1fae9a8925f83e

11 years agoImplement the service thread & Update license
Sung-jae Park [Fri, 19 Apr 2013 11:38:33 +0000 (20:38 +0900)]
Implement the service thread & Update license

Implement the badge & shortcut & notification service threads.

Change-Id: Idb9393bfd39861da6cd6679e6b370ad6e18d0b55

11 years agoUpdate License
Sung-jae Park [Thu, 18 Apr 2013 09:34:25 +0000 (18:34 +0900)]
Update License

Change-Id: I63230dfbe67c161f3589acb628a59018b429c8c7

11 years agoVarious patchset applied.
Sung-jae Park [Thu, 18 Apr 2013 04:57:18 +0000 (13:57 +0900)]
Various patchset applied.

Clear the pixmap right after allocate it.

If the slave is faulted,
Every package in that slave should be faulted too.
Then the user can re-activate it.

Supporting the 4x5,4x6 liveboxes

Update accessibility scroll event

Add more log for fs free size calculation.

Change-Id: I8b5ecfffca79e4f0cd17e11bda201e36a16ffe10

11 years agoAdd new accessibilty events & fixed prevent issues
Sung-jae Park [Fri, 12 Apr 2013 04:13:03 +0000 (13:13 +0900)]
Add new accessibilty events & fixed prevent issues

Fix the issues which are reported from the prevent

Update update_text handler
Update version

Accessiblity unhighlight event is added
Update Version

Change-Id: I9ca6bea8cfa6eecc4fbba36b9302535c2e500002

11 years agoMerged with private repository.
Sung-jae Park [Wed, 10 Apr 2013 11:42:36 +0000 (20:42 +0900)]
Merged with private repository.

Update accessibility.
Accessibility event is defined for script type livebox & pd.

Update touch_effect & need_frame.
These attributes should be described for each size type.

Update parser for getting accessibility text
TYPE="access"
is added.

"need_frame" attribute is added
For handling the frame decoration of boxes.
If a box set "true" for this need_frame attribute,
The viewer will draw the border for it.

Active/Passive update mode is added.

Add update_mode.
Active & Passive update mode.
These two words are used for viewer.
If a viewer wants to update the content of boxes without any updated events, it can use the active mode.
or it can update by the updated event.
passive mode is default.
So every viewer will get updated event then they should to update the content of boxes.

Change-Id: I928f5cdf1c99fa428a05e84f5605cdd60724a555

11 years agoSync to I865165b974aa32a35a58b7260cb1c046ed8f1413
Sung-jae Park [Sun, 31 Mar 2013 23:23:58 +0000 (23:23 +0000)]
Sync to I865165b974aa32a35a58b7260cb1c046ed8f1413

    Add new event path & Change pixmap 24 to 32.

    Fix the bug of size_changed event.
    It has to send the fbid to the client to update its buffer info from viewer side.

    Separating slaves(using net option), 0x0 size box

    1. Separate the slave process using network option.
       If a box requires network connection to update their contents,
       Load it from specific slave which designed to use the network.

       Currently, we use only one package for loading boxes.
       So we just launch another slave process for separating boxes using network attributes.

    2. 0x0 box size is added.
       0x0 is supported for inhouse/commercialization version only.
       Its size is defined 720x1280 (depends on the screen size)

    Add new event path for holding scroller of viewer

    Viewer should holds the scroller when it gets this event.
    This hold scroll event is used for get request of boxes.

Change-Id: I3a8b8c75e5a5229aef5f15394308d9bb3f1d770e

11 years agoCare the case for failing open a PD.
Sung-jae Park [Thu, 28 Mar 2013 12:33:00 +0000 (12:33 +0000)]
Care the case for failing open a PD.

If a provider fails to load script for PD,
It should notice to slave provider.

Currently, the slave will prevent other boxes update if the PD
is opened of a box.
So, if the master doesn't send the failed event to the slave,
and only client notice it, the slave cannot get any failed or close PD event.
then it will block all other boxes update.

This patch will fix it.

Now if the master fails to load the EDJE for PD,
the slave will notice it via close,pd event.
then the other box can be updated normally.

Change-Id: I44f7bf6378e07adc29656db94993f9af38a71d34

11 years agoFix unresolvable error
Sung-jae Park [Thu, 28 Mar 2013 02:30:50 +0000 (02:30 +0000)]
Fix unresolvable error

Remove product feature dependency

Change-Id: Ic0dbf6ab34eb12123c0fe69c8a4babfebd12851f

11 years agoUse the 32 Bits pixmap & add missing client_unref
Sung-jae Park [Wed, 27 Mar 2013 09:15:23 +0000 (09:15 +0000)]
Use the 32 Bits pixmap & add missing client_unref

Change-Id: I465a682ccced81e96f7eacb9ecba7a553d2e5d94

11 years agoUpdate License
Sung-jae Park [Mon, 25 Mar 2013 03:22:23 +0000 (03:22 +0000)]
Update License

2012 -> 2013

Fix the bug of resized box event.

After the provider get the resized event from the box, need to check
the current size of a box.

If is same with requested size, send it to the client that the request
is already finished.

Apply the livebox errno (status code) instead of system errno.
Make easy to understand what happens in the API.

Use the util_uri_to_path to unlink image files of liveboxes(image type)

Change-Id: Ide9281da21700f4e1d9c0eb480daeff891258ccd

11 years agoMerge branch 'master' into tizen_2.1
Sung-jae Park [Thu, 21 Mar 2013 14:23:52 +0000 (14:23 +0000)]
Merge branch 'master' into tizen_2.1

Change-Id: Ie71b4b59f989872da19b80d04972ffd92f99cabc

11 years agoFix the bug of click event handling code
Sung-jae Park [Thu, 21 Mar 2013 14:01:43 +0000 (14:01 +0000)]
Fix the bug of click event handling code

Change-Id: Ia63630a1e18e69991f498c6a448ae0c69f429954

11 years agoMerge branch 'master' into tizen_2.1
Sung-jae Park [Thu, 21 Mar 2013 12:46:44 +0000 (12:46 +0000)]
Merge branch 'master' into tizen_2.1

Conflicts:
CMakeLists.txt
data/abi.ini
data/baltic.conf.ini
data/data-provider-master
data/private.conf.ini
include/conf.h
include/instance.h
include/script_handler.h
packaging/data-provider-master.spec
src/conf.c
src/instance.c
src/main.c
src/script_handler.c
src/server.c
src/slave_life.c
src/slave_rpc.c

Change-Id: I10405acdc4a1f1f02372f141d328335275fe36dd

11 years agoFix the invalid arrow position handling code.
Sung-jae Park [Thu, 21 Mar 2013 04:54:47 +0000 (04:54 +0000)]
Fix the invalid arrow position handling code.

Issue is followed by reducing IPC patch patch.

Change-Id: I33d1b3e6e8eb58c8e29e4df01998902148ad583d

11 years agoChange the name of OSP appwidget service provider
Sung-jae Park [Wed, 20 Mar 2013 06:06:01 +0000 (06:06 +0000)]
Change the name of OSP appwidget service provider

Replace livebox with appwidget

Change-Id: I066bb49399f7ecad35c30ce6dd59b5707129b595

11 years agoBugs are fixed and new features are introduced
Sung-jae Park [Tue, 19 Mar 2013 10:10:21 +0000 (10:10 +0000)]
Bugs are fixed and new features are introduced

1. Focus based event sending. (mouse event & master)

   Optimize the input event routing code.

   Input event can be gathered by event device directly.
   To save the resource for mouse event handling.

   If the viewer select a box using content_event(SET),
   the provider will send all mouse event to the selected box without any concerning of viewer.
   Currently the viewer sends all mouse event via master to boxes.
   But this new concept will reduce the IPC overhead by sending them to the box directly.

   If the viewer unselect a box using content_event(UNSET),
   the provider will stop to send events to box.

2. Fixed bugs of code for handling the case of failed to launch a slave provider.

   If the slave provider didn't answers after launch it to the master,
   The master will handles it as faulted box.
   In that case, the master didn't care the resources of slave provider in core.
   So it could make the resource leak.

   This patch will fix it.
   Even if the slave didn't send hello message, so it would be faulted,
   the master will clear the resources correctly.

3. Initiate script bug is fixed (for the F/W developer)

   When the developer tries to start the master daemon twice, a new process will be launched.
   This is not to be happens, so this patch will fix it.
   When the developer tries to launch daemon again via data-provider-master script (init.d),
   It will check the running process first.
   If it find one, the scrip will be finished with error code, to prevent multiple daemon running.

4. Event device path is added to conf.

   We have the configuration file. Which includes many variable informations for making adaptable dameon.
   This patch will add new entry "input".
   It will be used to monitor the input device for case 1.

Change-Id: Iaf07a3c7ff5aab077ac244d2f3d8ac39db2145b2

11 years agosync with master
Jinkun Jang [Sat, 16 Mar 2013 12:00:43 +0000 (21:00 +0900)]
sync with master

11 years agoReplace the heynoti with vconf for power off.
Sung-jae Park [Wed, 13 Mar 2013 04:14:19 +0000 (04:14 +0000)]
Replace the heynoti with vconf for power off.

Permit smack rule of dbus for Read/eXec on data-provider-master

Change-Id: I8ac594ea64d0324ad96d0fe72e7efa6075439b24

11 years agoReplace the NULL with SQLITE_TRANSIENT.
Sung-jae Park [Tue, 5 Mar 2013 15:20:56 +0000 (15:20 +0000)]
Replace the NULL with SQLITE_TRANSIENT.

NULL is defined as SQLITE_STATIC.
But I intend to use the SQLITE_TRANSIENT, so I set it correctly.

Change-Id: I1d94a8ebdfbd9bb9e773f036b81cc64ac95fa5b5