platform/core/system/buxton2.git
9 years agocommon: add message header to enhance exception handling 60/44860/1
Suchang Woo [Mon, 27 Jul 2015 11:43:25 +0000 (20:43 +0900)]
common: add message header to enhance exception handling

In the previous implementation, fragmented message had no header. If
a message was sent by thread during sending fragmented messages, a
receiver cannot distinguish a single message from fragmented messages.
Adding header to every message, a receiver can distinguish
messages.

Change-Id: I14d0f8ff6b0c0f9d3cf55ac9046da1d1ad8b654c
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
9 years agoUnset transmutable in /var/lib/buxton2 87/44487/1 accepted/tizen/mobile/20150723.050617 accepted/tizen/tv/20150723.050738 accepted/tizen/wearable/20150723.050807 submit/tizen/20150723.004510
Suchang Woo [Wed, 22 Jul 2015 12:20:02 +0000 (21:20 +0900)]
Unset transmutable in /var/lib/buxton2

Change-Id: I85db289998af0a9013aa714591e46eaab2f0ced5
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
9 years agolibrary: fix library name in buxton2.pc 86/44486/1
Suchang Woo [Wed, 22 Jul 2015 12:19:01 +0000 (21:19 +0900)]
library: fix library name in buxton2.pc

Change-Id: I3461caf8eb255c77424671c36920fa3ec24d1d4e
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
9 years agodaemon: stop calling accept() when accept returns EMFILE 85/44485/1
Suchang Woo [Wed, 22 Jul 2015 11:48:33 +0000 (20:48 +0900)]
daemon: stop calling accept() when accept returns EMFILE

When the number of open files exceed the maximum number(usually, 1024),
accept() returns EMFILE (Too many open files). and, it is continued
until the number of open files go below the maximum value.

So, stop calling accept() on EMFILE. and, resume it when a client is
closed.

Change-Id: Ie8f3bfce3506e4ab56e3e8d37bbd573ddfd4685c
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
9 years agolibrary: add mutex lock for multi-thread 00/44200/1 accepted/tizen/mobile/20150719.234501 accepted/tizen/tv/20150719.234508 accepted/tizen/wearable/20150719.234518 submit/tizen/20150718.100000
Suchang Woo [Sat, 18 Jul 2015 09:57:19 +0000 (18:57 +0900)]
library: add mutex lock for multi-thread

Change-Id: If1c10261f8e4645b8d9cc14283d24dabd6280445
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
9 years agovconf-compat: fix keynode unknown type 86/44186/1 accepted/tizen/mobile/20150718.081949 accepted/tizen/tv/20150718.082210 accepted/tizen/wearable/20150718.082453 submit/tizen/20150717.121043
Suchang Woo [Fri, 17 Jul 2015 13:04:01 +0000 (22:04 +0900)]
vconf-compat: fix keynode unknown type

In vconf_keylist_add_str() keynode's type is not set.
Setting the type of keynode is added.

Change-Id: I8072749ae7f4225efadbc894b0799585937142f7
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
9 years agocommon: fix segfault issue 83/44183/1
Suchang Woo [Fri, 17 Jul 2015 12:02:40 +0000 (21:02 +0900)]
common: fix segfault issue

When vconf APIs is invoked in callback function, client's receive buffer
which is already full is used again. This makes an abnormal state.
Before invoking callback function, full buffer should be removed from
receive buffer list.

Change-Id: Ie47cca364dfc03fde14aad3e7d156b394cf0a675
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
9 years agovconf-compat: add brief comments of keylist APIs 69/44169/1
Suchang Woo [Fri, 17 Jul 2015 10:04:17 +0000 (19:04 +0900)]
vconf-compat: add brief comments of keylist APIs

Change-Id: I031d5dccd9c1ceef3fa966bda929f347ccd65545
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
9 years agovconf-compat: fix managing the list in keylist struct 68/44168/1
Suchang Woo [Fri, 17 Jul 2015 10:01:23 +0000 (19:01 +0900)]
vconf-compat: fix managing the list in keylist struct

- Add codes to append keynode to the list
- Reset list after all the list elements are freed

Change-Id: Iba1726e86f20838ca3ad93eb562de37c1dafdee0
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
9 years agovconf-compat: add vconf-devel and vconf-keys-devel to the provides tag 67/44167/1
Suchang Woo [Fri, 17 Jul 2015 09:59:56 +0000 (18:59 +0900)]
vconf-compat: add vconf-devel and vconf-keys-devel to the provides tag

Change-Id: Iecd5bd8e1b256958475f1702cee8f5ac7ee6b770
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
9 years agovconf-compat: add keylist APIs 20/44120/3 accepted/tizen/mobile/20150717.060730 accepted/tizen/tv/20150717.060715 accepted/tizen/wearable/20150717.060741 submit/tizen/20150716.101206 submit/tizen_mobile/20150716.101206 submit/tizen_wearable/20150716.101206
Suchang Woo [Fri, 17 Jul 2015 03:23:10 +0000 (12:23 +0900)]
vconf-compat: add keylist APIs

Change-Id: I752303a5914e935ffbb9a06577ef60cdfdc0e31c
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
9 years agovconf-compat: add vconf_get_ext_errno 82/44082/1
Suchang Woo [Thu, 16 Jul 2015 13:06:57 +0000 (22:06 +0900)]
vconf-compat: add vconf_get_ext_errno

Change-Id: I1b04c6c3d8e785df6eb319e90aa34967c2253530
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
9 years agovconf-compat: change include files form from angle-bracket to quoted 78/44078/1
Suchang Woo [Thu, 16 Jul 2015 12:26:14 +0000 (21:26 +0900)]
vconf-compat: change include files form from angle-bracket to quoted

Change-Id: I1e470525a5c7eeb4a59f55775f2c070c3a3fe424
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
9 years agoTurn on Buxton-Cynara permissive mode 73/44073/1
Suchang Woo [Thu, 16 Jul 2015 11:43:29 +0000 (20:43 +0900)]
Turn on Buxton-Cynara permissive mode

Change-Id: Ie6107a2551e7e8090b83600a3d04e4bf5f645691
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
9 years agovconf-compat: add vconf_get_dbl, vconf_set_dbl 70/44070/1
Suchang Woo [Thu, 16 Jul 2015 11:38:31 +0000 (20:38 +0900)]
vconf-compat: add vconf_get_dbl, vconf_set_dbl

Change-Id: I6a52f9c89f6738d51ad5f1d5a97e321c7049325c
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
9 years agoWorkaround: add glib-2.0 requires for preventing build break 63/44063/1
Suchang Woo [Thu, 16 Jul 2015 11:09:25 +0000 (20:09 +0900)]
Workaround: add glib-2.0 requires for preventing build break

Change-Id: I045d4fe128273868630fe0334b2800a57286716a
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
9 years agoAdd missing requires 59/44059/1
Suchang Woo [Thu, 16 Jul 2015 10:52:03 +0000 (19:52 +0900)]
Add missing requires

vconf-compat-devel requires vconf-internal-keys-devel package

Change-Id: Ic029341f12d0c250d3576ac16346d5e41fb591f1
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
9 years agoInitial import master
Suchang Woo [Thu, 16 Jul 2015 08:12:54 +0000 (17:12 +0900)]
Initial import

Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
9 years agoInitial empty repository
KyungMi Lee [Thu, 16 Jul 2015 07:42:50 +0000 (00:42 -0700)]
Initial empty repository