platform/core/appfw/alarm-manager.git
2 years agoRelease version 0.12.30 12/283112/1
Inkyun Kil [Tue, 18 Oct 2022 07:09:16 +0000 (16:09 +0900)]
Release version 0.12.30

changes:
- Fix static analysis issue

Change-Id: I90534baeae7f46e4248558a38618a81bdcea9644
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
2 years agoFix static analysis issue 47/283047/2
Inkyun Kil [Mon, 17 Oct 2022 07:06:26 +0000 (16:06 +0900)]
Fix static analysis issue

- integer overflow
- casting double to long

Change-Id: Iee9c6140e29f149262e0e7a9a536825ca1ceddcc
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
2 years agoRelease version 0.12.29 41/282741/1 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.063545 accepted/tizen/7.0/unified/hotfix/20221116.104933 accepted/tizen/unified/20221012.014919 tizen_7.0_m2_release
Hwankyu Jhun [Tue, 11 Oct 2022 05:06:18 +0000 (05:06 +0000)]
Release version 0.12.29

Changes:
 - Fix static analysis issues

Change-Id: I969dc670b57d492d6ca2bca2ad1d024bfd52359e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix static analysis issues 39/282739/3
Hwankyu Jhun [Tue, 11 Oct 2022 04:17:26 +0000 (04:17 +0000)]
Fix static analysis issues

The following issues are fixed:
 - Use After free
 - Uninitialized scalar variable
 - Unnecessary header file

Change-Id: Ibaf4b4281cb138695a2ea342ba00e66205a860ea
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 0.12.28 35/282735/1
Hwankyu Jhun [Tue, 11 Oct 2022 02:51:45 +0000 (02:51 +0000)]
Release version 0.12.28

Changes:
 - Fix mismatched size

Change-Id: Ifaeee1dd5f97445fc97e37df0c7222a7e025b232
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix mismatched size 19/282719/2
Hwankyu Jhun [Tue, 11 Oct 2022 00:46:36 +0000 (00:46 +0000)]
Fix mismatched size

The sending size variable should be size_t. Because, the receiving size uses
size_t.

Change-Id: I0ff93a8de1c63a45e0fad652777039792a2f04dc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 0.12.27 56/280856/1 accepted/tizen/unified/20220908.013356 accepted/tizen/unified/20220908.124844
Inkyun Kil [Tue, 6 Sep 2022 03:15:20 +0000 (12:15 +0900)]
Release version 0.12.27

changes:
- Fix static analysis issue

Change-Id: I3168f684e122f8c3d7848a820de83a3172e50594
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
2 years agoFix static analysis issue 46/280846/1
Inkyun Kil [Tue, 6 Sep 2022 01:47:54 +0000 (10:47 +0900)]
Fix static analysis issue

Change-Id: Ife3f1a86d2251bd139876e163a38e48e888d64a7
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
2 years agoRelease version 0.12.26 28/277228/1 accepted/tizen/unified/20220905.124724 submit/tizen/20220704.040931 submit/tizen/20220901.011123
Inkyun Kil [Mon, 4 Jul 2022 04:03:09 +0000 (13:03 +0900)]
Release version 0.12.26

changes:
- Fix static analysis

Change-Id: Idf8517be0aa4546cf448a265af0f392755d13b5f
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
2 years agoFix static analysis 23/277223/1
Inkyun Kil [Mon, 4 Jul 2022 02:55:39 +0000 (11:55 +0900)]
Fix static analysis

Change-Id: I3c92904c5da7b1746c4998d041313f041367b641
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
2 years agoRelease version 0.12.25 18/277118/1 accepted/tizen/unified/20220704.212942 submit/tizen/20220701.041823
Inkyun Kil [Fri, 1 Jul 2022 01:55:29 +0000 (10:55 +0900)]
Release version 0.12.25

changes:
- Fix stack-buffer-overflow

Change-Id: Id7d5cfe60fa25e4bd02270277bc65e726676c260
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
2 years agoFix stack-buffer-overflow 71/277071/1
Inkyun Kil [Thu, 30 Jun 2022 06:31:15 +0000 (15:31 +0900)]
Fix stack-buffer-overflow

- gsize is unsigned long.

Change-Id: I5b46a18569b69de683c8b56b11dffff79515338f
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
2 years agoRelease version 0.12.24 82/276882/1 accepted/tizen/unified/20220629.152936 submit/tizen/20220627.233604
Sangyoon Jang [Mon, 27 Jun 2022 09:10:09 +0000 (18:10 +0900)]
Release version 0.12.24

