platform/core/appfw/united-service.git
3 weeks agoRelease version 1.0.3 09/324509/1 accepted/tizen_unified accepted/tizen_unified_x accepted/tizen/unified/20250520.080527 accepted/tizen/unified/x/20250520.211442
Changgyu Choi [Tue, 20 May 2025 01:45:29 +0000 (10:45 +0900)]
Release version 1.0.3

Changes:
 - Fix wrong throw exception

Change-Id: I51c23257c40f4a853b9499f99804dfc090c045fa
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 weeks agoFix wrong throw exception 01/324501/2
Changgyu Choi [Tue, 20 May 2025 00:48:15 +0000 (09:48 +0900)]
Fix wrong throw exception

Change-Id: I89d6f6dc142f1775065e64fdfc0a792e37edeec9
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoRelease version 1.0.2 89/324389/1 accepted/tizen/unified/20250516.202941 accepted/tizen/unified/x/20250517.132156
Changgyu Choi [Fri, 16 May 2025 07:38:40 +0000 (16:38 +0900)]
Release version 1.0.2

Changes:
 - Fix variable shadowing

Change-Id: I9a703f4e3116b1463bfb4fd4edb01464e91fceca
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoFix variable shadowing 88/324388/1
Changgyu Choi [Fri, 16 May 2025 07:37:47 +0000 (16:37 +0900)]
Fix variable shadowing

-Werror=shadow added.

Change-Id: Id9f223b3cde006f7e0d2dc543ac813a30d340fae
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoRelease version 1.0.1 23/324323/1 accepted/tizen/unified/20250516.055915 accepted/tizen/unified/x/20250516.065656
Changgyu Choi [Thu, 15 May 2025 10:26:56 +0000 (19:26 +0900)]
Release version 1.0.1

Changes:
 - Fix README to meet compliance
 - Fix static analysis issues

Change-Id: Iba2b86cc9d481a6bdcbde43169c5b809000342d0
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoFix static analysis issues 09/324309/2
Changgyu Choi [Thu, 15 May 2025 07:59:40 +0000 (16:59 +0900)]
Fix static analysis issues

Changes:
 - fix uninitialized class variables.
 - Adds missing throw keyword.
 - Adds const keyword for unchanged value.

Change-Id: I9b106cbdbf34324e851f0d4173d78902ade525dc
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoMerge "Fix README to meet compliance" into tizen
JIHOI KIM [Thu, 15 May 2025 07:37:57 +0000 (07:37 +0000)]
Merge "Fix README to meet compliance" into tizen

4 weeks agoFix README to meet compliance 79/324279/1
Jihoi Kim [Thu, 15 May 2025 06:38:07 +0000 (15:38 +0900)]
Fix README to meet compliance

- Fix 'master-slave' pattern into 'main-secondary' pattern

Change-Id: I638f95b3e286248c0917241787d0ea2c8bb825cd
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
4 weeks agoRelease version 1.0.0 77/324277/1
Changgyu Choi [Thu, 15 May 2025 06:29:55 +0000 (15:29 +0900)]
Release version 1.0.0

united-service has been drafted.

Change-Id: I3e063c8a947546097eabc5f7f23b416358cb1603
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoMerge pull request #15 from jihoi-kim/fix_docs
김지회/Tizen Platform Lab(SR)/삼성전자 [Thu, 15 May 2025 02:02:46 +0000 (11:02 +0900)]
Merge pull request #15 from jihoi-kim/fix_docs

Fix sample code in documentation

4 weeks agoMerge pull request #16 from shine-kang/make_changes
강석형/Tizen Platform Lab(SR)/삼성전자 [Thu, 15 May 2025 01:54:05 +0000 (10:54 +0900)]
Merge pull request #16 from shine-kang/make_changes

Fix type mismatch

4 weeks agoFix type mismatch
SukhyungKang [Thu, 15 May 2025 01:41:40 +0000 (10:41 +0900)]
Fix type mismatch

Signed-off-by: SukhyungKang <shine.kang@samsung.com>
4 weeks agoMerge pull request #10 from appfw/changyu.choi/main_thread
최창규/Tizen Platform Lab(SR)/삼성전자 [Thu, 15 May 2025 01:27:53 +0000 (10:27 +0900)]
Merge pull request #10 from appfw/changyu.choi/main_thread

Add main thread service

