platform/core/api/notification.git
5 years agoAdd Serialize/Deserialize for AbstractItem 53/201153/27
SukHyung, Kang [Mon, 11 Mar 2019 02:32:30 +0000 (11:32 +0900)]
Add Serialize/Deserialize for AbstractItem

Change-Id: I83fcc2aabfeca0e88e2d29afe9a91dbb3159c352
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
5 years agoHide private event info using interface 21/201821/3
hyunho [Wed, 20 Mar 2019 02:21:34 +0000 (11:21 +0900)]
Hide private event info using interface

Change-Id: I314475eb35498358cceb4141672cfcc08aaf3b2f
Signed-off-by: hyunho <hhstark.kang@samsung.com>
5 years agoMerge "Update Group name in spec file" into tizen
MyungKi Lee [Wed, 20 Mar 2019 01:21:16 +0000 (01:21 +0000)]
Merge "Update Group name in spec file" into tizen

5 years agoExport some internal APIs 42/201742/4
hyunho [Tue, 19 Mar 2019 06:49:40 +0000 (15:49 +0900)]
Export some internal APIs

- For data provider master

Change-Id: I63cad09c7de0c3c2ee3f89b667f800dd1527887c
Signed-off-by: hyunho <hhstark.kang@samsung.com>
5 years agoUpdate Group name in spec file 13/201813/1
mk5004.lee [Wed, 20 Mar 2019 00:21:20 +0000 (09:21 +0900)]
Update Group name in spec file

- Applications/Core Applications

Change-Id: Ib05ec19d0bd2703d1961cf5f1248dc73728fa242
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoUsing unique_ptr for sender and listener 38/201738/5
hyunho [Tue, 19 Mar 2019 06:42:36 +0000 (15:42 +0900)]
Using unique_ptr for sender and listener

Change-Id: Iaf238d82dbe64501aef23fb06cf7124dcd3d0bde
Signed-off-by: hyunho <hhstark.kang@samsung.com>
5 years agoCheck coding style 05/201705/4
mk5004.lee [Tue, 19 Mar 2019 04:24:12 +0000 (13:24 +0900)]
Check coding style

Change-Id: I69aa2da99230868a3fc3d39c865f963a571cee09
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoChange method name 93/201693/1
Junghoon Park [Tue, 19 Mar 2019 02:28:25 +0000 (11:28 +0900)]
Change method name

Change-Id: Ia9b4a5d6a13865538544bcfb3a3af2f6f9858682
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoImprove unit TCs 32/201632/3
Junghoon Park [Mon, 18 Mar 2019 09:06:57 +0000 (18:06 +0900)]
Improve unit TCs

Change-Id: Ia5a241c9236959b2914b0b92aafe2a6d39be5923
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoAdd manager implementation 53/201053/24
hyunho [Thu, 7 Mar 2019 23:31:28 +0000 (08:31 +0900)]
Add manager implementation

Change-Id: I9e9f26145752d8384f43634c25efac1324ddaa87
Signed-off-by: hyunho <hhstark.kang@samsung.com>
5 years agoMake a class ItemInfo to avoid exporting some methods 89/201589/2
Junghoon Park [Mon, 18 Mar 2019 04:34:05 +0000 (13:34 +0900)]
Make a class ItemInfo to avoid exporting some methods

Change-Id: Iaed432aaec5f65069b503d4057d1b5aaaaafe243
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoMake AbstractItem::GetType as abstract method 25/201525/6
Junghoon Park [Fri, 15 Mar 2019 08:06:04 +0000 (17:06 +0900)]
Make AbstractItem::GetType as abstract method

Change-Id: Id7ed489921a33f594ee75d89208eacf9a6872549
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoAdd action parameter to Base class for EntryItem and TextItem 90/201590/1
SukHyung, Kang [Mon, 18 Mar 2019 04:54:03 +0000 (13:54 +0900)]
Add action parameter to Base class for EntryItem and TextItem

Change-Id: I0be1f385c2e71223c11cc710026c98dee41f656c
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
5 years agoUpdate behavior of VisibilityAction::Execute 90/201490/4
mk5004.lee [Fri, 15 Mar 2019 02:19:16 +0000 (11:19 +0900)]
Update behavior of VisibilityAction::Execute

