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

11 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

11 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

11 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

11 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

11 years agoAdd pd_move event is added
Sung-jae Park [Mon, 4 Mar 2013 10:46:42 +0000 (10:46 +0000)]
Add pd_move event is added

pd create / lb create & pd,show / lb,show sequence is updated

Change-Id: If0e1ec3c8f4434fad5698e0e7cb6557a22667b1f

11 years agoReplace the package name to data-provider-master
Sung-jae Park [Mon, 4 Mar 2013 03:32:52 +0000 (03:32 +0000)]
Replace the package name to data-provider-master

remove prefix "org.tizen."

Change-Id: Iece033f79fd5d7793a477ad4f7944f60ba16055f

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

Change-Id: I0a59afd51ea50aa69660bd119b49348c9bd6d86a

11 years agoAdd change_period interface, update trigger_update
Sung-jae Park [Wed, 27 Feb 2013 02:52:24 +0000 (02:52 +0000)]
Add change_period interface, update trigger_update

Change-Id: Ieface9222fbb20200c6196fbcf938ad4a44db335

11 years agoSet the UID/GID from the post script.
Sung-jae Park [Mon, 25 Feb 2013 14:10:27 +0000 (14:10 +0000)]
Set the UID/GID from the post script.

While installing this package, build system doesn't guarantees the "app"
So we have to use the digit instead of its string.
Forcely set the UID/GID even if it doesn't exists in the passwd file.

FOR TRATS build environment.

Change-Id: Ica56257a6da52b2e1c1bfba62700ded593cfc6ab

11 years agoUpdate resize event send function
Sung-jae Park [Sat, 23 Feb 2013 09:18:51 +0000 (09:18 +0000)]
Update resize event send function

Change-Id: Ic32ca986584c64e8db094cf7183e363f22971cb8

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

Change-Id: I61564dbc2f3efa5e7196c3d01df553bd3ea44848

11 years agoSync with the latest code
Sung-jae Park [Thu, 21 Feb 2013 10:54:53 +0000 (10:54 +0000)]
Sync with the latest code

Change-Id: I3950d362f4eb8d0396c18c41db958f21a4e3f64e

11 years agoUpdate the liveinfo(Supporting the pixmap capture)
Sung-jae Park [Sun, 17 Feb 2013 13:55:20 +0000 (13:55 +0000)]
Update the liveinfo(Supporting the pixmap capture)

Change-Id: Id2afb9060f278b529f1c94cc4188a96746ac935f

11 years agoUpdate the manifest.
Sung-jae Park [Sat, 16 Feb 2013 07:59:44 +0000 (07:59 +0000)]
Update the manifest.

Add a new attrbiute "mode" for "size" tag.

mode="easy" will defines the easy mode livebox.

Change-Id: If0850695c6b15dede575971cefe36cd9f7b4ffa4

11 years agoUpdate the provider launching code.
Sung-jae Park [Fri, 15 Feb 2013 08:49:40 +0000 (08:49 +0000)]
Update the provider launching code.

Waiting its response in CONSTANT time.
(default 30 secs)

Change-Id: Ie0e8228834c93092c8edd8daffbc58676306ebc0

11 years agoUpdate the upgrade feature
Sung-jae Park [Fri, 15 Feb 2013 03:00:37 +0000 (03:00 +0000)]
Update the upgrade feature

Change-Id: Ibd2ebd56c3a2dcaf36155c9efcfd4b65571f431d

11 years agoRevise the code.
Sung-jae Park [Thu, 14 Feb 2013 05:17:28 +0000 (05:17 +0000)]
Revise the code.

1. Update the liveinfo tool
   Add more functions. Make easy to use the tool

2. Time compensator is updated.

3. Code is revised by myself.

Change-Id: Ib4b64da80727edb394a12e50398ed6f10e97b6e1

11 years agohandling the return value of replace_string
Sung-jae Park [Thu, 7 Feb 2013 10:36:40 +0000 (10:36 +0000)]
handling the return value of replace_string

Change-Id: Ia9c8987d76e86d7bbedf52a1f0f333bbf7985776

11 years agoOptimize the string replacement function.
Sung-jae Park [Thu, 7 Feb 2013 07:49:27 +0000 (07:49 +0000)]
Optimize the string replacement function.

Change-Id: I6352941e972cc05b62018a4b5984b9bc29398d67

11 years agoSeparte gem & pixmap create function.
Sung-jae Park [Wed, 6 Feb 2013 14:09:42 +0000 (14:09 +0000)]
Separte gem & pixmap create function.

Script updated.
(for image, group is changed to optoin)

Add the update request interface

Change-Id: I9102fabe40b055df41b170e31dc83a858e10a7b1

11 years agoUpdate the data provider master
Sung-jae Park [Tue, 5 Feb 2013 06:55:34 +0000 (06:55 +0000)]
Update the data provider master

Fix the liveinfo bug (Command line parser is updated)
Manifest file is updated for rule of daemon type package.

Change-Id: I61ce630765c936d6a11dc6094ec3598b5da47d83

11 years agoUpdate the liveinfo.
Sung-jae Park [Fri, 1 Feb 2013 18:34:19 +0000 (18:34 +0000)]
Update the liveinfo.

Change-Id: I04814f6cd4b8539c2ea3f6a6ab0ed03f139f03ce

11 years agoUpdate the liveinfo
Sung-jae Park [Fri, 1 Feb 2013 13:51:37 +0000 (13:51 +0000)]
Update the liveinfo

Change-Id: Id3f3685514578cc67f3510c8727f84d6b52a8ca1

11 years agoUpdate the debug mode
Sung-jae Park [Fri, 1 Feb 2013 05:57:38 +0000 (05:57 +0000)]
Update the debug mode

