platform/core/api/notification.git
6 years agoRelease version 0.3.46 34/167634/1 accepted/tizen/4.0/unified/20180119.060744 submit/tizen_4.0/20180119.021335
Seungha Son [Fri, 19 Jan 2018 02:07:31 +0000 (11:07 +0900)]
Release version 0.3.46

Changes:
 - Add error handling condition
 - Fix memory leak
 - Change ipc init timing

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I11e2fd8f04e91344b5d708006eeaa183e7af600f

6 years agoChange ipc init timing 30/167630/1
Seungha Son [Thu, 18 Jan 2018 08:08:06 +0000 (17:08 +0900)]
Change ipc init timing

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Iadf84e14e6cbede472b31df9dbbfa8749e955af8

6 years agoFix memory leak 59/167059/2
Seungha Son [Mon, 15 Jan 2018 06:10:13 +0000 (15:10 +0900)]
Fix memory leak

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I0070ce7f7f32149eece67da17f0ec1fbf4c0c111

6 years agoFix build error
Seungha Son [Mon, 15 Jan 2018 07:03:32 +0000 (16:03 +0900)]
Fix build error

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Iad9857ddf8519804954e4cd2c4ebb368f51a8e3b

6 years agoAdd error handling condition
Seungha Son [Fri, 12 Jan 2018 05:18:38 +0000 (14:18 +0900)]
Add error handling condition

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Iaa3b56a934c5acab10d11d457e42a15784798bcb

6 years agoRelease version 0.3.45 89/166789/1 accepted/tizen/4.0/unified/20180112.230903 submit/tizen_4.0/20180112.023754 tizen_4.0.IoT.p2_release
Seungha Son [Fri, 12 Jan 2018 02:31:57 +0000 (11:31 +0900)]
Release version 0.3.45

Changes:
 - Add null checker

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I7c29c213b8f21d73b5132a87811c4efaba6c3069

6 years agoAdd null checker
Seungha Son [Fri, 12 Jan 2018 02:00:09 +0000 (11:00 +0900)]
Add null checker

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I77c016ccaa3ab08e0e2993b4d5d95fbd46f0bb39

6 years agoRelease version 0.3.44 71/166271/1 accepted/tizen/4.0/unified/20180111.051132 submit/tizen_4.0/20180109.060519
Seungha Son [Tue, 9 Jan 2018 05:57:05 +0000 (14:57 +0900)]
Release version 0.3.44

Changes:
 - Change communication from dbus to socket to get list

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Iab28c36036943d98e29281062cc0760cd99813bc

6 years agoChange communication from dbus to socket to get list 58/166258/2
Seungha Son [Thu, 28 Dec 2017 02:23:04 +0000 (11:23 +0900)]
Change communication from dbus to socket to get list

 Change the communication method from dbus to socket to get
 a very large number of notifications safely and quickly.

Related :
data-provider-master - https://review.tizen.org/gerrit/#/c/166259/

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I8b3dc29d4f77b9874913b540f755bd4c42095e9d

6 years agoRelease version 0.3.43 51/165451/1 accepted/tizen/4.0/unified/20180102.065610 submit/tizen_4.0/20171229.043055
Seungha Son [Fri, 29 Dec 2017 04:21:28 +0000 (13:21 +0900)]
Release version 0.3.43

Changes:
 - Fix db recovery callback error

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I948bac6bc429911efb9a3d86cec54c6047cdd879

6 years agoFix build error
Seungha Son [Fri, 29 Dec 2017 04:21:09 +0000 (13:21 +0900)]
Fix build error

Signed-off-by: Seungha Son <seungha.son@samsung.com>
6 years agoFix db recovery callback error
Seungha Son [Fri, 29 Dec 2017 03:50:29 +0000 (12:50 +0900)]
Fix db recovery callback error

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I300fb0520ff61847c3ece112ff1dc76fff39b5a3

6 years agoRelease version 0.3.42 60/164060/1 accepted/tizen/4.0/unified/20171218.072005 submit/tizen_4.0/20171215.060237
Seungha Son [Fri, 15 Dec 2017 05:34:41 +0000 (14:34 +0900)]
Release version 0.3.42

Changes:
 - Add function to get the numbers of all notification

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ia52d23ef8a10a21ba28cf2c38a75927012f34bb7

