platform/core/appfw/data-provider-master.git
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

11 years agoAdd new event path for holding scroller of viewer
Sung-jae Park [Sat, 30 Mar 2013 02:51:21 +0000 (02:51 +0000)]
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: I6f224fef0f601fcf2c2605b29ca8815ce915827a

11 years agoSend PD close event to the slave if it fails.
Sung-jae Park [Thu, 28 Mar 2013 09:01:54 +0000 (09:01 +0000)]
Send PD close event to the slave if it fails.

If the provider(master) failes to load the EDJE of PD,
send the failed event to the slave not only to the client.

Before apply this patch, the slave couldn't know what happens
when the master couldn't open a PD (failed to load EDJE),
So the slave always pending all update reuqests.

Change-Id: I4767628bfa69cf2d082f69a0f2d62c67908af0e1

11 years agoUse the 32 Bits pixmap & fix the client ref bug.
Sung-jae Park [Wed, 27 Mar 2013 06:22:31 +0000 (06:22 +0000)]
Use the 32 Bits pixmap & fix the client ref bug.

1. Use the 32 bits pixmap
   Easy mode home screen requires 32 bits pixmap for handling the transparent background.
   But I will give up the video play. (It requires another method)

2. Fix the client unref bug.
   Where is the client_unref code?? after invoke the callbacks?
   Strange, I lost the last one line.. but when? where? +_+;;

Change-Id: I4394766ea11269d47164b8920274adf814b0fe3b

11 years agoUpdate License.
Sung-jae Park [Mon, 25 Mar 2013 02:29:09 +0000 (02:29 +0000)]
Update License.

2012 -> 2013

(Sync with the RSA)

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

Change-Id: I9feaa00a5243298f808bf1b65572df9bf82ba0e1

11 years agoFix the resize event missing bug.
Sung-jae Park [Sun, 24 Mar 2013 13:15:31 +0000 (13:15 +0000)]
Fix the resize event missing bug.

While creating a new livebox,
If its default size is same with requested size,.
sometimes the viewer lost the resized event.

Send the resized event explictly, even if it has same size.
with ALREADY status code

Change-Id: Ia0e40fd2e2d81e88a3acb6a444907013f0ce3bb0

11 years agoUpdate version
Sung-jae Park [Sun, 24 Mar 2013 10:35:13 +0000 (10:35 +0000)]
Update version

Change-Id: Ie00b61f7e03ad3a8e6a00ccf91d16f3491f086e1

11 years agoReplace system errno with livebox errno.
Sung-jae Park [Fri, 22 Mar 2013 15:36:17 +0000 (15:36 +0000)]
Replace system errno with livebox errno.

Make error status code more portable.
If the livebox_create function has updaetd content, try send it to the provider.

Change-Id: I2851d03c1f0a2bbc6c28abfdfd4c46161a0953f1

11 years agoFix the bug.
Sung-jae Park [Thu, 21 Mar 2013 13:43:51 +0000 (13:43 +0000)]
Fix the bug.

click event send the x,y as double.

Change-Id: Ic3773455aab94137b602a415d8498cf58ec818df

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

Followed by latest patch for reducing IPC cost

Change-Id: I545be1fe8c8c9c456a7c2d60b4cfae0316719bb4

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

livebox is replaced with appwidget

Change-Id: I3c45a7824a3ff46f305efbd63c7b07600837b82b

11 years agoAdd input device path parser for conf.
Sung-jae Park [Tue, 19 Mar 2013 02:36:55 +0000 (02:36 +0000)]
Add input device path parser for conf.

Change-Id: I052bf13d13d3b10ab1f85b75dc802481071c8573

11 years agoFix the inactivated slave handling code.
Sung-jae Park [Sat, 16 Mar 2013 13:33:28 +0000 (13:33 +0000)]
Fix the inactivated slave handling code.

There is a leak of resource in a very specific case (definitly rare case).
All request package will be pended at slave rpc->pending_list.