Change-Id: Id01802e17e3929473aca8358e4a3bd2534afcb0f

11 years agoAdd exec_label for booting script
Sung-jae Park [Thu, 31 Jan 2013 03:00:52 +0000 (03:00 +0000)]
Add exec_label for booting script

Change-Id: Ic12b2e2f08279011b0bdef3b5e3b7d4970bbeccf

11 years agoAdd the touch effect
Sung-jae Park [Thu, 31 Jan 2013 02:39:09 +0000 (02:39 +0000)]
Add the touch effect

Change-Id: Ib91ffbde1f7153ca6d8da59d34a32c202670014b

11 years agoAdd new script handler for updating color
Sung-jae Park [Wed, 30 Jan 2013 05:58:47 +0000 (05:58 +0000)]
Add new script handler for updating color

Update smack label & domain name to "data-provider-master"

Change-Id: I233eb3425e80df1f15b0c1b19c7de9e681c56227

11 years agoAdd new size type
Sung-jae Park [Sun, 27 Jan 2013 12:31:32 +0000 (12:31 +0000)]
Add new size type

For easy home
1x1 = 207x207
3x1 = 645x207
3x3 = 645x645

Change-Id: Ie2af0f0dca6588b6869fbf75486b27994d04d5df

11 years agoUpdate liveinfo utility.
Sung-jae Park [Sat, 26 Jan 2013 14:24:03 +0000 (14:24 +0000)]
Update liveinfo utility.

Working like a common shell.

More command should be implemented.
such as "rm", "cat"

Update spec file

Change-Id: Ib5f62b52b0e84b420a0f712805c60d00be604351

11 years agoUpdate liveinfo util, key down/up, accessibility
Sung-jae Park [Fri, 25 Jan 2013 11:06:42 +0000 (11:06 +0000)]
Update liveinfo util, key down/up, accessibility

Change-Id: I50b0dc92adaffaca248758365392243a90c3a14b

11 years agoRevise the prevent issue (from private repository)
Sung-jae Park [Thu, 24 Jan 2013 05:33:29 +0000 (05:33 +0000)]
Revise the prevent issue (from private repository)

Change-Id: I66d01e56a0247cfa28820e06c3e4fd3c38ebf746

11 years agoChange the spec file, add mouse_event attribute.
Sung-jae Park [Wed, 23 Jan 2013 03:05:56 +0000 (03:05 +0000)]
Change the spec file, add mouse_event attribute.

For the smack, post script is moved to install section.
mouse_event attribute is added.

Change-Id: I0261816db2ac2516f4dd5e7fee524542ef5806c7

11 years agoChange the script plugin folder
Sung-jae Park [Mon, 21 Jan 2013 05:55:59 +0000 (05:55 +0000)]
Change the script plugin folder

Change-Id: I938c3194d78b8cf10609e59c27fe0b0969408993

11 years agoFix the issue of i18n
Sung-jae Park [Mon, 14 Jan 2013 03:53:21 +0000 (12:53 +0900)]
Fix the issue of i18n

Value of the language field has to be compared insensitively.

Change-Id: Iaf257996f8c143af32f318e9761e3250590feafc

11 years agoApply the smack rule
Sung-jae Park [Fri, 11 Jan 2013 11:00:49 +0000 (20:00 +0900)]
Apply the smack rule

Change-Id: I906509816883a55ae3ab8c7f75290b903eb5bd3d

11 years agoLoad the script plugin with DEEPBIND | NOW | GLOBAL option.
Sung-jae Park [Thu, 10 Jan 2013 06:10:29 +0000 (15:10 +0900)]
Load the script plugin with DEEPBIND | NOW | GLOBAL option.

EDJE requires global scope symbol table lookup to find the subsequently
loaded sound plug-in (also it could be any other)

Change-Id: Ib42fe4e86427d882e0f68b1c70d1f29eac9efef8

11 years agoRevise the spec file
Sung-jae Park [Fri, 4 Jan 2013 12:34:06 +0000 (21:34 +0900)]
Revise the spec file

Change the package name of the web livebox provider.
(From org.tizen.data-provider-webapp-slave to livebox.web-provider)

Clear the files in the shared folder first before initiate the master.
Add reader & always folder parse code from conf file.

Change-Id: I10415faadda3dd267d728ce71b029abdb770964e

11 years agoChange the systemd init script
Sung-jae Park [Fri, 4 Jan 2013 00:57:52 +0000 (09:57 +0900)]
Change the systemd init script

Add SETUID for the executable image file.
Update spec file for rpmlint
Remove unnecessary environment variables

Change-Id: If6f88d4aff672cf48c98642615d164116da33911

11 years agoChange the LOG_TAG
Sung-jae Park [Wed, 2 Jan 2013 06:57:21 +0000 (15:57 +0900)]
Change the LOG_TAG

Change-Id: Ie96b7e7109887888884d752b3ef32a357715c88b

11 years agoFix the bug of buffer type handler
Sung-jae Park [Fri, 28 Dec 2012 08:16:34 +0000 (17:16 +0900)]
Fix the bug of buffer type handler

Change the package name of the web-livebox service provider.

com.samsung.data-provider-webapp-slave
-->
org.tizen.data-provider-webapp-slave

Change-Id: I1a8842eb0e73579d67195ea6132be6430e927876

11 years agoChange the type of auto_launch record to TEXT
Sung-jae Park [Thu, 27 Dec 2012 03:46:50 +0000 (12:46 +0900)]
Change the type of auto_launch record to TEXT

To know the exact package name for launching it when a user clicks a box

Change-Id: I0231abf331cd41e8edae807ba5400da09aa0fbb0