platform/framework/web/livebox-viewer.git
11 years agoReplace gettimeofday with clock_get_time
Sung-jae Park [Thu, 26 Sep 2013 02:18:00 +0000 (11:18 +0900)]
Replace gettimeofday with clock_get_time

Change-Id: I8ef773a50f011a87223738c9b45d4239172a0289

11 years agoAdd new function for setting the configuration value via argument
Sung-jae Park [Tue, 24 Sep 2013 12:45:43 +0000 (21:45 +0900)]
Add new function for setting the configuration value via argument

Change-Id: I4a740555a80629a84f853c8e206c508d72b7c426

11 years agoCheck the length of content string.
Sung-jae Park [Wed, 11 Sep 2013 10:15:55 +0000 (19:15 +0900)]
Check the length of content string.

If it is zero length string, use the default content if exists.

Change-Id: Ib122bfb0ce82d9ebb25a94aa81580550f9923053

11 years agoUpdate image/desc filename management code
Sung-jae Park [Wed, 4 Sep 2013 04:43:06 +0000 (13:43 +0900)]
Update image/desc filename management code

Every update will change the image/desc filename.

Change-Id: Iaeb2e9ca8cfd8419f39b68e9be4c429b2838cfb0

11 years agoUpdate doxygen and error code
Sung-jae Park [Tue, 3 Sep 2013 02:41:28 +0000 (11:41 +0900)]
Update doxygen and error code

Change-Id: I1165008ea951eb5929f3ba727bbe9d13d9957b78

11 years agoInitialize the "ret" before use it.
Sung-jae Park [Tue, 27 Aug 2013 07:30:44 +0000 (16:30 +0900)]
Initialize the "ret" before use it.

Change-Id: I04ee8b29a340db192bbb467ac44c2e10fe376e77

11 years agoInterface to provider is changed
Sung-jae Park [Fri, 23 Aug 2013 08:53:06 +0000 (17:53 +0900)]
Interface to provider is changed

Change-Id: I04c505ef096e2e603c927fa1db7b781243b857d3

11 years agoUpdate coding convention & file-service added.
Sung-jae Park [Tue, 13 Aug 2013 01:32:20 +0000 (10:32 +0900)]
Update coding convention & file-service added.

file_service is introduced. (not yet fully applied)

Change-Id: Ia2e94b1063e62a2b4f25feb78f945afa00d15b2e

11 years agoSupport the remote client service
Sung-jae Park [Mon, 5 Aug 2013 12:52:20 +0000 (21:52 +0900)]
Support the remote client service

Change-Id: I7367e1496ef0117d167f8b48d8e3295e1ad087d4

11 years agoFix the invalid error code of accessibility CB.
Sung-jae Park [Mon, 15 Jul 2013 03:44:39 +0000 (12:44 +0900)]
Fix the invalid error code of accessibility CB.

Change-Id: Ieff89df5f4efe3dfe03eaf0c46bfdf8d62af7a80

11 years agoValidate the pixmap for release_XX_pixmap
Sung-jae Park [Thu, 4 Jul 2013 02:48:47 +0000 (11:48 +0900)]
Validate the pixmap for release_XX_pixmap

Change-Id: I95559f72f21317757261de7e8394157bc16f98e6

11 years agoRemoe last trailing comma
Sung-jae Park [Wed, 3 Jul 2013 23:43:26 +0000 (08:43 +0900)]
Remoe last trailing comma

Change-Id: I43d89a2c569463dfaa57d6b5112a46c75429ea39

11 years agoUpdate Log
Sung-jae Park [Thu, 27 Jun 2013 05:16:00 +0000 (14:16 +0900)]
Update Log

Change-Id: I1298961f2d8260cb24b5d4ff7f1ed6cd98234b1e

11 years agoReduce the debugging logs
Sung-jae Park [Thu, 27 Jun 2013 00:06:00 +0000 (09:06 +0900)]
Reduce the debugging logs

Change-Id: I458d9235a8d307828141b39b79fc4e0f3f212cc6

11 years agoFix GCC 4.8 warnings
Sung-jae Park [Wed, 26 Jun 2013 00:42:16 +0000 (09:42 +0900)]
Fix GCC 4.8 warnings

Change-Id: I4582a62873fb5fcbe005a4b0e1d084e74f382f80

11 years agoEvent filter value is changed to 0.01
Sung-jae Park [Tue, 25 Jun 2013 06:52:09 +0000 (15:52 +0900)]
Event filter value is changed to 0.01

Change-Id: If3c5d64421f591205b1c000129fbb26414b94740

