platform/core/messaging/msg-service.git
4 years agoFix dlog build error 47/223747/1 accepted/tizen/unified/20200207.122411 submit/tizen/20200206.053818
Sampath Arunachalam [Mon, 3 Feb 2020 15:53:42 +0000 (21:23 +0530)]
Fix dlog build error

[Model] Tizen5.5
[BinType] AP
[Customer] Open
[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A
[Problem] Fix dlog build error
[Cause & Measure] Fix dlog build error
[Checking Method] N/A
[Team] Message
[Developer] A Sampath
[Solution company] Samsung
[Change Type] etc

Change-Id: I95ca165d2da792c7629e5062df53f0f567e739ca

4 years agoSMS plugin and SMS CDMA plugin cannot run at the same time in platform code. 96/216396/8 submit/tizen/20200131.061743
Sampath Arunachalam [Thu, 24 Oct 2019 09:49:19 +0000 (15:19 +0530)]
SMS plugin and SMS CDMA plugin cannot run at the same time in platform code.
Both SMS plugin and SMS CDMA plugin should be loaded and work according to the current network(GSM/CDMA).
Applied the changes for MPR1320.

Change-Id: I9eb77b5f9651b3a0e0c7728286374a8dcd765039

4 years agoChanges related to Enable build with GCC 9.2 61/222561/2 accepted/tizen/unified/20200116.124230 submit/tizen/20200116.072409
kamaljeet chauhan [Thu, 16 Jan 2020 05:50:21 +0000 (11:20 +0530)]
Changes related to Enable build with GCC 9.2

Change-Id: I6e9779d46b6f3d5ea5acf5892b29d08c71dc8ca5
Signed-off-by: kamaljeet chauhan <kamal.jc@samsung.com>
4 years agoAdding Tizen Coverage Automation 09/219209/1
Abhimanyu Swami [Tue, 3 Dec 2019 09:04:50 +0000 (14:34 +0530)]
Adding Tizen Coverage Automation

Change-Id: Id33ee82bcc55f2d6e0937846830c82325c7d0ef1
Signed-off-by: Abhimanyu Swami <abhimanyu1.s@samsung.com>
5 years agoResolved coverity issue 14/213814/3 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191031.023813 accepted/tizen/5.5/unified/mobile/hotfix/20201027.083626 accepted/tizen/5.5/unified/wearable/hotfix/20201027.115432 accepted/tizen/unified/20191006.223707 submit/tizen/20191004.113118 submit/tizen/20191005.105016 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 submit/tizen_5.5_wearable_hotfix/20201026.184303 tizen_5.5.m2_release
Randeep Singh [Thu, 12 Sep 2019 07:28:33 +0000 (12:58 +0530)]
Resolved coverity issue

Change-Id: Ic968c91d651f47a6717f1548c58057eb82197514
Signed-off-by: Randeep Singh <randeep.s@samsung.com>
5 years agoHandled SVACE issue 10/213810/1
Randeep Singh [Thu, 12 Sep 2019 06:15:04 +0000 (11:45 +0530)]
Handled SVACE issue

Change-Id: I3e1abf687adc0682926fdd412d84d4b756ca27fd
Signed-off-by: Randeep Singh <randeep.s@samsung.com>
5 years agoDelete meaningless configuration 99/212799/1 accepted/tizen/unified/20190827.110610 submit/tizen/20190827.044040
INSUN PYO [Tue, 27 Aug 2019 02:36:50 +0000 (11:36 +0900)]
Delete meaningless configuration

If the socket and service prefix names are the same, then Sockets(in .service) and Service(in .socket) are not needed.
Specifying Sokcets and Service is needed for certain functions, so using it without reason confuses the developer.

Change-Id: I5928f161b0ae0e38f5422e5c6cd681992e7a6fbd

5 years agoRemove unnecessary setting 19/209019/1
INSUN PYO [Tue, 2 Jul 2019 01:44:48 +0000 (10:44 +0900)]
Remove unnecessary setting

Change-Id: I4a902e55ecf666ddfd4302a5ab42de95eca7e3c0

5 years agoRemove dependency for nonexistent service 90/208190/1
INSUN PYO [Wed, 19 Jun 2019 10:49:03 +0000 (19:49 +0900)]
Remove dependency for nonexistent service

Change-Id: I5aa54cc85fc95ed36ace90326ce42d71a611f4d4
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
5 years agoAdding support for CMAS other lang types and implmenet CMAS public 73/205773/4 accepted/tizen/unified/20190613.112251 submit/tizen/20190613.061744
Sameer Prakash Pradhan [Mon, 18 Feb 2019 13:16:14 +0000 (18:46 +0530)]
Adding support for CMAS other lang types and implmenet CMAS public
safety, CMAS State/Local WEA.MPR-1373, MPR-1374

Signed-off-by: Sameer Prakash Pradhan <sp.pradhan@samsung.com>
Change-Id: I3f7fdf37244f271709044e43280a82fdfc10abc5

5 years agoRemove container feature 65/204865/1 accepted/tizen/unified/20190605.215720 submit/tizen/20190531.065653
INSUN PYO [Mon, 29 Apr 2019 02:36:54 +0000 (11:36 +0900)]
Remove container feature

Change-Id: I6ec8ecd65d6e00f2c9852026a9cf38550127f93f

5 years agoMerge "svace issues" into tizen accepted/tizen/unified/20190218.064114 submit/tizen/20190216.152911
randeep singh [Sat, 16 Feb 2019 15:28:46 +0000 (15:28 +0000)]
Merge "svace issues" into tizen

5 years agosvace issues 38/199938/1
chakradhar [Sat, 16 Feb 2019 15:25:45 +0000 (20:55 +0530)]
svace issues

Change-Id: I552c95ec8c1da4ec5fe9062a47cbaeb90339cd05

5 years agocoverity issue msg-service 36/199936/1 accepted/tizen/unified/20190218.064017 submit/tizen/20190216.133719
kamaljeet [Sat, 16 Feb 2019 13:27:26 +0000 (18:57 +0530)]
coverity issue msg-service

Change-Id: I83a34434e2a340362ea5f660925e27ea764ae3f9
Signed-off-by: kamaljeet <kamal.jc@samsung.com>
5 years agodlog print error fix 53/196553/1 accepted/tizen/unified/20190104.061237 submit/tizen/20190103.045834
Sameer Prakash Pradhan [Wed, 2 Jan 2019 07:58:36 +0000 (13:28 +0530)]
dlog print error fix

Change-Id: Icb5da82ed5036aa67f2c11606c8d6f2b7df43612
Signed-off-by: Sameer Prakash Pradhan <sp.pradhan@samsung.com>
5 years agoresolved dlog errors 20/195320/1 accepted/tizen/unified/20181217.142111 submit/tizen/20181214.061228
chakradhar [Wed, 12 Dec 2018 11:59:49 +0000 (17:29 +0530)]
resolved dlog errors

Change-Id: I313b4adf918fb9e38445524a1c3886c1a2c7c140

6 years agoMerge "Resolved coverity isssues" into tizen accepted/tizen/unified/20181116.184554 submit/tizen/20181116.094538
randeep singh [Fri, 16 Nov 2018 05:02:59 +0000 (05:02 +0000)]
Merge "Resolved coverity isssues" into tizen

6 years agoadd library link 81/192681/1 accepted/tizen/unified/20181108.014930 submit/tizen/20181108.014517
Youngjae Shin [Thu, 8 Nov 2018 01:34:47 +0000 (10:34 +0900)]
add library link

Change-Id: Id4a23621ca746680f367c9e2ad75d0ce06b707f2

6 years agoResolved coverity isssues 20/189920/2
Chakradhar [Sat, 22 Sep 2018 09:06:22 +0000 (14:36 +0530)]
Resolved coverity isssues

Change-Id: If6fa903b55dbd314849fddeb1503c7521314f357
Signed-off-by: Chakradhar <v.pogiri@samsung.com>
6 years ago[Non-ACR][msg-service][TNEXT-14309 fix] 86/188986/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.014818 accepted/tizen/unified/20180913.063942 submit/tizen/20180912.084216 submit/tizen_5.0/20181101.000003
Sameer Prakash Pradhan [Wed, 25 Apr 2018 13:02:35 +0000 (18:32 +0530)]
[Non-ACR][msg-service][TNEXT-14309 fix]

Change-Id: I36939be1bd87f03a34b27dcfa45d6efd9e72e8c2
Signed-off-by: Sameer Prakash Pradhan <sp.pradhan@samsung.com>
(cherry picked from commit 8d5027160a345a9f4fa552fa8afc847ae52fe6d3)

6 years agoMerge "Change in method to check if /opt/usr is mounted" into tizen accepted/tizen/unified/20180820.060100 submit/tizen/20180817.110341
randeep singh [Fri, 17 Aug 2018 10:59:02 +0000 (10:59 +0000)]
Merge "Change in method to check if /opt/usr is mounted" into tizen

6 years agoChange in method to check if /opt/usr is mounted 39/186939/1
kamaljeet [Thu, 16 Aug 2018 12:10:51 +0000 (17:40 +0530)]
Change in method to check if /opt/usr is mounted

Change-Id: Ifb82fa8352c7b9668978e922fe94e1a866cf9d82
Signed-off-by: kamaljeet <kamal.jc@samsung.com>
6 years agoChange the method to check if /opt/usr is ready. 41/186341/3
INSUN PYO [Thu, 9 Aug 2018 05:30:11 +0000 (14:30 +0900)]
Change the method to check if /opt/usr is ready.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I440c984a07f76bd55852da76d54f2715867f66ff

6 years agoMerge "Changes for Signal NeedCleanup" into tizen accepted/tizen/unified/20180727.063713 submit/tizen/20180723.092625
randeep singh [Mon, 23 Jul 2018 06:20:33 +0000 (06:20 +0000)]
Merge "Changes for Signal NeedCleanup" into tizen

6 years agoDBUS Policy Issues Resolved 77/184077/1
kamaljeet [Fri, 13 Jul 2018 09:35:41 +0000 (15:05 +0530)]
DBUS Policy Issues Resolved

Change-Id: I108780f4119bcb8b09758ee3512ca6e0d0610a64
Signed-off-by: kamaljeet <kamal.jc@samsung.com>
6 years agoChanges for Signal NeedCleanup 91/182591/4
kamaljeet [Tue, 26 Jun 2018 10:11:50 +0000 (15:41 +0530)]
Changes for Signal NeedCleanup

Change-Id: If1110fc89432c73b51a5f0ce5412c57d8e0643ba
Signed-off-by: kamaljeet <kamal.jc@samsung.com>
6 years agoAdd msg-server.service adaptation for ASAN 66/180666/2
Hyotaek Shim [Fri, 1 Jun 2018 02:37:35 +0000 (11:37 +0900)]
Add msg-server.service adaptation for ASAN
MemoryLimit=30M is required to avoid memory limit violation on ASAN binary.

Change-Id: I4a126c8f0f62f61789d8980f9a852a9d7e310f52
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agofix Dereferencing null pointer 81/179281/1 accepted/tizen/unified/20180517.062413 submit/tizen/20180517.042340
Youngjae Shin [Thu, 17 May 2018 02:43:22 +0000 (11:43 +0900)]
fix Dereferencing null pointer

Change-Id: I7975c1456b4edc99c0fce5caf1c22d277b7a348e

6 years agoincrease code quality(static analysis) 16/178916/3 accepted/tizen/unified/20180515.063848 submit/tizen/20180515.045647
Youngjae Shin [Tue, 15 May 2018 01:09:26 +0000 (10:09 +0900)]
increase code quality(static analysis)

Change-Id: I8c40f20fa9c750824bffb83c028c7cdeacaa7265

6 years agoMerge "[Non-ACR][msg-service][coverity fixes]" into tizen accepted/tizen/unified/20180504.063618 submit/tizen/20180503.075830
randeep singh [Sat, 28 Apr 2018 05:09:10 +0000 (05:09 +0000)]
Merge "[Non-ACR][msg-service][coverity fixes]" into tizen

6 years ago[Non-ACR][msg-service][coverity fixes] 03/177403/2 submit/tizen/20180428.091548
Sameer Prakash Pradhan [Fri, 27 Apr 2018 14:16:20 +0000 (19:46 +0530)]
[Non-ACR][msg-service][coverity fixes]

Signed-off-by: Sameer Prakash Pradhan <sp.pradhan@samsung.com>
Change-Id: I4c7ed6ef7a53e094d76c1bdb849ead6b553eed0b

6 years agoMerge "[Non-ACR][msg-service][coverity fixes]" into tizen
randeep singh [Fri, 27 Apr 2018 04:54:42 +0000 (04:54 +0000)]
Merge "[Non-ACR][msg-service][coverity fixes]" into tizen

6 years ago[Non-ACR][msg-service][coverity fixes] 61/177261/1
Sameer Prakash Pradhan [Thu, 26 Apr 2018 12:22:11 +0000 (17:52 +0530)]
[Non-ACR][msg-service][coverity fixes]

Change-Id: Ic2ca68a180befd27908cdecbf62ec18f2fd05683
Signed-off-by: Sameer Prakash Pradhan <sp.pradhan@samsung.com>
6 years ago[Non-ACR][UTC-ITC Fix] 31/176631/1
Abhishek Vijay [Fri, 20 Apr 2018 09:26:49 +0000 (14:56 +0530)]
[Non-ACR][UTC-ITC Fix]

Change-Id: I99d441b13ed5e49a3db67d448ff7c3a9ea2294ed
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
6 years ago[SVACE Issue Fixes] 45/173445/3 accepted/tizen/unified/20180423.062803 submit/tizen/20180420.070349
Abhishek Vijay [Wed, 21 Mar 2018 12:14:38 +0000 (17:44 +0530)]
[SVACE Issue Fixes]

Change-Id: I69fcc719ac4949da42d5e6f52fcfc06abc8cf6c6
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
6 years agoFix Svace issue of msg-service 01/173801/4 submit/tizen/20180417.093103
Susnata [Mon, 26 Mar 2018 05:03:17 +0000 (01:03 -0400)]
Fix Svace issue of msg-service

Change-Id: Ic9e197fb195e00aa5b993fe2e2cbadd7a4d011d8
Signed-off-by: Susnata <s.sovalin@samsung.com>
6 years agoremove csr dependency. use dlopen 83/168783/3
Jeesun Kim [Wed, 31 Jan 2018 02:19:51 +0000 (11:19 +0900)]
remove csr dependency. use dlopen

Change-Id: I9be6a1666ea723eef922d24d42602dc94b4bd491

6 years agoModify image-util deprecated APIs 39/161139/2 accepted/tizen/unified/20171124.064627 submit/tizen/20171123.085544
Jeesun Kim [Wed, 22 Nov 2017 01:44:05 +0000 (10:44 +0900)]
Modify image-util deprecated APIs

Change-Id: I393c73c0f448b781bc7a28f4fdd6bc6b3b2cca50

7 years agofix buffer overflow 70/159070/1 accepted/tizen/unified/20171107.055315 submit/tizen/20171107.015550
Jongkyu Koo [Tue, 7 Nov 2017 00:59:41 +0000 (09:59 +0900)]
fix buffer overflow

Change-Id: I93e62e429bf25ce47068c7457fae4ebfeb27c752
Signed-off-by: Jongkyu Koo <jk.koo@samsung.com>
7 years agofix build warning 49/153149/3 accepted/tizen/unified/20171010.063633 submit/tizen/20170929.023936
Jongkyu Koo [Thu, 28 Sep 2017 04:12:54 +0000 (13:12 +0900)]
fix build warning

Change-Id: I42f138c0b87fbe4bf55f7edbb51e6f73f77fabd2
Signed-off-by: Jongkyu Koo <jk.koo@samsung.com>
7 years agofix [ASan] Heap-buffer-overflow 52/146852/2
Jongkyu Koo [Thu, 31 Aug 2017 01:36:12 +0000 (10:36 +0900)]
fix [ASan] Heap-buffer-overflow

Change-Id: Ia66384a915fdcbec9124a5b76a54f22d98fc219e
Signed-off-by: Jongkyu Koo <jk.koo@samsung.com>
7 years agodelete upgrade script because no need data migration 90/144590/1 accepted/tizen/4.0/unified/20170829.015808 accepted/tizen/unified/20170823.170106 submit/tizen/20170821.013358 submit/tizen/20170822.233047 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
Jongkyu Koo [Thu, 17 Aug 2017 07:57:26 +0000 (16:57 +0900)]
delete upgrade script because no need data migration

Change-Id: Ic891290718515fc75d8dc626cb32da580c92a469
Signed-off-by: Jongkyu Koo <jk.koo@samsung.com>
7 years agofix blocked number checking error 66/142166/1 accepted/tizen/unified/20170804.132925 submit/tizen/20170803.064520
Jongkyu Koo [Thu, 3 Aug 2017 02:41:12 +0000 (11:41 +0900)]
fix blocked number checking error

Change-Id: I170d286d7bf3cb503feb05d5879cc4864fe0ade1
Signed-off-by: Jongkyu Koo <jk.koo@samsung.com>
7 years agoChanges capabilities and SecureBits 68/139868/2 accepted/tizen/4.0/unified/20170816.013047 accepted/tizen/4.0/unified/20170816.015702 accepted/tizen/unified/20170724.020321 submit/tizen/20170721.075432 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Jeesun Kim [Fri, 21 Jul 2017 01:46:24 +0000 (10:46 +0900)]
Changes capabilities and SecureBits

Change-Id: I3c6c3184e85e2323ac93061bd3c82b9a29cbb863
Signed-off-by: Jeesun Kim <iamjs.kim@samsung.com>
7 years agoenable number blocking code 52/139852/1 accepted/tizen/unified/20170721.201743 submit/tizen/20170721.012548
Jongkyu Koo [Fri, 21 Jul 2017 00:21:49 +0000 (09:21 +0900)]
enable number blocking code

Change-Id: Id17733700035947c25dcbc434056d3cb7e2b4930
Signed-off-by: Jongkyu Koo <jk.koo@samsung.com>
7 years agoapp name could be changed depending on profile 71/137471/3 accepted/tizen/unified/20170707.154604 submit/tizen/20170707.010432
Jeesun Kim [Thu, 6 Jul 2017 05:43:29 +0000 (14:43 +0900)]
app name could be changed depending on profile

Signed-off-by: Jeesun Kim <iamjs.kim@samsung.com>
Change-Id: I8d4f9904434e941125649f46f0abab0ae7d3d3f7

7 years agogroup message feature refactoring 64/135364/2 accepted/tizen/unified/20170704.084338 submit/tizen/20170630.081347 submit/tizen/20170703.030428 submit/tizen/20170703.233424
Kyeonghun Lee [Thu, 22 Jun 2017 05:14:08 +0000 (14:14 +0900)]
group message feature refactoring

Change-Id: I7d59f08e1cc084a3792152df3f1a7e2a09f71174
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agouse phone_number_check_blocking() to check blocked number 01/135101/2
Kyeonghun Lee [Wed, 21 Jun 2017 02:32:54 +0000 (11:32 +0900)]
use phone_number_check_blocking() to check blocked number

Change-Id: I1e776880ae60d1c7ff8c688fedc2c014ce6870f0
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agocodes related to phone log to msg-service moved 24/134924/2
Kyeonghun Lee [Tue, 20 Jun 2017 08:54:10 +0000 (17:54 +0900)]
codes related to phone log to msg-service moved

Change-Id: I489d62446d5292028658ce721aed37fa4c618a6f
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agoadd code to check privilege for some APIs 10/134210/1
Kyeonghun Lee [Thu, 15 Jun 2017 08:16:35 +0000 (17:16 +0900)]
add code to check privilege for some APIs

Change-Id: I97c134572e88f045d99b681e1c86f1ba479669b1
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agochange type of setting value for group message 80/133680/2 submit/tizen/20170615.065243
Kyeonghun Lee [Tue, 13 Jun 2017 06:10:06 +0000 (15:10 +0900)]
change type of setting value for group message

Change-Id: I8a5a65963fc27e2fe496578b9cd7b7ec23f7173c
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agoremove tools package 56/133656/1
Kyeonghun Lee [Tue, 13 Jun 2017 04:48:23 +0000 (13:48 +0900)]
remove tools package

Change-Id: I0db1b68be2a219344e732596e0d11eb27d750e07
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agoadd msg-manager to all profiles 64/133164/1 accepted/tizen/unified/20170612.171310 submit/tizen/20170612.010203 submit/tizen/20170612.082104
Kyeonghun Lee [Fri, 9 Jun 2017 05:47:36 +0000 (14:47 +0900)]
add msg-manager to all profiles

Change-Id: Idca90a2f74db40c68def9fb8e3c4f6b5a45b6ab0
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years ago[TNEXT-639] block codes related with group message feature 36/132936/1 accepted/tizen/unified/20170609.204001 submit/tizen/20170609.034651
Kyeonghun Lee [Thu, 8 Jun 2017 10:03:30 +0000 (19:03 +0900)]
[TNEXT-639] block codes related with group message feature

Change-Id: Ica32c4b2e342a245963137270a10769e1d57f7db
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years ago[MPR-1091] make resend failed sms to only failed recipients 18/129418/4
Kyeonghun Lee [Tue, 16 May 2017 10:02:00 +0000 (19:02 +0900)]
[MPR-1091] make resend failed sms to only failed recipients

Change-Id: Idfbff9bd3195a265dc4823849d91157a7533c17f
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agorecipient type of received mms bug fixed 52/129752/1 accepted/tizen/unified/20170518.061327 submit/tizen/20170518.052800 tizen_4.0.m1_release
Kyeonghun Lee [Thu, 18 May 2017 04:54:29 +0000 (13:54 +0900)]
recipient type of received mms bug fixed

Change-Id: I886faf9dd93cbb4a57b46069af4bc8787ee29237
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years ago[MIC] msg-service-db: Speed up SQLite3 insertion operations while running MIC command 37/129537/1
Geunsik Lim [Wed, 17 May 2017 01:14:54 +0000 (10:14 +0900)]
[MIC] msg-service-db: Speed up SQLite3 insertion operations while running MIC command

This commit is to speed up exeuction time of a MIC operation.

The "INSERT INTO ..." operation has been taken more than 8 seconds
when we run MIC command to make a Tizen platform image on the below system environment.
 - CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
 - Memory: DDR3 8GiB
 - OS: Ubuntu 14.04.5 LTS

We don't need to keep the synchronous operation in case that we only
run insertion commands without any data modification such as MODIFY
and DELETE statement.

@To maintainer:
----------------
First, Note that  the number of  insertion commands results in more synchronization
cost in kernel space. For example, the more we call a write(2) syscall,
the more  Linux kernel calls submit_bio(9) and futex_wait(9) kernel function.
Disabling a synchronous operation will cause SQLite3 to not wait on data to
reach the disk surface, which will make write operations appear to be much
faster.

Second, Note that you have to check frequently if the version of SQLite3 is state-of-the-art.
As we all know, the existing bugs is often fixed in the latest version of SQLite3.

@Evaluation:
----------------
 - How to do unit-test:
   $ cd ./msg-service
   $ time sqlite3 ./mybenchmark.db < ../msg-service-db.sql

 - Before this patch:
real 0m8.277s
user 0m0.038s
sys 0m0.074s

 - After this patch:
real 0m0.116s
user 0m0.018s
sys 0m0.003s

@Reference:
----------------
 - Pragma statements supported by SQLite, https://www.sqlite.org/pragma.html

Change-Id: I85b181b16c54c97eac6216292ae7f288452139f7
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
7 years ago[MPR-967] add new api for thread list with condition 25/127425/5
Kyeonghun Lee [Thu, 27 Apr 2017 08:04:52 +0000 (17:04 +0900)]
[MPR-967] add new api for thread list with condition

Change-Id: I848dcff36f7866f48fec5048a1f0d2bd64a0e33a
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years ago[TNEXT-360] bug on msg_get_message() fixed 55/128455/1 accepted/tizen/unified/20170510.183154 submit/tizen/20170510.054744
Kyeonghun Lee [Wed, 10 May 2017 05:42:36 +0000 (14:42 +0900)]
[TNEXT-360] bug on msg_get_message() fixed

Change-Id: Ia587c9dc0447ebbe482a2c69edd92fa2adb083da
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agofix svace issue 61/126761/2 accepted/tizen/unified/20170426.195525 submit/tizen/20170425.051340
Kyeonghun Lee [Tue, 25 Apr 2017 04:58:13 +0000 (13:58 +0900)]
fix svace issue

Change-Id: I3dcce72d3174279b37cd387964278c0c479659c2
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agofix svace issues 61/125961/2 accepted/tizen/unified/20170420.155752 submit/tizen/20170420.093216
Kyeonghun Lee [Wed, 19 Apr 2017 11:45:59 +0000 (20:45 +0900)]
fix svace issues

Change-Id: I21e9a36af8cdd8a9868c405d922b041e52912702
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agofix dependancy for using boost 93/124893/1
Kyeonghun Lee [Thu, 13 Apr 2017 02:27:56 +0000 (11:27 +0900)]
fix dependancy for using boost

Change-Id: I4e758e3191bcc137eb2813f873ab286df76d3d90
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agosvace issues fixed 03/123303/3
Kyeonghun Lee [Wed, 5 Apr 2017 07:21:54 +0000 (16:21 +0900)]
svace issues fixed

Change-Id: I1064b3bd91f33df27aaecc1a85dd3ec17ddde680
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agoMerge "Lowmem object path and interface is changed" into tizen accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_wearable accepted/tizen/common/20170403.190743 accepted/tizen/ivi/20170403.130346 accepted/tizen/mobile/20170403.130244 accepted/tizen/unified/20170403.130400 accepted/tizen/wearable/20170403.130329 submit/tizen/20170403.054337
Kyeonghun Lee [Mon, 3 Apr 2017 05:45:45 +0000 (22:45 -0700)]
Merge "Lowmem object path and interface is changed" into tizen

7 years agoLowmem object path and interface is changed 14/122614/1
pr.jung [Mon, 3 Apr 2017 05:17:23 +0000 (14:17 +0900)]
Lowmem object path and interface is changed

Change-Id: I14a176559fb04ced311ab99d9bd6ad4954d04920
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agofix memory leak issue 75/121875/1
Kyeonghun Lee [Wed, 29 Mar 2017 08:47:26 +0000 (17:47 +0900)]
fix memory leak issue

Change-Id: I6fe4646dc8492372a947bff95989ef7fd15bd678
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agouse %license macro for profile packages 89/121389/1 accepted/tizen/common/20170328.140808 accepted/tizen/ivi/20170328.061514 accepted/tizen/mobile/20170328.061436 accepted/tizen/unified/20170328.061534 accepted/tizen/wearable/20170328.061507 submit/tizen/20170328.034237
Kyeonghun Lee [Tue, 28 Mar 2017 01:42:59 +0000 (10:42 +0900)]
use %license macro for profile packages

Change-Id: I49171e1e0de1c58f46c6ffb66a75b259f6e62011
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years ago[P170314-02250] give attribute with pthread_create() for launch app 28/118828/1
Kyeonghun Lee [Tue, 14 Mar 2017 07:26:53 +0000 (16:26 +0900)]
[P170314-02250] give attribute with pthread_create() for launch app

Change-Id: I67e294ad3bab6626237daaaef5298035a42e242a
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agoadjust log level 26/118826/1
Kyeonghun Lee [Tue, 7 Mar 2017 05:08:13 +0000 (14:08 +0900)]
adjust log level

Change-Id: Id772d4329a9e66955891301aa65e95af4ec04c5c
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
(cherry picked from commit 05890ff1c4104fa5f556b97eb9283c68dfa85d22)

7 years ago[P170306-02321] wait for reply of prev aul_launch_app_for_uid before calling 25/118825/1
Kyeonghun Lee [Mon, 6 Mar 2017 11:06:08 +0000 (20:06 +0900)]
[P170306-02321] wait for reply of prev aul_launch_app_for_uid before calling

Change-Id: Ic2a546bc64040307b9943e604f2a007cce83fd00
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
(cherry picked from commit 889fec29ab99c8999c1819b3278d3f9a73b19dbb)

7 years agofix bug on 64bit env 13/117213/1 accepted/tizen/common/20170303.153610 accepted/tizen/ivi/20170305.223646 accepted/tizen/mobile/20170305.223615 accepted/tizen/unified/20170309.033157 accepted/tizen/wearable/20170305.223632 submit/tizen/20170303.083036 submit/tizen_unified/20170308.100408
Kyeonghun Lee [Fri, 3 Mar 2017 08:18:26 +0000 (17:18 +0900)]
fix bug on 64bit env

Change-Id: I3b85f052a2b6d9d26f56912f93c16daaa26c3123
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agorestart option of service file modified 16/115516/1
Kyeonghun Lee [Mon, 20 Feb 2017 07:58:37 +0000 (16:58 +0900)]
restart option of service file modified

- system f/w request

Change-Id: I03a1f11422835936b2bc25437ba844cf1cf09260
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agofix memory leak issue 25/115425/1
Kyeonghun Lee [Mon, 20 Feb 2017 02:01:29 +0000 (11:01 +0900)]
fix memory leak issue

Change-Id: I7bd8ade3555eac270d2c63d69a3f70e7493ce787
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agoinvoke thread change callback for available thread id 24/115424/1
Kyeonghun Lee [Thu, 16 Feb 2017 12:35:58 +0000 (21:35 +0900)]
invoke thread change callback for available thread id

Change-Id: I5e12913aab7d88a6bd64385daeda0b733e3ace47
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years ago[P170213-04010] Copy valid unicode string to main text of thread list 40/115140/1
Kyeonghun Lee [Thu, 16 Feb 2017 11:17:24 +0000 (20:17 +0900)]
[P170213-04010] Copy valid unicode string to main text of thread list

Change-Id: I7da91aed47ec282cee01b18d613a1febfc6b1556
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agofix sql file's typo 05/114605/1
Kyeonghun Lee [Tue, 14 Feb 2017 07:21:26 +0000 (16:21 +0900)]
fix sql file's typo

Change-Id: I8dae586f70e4c99d57c5ff5163595fc001e27b60
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agofix svace issues 61/114361/1
Kyeonghun Lee [Mon, 13 Feb 2017 06:08:19 +0000 (15:08 +0900)]
fix svace issues

Change-Id: Ie6934cdf7c56bafa4e6e78e718b4ff2f0a2b7e4a
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agofix svace issue 16/113516/1 accepted/tizen/common/20170208.155130 accepted/tizen/ivi/20170208.104154 accepted/tizen/mobile/20170208.104121 accepted/tizen/wearable/20170208.104136 submit/tizen/20170208.080754
Kyeonghun Lee [Wed, 8 Feb 2017 04:43:38 +0000 (13:43 +0900)]
fix svace issue

Change-Id: Ib211a511d3eb6bebb0165e1206821f28dc090e8c
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agofix svace issues 74/113374/1
Kyeonghun Lee [Tue, 7 Feb 2017 08:34:02 +0000 (17:34 +0900)]
fix svace issues

Change-Id: If640fc43c9aade6fd36e46d4de50bc1005187a4b
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years ago[P161228-01293] change on-boot attribute to true from false 10/112310/1
Kyeonghun Lee [Wed, 18 Jan 2017 05:25:05 +0000 (14:25 +0900)]
[P161228-01293] change on-boot attribute to true from false

Change-Id: I1e7837a125b11648de33ea1376027b0c9666b536
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years ago[MPR-976] TSC related enums and api added 66/106066/4
Kyeonghun Lee [Tue, 20 Dec 2016 09:36:05 +0000 (18:36 +0900)]
[MPR-976] TSC related enums and api added

Change-Id: If9ee92f7855e8dd69c62d0623770af2f9d26faec
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agoEnhance db querying for getting thread list and thread info 11/112111/2 accepted/tizen/common/20170131.162928 accepted/tizen/ivi/20170201.003836 accepted/tizen/mobile/20170201.003805 accepted/tizen/wearable/20170201.003819 submit/tizen/20170131.012439
Kyeonghun Lee [Thu, 26 Jan 2017 04:41:46 +0000 (13:41 +0900)]
Enhance db querying for getting thread list and thread info

- from slp git

Change-Id: I8acbd892e789046e46c0b8a3c622900973f6b671
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agoappfw package split applied 50/112050/1
Kyeonghun Lee [Wed, 25 Jan 2017 13:00:19 +0000 (22:00 +0900)]
appfw package split applied

Change-Id: Id1509d9c816c07bb8308ec65fec1fb15d436eca5
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years ago[MPR-988, MPR-989] support group message 43/107043/2
Kyeonghun Lee [Mon, 26 Dec 2016 08:03:12 +0000 (17:03 +0900)]
[MPR-988, MPR-989] support group message

- add a db table for group message's recipients
- add setting option for group message

Change-Id: If1040fdf69c780a01e1989e6f9f87ccf609c4cb4
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agoadd msg id field for cb message 90/111090/1
Kyeonghun Lee [Thu, 19 Jan 2017 10:58:57 +0000 (19:58 +0900)]
add msg id field for cb message

Change-Id: I9da895a168147545127a8a839153e0093bd01e24
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agofix query in MsgStoSearchMessage() for 3.0 UX 30/108430/2
Kyeonghun Lee [Wed, 4 Jan 2017 09:16:35 +0000 (18:16 +0900)]
fix query in MsgStoSearchMessage() for 3.0 UX

Change-Id: Ie5d4e6b8bdf4cc70737050f00ef74d2e44f18bb4
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
(cherry picked from commit fd2c258a6b981011d9e71a01eea05558e84f4006)

7 years agofix query to get threads info which have any protected messages 13/108413/1
Kyeonghun Lee [Wed, 4 Jan 2017 08:09:45 +0000 (17:09 +0900)]
fix query to get threads info which have any protected messages

Change-Id: I74226a9f9cbfe8acc2f3968e3a30688baf1d1c70
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agoManifest files for subpackages with .so / ldconfig 60/108160/1 accepted/tizen/common/20170104.073249 accepted/tizen/ivi/20170104.221937 accepted/tizen/mobile/20170104.221858 accepted/tizen/wearable/20170104.221915 submit/tizen/20170104.061339
MyungJoo Ham [Tue, 3 Jan 2017 07:13:28 +0000 (16:13 +0900)]
Manifest files for subpackages with .so / ldconfig

This is required to get permission to execute ldconfig

Change-Id: Ic0d3201a2bdccf5fe55ac1dfee9da26f9c426914
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoDevel pkg clean: enum for every profile. 11/98911/7
MyungJoo Ham [Mon, 21 Nov 2016 07:12:09 +0000 (16:12 +0900)]
Devel pkg clean: enum for every profile.

Remove the possibility of per-profile differences in
in-Tizen.org pacakge devel packages.

Enum values must be same for every profile
for Tizen 4.0 Configurability & Building Blocks.

Change-Id: Ic1280a93bcaebffc2c77c373e42272b55eca286f
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRemove Profile Build Dependency 08/98908/7
MyungJoo Ham [Mon, 21 Nov 2016 07:04:11 +0000 (16:04 +0900)]
Remove Profile Build Dependency

- This is for Tizen 4.0.
  (4.0 Configurability & Building Blocks requires not to use
  profile macro soon.)

- When SR'ing this, you nee to create JIRA-TRE issue of:

  - Add msg-service-profile_mobile for mobile profile.
  - Add msg-service-profile_wearable for wearable profile.

(patchset 6 has fixed mobile runtime issue)

Change-Id: Idad37ccea075ce56fde0109eeb22de17788a7bf8
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agofix memory leak 18/107918/1
Kyeonghun Lee [Fri, 30 Dec 2016 05:33:26 +0000 (14:33 +0900)]
fix memory leak

Change-Id: I2c0e33b0b0d693eb19c75c49fbf89ae74f53ac1c
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agoremove build warning with updated toolchain 61/107261/2
Kyeonghun Lee [Tue, 27 Dec 2016 08:55:01 +0000 (17:55 +0900)]
remove build warning with updated toolchain

Change-Id: If1ae78f6bca013304309221948a77861dc91b972
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agofix error on receiving mms while dpm disallowed 01/107201/1
Kyeonghun Lee [Tue, 27 Dec 2016 06:24:44 +0000 (15:24 +0900)]
fix error on receiving mms while dpm disallowed

Change-Id: I8def211b743851d0003b9c7ec35fe71e3ffea715
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
(cherry picked from commit e5fd53692a4ae0115cb2feb2d4585b032caa8edd)

7 years agoMerge branch 'tizen_3.0' into tizen 37/107037/1
Kyeonghun Lee [Mon, 26 Dec 2016 07:42:13 +0000 (16:42 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Id8be8bbb4fdf280cfb50c5dbcaed17edbe76f8d2
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agoadd LAST_MSG_ID column to conversation table for 3.0 UX 31/107031/2 accepted/tizen/3.0/common/20161227.102042 accepted/tizen/3.0/ivi/20161227.010530 accepted/tizen/3.0/mobile/20161227.010450 accepted/tizen/3.0/wearable/20161227.010510 submit/tizen_3.0/20161226.074309
Kyeonghun Lee [Mon, 26 Dec 2016 07:31:35 +0000 (16:31 +0900)]
add LAST_MSG_ID column to conversation table for 3.0 UX

Change-Id: I82faffbba8c9f3698d03c3a860e567ed33dcd3ff
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agoVersion up to 1.0.9 60/106960/1 accepted/tizen/3.0/common/20161227.101817 accepted/tizen/3.0/ivi/20161227.005649 accepted/tizen/3.0/mobile/20161227.005610 accepted/tizen/3.0/wearable/20161227.005626 submit/tizen_3.0/20161226.023614
Kyeonghun Lee [Mon, 26 Dec 2016 02:21:44 +0000 (11:21 +0900)]
Version up to 1.0.9

Change-Id: I86da0ba4208c81e31ab1c806403b59e7239da264
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agoInvoke thread change callback on update message 45/106945/1
Kyeonghun Lee [Mon, 26 Dec 2016 01:39:34 +0000 (10:39 +0900)]
Invoke thread change callback on update message

Change-Id: I160134e7c8efc3c1e2d1054a3525cebb8dee9cd4
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agofix coding convention 32/106832/2
Kyeonghun Lee [Fri, 23 Dec 2016 07:34:07 +0000 (16:34 +0900)]
fix coding convention

Change-Id: I46695881179e8d6472116212cb082b0186651d23
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agoadd code for dpm restriction toast 90/106790/3
Kyeonghun Lee [Fri, 23 Dec 2016 05:39:47 +0000 (14:39 +0900)]
add code for dpm restriction toast

- security team request

Change-Id: Id74d997a77009728296a6e94e75f4c0b57a05ee4
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
7 years agouse sd_get_active_uids() instead of sd_get_uids() for getting active user id 00/106600/2
Kyeonghun Lee [Thu, 22 Dec 2016 07:12:34 +0000 (16:12 +0900)]
use sd_get_active_uids() instead of sd_get_uids() for getting active user id

Change-Id: I91f1790686d5a13398e0b942956b90ae346497f6
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>