4 weeks agoFix sample code in documentation
Jihoi Kim [Wed, 14 May 2025 11:42:37 +0000 (20:42 +0900)]
Fix sample code in documentation

Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
4 weeks agoApply feedbacks
Changgyu Choi [Wed, 14 May 2025 04:09:05 +0000 (13:09 +0900)]
Apply feedbacks

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoSupport main thread service quit
Changgyu Choi [Tue, 13 May 2025 08:52:24 +0000 (17:52 +0900)]
Support main thread service quit

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoChange usethread conf naming
Changgyu Choi [Mon, 28 Apr 2025 04:29:13 +0000 (13:29 +0900)]
Change usethread conf naming

Changes:
 - use-main-thread -> usethread

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoFix use_main_thread_ default value
Changgyu Choi [Mon, 28 Apr 2025 00:58:07 +0000 (09:58 +0900)]
Fix use_main_thread_ default value

use_main_thread_ default value must be false.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoAdd main thread service
Changgyu Choi [Sun, 27 Apr 2025 09:04:12 +0000 (18:04 +0900)]
Add main thread service

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoMerge pull request #8 from appfw/changyu.choi/on-demand
최창규/Tizen Platform Lab(SR)/삼성전자 [Wed, 14 May 2025 10:45:42 +0000 (19:45 +0900)]
Merge pull request #8 from appfw/changyu.choi/on-demand

Implement on-demand launch

4 weeks agoApply feedbacks
Changgyu Choi [Wed, 14 May 2025 09:02:09 +0000 (18:02 +0900)]
Apply feedbacks

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoPerform monitoring after service termination
Changgyu Choi [Tue, 22 Apr 2025 07:17:40 +0000 (16:17 +0900)]
Perform monitoring after service termination

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoAdd socket listening logic
Changgyu Choi [Mon, 14 Apr 2025 08:40:12 +0000 (17:40 +0900)]
Add socket listening logic

Systemd socket activation is not essential for socket activation of the service module.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoChange file activation to path activation
Changgyu Choi [Fri, 11 Apr 2025 07:16:38 +0000 (16:16 +0900)]
Change file activation to path activation

Path activation is a more general expression.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoImplement FileMonitor
Changgyu Choi [Fri, 11 Apr 2025 01:52:15 +0000 (10:52 +0900)]
Implement FileMonitor

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoImplement FdMonitor
Changgyu Choi [Wed, 9 Apr 2025 01:41:20 +0000 (10:41 +0900)]
Implement FdMonitor

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoImplement dbus ondemaind launch
Changgyu Choi [Thu, 10 Apr 2025 01:16:43 +0000 (10:16 +0900)]
Implement dbus ondemaind launch

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 weeks agoMerge pull request #14 from jihoi-kim/fix_build_err
김지회/Tizen Platform Lab(SR)/삼성전자 [Wed, 14 May 2025 06:35:10 +0000 (15:35 +0900)]
Merge pull request #14 from jihoi-kim/fix_build_err

Fix Arch Build Error

4 weeks agoFix Arch Build Error
Jihoi Kim [Wed, 14 May 2025 05:20:21 +0000 (14:20 +0900)]
Fix Arch Build Error

Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
4 weeks agoMerge pull request #5 from shine-kang/make_changes
강석형/Tizen Platform Lab(SR)/삼성전자 [Wed, 14 May 2025 04:40:56 +0000 (13:40 +0900)]
Merge pull request #5 from shine-kang/make_changes

Add priority for united service configurefile

4 weeks agoChange priority value from number to predefined value
SukhyungKang [Wed, 14 May 2025 04:20:34 +0000 (13:20 +0900)]
Change priority value from number to predefined value

Signed-off-by: SukhyungKang <shine.kang@samsung.com>
4 weeks agoMerge branch 'master' of https://github.sec.samsung.net/appfw/united-service into...
SukhyungKang [Wed, 14 May 2025 01:57:07 +0000 (10:57 +0900)]
Merge branch 'master' of https://github.sec.samsung.net/appfw/united-service into make_changes

Signed-off-by: SukhyungKang <shine.kang@samsung.com>
4 weeks agoFix Build Error by Arch
김지회/Tizen Platform Lab(SR)/삼성전자 [Wed, 14 May 2025 01:51:49 +0000 (10:51 +0900)]
Fix Build Error by Arch

Fix Build Error by Arch

4 weeks agoFix Build Error by Arch
Jihoi Kim [Tue, 13 May 2025 11:37:29 +0000 (20:37 +0900)]
Fix Build Error by Arch