6 years agoAdd function to get the numbers of all notification 56/164056/1
Seungha Son [Mon, 11 Dec 2017 06:51:41 +0000 (15:51 +0900)]
Add function to get the numbers of all notification

related patch
 -data-provider-master: https://review.tizen.org/gerrit/#/c/163585/
 -tizenfx : https://review.tizen.org/gerrit/#/c/163969/

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I3e045efd94fca77192e45403ed00a78f83e5f292

6 years agoRelease version 0.3.41 04/162704/1 accepted/tizen/4.0/unified/20171206.140302 submit/tizen_4.0/20171205.043607 submit/tizen_4.0/20171205.044248 submit/tizen_4.0/20171205.062837
Seungha Son [Tue, 5 Dec 2017 04:03:28 +0000 (13:03 +0900)]
Release version 0.3.41

Changes:
 - Add the value to be passed to the viewer
 - Fix logic to recover corrupted db

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I7877d91099e0a345687ef89235bcccc799a6e7ec

6 years agoFix logic to recover corrupted db 01/162701/1
Seungha Son [Tue, 28 Nov 2017 09:49:07 +0000 (18:49 +0900)]
Fix logic to recover corrupted db

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I32acf596972e146751ddcbb39fb981a4daa7e317

6 years agoAdd the value to be passed to the viewer 75/162175/1
Myungki Lee [Mon, 27 Nov 2017 10:13:42 +0000 (19:13 +0900)]
Add the value to be passed to the viewer

- This value allows viewer to distinguish whether noti is added or deleted.

Change-Id: Ie1ce76e933effb6ea1dae548d6902432993367d2
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
(cherry picked from commit 5b887934600dc9f9c26661a8d49eed0226e2d678)

6 years agoRevert "Arrange CMakeLists.txt and spec file" 64/160964/1 accepted/tizen/4.0/unified/20171122.071136 submit/tizen_4.0/20171121.022718
Myungki Lee [Tue, 21 Nov 2017 02:09:39 +0000 (11:09 +0900)]
Revert "Arrange CMakeLists.txt and spec file"

Change-Id: I7442196d209535ca7b12a811b7033b5814c43ba7
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
6 years agoMerge branch 'tizen' into tizen_4.0 submit/tizen_4.0/20171120.105656
Myungki Lee [Mon, 20 Nov 2017 09:13:19 +0000 (18:13 +0900)]
Merge branch 'tizen' into tizen_4.0

6 years agoRelease version 0.3.40 59/160859/1 submit/tizen/20171120.105459
Myungki Lee [Mon, 20 Nov 2017 09:05:23 +0000 (18:05 +0900)]
Release version 0.3.40

- Add integrity_check when db table create
  Fix notification_get/set_extension_data()
  Arrange CMakeLists.txt and spec file
  Remove unnecessary message
  Fix coding rule
  fix testapp

Change-Id: I2f340e99d67cd5db3cad5c34918c3abda0a096d6
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
6 years agoAdd integrity_check when db table create 47/160847/2
Myungki Lee [Mon, 20 Nov 2017 08:19:06 +0000 (17:19 +0900)]
Add integrity_check when db table create

Change-Id: Ie6e88838f5e5bc9b5f1715992c44dd7ba0d8da60
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
6 years agoFix notification_get/set_extension_data() 39/160839/2
Seungha Son [Mon, 20 Nov 2017 07:49:53 +0000 (16:49 +0900)]
Fix notification_get/set_extension_data()

 To fix the incorrect spelling, the previous function is deprecated and
 defines a new function.

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: If132fc4812751e0f9aa32208309e682ec1c30135

6 years agoArrange CMakeLists.txt and spec file 83/160383/2
Seungha Son [Thu, 16 Nov 2017 02:16:25 +0000 (11:16 +0900)]
Arrange CMakeLists.txt and spec file

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I1d4911e8e1b4a2678070eace5480561a072a7f2a

6 years agoRemove unnecessary message 54/159754/1
Seungha Son [Mon, 13 Nov 2017 04:14:49 +0000 (13:14 +0900)]
Remove unnecessary message

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I8fb72dc2b5aaf5fb7f2bd526a31d837a96bb4873

7 years agoFix coding rule 18/158818/1
Seungha Son [Fri, 3 Nov 2017 07:57:08 +0000 (16:57 +0900)]
Fix coding rule

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I23d5353fbcff76ccd650dadfd2d6944c7af23fda

