platform/core/multimedia/mmsvc-core.git
5 years agofixup! Execute dispatcher worker only when muse-server is ready 95/202195/2 accepted/tizen/unified/20190327.025244 submit/tizen/20190326.055955 submit/tizen/20190326.111110
YoungHun Kim [Tue, 26 Mar 2019 02:44:39 +0000 (11:44 +0900)]
fixup! Execute dispatcher worker only when muse-server is ready

Change-Id: If0103cfd2fe08643bedaca00c8e8af67e56f5766

5 years agoExecute dispatcher worker only when muse-server is ready 04/201904/5 accepted/tizen/unified/20190325.070928 submit/tizen/20190322.043412 submit/tizen/20190322.112341
YoungHun Kim [Thu, 21 Mar 2019 00:22:32 +0000 (09:22 +0900)]
Execute dispatcher worker only when muse-server is ready

Change-Id: I046a5e3509c70c16e95e5fe4a0cf01429b19e1ae

5 years agoRemove the json free at module cleanup because already freed 35/200835/1 accepted/tizen/unified/20190320.082238 submit/tizen/20190319.020059
YoungHun Kim [Tue, 5 Mar 2019 02:53:25 +0000 (11:53 +0900)]
Remove the json free at module cleanup because already freed

Change-Id: I37565f58a87c1e2b1d9d785d5847515c8181f7cd

5 years agoAdd new API to get fds 18/200218/5
Jeongmo Yang [Wed, 20 Feb 2019 08:13:13 +0000 (17:13 +0900)]
Add new API to get fds

- The API is existed to get only one fd.

[Version] 0.3.70
[Profile] Common
[Issue Type] Update
[Dependency module] N/A

Change-Id: Ie4a53d591ada37b4a953ddace4d4478ac8787276
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
5 years agoUpdate to sync with tizen_5.0 branch 36/199836/2
YoungHun Kim [Fri, 15 Feb 2019 01:53:53 +0000 (10:53 +0900)]
Update to sync with tizen_5.0 branch

Change-Id: Ib86f1499aa0b4432076960c9349a0ba13b6bc449

5 years agoMerge "Update message parsing error handling" into tizen accepted/tizen/unified/20190218.063823 submit/tizen/20190214.113838
YoungHun Kim [Thu, 14 Feb 2019 11:37:49 +0000 (11:37 +0000)]
Merge "Update message parsing error handling" into tizen

5 years agoUpdate message parsing error handling 76/199476/4
YoungHun Kim [Tue, 12 Feb 2019 01:58:35 +0000 (10:58 +0900)]
Update message parsing error handling

 - Add mutex lock to avoid race condition
 - Do not dispatch after module index error case

Change-Id: I85e94353559d780e55d9cb5096f33e4967a2b53b

5 years agoMerge "Resolve the ASAN issue of heap-use-after-free" into tizen
YoungHun Kim [Thu, 14 Feb 2019 11:36:36 +0000 (11:36 +0000)]
Merge "Resolve the ASAN issue of heap-use-after-free" into tizen

5 years agoResolve the ASAN issue of heap-use-after-free 64/198764/25
YoungHun Kim [Tue, 29 Jan 2019 07:43:53 +0000 (16:43 +0900)]
Resolve the ASAN issue of heap-use-after-free

 - The issue is accessing connection and workqueue during g_main_quit
    1. Set null after free
    2. Update the 'state' variable during g_main_quit
    3. Update muse_server_config part separately

Change-Id: I2d8daa2714e9f463a29c04c3a028e352d4b2b5b2

5 years agoMerge "Release the connection only if connected properly" into tizen
YoungHun Kim [Fri, 1 Feb 2019 08:08:20 +0000 (08:08 +0000)]
Merge "Release the connection only if connected properly" into tizen

5 years agoCorrect pkgconfig dependency 53/199053/1
Jeongmo Yang [Fri, 1 Feb 2019 05:38:17 +0000 (14:38 +0900)]
Correct pkgconfig dependency

Change-Id: I09a5102051783e94f965df492b23c35093e009fc
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
5 years agoRevert "Set mm-common only at client packages" 49/199049/1
Jeongmo Yang [Fri, 1 Feb 2019 05:11:43 +0000 (14:11 +0900)]
Revert "Set mm-common only at client packages"

This reverts commit a320e1a44215633d8e4456ed00aed5ef23fdce6f.

Below functions return MM_ERROR_* values, so it's proper to include mm_error header file in muse_core.h
- int muse_core_connection_close(int sock_fd);
- int muse_core_set_nonblocking(int fd, bool value);
- int muse_core_set_socket_timeout(int sock_fd, int timeout_sec);

