platform/core/appfw/data-provider-master.git
11 years agoUpdate Easy mode box size
Sung-jae Park [Thu, 27 Jun 2013 07:46:11 +0000 (16:46 +0900)]
Update Easy mode box size

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem]
[cause]
[solution]
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I64c5b39f6d6b60eb29db2f3702e9b9d297f78218

11 years agoReplace CREATE_PD with PERF_DBOX
Sung-jae Park [Thu, 27 Jun 2013 04:17:27 +0000 (13:17 +0900)]
Replace CREATE_PD with PERF_DBOX

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] To make common tag, replace the CREATE_PD with PERF_DBOX
[cause] N/A
[solution] N/A
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: Ibd6ca369802571763afceabc2c191e99797f383e

11 years agoFix the potential issues.
Sung-jae Park [Thu, 27 Jun 2013 01:10:33 +0000 (10:10 +0900)]
Fix the potential issues.

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Can be problem.
[cause] Block can be double free in the specific case.
[solution] Reset block after consuming it (even if it is cached.)
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I5395ca0831327d5bf51b1785514012ec7a8f7148

11 years agoInput event thread revised. Reduce logs
Sung-jae Park [Wed, 26 Jun 2013 23:33:44 +0000 (08:33 +0900)]
Input event thread revised. Reduce logs

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Review up input event thread, Reduce the logs
[cause] Input thread can be stuck by closing the FD from other thread. Too much logs prevent from analyzing logs of other modules.
[solution] Update tcb pipe handling code & Reduce the debugging logs.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: Id70080cdc328bf6af37651d51112ed5f9748ea7b

11 years agoUpdate smack provider tag.
Sung-jae Park [Tue, 25 Jun 2013 06:15:56 +0000 (15:15 +0900)]
Update smack provider tag.

Change-Id: Ibdb62b80d4e985961c3311cb7f37a6d2c06fb471

11 years agouser level smack check for rm_shortcut, rm_livebox
Sung-jae Park [Tue, 25 Jun 2013 02:39:59 +0000 (11:39 +0900)]
user level smack check for rm_shortcut, rm_livebox

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] User level smack permission check is required.
[cause] Security team request this.
[solution] Implemented.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I7a7f8d3bdf52709eaf0a646ba4c3da2fc1e308b9

11 years agoEnabling the code for checking the user level smack(notification)
youngsub ko [Mon, 24 Jun 2013 06:37:54 +0000 (15:37 +0900)]
Enabling the code for checking the user level smack(notification)

11 years agoUpdate the Easy mode DBox size.
Sung-jae Park [Fri, 21 Jun 2013 10:48:45 +0000 (19:48 +0900)]
Update the Easy mode DBox size.

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Size of Easy mode DBox is changed.
[cause] UX is changed.
[solution] Change the DBox size.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I97ad29ff13da7e009915543385dea7b352207272

11 years agoMerge "Enabling the code for checking the user level smack" into devel/home/master
Sung-jae Park [Fri, 21 Jun 2013 09:31:28 +0000 (18:31 +0900)]
Merge "Enabling the code for checking the user level smack" into devel/home/master

11 years agoEnabling the code for checking the user level smack(badge)
youngsub ko [Fri, 21 Jun 2013 07:23:43 +0000 (16:23 +0900)]
Enabling the code for checking the user level smack(badge)

11 years agoEnabling the code for checking the user level smack
Sung-jae Park [Fri, 21 Jun 2013 06:39:04 +0000 (15:39 +0900)]
Enabling the code for checking the user level smack

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] User level security check is required by OSP
[cause] OSP will gives all permission to every appliction by API usage.
[solution] Seperate the security permission for each API.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: Idd65a5950465f191f013b82d7fb80ab260945cea

11 years agoIf the service_trigger_update fails, return its status.
Sung-jae Park [Tue, 18 Jun 2013 05:13:26 +0000 (14:13 +0900)]
If the service_trigger_update fails, return its status.

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[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]

Change-Id: I7a86a397013a83345930d3a41297e37b0eed9294