11 years agoMerge branch 'tizen_2.1' into tizen_2.2
Sung-jae Park [Thu, 13 Jun 2013 02:07:51 +0000 (11:07 +0900)]
Merge branch 'tizen_2.1' into tizen_2.2

Change-Id: I8cb9262a06e29b5916466552799c426554d250b3

11 years agoApply secure log and update the terminate sequence.
Sung-jae Park [Thu, 13 Jun 2013 01:12:10 +0000 (10:12 +0900)]
Apply secure log and update the terminate sequence.

[model] Tizen
[binary_type] AP
[customer] Tizen Developer
[issue#] N/A
[problem] Before close the socket, disconnected callback should be deleted first.
[cause] com-core is changed. even though the user close the socket, if there is any registered callback for disconnecting event, it will be invoked.
[solution] Delete disconnection callback first before close the socket.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: Iac32ef696ae32812ab40562764a255205842cd6c

11 years agoRemove unnecessary dlog
Sung-jae Park [Wed, 29 May 2013 07:06:20 +0000 (16:06 +0900)]
Remove unnecessary dlog

Change-Id: I45c41ee1aab082c79983dfd351e7fb3ebd6303d1

11 years agoUpdate PD_Destroy request API
Sung-jae Park [Tue, 28 May 2013 05:41:00 +0000 (14:41 +0900)]
Update PD_Destroy request API

[model] Tizen
[binary_type] AP
[customer] Tizen Developers
[issue#] N/A
[problem] Need to send pd destroy request even if it is in creating.
[cause] PD cannot be created in short time, in the worst case.
[solution] Send the destroy request to the master even if the pd is not created yet.
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: Iacd4583c6189705b370df5fa7e01e8418820c625

11 years agoDon't try to make a connection again from discon cb
Sung-jae Park [Mon, 20 May 2013 11:28:44 +0000 (20:28 +0900)]
Don't try to make a connection again from discon cb

Change-Id: I7d26a4eb113246e4cea2358bb1268c25b4eaf770

11 years agoVarious patches are applied tizen_2.1 accepted/tizen/20130530.164853 submit/tizen/20130528.214746 submit/tizen_2.1/20130514.053010
Sung-jae Park [Tue, 30 Apr 2013 12:48:11 +0000 (21:48 +0900)]
Various patches are applied

Patch 8/8
    Fix the invalid livebox content event handling code.
    (After changing the event mask, viewer cannot send livebox event correctly.)

Patch 7/8
    Fix the prevent issue

Patch 6/8
    Update License

Patch 5/8
    Replace VALUE_CHANGE with ACTION_DOWN/UP

Patch 4/8
    Resolve prevent issues

Patch 3/8
    Update version

Patch 2/8
    Fix prevent issue: CID 16045

Patch 1/8
    Use the vconf instead of timer.

    To optimize the initiate method.
    While using timer, the library tries to make a connection to a master
    every N sec later.

    But it decrease the system performance, so I just changed the timer
    to the vconf notification.

    Now the viewer will only tries to connect to the master only if its
    state is changed.

    But in the worst case,
    If the master is started, but the viewer fails to connect to a master,
    The viewer will not try to connect to the master again.
    Even if the master is ready to accept a new connection.
    (If we met this case, the system has serious problems.)

Change-Id: Ibe8adfb00dcc2695e366d6cacdce05cb74bc161c

11 years agoResolve prevent issues 2.1b_release accepted/tizen_2.1/20130425.023343 submit/tizen_2.1/20130424.223934
Sung-jae Park [Tue, 23 Apr 2013 04:04:08 +0000 (13:04 +0900)]
Resolve prevent issues

Change-Id: I010da9a1e62ae817ebfad84e8c2b982478ec01de

11 years agoUse the vconf instead of timer for making connection to master.
Sung-jae Park [Tue, 23 Apr 2013 00:02:01 +0000 (09:02 +0900)]
Use the vconf instead of timer for making connection to 

If the master is not launched or ready to service,
Viewer should try to connect to it.

To try it, previously, we used timer.
So the viewer tries making connection after every N secs.

It can be harm to the system performance.
So this patch will change it to vconf.

So the master will change the vconf value,
Then the viewer notify its changing, and try to connect to it.

Change-Id: I6fa0a1467e223a917afbedf5aeb473ce9654bfd9

11 years agoFix prevent CID 16045
Sung-jae Park [Mon, 22 Apr 2013 07:26:14 +0000 (16:26 +0900)]
Fix prevent CID 16045

Change-Id: I79051b4d54389ddbdcd3dda158b4986b69093b7d

11 years agoUpdate License
Sung-jae Park [Fri, 19 Apr 2013 11:43:03 +0000 (20:43 +0900)]
Update License

Change-Id: I06d5bbaa9dab92c714062919f82c5b4284ffa190

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

Change-Id: I18662f779ce4015f30565989cf340f6091d4a7d9

11 years agoaul_open -> aul_launch. scroll access added
Sung-jae Park [Thu, 18 Apr 2013 05:04:37 +0000 (14:04 +0900)]
aul_open -> aul_launch. scroll access added

Check the parameter.
Even if it is checked before call the function,
We need to guarantees the argument from the receiver function.

Replace the aul_open with aul_launch
To keep the consistency of launching an application with Web.

Update accessibility scroll event.

Change-Id: Ie757bf558cac45e9457f9c06ca3fc469bd74df69

11 years agoFix prevent issues & accessibility handler updated
Sung-jae Park [Fri, 12 Apr 2013 04:17:54 +0000 (13:17 +0900)]
Fix prevent issues & accessibility handler updated

Fix the issues which are reported by prevent.

Clear the callback when processing the result callback.
User can call again in its result callback.
Update version

Add an event for accessibility unhighlight.
Update version

Change-Id: I62e14c0aa42e6d17cc127c6030176519bb411750

11 years agoSync with the private repository
Sung-jae Park [Wed, 10 Apr 2013 11:48:31 +0000 (20:48 +0900)]
Sync with the private repository

Add more log for debugging

Add log for debugging

Update accessibility event code.
Add new API for sending accessibility event to provider.
Clear all registered event callbacks if an instance is destroyed by fault.
To give time to release their resources for event callbacks.
Access status event type is added.
Access status would be sent from the provider.
Update VERSION

Active/Passive update mode is added

livebox_set_update_mode is added.
This only can be used after creating a livebox.
After it gets the created event, the viewer can set the update mode.
Before set the update mode, it will run for passive mode viewer.
So it will send updated event to the viewer for every frames.

Change-Id: I52bc0a38a1a020e7f2b7f60b393234fd325ba127

11 years agoFix for 64 bit compatibility.
Junfeng Dong [Mon, 8 Apr 2013 06:10:33 +0000 (14:10 +0800)]
Fix for 64 bit compatibility.

- Fix hardcoding path.
- Use %cmake to set default paths.

Change-Id: If9164bb728cc88c984683b902383c6eb4a4026d0

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

    Add new event path & change pixmap 24 to 32.

    Accessibility event paths are added.

    Fix the bug of size changed event handler.
    Because of invalid fbfile, the size of a box is resetted.
    I used instance id instead of fb id,.
    So the box buffer info indicates invalid uri
    This patch will fix it.

    master will send a new fbid when it sending the size,changed event.
    Then the viewer will get it and update the fbinfo using received fbid.

    Remove unnecessary parameter checking code.
    Maybe accidently remained.
    Add hold scroll event path.
    Some box wants to hold the viewer's scroller when they handling their events.

Change-Id: If1832b1c841cb5c3e793103f3d728ed36c116bdc

11 years agoUpdate License
Sung-jae Park [Mon, 25 Mar 2013 04:08:50 +0000 (04:08 +0000)]
Update License

2012 -> 2013

Unlink the kept image file when the handler is deleted.

Change-Id: I292c23eea20f0df38e549c7e7aa269d9a623d234

11 years agoUpdate the size changed callback handler.
Sung-jae Park [Fri, 22 Mar 2013 01:36:04 +0000 (01:36 +0000)]
Update the size changed callback handler.

If a user tries to change the size with size changed callback,
size changed callback should be called even if it failed to change size.

Change-Id: Iade97b82f3f5c6ed34abf0ea529a3495a1d4d9e6

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

Conflicts:
include/livebox.h
packaging/liblivebox-viewer.spec
src/client.c
src/livebox.c

Change-Id: I050dcac2812c1c85d7a12e3589304b02d78dad66

11 years agoAdd new event SET/UNSET, aul_open for auto-launch
Sung-jae Park [Tue, 19 Mar 2013 10:25:16 +0000 (10:25 +0000)]
Add new event SET/UNSET, aul_open for auto-launch

1. SET/UNSET
SET will be used to set focus to a box.
Then the master will send mouse event to it directly.

UNSET will be used to unset a focus from the box.
Then the master will stop sending mouse events.

2. Auto launch
Previously, we use the aul_launch to launch an app via box.
So the app always got reset event when a user tries launch it.
This patch will do not send reset event to the app if it is already launched.
Instead of reset, this changes will send the resume event.

Issue: DCM-974

Change-Id: Ia1e515d0d7d6dd45144603f149c2b4586744b736

11 years agosync wit master
Jinkun Jang [Sat, 16 Mar 2013 12:49:29 +0000 (21:49 +0900)]
sync wit master

11 years agoFix the bug of livebox_get_pdsize function.
Sung-jae Park [Fri, 8 Mar 2013 08:57:49 +0000 (08:57 +0000)]
Fix the bug of livebox_get_pdsize function.

It has to returns the default PD size if the PD is not created.

Change-Id: Id8388d0b047f01cff5dd2ef82dbbbb25dbe65567

11 years agoGet the default PD size even though it is not created.
Sung-jae Park [Tue, 5 Mar 2013 11:04:34 +0000 (11:04 +0000)]
Get the default PD size even though it is not created.

Change-Id: Ib31cac7fef1b3e9e35aa7d97b9047c8eb154b768

11 years agoAdd PD move event
Sung-jae Park [Mon, 4 Mar 2013 11:03:02 +0000 (11:03 +0000)]
Add PD move event

Change-Id: Iad6368979c251ccedd195d3235f1e08e09e6bb38

11 years agoUpdate the FB size when a box gets resized event.
Sung-jae Park [Tue, 26 Feb 2013 12:29:11 +0000 (12:29 +0000)]
Update the FB size when a box gets resized event.

Change-Id: Id870904824de13cf5793d114298494fae7b3c361

11 years agoAdd client pause/resume API
Sung-jae Park [Sat, 23 Feb 2013 09:21:42 +0000 (09:21 +0000)]
Add client pause/resume API

Sync with the private repo

Change-Id: Ic0e3c0fec8de5f99cbece342e645900cb277ccb9

11 years agoAdd new resized event type.
Sung-jae Park [Thu, 21 Feb 2013 10:58:07 +0000 (10:58 +0000)]
Add new resized event type.

Client tries to use the width & height value when it gots the resize done event callback.
So I change it to work like what they expected.

Change-Id: I63e8da340cff685281b3927ba8cbbefd68fde111

11 years agoDisabled package is not able to create an instance.
Sung-jae Park [Thu, 14 Feb 2013 05:22:36 +0000 (05:22 +0000)]
Disabled package is not able to create an instance.

live viewer is updated. (but not working yet)

Change-Id: I4c1f9f4c61213c929aab0f5002d4c3cdb5bc0790

11 years agoAdd livebox update interface.
Sung-jae Park [Wed, 6 Feb 2013 14:12:20 +0000 (14:12 +0000)]
Add livebox update interface.

To update a box individually, we need a new interface.

Change-Id: I17b2669c0d226cf3964bc4f41105a0f5123ce857

11 years agoKey down/up, accessibility events is added
Sung-jae Park [Fri, 25 Jan 2013 11:02:50 +0000 (11:02 +0000)]
Key down/up, accessibility events is added

Update spec file

Change-Id: Ice619a0493cdc5adb768d25db33c4b081fffd025

11 years agoAdd mouse_event attribute
Sung-jae Park [Wed, 23 Jan 2013 03:07:57 +0000 (03:07 +0000)]
Add mouse_event attribute

Change-Id: Ie2f68bad40ec33d3388e80f5ac5a10644345f3ec

11 years agoFix the text type box parsing bug.
Sung-jae Park [Thu, 10 Jan 2013 11:25:32 +0000 (20:25 +0900)]
Fix the text type box parsing bug.

Use the kept_in_safe function to get the filename of the text data
Without that function, the parser couldn't find the correct data file.

Change-Id: If4aea2a0445192664523dfd3cab914f01c15614a

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

Change-Id: Ie2afc73eae1dad15388e416fb528e5c0ea860305

11 years agoChange the LOG_TAG
Sung-jae Park [Wed, 2 Jan 2013 07:03:40 +0000 (16:03 +0900)]
Change the LOG_TAG

Change-Id: Ic4e860de0b0d950695534de8111b9d2f3365528d

11 years agoChange the type of auto-launch attribute to TEXT.
Sung-jae Park [Thu, 27 Dec 2012 03:48:04 +0000 (12:48 +0900)]
Change the type of auto-launch attribute to TEXT.

To launch the app using explict package name.

Change-Id: I6eecec6986af258fbac07d7653cb449cf3050a15

11 years agoInitialize the project.
Sung-jae Park [Thu, 20 Dec 2012 08:15:24 +0000 (17:15 +0900)]
Initialize the project.

Change-Id: Ib443f3c3ff0ff476ffe441a75095d86341a5da12

11 years agoInitial empty repository
HyungKyu Song [Mon, 17 Dec 2012 01:53:35 +0000 (10:53 +0900)]
Initial empty repository