Change-Id: I7bd806cc7cbd226828b44fcb393d4b0fc53fda57
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
5 years agoRelease the connection only if connected properly 20/198620/8
YoungHun Kim [Mon, 28 Jan 2019 06:33:05 +0000 (15:33 +0900)]
Release the connection only if connected properly

Change-Id: Id2c95ec2ee255612622450771795043439991c64

5 years agoSet mm-common only at client packages 78/198978/1 submit/tizen/20190131.105357
YoungHun Kim [Thu, 31 Jan 2019 10:36:26 +0000 (19:36 +0900)]
Set mm-common only at client packages

Change-Id: I5c5d47ab2de739047e1f984501264e580f2fb914
(cherry picked from commit 18e25070d71cbd8a1d7435b213d50cb7defe006c)

5 years agoIgnore the client connection requests prior to server reaedy 86/198886/1
YoungHun Kim [Thu, 31 Jan 2019 00:20:55 +0000 (09:20 +0900)]
Ignore the client connection requests prior to server reaedy

Change-Id: I7d11e68248c6f69133db3e7e6d973a0f0a4bd0ea

5 years agoAdd mm-common to pc file for client packages 23/198823/3 submit/tizen/20190130.080354
Jeongmo Yang [Wed, 30 Jan 2019 05:34:03 +0000 (14:34 +0900)]
Add mm-common to pc file for client packages

[Version] 0.3.67
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A

Change-Id: I5763bac9d3115daf17193fd7ff445a8ee9cfbe32
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
5 years agoRemove the duplicate ms_log_get_cmd_info 19/198619/2 submit/tizen/20190129.225447
YoungHun Kim [Mon, 28 Jan 2019 06:25:26 +0000 (15:25 +0900)]
Remove the duplicate ms_log_get_cmd_info

Change-Id: I37d6c5aaa4d2a9120cfdc9388166ffd349cc6d6b

5 years agoChange not to export muse module enumeration 85/198185/4
YoungHun Kim [Tue, 22 Jan 2019 07:18:53 +0000 (16:18 +0900)]
Change not to export muse module enumeration

Change-Id: I5531512146c695625fb088ab10b24e92e2381c8f

5 years agoChange to use new feature of external storage 65/198065/2
YoungHun Kim [Fri, 18 Jan 2019 07:37:18 +0000 (16:37 +0900)]
Change to use new feature of external storage

Change-Id: I916b07af824c8939ab98b79424b73f8fcb2e2da2

5 years agoDisable storage_change_cb at wearable because there is not external storage 49/197749/5 accepted/tizen/unified/20190128.061324 submit/tizen/20190117.103356 submit/tizen/20190121.010243
YoungHun Kim [Wed, 16 Jan 2019 05:46:12 +0000 (14:46 +0900)]
Disable storage_change_cb at wearable because there is not external storage

Change-Id: I632ea0c5293203c3e7b014f033d2b394aa459924

5 years agoFix the svace issue 21/197721/1 submit/tizen/20190116.015000
YoungHun Kim [Wed, 16 Jan 2019 01:25:37 +0000 (10:25 +0900)]
Fix the svace issue

Change-Id: Id03c37441b6759414c91767706ec3ccceeb7b002

5 years agoUpdate the Security vulnerability 96/197396/4 submit/tizen/20190115.230031
YoungHun Kim [Thu, 10 Jan 2019 12:00:34 +0000 (21:00 +0900)]
Update the Security vulnerability

 - Check if there is symbolic link using realopen before calling open()
 - Compare to null character in strncmp

Change-Id: I65d90b2184cfeccad7eb97c97ca0b014660435b4

5 years agoChange the path file of VD AUDIO 10/196710/2 accepted/tizen/unified/20190111.055100 submit/tizen/20190104.062117 submit/tizen/20190109.045623
YoungHun Kim [Fri, 4 Jan 2019 00:43:35 +0000 (09:43 +0900)]
Change the path file of VD AUDIO

Change-Id: Ibcd3067c3cef8d3c4e107ae5f6c7597b5d9870c2

5 years agoSend create server ack always 97/196597/5 accepted/tizen/unified/20190104.061250 submit/tizen/20190103.062346
YoungHun Kim [Wed, 2 Jan 2019 23:07:50 +0000 (08:07 +0900)]
Send create server ack always

Change-Id: I3ece87bc45570a7ab8528022b94fcb0be56b7a00

5 years agoResolve the svace issue 91/196191/1 accepted/tizen/unified/20181227.062019 submit/tizen/20181226.014257
YoungHun Kim [Wed, 26 Dec 2018 00:52:41 +0000 (09:52 +0900)]
Resolve the svace issue

 - It is usually checked for these functions (getpwuid, getgrgid)
 - getgrgid makes no guaranteee of thread safety. Use getgrgid_r function instead