Change-Id: I9be1d98d6c4ff65ce28748b1d7739155cd0f7372
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoAdd factory for actions 27/201327/8
Junghoon Park [Tue, 12 Mar 2019 10:53:58 +0000 (19:53 +0900)]
Add factory for actions

Change-Id: I761cfcd8ed680d5683533768ab1b7a59cb9744fb
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoUpdate actions 93/200793/11
mk5004.lee [Mon, 4 Mar 2019 09:37:42 +0000 (18:37 +0900)]
Update actions

- AbstractAction, AppControlAction, VisibilityAction

Change-Id: Iaf5b09526956a0ed8ec512ec428e8fdb7530a0da
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoAdd parent item for TextItem and EntryItem 04/201304/1
SukHyung, Kang [Tue, 12 Mar 2019 08:17:32 +0000 (17:17 +0900)]
Add parent item for TextItem and EntryItem

Change-Id: I9c458e3f0efab8a25d2ed0f9feeda3282ec5429f
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
5 years agoCreate FactoryManager to register the other factory 50/201150/3
Junghoon Park [Mon, 11 Mar 2019 02:10:28 +0000 (11:10 +0900)]
Create FactoryManager to register the other factory

Change-Id: Ibd3b9131be2cba08796e04d4d3be459159442134
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoChange shared_ptr to unique_ptr for ItemFactory 89/201089/2
Junghoon Park [Fri, 8 Mar 2019 06:58:11 +0000 (15:58 +0900)]
Change shared_ptr to unique_ptr for ItemFactory

- The created item does not need to share each other

Change-Id: Ie6d9a205fc7f345baa0897c164895e79e64203a0
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoUpdate some unittests 18/201018/4
mk5004.lee [Thu, 7 Mar 2019 06:53:17 +0000 (15:53 +0900)]
Update some unittests

Change-Id: I696e175ba2b1622fde2c66f65b251aa9159ee6e5
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoMerge "Update some items" into tizen
MyungKi Lee [Thu, 28 Feb 2019 02:33:29 +0000 (02:33 +0000)]
Merge "Update some items" into tizen

5 years agoUpdate some items 04/200304/13
mk5004.lee [Thu, 21 Feb 2019 09:13:19 +0000 (18:13 +0900)]
Update some items

- image, icon, icontext, checkbox, time, chatmessage

Change-Id: I74f8b7192037da6ae8f608ea08d542e4fa803716
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoAdd parameter for hyperlink for TextItem 87/200587/5 submit/tizen/20190228.000028
SukHyung, Kang [Wed, 27 Feb 2019 06:02:39 +0000 (15:02 +0900)]
Add parameter for hyperlink for TextItem

Change-Id: I79395e017e9c3621aaaa20405892bcab9a2f5750
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
5 years agoAdd entry, text, effect item class 37/200337/10
SukHyung, Kang [Fri, 22 Feb 2019 00:35:28 +0000 (09:35 +0900)]
Add entry, text, effect item class

Change-Id: If23d8c14ddf5916ebcb5ff5f21c0679ea7c54f74
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
5 years agoAdd progress item implementation 11/200311/1
hyunho [Thu, 21 Feb 2019 10:13:24 +0000 (19:13 +0900)]
Add progress item implementation

Change-Id: Ibc606f47ab651d9bc5cfaf14ea286865651b1a2d
Signed-off-by: hyunho <hhstark.kang@samsung.com>
5 years agoAdd input selector item implementation 64/200264/4
hyunho [Thu, 21 Feb 2019 02:56:58 +0000 (11:56 +0900)]
Add input selector item implementation

Change-Id: I71e7c316574192b3415a021ffe3259853f2f86d7
Signed-off-by: hyunho <hhstark.kang@samsung.com>
5 years agoAdjust pimpl idiom to button item 57/200257/3
hyunho [Thu, 21 Feb 2019 01:48:34 +0000 (10:48 +0900)]
Adjust pimpl idiom to button item

Change-Id: I5e80de438418fec3eb0a0bcddb9e4f6a6cf20562
Signed-off-by: hyunho <hhstark.kang@samsung.com>
5 years agoAdjust Null Object pattern for FindById 97/200297/5
hyunho [Thu, 21 Feb 2019 08:09:39 +0000 (17:09 +0900)]
Adjust Null Object pattern for FindById

