platform/core/iot/iotcon.git
8 years agoRemove smack label of dbus service & fix permission for tizen 3.0
youngman [Thu, 22 Oct 2015 11:35:42 +0000 (20:35 +0900)]
Remove smack label of dbus service & fix permission for tizen 3.0

Change-Id: I224221eaf7c315b278c36e3457ceae5fca7ea45d
Signed-off-by: youngman <yman.jung@samsung.com>
8 years ago(ACR) Remove iotcon_request_get_uri_path()
youngman [Thu, 22 Oct 2015 08:19:42 +0000 (17:19 +0900)]
(ACR) Remove iotcon_request_get_uri_path()

Change-Id: Id4455ca563564b1fe8149b3868cbf997b29df0a5
Signed-off-by: youngman <yman.jung@samsung.com>
8 years ago(ACR) Change from iotcon_remote_resource_ref to iotcon_remote_resource_clone
sung.goo.kim [Thu, 22 Oct 2015 03:29:27 +0000 (12:29 +0900)]
(ACR) Change from iotcon_remote_resource_ref to iotcon_remote_resource_clone

Change-Id: Ifbb15b398675072d0ce17ec9ba0365756c1fd205

8 years ago(ACR) remove set_device/platform_info API, hide start/stop_presence API
sung.goo.kim [Tue, 20 Oct 2015 09:17:08 +0000 (18:17 +0900)]
(ACR) remove set_device/platform_info API, hide start/stop_presence API

Change-Id: I0015f8551eafcd550fdff9ef81b714bbc9e19a2e

8 years ago(Bug) Removed wrong error message when destroying resource
sung.goo.kim [Wed, 21 Oct 2015 02:32:00 +0000 (11:32 +0900)]
(Bug) Removed wrong error message when destroying resource

Change-Id: I818a5cd89f89a4429b1c8a81b18598f403eb58af

8 years ago(bug) invalid if statement
sung.goo.kim [Tue, 20 Oct 2015 05:18:18 +0000 (14:18 +0900)]
(bug) invalid if statement

Change-Id: I0c9878961a5a9908acdcd184c80aec8447b1dec2

8 years agoAdd Tizen Info Handling API
youngman [Fri, 16 Oct 2015 08:48:29 +0000 (17:48 +0900)]
Add Tizen Info Handling API

Change-Id: I72c83429475ae97ec36f531b0575699343611e52
Signed-off-by: youngman <yman.jung@samsung.com>
8 years ago(ACR) Integrate notify_list and notify_all
sung.goo.kim [Mon, 19 Oct 2015 05:01:53 +0000 (14:01 +0900)]
(ACR) Integrate notify_list and notify_all

Change-Id: I3d1f75d4263bc372d0ff15c0d9cf4ac8f2e697cc

8 years ago(ACR) Classify IOTCON_ERROR_IOTIVITY
sung.goo.kim [Wed, 14 Oct 2015 05:40:38 +0000 (14:40 +0900)]
(ACR) Classify IOTCON_ERROR_IOTIVITY

Change-Id: Icfaf83ab5be58ceb56b466453a6b953fa8ffd2d8

8 years ago(ACR) device info / platform info handle
youngman [Wed, 14 Oct 2015 01:48:20 +0000 (10:48 +0900)]
(ACR) device info / platform info handle

Change-Id: I8241e96afe6e119c3705c4936d67abfc079c59fd
Signed-off-by: youngman <yman.jung@samsung.com>
8 years ago(ACR) Modify the handle and API naming for resource and client(remote resource)
youngman [Wed, 14 Oct 2015 01:54:33 +0000 (10:54 +0900)]
(ACR) Modify the handle and API naming for resource and client(remote resource)

Change-Id: Ia26f2ed0f7c2fa47c2d7127b4198b6b6eb5ba5a5
Signed-off-by: youngman <yman.jung@samsung.com>
8 years ago(ACR) Integrate iotcon_state_del_xxx -> iotcon_state_del
sung.goo.kim [Wed, 14 Oct 2015 01:06:48 +0000 (10:06 +0900)]
(ACR) Integrate iotcon_state_del_xxx -> iotcon_state_del

Change-Id: I031cbde4331892a1c1082068081d90f2b705df32