Changes:
 - Fix spec file for gcov and unittest

Change-Id: I32c94c4c634d5c66619b2ccc68a2d5028e486d35
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoFix spec file for gcov and unittest 79/276879/1
Sangyoon Jang [Mon, 27 Jun 2022 08:45:21 +0000 (17:45 +0900)]
Fix spec file for gcov and unittest

Change-Id: Id2e61375a9a9b7100a6103671bf646594a5d8861
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoRelease version 0.12.23 66/275466/1 accepted/tizen/unified/20220528.144348 submit/tizen/20220526.081017
Sangyoon Jang [Wed, 25 May 2022 08:21:46 +0000 (17:21 +0900)]
Release version 0.12.23

Changes:
 - Fix stack-buffer-overflow

Change-Id: I45371cb1cbaab919b6aa81d51e8872fcff8fafe7
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoFix stack-buffer-overflow 52/275452/1
Sangyoon Jang [Wed, 25 May 2022 05:02:37 +0000 (14:02 +0900)]
Fix stack-buffer-overflow

gsize is unsigned long.

Change-Id: Idfc2f82741dea15cd36a11625bc215599491fc75
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoRelease version 0.12.22 00/271600/1 accepted/tizen/unified/20220225.151835 submit/tizen/20220223.084514 submit/tizen/20220224.064129
Sangyoon Jang [Wed, 23 Feb 2022 08:40:07 +0000 (17:40 +0900)]
Release version 0.12.22

Changes:
 - Fix static analysis issue

Change-Id: If5636d08ffe40c879453055953cd58e31e30e817
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoFix static analysis issue 13/271413/4
Sangyoon Jang [Mon, 21 Feb 2022 03:31:58 +0000 (12:31 +0900)]
Fix static analysis issue

Fix TOCTOU problem.

Change-Id: Ie32e21de8e70753484f03e22f27315d581efc1c8
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoRelease version 0.12.21 41/270841/1 accepted/tizen/unified/20220212.064834 submit/tizen/20220210.040809
Sangyoon Jang [Thu, 10 Feb 2022 04:07:11 +0000 (13:07 +0900)]
Release version 0.12.21

Changes:
 - Fix unittest

Change-Id: I8b42f5e93ba34c861c7ec07f3fb90c0550bebb34
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoFix unittest 40/270840/2
Sangyoon Jang [Thu, 10 Feb 2022 03:59:18 +0000 (12:59 +0900)]
Fix unittest

Change-Id: I669a00ddf6b082d15bff2be375f438b488fba14f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoRelease version 0.12.20 35/270835/1 submit/tizen/20220210.034634
Sangyoon Jang [Thu, 10 Feb 2022 03:16:05 +0000 (12:16 +0900)]
Release version 0.12.20

Changes:
 - Fix alarm manager unittest

Change-Id: Ifa2405b6bf267b1e2df41387f2d3d8b43a535072
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoFix alarm manager unittest 33/270833/1
Sangyoon Jang [Thu, 10 Feb 2022 02:31:42 +0000 (11:31 +0900)]
Fix alarm manager unittest

Some environment cannot get cmdline of pid 1.

Change-Id: Ia3daa852a352bf17ebeb7a87722859337b12e420
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoRelease version 0.12.19 20/270720/1 submit/tizen/20220208.050553
Sangyoon Jang [Tue, 8 Feb 2022 05:02:21 +0000 (14:02 +0900)]
Release version 0.12.19

Changes:
 - Fix wrong cmake configuration

Change-Id: I42bf53a9dcaf72d9fdd5c4ed95c6a154e4c83b01
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoFix wrong cmake configuration 99/270699/1
Hwankyu Jhun [Tue, 8 Feb 2022 02:34:50 +0000 (11:34 +0900)]
Fix wrong cmake configuration

- Move ADD_TEST() to CMakeLists.txt from unittest/CMakeLists.txt
- Fix wrong LD_LIBRARY_PATH environment

Change-Id: I80e325268850b38af068c226dbeebf0a08b2cce1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoDefine LOG_INTERNAL for debugging 50/270650/1 accepted/tizen/unified/20220208.011052 submit/tizen/20220207.080056
Hwankyu Jhun [Mon, 7 Feb 2022 07:58:05 +0000 (16:58 +0900)]
Define LOG_INTERNAL for debugging

This patch is a temporary patch to debug build failure issue in QB.