11 years agoRemove unnecessary storage space check code
Sung-jae Park [Tue, 18 Jun 2013 04:50:48 +0000 (13:50 +0900)]
Remove unnecessary storage space check code

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[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]

Change-Id: Ibaccf506dabaee5f32a9065a8472de41f336f052

11 years agoApply GCC 4.8 patch
Sung-jae Park [Mon, 17 Jun 2013 08:55:07 +0000 (17:55 +0900)]
Apply GCC 4.8 patch

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[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: Ia650b43b4658c728c02a277f90f99cd0a1ec4e41

11 years agoCheck the PD owner for openng / closing it.
Sung-jae Park [Fri, 14 Jun 2013 05:47:46 +0000 (14:47 +0900)]
Check the PD owner for openng / closing it.

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] PD open/close operation should be checked.
[cause] Crash occured because of duplicated close request.
[solution] Check the owner of PD.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I6201dec72ed562400eb4d24eaccde29ef52430b6

11 years agoAdd missing package dependencies.
Sung-jae Park [Thu, 13 Jun 2013 08:43:27 +0000 (17:43 +0900)]
Add missing package dependencies.

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] Build Error (Installation failed because of unresolvable package sys-assert)
[problem] SMACK requires sys-assert package to install the data-provider-master package.
[cause] data-provider-master defines a smack rule in its manifest file, but sys-assert is not installed before data-provider-master.
[solution] To make a correct install sequence, add "Requires" to the spec file.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I67c83c105ea6e2b59fc9ec45225159a4e240115e

11 years agoFix build erro
Sung-jae Park [Wed, 12 Jun 2013 14:32:14 +0000 (23:32 +0900)]
Fix build erro

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Build error
[cause] pd_monitor is not defined.
[solution] Fix it.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I9a5f4176182a8179ef460045da7f70b69245c693

11 years agoReview the terminating sequence
Sung-jae Park [Wed, 12 Jun 2013 11:25:53 +0000 (20:25 +0900)]
Review the terminating sequence

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] While terminating the process, crash occurred
[cause] Because of the script plugin is not cleans all resources correctly.
[solution] Update the destruction sequence.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I4f6d3b8ef401ca44fbd883eb7b14fafc87cfb1c0

11 years agoFix the PD open bug.
Sung-jae Park [Wed, 12 Jun 2013 06:28:40 +0000 (15:28 +0900)]
Fix the PD open bug.

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] If a user tries to open and close the PD as fast as (s)he can do, sometimes the PD is not able to be opened forever.
[cause] PD State is not managed correctly.
[solution] Update the state management code.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: Ifb8aedff5a0abc46a17c9b249aa4e92bef9a52cf

11 years agoUpdate icon service
Sung-jae Park [Tue, 11 Jun 2013 08:59:55 +0000 (17:59 +0900)]
Update icon service

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] While terminating the icon service provider, launch can be failed.
[cause] aul returns AUL_R_ETERMINATING when provider tries to launch an icon service provider.
[solution] If it is terminating, launch it later.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I2bbc1392d8ee294ae3b22b26136e31151b00358f

11 years agoHandling the AUL_R_ECOMM error like AUL_R_ETIMEOUT
Sung-jae Park [Tue, 11 Jun 2013 06:44:35 +0000 (15:44 +0900)]
Handling the AUL_R_ECOMM error like AUL_R_ETIMEOUT

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] P130610-5935
[problem] Sometimes aul_launch_app return fails but the process is launched.
[cause] aul_launch_app is not working like what I expected.
[solution] Handling the AUL_R_ECOMM as AUL_R_ETIMEOUT
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: Id3b598eb4606a1f8bcd9cb8600fc56dd9da01e94

11 years agoUpdate Icon service manager & Critical log lock.
Sung-jae Park [Tue, 11 Jun 2013 01:21:10 +0000 (10:21 +0900)]
Update Icon service manager & Critical log lock.

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Sometimes the AUL fails to launch an icon service provider
[cause] because of timeout issue of AUL
[solution] Treat the timeout error as a normal launch.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I958a2b30d5adc3e79a80808353c663c065fa3ab2