8 years ago(ACR) Integrate iotcon_list_del_nth_xxx -> iotcon_list_del_nth
sung.goo.kim [Wed, 14 Oct 2015 01:00:30 +0000 (10:00 +0900)]
(ACR) Integrate iotcon_list_del_nth_xxx -> iotcon_list_del_nth

Change-Id: I97ae385acce2bbe642a17728819d9fb71b1cab86

8 years ago(ACR) Rename sid -> device_id
sung.goo.kim [Wed, 14 Oct 2015 01:16:12 +0000 (10:16 +0900)]
(ACR) Rename sid -> device_id

Change-Id: I7e6dc5d458f81523fba17581bb1f4b889e6256c2

8 years agoAlways restart iotcon-daemon
youngman [Mon, 5 Oct 2015 11:37:58 +0000 (20:37 +0900)]
Always restart iotcon-daemon

Change-Id: I022eea1b76d27eae469fd6e4e77f40112d0e66eb
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agorevise
Youngjae Shin [Sun, 27 Sep 2015 10:53:06 +0000 (19:53 +0900)]
revise

Change-Id: Ifc245aa459b0e08e4a0000e95fe088d86c33fff0
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agofix prevent 482200 ~ 482217
Sangkwan Lee [Thu, 1 Oct 2015 07:24:23 +0000 (16:24 +0900)]
fix prevent 482200 ~ 482217

Change-Id: Iec0b71761b2db17220126d13e12eeecd0cf715d0
Signed-off-by: Sangkwan Lee <skgood.lee@samsung.com>
8 years agofix rpm warning
Youngjae Shin [Sun, 27 Sep 2015 08:37:48 +0000 (17:37 +0900)]
fix rpm warning

Change-Id: Ibe4bbf572a99cb00a730668ad67ee3e68cfb2264

8 years agoApply security
youngman [Fri, 25 Sep 2015 05:11:43 +0000 (14:11 +0900)]
Apply security

Change-Id: If8b11b300273d76ed364d999f9d59e7cc6f19679
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agoACR-375 API review
Minchul Lee [Thu, 3 Sep 2015 08:27:46 +0000 (17:27 +0900)]
ACR-375 API review
- add API description for doxigen
- divide repr to representation and state
- change return value from object to integer (error number)
- add keyword "void" for non-paremeter function
- remove a variadic function and make several functions
- change callback name from "fn" to "cb"
- move some define to be hide

Change-Id: I8d4374e3b7d50d7f218bd4f83790bf9b6a582ed8
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
8 years agoIotcon documentation
Sangkwan Lee [Fri, 28 Aug 2015 09:06:05 +0000 (18:06 +0900)]
Iotcon documentation

Change-Id: I771f3e0e035f759342666529d4cffb677b9df607
Signed-off-by: Sangkwan Lee <skgood.lee@samsung.com>
8 years agoSupport 64-bit architectures
youngman [Fri, 28 Aug 2015 10:00:59 +0000 (19:00 +0900)]
Support 64-bit architectures

Change-Id: I49d3cfc4f6b5580fd9c075795f39ad3b3811cf3e
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agoApply iotivity 0.9.2
youngman [Fri, 21 Aug 2015 11:38:51 +0000 (20:38 +0900)]
Apply iotivity 0.9.2

Change-Id: I57f15b6eed5a217a4699fb117176a3a690c6824f
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agoapply platform info functions
Minchul Lee [Tue, 11 Aug 2015 04:45:53 +0000 (13:45 +0900)]
apply platform info functions

Change-Id: Ibed262bce2df0a4af1a27d9b7da49e026dacba33
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
8 years agoapply observe,presence functions
youngman [Mon, 10 Aug 2015 05:55:16 +0000 (14:55 +0900)]
apply observe,presence functions

Change-Id: I31b910bd0c51fb3416dbe747163e32b3cbcb30a5
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agoapply put,post,delete functions
Minchul Lee [Wed, 5 Aug 2015 04:44:24 +0000 (13:44 +0900)]
apply put,post,delete functions

Change-Id: I78412d23545d91d7a59135064233945beee3330b
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
8 years agoiotcon_initialize() is called multiple times
youngman [Fri, 31 Jul 2015 09:23:52 +0000 (18:23 +0900)]
iotcon_initialize() is called multiple times

Change-Id: Id0957649334bd5132157c8a0e73514ce9aaeb0ae
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agosend response differently by interface type
Minchul Lee [Tue, 21 Jul 2015 06:21:31 +0000 (15:21 +0900)]
send response differently by interface type

