platform/core/api/notification.git
5 years agoRelease version 0.4.17 34/196934/1 accepted/tizen/unified/20190109.060032 submit/tizen/20190108.051421
mk5004.lee [Tue, 8 Jan 2019 05:06:40 +0000 (14:06 +0900)]
Release version 0.4.17

- Add new internal api to delete multiple noti by viewer
  Fix typo in sample code

Change-Id: I3817e41d8a1427a6f6f8d08ec524e6dd3431db91
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoAdd new internal api to delete multiple noti by viewer 75/196575/4
mk5004.lee [Wed, 2 Jan 2019 11:07:14 +0000 (20:07 +0900)]
Add new internal api to delete multiple noti by viewer

Change-Id: Ic1a050ad5a5bf7e506e18ac0a0f38fe7f0fe70dd
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoFix typo in sample code 59/192659/1
Sungmin Kwak [Wed, 7 Nov 2018 10:32:21 +0000 (19:32 +0900)]
Fix typo in sample code

Change-Id: I75dbdfe023aec109567ef9549e29fd7a7a05c2fd

6 years agoRelease version 0.4.16 77/190077/1 accepted/tizen/5.0/unified/20181102.013553 accepted/tizen/unified/20180927.174437 submit/tizen/20180927.053001 submit/tizen_5.0/20181101.000002
mk5004.lee [Thu, 27 Sep 2018 05:23:19 +0000 (14:23 +0900)]
Release version 0.4.16

- Check coding style
  Update doxygen
  Add notification_type_internal header

Change-Id: I82d64e326589d9b62c4e634326e1111caaad8af8
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoCheck coding style 12/189212/4
mk5004.lee [Fri, 14 Sep 2018 08:08:00 +0000 (17:08 +0900)]
Check coding style

Change-Id: Iff58d860d4a5fa762b933c0a477711e5187594c7
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoUpdate doxygen 32/186832/2
mk5004.lee [Thu, 16 Aug 2018 01:12:10 +0000 (10:12 +0900)]
Update doxygen

- change mode

Change-Id: Ifc9a5c16b68458010a88257bb4eb2d431750afa0
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoAdd notification_type_internal header 52/186752/2
mk5004.lee [Tue, 14 Aug 2018 06:03:23 +0000 (15:03 +0900)]
Add notification_type_internal header

Change-Id: If100f8c1de2b17d4d028c8a78d96f1d2cfadccc0
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoRelease version 0.4.15 80/186480/1 accepted/tizen/unified/20180810.132547 submit/tizen/20180810.015744
mk5004.lee [Fri, 10 Aug 2018 01:50:02 +0000 (10:50 +0900)]
Release version 0.4.15

- Update LCOV comment
  Fix wrong func name

Change-Id: Ic7d7a299f82a0dff2ba6235e54b00df83b78917f
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoUpdate LCOV comment 27/186227/2
mk5004.lee [Wed, 8 Aug 2018 07:09:24 +0000 (16:09 +0900)]
Update LCOV comment

Change-Id: I105f4451e20072817cc2ee4ed51c8fdc8aa6cae9
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoFix wrong func name 12/186212/1
mk5004.lee [Wed, 8 Aug 2018 06:00:15 +0000 (15:00 +0900)]
Fix wrong func name

- notification_ipc_get_socket_write_buf_size

Change-Id: I1fb2e9e49d41925787f40d43ee10e3ed61c0821a
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoRelease version 0.4.14 87/184487/2 accepted/tizen/unified/20180719.152647 submit/tizen/20180718.085216 submit/tizen/20180719.024543
mk5004.lee [Wed, 18 Jul 2018 08:20:27 +0000 (17:20 +0900)]
Release version 0.4.14

- Fix memory corruption
  Fixed to allocated memory as many as deleted
  Fix build warning
  Add API for app_enable/disable
  Apply PMINFO_APPINFO_PROP_PRIVILEGE
  Fix Wformat build error

Change-Id: If1cc812b30737b889a3423f9b9969fefdebccb28
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoFix memory corruption 45/184445/2
mk5004.lee [Wed, 18 Jul 2018 04:46:03 +0000 (13:46 +0900)]
Fix memory corruption

- Check the index first.
  From patch : Fixed to allocated memory as many as deleted

Change-Id: I81f72d997645662b9f44887d8a8e70a8ac83fbbf
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoFixed to allocated memory as many as deleted 76/183876/4
mk5004.lee [Thu, 12 Jul 2018 05:14:55 +0000 (14:14 +0900)]
Fixed to allocated memory as many as deleted

 - case of delete all, an error occurred because size is specified as 100.