7 years agofix testapp 86/158786/1
Seungha Son [Fri, 3 Nov 2017 04:46:08 +0000 (13:46 +0900)]
fix testapp

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ibddd855a6bc7916338452b307069dcd18683cb1d

7 years agoMerge branch 'tizen' into tizen_4.0 accepted/tizen/4.0/unified/20171122.071110 submit/tizen_4.0/20171102.094014 submit/tizen_4.0/20171103.015252 submit/tizen_4.0/20171120.032205
Myungki Lee [Thu, 2 Nov 2017 11:08:12 +0000 (20:08 +0900)]
Merge branch 'tizen' into tizen_4.0

Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
Conflicts:
packaging/notification.spec

Change-Id: Ibe16d79f9944d703f61e0151900a9017f47200a9

7 years agoRelease version 0.3.39 38/158638/1 accepted/tizen/unified/20171103.030220 submit/tizen/20171102.093920
Myungki Lee [Thu, 2 Nov 2017 08:09:29 +0000 (17:09 +0900)]
Release version 0.3.39

- Add new line escape to improve debugging efficiency
  Add DB validation check when db init

Change-Id: Ia4d39f2519c83ee69c13e37b4e8be0fb67ba6e42
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoAdd new line escape to improve debugging efficiency 87/158487/1
Seungha Son [Tue, 31 Oct 2017 07:44:14 +0000 (16:44 +0900)]
Add new line escape to improve debugging efficiency

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I0d99b711b94bee92f5f0808d4f9e0683125d4609

7 years agoAdd DB validation check when db init 25/157725/5
Myungki Lee [Thu, 26 Oct 2017 03:24:51 +0000 (12:24 +0900)]
Add DB validation check when db init

- Added integrity check related logic to db init process to check
  if db integrity is broken due to file system error and initialize db.

Change-Id: I8e7f43cdee04e488442556b21f22a14d71230906
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.38 accepted/tizen/4.0/unified/20171018.231404 submit/tizen_4.0/20171018.013006 tizen_4.0.m2_release
Seungha Son [Wed, 18 Oct 2017 01:10:09 +0000 (10:10 +0900)]
Release version 0.3.38

Changes:
 - Add the error log
 - Add set_last_result() to check error

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I35bfad7db23fc0c9f8356bfcdf914314c32870ee

7 years agoAdd set_last_result() to check error
Seungha Son [Mon, 16 Oct 2017 03:22:08 +0000 (12:22 +0900)]
Add set_last_result() to check error

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ib8224aa5a04e6c794c46573d50056a0abef2dd4f

7 years agoAdd the error log
Seungha Son [Mon, 16 Oct 2017 06:17:00 +0000 (15:17 +0900)]
Add the error log

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I5244219a8dbd5c5ab3ec5358ef71cae5d0ec1af8

7 years agoRelease version 0.3.38 68/156268/1 accepted/tizen/unified/20171018.165042 submit/tizen/20171018.011846 submit/tizen_4.0/20171018.011909
Seungha Son [Wed, 18 Oct 2017 01:10:09 +0000 (10:10 +0900)]
Release version 0.3.38

Changes:
 - Add the error log
 - Add set_last_result() to check error

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I35bfad7db23fc0c9f8356bfcdf914314c32870ee

7 years agoAdd set_last_result() to check error 06/155706/2
Seungha Son [Mon, 16 Oct 2017 03:22:08 +0000 (12:22 +0900)]
Add set_last_result() to check error

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ib8224aa5a04e6c794c46573d50056a0abef2dd4f

7 years agoAdd the error log 76/155776/1
Seungha Son [Mon, 16 Oct 2017 06:17:00 +0000 (15:17 +0900)]
Add the error log

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I5244219a8dbd5c5ab3ec5358ef71cae5d0ec1af8

7 years agoMerge branch 'tizen' into tizen_4.0 accepted/tizen/4.0/unified/20171012.230134 submit/tizen_4.0/20171012.062508 tizen_4.0.IoT.p1_release
Myungki Lee [Thu, 12 Oct 2017 07:55:39 +0000 (16:55 +0900)]
Merge branch 'tizen' into tizen_4.0

7 years agoRelease version 0.3.37 63/155163/1 accepted/tizen/unified/20171013.192809 submit/tizen/20171012.062027
Myungki Lee [Thu, 12 Oct 2017 07:51:06 +0000 (16:51 +0900)]
Release version 0.3.37

- Fix build warning

