platform/core/appfw/badge.git
4 years agoFix wrong uid for unittest 35/247335/1
hyunho [Tue, 10 Nov 2020 03:25:05 +0000 (12:25 +0900)]
Fix wrong uid for unittest

Change-Id: I31e62066d4eecf38c1057791e65bf9fc1d7044a1
Signed-off-by: hyunho <hhstark.kang@samsung.com>
4 years agoRelease version 0.3.18 20/247320/1 submit/tizen/20201110.022219 submit/tizen_6.0/20201110.022443
Jusung Son [Tue, 10 Nov 2020 02:09:55 +0000 (11:09 +0900)]
Release version 0.3.18

Changes:
 - Add unittest
 - Add unittest for badge
 - change documentation for badge
 - Implement additional unit tests

Change-Id: I796d845c3e3bc1fc1a3ae0b4b4124ac83cefb522
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
4 years agoImplement additional unit tests 77/245877/10
hyunho [Mon, 19 Oct 2020 03:20:30 +0000 (12:20 +0900)]
Implement additional unit tests

Change-Id: I5f999ea6615656fefda8eaad7563fe7d08e6cdf5
Signed-off-by: hyunho <hhstark.kang@samsung.com>
4 years agochange documentation for badge 40/245240/1
SukHyung, Kang [Tue, 6 Oct 2020 01:29:11 +0000 (10:29 +0900)]
change documentation for badge

Change-Id: I393cceefa358061798a7b6ebeff28d17536d4117
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
4 years agoAdd unittest for badge 49/241049/5
SukHyung, Kang [Fri, 14 Aug 2020 06:14:18 +0000 (15:14 +0900)]
Add unittest for badge

Change-Id: I398efb3a576ea7416448febbdead494464e45696
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
4 years agoAdd unittest 83/238383/6
mk5004.lee [Mon, 13 Jul 2020 07:40:39 +0000 (16:40 +0900)]
Add unittest

Change-Id: Id3bd7887cbd6697cb1f9394a0c673144d697b9d9
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
4 years agoRelease version 0.3.17 58/223258/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.122710 accepted/tizen/6.0/unified/hotfix/20201103.052023 accepted/tizen/unified/20200129.022716 submit/tizen/20200128.053426 submit/tizen_6.0/20201029.205102 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 tizen_6.0.m2_release
mk5004.lee [Tue, 28 Jan 2020 04:55:30 +0000 (13:55 +0900)]
Release version 0.3.17

- Change return type for get_max_len()

Change-Id: Iffed26247c08ce2156433de2470b27a01c22e259
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
4 years agoChange return type for get_max_len() 36/223036/1
mk5004.lee [Wed, 22 Jan 2020 09:04:35 +0000 (18:04 +0900)]
Change return type for get_max_len()

 - long -> unsigned long

Change-Id: I110d7ad9119b23e8d7f6529d1718880b091c3d47
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
4 years agoRelease version 0.3.16 74/221774/1 accepted/tizen/unified/20200108.131521 submit/tizen/20200107.100143
mk5004.lee [Tue, 7 Jan 2020 09:50:29 +0000 (18:50 +0900)]
Release version 0.3.16

- Fix build warning based on GCC-9
  Update doc file for new link
  Update doxygen

Change-Id: I1769410915d1712ae8e2c5ac6525706c5a4ad734
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
4 years agoFix build warning based on GCC-9 93/221693/1
mk5004.lee [Tue, 7 Jan 2020 04:57:10 +0000 (13:57 +0900)]
Fix build warning based on GCC-9

Change-Id: I8a85f7334b5f4ec99c027cc37cab5941c9a6b611
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
4 years agoUpdate doc file for new link 85/219585/1
Inkyun Kil [Fri, 6 Dec 2019 07:59:39 +0000 (16:59 +0900)]
Update doc file for new link

Change-Id: Icae503394fc5aec5dbebc1c4db631015e3eaf13b
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
5 years agoUpdate doxygen 04/217604/1
mk5004.lee [Wed, 13 Nov 2019 03:52:04 +0000 (12:52 +0900)]
Update doxygen