11 years agoFix the PD buffer resize request code.
Sung-jae Park [Mon, 10 Jun 2013 03:54:29 +0000 (12:54 +0900)]
Fix the PD buffer resize request code.

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Drop view is not working correctly.
[cause] Resize request is not handles correctly.
[solution] Resize request is now managed correctly.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I802f6efd8505ad307860476795bd068c740a7d82

11 years agoAdd "ui-app" field for finding UI-App of DBox. Implement PKG Disable/Enable feature
Sung-jae Park [Thu, 6 Jun 2013 09:04:10 +0000 (18:04 +0900)]
Add "ui-app" field for finding UI-App of DBox. Implement PKG Disable/Enable feature

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Unable to find correct UI-App of DBox. Disabled package is not deleted automatically.
[cause] Package can be disabled by requirements of commecializer.
[solution] Disabled package will be deleted from the homescreen automatically.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: Ie0756ff0a663ddfb20180ea71c4a60a0ce0de5c9

11 years agoChange ErrorPrint to CRITICAL_LOG
Sung-jae Park [Thu, 6 Jun 2013 05:57:09 +0000 (14:57 +0900)]
Change ErrorPrint to CRITICAL_LOG

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Use the critical log for dbox crash.
[cause] N/A
[solution] N/A
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I5e1237a7b2ad28daaa2e128046d0126bec45fa04

11 years agoFix the bug of slave fault handler.
Sung-jae Park [Thu, 6 Jun 2013 04:24:35 +0000 (13:24 +0900)]
Fix the bug of slave fault handler.

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Too many slaves are launched because of invalid fault handling for slave providers
[cause] After a slave is re-activated, the previous requests can be handled with NULL packet. so the master tries to terminate reactivated slave again.
[solution] Disconnected callback will be called. so we don't need to care the NULL packet from the aysnc callback.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I16befc2a1ee26f7d4bd5dad859abb2570e45da35

11 years agoFind slave using PID again if it fails to find using name
Sung-jae Park [Wed, 5 Jun 2013 04:28:58 +0000 (13:28 +0900)]
Find slave using PID again if it fails to find using name

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Some service provider doesn't use the "name" as a key for hello message.
[cause] Missing guides
[solution] Using PID again if it fails to find service provider using name.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I57ce6c2ca2e43aa4af725e4dade1e0b0269d35c2

11 years agoUSR1/USR2 signal handler added. terminating sequence updated
Sung-jae Park [Tue, 4 Jun 2013 14:31:07 +0000 (23:31 +0900)]
USR1/USR2 signal handler added. terminating sequence updated

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Terminating sequence is updated. USR1/USR2 signal added
[cause] While unmounting the storage, slave tries to access it.
[solution] Deactivating slaves while executing the system tools
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I7a86f97cfca0c0e97caf995d60e481aa8e968a83

11 years agoDefine string using -D option
Sung-jae Park [Tue, 4 Jun 2013 11:53:47 +0000 (20:53 +0900)]
Define string using -D option

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Maintainence issue
[cause] N/A
[solution] N/A
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I3c512cf015efd3422a3f276d8c4d7624063cde7e

11 years agoUpdate activation code (care the return value too)
Sung-jae Park [Tue, 4 Jun 2013 07:11:17 +0000 (16:11 +0900)]
Update activation code (care the return value too)