Change-Id: Ib6bf2a43d661b27bf85675293dbd58a30eed4bb8
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoFix build warning 67/155067/2
Myungki Lee [Thu, 12 Oct 2017 04:47:28 +0000 (13:47 +0900)]
Fix build warning

- For dlog, need type casting from gpointer to char *

Change-Id: I0e6d6f93e081052f780a5ec1c9bc9b7e07b181a3
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoFix build warning 67/155067/1
Myungki Lee [Thu, 12 Oct 2017 04:47:28 +0000 (13:47 +0900)]
Fix build warning

- For dlog, need to type casting from gpointer to char *

Change-Id: I0e6d6f93e081052f780a5ec1c9bc9b7e07b181a3
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.36 55/154855/1 accepted/tizen/4.0/unified/20171012.074416 submit/tizen_4.0/20171011.101321
Myungki Lee [Wed, 11 Oct 2017 10:00:23 +0000 (19:00 +0900)]
Release version 0.3.36

- Update noti upgrade script

Change-Id: Iac3e52ac861fd4898b57b0e094d4a48a9ac1bd9c
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoUpdate noti upgrade script 54/153654/7
Myungki Lee [Fri, 29 Sep 2017 05:11:49 +0000 (14:11 +0900)]
Update noti upgrade script

- 3.0->4.0

Change-Id: I7a0056e72e40b3a3d4de96de24238c34223cb8ea
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.35 81/153181/1 accepted/tizen/4.0/unified/20170929.075953 accepted/tizen/unified/20170929.081441 submit/tizen/20170928.055049 submit/tizen_4.0/20170928.055126 submit/tizen_4.0/20170928.143447
Seungha Son [Thu, 28 Sep 2017 05:10:15 +0000 (14:10 +0900)]
Release version 0.3.35

Changes:
 - Add lcov comment

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I8d2a311955fd67ccb28ba92508aa7c99915ba859

7 years agoAdd lcov comment 52/153052/3
Seungha Son [Thu, 28 Sep 2017 00:48:54 +0000 (09:48 +0900)]
Add lcov comment

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ib4353e4a49ac753c43a3fc6fca08b9a3d87f8996

7 years agoRelease version 0.3.34 63/146463/1 accepted/tizen/4.0/unified/20170904.234800 accepted/tizen/4.0/unified/20170905.175324 accepted/tizen/unified/20170829.140337 submit/tizen/20170829.043212 submit/tizen_4.0/20170901.004643 submit/tizen_4.0/20170905.004956
Myungki Lee [Tue, 29 Aug 2017 03:14:31 +0000 (12:14 +0900)]
Release version 0.3.34

- Fixed the default viewer app to run async

Change-Id: I212d2125e5007d9c18f8f3f40d6c63b7fa935050
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoFixed the default viewer app to run async 20/146220/4
Myungki Lee [Fri, 25 Aug 2017 09:46:44 +0000 (18:46 +0900)]
Fixed the default viewer app to run async

Change-Id: I1de15c4dc9a62aad35b1b899d21e625c1caff375
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.33 02/145702/1 accepted/tizen/unified/20170824.050842 submit/tizen/20170823.095611
Seungha Son [Wed, 23 Aug 2017 09:53:06 +0000 (18:53 +0900)]
Release version 0.3.33

Changes:
 - Initialize variable to null

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Id0554c5592f3c16f91adae4095c0ed8ac8e5ae51

7 years agoInitialize variable to null 76/145476/1
Seungha Son [Tue, 22 Aug 2017 10:52:15 +0000 (19:52 +0900)]
Initialize variable to null

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I3d901d0269837b48c4c4bfddcc0e8d0b673f0f1f

7 years agoRelease version 0.3.32 71/144871/1 accepted/tizen/4.0/unified/20170828.223752 accepted/tizen/unified/20170821.051147 submit/tizen/20170818.073144 submit/tizen_4.0/20170828.100002
Myungki Lee [Fri, 18 Aug 2017 07:34:37 +0000 (16:34 +0900)]
Release version 0.3.32

- Changed the error handling of notification_create

Change-Id: I9b9f141165f64aab216b1287cf9e96eebde26f17
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoChanged the error handling of notification_create() 55/144355/4
Myungki Lee [Wed, 16 Aug 2017 09:45:38 +0000 (18:45 +0900)]
Changed the error handling of notification_create()