Change-Id: I92121c79aabe30c20572e195a15d59845fdeed6f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 0.12.18 48/270648/1 submit/tizen/20220207.075550
Hwankyu Jhun [Mon, 7 Feb 2022 07:55:07 +0000 (16:55 +0900)]
Release version 0.12.18

Changes:
 - Fix Cmake configuration file

Change-Id: I3f54bdc37c12efcbb1055e18b58c012bb90c2922
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix Cmake configuration file 46/270646/1
Hwankyu Jhun [Mon, 7 Feb 2022 07:52:25 +0000 (16:52 +0900)]
Fix Cmake configuration file

- Use working directory option instead of 'cd' command
- Change required minimum version of cmake

Change-Id: I7231fb68d60da4c1e56a792b69256df3199f1c15
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 0.12.17 18/270018/1 accepted/tizen/unified/20220126.212955 submit/tizen/20220124.081424
Hwankyu Jhun [Mon, 24 Jan 2022 08:12:39 +0000 (17:12 +0900)]
Release version 0.12.17

Changes:
 - Use old gmock API

Change-Id: Ic527e01ad1d42ceb89a7377b80439d798699e606
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoUse old gmock API 17/270017/1
Hwankyu Jhun [Mon, 24 Jan 2022 08:05:36 +0000 (17:05 +0900)]
Use old gmock API

Some product uses old gmock API.

Change-Id: I06b43a1a597460a78b481fb68ecd599bb58ceb95
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 0.12.16 30/269830/1 accepted/tizen/unified/20220124.021318 submit/tizen/20220120.083417 submit/tizen/20220120.231448
Hwankyu Jhun [Thu, 20 Jan 2022 08:32:33 +0000 (17:32 +0900)]
Release version 0.12.16

Changes:
 - Remove gcov ifdef from spec file

Change-Id: Ice28999d88108f032e66b009a3281db3ebb46102
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRemove gcov ifdef from spec file 27/269827/1
Hwankyu Jhun [Thu, 20 Jan 2022 08:30:44 +0000 (17:30 +0900)]
Remove gcov ifdef from spec file

Change-Id: I41cab257756a0f220b571b6b8e454935585fd1e5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoRelease version 0.12.15 66/269766/1 submit/tizen/20220120.064930
Hwankyu Jhun [Thu, 20 Jan 2022 06:14:40 +0000 (15:14 +0900)]
Release version 0.12.15

Changes:
 - Remove macro for supporting old glib
 - Use gmock instead of fff
 - Fix memory leak
 - Fix spec file for gcov

Change-Id: I0e42e20137e16437055dd247101165ab55647535
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix spec file for gcov 35/269735/1
Hwankyu Jhun [Thu, 20 Jan 2022 05:50:11 +0000 (14:50 +0900)]
Fix spec file for gcov

- Fix installation path of gcov result
- Install alarm mgr gtest

Change-Id: I642850e0a9fd5bd2786e27c53f1bbde9582a9ba5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoFix memory leak 68/268868/1
Sangyoon Jang [Tue, 4 Jan 2022 04:51:07 +0000 (13:51 +0900)]
Fix memory leak

Change-Id: I2be341d8f6c53b5091c80d6f20627de0c2314bdf
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoUse gmock instead of fff 43/268043/10
jh9216.park [Wed, 15 Dec 2021 08:31:56 +0000 (03:31 -0500)]
Use gmock instead of fff

Change-Id: If791b2f305f4c7e6cdf9f3c94bd04282b846a8da
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
2 years agoRemove macro for supporting old glib 23/268023/1
jh9216.park [Wed, 15 Dec 2021 04:17:24 +0000 (23:17 -0500)]
Remove macro for supporting old glib

Change-Id: I9110134b840db4459f3554c423e557aa1450651e
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
3 years agoRelease version 0.12.14 81/259581/1 accepted/tizen/6.5/unified/20211028.095105 accepted/tizen/unified/20210611.013539 submit/tizen/20210610.022524 submit/tizen_6.5/20211028.162101 tizen_6.5.m2_release
Inkyun Kil [Thu, 10 Jun 2021 02:17:32 +0000 (11:17 +0900)]
Release version 0.12.14

changes:
- Fix static analysis

Change-Id: I416781717c73abfc0f270e33c02c6f9b6b063b9b
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
3 years agoFix static analysis 71/259571/1
Inkyun Kil [Thu, 10 Jun 2021 01:00:27 +0000 (10:00 +0900)]
Fix static analysis