[model] Redwood
[binary_type] AP
[customer] Docomo/Redwood/Open
[issue#] N/A
[problem] Even if master fails to activate the slave because of timeout, don't tread it as a fault.
[cause] AUL can failed to get pid because of timeout(it only waiting 3.2 secs for launching)
[solution] If master fails to launch slave because of timeout, waiting 30 secs. and if it didn't make answer packets, then handle it as fault one.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I813f5eeed61d35ef1f41c8ed94026afa72741a48

11 years agoApply smack label for service sockets
Sung-jae Park [Mon, 3 Jun 2013 06:30:26 +0000 (15:30 +0900)]
Apply smack label for service sockets

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Every services should be accessed with different smack label.
[cause] The easiest way of supporting privileged API is SMACK labeling.
[solution] After prepare the socket files, labeling them.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: Iedf92a100400ad4591e3ec5750e8b2d3bb558ed4

11 years agoApply Secure Log
Sung-jae Park [Mon, 3 Jun 2013 05:52:29 +0000 (14:52 +0900)]
Apply Secure Log

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Secure Log is not applied
[cause] N/A
[solution] Apply Secure Log
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: Idac306434f0f93db857036774702022d95237795

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

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Instance is not deleted correctly (in the master), Optimize the log
[cause] even though I tried to delete an instance, if an instance state is "DESTROYED", we cannot delete it.
[solution] state_reset must reset the state of an instance even if its state is DESTROYED, reset it to INIT.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I3b242133909ef6e16e652dd6cff769603dac8350

11 years agoFix the validate request function.
Sung-jae Park [Wed, 29 May 2013 08:51:32 +0000 (17:51 +0900)]
Fix the validate request function.

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Livebox instance is not cleared.
[cause] validate_request reject some requests.
[solution] Fix the validate_request
[team] HomeTF
[request]
[horizontal_expansion]

11 years agoResolve prevent issues
Sung-jae Park [Wed, 29 May 2013 07:27:57 +0000 (16:27 +0900)]
Resolve prevent issues

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] CID 54749,54750
[problem] N/A
[cause] N/A
[solution] N/A
[team] HomeTF
[request]
[horizontal_expansion]

11 years agoUpdate pd,show/pd,hide & lb,show/lb,hide event
Sung-jae Park [Wed, 29 May 2013 04:11:53 +0000 (13:11 +0900)]
Update pd,show/pd,hide & lb,show/lb,hide event

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] N/A
[cause] N/A
[solution] N/A
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I014d162a246e1be5bd10ee2a795f9d0425b853d3

11 years agoreview code. extract duplicated code to a function
Sung-jae Park [Wed, 29 May 2013 02:47:39 +0000 (11:47 +0900)]
review code. extract duplicated code to a function

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] N/A
[cause] N/A
[solution] N/A
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: Id10f36872ec1bbc25d669cc9c4a81721877b5f1f