Change-Id: I9c40c39822683ece5df6531f51fe6a43b100050c
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoRelease version 0.3.15 64/215164/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.025307 accepted/tizen/5.5/unified/mobile/hotfix/20201027.065955 accepted/tizen/unified/20191006.223631 submit/tizen/20191002.063713 submit/tizen/20191003.234020 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185102 tizen_5.5.m2_release
mk5004.lee [Wed, 2 Oct 2019 06:28:19 +0000 (15:28 +0900)]
Release version 0.3.15

- Update doxygen

Change-Id: I9fe72c6acab971cf0e32bfb80bb40fd3077ff061
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoUpdate doxygen 45/214745/1
mk5004.lee [Thu, 26 Sep 2019 05:01:58 +0000 (14:01 +0900)]
Update doxygen

Change-Id: I5dd14cdd4fff4373c61fbcc5342ed67f0027e911
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoRelease version 0.3.14 21/210021/1 accepted/tizen/unified/20190716.111324 submit/tizen/20190715.080723 submit/tizen/20190715.081951
mk5004.lee [Mon, 15 Jul 2019 05:38:45 +0000 (14:38 +0900)]
Release version 0.3.14

- Make a gcov package for measuring coverage easier

Change-Id: I9e7517ca970e76dd391ce3f9ae964ab863f18b26
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoMake a gcov package for measuring coverage easier 04/209704/4
mk5004.lee [Wed, 10 Jul 2019 05:51:44 +0000 (14:51 +0900)]
Make a gcov package for measuring coverage easier

Change-Id: Iea7e015b8b0278fc1315c1a70e14f53b337c36bf
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoRelease version 0.3.13 95/198695/1 accepted/tizen/unified/20190130.053644 submit/tizen/20190129.023103 submit/tizen/20190228.000028
mk5004.lee [Tue, 29 Jan 2019 01:46:59 +0000 (10:46 +0900)]
Release version 0.3.13

- Fix resource leaks

Change-Id: I21e89a1d31246cfedec16ed3e3bac972e8c4f26b
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoFix resource leaks 16/198616/3
mk5004.lee [Mon, 28 Jan 2019 06:11:50 +0000 (15:11 +0900)]
Fix resource leaks

Change-Id: Ibb14f9c271d4a3b030763f745b4f23ebff3647a4
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoRelease version 0.3.12 02/197402/1 accepted/tizen/unified/20190116.160638 submit/tizen/20190111.050747 submit/tizen/20190114.005726
mk5004.lee [Fri, 11 Jan 2019 04:57:43 +0000 (13:57 +0900)]
Release version 0.3.12

- Remove unused header files
  Add badge_new_for API
  Check coding style

Change-Id: I5b37395f328baece15d4732ccf0599c5c31edc7c
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoRemove unused header files 85/197385/1
mk5004.lee [Fri, 11 Jan 2019 02:19:10 +0000 (11:19 +0900)]
Remove unused header files

Change-Id: I64130642f235820991b420916b50f9ed6355bb96
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoAdd badge_new_for API 76/195576/2
Mi-Ju Lee [Fri, 14 Dec 2018 10:50:21 +0000 (19:50 +0900)]
Add badge_new_for API

Change-Id: I7f467d045e5ce52962e9d038c80e3ed22a0806ba

5 years agoCheck coding style 41/197041/3
mk5004.lee [Wed, 9 Jan 2019 04:50:25 +0000 (13:50 +0900)]
Check coding style

Change-Id: I8c4045ec44328ade245978fafbe7567dc0076a68
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoRelease version 0.3.11 37/194737/1 accepted/tizen/unified/20181207.175517 submit/tizen/20181207.051631
mk5004.lee [Fri, 7 Dec 2018 05:46:45 +0000 (14:46 +0900)]
Release version 0.3.11

- Fix dlog format

Change-Id: If10c08f42bf6885bd448dea09a9de8c865d472ed
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
5 years agoFix dlog format 25/194725/1
mk5004.lee [Fri, 7 Dec 2018 05:27:25 +0000 (14:27 +0900)]
Fix dlog format

Change-Id: I70f42b9a30aab0a82b27b5b6408df3d890eccc2a
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoRelease version 0.3.10 76/190076/1 accepted/tizen_5.0_unified accepted/tizen/5.0/unified/20181102.014614 accepted/tizen/unified/20180927.174441 submit/tizen/20180927.053001 submit/tizen_5.0/20181101.000002
mk5004.lee [Thu, 27 Sep 2018 05:22:27 +0000 (14:22 +0900)]
Release version 0.3.10