Change-Id: I8fcfb6dc8c9f0d14a4d427f16ef0289aec6e6ee4
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
8 years agoModify gdbus structure(related to CRUD) and gvariant builder
youngman [Fri, 24 Jul 2015 05:01:12 +0000 (14:01 +0900)]
Modify gdbus structure(related to CRUD) and gvariant builder

Change-Id: Ibf1130756be41018551ad6687ea1d239e977c46f
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agoFix prevent CID 452988 ~ 452993
Sangkwan Lee [Mon, 13 Jul 2015 09:22:30 +0000 (18:22 +0900)]
Fix prevent CID 452988 ~ 452993

Change-Id: Ib63ede6c2780daa44a781c62cee454c4bc637656
Signed-off-by: Sangkwan Lee <skgood.lee@samsung.com>
8 years agoRemove all cpp code
youngman [Fri, 24 Jul 2015 11:04:19 +0000 (20:04 +0900)]
Remove all cpp code

Change-Id: Ie64381f2731294c348ba3072007854db89608e21
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agoModify callback parameter
youngman [Wed, 15 Jul 2015 05:53:51 +0000 (14:53 +0900)]
Modify callback parameter

Change-Id: I35f4f67d7248ba088213c904926fa0a46336a1d0
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agoapply Serverside functions related to resource
youngman [Mon, 20 Jul 2015 08:34:45 +0000 (17:34 +0900)]
apply Serverside functions related to resource

Change-Id: I73a04df860ae12edd549c18b19b5d0fa3f22f303
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agoremove PIE option on global configuation
Youngjae Shin [Wed, 22 Jul 2015 06:06:44 +0000 (15:06 +0900)]
remove PIE option on global configuation

Change-Id: Ib6e89f4085c9d9f285596260c5be9f583896ee77

8 years agoapply register / find / get functions
Minchul Lee [Fri, 10 Jul 2015 02:08:05 +0000 (11:08 +0900)]
apply register / find / get functions

Change-Id: Ic0ecc068703f00c8f4be71ff3a07e4f8450e2d8d
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
8 years agoFix iotcon_bind_resource()
youngman [Wed, 15 Jul 2015 08:28:41 +0000 (17:28 +0900)]
Fix iotcon_bind_resource()

Change-Id: I2cd0de02a4b93d8f531eb7a6b3cc7388bff57d57
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agowrite boilerplate notice into platform-test code
Minchul Lee [Tue, 14 Jul 2015 12:05:29 +0000 (21:05 +0900)]
write boilerplate notice into platform-test code

Change-Id: I54d377de952731edccacddaea717e4f44696607a
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
8 years agoRemove ic-dbus files which are automatically generated
youngman [Tue, 14 Jul 2015 12:54:33 +0000 (21:54 +0900)]
Remove ic-dbus files which are automatically generated

Change-Id: Ief7e97426349162eb52b2545adba5ac5b6e10667
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agoModify iotcon_repr_foreach()
youngman [Thu, 9 Jul 2015 04:43:33 +0000 (13:43 +0900)]
Modify iotcon_repr_foreach()

Change-Id: If74c4db2392d5f0189038ed3e995d8fae9a6fc98
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agofix an error code in iotcon_initialize()
youngman [Tue, 7 Jul 2015 07:35:30 +0000 (16:35 +0900)]
fix an error code in iotcon_initialize()
 and a bug that user_data is always NULL

Change-Id: I36d6c1747b309649eb24e606445413b9bb48cbab
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agomigration to iotivity ver 0.9.1
Minchul Lee [Sat, 4 Jul 2015 07:06:34 +0000 (16:06 +0900)]
migration to iotivity ver 0.9.1

Change-Id: I3f50fcdda41c9c69fa7275c848d8eca2c020e898
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
8 years agoAdd connection changed callback in lib
youngman [Tue, 23 Jun 2015 05:52:03 +0000 (14:52 +0900)]
Add connection changed callback in lib

Change-Id: I1e33d70fb1b522a3f0fea44d1f54a26164a5ddf6
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agoModify manifest file(remove execute label)
youngman [Thu, 25 Jun 2015 12:13:29 +0000 (21:13 +0900)]
Modify manifest file(remove execute label)