Change-Id: Id3f06eb4bebd7248d6a1a95e710129cdd3845c93
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
3 years agoRelease version 0.12.13 56/257956/1 accepted/tizen/unified/20210509.123850 submit/tizen/20210507.052552
Inkyun Kil [Fri, 7 May 2021 04:53:31 +0000 (13:53 +0900)]
Release version 0.12.13

Changes:
- Fix build gcov issue

Change-Id: I12c07d7d8cf3e51af2afc619d05ccc6a9e853274
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
3 years agoFix build gcov issue 40/257940/3
Inkyun Kil [Fri, 7 May 2021 02:58:24 +0000 (11:58 +0900)]
Fix build gcov issue

Change-Id: I35fe62a9a0810c247ead58b3d86db6c36b89fd20
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Signed-off-by: jusung <jusung07.son@samsung.com>
3 years agoRelease version 0.12.12 47/257347/1 accepted/tizen/unified/20210427.010501 submit/tizen/20210423.035525
Inkyun Kil [Fri, 23 Apr 2021 02:29:05 +0000 (11:29 +0900)]
Release version 0.12.12

changes:
- Fix build gcov issue

Change-Id: I2e08cf39f648612bf2ab7600eb772bcc2888c461
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
3 years agoFix build gcov issue 43/257343/1
Inkyun Kil [Fri, 23 Apr 2021 02:08:27 +0000 (11:08 +0900)]
Fix build gcov issue

Change-Id: I64b57ef6e9bb548a5399c6b5eb58ad3a45082bd5
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
3 years agoRelease version 0.12.11 73/255473/1 submit/tizen/20210319.041152
Inkyun Kil [Fri, 19 Mar 2021 01:38:33 +0000 (10:38 +0900)]
Release version 0.12.11

changes:
- Fix vulnerability for strncmp
- Check if parameter is null for getter API

Change-Id: I96eb51a30ea933ecf608364407535e6f0d62e596
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
3 years agoFix vulnerability for strncmp 67/255467/1
Inkyun Kil [Fri, 19 Mar 2021 01:12:38 +0000 (10:12 +0900)]
Fix vulnerability for strncmp

The strcmp function is used when you compare the whole rather than
a part of two strings (prefix).

Change-Id: Ibb539659243fbc8b97b70f49a8362dd4ca45f61e
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
3 years agoCheck if parameter is null for getter API 45/255345/2
Inkyun Kil [Wed, 17 Mar 2021 07:06:58 +0000 (16:06 +0900)]
Check if parameter is null for getter API

Change-Id: I5dd1f23448ae2b99e4c5fe57be902d7a8d267286
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
3 years agoRelease version 0.12.10 75/254075/1 accepted/tizen/unified/20210226.131952 submit/tizen/20210223.070635 submit/tizen/20210225.054706
Hwankyu Jhun [Tue, 23 Feb 2021 06:58:10 +0000 (15:58 +0900)]
Release version 0.12.10

Changes:
 - Fix plugin lib path

Change-Id: I253c65bcaddd77db68ca7f07c7eb03b3cdd4e8c9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix plugin lib path 73/254073/2
Hwankyu Jhun [Tue, 23 Feb 2021 06:28:51 +0000 (15:28 +0900)]
Fix plugin lib path

- Uses LIB_INSTALL_DIR instead of hardcoded path

Change-Id: Ib65fe31ddcec4021e4eec87e6ae5a7fa152593f7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.12.9 10/253410/1 accepted/tizen/unified/20210215.131001 submit/tizen/20210210.001317
jusung [Wed, 10 Feb 2021 00:09:33 +0000 (09:09 +0900)]
Release version 0.12.9

Changes:
 - Remove build warning messages
 - Change systemd-devel package name
Signed-off-by: jusung <jusung07.son@samsung.com>
Change-Id: I38f1dc46dd3702a9ecce2a7d603ccb983aa06bdd

3 years agoChange systemd-devel package name 44/252844/1
INSUN PYO [Wed, 3 Feb 2021 00:29:36 +0000 (09:29 +0900)]
Change systemd-devel package name

Change-Id: I46f54438d977d38e7ed108bc32dd6e6f9f481582

3 years agoRemove build warning messages 06/250706/1
Hwankyu Jhun [Mon, 4 Jan 2021 04:19:30 +0000 (13:19 +0900)]
Remove build warning messages