Change-Id: If2817073e9b81347c683583977df2f27373952c2

5 years agoUpdate to save errno it may have been changed by library call 40/196040/2 submit/tizen/20181221.044435
YoungHun Kim [Fri, 21 Dec 2018 03:04:11 +0000 (12:04 +0900)]
Update to save errno it may have been changed by library call

Change-Id: I131f6b7f3ad2aba8f9bd2e77e0de6eb0de4a50a1

5 years agoUpdate the system part according to build feature 08/195908/4 accepted/tizen/unified/20181220.061617 submit/tizen/20181219.104521
YoungHun Kim [Wed, 19 Dec 2018 10:25:33 +0000 (19:25 +0900)]
Update the system part according to build feature

Change-Id: Id01bef38aea3ce39bfcc7fc7fa9e891f1c51ce95

5 years agoMerge "Add BSD 3-clause License" into tizen accepted/tizen/unified/20181219.154857 submit/tizen/20181219.052351
YoungHun Kim [Wed, 19 Dec 2018 03:16:21 +0000 (03:16 +0000)]
Merge "Add BSD 3-clause License" into tizen

5 years agoNotify corresponding command when mm-resource-managerd shutdown 86/195186/19 accepted/tizen/unified/20181219.063337 submit/tizen/20181218.113808
YoungHun Kim [Tue, 11 Dec 2018 10:48:17 +0000 (19:48 +0900)]
Notify corresponding command when mm-resource-managerd shutdown

Change-Id: Ia2d023a90db7ae4c6f164fff54712a59bcf10995

5 years agoAdd BSD 3-clause License 02/195302/2
YoungHun Kim [Wed, 12 Dec 2018 09:54:58 +0000 (18:54 +0900)]
Add BSD 3-clause License

Change-Id: Ie2833d6b1f0ed5955a35b2c08b825d6fedf10edc

5 years agoMerge "Update the socket unittest with using muse-server by itself" into tizen accepted/tizen/unified/20181218.062842 submit/tizen/20181214.034342
YoungHun Kim [Tue, 11 Dec 2018 01:27:56 +0000 (01:27 +0000)]
Merge "Update the socket unittest with using muse-server by itself" into tizen

5 years agoUpdate the socket unittest with using muse-server by itself 60/194360/4
YoungHun Kim [Mon, 3 Dec 2018 11:51:07 +0000 (20:51 +0900)]
Update the socket unittest with using muse-server by itself

Change-Id: I45ba36f51d1b67e4eb925f5c8d5f2f8a325b809e

5 years agoMerge "Update to remove unix domain socket files" into tizen
YoungHun Kim [Mon, 10 Dec 2018 08:03:12 +0000 (08:03 +0000)]
Merge "Update to remove unix domain socket files" into tizen

5 years agoUpdate to remove unix domain socket files 25/194225/4
YoungHun Kim [Fri, 30 Nov 2018 06:30:55 +0000 (15:30 +0900)]
Update to remove unix domain socket files

Change-Id: I716e84d60b2904041e66320fa19c179c8fed5e25

5 years agoMerge "Update to log additional information for debugging the exception errors" into...
YoungHun Kim [Mon, 10 Dec 2018 06:58:50 +0000 (06:58 +0000)]
Merge "Update to log additional information for debugging the exception errors" into tizen

5 years agoUpdate to log additional information for debugging the exception errors 16/194216/12
YoungHun Kim [Fri, 30 Nov 2018 05:02:03 +0000 (14:02 +0900)]
Update to log additional information for debugging the exception errors

 - Additional information is Unix domain socket using system call and
   the user (uid, user name) and group (gid, group name) using new function (ms_log_user_group_info)

Change-Id: I0e66a61568fed1f39aa3e1230ac341b7c9ab3b13

5 years agoFix the dlog's invalid format 53/194753/1
YoungHun Kim [Fri, 7 Dec 2018 06:19:49 +0000 (15:19 +0900)]
Fix the dlog's invalid format

Change-Id: I67a1e987020871b8b9f6707d66b48d9c936e85d1

5 years agoMerge "Troubleshoot exceeding maximum dispatcher" into tizen accepted/tizen/unified/20181113.085915 submit/tizen/20181112.074812
YoungHun Kim [Mon, 12 Nov 2018 07:47:59 +0000 (07:47 +0000)]
Merge "Troubleshoot exceeding maximum dispatcher" into tizen

5 years agoIncrease the maximum dispatcher value because added new api 63/192863/1
YoungHun Kim [Mon, 12 Nov 2018 04:28:45 +0000 (13:28 +0900)]
Increase the maximum dispatcher value because added new api