- Use uint32 to calculate pss
- Use %zd to represent int value

Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
4 weeks agoMerge branch 'master' of https://github.sec.samsung.net/appfw/united-service into...
SukhyungKang [Tue, 13 May 2025 10:48:26 +0000 (19:48 +0900)]
Merge branch 'master' of https://github.sec.samsung.net/appfw/united-service into make_changes

Signed-off-by: SukhyungKang <shine.kang@samsung.com>
4 weeks agoImplement Watchdog Manager
김지회/Tizen Platform Lab(SR)/삼성전자 [Tue, 13 May 2025 08:48:00 +0000 (17:48 +0900)]
Implement Watchdog Manager

Implement Watchdog Manager

4 weeks agoFix Service Loader Context to be assigned
김지회/Tizen Platform Lab(SR)/삼성전자 [Tue, 13 May 2025 08:47:34 +0000 (17:47 +0900)]
Fix Service Loader Context to be assigned

Fix Service Loader Context to be assigned

5 weeks agoMerge branch 'master' of https://github.sec.samsung.net/appfw/united-service into...
SukhyungKang [Fri, 9 May 2025 04:18:39 +0000 (13:18 +0900)]
Merge branch 'master' of https://github.sec.samsung.net/appfw/united-service into make_changes

Signed-off-by: SukhyungKang <shine.kang@samsung.com>
5 weeks agoCode refactoring for readability
Jihoi Kim [Thu, 8 May 2025 04:26:05 +0000 (13:26 +0900)]
Code refactoring for readability

Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
6 weeks agoImplement watchdog manager
Jihoi Kim [Mon, 28 Apr 2025 12:20:33 +0000 (21:20 +0900)]
Implement watchdog manager

Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
6 weeks agoFix Service Loader Context to be assigned
Jihoi Kim [Mon, 28 Apr 2025 08:41:53 +0000 (17:41 +0900)]
Fix Service Loader Context to be assigned

- Currently, there are no operation that initialize ::Context
- The context should be assigned ServiceLoaderExt.ctor

Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
6 weeks agoMerge pull request #9 from appfw/changyu.choi/fix
최창규/Tizen Platform Lab(SR)/삼성전자 [Mon, 28 Apr 2025 04:39:30 +0000 (13:39 +0900)]
Merge pull request #9 from appfw/changyu.choi/fix

Change service module interface name

6 weeks agoAdd priority for united service configurefile run from state callback
SukhyungKang [Fri, 25 Apr 2025 01:56:19 +0000 (10:56 +0900)]
Add priority for united service configurefile run from state callback

Signed-off-by: SukhyungKang <shine.kang@samsung.com>
8 weeks agoAdd priority for united service configurefile using wait lock
SukhyungKang [Tue, 15 Apr 2025 08:47:54 +0000 (17:47 +0900)]
Add priority for united service configurefile using wait lock

Signed-off-by: SukhyungKang <shine.kang@samsung.com>
8 weeks agoChange service module interface name
Changgyu Choi [Tue, 15 Apr 2025 10:17:58 +0000 (19:17 +0900)]
Change service module interface name

The naming "unified service" is ambiguous because it is used interchangeably in apps and daemon frameworks.

Changes:
 - UNITED_SERVICE_INIT -> USD_MOD_INIT
 - UNITED_SERVICE_SHUTDOWN -> USD_MOD_SHUTDOWN

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
8 weeks agoMerge branch 'master' of https://github.sec.samsung.net/appfw/united-service into...
SukhyungKang [Thu, 10 Apr 2025 22:50:09 +0000 (07:50 +0900)]
Merge branch 'master' of https://github.sec.samsung.net/appfw/united-service into make_changes

2 months agoAdd priority for united service configurefile
SukhyungKang [Fri, 4 Apr 2025 00:25:58 +0000 (09:25 +0900)]
Add priority for united service configurefile

Signed-off-by: SukhyungKang <shine.kang@samsung.com>
2 months agoMerge pull request #6 from appfw/changyu.choi/shutdown
최창규/Tizen Platform Lab(SR)/삼성전자 [Thu, 10 Apr 2025 06:19:13 +0000 (15:19 +0900)]
Merge pull request #6 from appfw/changyu.choi/shutdown

Modify UNITED_SERVICE_SHUTDOWN interface

2 months agoModify UNITED_SERVICE_SHUTDOWN interface
Changgyu Choi [Thu, 10 Apr 2025 06:12:57 +0000 (15:12 +0900)]
Modify UNITED_SERVICE_SHUTDOWN interface