- To not return an error even if we do not have a domain name.
  In the case of the web app, the domain can not be obtained.

Change-Id: I25d46cb99d4c6e14443d139414941873fab5149b
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.31 38/143538/1 accepted/tizen/unified/20170811.021212 submit/tizen/20170810.094719
Seungha Son [Thu, 10 Aug 2017 09:03:07 +0000 (18:03 +0900)]
Release version 0.3.31

Changes:
 - Add exception handling
 - Apply ASLR to notification_init

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Iae8a26804c914c3aaa4bac070259ba66ee1b32e0

7 years agoApply ASLR to notification_init 66/143366/1
Myungki Lee [Wed, 9 Aug 2017 10:55:37 +0000 (19:55 +0900)]
Apply ASLR to notification_init

Change-Id: Ib0abd78474cb9452a711420badcd5793af8bcede
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoAdd exception handling 35/142435/4
Seungha Son [Fri, 4 Aug 2017 02:37:23 +0000 (11:37 +0900)]
Add exception handling

 - Added exception handling for invalid notifications when creating
   notification handle is failed

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ia79d12e4d0d6b4866ac15866e5ad5da28ffcf27f

7 years agoRelease version 0.3.30 84/142684/1 accepted/tizen/unified/20170808.171106 submit/tizen/20170807.044555
Myungki Lee [Mon, 7 Aug 2017 04:32:00 +0000 (13:32 +0900)]
Release version 0.3.30

- Fix wrong return value
  Adds API for extension event handler
  Fixed the wrong return value of notification_post func

Change-Id: Ieba0aacaeaa9b05b190275b89b64c08893536f58
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoFix wrong return value 36/142436/1
Seungha Son [Fri, 4 Aug 2017 02:45:09 +0000 (11:45 +0900)]
Fix wrong return value

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I00d7ed1b1354dc58fe4f276ffede686be7954562

7 years agoAdds API for extension event handler 27/141927/9
Seungha Son [Wed, 2 Aug 2017 01:20:49 +0000 (10:20 +0900)]
Adds API for extension event handler

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Id2a3464f45e9011696429281dc0c18c1c649be91

7 years agoFixed the wrong return value of notification_post func 72/142272/1
Myungki Lee [Thu, 3 Aug 2017 07:53:41 +0000 (16:53 +0900)]
Fixed the wrong return value of notification_post func

- notification_post_for_uid

Change-Id: I445f803a65c905f4adbdc31edad547217de602b4
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.29 22/142022/1 accepted/tizen/4.0/unified/20170816.012312 accepted/tizen/4.0/unified/20170816.015233 accepted/tizen/unified/20170803.010520 submit/tizen/20170802.081849 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Seungha Son [Wed, 2 Aug 2017 08:13:35 +0000 (17:13 +0900)]
Release version 0.3.29

Changes:
 - Reduce log string and format

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ib283513b40464b1175bcab04df0f7a52bf258c72

7 years agoReduce log string and format 37/141437/5
Seungha Son [Mon, 31 Jul 2017 11:03:27 +0000 (20:03 +0900)]
Reduce log string and format

 - Remove duplicate data from output
 - Remove special characters
 - Remove unnecessary information output
 - Remove repeated information from log

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I00358453072d41ddc0469972bc02d1bb02f2b658

7 years agoAdd extention event type 17/141517/2
Seungha Son [Tue, 1 Aug 2017 02:24:51 +0000 (11:24 +0900)]
Add extention event type

 - It is a type for event where notifications are hidden due to
   not user and timeout but external factors.

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ieb6203d46e0476875f7cfcfa94283359b570e8a1

7 years agoRelease version 0.3.28 10/141610/1 accepted/tizen/unified/20170802.151108 submit/tizen/20170801.062329
Seungha Son [Tue, 1 Aug 2017 06:10:27 +0000 (15:10 +0900)]
Release version 0.3.28

Changes:
 - Reduced indentation for notification_get_text func
 - Remove unnecessary comment
 - Arrange line

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I354ddd8fe86e71ef7a513ad77126ef245fa4cc46

7 years agoReduced indentation for notification_get_text func 85/140385/6
Myungki Lee [Tue, 25 Jul 2017 02:30:11 +0000 (11:30 +0900)]
Reduced indentation for notification_get_text func