Change-Id: I817e79c1310664bd03d1a9d30e0a08ed6cbdbfa2
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoFix build warning 75/183875/1
mk5004.lee [Thu, 12 Jul 2018 05:14:22 +0000 (14:14 +0900)]
Fix build warning

Change-Id: I868c6fe5c5603c47de812e0b06e084216779631f
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoAdd API for app_enable/disable 10/182710/1
jusung son [Mon, 25 Jun 2018 11:16:43 +0000 (20:16 +0900)]
Add API for app_enable/disable

 - notification_setting_db_update_pkg_disabled

Change-Id: Ie1352f65cd4216661cafa8a81c78cbbeb6321f04
Signed-off-by: jusung son <jusung07.son@samsung.com>
(cherry picked from commit 37aaad297caa4aa3116a63a3149628ae7dbc1179)

6 years agoApply PMINFO_APPINFO_PROP_PRIVILEGE 12/180512/2
Inkyun Kil [Wed, 30 May 2018 07:48:33 +0000 (16:48 +0900)]
Apply PMINFO_APPINFO_PROP_PRIVILEGE

To optimize initializing db, apply the PMINFO_APPINFO_PROP_PRIVILEGE for
retrieving some applictions.

related patch : https://review.tizen.org/gerrit/#/c/179681/

Change-Id: I1d5be974a565eaf64592f601f89e9b10d5378599
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoFix Wformat build error 94/180494/1
Inkyun Kil [Wed, 30 May 2018 05:17:40 +0000 (14:17 +0900)]
Fix Wformat build error

Change-Id: I0243f0a7d78aad7b13f9137759ee4a0268b196b7
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 0.4.13 78/178378/1 accepted/tizen/unified/20180510.070909 submit/tizen/20180510.005831
Semun Lee [Thu, 10 May 2018 00:55:57 +0000 (09:55 +0900)]
Release version 0.4.13

Changes:
 - Remove unused dependency to dbus-glib

Change-Id: I85c9aa652d58cfc445fca0a720525c6816b5273b
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoRemove unused dependency to dbus-glib 69/178369/1
Hyotaek Shim [Thu, 10 May 2018 00:12:04 +0000 (09:12 +0900)]
Remove unused dependency to dbus-glib

Change-Id: I8a5ca156fd35f9fb98e39dfeaf5c1eeba4a276d1
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoRelease version 0.4.12 72/175972/1 accepted/tizen/unified/20180416.213857 submit/tizen/20180416.044639
Hwankyu Jhun [Mon, 16 Apr 2018 04:41:55 +0000 (13:41 +0900)]
Release version 0.4.12

Changes:
 - Add a new internal API for setting indirect request

Change-Id: I6adc0e10f63d6e0b7031894d212a25eefe18110a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd a new internal API for setting indirect request 19/175419/10
Hwankyu Jhun [Tue, 10 Apr 2018 06:40:12 +0000 (15:40 +0900)]
Add a new internal API for setting indirect request

Adds:
 - notification_set_indirect_request()

Requires:
 - https://review.tizen.org/gerrit/#/c/175262/
 - https://review.tizen.org/gerrit/#/c/175212/
 - https://review.tizen.org/gerrit/#/c/175419/
 - https://review.tizen.org/gerrit/#/c/175210/

Change-Id: I814def8fe5cb8b3d2e13faf0ee7ccfdae7b180c3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.4.11 39/175639/1 accepted/tizen/unified/20180412.140844 submit/tizen/20180411.095243
mk5004.lee [Wed, 11 Apr 2018 08:21:53 +0000 (17:21 +0900)]
Release version 0.4.11

- Handle return value from __get_shared_dir() properly
  Updates header files

Change-Id: I4ca050188e5a194febc000c52addfd272febd6fd
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoHandle return value from __get_shared_dir() properly 84/175584/1
Semun Lee [Tue, 10 Apr 2018 23:47:18 +0000 (08:47 +0900)]
Handle return value from __get_shared_dir() properly

returning NULL is not an out of memory case sometimes.

Change-Id: Idcab45dbd71a0465dd5f223077ee09ae51dd8396
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoUpdates header files 07/174907/1
mk5004.lee [Wed, 4 Apr 2018 10:44:22 +0000 (19:44 +0900)]
Updates header files

- check-header
  change mode for all files