Change-Id: I2f097652775cdc0b42bfd0abd1f58bbe654ef900

5 years agoTroubleshoot exceeding maximum dispatcher 19/192819/4
YoungHun Kim [Mon, 12 Nov 2018 00:23:17 +0000 (09:23 +0900)]
Troubleshoot exceeding maximum dispatcher

 - Remove unused variable and change the variable name
 - Check the dispatcher range

Change-Id: Id7d431522f11395b94f1c036726ef3bd862fe497

5 years agoChange to call gst_init after executing watchdog because it may not respond 26/191126/14 accepted/tizen/unified/20181108.074514 submit/tizen/20181030.014051 submit/tizen/20181107.020447
YoungHun Kim [Thu, 11 Oct 2018 11:58:44 +0000 (20:58 +0900)]
Change to call gst_init after executing watchdog because it may not respond

 - able to restart muse-server with creating core dump when gst_init really deadlocks

Change-Id: I4946fc6e26ac56d21c747fbd16af80606c5d2d1a

5 years agoUpdate to compare the buffer length and the received message length 29/191629/6
YoungHun Kim [Fri, 19 Oct 2018 07:42:57 +0000 (16:42 +0900)]
Update to compare the buffer length and the received message length

Change-Id: I0786788de1a0374734e316e2f023494bcabedad0

5 years agoRemove the dependency of tbm-drm-auth because it is not installed 93/191693/3
YoungHun Kim [Mon, 22 Oct 2018 09:36:13 +0000 (18:36 +0900)]
Remove the dependency of tbm-drm-auth because it is not installed

Change-Id: I4d554513f1b651043f3c3b0c8ecf9a777af9a83c

5 years agoMerge "Update to wait until the child processe called by fork() completes" into tizen submit/tizen/20181024.032316
YoungHun Kim [Wed, 24 Oct 2018 03:07:30 +0000 (03:07 +0000)]
Merge "Update to wait until the child processe called by fork() completes" into tizen

5 years agoMerge "Update to split the LOG_TAG explicitly" into tizen
YoungHun Kim [Wed, 24 Oct 2018 03:00:41 +0000 (03:00 +0000)]
Merge "Update to split the LOG_TAG explicitly" into tizen

5 years agoResolve the build error of -Wswitch-unreachable 90/191790/1
YoungHun Kim [Wed, 24 Oct 2018 02:27:46 +0000 (11:27 +0900)]
Resolve the build error of -Wswitch-unreachable

Change-Id: Ie4b86754b52f5cddc07d7adb3af0d3bb82ff77f7

5 years agoUpdate to split the LOG_TAG explicitly 76/191676/1
YoungHun Kim [Mon, 22 Oct 2018 06:53:43 +0000 (15:53 +0900)]
Update to split the LOG_TAG explicitly

Change-Id: Ic5c0b5fe24fb6004d6c2e9a83897cedb53025425

5 years agoUpdate to wait until the child processe called by fork() completes 63/191563/11
YoungHun Kim [Thu, 18 Oct 2018 09:41:43 +0000 (18:41 +0900)]
Update to wait until the child processe called by fork() completes

Change-Id: Ia55631de7747a91d34a308c46cc22e099cec604e

5 years agoUpdate to debug the exception error case 80/190780/1 submit/tizen/20181010.021648
YoungHun Kim [Fri, 5 Oct 2018 08:11:09 +0000 (17:11 +0900)]
Update to debug the exception error case

 - Debug reinforcement of exception error of muse connection failure
 - Change the file permissions
 - Move the variable declaration

Change-Id: I9e97c5ad869c54ac19088cb2c7fb60911257c666

5 years agoUpdate the static variable of muse client 66/190366/6 submit/tizen/20181002.015618
YoungHun Kim [Mon, 1 Oct 2018 08:14:55 +0000 (17:14 +0900)]
Update the static variable of muse client

Change-Id: I13e85154ff2b5739603e2ae6e4cbd3c21820e0da

5 years agoUpdate the debug macro of glib 84/189484/4 accepted/tizen/5.0/unified/20181102.015617 accepted/tizen/unified/20180921.143050 submit/tizen/20180920.052313 submit/tizen_5.0/20181101.000003
YoungHun Kim [Tue, 18 Sep 2018 06:29:45 +0000 (15:29 +0900)]
Update the debug macro of glib

Change-Id: I7a269f7499bd004cb7526e366cc7395336315c19

5 years agoUpdate the value of server state when kill signal is catched to avoid the issue of... 18/189318/4 accepted/tizen/unified/20180919.142005 submit/tizen/20180918.103706 submit/tizen/20180919.054854
YoungHun Kim [Mon, 17 Sep 2018 04:45:56 +0000 (13:45 +0900)]
Update the value of server state when kill signal is catched to avoid the issue of heap-use-after-free

