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>
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
INSUN PYO [Wed, 3 Feb 2021 00:29:36 +0000 (09:29 +0900)]
Change systemd-devel package name
Change-Id: I46f54438d977d38e7ed108bc32dd6e6f9f481582
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Inkyun Kil [Mon, 13 Jan 2020 23:50:34 +0000 (23:50 +0000)]
Merge "FIx side effect for 'Dispensables'" into tizen
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>
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>
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>
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>
Inkyun Kil [Thu, 28 Nov 2019 06:31:16 +0000 (15:31 +0900)]
Move 'mock' directory
Change-Id: I91505e4474fe7ac530b868fc759854a3e726ef2f
Inkyun Kil [Wed, 6 Nov 2019 00:36:42 +0000 (09:36 +0900)]
Add unittests
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Change-Id: I817be7d100eb5007b044fa1263a3ea5e1c488aac
Inkyun Kil [Tue, 29 Oct 2019 06:28:17 +0000 (15:28 +0900)]
Change gettimeofday to clock_gettime
Change-Id: Iafa02a659985ca406de4f96f26aa3a981182ed3b
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Wed, 30 Oct 2019 06:24:24 +0000 (15:24 +0900)]
Release version 0.10.2
Changes:
- Fix memory leak
- This is for reverting "tizen: Add additional unit for "unified" user session"
Change-Id: Iaba35b7d678f8118148858063c5d76b69ae7700b
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Jusung Son [Wed, 30 Oct 2019 06:09:41 +0000 (15:09 +0900)]
Fix memory leak
Change-Id: I616a8ae3b5d382ade36acb6afd7bcbf053180aea
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Inkyun Kil [Wed, 30 Oct 2019 00:54:26 +0000 (09:54 +0900)]
This is for reverting "tizen: Add additional unit for "unified" user
session"
There was code duplication in the process of merging code
Change-Id: I67c2d5f746e41a7a67bfc137302b40dd6da0e2f4
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Sangyoon Jang [Wed, 23 Oct 2019 13:11:54 +0000 (22:11 +0900)]
Release version 0.10.1
Changes:
- Fix to return error code properly when dbus call failed
Change-Id: I1c6b86b1e1b5773584c983319b18fbf28031f820
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 23 Oct 2019 11:48:56 +0000 (20:48 +0900)]
Fix to return error code properly when dbus call failed
Change-Id: I87e2185e992705013149ba9b42224fad7da05098
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Inkyun Kil [Mon, 21 Oct 2019 08:54:19 +0000 (17:54 +0900)]
Release version 0.10.0
Changes:
- Fix static analysis
- Merge branch 'feature/refactor_v1' into tizen
|- Call device display lock before attempting to set time
|- Splits long function
|- Remove duplicated codes
|- Fix localtime issue for adjusting milliseconds
|- Fix bug for checking flag of appid
|- Add logs for invalid parameters
|- Fix bug for adding alarm
|- Handle zombie alarm
|- Change return values
|- Adjusting millisecond
|- Remove outdated alarms
|- Improve logs
|- Fix wrong return value
|- To handle RTC reset
|- Fix bug for time_t overflow
|- Simplify logs
|- Move codes
|- Check return codes
|- Tidy source code up slightly
|- Refactoring dbus codes
|- Separate util codes from alarm-manager.c
|- Arrange db codes
|- Dispensables
|- Adds unittest for alarm-manager daemon
|- Fix warning and add codes for GCOV
|- refactoring build script for Gtest
Change-Id: I65c458c85951f3162b99a36b9d1ddcf655bd73cf
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Fri, 18 Oct 2019 02:39:42 +0000 (11:39 +0900)]
Fix static analysis
Change-Id: I43835504bdcd932365c54ba92fe602673d4b4258
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Fri, 18 Oct 2019 01:56:19 +0000 (10:56 +0900)]
Merge branch 'feature/refactor_v1' into tizen
Change-Id: Iaa9e5255cd8ba5163cd7a28e85284dc041bbdb84
Inkyun Kil [Fri, 18 Oct 2019 01:34:02 +0000 (10:34 +0900)]
Call device display lock before attempting to set time
Change-Id: I7f218d3068452715dcd90e3b439ddf74ac9f2991
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Fri, 27 Sep 2019 04:18:31 +0000 (13:18 +0900)]
Splits long function
Change-Id: I9993f1d900d8b3f3875dc73c4dffcaedbf1637a0
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Thu, 26 Sep 2019 01:38:26 +0000 (10:38 +0900)]
Remove duplicated codes
Change-Id: I4440cdef749a1fc1caa01b6e247c5392ef4a8e9f
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Inkyun Kil [Mon, 23 Sep 2019 06:53:31 +0000 (15:53 +0900)]
Fix localtime issue for adjusting milliseconds
Change-Id: I49de2b22e4701e6c99893bb016176b8b91a5512c
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Fri, 20 Sep 2019 07:46:04 +0000 (16:46 +0900)]
Fix bug for checking flag of appid
Change-Id: I2ce4c4b1c047f04a65d17e3681a049af2f6e0c03
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Fri, 20 Sep 2019 07:32:51 +0000 (16:32 +0900)]
Add logs for invalid parameters
Change-Id: I1a4819fd6ac2ce57b0c7f05f19a4bb37377b49d0
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Thu, 19 Sep 2019 04:51:25 +0000 (13:51 +0900)]
Fix bug for adding alarm
Change-Id: Ic8e0f9f23af25838a4f3ea7abd7bb6a7dc815c75
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Wed, 18 Sep 2019 08:31:31 +0000 (17:31 +0900)]
Handle zombie alarm
- If G_DBUS_ERROR_SERVICE_UNKNOWN error occurs, exclude it from alarm
schedule list.
Change-Id: I6d68207282e3d6f9e44c11c44c3f9ef3bc101d81
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Wed, 18 Sep 2019 04:16:33 +0000 (13:16 +0900)]
Change return values
- When registering once alarm with wrong time, return false.
Change-Id: I016fc294f40a6825e228c4d9193e9e2596233092
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Mon, 9 Sep 2019 07:38:56 +0000 (16:38 +0900)]
Adjusting millisecond
- When the millisecond part of the current_time is bigger than 500ms,
adds extra 1sec
Change-Id: Ibf30d91c5361db0a2a732d05b014628d59d27ada
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Wed, 18 Sep 2019 01:34:01 +0000 (10:34 +0900)]
Remove outdated alarms
- When system time is changed or alarm is outdated unintentionally,
some alarms should be removed
Change-Id: I14a67fe86f08c636df65b073569f517e9300f1e9
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Fri, 30 Aug 2019 01:58:57 +0000 (10:58 +0900)]
Improve logs
Change-Id: I17bc94488338ce9dfa8c45b284a477ce007c112f
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Jusung Son [Tue, 10 Sep 2019 09:09:49 +0000 (18:09 +0900)]
Release version 0.8.4
Changes:
- Fix dbus policy to allow signal send by default
- Use SocketMode= insted of chmod
Change-Id: I29d0eb687b04a7607613dc43f7e18dbed30e83a2
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Hyotaek Shim [Tue, 10 Sep 2019 09:00:44 +0000 (18:00 +0900)]
Fix dbus policy to allow signal send by default
to avoid unexpected denial on ALARM prefix users
Jan 01 21:46:26 localhost dbus[2521]: [system] Rejected send message, 2 matched rules;
type="signal", sender=":1.5" (uid=0 pid=2494 comm="/usr/sbin/actd ") interface="org.tizen.system.Booting"
member="BootingDone" error name="(unset)" requested_reply="0" destination="dpm.analytics" privilege="(n/a)"
(bus) rule(<deny send_path="/org/tizen/system" send_interface="org.tizen.system.Booting"
send_member="BootingDone" send_type="error" />)
Change-Id: I38aaf83bce28a3152522cec491fd2f89cdbfc984
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Jusung Son [Tue, 3 Sep 2019 07:13:48 +0000 (16:13 +0900)]
Fix wrong return value
Change-Id: I2ab2345f1a1e096f45ad2c8f33c11630b1a10a60
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Jusung Son [Thu, 29 Aug 2019 07:25:14 +0000 (16:25 +0900)]
To handle RTC reset
Change-Id: I1df2d762b1e6ec50f1aa4be3cb415153b5f3881e
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Jusung Son [Thu, 29 Aug 2019 01:54:25 +0000 (10:54 +0900)]
Fix bug for time_t overflow
- time_t is long type but dbus arg is integer type
Change-Id: Ied5c2cd5b5aa4cd2a64ed2afdc707ec488c5f87f
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
INSUN PYO [Tue, 27 Aug 2019 03:08:02 +0000 (12:08 +0900)]
Use SocketMode= insted of chmod
Change-Id: Ie6310d027621e1b665838c18ed12814b9b9e75a9
Inkyun Kil [Mon, 26 Aug 2019 06:00:46 +0000 (15:00 +0900)]
Release version 0.8.3
Changes:
- Revert "tizen: Add additional unit for "unified" user session"
- Fix relative alarm calibration bug when changing system time
Change-Id: I1274d12e9d1761761cf71086361b57ccf1074a25
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Yunmi Ha [Tue, 20 Aug 2019 07:18:36 +0000 (07:18 +0000)]
Revert "tizen: Add additional unit for "unified" user session"
This reverts commit
cc2ed40cbc75ac348b7145e93cdbee7d79663f50.
We've optimized systemd-user without unified system/session.
So, we revert the patch for unified system/session.
Change-Id: I57a556f59b197f91d5443247109ae2efd43e7c61
Inkyun Kil [Wed, 21 Aug 2019 08:34:36 +0000 (17:34 +0900)]
Simplify logs
Change-Id: I711418b2e270dfddd842373805f0f8b2700a809b
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Tue, 23 Jul 2019 01:57:20 +0000 (10:57 +0900)]
Move codes
- Move codes related to timer from alarm-manager.c to
alarm-manager-timer.c
Change-Id: I9ce2bcc3de74391f45e2bd47ac41626f994bd9eb
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Tue, 23 Jul 2019 00:50:33 +0000 (09:50 +0900)]
Check return codes
- Remove meaningless return codes
- Check return value
Change-Id: Ifff8038f5b70acc3ba11ec0ea5b8f05e80339ddf
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Jusung Son [Mon, 12 Aug 2019 01:33:00 +0000 (10:33 +0900)]
Fix relative alarm calibration bug when changing system time
Change-Id: Ic4bac088492d85dc0f583097b6e5a07c3d9bd604
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Inkyun Kil [Thu, 1 Aug 2019 07:18:21 +0000 (16:18 +0900)]
Release version 0.8.2
Changes:
- Fix bugs for getting null notification data
Change-Id: Id3a46bd9ef3d187884da06dd3a1323273cb992d5
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Thu, 1 Aug 2019 06:51:08 +0000 (15:51 +0900)]
Fix bugs for getting null notification data
Change-Id: I7c35684ddd98c0e364cd76f352768cd7ba55bfea
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Thu, 18 Jul 2019 08:25:33 +0000 (17:25 +0900)]
Tidy source code up slightly
- Remove needless code
- Tidy a function up
- Remove codes related to pid
- Change value of max appid length
Change-Id: If73cf2ad02e79cb3932757c98744b55a8a5e65c3
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Fri, 28 Jun 2019 01:54:31 +0000 (10:54 +0900)]
Refactoring dbus codes
- Separate dbus codes from alarm-manager.c
- Remove gdbus codegen
Change-Id: Id2fc8e4c9048e01c00566d6f1d9ef9dd2d8a5dcc
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Wed, 3 Jul 2019 04:54:55 +0000 (13:54 +0900)]
Separate util codes from alarm-manager.c
Change-Id: I0f5ef6d8db2a84b71ea1fb2d5c18f6514ceccc39
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Tue, 28 May 2019 09:21:16 +0000 (18:21 +0900)]
Arrange db codes
Change-Id: I16f965adfcc13aeb1a59d083e4124fadee1f43b1
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Mon, 15 Apr 2019 07:10:51 +0000 (16:10 +0900)]
Dispensables
- Remove needless comments
- Remove dead codes
- Remove duplicated codes
Change-Id: I6c7400e58551bf73d99e5c3b4fe64e476b097c92
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Tue, 21 May 2019 02:51:06 +0000 (11:51 +0900)]
Adds unittest for alarm-manager daemon
Change-Id: Ie1c6a63b14223f5424602f1dc9efa09965c66c0a
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Tue, 21 May 2019 02:48:15 +0000 (11:48 +0900)]
Fix warning and add codes for GCOV
Change-Id: I9be01e028dbfdb794990216f2d3c6fa3a73a77a3
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Youngjae Shin [Wed, 18 Oct 2017 07:16:35 +0000 (16:16 +0900)]
refactoring build script for Gtest
Change-Id: Ie14bf7e0d0dfcf4f9f96ded51a183692d336b612
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
Junghoon Park [Thu, 2 May 2019 04:16:54 +0000 (13:16 +0900)]
Release version 0.8.1
Changes:
- Add an exception handling about getting system info
- tizen: Add additional unit for "unified" user session
Change-Id: Ib9e8937eb137c604097a7b3004dbcdc56df9b5c6
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>