Change-Id: Ib75c17aae342e4d7a8698ea75bf53935da0ade3f
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agoRemove unnecessary code in initialize and register step
youngman [Thu, 25 Jun 2015 06:39:12 +0000 (15:39 +0900)]
Remove unnecessary code in initialize and register step

Change-Id: Ib8931567c9c00482bfee83a9c3495e4d5d36b6af
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agofix memory leak of ic_repr_generate_json
Minchul Lee [Wed, 24 Jun 2015 11:06:50 +0000 (20:06 +0900)]
fix memory leak of ic_repr_generate_json

Change-Id: Id83ccb82204310956f28093f7e77ceb05420fefd
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
8 years agoapply try-catch statement for iotivity functions
Minchul Lee [Tue, 23 Jun 2015 05:45:55 +0000 (14:45 +0900)]
apply try-catch statement for iotivity functions

Change-Id: I0549fa295cb9709771f72a5927cc61f4ae349b92
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
8 years agounsubscribe signal when unregister resource and unsubscribe presence
youngman [Tue, 23 Jun 2015 06:11:06 +0000 (15:11 +0900)]
unsubscribe signal when unregister resource and unsubscribe presence

Change-Id: I6a09c11a87716aee0675be332f6ba8386db3d14a
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agomodify some bugs of functions
Minchul Lee [Tue, 23 Jun 2015 06:29:04 +0000 (15:29 +0900)]
modify some bugs of functions

Change-Id: Icd79fbad4546569650bce50b0855df570f623e7c
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
8 years agoapply resource handle list
Minchul Lee [Mon, 22 Jun 2015 02:29:51 +0000 (11:29 +0900)]
apply resource handle list

Change-Id: Ic5a76bb3343f1a83b46c346d38de0f4b1798a97a
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
8 years agoApply sender concept for signal
youngman [Thu, 18 Jun 2015 06:50:34 +0000 (15:50 +0900)]
Apply sender concept for signal

Change-Id: I33ce01fbd45ca8e759e949f985ce360ecf863e44
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agoD-Bus connection (between lib and daemon)
youngman [Fri, 12 Jun 2015 11:18:10 +0000 (20:18 +0900)]
D-Bus connection (between lib and daemon)

Change-Id: Ia0e177fe79c29ea4bfbfb736ae6208b36f2567f3
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agoModify ic_options_s(has_parent->ref_count)
youngman [Tue, 16 Jun 2015 07:45:30 +0000 (16:45 +0900)]
Modify ic_options_s(has_parent->ref_count)

Change-Id: I97662564c441b44444495f128a50f4b5181fa26d
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agoAttach "coap://" automatically. & Divide "notify"(all and list)
youngman [Mon, 15 Jun 2015 07:43:55 +0000 (16:43 +0900)]
Attach "coap://" automatically. & Divide "notify"(all and list)

Change-Id: I18193f0b85139aaa174e0c3cce1ec521a14fc167
Signed-off-by: youngman <yman.jung@samsung.com>
8 years agoinit work for daemonization
Youngjae Shin [Thu, 4 Jun 2015 23:43:26 +0000 (08:43 +0900)]
init work for daemonization

9 years agofix prevent issues 05/41205/1
Minchul Lee [Wed, 10 Jun 2015 08:39:54 +0000 (17:39 +0900)]
fix prevent issues

Change-Id: Iab559d9d43a3fc2c62800a4152e0a216bd338e0d
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
9 years agointegrate CRU Callback
youngman [Mon, 8 Jun 2015 05:34:23 +0000 (14:34 +0900)]
integrate CRU Callback

Change-Id: I1c519c5bcee0aee983f6e34c473138ddf5f59475
Signed-off-by: youngman <yman.jung@samsung.com>
9 years agoPrevent to modify items that already set.
youngman [Fri, 5 Jun 2015 04:57:27 +0000 (13:57 +0900)]
Prevent to modify items that already set.

Change-Id: I72a1b2584496997b9ef77fae19ef5643919e17dc
Signed-off-by: youngman <yman.jung@samsung.com>
9 years agoremove excution permission of files
Youngjae Shin [Thu, 4 Jun 2015 23:46:32 +0000 (08:46 +0900)]
remove excution permission of files

9 years agoReinforce Struct & Get functions
youngman [Tue, 2 Jun 2015 03:40:19 +0000 (12:40 +0900)]
Reinforce Struct & Get functions