service_unregister() method needs name parameter.
So, UNITED_SERVICE_SHUTDOWN interface should include a name paremeter.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 months agoModify Quit method of Service
Hwankyu Jhun [Tue, 8 Apr 2025 23:40:14 +0000 (08:40 +0900)]
Modify Quit method of Service

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRemove unnecessary mutex
Hwankyu Jhun [Tue, 8 Apr 2025 02:03:06 +0000 (11:03 +0900)]
Remove unnecessary mutex

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRemove service_manager.h header file
Hwankyu Jhun [Tue, 8 Apr 2025 00:59:35 +0000 (09:59 +0900)]
Remove service_manager.h header file

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoUse tizen_base::Exception class to throw exceptions
Hwankyu Jhun [Mon, 7 Apr 2025 23:46:20 +0000 (08:46 +0900)]
Use tizen_base::Exception class to throw exceptions

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoModify ServiceLoader Implementation
Hwankyu Jhun [Mon, 7 Apr 2025 11:55:11 +0000 (20:55 +0900)]
Modify ServiceLoader Implementation

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoMerge pull request #4 from shine-kang/make_changes
전환규/Tizen Platform Lab(SR)/삼성전자 [Thu, 3 Apr 2025 02:15:32 +0000 (11:15 +0900)]
Merge pull request #4 from shine-kang/make_changes

Change error type name for service loader

2 months agoChange error type name
SukhyungKang [Wed, 2 Apr 2025 00:41:11 +0000 (09:41 +0900)]
Change error type name

- change error type name for service loader

Signed-off-by: SukhyungKang <shine.kang@samsung.com>
2 months agoCheck calling thread ID
Hwankyu Jhun [Mon, 31 Mar 2025 07:25:07 +0000 (16:25 +0900)]
Check calling thread ID

If it's equal to the caller thread, we should skip calling
std::conditional_variable.wait().

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoMerge pull request #2 from appfw/changyu.choi/thread_event
최창규/Tizen Platform Lab(SR)/삼성전자 [Wed, 26 Mar 2025 01:23:57 +0000 (10:23 +0900)]
Merge pull request #2 from appfw/changyu.choi/thread_event

Send state changed event to threads

2 months agoSend state changed event to threads
Changgyu Choi [Mon, 24 Mar 2025 02:16:37 +0000 (11:16 +0900)]
Send state changed event to threads

OnServiceStateChanged() event handler should be invoked from the thread
that registered the event handler.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 months agoAdd descriptions
Hwankyu Jhun [Fri, 21 Mar 2025 07:15:35 +0000 (16:15 +0900)]
Add descriptions

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoAdd descriptions to service_loader.h file
Hwankyu Jhun [Fri, 21 Mar 2025 03:35:25 +0000 (12:35 +0900)]
Add descriptions to service_loader.h file

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoFix wrong implementation
Hwankyu Jhun [Wed, 19 Mar 2025 12:23:15 +0000 (21:23 +0900)]
Fix wrong implementation

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoModify configuration path
Hwankyu Jhun [Wed, 19 Mar 2025 11:43:15 +0000 (20:43 +0900)]
Modify configuration path

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoFix wrong implementations
Hwankyu Jhun [Tue, 18 Mar 2025 23:37:29 +0000 (08:37 +0900)]
Fix wrong implementations

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoModify implementation
Hwankyu Jhun [Tue, 18 Mar 2025 10:03:14 +0000 (19:03 +0900)]
Modify implementation

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoFix ServiceContext class
Hwankyu Jhun [Tue, 18 Mar 2025 02:16:05 +0000 (11:16 +0900)]
Fix ServiceContext class

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoAdd ServiceContext & ServiceInfo classes
Hwankyu Jhun [Tue, 18 Mar 2025 02:04:48 +0000 (11:04 +0900)]
Add ServiceContext & ServiceInfo classes

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoAdd Dictionary class
Hwankyu Jhun [Mon, 17 Mar 2025 01:57:32 +0000 (10:57 +0900)]
Add Dictionary class

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoInit
Hwankyu Jhun [Sun, 16 Mar 2025 23:33:44 +0000 (08:33 +0900)]
Init

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoAdd README markdown
Hwankyu Jhun [Fri, 24 Jan 2025 03:29:21 +0000 (12:29 +0900)]
Add README markdown

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>