Change-Id: I819252641d7aa1ccf2d64804e421287819c11df9
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRemove unnecessary comment 33/140633/2
Seungha Son [Tue, 25 Jul 2017 23:57:22 +0000 (08:57 +0900)]
Remove unnecessary comment

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ibcc8d202c479a3d3fa6fee5fb5e5b3245b4a9e01

7 years agoArrange line 32/140632/1
Seungha Son [Tue, 25 Jul 2017 23:54:50 +0000 (08:54 +0900)]
Arrange line

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ic605dde2243edcf059ba97729944de59aa8177bb

7 years agoRelease version 0.3.27 29/140429/1 accepted/tizen/unified/20170727.190733 submit/tizen/20170725.032000 submit/tizen/20170726.031217
Myungki Lee [Tue, 25 Jul 2017 03:16:21 +0000 (12:16 +0900)]
Release version 0.3.27

- Fix incorrect use of strncat
  Change the method for error return
  Set pkg_id to caller_app_id if can't get pkg_id
  Add null check routine for private_sharing
  Removes dependency of db-util

Change-Id: I27e83ba5c1967eb9cc0c52dd1e7e9162c1c50ef5
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoFix incorrect use of strncat 55/139555/3
Myungki Lee [Wed, 19 Jul 2017 09:26:30 +0000 (18:26 +0900)]
Fix incorrect use of strncat

Change-Id: I5b31f2215f161d45f37ba12dbcbf14ceb6fc9f13
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoChange the method for error return 53/139353/1
Myungki Lee [Tue, 18 Jul 2017 11:48:57 +0000 (20:48 +0900)]
Change the method for error return

- notification_status_message_post
  need to free for some resource

Change-Id: I8341720484913909d6ef91c7cf11409b9483aceb
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoSet pkg_id to caller_app_id if can't get pkg_id 77/139177/3
Myungki Lee [Mon, 17 Jul 2017 23:51:53 +0000 (08:51 +0900)]
Set pkg_id to caller_app_id if can't get pkg_id

- in notification_crete func

Change-Id: I329c0eee88377dac2df2c5d7e25f06a8bfc33665
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoAdd null check routine for private_sharing 75/139175/3
Myungki Lee [Mon, 17 Jul 2017 23:25:00 +0000 (08:25 +0900)]
Add null check routine for private_sharing

- last_index_of()
  is_private_file()

Change-Id: I700eb61f72f401eed80cf7f689cd1963708afd13
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRemoves dependency of db-util 41/138341/2
Myungki Lee [Wed, 12 Jul 2017 01:43:03 +0000 (10:43 +0900)]
Removes dependency of db-util

- use sqlite func instead of db-util func

Change-Id: I6733b2abeb065d2c9392fa91695bca337e06fcd0
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.26 32/138032/1 accepted/tizen/unified/20170711.181002 submit/tizen/20170711.015834
Myungki Lee [Tue, 11 Jul 2017 01:40:17 +0000 (10:40 +0900)]
Release version 0.3.26

- Update notification_db_open

Change-Id: I571aa5faca9a53d40c9b147576b32f7c1fd06dcc
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoUpdate notification_db_open 30/137930/2
Myungki Lee [Mon, 10 Jul 2017 09:16:47 +0000 (18:16 +0900)]
Update notification_db_open

- use sqlite3_open_v2 instead of db_util_open
  db_util_open has create option

Change-Id: I9d1fd772fc3c592a56e59c8a1d98237104219cee
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.25 65/137665/1 submit/tizen/20170707.042257 submit/tizen/20170710.072856
Myungki Lee [Fri, 7 Jul 2017 04:14:43 +0000 (13:14 +0900)]
Release version 0.3.25

- Implementation private file sharing
  Add missing argument to get num_changes
  Refactor db code
  Move some func to notification_viewer.c

Change-Id: I621a993bc1522acb338e819d40576839e57057fb
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoImplementation private file sharing 17/134317/42
Seungha Son [Fri, 16 Jun 2017 04:03:04 +0000 (13:03 +0900)]
Implementation private file sharing

- Related patch
  [data-provider-master] https://review.tizen.org/gerrit/#/c/135723/

Change-Id: Ia60ad9c2e69315b9d1526693a2e409a886533bd6
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoAdd missing argument to get num_changes 42/137542/2
Myungki Lee [Thu, 6 Jul 2017 08:48:51 +0000 (17:48 +0900)]
Add missing argument to get num_changes

- notification_noti_delete_by_priv_id_get_changes
  To get num_changes