Change-Id: Iefe066d3c9d96a4e20ec06bb86e1f71041f63904
Signed-off-by: youngman <yman.jung@samsung.com>
9 years agomodify functions to be compatible with tizen v2.3
Minchul Lee [Wed, 3 Jun 2015 05:05:03 +0000 (14:05 +0900)]
modify functions to be compatible with tizen v2.3

Change-Id: Id4c3456f0c76f1d819e091b0626c95ba32a30714
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
9 years agoModify Error type
youngman [Wed, 3 Jun 2015 10:34:35 +0000 (19:34 +0900)]
Modify Error type

Change-Id: I4f43c94510c681d355013ad3922aa4b01adaac96
Signed-off-by: youngman <yman.jung@samsung.com>
9 years agomodify naming of repr
Minchul Lee [Wed, 3 Jun 2015 05:54:31 +0000 (14:54 +0900)]
modify naming of repr

Change-Id: I6704f86ca0f3a4c577daa2dec0a7c619fa918488
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
9 years agomodify return type of functions
Minchul Lee [Thu, 28 May 2015 06:36:48 +0000 (15:36 +0900)]
modify return type of functions

Change-Id: Ic15966fdeb476b82f7e8039150d61a7f6824bbd5
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
9 years ago(1) apply reference count concept for repr (2) modify string list
Minchul Lee [Thu, 28 May 2015 03:30:28 +0000 (12:30 +0900)]
(1) apply reference count concept for repr (2) modify string list

Change-Id: I89734e1e8221a2a4364fb6bc4035dca8c5857bec
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
9 years ago(1) Remove internal struct file
youngman [Thu, 28 May 2015 08:59:22 +0000 (17:59 +0900)]
(1) Remove internal struct file
(2) Apply strict parameter condition(device_info, options, query, uri, resource_type)
(3) Add device-test

Change-Id: Ie49c67263cc9ff93e352ed6d4baab2da622fe4ef
Signed-off-by: youngman <yman.jung@samsung.com>
9 years ago(1) Encapsulate structures (2) Add macro(well known address)
youngman [Tue, 19 May 2015 13:35:55 +0000 (22:35 +0900)]
(1) Encapsulate structures (2) Add macro(well known address)

Change-Id: Icb01f4d785b9ba604ac7c66d93dea03208c774fc
Signed-off-by: youngman <yman.jung@samsung.com>
9 years ago(1) add representation delete and clone functions
Minchul Lee [Wed, 20 May 2015 07:16:44 +0000 (16:16 +0900)]
(1) add representation delete and clone functions
(2) modify list foreach functions
(3) modify comment style
(4) add doxygen comment for the terms "set" and "append"

Change-Id: I94983217c69a86bf9cd614c00a9ec2234ee7bf56
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
9 years ago(1) fix leak of crud functions, (2) reinforce sample binaries for crud operations...
Minchul Lee [Fri, 15 May 2015 12:52:57 +0000 (21:52 +0900)]
(1) fix leak of crud functions, (2) reinforce sample binaries for crud operations, (3) reinforce delete function

Change-Id: Id0d13339d182f0d3ca172191c3847f74bd3d4e69
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
9 years agoapply function that supports interface
Minchul Lee [Wed, 13 May 2015 11:34:59 +0000 (20:34 +0900)]
apply function that supports interface

Change-Id: I8807ce8cae7d26ee562fd546bbc5bcdb9aa03439
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
9 years agomodify list-related functions
Minchul Lee [Wed, 13 May 2015 12:12:30 +0000 (21:12 +0900)]
modify list-related functions

Change-Id: Iaae3ca12b09df7b28a241152e0c6e0537d73ed9a
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
9 years agoModify iotcon_options API
youngman [Wed, 6 May 2015 11:57:27 +0000 (20:57 +0900)]
Modify iotcon_options API

Change-Id: Ieeaeb20e7ba71eeb78307a49af0af183bad41e49
Signed-off-by: youngman <yman.jung@samsung.com>
9 years agoInitial Code
Youngjae Shin [Mon, 8 Jun 2015 10:38:29 +0000 (19:38 +0900)]
Initial Code

Change-Id: Ia03df5531ee84ec2fc6b1aa34096224b6526c907

9 years agoInitial empty repository
KyungMi Lee [Mon, 8 Jun 2015 05:13:48 +0000 (22:13 -0700)]
Initial empty repository