- Check coding style
  Change file mode
  Check result for field data

Change-Id: Iec51248142dd8f8f9de71143d7fe47865b2017e5
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoCheck coding style 17/189217/3
mk5004.lee [Fri, 14 Sep 2018 08:55:10 +0000 (17:55 +0900)]
Check coding style

Change-Id: Ic9d4c6aacd79d12beedad9c582b4dc50f8012d10
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoChange file mode 87/188387/2
mk5004.lee [Tue, 4 Sep 2018 10:23:00 +0000 (19:23 +0900)]
Change file mode

Change-Id: Id31fb4a4675078885480cf4f4183107d9b8a5902
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoCheck result for field data 83/188383/1
mk5004.lee [Tue, 4 Sep 2018 10:05:59 +0000 (19:05 +0900)]
Check result for field data

- If the result is Fail, do not execute the condition statement

Change-Id: I26a0fb199585ac44c87822bc8187a780fb7dae4f
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoRelease version 0.3.9 82/186482/1 accepted/tizen/unified/20180810.132550 submit/tizen/20180810.015744
mk5004.lee [Fri, 10 Aug 2018 01:51:18 +0000 (10:51 +0900)]
Release version 0.3.9

- Update LCOV comment

Change-Id: I243eff27f25c1b59e7b01799f03da012449f3662
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoUpdate LCOV comment 39/186239/2
mk5004.lee [Wed, 8 Aug 2018 08:12:06 +0000 (17:12 +0900)]
Update LCOV comment

Change-Id: I594c701342e52ed783073de42863a5787604bd4c
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoRelease version 0.3.8 73/184573/1 accepted/tizen/unified/20180719.152640 submit/tizen/20180719.024543
mk5004.lee [Thu, 19 Jul 2018 02:40:10 +0000 (11:40 +0900)]
Release version 0.3.8

- Fix build warning
  Apply app_enable/disable feature
  Apply PMINFO_APPINFO_PROP_PRIVILEGE
  Add privilege filter for badge setting

Change-Id: Id6d82614804320ee1c8d2d7dbec77bf12c0a0a15
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoFix build warning 32/183032/1
jusung son [Mon, 2 Jul 2018 01:15:02 +0000 (10:15 +0900)]
Fix build warning

Change-Id: I15d425a05864aeb8332487df7fc22fc6b9329094
Signed-off-by: jusung son <jusung07.son@samsung.com>
6 years agoApply app_enable/disable feature 09/182709/1
jusung son [Mon, 25 Jun 2018 10:57:55 +0000 (19:57 +0900)]
Apply app_enable/disable feature

 - App information is stored in the allow_to_display column of the badge_setting table
   The first bit indicates allow information, and the second bit indicates app disable information

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