If the slave is not activated (didn't send hello packet),
The provider will terminate slave,
Then the slave rpc's deactivated callback will be invoked.

But the in there, slave rpc didn't clear the rpc->pending_list.
which packets are requested while activating the slave.

In a very specific case that the slave didn't send the hello message,
the rpc->pending_list can holds packets but previously, that list is
not cleared.

So this patch will clear it.

Furthermore,
If a slave is deactivated, invoke the ret_cb all of command packets.
To clear all registered callback data correctly.

Change-Id: I64e7275a3a36efaf781b3137d381ac48ff4bc401

11 years agoImplement the input event monitor.
Sung-jae Park [Thu, 14 Mar 2013 14:50:06 +0000 (14:50 +0000)]
Implement the input event monitor.

To automatically send the input event to livebox which has focus.
Update event handling code.

Merge the event packet from event thread and then forward it to the main thread.

Change-Id: Ie9f3387b8ccce2617f9000f2d6f6daed72dffdaa

11 years agoUpdate smack rule for dbus and replace heynoti with vconf
Sung-jae Park [Wed, 13 Mar 2013 04:15:22 +0000 (04:15 +0000)]
Update smack rule for dbus and replace heynoti with vconf

Change-Id: If7bfafb0d208ad79cd8cfba4b7e3c375efdcd9ae

11 years agoAdd livebox service type as default.
Sung-jae Park [Wed, 13 Mar 2013 02:09:44 +0000 (02:09 +0000)]
Add livebox service type as default.

Only for the inhouse livebox.
To support livebox which is based on 3D graphics engine.

Change-Id: I3b99e9c5634b854d9218b75b596bb2bf44057724

11 years agoReplace the NULL with SQLITE_TRANSIENT.
Sung-jae Park [Tue, 5 Mar 2013 15:16:57 +0000 (15:16 +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: I60aebb9ff7da99fbd5cc994675701301e5d69d0b

11 years agoPD move event is added.
Sung-jae Park [Mon, 4 Mar 2013 10:00:40 +0000 (10:00 +0000)]
PD move event is added.

Update the sequence of lb,show lb,hide pd,show pd,hide
and lb_create, lb_destroy, pd_create, pd_destroy

Change-Id: I978520c654ea0c4febee18f793c575b930de90f6

11 years agoRemove package prefix (com.samsung.)
Sung-jae Park [Mon, 4 Mar 2013 03:33:35 +0000 (03:33 +0000)]
Remove package prefix (com.samsung.)

Replace com.samsung.data-provider-master with data-provider-master.

Change-Id: I4bce258b9760d6963d3feb5ae61b192a73071599

11 years agoFix the prevent issue
Sung-jae Park [Wed, 27 Feb 2013 06:24:04 +0000 (06:24 +0000)]
Fix the prevent issue

Change-Id: I9c4369c7c97810d2dfcaace3897a1aba7c8e3ab0

11 years agoUpdate the spec file.
Sung-jae Park [Mon, 25 Feb 2013 15:18:22 +0000 (15:18 +0000)]
Update the spec file.

install files with correct owner & permissions.

Change-Id: Ie76e98d082c1fa6a1e66933177d6f86addf167a9

11 years agoAdd change_period service handler
Sung-jae Park [Sat, 23 Feb 2013 13:27:29 +0000 (13:27 +0000)]
Add change_period service handler

Revise the client life-cycle management code
service_change_period service handler is added == livebox_service_change_period(pkgname, id, new_period)
Change the trigger_update function. Add "id" field. to specify the update target

Change-Id: I26b8a3b2c5e6deea3919e1649f0af4f51b93ee38

11 years agoUpdate the resize event handling codes.
Sung-jae Park [Sat, 23 Feb 2013 08:48:33 +0000 (08:48 +0000)]
Update the resize event handling codes.

Change-Id: I2930c73da4b94e96ee92a971f843be4ca399b618

11 years agoUpdate the resize event handling codes.
Sung-jae Park [Thu, 21 Feb 2013 20:40:28 +0000 (20:40 +0000)]
Update the resize event handling codes.

After got the resized contents, send the resized events to the requestor.

Change-Id: I65847b55e50bf620180220b77701dd6d39dac97a

11 years agoReplace the drm_slp with tbm.
Sung-jae Park [Thu, 21 Feb 2013 13:21:30 +0000 (13:21 +0000)]
Replace the drm_slp with tbm.

Change-Id: I04b551520e3492065cfe03fbca8523d16a6ab43c

11 years agoSend the resized event callback to the client
Sung-jae Park [Thu, 21 Feb 2013 08:45:02 +0000 (08:45 +0000)]
Send the resized event callback to the client

Including the PD.
But, the content's size is not guaranteed with reported size.
because we don't know when the livebox generate proper size contents.

Change-Id: I3b41ecefc7397022bc0c9ed102049662bb04e78f

11 years agoAdd client_paused/client_resumed command.
Sung-jae Park [Wed, 20 Feb 2013 08:16:51 +0000 (08:16 +0000)]
Add client_paused/client_resumed command.

The xmonitor can be optionally toggled.

Change-Id: Ib9e9c45912c80fc04aa9eb3a95e5e1485d025539

11 years agoUnpremultiplicate the canvas buffer right before
Sung-jae Park [Tue, 19 Feb 2013 13:20:32 +0000 (13:20 +0000)]
Unpremultiplicate the canvas buffer right before

send it to the client.
Make dirty on whole area of the evas canvas.
It is updated partially, so we need to redraw whole area again to apply the unpremultiplication.

Change-Id: Id0874410bcd4cc5e9c2c86ad8fb433b2adfa64be

11 years agoSeparated build for baltic device.
Sung-jae Park [Mon, 18 Feb 2013 13:18:54 +0000 (13:18 +0000)]
Separated build for baltic device.

using shm instead of pixmap

Change-Id: I446f2ca5c93233367995cd7e8d77a309c77104d6

11 years agoUpdate the liveinfo (capturing x pixmap)
Sung-jae Park [Sun, 17 Feb 2013 13:10:04 +0000 (13:10 +0000)]
Update the liveinfo (capturing x pixmap)

Change-Id: I0ce62aa9bfe72fff56abe86a533689f2ab92aaf1

11 years agoUpdate the easy mode size tag.
Sung-jae Park [Sat, 16 Feb 2013 07:57:24 +0000 (07:57 +0000)]
Update the easy mode size tag.

Add "mode" attribute for easy mode livebox.

Change-Id: I8242406d92177a1a907aa6538d9d2f598bac18cc

11 years agoWaiting a hello message of the slave after launch it.
Sung-jae Park [Fri, 15 Feb 2013 08:41:33 +0000 (08:41 +0000)]
Waiting a hello message of the slave after launch it.

If it didn't send any hello message in 30 secs.
Terminate it and start the fault sequence.

Change-Id: I2f5e500d8bdcf588b3c15bc3b3fb7a743d28d968

11 years agoupgrade package code is updated.
Sung-jae Park [Fri, 15 Feb 2013 02:43:39 +0000 (02:43 +0000)]
upgrade package code is updated.

Simply...

Change-Id: I262a2b95a3f0328d9c336f69aa674144442db118