Change-Id: Ia128223987005aff71089f5e3bf042bcd80f6587
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.12.8 43/250143/1 accepted/tizen/6.0/unified/20201222.093119 accepted/tizen/unified/20201222.122619 submit/tizen/20201221.070853 submit/tizen_6.0/20201221.233556
Jusung Son [Mon, 21 Dec 2020 07:06:56 +0000 (16:06 +0900)]
Release version 0.12.8

Changes:
 - Fix wrong memory release order

Change-Id: I0e4936d5f92b5b37a4554b37f592174d7855c456
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
3 years agoFix wrong memory release order 31/250131/1
Jusung Son [Mon, 21 Dec 2020 05:49:54 +0000 (14:49 +0900)]
Fix wrong memory release order

Change-Id: I78fea9cded72e68a77fae85959b721930256c0ae
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
3 years agoRelease version 0.12.7 36/247536/1 accepted/tizen/unified/20201116.130509 submit/tizen/20201112.060137 submit/tizen_6.0/20201112.060128
Inkyun Kil [Thu, 12 Nov 2020 02:30:42 +0000 (11:30 +0900)]
Release version 0.12.7

changes:
- Change argument type for "alarm_get_list_of_ids"
- Fix bug for caching appid and fix unittest

Change-Id: I4bc6b453422d2df3e16bcf409880e3f9c3bb9bd3
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
3 years agoFix bug for caching appid and fix unittest 05/246005/6
Inkyun Kil [Thu, 22 Oct 2020 02:11:47 +0000 (11:11 +0900)]
Fix bug for caching appid and fix unittest

- Pid can be recycled, that's why it is not appropriate to use it as a hash key
- Adds code for limit of cache size
- Fix trivial unittest issue

Change-Id: I02ab3ce9c86c8c60f0e717307b8afed53b9b15c4
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoChange argument type for "alarm_get_list_of_ids" 54/246154/1
Inkyun Kil [Mon, 26 Oct 2020 05:31:59 +0000 (14:31 +0900)]
Change argument type for "alarm_get_list_of_ids"

Change-Id: I7a6c0ae9c2db7684e433701996ed763b9a03608c
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.12.6 34/243234/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.122343 accepted/tizen/6.0/unified/hotfix/20201103.004654 accepted/tizen/6.0/unified/hotfix/20201103.051908 accepted/tizen/unified/20200908.060750 submit/tizen/20200811.063016 submit/tizen/20200907.005532 submit/tizen_6.0/20201029.205102 submit/tizen_6.0_hotfix/20201102.192502 submit/tizen_6.0_hotfix/20201103.114802 tizen_6.0.m2_release
Jusung Son [Tue, 11 Aug 2020 06:27:24 +0000 (15:27 +0900)]
Release version 0.12.6

Changes:
 - Modify %{_libdir} macro to "/usr/lib/"
 - Trivial improving code quality
 - Prevent time_t overflow

Change-Id: I6be4e8de9c39750ae64e1bd207588b57b999b122
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
4 years agoPrevent time_t overflow 01/243101/2
Jusung Son [Thu, 3 Sep 2020 05:49:15 +0000 (14:49 +0900)]
Prevent time_t overflow

- If the RTC is reset, a time overflow may occur.

Change-Id: I61920cc1927942e151e86bd456490bb2637193b6
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
4 years agoTrivial improving code quality 16/242816/1
Inkyun Kil [Tue, 1 Sep 2020 05:37:12 +0000 (14:37 +0900)]
Trivial improving code quality

- change global variable to static

Change-Id: Idff8f2940be87b37fc2f5a43684e7d50dd154706
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoModify %{_libdir} macro to "/usr/lib/" 07/239707/1
Inkyun Kil [Wed, 29 Jul 2020 06:20:30 +0000 (15:20 +0900)]
Modify %{_libdir} macro to "/usr/lib/"

systemd always uses /usr/lib/systemd directory regardless of 32bit and
64bit.

The "%{_libdir}" macro is converted to /usr/lib at 32bit machine and
/usr/lib64 at 64bit machine.

Change-Id: I7fd4ddd1acb8d22bf3d8a1a156730c715e110d82
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.12.5 37/238337/1 accepted/tizen/unified/20200714.065647 submit/tizen/20200713.023626
Hwankyu Jhun [Mon, 13 Jul 2020 02:34:59 +0000 (11:34 +0900)]
Release version 0.12.5

Changes:
 - Changes code for defensing gdbus race condition
 - Improve codes for rtc reset
 - Fix build issue for unittest
 - Fix build warning
 - Fix wrong type