Change-Id: Ia0c9a39e88e507d47a92ac4d7d555c54e0be442f
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRefactor db code 52/134152/27
Myungki Lee [Thu, 15 Jun 2017 04:16:37 +0000 (13:16 +0900)]
Refactor db code

- noti_list, notification_setting, notification_system_setting

Change-Id: I5a9518d0f74eb8e2b48856d5bc25f1492e51e15a
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
7 years agoMove some func to notification_viewer.c 81/135481/3
Myungki Lee [Thu, 22 Jun 2017 12:52:04 +0000 (21:52 +0900)]
Move some func to notification_viewer.c

- notification_get_default_viewer, notification_launch_default_viewer

Change-Id: I4ecc2453bf31191d4bbeca96fc7532e6f2645709
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.24 91/135891/1 accepted/tizen/unified/20170629.013735 submit/tizen/20170627.081904
Seungha Son [Tue, 27 Jun 2017 08:05:09 +0000 (17:05 +0900)]
Release version 0.3.24

Changes:
 - Move unversioned so file to devel package
 - Deleted app_id check routine for some func
 - Check coding style about sqlite
 - Remove unnecessary variable initilzation
 - Use error code instead of error description in log
 - Fix memory leak

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I3c3e23775344282bafc945621f76d75ddde50952

7 years agoFix memory leak 19/135419/2
Seungha Son [Thu, 22 Jun 2017 08:01:16 +0000 (17:01 +0900)]
Fix memory leak

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I8f39c4411fc52ac2c084a35a3bf0383d1344295a

7 years agoUse error code instead of error description in log 49/135349/1
Seungha Son [Thu, 22 Jun 2017 04:15:55 +0000 (13:15 +0900)]
Use error code instead of error description in log

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I0426ce3a531e5c3fdd7fb44f861d0700e5eff57f

7 years agoRemove unnecessary variable initilzation 96/132896/8
Seungha Son [Thu, 8 Jun 2017 06:12:24 +0000 (15:12 +0900)]
Remove unnecessary variable initilzation

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ie40df1fc01046be91800f88a99c20d3d88b72542

7 years agoCheck coding style about sqlite 54/134654/1
Myungki Lee [Tue, 20 Jun 2017 00:52:54 +0000 (09:52 +0900)]
Check coding style about sqlite

- notification_setting, notificaiton_setting_service

Change-Id: I27d713d17bebf455feb82198d6fceedaf8b1b8bf
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoDeleted app_id check routine for some func 93/133893/3
Myungki Lee [Wed, 14 Jun 2017 02:19:43 +0000 (11:19 +0900)]
Deleted app_id check routine for some func

- It is not exist that app_id is null case.
  notification_ipc_request_delete_single
  notification_ipc_request_load_noti_by_tag
  notification_ipc_request_get_count

Change-Id: Id36d4f3d8f5da2c2489587e84424ac8763ae16b0
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoMove unversioned so file to devel package 22/133422/2
Seungha Son [Mon, 12 Jun 2017 07:02:57 +0000 (16:02 +0900)]
Move unversioned so file to devel package

 Unversioned so file is not needed at runtime.
 It is only used at build time

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I4b560f586226e78c9b655febc0abe7f24b5e2e2d

7 years agoRelease version 0.3.23 68/133668/1 accepted/tizen/unified/20170613.194234 submit/tizen/20170613.043549
Seungha Son [Tue, 13 Jun 2017 05:16:00 +0000 (14:16 +0900)]
Release version 0.3.23

Changes:
 - Arranges null check
 - Adds API description
 - Fix upgrade scripts

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I95d2f2d627e5475ec70f9617b1d977c244a7d5d6

7 years agoFix upgrade scripts 58/133658/1
Seungha Son [Tue, 13 Jun 2017 02:03:39 +0000 (11:03 +0900)]
Fix upgrade scripts

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Id84cdc9f9678bb7028560c760746b5078c8f1594

7 years agoAdds API description 58/133258/6
Seungha Son [Fri, 9 Jun 2017 10:47:03 +0000 (19:47 +0900)]
Adds API description

 API : notification_create_from_package_template()

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Iac9543cac66863be075d25254ba1804ff1d58380

7 years agoArranges null check 60/133260/1
Seungha Son [Fri, 9 Jun 2017 10:54:53 +0000 (19:54 +0900)]
Arranges null check

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I9f868abeedf222a560ca570c0906b053e73ebb44