Change-Id: Ib7a280b7d5a7001c21dc14610c74ef90ba5c21e8

5 years agoSimplifying the return value of epoll_wait using connection state 81/183481/14 accepted/tizen/unified/20180917.135108 submit/tizen/20180917.021556
YoungHun Kim [Fri, 6 Jul 2018 01:42:27 +0000 (10:42 +0900)]
Simplifying the return value of epoll_wait using connection state

Change-Id: I10ba91996bfb828f185cd089d72db49940e07e50

5 years agoUnitest code refactoring 62/188462/10
heechul.jeon [Wed, 5 Sep 2018 07:10:20 +0000 (16:10 +0900)]
Unitest code refactoring

-Remove local definition of buffer lengh and use definition in muse_core.h as using same enironment is always recommended to unittest
-Rename some of macros to have more clear meaning
-Modify read_file to not take size parameter for more generic usage
-Replace printf with DLOG
-Modified to use types in glib

Change-Id: Icd90b52263ff3a89a9e8eb0a8e17dec1b1119d7b

5 years agoAdd the type of vd product by requirement 95/188095/2 accepted/tizen/unified/20180905.060802 submit/tizen/20180904.054833
YoungHun Kim [Fri, 31 Aug 2018 08:14:29 +0000 (17:14 +0900)]
Add the type of vd product by requirement

Change-Id: Iac2a7ad3b0f76460f6423d1b2a17767312bceea3

5 years agoAdd parameter to check buffer length 65/187165/2 accepted/tizen/unified/20180823.133533 submit/tizen/20180822.063410
Jeongmo Yang [Mon, 20 Aug 2018 10:15:43 +0000 (19:15 +0900)]
Add parameter to check buffer length

[Version] 0.3.47
[Profile] Common
[Issue Type] Bug fix
[Dependency module] capi-media-camera, capi-media-player, capi-media-recorder
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20180818.1]

Change-Id: I362dad469e259f963076f01928fb25656c5fdf1b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
5 years agoAdd to raise in signal hanler of client 56/185356/2 accepted/tizen/unified/20180809.074731 submit/tizen/20180808.054230
YoungHun Kim [Mon, 30 Jul 2018 00:47:28 +0000 (09:47 +0900)]
Add to raise in signal hanler of client

Change-Id: I237f3b95bd7534a7aaffaba1f4e888d779836287

5 years agoAdd to verify the size of receive buffer 64/185064/3 accepted/tizen/unified/20180802.134913 submit/tizen/20180730.020459
YoungHun Kim [Thu, 26 Jul 2018 00:37:49 +0000 (09:37 +0900)]
Add to verify the size of receive buffer

Change-Id: I2fea4c0bb647385e2f5ed0e6783042b424cc07dd

5 years agoFix Wformat build error 77/184577/3 accepted/tizen/unified/20180720.060707 submit/tizen/20180719.101904
yhji [Thu, 19 Jul 2018 04:07:42 +0000 (13:07 +0900)]
Fix Wformat build error

Change-Id: I1892bba3898d8c29bff7941db875bcd7172fb1be

5 years agoUpdate to remedy the epoll_wait fail due to EINTR 38/184038/4 accepted/tizen/unified/20180717.063128 submit/tizen/20180716.101702
YoungHun Kim [Fri, 13 Jul 2018 07:10:41 +0000 (16:10 +0900)]
Update to remedy the epoll_wait fail due to EINTR

Change-Id: I13033d078be6a7795e68bd6c3b4468d83410b1b3

5 years agoRemove the muse-server.socket because of no on-demand launch 45/184045/2
YoungHun Kim [Fri, 13 Jul 2018 07:32:08 +0000 (16:32 +0900)]
Remove the muse-server.socket because of no on-demand launch

Change-Id: I8cbbff75a3205fa2d51b96bd23bced642a12f8c7

5 years agoRemove the sigabrt when epoll error case 85/183985/2 accepted/tizen/unified/20180713.045258 submit/tizen/20180713.021510
YoungHun Kim [Fri, 13 Jul 2018 02:02:50 +0000 (11:02 +0900)]
Remove the sigabrt when epoll error case

Change-Id: Ie27b2dd92cbf92768961db689f64b021d79b5dc8

5 years agoAdd the exception log 86/183186/3 accepted/tizen/unified/20180706.062134 submit/tizen/20180703.082921
YoungHun Kim [Tue, 3 Jul 2018 07:34:33 +0000 (16:34 +0900)]
Add the exception log