Change-Id: Idda7f6b31c66a34722c887919155dbfbe3d1a684
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix wrong type 35/238335/1
Hwankyu Jhun [Mon, 13 Jul 2020 02:18:42 +0000 (11:18 +0900)]
Fix wrong type

gboolean is the integer. The size of gboolean is 4 bytes.
The size of bool is 1 byte.

Change-Id: Ic2b515cff24cd0e27d011b573e0764b1c0607e12
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix build warning 44/238044/3
mk5004.lee [Wed, 8 Jul 2020 02:19:13 +0000 (11:19 +0900)]
Fix build warning

warning: '__builtin_strncpy' output may be truncated copying 255 bytes from
a string of length 255 [-Wstringop-truncation]

Change-Id: I7610e42fed5dab09a1476bbfdb31ae83d25b4560
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
4 years agoFix build issue for unittest 29/237529/1
Inkyun Kil [Wed, 1 Jul 2020 06:15:58 +0000 (15:15 +0900)]
Fix build issue for unittest

Change-Id: Icf8d286f88bb2f6a104fb0f5524ee7ba4ad7bb25
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoImprove codes for rtc reset 73/236673/7
Inkyun Kil [Fri, 19 Jun 2020 04:01:19 +0000 (13:01 +0900)]
Improve codes for rtc reset

Change-Id: I76b60ef568b64c0859924868a5d13d5c0d855dec
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoChanges code for defensing gdbus race condition 95/236095/1
Inkyun Kil [Mon, 15 Jun 2020 00:27:06 +0000 (09:27 +0900)]
Changes code for defensing gdbus race condition

Change-Id: Iae66d7c5c4298bc41e41f1325d60cead843ad32f
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.12.4 32/235332/1 submit/tizen/20200604.023447
Inkyun Kil [Thu, 4 Jun 2020 02:29:48 +0000 (11:29 +0900)]
Release version 0.12.4

changes:
- Change sample application for unittest

Change-Id: I4ea0501ed11e066ff08346fcc4776619d98221ee
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoChange sample application for unittest 13/235213/1
Inkyun Kil [Wed, 3 Jun 2020 00:17:42 +0000 (09:17 +0900)]
Change sample application for unittest

Change-Id: I4ddfba9a3fe0c23a076924fa27dd9a1d39e511ed
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.12.3 70/234370/1 accepted/tizen/unified/20200601.051547 submit/tizen/20200526.234221
Inkyun Kil [Tue, 26 May 2020 01:42:37 +0000 (10:42 +0900)]
Release version 0.12.3

changes:
- Fix bug for updating alarm

Change-Id: Ibda68de1789dc41e047caaa93cac1d52501fee0e

4 years agoFix bug for updating alarm 54/234354/1
Inkyun Kil [Tue, 26 May 2020 00:58:23 +0000 (09:58 +0900)]
Fix bug for updating alarm

Change-Id: I0b681bc664083bcfcb3c9d6610d2b810dd7e5974
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.12.2 56/233056/1 submit/tizen/20200512.010006
Inkyun Kil [Tue, 12 May 2020 00:49:17 +0000 (09:49 +0900)]
Release version 0.12.2

changes:
- Fix wrong checking privilege for alarm_set_time

Change-Id: Ida0fcd56860aa413084a9870bc5bbffdbc399f9e
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoFix wrong checking privilege for alarm_set_time 98/232998/1
Inkyun Kil [Mon, 11 May 2020 07:05:31 +0000 (16:05 +0900)]
Fix wrong checking privilege for alarm_set_time

Change-Id: I05a2e6261facc78e681a1e1968b001056c134d89
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.12.1 20/232920/1 accepted/tizen/unified/20200510.220509 submit/tizen/20200508.093038
Inkyun Kil [Fri, 8 May 2020 09:19:23 +0000 (18:19 +0900)]
Release version 0.12.1

changes:
- Fix bugs for removing data in g_slist

Change-Id: I8530fcf46419ec8ecfabc5fc3b51dbbe3da52329
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoFix bugs for removing data in g_slist 12/232912/2
Inkyun Kil [Fri, 8 May 2020 08:43:10 +0000 (17:43 +0900)]
Fix bugs for removing data in g_slist

Change-Id: I6ba3c93578170b6ed8c3a5490943f2beb108d99b
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.12.0 58/232858/1 submit/tizen/20200508.043455
Inkyun Kil [Fri, 8 May 2020 04:14:28 +0000 (13:14 +0900)]
Release version 0.12.0

changes:
- Adds new api for adding localtime alarm withcb