7 years agoRelease version 0.3.22 80/133080/1 accepted/tizen/unified/20170609.203837 submit/tizen/20170609.014738
Seungha Son [Fri, 9 Jun 2017 01:39:51 +0000 (10:39 +0900)]
Release version 0.3.22

Changes:
 - Arrange naming of pkgid and appid
 - Updates the summary for notification_set_text
 - Remove duplicated semicolon
 - Support on demand launching for viewer appid
 - Removes unnecessary code
 - Deletes the unnecessary codes for notification_clone
 - Remove unnecessary the include header files

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I99614738fdaa356e9ffb39a6329826c0e952007a

7 years agoArrange naming of pkgid and appid 87/132387/12
Seungha Son [Tue, 30 May 2017 10:39:49 +0000 (19:39 +0900)]
Arrange naming of pkgid and appid

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I3160d8c89a581602e9b680c1922ce9bc5ad1e529

7 years agoUpdates the summary for notification_set_text 82/132182/4
Myungki Lee [Thu, 1 Jun 2017 10:34:32 +0000 (19:34 +0900)]
Updates the summary for notification_set_text

- about Localization
- fix sample code for notification_save_as_template

Change-Id: Ib28f8a8c3f279fd02d40fa2481bf1017ad431449
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRemove duplicated semicolon 97/132897/1
Seungha Son [Thu, 8 Jun 2017 07:56:44 +0000 (16:56 +0900)]
Remove duplicated semicolon

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I47e3b7299f15737b728606be119e86a5a9bd791c

7 years agoSupport on demand launching for viewer app 41/131941/8
Myungki Lee [Thu, 1 Jun 2017 09:08:30 +0000 (18:08 +0900)]
Support on demand launching for viewer app

- notification_get_default_viewer
- notification_launch_default_viewer

Change-Id: I66dcf3c740ff7d6f1be2f351a156ca24941c75a6
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRemoves unnecessary code 84/132584/1
Seungha Son [Wed, 7 Jun 2017 04:39:22 +0000 (13:39 +0900)]
Removes unnecessary code

 notification handle is created by using calloc,
 so some codes that set to zero are unnecessary

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I4ab523a4689b4011787970fb2e4a61443f0ba301

7 years agoDeletes the unnecessary codes for notification_clone 88/132188/1
Myungki Lee [Thu, 1 Jun 2017 10:52:46 +0000 (19:52 +0900)]
Deletes the unnecessary codes for notification_clone

Change-Id: I887074958bfeab27b0659bda3b745a9ba11f185d
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRemove unnecessary the include header files 82/131582/1
Myungki Lee [Tue, 30 May 2017 06:03:34 +0000 (15:03 +0900)]
Remove unnecessary the include header files

Change-Id: I404b0d6a0dc56b015e0d696e375fe884a387030b
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.3.21 65/131465/1 accepted/tizen/unified/20170529.163156 submit/tizen/20170529.093825 tizen_4.0.m1_release
Myungki Lee [Mon, 29 May 2017 09:36:13 +0000 (18:36 +0900)]
Release version 0.3.21

- Adds pkg_id field in notification_h
- Remove empty line

Change-Id: I3a373b9ce46f560c00907e77de57cf7658e18ff3
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoAdds pkg_id field in notification_h 34/131434/4
Myungki Lee [Mon, 29 May 2017 09:29:22 +0000 (18:29 +0900)]
Adds pkg_id field in notification_h

 When any package is uninstalled, If there are any data related to
 the package, these should be deleted in database.
 Add a field in notification_h to remove the data by package name.

Change-Id: I142f7c845f9d7396801b22087e523f4620cc03ff
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Signed-off-by: Semun Lee <semun.lee@samsung.com>
7 years agoRemove empty line 05/130305/1
Seungha Son [Mon, 22 May 2017 01:35:57 +0000 (10:35 +0900)]
Remove empty line

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Idc6fa73e1f9fdd47f8c3f7c5ad608df13be8d2fb

7 years agoRelease version 0.3.20 08/128908/3 accepted/tizen/unified/20170512.165904 submit/tizen/20170512.073248
Seungha Son [Fri, 12 May 2017 04:57:38 +0000 (13:57 +0900)]
Release version 0.3.20

Changes:
 - Fix wrong sql query

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I824e32c793427c5ec89a46a0c8aeb466a871ae15