Change-Id: I8dfb703fcc694224d8b9b9f809f685dc797d66b9
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoRelease version 0.4.10 57/172157/1 accepted/tizen/unified/20180313.162817 submit/tizen/20180312.235649
mk5004.lee [Mon, 12 Mar 2018 08:24:32 +0000 (17:24 +0900)]
Release version 0.4.10

- Fix resource leaks

Change-Id: I6cf40888f6eff52fccc41b90319452a9d8311d7b
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoFix resource leaks 38/172138/1
Semun Lee [Mon, 12 Mar 2018 06:41:04 +0000 (15:41 +0900)]
Fix resource leaks

Change-Id: I04c3346623b44b0e4a86445c63159c86a5a9bf9d
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoRelease version 0.4.9 39/171439/1 accepted/tizen/unified/20180305.152610 submit/tizen/20180305.044310
Hwankyu Jhun [Mon, 5 Mar 2018 04:32:14 +0000 (13:32 +0900)]
Release version 0.4.9

Changes:
 - Fix wrong sizeof argument
 - Fix memory leak
 - Fix wrong error handling
 - Fix null dereference
 - Fix a typo

Change-Id: I663b7015eb0e0637137d369bdf79389ce3bbe125
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix a typo 32/171432/1
Hwankyu Jhun [Mon, 5 Mar 2018 04:25:31 +0000 (13:25 +0900)]
Fix a typo

Change-Id: I32d7e2996b425d7a53e76a8d89083d181ebc945a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix null dereference 30/168330/3
Seungha Son [Fri, 26 Jan 2018 01:07:54 +0000 (10:07 +0900)]
Fix null dereference

 If app_id is null and length of 'app_id' is 0 and
 type is 'NOTIFICATION_TYPE_NONE', query_where variable
 is dereference null.

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

6 years agoFix wrong error handling 19/168119/4
Seungha Son [Wed, 24 Jan 2018 08:03:55 +0000 (17:03 +0900)]
Fix wrong error handling

 Assigning value NOTIFICATION_ERROR_IO_ERROR to ret,
 but that stored value is overwrriten before return

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

6 years agoFix memory leak 31/168131/4
Seungha Son [Wed, 24 Jan 2018 08:15:54 +0000 (17:15 +0900)]
Fix memory leak

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I3ea07e9acaa4e3669a848c1256e94b931f67ea1d
Signed-off-by: jusung son <jusung07.son@samsung.com>
6 years agoFix wrong sizeof argument 17/168117/1
Seungha Son [Wed, 24 Jan 2018 08:00:23 +0000 (17:00 +0900)]
Fix wrong sizeof argument

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

6 years agoRelease version 0.4.8 16/167816/1 accepted/tizen/unified/20180123.061048 submit/tizen/20180122.080231
Seungha Son [Mon, 22 Jan 2018 07:57:37 +0000 (16:57 +0900)]
Release version 0.4.8

Changes:
 - Change notification text size

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

6 years agoChange notification text size 04/167804/1
Seungha Son [Mon, 22 Jan 2018 06:39:55 +0000 (15:39 +0900)]
Change notification text size

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

6 years agoRelease version 0.4.7 35/167635/1 accepted/tizen/unified/20180119.133825 submit/tizen/20180119.021248
Seungha Son [Fri, 19 Jan 2018 02:08:16 +0000 (11:08 +0900)]
Release version 0.4.7

Changes:
 - Change ipc init timing

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

6 years agoChange ipc init timing 71/167571/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 agoRelease version 0.4.6 31/167231/1 accepted/tizen/unified/20180117.060735 submit/tizen/20180116.091031
mk5004.lee [Tue, 16 Jan 2018 08:48:24 +0000 (17:48 +0900)]
Release version 0.4.6

- Added buttons and event handlers
  Fix memory leak
  Add error handling condition

Change-Id: I45415a38f334db608b11890ecdcf32ab99143b84
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoAdded buttons and event handlers 77/165677/7
mk5004.lee [Wed, 3 Jan 2018 08:18:54 +0000 (17:18 +0900)]
Added buttons and event handlers

- Up to 10 can be used.

Change-Id: Id5367e867afffeb156c934ea7d9af6396a9f8cc3
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoFix memory leak 39/167039/1
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 agoAdd error handling condition 34/166834/1
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.4.5 87/166787/1 accepted/tizen/unified/20180112.073222 submit/tizen/20180112.023807
Seungha Son [Fri, 12 Jan 2018 02:31:13 +0000 (11:31 +0900)]
Release version 0.4.5

Changes:
 - Add func to check limitation of notification
 - Add null checker

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