Change-Id: I59f4b3b4e7131510e17d5438f2f7b04e7b339137
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoAdds new api for adding localtime alarm withcb 00/232700/3
Inkyun Kil [Thu, 7 May 2020 07:25:47 +0000 (16:25 +0900)]
Adds new api for adding localtime alarm withcb

Change-Id: If1a1e508cb1e4fe0cc906fb1169bcf976df3b8de
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.11.2 87/231787/1 accepted/tizen/unified/20200426.224121 submit/tizen/20200424.065013
Inkyun Kil [Fri, 24 Apr 2020 06:44:24 +0000 (15:44 +0900)]
Release version 0.11.2

Changes:
-  Call tzset() before localtime_r()

Change-Id: Ie1cd72a1fd25e9c817309deb2eb213447692fbe9
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoCall tzset() before localtime_r() 75/231775/1
Inkyun Kil [Fri, 24 Apr 2020 06:10:08 +0000 (15:10 +0900)]
Call tzset() before localtime_r()

Change-Id: Ie84caf99f43b4d5dc0da5b40c03320cb83fbe7c1
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.11.1 03/231403/1 accepted/tizen/unified/20200423.054518 submit/tizen/20200422.030817
Inkyun Kil [Wed, 22 Apr 2020 00:30:23 +0000 (09:30 +0900)]
Release version 0.11.1

Changes:
- Fix build break for unittest
- Fix build gcov issue

Change-Id: Ib634426d5af99db1ab6eb476bb64b7b6e8e89d64
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoFix build gcov issue 99/231399/1
Inkyun Kil [Tue, 21 Apr 2020 23:57:53 +0000 (08:57 +0900)]
Fix build gcov issue

Change-Id: I11909c10c63ab1b2f948d2e4b1f8e3aff230ec84
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoFix build break for unittest 84/223484/4
Inkyun Kil [Thu, 30 Jan 2020 07:34:56 +0000 (16:34 +0900)]
Fix build break for unittest

Change-Id: I6d88d45dd1d374e8b465f4ab3340fca8f9c532cf
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.11.0 23/226123/1 accepted/tizen/unified/20200302.125755 submit/tizen/20200227.043212 submit/tizen/20200301.234443
Inkyun Kil [Thu, 27 Feb 2020 04:30:17 +0000 (13:30 +0900)]
Release version 0.11.0

Changes:
- Change Inexact interval to 15minutes

Change-Id: I095c629228bd15f175b48eb8ee46114b03324432
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoChange Inexact interval to 15minutes. 63/221663/4
Inkyun Kil [Mon, 6 Jan 2020 08:16:48 +0000 (17:16 +0900)]
Change Inexact interval to 15minutes.

Change-Id: I0f4cc40da7a5ef7d96d2d217bc792229c9505147
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.10.7 67/225667/1 accepted/tizen/unified/20200225.224256 submit/tizen/20200224.004835
Jusung Son [Mon, 24 Feb 2020 00:51:25 +0000 (09:51 +0900)]
Release version 0.10.7

changes:
  - Fix side effect for 604058d2539209cf9d75dcdba6ea32a965bded90
  - To prevent the absence of RTC at some profile

Change-Id: I85a2d9a67d5bc64c18e583cf9c47dc0aa36d8fd9
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
4 years agoFix side effect for 604058d2539209cf9d75dcdba6ea32a965bded90 12/225412/1
Inkyun Kil [Wed, 19 Feb 2020 23:57:17 +0000 (08:57 +0900)]
Fix side effect for 604058d2539209cf9d75dcdba6ea32a965bded90

Change-Id: I380c5211da2bf202429c2d21f6ee2895a57ce228
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoTo prevent the absence of RTC at some profile 71/223971/2
Inkyun Kil [Wed, 5 Feb 2020 08:04:23 +0000 (17:04 +0900)]
To prevent the absence of RTC at some profile

Change-Id: Iaaeb5b9b4c316da5ba5bec9f3d03a2400f5a8faf
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.10.6 75/224475/1 submit/tizen/20200211.014002
Inkyun Kil [Tue, 11 Feb 2020 01:21:32 +0000 (10:21 +0900)]
Release version 0.10.6

changes:
- Fix static analysis

Change-Id: I3db8fcaece1650250784e09c57a848356e8a547d
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoFix static analysis 65/224365/2
Inkyun Kil [Mon, 10 Feb 2020 06:25:13 +0000 (15:25 +0900)]
Fix static analysis