Change-Id: Iea2e5ff7e5b71366dbe587b3fa345e724a4c4241

5 years agoAdd the on-demand using socket activation with keeping always launching 24/176524/22 accepted/tizen/unified/20180626.064830 submit/tizen/20180625.071213
YoungHun Kim [Fri, 20 Apr 2018 01:19:36 +0000 (10:19 +0900)]
Add the on-demand using socket activation with keeping always launching

Change-Id: I5f87d5e44edee733da75a198e64a248e283aacbe

5 years agoUpdate to change the registered event with EPOLL_CTL_MOD 41/181241/5 accepted/tizen/unified/20180614.150824 submit/tizen/20180614.010841
YoungHun Kim [Mon, 11 Jun 2018 06:20:23 +0000 (15:20 +0900)]
Update to change the registered event with EPOLL_CTL_MOD

Change-Id: I62a43c62c2fe0e93bbceab2afad119e62a056611

6 years agoUpdate to log the thread information at the instance create/destroy fail issue 61/180661/2 accepted/tizen/unified/20180611.015430 submit/tizen/20180603.223713 submit/tizen/20180607.021137
YoungHun Kim [Fri, 1 Jun 2018 01:35:09 +0000 (10:35 +0900)]
Update to log the thread information at the instance create/destroy fail issue

Change-Id: Iceeddf72c8cd8341c3055799859c01c82a0eeef8

6 years agoUpdate the condition race of module at dispatcher 93/177593/6 submit/tizen/20180524.013216
YoungHun Kim [Wed, 2 May 2018 05:28:26 +0000 (14:28 +0900)]
Update the condition race of module at dispatcher

Change-Id: I22c92d6eeb16d37ed2822d506d5abf43592daeb4

6 years agoAdd initial gtest codes 65/178265/16
YoungHun Kim [Wed, 9 May 2018 05:07:32 +0000 (14:07 +0900)]
Add initial gtest codes

 - How to test (json, socket)
 1. build with --define "gtests 1"
 2. Install gmock rpm at target

Change-Id: I70b9dcb1dcc1caeb3d22be9d1749dd87bc486721

6 years agoRemove the recursion in included header 57/177157/3 accepted/tizen/unified/20180503.080736 submit/tizen/20180430.023314 submit/tizen/20180503.000125
YoungHun Kim [Thu, 26 Apr 2018 03:51:54 +0000 (12:51 +0900)]
Remove the recursion in included header

Change-Id: I66bb914e719cf68bc5d0c11dd75dfb2084a02285

6 years agoResolve the GWarning 96/174996/4 submit/tizen/20180409.010255
YoungHun Kim [Fri, 6 Apr 2018 00:43:59 +0000 (09:43 +0900)]
Resolve the GWarning

 - VD's requirement

Change-Id: I4c2d45f147c585bbbf7c7ef1dc77031bb378ed42

6 years agoFix the bug of fd stat 98/171998/21 accepted/tizen/unified/20180402.062608 submit/tizen/20180330.080422
YoungHun Kim [Thu, 8 Mar 2018 14:07:27 +0000 (23:07 +0900)]
Fix the bug of fd stat

Change-Id: I5681556aa21a14dbb2537958a7a01fd9a07f6899

6 years agoNotify the caution command when the number of instance is warning level 41/172641/13
YoungHun Kim [Thu, 15 Mar 2018 04:42:27 +0000 (13:42 +0900)]
Notify the caution command when the number of instance is warning level

Change-Id: I81fb172d83dbf2b2637f478b10047d1f150fc0fd

6 years agoMake the thread detached to avoid zombie thread 14/173914/2 submit/tizen/20180330.014028
YoungHun Kim [Mon, 26 Mar 2018 06:06:05 +0000 (15:06 +0900)]
Make the thread detached to avoid zombie thread

Change-Id: I83f07addecb71e80cffb04af01fa33dc01f47666

6 years agoApply RELRO commonly 05/174205/1 accepted/tizen/unified/20180330.060829 submit/tizen/20180329.064954
YoungHun Kim [Thu, 29 Mar 2018 05:37:52 +0000 (14:37 +0900)]
Apply RELRO commonly

Change-Id: I59bf3b7d41c80b0da165bd4c9568fd4eeb8e3038

6 years agoResolve the svace issue of g_module_name 15/173815/1 submit/tizen/20180326.055136
YoungHun Kim [Mon, 26 Mar 2018 05:47:56 +0000 (14:47 +0900)]
Resolve the svace issue of g_module_name

Change-Id: I737000ecffc8c67b685fb88bd0ce37b0b9d76d54

6 years agoAdd the the information of created fd when memory leak 43/173343/4
YoungHun Kim [Tue, 20 Mar 2018 08:39:38 +0000 (17:39 +0900)]
Add the the information of created fd when memory leak