6 years agoAdd null checker 82/166782/2
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 agoAdd func to check limitation of notification 83/165983/8
mk5004.lee [Fri, 5 Jan 2018 05:09:14 +0000 (14:09 +0900)]
Add func to check limitation of notification

- Limit the number of each app.
- case of TYPE_NOTI and no tag

Change-Id: I35d95f0dbcb5b7bcacb00af2dd046767858b0da5
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoRelease version 0.4.4 60/166260/1 accepted/tizen/unified/20180109.172832 submit/tizen/20180109.060602
Seungha Son [Tue, 9 Jan 2018 05:00:36 +0000 (14:00 +0900)]
Release version 0.4.4

Changes:
 - Add function to init data
 - Remove unused inline function
 - Improved active noti test on test-app
 - Change communication from dbus to socket to get list

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

6 years agoChange communication from dbus to socket to get list 31/165331/14
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/165334/

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

6 years agoImproved active noti test on test-app 14/165714/1
mk5004.lee [Wed, 3 Jan 2018 10:40:19 +0000 (19:40 +0900)]
Improved active noti test on test-app

Change-Id: I1c2beaae1293a177b73e250ff24bde76289b3f93
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoRemove unused inline function 50/165650/1
Seungha Son [Wed, 3 Jan 2018 05:34:53 +0000 (14:34 +0900)]
Remove unused inline function

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

6 years agoAdd function to init data 48/165448/2
Seungha Son [Fri, 29 Dec 2017 03:02:49 +0000 (12:02 +0900)]
Add function to init data

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

6 years agoRelease version 0.4.3 49/165449/1 accepted/tizen/unified/20180102.070159 submit/tizen/20171229.043030
Seungha Son [Fri, 29 Dec 2017 04:17:21 +0000 (13:17 +0900)]
Release version 0.4.3

Changes:
 - Add new api to set/get app label
 - Remove unnecessary input parameter
 - Rename log macro
 - Fix db recovery callback error

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

6 years agoFix db recovery callback error 46/165446/1
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 agoRename log macro 54/165254/5
Seungha Son [Wed, 27 Dec 2017 09:14:13 +0000 (18:14 +0900)]
Rename log macro

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

6 years agoRemove unnecessary input parameter 50/165250/1
Seungha Son [Wed, 27 Dec 2017 08:42:08 +0000 (17:42 +0900)]
Remove unnecessary input parameter

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

6 years agoAdd new api to set/get app label 09/164109/8
Myungki Lee [Fri, 15 Dec 2017 09:05:17 +0000 (18:05 +0900)]
Add new api to set/get app label

- Use the existing app_name attribute of noti struct
- Add app_label to the DB

Change-Id: I6996c385a7394fc35deab7d6c972500dc81fb19d
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
6 years agoRelease version 0.4.2 57/164057/1 accepted/tizen/unified/20171215.132233 submit/tizen/20171215.060201
Seungha Son [Fri, 15 Dec 2017 05:19:18 +0000 (14:19 +0900)]
Release version 0.4.2

Changes:
 - Add decriptions for extension event api
 - Remove unnecessary macro
 - Add function to get the numbers of all notification

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

6 years agoAdd function to get the numbers of all notification 84/163584/8
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 agoRemove unnecessary macro 78/163578/1
Seungha Son [Tue, 12 Dec 2017 07:06:11 +0000 (16:06 +0900)]
Remove unnecessary macro

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

6 years agoAdd decriptions for extension event api 51/163051/2
Seungha Son [Thu, 7 Dec 2017 05:04:29 +0000 (14:04 +0900)]
Add decriptions for extension event api

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

6 years agoRelease version 0.4.1 96/162696/1 accepted/tizen/unified/20171205.155540 submit/tizen/20171205.040511
Seungha Son [Tue, 5 Dec 2017 02:52:32 +0000 (11:52 +0900)]
Release version 0.4.1

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: I5b921abc3ce7e6d8ca46f252def8d65ce289004d

6 years agoFix logic to recover corrupted db 53/161953/5
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 92/161592/2
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>
6 years agoRelease version 0.4.0 74/160974/1 accepted/tizen/unified/20171128.050016 submit/tizen/20171121.032257 submit/tizen/20171122.052545 submit/tizen/20171127.043337
Seungha Son [Tue, 21 Nov 2017 03:10:17 +0000 (12:10 +0900)]
Release version 0.4.0

Changes:
 - Fix build error

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

6 years agoFix build error 72/160972/1
Seungha Son [Tue, 21 Nov 2017 02:53:18 +0000 (11:53 +0900)]
Fix build error

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

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

6 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

6 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 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 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 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 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