Change-Id: I810a27eaf80ad5478f098f0f241232f8ba97c3f3
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.10.5 35/223435/3 accepted/tizen/unified/20200204.125920 submit/tizen/20200130.035504
Inkyun Kil [Thu, 30 Jan 2020 00:26:51 +0000 (09:26 +0900)]
Release version 0.10.5

Changes:
- Add plugin for alarm-server
- Change some logs
- Change default RTC
- Improve readability of alarm info structure

Change-Id: I3129b178ba5da10971204c67fdbb5dbfebe84c74
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoImprove readability of alarm info structure 25/223325/4
Jusung Son [Tue, 28 Jan 2020 23:30:29 +0000 (08:30 +0900)]
Improve readability of alarm info structure

Change-Id: I013e309765bbf8823157e8a2a770cc12be16c8c5
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
4 years agoChange default RTC 05/223005/4
Inkyun Kil [Wed, 22 Jan 2020 05:40:08 +0000 (14:40 +0900)]
Change default RTC

Change-Id: I8a5ac3adeaf2fcbd39fda776642f35af4e1150ef
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoChange some logs 99/223099/4
Inkyun Kil [Thu, 23 Jan 2020 01:04:40 +0000 (10:04 +0900)]
Change some logs

Change-Id: I0e691bdae6e50a2c420af77321acd94c1ab04e1c
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoAdd plugin for alarm-server 14/220014/27
mk5004.lee [Thu, 12 Dec 2019 09:31:57 +0000 (18:31 +0900)]
Add plugin for alarm-server

- To sync with tizen_wearable branch
  server/plugin/platform

Change-Id: If8cadd532bd7735d99b4c515cf4a22d02edbb36e
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRelease version 0.10.4 57/222857/1 accepted/tizen/unified/20200123.005023 submit/tizen/20200121.020948
Inkyun Kil [Tue, 21 Jan 2020 01:50:50 +0000 (10:50 +0900)]
Release version 0.10.4

Changes:
- Fix static analysis
- Remove WITH_CB alarm when process was killed

Change-Id: I2b69d0dc850379356cd5f7b6afac00f672b13ce0
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoFix static analysis 21/222621/1
Inkyun Kil [Fri, 17 Jan 2020 00:32:44 +0000 (09:32 +0900)]
Fix static analysis

Change-Id: I0641ee2149fdfb995197a74d7440fb402ae1564c
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoRemove WITH_CB alarm when process was killed 56/222156/6
Inkyun Kil [Fri, 10 Jan 2020 04:30:21 +0000 (13:30 +0900)]
Remove WITH_CB alarm when process was killed

Change-Id: Ic3c60f049ab409bcfe4cb7e2454a12f02c55721d
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoMerge "FIx side effect for 'Dispensables'" into tizen
Inkyun Kil [Mon, 13 Jan 2020 23:50:34 +0000 (23:50 +0000)]
Merge "FIx side effect for 'Dispensables'" into tizen

4 years agoRelease version 0.10.3 53/222053/1 accepted/tizen/unified/20200110.123526 submit/tizen/20200109.090149
Jusung Son [Thu, 9 Jan 2020 08:52:09 +0000 (17:52 +0900)]
Release version 0.10.3

Changes:
  - Fix build warning based on GCC-9
  - Add alarm-manager database version control
  - Move 'mock' directory
  - Add unittests
  - Change gettimeofday to clock_gettime

Change-Id: I16d1933c97e16f38a5b61771484167a161f9c192
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
4 years agoFIx side effect for 'Dispensables' 09/221909/1
Inkyun Kil [Wed, 8 Jan 2020 07:42:02 +0000 (16:42 +0900)]
FIx side effect for 'Dispensables'

Although period is zero, INEXACT alarm should be repeated alarm.

Change-Id: I60c42c71f5a5a0a9fca04c67e0b9c1cf9ab7b3cd
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoFix build warning based on GCC-9 10/221410/2
Inkyun Kil [Thu, 2 Jan 2020 06:44:10 +0000 (15:44 +0900)]
Fix build warning based on GCC-9

Change-Id: I19670cfd2e7a26f2d2ec68910d2005acc5e6369d
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years agoAdd alarm-manager database version control 34/216434/6
Inkyun Kil [Wed, 28 Aug 2019 08:20:17 +0000 (17:20 +0900)]
Add alarm-manager database version control

Change-Id: I0ebbb8bb013e13e0e847c9910fb2f4ef5e4ae19a
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Signed-off-by: Jusung Son <jusung07.son@samsung.com>