Change-Id: Ifebc5fb2d09a4701fed9d41692bf9c1e2ec42e56

6 years agoAdd Partial RELRO for executables of wearable 71/173671/4 accepted/tizen/unified/20180326.075320 submit/tizen/20180323.070121
YoungHun Kim [Fri, 23 Mar 2018 05:04:02 +0000 (14:04 +0900)]
Add Partial RELRO for executables of wearable

Change-Id: I70bbc188138462a621937b4844e0c0de56e8475a

6 years agoUpate the creation of system table with g_hash_table_new_full 76/173476/2
YoungHun Kim [Thu, 22 Mar 2018 01:20:14 +0000 (10:20 +0900)]
Upate the creation of system table with g_hash_table_new_full

Change-Id: I7205f56d1ea589c02d094145a9f4fa075bf7f38a

6 years agoUpate the creation of module table with g_hash_table_new_full 67/173467/1
YoungHun Kim [Thu, 22 Mar 2018 01:07:06 +0000 (10:07 +0900)]
Upate the creation of module table with g_hash_table_new_full

Change-Id: Ic365cfd71e734d2c94fcf8bc57c657758f5a2f69

6 years agoMove the internal data structure 89/171989/1
YoungHun Kim [Thu, 8 Mar 2018 11:26:55 +0000 (20:26 +0900)]
Move the internal data structure

Change-Id: I7dff7379124b942660f567f05ec80028c6281d80

6 years agoUpdate the error log consistently 15/171815/1 accepted/tizen/unified/20180312.145812 submit/tizen/20180308.033110
YoungHun Kim [Wed, 7 Mar 2018 10:59:39 +0000 (19:59 +0900)]
Update the error log consistently

Change-Id: Ic6185b24091c04d29edbd9a6e7e352fa227b1bc1

6 years agoUpdate message IPC mechanism 25/170925/1 accepted/tizen/unified/20180226.061645 submit/tizen/20180223.074744
Jeongmo Yang [Thu, 22 Feb 2018 05:01:49 +0000 (14:01 +0900)]
Update message IPC mechanism

[Version] 0.3.33
[Profile] Common
[Issue Type] Update

Change-Id: Ia0d22c3d05c3d2de2a96c969a7e625809e019d48
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years agoUpdate to unsubscribe the gdbusconnection 69/169169/2 accepted/tizen/unified/20180206.164619 submit/tizen/20180206.021549
YoungHun Kim [Sun, 4 Feb 2018 22:38:55 +0000 (07:38 +0900)]
Update to unsubscribe the gdbusconnection

Change-Id: Iefa661d8d91a94170818cc6b722940044c1c143b

6 years agoFix the memory leak of muse config parse 00/169000/2 submit/tizen/20180202.020558
YoungHun Kim [Thu, 1 Feb 2018 22:57:51 +0000 (07:57 +0900)]
Fix the memory leak of muse config parse

Change-Id: I7eea99966c05dd254efb29912dba3c8e7cc77af6

6 years agoUpdate the value of connection state change 69/168769/1
YoungHun Kim [Wed, 31 Jan 2018 00:30:27 +0000 (09:30 +0900)]
Update the value of connection state change

Change-Id: I1c4c879ddaa1d05587717a985852545eb1640242

6 years agoUpdate the race condition of server state 40/168340/2
YoungHun Kim [Fri, 26 Jan 2018 01:47:22 +0000 (10:47 +0900)]
Update the race condition of server state

Change-Id: I35d592a2bc92b8390291e59fc94b57eb56f255a4

6 years agoAdd the condition race at all the instance_queue 09/167909/3 accepted/tizen/unified/20180124.061536 submit/tizen/20180123.080531
YoungHun Kim [Tue, 23 Jan 2018 03:15:22 +0000 (12:15 +0900)]
Add the condition race at all the instance_queue

Change-Id: I96983d314ac0bb726ffe1f168a6fec77b80a51ee

6 years agoAdd null check for exception handling 14/167814/1 accepted/tizen/unified/20180123.135405 submit/tizen/20180123.011900
YoungHun Kim [Mon, 22 Jan 2018 07:53:40 +0000 (16:53 +0900)]
Add null check for exception handling

Change-Id: Iccdfc25a9b90d126004e46ad26cd2d53fd89819b

6 years agoMerge branch 'tizen_4.0' to tizen 42/167642/1 submit/tizen/20180119.065656
YoungHun Kim [Fri, 19 Jan 2018 02:59:17 +0000 (11:59 +0900)]
Merge branch 'tizen_4.0' to tizen