6 years agoApply PMINFO_APPINFO_PROP_PRIVILEGE 65/180565/4
Inkyun Kil [Wed, 30 May 2018 23:57:48 +0000 (08:57 +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: Id7b36968efec3c38e91c68e59c347e8c91e5a6cb
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoAdd privilege filter for badge setting 92/180492/3
mk5004.lee [Wed, 30 May 2018 05:09:47 +0000 (14:09 +0900)]
Add privilege filter for badge setting

Change-Id: I490c36fb57640b86b392c9d60b245ae78dc44577
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoRelease version 0.3.7 79/178379/1 accepted/tizen/unified/20180510.070906 submit/tizen/20180510.005831
Semun Lee [Thu, 10 May 2018 00:57:13 +0000 (09:57 +0900)]
Release version 0.3.7

Changes:
 - Remove unused dependency to dbus-glib

Change-Id: I7a9209731dcd157c53058f35e507a21706aaee98
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoRemove unused dependency to dbus-glib 63/178363/1
Hyotaek Shim [Wed, 9 May 2018 23:58:37 +0000 (08:58 +0900)]
Remove unused dependency to dbus-glib

Change-Id: Ia76bc78cc6ab2077b15e186ebbfc8868cda21fe7
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoRelease version 0.3.6 40/175640/1 accepted/tizen/unified/20180412.140838 submit/tizen/20180411.095243
mk5004.lee [Wed, 11 Apr 2018 08:23:24 +0000 (17:23 +0900)]
Release version 0.3.6

- Updates header files

Change-Id: Idc904acf8b7a8fce55268a9916f088d1126f3808
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoUpdate header files 04/175004/1
mk5004.lee [Fri, 6 Apr 2018 01:50:57 +0000 (10:50 +0900)]
Update header files

Change-Id: Ie07e7a08b9dc4c1d84abe7b0ff12eb108061f3dc
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoRelease version 0.3.5 71/167471/1 accepted/tizen/unified/20180118.071146 submit/tizen/20180118.014038
mk5004.lee [Thu, 18 Jan 2018 01:37:38 +0000 (10:37 +0900)]
Release version 0.3.5

- Add a api to organize db's data and option table

Change-Id: Ieb005cf68e7e9ed832751e81a32a4643e0ddba91
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoAdd a api to organize db's data and option table 45/167345/2
mk5004.lee [Wed, 17 Jan 2018 06:51:41 +0000 (15:51 +0900)]
Add a api to organize db's data and option table

- If pkgname does not exist in the setting table, delete it.

Change-Id: Ic9357a9a9950e9daa3556585898c7317f6f4e179
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
6 years agoRelease version 0.3.4 50/167150/1 accepted/tizen/unified/20180116.074422 submit/tizen/20180116.012148
Seungha Son [Tue, 16 Jan 2018 00:52:10 +0000 (09:52 +0900)]
Release version 0.3.4

Changes:
 - Modify error code for badge API

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

6 years agoModify error code for badge API 97/166597/6
Seungha Son [Thu, 11 Jan 2018 04:39:18 +0000 (13:39 +0900)]
Modify error code for badge API

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

6 years agoRelease version 0.3.3 56/165456/1 accepted/tizen/unified/20180102.070204 submit/tizen/20171229.043030
Seungha Son [Fri, 29 Dec 2017 04:34:33 +0000 (13:34 +0900)]
Release version 0.3.3

Changes:
 - Fix db recovery

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

6 years agoFix db recovery 52/165452/2
Seungha Son [Fri, 29 Dec 2017 04:23:55 +0000 (13:23 +0900)]
Fix db recovery

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

6 years agoRelease version 0.3.2 03/164003/1 accepted/tizen/unified/20171215.060655 submit/tizen/20171215.030510
Seungha Son [Thu, 14 Dec 2017 12:54:52 +0000 (21:54 +0900)]
Release version 0.3.2

Changes:
 - Refactor the logic related with db

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

6 years agoRefactor the logic related with db 05/163905/2
Seungha Son [Thu, 14 Dec 2017 04:03:43 +0000 (13:03 +0900)]
Refactor the logic related with db

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

6 years agoRelease version 0.3.1 94/162694/1 accepted/tizen/unified/20171205.155538 submit/tizen/20171205.040511
Seungha Son [Tue, 5 Dec 2017 02:50:24 +0000 (11:50 +0900)]
Release version 0.3.1

Changes:
 - Fix logic to recover corrupted db

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

6 years agoFix logic to recover corrupted db 51/161851/3
Seungha Son [Tue, 28 Nov 2017 01:57:45 +0000 (10:57 +0900)]
Fix logic to recover corrupted db

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

6 years agoRelease version 0.3.0 75/160975/1 accepted/tizen/unified/20171128.050019 submit/tizen/20171121.032257 submit/tizen/20171122.052545 submit/tizen/20171127.043337
Seungha Son [Tue, 21 Nov 2017 03:11:15 +0000 (12:11 +0900)]
Release version 0.3.0

Changes:
 - Fix build error

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

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

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

6 years agoRelease version 0.2.7 91/160891/1 submit/tizen/20171120.105459 submit/tizen_4.0/20171120.105656
Myungki Lee [Mon, 20 Nov 2017 10:29:54 +0000 (19:29 +0900)]
Release version 0.2.7

- Add integrity_check when db table create
  Arrange CmakeLists.txt

Change-Id: I8d8481a8de6a8fc2f5ca5061dd4f8ef25ec417b8
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
6 years agoAdd integrity_check when db table create 65/160865/1
Myungki Lee [Mon, 20 Nov 2017 09:28:24 +0000 (18:28 +0900)]
Add integrity_check when db table create

Change-Id: I3102b4233f05bbbffd2fd087089f426bab8276dc
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
6 years agoArrange CmakeLists.txt 83/160183/3
Seungha Son [Wed, 15 Nov 2017 00:17:33 +0000 (09:17 +0900)]
Arrange CmakeLists.txt

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

7 years agoRelease version 0.2.6 40/158640/1 accepted/tizen/4.0/unified/20171103.030235 accepted/tizen/unified/20171103.030226 submit/tizen/20171102.093920 submit/tizen_4.0/20171102.094014
Myungki Lee [Thu, 2 Nov 2017 08:11:10 +0000 (17:11 +0900)]
Release version 0.2.6

- Add DB validation check when db init

Change-Id: I0e3440092ece93fad3fb77b7a8398973232a4206
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoAdd DB validation check when db init 00/158300/1
Myungki Lee [Tue, 31 Oct 2017 02:55:41 +0000 (11:55 +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: I61168c628dc55384d25949d196b320111ece1176
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.2.5 48/153248/1 accepted/tizen/4.0/unified/20170929.080019 accepted/tizen/unified/20170929.081506 submit/tizen/20170928.055049 submit/tizen_4.0/20170928.055126 submit/tizen_4.0/20170928.143447 tizen_4.0.IoT.p1_release tizen_4.0.m2_release
Seungha Son [Thu, 28 Sep 2017 06:38:11 +0000 (15:38 +0900)]
Release version 0.2.5

Changes:
 - Adds lcov comment

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

7 years agoAdds lcov comment 16/152516/1
Seungha Son [Tue, 26 Sep 2017 08:45:46 +0000 (17:45 +0900)]
Adds lcov comment

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

7 years agoRelease version 0.2.4 81/151481/1 accepted/tizen/4.0/unified/20170921.160532 accepted/tizen/unified/20170921.160403 submit/tizen/20170921.051021 submit/tizen_4.0/20170921.051032
Seungha Son [Thu, 21 Sep 2017 05:08:04 +0000 (14:08 +0900)]
Release version 0.2.4

Changes:
 - Modify SQL cmd from lowercase to uppercase
 - Add function to check if appid exists

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

7 years agoAdd function to check if appid exists 90/151390/3
Seungha Son [Thu, 21 Sep 2017 00:09:57 +0000 (09:09 +0900)]
Add function to check if appid exists

 Fixed the problem that badge can be created for nonexistent app

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

7 years agoModify SQL cmd from lowercase to uppercase 25/148725/1
Seungha Son [Fri, 8 Sep 2017 12:26:30 +0000 (21:26 +0900)]
Modify SQL cmd from lowercase to uppercase

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

7 years agoRelease version 0.2.3 44/148644/1 accepted/tizen/4.0/unified/20170911.154711 accepted/tizen/unified/20170911.155848 submit/tizen/20170908.075925 submit/tizen_4.0/20170908.080900
Seungha Son [Fri, 8 Sep 2017 08:00:26 +0000 (17:00 +0900)]
Release version 0.2.3

Changes:
 - Remove old update script

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

7 years agoRemove old update script 64/148564/1
Sunmin Lee [Fri, 8 Sep 2017 04:44:04 +0000 (13:44 +0900)]
Remove old update script

RW update script for Tizen 2.4 (to 3.0) is not necessary in Tizen 4.0.
Remove this file to avoid being executed during Tizen 4.0 update.

Change-Id: I36f3496cd769d95c14b9351d8fec08dd61dc3262

7 years agoRelease version 0.2.2 52/147552/1 accepted/tizen/4.0/unified/20170905.175338 accepted/tizen/unified/20170905.184550 submit/tizen/20170905.004911 submit/tizen_4.0/20170905.004956
Seungha Son [Tue, 5 Sep 2017 01:28:52 +0000 (10:28 +0900)]
Release version 0.2.2

Changes:
 - Fix wrong log string
 - Use tzplatform_mkpath to get DB_PATH
 - Modify logs

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

7 years agoModify logs 80/147180/4
Myungki Lee [Fri, 1 Sep 2017 08:30:04 +0000 (17:30 +0900)]
Modify logs

Change-Id: Ic177a876255f594952da2c7825fbb39983d0f9d0
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoUse tzplatform_mkpath to get DB_PATH 33/147133/3
Myungki Lee [Fri, 1 Sep 2017 06:00:05 +0000 (15:00 +0900)]
Use tzplatform_mkpath to get DB_PATH

Change-Id: I1c704313b946a7c6b31db4aa65b5dcb572ea6f87
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoFix wrong log string 89/147089/1
Seungha Son [Fri, 1 Sep 2017 01:55:30 +0000 (10:55 +0900)]
Fix wrong log string

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

7 years agoRelease version 0.2.1 02/144602/1 accepted/tizen/4.0/unified/20170828.224028 accepted/tizen/unified/20170818.083201 submit/tizen/20170817.080535 submit/tizen_4.0/20170828.100002
Myungki Lee [Thu, 17 Aug 2017 08:11:22 +0000 (17:11 +0900)]
Release version 0.2.1

- Remove newline escape in log
  Apply ASLR to badge_init

Change-Id: Ic8ce403d1a885f95d20f31a3b9b9325b9a848b48
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRemove newline escape in log 38/143438/1
Seungha Son [Thu, 10 Aug 2017 02:22:05 +0000 (11:22 +0900)]
Remove newline escape in log

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

7 years agoApply ASLR to badge_init 68/143368/1
Myungki Lee [Wed, 9 Aug 2017 11:00:54 +0000 (20:00 +0900)]
Apply ASLR to badge_init

Change-Id: I35cb5a9928cdd5f610135b2f80199cdc0e2eede1
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoRelease version 0.2.0 40/142640/1 accepted/tizen/unified/20170807.152209 submit/tizen/20170807.014849
Seungha Son [Mon, 7 Aug 2017 01:46:52 +0000 (10:46 +0900)]
Release version 0.2.0

Changes:
 Add badge feature

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

7 years agoAdd badge feature 23/142223/3
Seungha Son [Thu, 3 Aug 2017 04:20:58 +0000 (13:20 +0900)]
Add badge feature

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

7 years agoFix memory leak 39/142239/2
Seungha Son [Thu, 3 Aug 2017 06:44:18 +0000 (15:44 +0900)]
Fix memory leak

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

7 years agoMove some internal api to internal file 95/142195/2
Seungha Son [Thu, 3 Aug 2017 04:22:47 +0000 (13:22 +0900)]
Move some internal api to internal file

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

7 years agoRelease version 0.1.6 11/141611/1 accepted/tizen/4.0/unified/20170816.014012 accepted/tizen/4.0/unified/20170816.014609 accepted/tizen/unified/20170802.151119 submit/tizen/20170801.062329 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Seungha Son [Tue, 1 Aug 2017 06:13:15 +0000 (15:13 +0900)]
Release version 0.1.6

Changes:
 - Move unversioned so file to devel package

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

7 years agoMove unversioned so file to devel package 89/133689/1
Seungha Son [Tue, 13 Jun 2017 06:39:55 +0000 (15:39 +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: Ic35f48f9b5ba437ef3e54c875e52e7228d03ae4f

7 years agoRelease version 0.1.5 67/133667/1 accepted/tizen/unified/20170613.194239 submit/tizen/20170613.043549
Seungha Son [Tue, 13 Jun 2017 05:13:50 +0000 (14:13 +0900)]
Release version 0.1.5

Changed:
 - filesx upgrade script

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

7 years agoFix upgrade script 52/133652/1
Seungha Son [Tue, 13 Jun 2017 04:38:17 +0000 (13:38 +0900)]
Fix upgrade script

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

7 years agoRelease version 0.1.4 47/132047/2 accepted/tizen/unified/20170607.063237 accepted/tizen/unified/20170609.203841 submit/tizen/20170531.235759 submit/tizen/20170609.014738
Myungki Lee [Thu, 1 Jun 2017 01:47:36 +0000 (10:47 +0900)]
Release version 0.1.4

- Add logic to check smack label

Change-Id: I9f9f96f1e444efa0e3be3c8849e542c7d8670901
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
7 years agoAdd logic to check smack label 53/130553/1
Seungha Son [Tue, 23 May 2017 02:07:29 +0000 (11:07 +0900)]
Add logic to check smack label

 If the daemon requests the operation of the badge, it is allowed
 Check the smack label if it is a daemon.

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

7 years agoRelease version 0.1.3 03/128203/1 accepted/tizen/unified/20170510.012839 submit/tizen/20170508.042017 tizen_4.0.m1_release
Seungha Son [Mon, 8 May 2017 04:24:21 +0000 (13:24 +0900)]
Release version 0.1.3

 Update license description
 Refactor function parameter Null checker

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

7 years agoUpdate license description 08/128008/2
Seungha Son [Thu, 4 May 2017 01:25:43 +0000 (10:25 +0900)]
Update license description

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

7 years agoRefactor function parameter Null checker 98/127998/1
Seungha Son [Wed, 3 May 2017 23:20:37 +0000 (08:20 +0900)]
Refactor function parameter Null checker

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

7 years agoRelease version 0.1.2 94/123194/1 accepted/tizen/unified/20170407.190619 submit/tizen/20170407.042402 submit/tizen_3.0/20170412.001257
seungha.son [Wed, 5 Apr 2017 01:55:29 +0000 (10:55 +0900)]
Release version 0.1.2

 - Add function for remove badge data when pkg is uninstalled

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Ie08439bc6e0cde61cbe03ff7f8e81cf04890af68

7 years agoAdd function for remove badge data when pkg is uninstalled 39/122939/2
seungha.son [Tue, 4 Apr 2017 04:42:13 +0000 (13:42 +0900)]
Add function for remove badge data when pkg is uninstalled

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I9556b2fa13807bdb66ccb207204e65201a71dc7b

7 years agoRelease version 0.1.1 38/120438/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170323.154533 accepted/tizen/ivi/20170324.023222 accepted/tizen/mobile/20170324.023130 accepted/tizen/tv/20170324.023146 accepted/tizen/unified/20170324.023240 accepted/tizen/wearable/20170324.023205 submit/tizen/20170323.080501
seungha.son [Thu, 23 Mar 2017 02:10:46 +0000 (11:10 +0900)]
Release version 0.1.1

 - Use license macro

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I553a939f996ff7d9b0138a84977e645fdbfe8948

7 years agoUse license macro 10/120410/1
seungha.son [Thu, 23 Mar 2017 01:32:13 +0000 (10:32 +0900)]
Use license macro

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I846c6c821ea3984f52682fd2ede3672780b0115e

7 years agoRelease version 0.1.0 09/111009/1 accepted/tizen/common/20170125.113017 accepted/tizen/ivi/20170119.222146 accepted/tizen/mobile/20170119.221705 accepted/tizen/tv/20170119.221937 accepted/tizen/unified/20170309.032151 accepted/tizen/wearable/20170119.222038 submit/tizen/20170119.070147 submit/tizen_unified/20170308.100405
seungha.son [Thu, 19 Jan 2017 07:14:51 +0000 (16:14 +0900)]
Release version 0.1.0

 - Add new API
 - Fix some bug

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Ia5242d0af78e48bc9d69f73760afab9935344e28

7 years agoFix versioning 66/110766/1
seungha.son [Wed, 18 Jan 2017 02:34:33 +0000 (11:34 +0900)]
Fix versioning

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I180dbf428528918f78b1e64bca955730a7a5b2fa

7 years agoMerge branch 'tizen_3.0' into tizen accepted/tizen/common/20170113.184602 accepted/tizen/ivi/20170112.223120 accepted/tizen/mobile/20170112.223025 accepted/tizen/tv/20170112.223045 accepted/tizen/wearable/20170112.223104 submit/tizen/20170112.062902 submit/tizen_common/20170112.224201
seungha.son [Wed, 4 Jan 2017 06:26:32 +0000 (15:26 +0900)]
Merge branch 'tizen_3.0' into tizen

7 years agoRemove temporary macro related with badge_set_display API 39/107439/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 tizen_3.0_tv accepted/tizen/3.0.m2/mobile/20170104.122220 accepted/tizen/3.0.m2/tv/20170104.122507 accepted/tizen/3.0.m2/wearable/20170104.122853 accepted/tizen/3.0/common/20161229.112728 accepted/tizen/3.0/ivi/20161229.054117 accepted/tizen/3.0/mobile/20161229.054034 accepted/tizen/3.0/tv/20161229.054051 accepted/tizen/3.0/wearable/20161229.054104 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161228.051438
seungha.son [Wed, 28 Dec 2016 05:39:11 +0000 (14:39 +0900)]
Remove temporary macro related with badge_set_display API

 - As soon as the badge setting API support is done, the provided
   macro is deleted.
   This macro is provided to control the badge funcation in the
   setting app before creating the badge in the application.
 - Relative patch : https://review.tizen.org/gerrit/#/c/100025/

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: Idb4243cc10ecad3a4e569264fd74b996c2f96b3c

7 years agoRefactor badge to decrease function call depth
seungha.son [Wed, 14 Dec 2016 11:41:58 +0000 (20:41 +0900)]
Refactor badge to decrease function call depth

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I06c257b3846f96b55d2956cc2164435896bf6a7d

7 years agoRefactor badge to decrease function call depth 53/104853/5
seungha.son [Wed, 14 Dec 2016 11:41:58 +0000 (20:41 +0900)]
Refactor badge to decrease function call depth

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I06c257b3846f96b55d2956cc2164435896bf6a7d

7 years agoRemove unused function 04/105404/2
seungha.son [Fri, 16 Dec 2016 10:17:40 +0000 (19:17 +0900)]
Remove unused function

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I7b08a54cfc274fd286bffb090acd3f3bc8c334c2

7 years agoFix API description 39/105239/2 accepted/tizen/3.0/common/20161221.180549 accepted/tizen/3.0/ivi/20161221.005144 accepted/tizen/3.0/mobile/20161221.005224 accepted/tizen/3.0/tv/20161221.004955 accepted/tizen/3.0/wearable/20161221.005044 submit/tizen_3.0/20161219.021225
seungha.son [Fri, 16 Dec 2016 05:34:47 +0000 (14:34 +0900)]
Fix API description

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I7b4c1debebcce6fc493800eaf9d45f9cc93b5ff3

7 years agoModified an ambiguous tag string 27/104727/1
seungha.son [Wed, 14 Dec 2016 07:26:19 +0000 (16:26 +0900)]
Modified an ambiguous tag string

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I68ed8a427e65b1ff29d058fbcb010237cfa17b2f

7 years agoDelete unnecessary line 07/104707/1
seungha.son [Wed, 14 Dec 2016 06:32:51 +0000 (15:32 +0900)]
Delete unnecessary line

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I4435158a96d7da6fdc810772c70522d52f688dbe

7 years agoDelete unnecessary line 57/102757/1
seungha.son [Tue, 6 Dec 2016 11:27:19 +0000 (20:27 +0900)]
Delete unnecessary line

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I4f75de484e22e699370d330aae065a6ffa0e8c9e

7 years agoRevert commit related 'App detail' and Modify setting logic 37/101437/3 accepted/tizen/3.0/common/20161206.125405 accepted/tizen/3.0/ivi/20161205.234540 accepted/tizen/3.0/mobile/20161205.234503 accepted/tizen/3.0/tv/20161205.234514 accepted/tizen/3.0/wearable/20161205.234520 submit/tizen_3.0/20161205.051900
seungha.son [Thu, 1 Dec 2016 06:17:50 +0000 (15:17 +0900)]
Revert commit related 'App detail' and Modify setting logic

 - Revert "Revert "Adds APIs for Application detail setting""
   and Add exception logic for installed app by globalapp

This reverts commit c830a6becb41b3d9d1586ca6c4997f04ae638685.
Change-Id: I43901a8c71ceaf46bf6e7e80dc75365229254b9c

7 years agoRename upgrade script name 06/101906/2 accepted/tizen/3.0/common/20161205.091917 accepted/tizen/3.0/ivi/20161204.235842 accepted/tizen/3.0/mobile/20161204.235657 accepted/tizen/3.0/tv/20161204.235746 accepted/tizen/3.0/wearable/20161204.235813 submit/tizen_3.0/20161202.085638
seungha.son [Fri, 2 Dec 2016 10:19:55 +0000 (19:19 +0900)]
Rename upgrade script name

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I133fa360919223949b8c4e102b5ece863e222b92