Change-Id: I00e3a720dc632e9807c2321d7999bf1b79875425
Signed-off-by: hyunho <hhstark.kang@samsung.com>
5 years agoAdd implementation of some classes 07/200107/3
hyunho [Tue, 19 Feb 2019 07:19:45 +0000 (16:19 +0900)]
Add implementation of some classes

- ItemFactory
- ItemInflator
- AbstractItem
- GroupItem
- ButtonItem

Change-Id: I3e27193e8d9dd2e280fc1f894a1a4f12be03f3d3
Signed-off-by: hyunho <hhstark.kang@samsung.com>
5 years agoRenamed bundle.h to ex_bundle.h 84/199884/2
mk5004.lee [Fri, 15 Feb 2019 07:23:20 +0000 (16:23 +0900)]
Renamed bundle.h to ex_bundle.h

Change-Id: I03fa437dddbb718891bf5b1b733a2bbe72d744d5
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoUpdate notification-ex CMakefile 63/199863/1
mk5004.lee [Fri, 15 Feb 2019 05:40:17 +0000 (14:40 +0900)]
Update notification-ex CMakefile

Change-Id: I080fa77591caa1c7556a5db04ffdce16d5f1e24f
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoUpdate class Bundle 48/199748/1
mk5004.lee [Thu, 14 Feb 2019 10:50:37 +0000 (19:50 +0900)]
Update class Bundle

Change-Id: I69dadb8de286ee8772aae5e7ad91ec9fa3756279
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoFix wrong return type 28/199628/1
mk5004.lee [Wed, 13 Feb 2019 09:37:03 +0000 (18:37 +0900)]
Fix wrong return type

 - delete unnecessary .cc file

Change-Id: I244aa757710dc93d7e5923ba0859c9bf07fbf9e9
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoFix notification-ex unittest build error 51/199551/1
SukHyung, Kang [Wed, 13 Feb 2019 03:10:02 +0000 (12:10 +0900)]
Fix notification-ex unittest build error

Change-Id: I04d12087e44064d3b18c323bc82021a10cc17a2c
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
5 years agoInitialize Noti-ex 43/198643/23
mk5004.lee [Mon, 28 Jan 2019 10:25:41 +0000 (19:25 +0900)]
Initialize Noti-ex

Change-Id: I96813e041aee48027806f97fef8a28bdc5d49c27
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoRelease version 0.4.19 00/198600/1 accepted/tizen/unified/20190129.064254 submit/tizen/20190128.041737
mk5004.lee [Mon, 28 Jan 2019 03:44:35 +0000 (12:44 +0900)]
Release version 0.4.19

- Add a static function to get the num of noti
  Fix memory leaks

Change-Id: I10fe7146055f3bd2c88a1ccdefd233918be688d4
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoAdd a static function to get the num of noti 17/198217/6
mk5004.lee [Tue, 22 Jan 2019 09:54:31 +0000 (18:54 +0900)]
Add a static function to get the num of noti

Change-Id: I14548a7b9ac6278e88f2c8e6b26b9735322ec14a
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoFix memory leaks 43/197743/11
mk5004.lee [Wed, 16 Jan 2019 05:11:01 +0000 (14:11 +0900)]
Fix memory leaks

- update noti_delete_all option

Change-Id: I44b24543b3affdbfb2e7ca528bb405bec21a967c
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoRelease version 0.4.18 06/197406/1 accepted/tizen/unified/20190116.160634 submit/tizen/20190111.050747 submit/tizen/20190114.005726
mk5004.lee [Fri, 11 Jan 2019 05:00:52 +0000 (14:00 +0900)]
Release version 0.4.18

- Change internal api name
  Check coding style

Change-Id: I08c02652b29cc43e3497ec8cc80386c3c52c0800
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoChange internal api name 16/197216/8
mk5004.lee [Thu, 10 Jan 2019 07:53:29 +0000 (16:53 +0900)]
Change internal api name

- notification_delete_all_by_viewer -> notification_delete_by_display_applist

Change-Id: Ic9ce30798167b6eb97f7118f77f83699814b861e
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoCheck coding style 55/197055/3
mk5004.lee [Wed, 9 Jan 2019 06:32:38 +0000 (15:32 +0900)]
Check coding style

Change-Id: I0a11b220919abae84f270b7b616e5c4df3661806
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
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

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