Change-Id: I46ba2653785dbe54ae6c0c072655c3d7d16e9e73

6 years agoUpdate the global dispatcher's mutex by module instance 02/167502/3 submit/tizen_4.0/20180119.024422
YoungHun Kim [Thu, 18 Jan 2018 04:54:55 +0000 (13:54 +0900)]
Update the global dispatcher's mutex by module instance

Change-Id: I817babc236e221930637d6476e9080dc4ce91a18

6 years agoAdd the current connecting instance's (pid) information when changing the connection 64/167164/4
YoungHun Kim [Tue, 16 Jan 2018 03:01:35 +0000 (12:01 +0900)]
Add the current connecting instance's (pid) information when changing the connection

ex) As Is : total number of module 2
    To Be : total number of module = 2 ( 1589 2235 )

Change-Id: Ia1426d482cb67d0e197fc65f89f25fde08736601

6 years agoRemove the duplicate check for null 83/166483/6
YoungHun Kim [Wed, 10 Jan 2018 05:08:29 +0000 (14:08 +0900)]
Remove the duplicate check for null

Change-Id: I174a3bb8aab8d0e0826bfc0b197a550deceda344

6 years agoRemove the duplicate check for null 00/166400/1 accepted/tizen/unified/20180112.073141 submit/tizen/20180111.064525
YoungHun Kim [Wed, 10 Jan 2018 05:08:29 +0000 (14:08 +0900)]
Remove the duplicate check for null

Change-Id: I174a3bb8aab8d0e0826bfc0b197a550deceda344

6 years agoComply with muse coding rule 80/166380/2
YoungHun Kim [Tue, 9 Jan 2018 23:32:15 +0000 (08:32 +0900)]
Comply with muse coding rule

Change-Id: I501f4fe87fdd86dfd9fa51ed9c1499e9b5cda9e1
(cherry picked from commit 976e7500cd5da4a7ac85897f564f1827855e76d6)

6 years agoComply with muse coding rule 62/166362/1 accepted/tizen/unified/20180111.074213 submit/tizen/20180110.023520
YoungHun Kim [Tue, 9 Jan 2018 23:32:15 +0000 (08:32 +0900)]
Comply with muse coding rule

Change-Id: I501f4fe87fdd86dfd9fa51ed9c1499e9b5cda9e1

6 years agoUpdate the resource error handling with same coding rule 54/165554/1 accepted/tizen/4.0/unified/20180103.064741 submit/tizen_4.0/20180102.063252 tizen_4.0.IoT.p2_release
YoungHun Kim [Thu, 28 Dec 2017 10:06:08 +0000 (19:06 +0900)]
Update the resource error handling with same coding rule

Change-Id: I9981933c8de119db591a07d7b0714e3cd0733d86
(cherry picked from commit 8a1f0b0bdb1eb24d82d4cb978f8a43febde94af7)

6 years agoThe opened module before calling the dispatcher is required 79/165379/1 accepted/tizen/4.0/unified/20180102.065529 submit/tizen_4.0/20171228.113332
YoungHun Kim [Wed, 27 Dec 2017 07:09:58 +0000 (16:09 +0900)]
The opened module before calling the dispatcher is required

Change-Id: I8ff05deca088e677ff4de7807e7865c1353880b6
(cherry picked from commit 6db4e0150334b1dba3eee4daabcffc6abde8e3f3)

6 years agoUpdate the resource error handling with same coding rule 58/165358/3 accepted/tizen/unified/20180103.070209 submit/tizen/20180102.063222
YoungHun Kim [Thu, 28 Dec 2017 10:06:08 +0000 (19:06 +0900)]
Update the resource error handling with same coding rule

Change-Id: I9981933c8de119db591a07d7b0714e3cd0733d86

6 years agoThe opened module before calling the dispatcher is required 35/165235/2 accepted/tizen/unified/20180102.070238 submit/tizen/20171228.113257
YoungHun Kim [Wed, 27 Dec 2017 07:09:58 +0000 (16:09 +0900)]
The opened module before calling the dispatcher is required

Change-Id: I8ff05deca088e677ff4de7807e7865c1353880b6

6 years agoMove fd-stat-dump function to muse-core for debugging purpose 87/165187/1 accepted/tizen/4.0/unified/20171227.224340 submit/tizen_4.0/20171227.043010
YoungHun Kim [Tue, 26 Dec 2017 05:28:44 +0000 (14:28 +0900)]
Move fd-stat-dump function to muse-core for debugging purpose

  - Sometimes unexpected fd was returned from socket() on client side (eg. STDIN_FILENO, STDOUT_FILNO or STERR_FILENO)

Change-Id: I3ef8ae49fa29403307e739584a0ac5242e926dcc