11 years agoAdd timer for monitoring opertaion of PD.
Sung-jae Park [Tue, 28 May 2013 05:15:20 +0000 (14:15 +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: Icb118601a770e932fbfa3f83b97eba66b1a42982

11 years agoUpdate the log filename
Sung-jae Park [Fri, 24 May 2013 09:28:08 +0000 (18:28 +0900)]
Update the log filename

[model] Redwood
[binary_type] AP
[customer] Docomo / Orange / Open
[issue#] N/A
[problem] Log file is overwritten by restarted process
[cause] filename is not uniq
[solution] Add the pid to the filename
[team] Home
[request]
[horizontal_expansion]

Change-Id: Ib9989252347bd41fc582858cd0079667535b84f7

11 years agoMerge "Don't multicast a single deletion packet when effected row isn't exist" into...
youngsub ko [Thu, 23 May 2013 06:58:04 +0000 (15:58 +0900)]
Merge "Don't multicast a single deletion packet when effected row isn't exist" into devel/home/master

11 years agoDon't multicast a single deletion packet when effected row isn't exist
youngsub ko [Thu, 23 May 2013 06:25:41 +0000 (15:25 +0900)]
Don't multicast a single deletion packet when effected row isn't exist

11 years agoUpdate systemd service file & Optimize heavy log
Sung-jae Park [Thu, 23 May 2013 04:07:15 +0000 (13:07 +0900)]
Update systemd service file & Optimize heavy log

Change-Id: Iea43c747b62c2ddbf93d5f365e65cb3cae368154

11 years agoAdding routines to handle exceptions
youngsub ko [Tue, 21 May 2013 02:01:56 +0000 (11:01 +0900)]
Adding routines to handle exceptions

11 years agoTerminate provider when it gets power off event
Sung-jae Park [Mon, 20 May 2013 09:51:46 +0000 (18:51 +0900)]
Terminate provider when it gets power off event

Change-Id: I392c4b75c58f61eab1b9a807d1098b5d575b9dc5

11 years agoIf the master got the power off (or restart) event,
Sung-jae Park [Mon, 20 May 2013 05:19:07 +0000 (14:19 +0900)]
If the master got the power off (or restart) event,

Update the vconf key of status of master to TERMINATED(0).

Change-Id: I805a209861aa8d2e708defbcfa27ee603deccd75

11 years agoLoad the environment data from a file.
Sung-jae Park [Thu, 16 May 2013 03:43:40 +0000 (12:43 +0900)]
Load the environment data from a file.

To initialize the system correctly.

Change-Id: Ic7bf19e04782bdf469ff51702bc84607eaa55d4a

11 years agoUpdate language change event handling code.
Sung-jae Park [Sat, 11 May 2013 06:47:10 +0000 (15:47 +0900)]
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.

Change-Id: Ie3079496c94fff85af8c92a57d2891c28d577ad1

11 years agoCare the language change notification.
Sung-jae Park [Sat, 11 May 2013 06:22:53 +0000 (15:22 +0900)]
Care the language change notification.

Change-Id: I2c2be8a0a118af45d03c5aeef2dc036ad89aedd3

11 years agoHandling the reply packet correctly.
Sung-jae Park [Thu, 9 May 2013 15:57:51 +0000 (00:57 +0900)]
Handling the reply packet correctly.

Change-Id: I92a050220eaa9ea9d73aa91f68a9210db68db92d

11 years agoDefine smack rule for vconf key.
Sung-jae Park [Thu, 9 May 2013 06:09:52 +0000 (15:09 +0900)]
Define smack rule for vconf key.

Change-Id: I9d4dd54b36d815fe83f8700993ed5aa657f8401e

11 years agoDon't terminate the provider even if it gets SIGTERM.
Sung-jae Park [Thu, 9 May 2013 05:59:51 +0000 (14:59 +0900)]
Don't terminate the provider even if it gets SIGTERM.

Change-Id: I3e5be39dc0a7eac072aeeac8a49d57f25a0f5ac1

11 years agoRemove printf and update systemd service file.
Sung-jae Park [Thu, 9 May 2013 02:22:41 +0000 (11:22 +0900)]
Remove printf and update systemd service file.

Change-Id: I402fbead4fc9a65b82dde7be07da7baf8f763bfb

11 years agoUpdate systemd service file.
Sung-jae Park [Wed, 8 May 2013 11:28:07 +0000 (20:28 +0900)]
Update systemd service file.

Change-Id: Ic15020bfffffec1d2cc8d722ed545af27c75b725

11 years agoImplement the utility service.
Sung-jae Park [Mon, 6 May 2013 06:14:18 +0000 (15:14 +0900)]
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: I2873c9232f9f396c6b8ad3345fa041939cb4aa7c

11 years agoFix the bug of ignoring updated content info.
Sung-jae Park [Wed, 1 May 2013 08:01:27 +0000 (17:01 +0900)]
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.

Change-Id: Iff367b9affcc74d1282ae486163253192c0b54b1

11 years agoAdd "break" for handling badge/noti service
Sung-jae Park [Tue, 30 Apr 2013 11:27:02 +0000 (20:27 +0900)]
Add "break" for handling badge/noti service

When the bdage/noti service handles requested packet,
it doesn't need to check remained command table.

Just break the for-loop when it handles packet.

Change-Id: Id251bf7af96f0bee6c06f4355dfa61c5dce719c0

11 years agoUsing EINA_LIST_FREE instead of EINA_LIST_FOREACH_SAFE.
Sung-jae Park [Tue, 30 Apr 2013 05:20:55 +0000 (14:20 +0900)]
Using EINA_LIST_FREE instead of EINA_LIST_FOREACH_SAFE.

To release the svc_ctx->packet_list.

Change-Id: I2a042ea14e5d11d06f74b724f879a85d9f5f2814

11 years agoKeep the desc block even if the buffer of lb is not ready.
Sung-jae Park [Mon, 29 Apr 2013 14:44:49 +0000 (23:44 +0900)]
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).

Change-Id: I27ee6fda35f93622eef08216da905b9e1ed0b5c7

11 years agoUpdate License
Sung-jae Park [Mon, 29 Apr 2013 06:59:44 +0000 (15:59 +0900)]
Update License

Change-Id: Id02c0f159c8fed40564f54cb84d521d36b3d0114

11 years agoEnable Badge/Notification service.
Sung-jae Park [Mon, 29 Apr 2013 04:32:18 +0000 (13:32 +0900)]
Enable Badge/Notification service.

Change-Id: I1a26d1c4eeaba45fc3c4a764e54e832a15251e19

11 years agoDon't set the "default" to content as default value.
Sung-jae Park [Mon, 29 Apr 2013 03:58:52 +0000 (12:58 +0900)]
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".

Change-Id: Id06829a418b843d922120bb2ca9e18b64cf501b8

11 years agoUpdate period compensation timer.
Sung-jae Park [Mon, 29 Apr 2013 03:46:22 +0000 (12:46 +0900)]
Update period compensation timer.

Change-Id: Ib865724b443694a8a66d042ab45f7c00638b221c

11 years agoFix the storage size calculation bug.
Sung-jae Park [Fri, 26 Apr 2013 09:14:59 +0000 (18:14 +0900)]
Fix the storage size calculation bug.

Change-Id: I8913179327eb67129d918554006b2d251a36f572

11 years agoTemporarly disable the badge & notification service.
Sung-jae Park [Fri, 26 Apr 2013 06:35:16 +0000 (15:35 +0900)]
Temporarly disable the badge & notification service.

Due to the dependencies with libnotification.
Master is not able to be built with the new notification & badge library.
So just temporarly commenting out the badge & notification service.
To merge this patches into the master branch

Change-Id: I1c26ef98b183e0ff147cfc4acb5a14385331ef75

11 years agoMerge "Check before dividing values." into devel/home/master
Youngjoo Park [Fri, 26 Apr 2013 06:04:48 +0000 (15:04 +0900)]
Merge "Check before dividing values." into devel/home/master

11 years agoMerge "Updated badge service routine" into devel/home/master
youngsub ko [Fri, 26 Apr 2013 05:42:04 +0000 (14:42 +0900)]
Merge "Updated badge service routine" into devel/home/master

11 years agoCheck before dividing values.
Sung-jae Park [Fri, 26 Apr 2013 05:31:04 +0000 (14:31 +0900)]
Check before dividing values.

And check return value of all gettimeofday function calls.

Change-Id: I421edf917b4d5a1b77b9638349eddcb0e4c2dcde

11 years agoFix the valgrind issue.
Sung-jae Park [Thu, 25 Apr 2013 07:03:24 +0000 (16:03 +0900)]
Fix the valgrind issue.

Access the buffer->info after release the buffer

Change-Id: I77dad69f43ac156bbda9d190a7e347b29d7b9389

11 years agoUpdated badge service routine
youngsub ko [Wed, 24 Apr 2013 15:16:12 +0000 (00:16 +0900)]
Updated badge service routine

11 years agoReplace VALUE_CHANGE with ACTION_DOWN/UP
Sung-jae Park [Wed, 24 Apr 2013 06:26:19 +0000 (15:26 +0900)]
Replace VALUE_CHANGE with ACTION_DOWN/UP

Change-Id: Ife1db3dba4fab90f5b773636ff389400e19aa130

11 years agoFixed memory leak
youngsub ko [Wed, 24 Apr 2013 02:31:14 +0000 (11:31 +0900)]
Fixed memory leak

11 years agoupdated routines to handle service register
youngsub ko [Tue, 23 Apr 2013 14:02:32 +0000 (23:02 +0900)]
updated routines to handle service register

11 years agoUpdated notification service routine
youngsub ko [Tue, 23 Apr 2013 06:22:25 +0000 (15:22 +0900)]
Updated notification service routine

Change-Id: If1823adcf695328ab9d5e1e00d22599f0d4d59a0

11 years agoFix the prevent issues
Sung-jae Park [Tue, 23 Apr 2013 02:53:48 +0000 (11:53 +0900)]
Fix the prevent issues

Change-Id: I79f87750d22aaf9b339ca60292c8c1301ffba52a

11 years agoUpdate version
Sung-jae Park [Tue, 23 Apr 2013 00:25:37 +0000 (09:25 +0900)]
Update version

Change-Id: Ieea7cc370831b7c360e26d5ecfba296d63492659

11 years agoAdd vconf key to inform that the server is started
Sung-jae Park [Sat, 20 Apr 2013 13:51:04 +0000 (22:51 +0900)]
Add vconf key to inform that the server is started

Change-Id: I0825d32c69a17d203d03213fe892a903bfc9fba8
key: memory/data-provider-master/started
type: bool
value: 0 - stopped
       1 - started

11 years agoEnable shortcut service.
Sung-jae Park [Sat, 20 Apr 2013 06:46:08 +0000 (15:46 +0900)]
Enable shortcut service.

Add more debugging messages (for developing more services)

Change-Id: Ibaa0fc5e750ea6f62a48a063b77c2ae86ba3796d

11 years agoFix the critical bug of service thread.
Sung-jae Park [Fri, 19 Apr 2013 16:59:02 +0000 (01:59 +0900)]
Fix the critical bug of service thread.

There is a problem while managing the 3 threads.
About "tcb" object management.

So this patch will merge the service thread & server thread.
So there is only two big thread is exists.

One for the socket data pumping thread, and the other is service
for new connection and packet opertaion.

Change-Id: Id4061ca2a0844cdcfc3859a60a46ea8e67ca715c

11 years agoUpdate shortcut service routine
Sung-jae Park [Fri, 19 Apr 2013 08:07:33 +0000 (17:07 +0900)]
Update shortcut service routine

Change-Id: I62d55be0176c3072b89af270cdcbb17d0deeba26

11 years agoUpdate License
Sung-jae Park [Fri, 19 Apr 2013 06:35:02 +0000 (15:35 +0900)]
Update License

Change-Id: I9e80712d636153e9dac8aa669eff94057a935433

11 years agoFix the crash error
Sung-jae Park [Fri, 19 Apr 2013 06:29:02 +0000 (15:29 +0900)]
Fix the crash error

If the secured livebox has no update period,
we don't need to add the update timer.

While finding compensated update time,
the provider is crashed because of dividing by 0 operation.

Change-Id: I9f333d17b10114d129cc4c152afd16b21a45ab71

11 years agoImplement new service threads.
Sung-jae Park [Thu, 18 Apr 2013 11:19:19 +0000 (20:19 +0900)]
Implement new service threads.

Badge service
Notification service
Shortcut service

Implement common service routine

Change-Id: I622de087bfc3d75ae6ce7eaed769ddf240a77038

11 years agoUpdate License
Sung-jae Park [Thu, 18 Apr 2013 11:14:30 +0000 (20:14 +0900)]
Update License

Remove "df"

Change-Id: I0f13a6ab7bc04e713d3a24a27d3b8f7381d60b1f

11 years agoClear the pixmap right after allocate it.
Sung-jae Park [Wed, 17 Apr 2013 08:00:46 +0000 (17:00 +0900)]
Clear the pixmap right after allocate it.

Change-Id: I05ee70b2761550e4a0dc1f6c2435f52d09c7c26e

11 years agoIf the slave is faulted,
Sung-jae Park [Wed, 17 Apr 2013 07:36:21 +0000 (16:36 +0900)]
If the slave is faulted,

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

Change-Id: Icaf7c3bebf0ee4e27c1e88b75c5ecc382b32a636

11 years agoSupporting the 4x5,4x6 liveboxes
Sung-jae Park [Tue, 16 Apr 2013 01:20:04 +0000 (10:20 +0900)]
Supporting the 4x5,4x6 liveboxes

Change-Id: I4ac16c1c9a66f88392330c20ef8e7484fadf0dda

11 years agoUpdate accessibility scroll event
Sung-jae Park [Mon, 15 Apr 2013 05:30:45 +0000 (14:30 +0900)]
Update accessibility scroll event

Change-Id: Ib238085c0235e0db9a6d8155056226530c7f2d31

11 years agoAdd more log for fs free size calculation.
Sung-jae Park [Sun, 14 Apr 2013 06:11:32 +0000 (15:11 +0900)]
Add more log for fs free size calculation.

Change-Id: If8ed5b54b7a0591eff43fa9fb46f8d61d24d4e86

11 years agoFix the issues which are reported from the prevent
Sung-jae Park [Fri, 12 Apr 2013 02:34:10 +0000 (11:34 +0900)]
Fix the issues which are reported from the prevent

Change-Id: I844849718d3ceeb647aa4c1943572bc0d616c22f

11 years agoUpdate update_text handler
Sung-jae Park [Thu, 11 Apr 2013 10:30:29 +0000 (19:30 +0900)]
Update update_text handler

Update version

Change-Id: I1114bf73bb131dde0ebb83b9959af9f8660cb49c

11 years agoAccessiblity unhighlight event is added
Sung-jae Park [Thu, 11 Apr 2013 01:52:01 +0000 (10:52 +0900)]
Accessiblity unhighlight event is added

Update Version

Change-Id: I96428d7bc41a8752090ba0e426e7735e196d6620

11 years agoAdd log for debugging
Sung-jae Park [Fri, 5 Apr 2013 20:07:44 +0000 (20:07 +0000)]
Add log for debugging

Change-Id: I142604df9b929c260284698faa7fbf74d1f131be

11 years agoUpdate accessibility.
Sung-jae Park [Wed, 3 Apr 2013 17:03:17 +0000 (17:03 +0000)]
Update accessibility.

Accessibility event is defined for script type livebox & pd.

Update VERSION

Change-Id: Ic1d86a7567efcf0424325cdb2d8d63e42b38f5c7

11 years agoUpdate touch_effect & need_frame.
Sung-jae Park [Tue, 2 Apr 2013 16:20:10 +0000 (16:20 +0000)]
Update touch_effect & need_frame.

These attributes should be described for each size type.

Change-Id: I75e0e93e9e98acb464c369fd4a04894f15fe9ed3

11 years agoUpdate parser for getting accessibility text
Sung-jae Park [Tue, 2 Apr 2013 14:55:48 +0000 (14:55 +0000)]
Update parser for getting accessibility text

TYPE="access"
is added.

Change-Id: I35a7a941160f713732ad652927541ca69e95a45f

11 years ago"need_frame" attribute is added
Sung-jae Park [Tue, 2 Apr 2013 12:33:56 +0000 (12:33 +0000)]
"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.

Change-Id: I5b3781e4c6caaa78f8f8d00251d7e3a74104ce09

11 years agoActive/Passive update mode is added.
Sung-jae Park [Tue, 2 Apr 2013 11:42:10 +0000 (11:42 +0000)]
Active/Passive update mode is added.

Change-Id: I29da3ec8ccfae586ac63612a1fc1545d4858845b

11 years agoAdd update_mode.
Sung-jae Park [Mon, 1 Apr 2013 14:13:52 +0000 (14:13 +0000)]
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: I2463907ca3ecf903cdf34d8404b166c701716f94

11 years agoAdd new event path & Change pixmap 24 to 32.
Sung-jae Park [Sun, 31 Mar 2013 09:25:03 +0000 (09:25 +0000)]
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.

Version updated.

Change-Id: I865165b974aa32a35a58b7260cb1c046ed8f1413

11 years agoSeparating slaves(using net option), 0x0 size box
Sung-jae Park [Sat, 30 Mar 2013 06:39:52 +0000 (06:39 +0000)]
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)

Change-Id: I256ed42decf7b89a3842d4784113b005683e197f