Hwankyu Jhun [Fri, 17 Jan 2025 01:03:54 +0000 (10:03 +0900)]
Release version 2.6.0
Changes:
- Use string literal operator for getting hash code
- Add new types
- Fix static analysis issue
- Introduce the new type 'file_desc'
Change-Id: I5b909dbe7fc28c097d680a9360089011cc948d30
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
pjh9216 [Thu, 9 Jan 2025 06:18:20 +0000 (15:18 +0900)]
Introduce the new type 'file_desc'
- To send file descriptors between proxy and stub, the new type 'file_desc'
has been added.
- C, C++ and rust generator supports this type.
Change-Id: I51303a5a31c177a2af5b8c1a4b0df5e2a9fc2031
Signed-off-by: pjh9216 <jh9216.park@samsung.com>
Junghoon Park [Thu, 2 Jan 2025 23:41:24 +0000 (23:41 +0000)]
Merge "Add new types" into tizen
Jihoi Kim [Thu, 2 Jan 2025 07:08:15 +0000 (16:08 +0900)]
Fix static analysis issue
- Fix UNINIT.CTOR.MANY
- This fix is to affect generated cpp codes by tidlc
Change-Id: I26d03ee23d72cc770ba2649b6723e161817c1995
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
pjh9216 [Mon, 23 Dec 2024 06:10:34 +0000 (15:10 +0900)]
Add new types
- add i8, i16, i32, i64, u8, u16, u32, u64, f32, f64
Change-Id: I52684a3d6495f674cb74000758694bf38cfab95b
Signed-off-by: pjh9216 <jh9216.park@samsung.com>
pjh9216 [Fri, 20 Dec 2024 05:07:24 +0000 (14:07 +0900)]
Use string literal operator for getting hash code
Change-Id: Ib416410581e43ad7a5017d5df55c13c6759732e9
Signed-off-by: pjh9216 <jh9216.park@samsung.com>
Hwankyu Jhun [Fri, 20 Dec 2024 00:31:42 +0000 (09:31 +0900)]
Release version 2.5.0
Changes:
- Refactor Unit in C++ and rust generator for improving performance
- Refactor Unit in C# generator for improving performance
- Refactor Unit in C generator for improving performance
Change-Id: I2c4b2ca107e7cbf8b873dd29ab51841f816e8a19
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
pjh9216 [Wed, 4 Dec 2024 04:50:41 +0000 (13:50 +0900)]
Refactor Unit in C generator for improving performance
Change-Id: Ia250d8f04e8e6f08fef558f2041be318746c2430
Signed-off-by: pjh9216 <jh9216.park@samsung.com>
pjh9216 [Mon, 25 Nov 2024 04:31:30 +0000 (13:31 +0900)]
Refactor Unit in C# generator for improving performance
Change-Id: Ib0ed3e560cace08572e99032b182c7cd2df4d484
Signed-off-by: pjh9216 <jh9216.park@samsung.com>
Junghoon Park [Fri, 20 Dec 2024 00:19:54 +0000 (00:19 +0000)]
Merge "Refactor Unit in C++ and rust generator for improving performance" into tizen
Hwankyu Jhun [Fri, 13 Dec 2024 09:49:40 +0000 (18:49 +0900)]
Release version 2.3.4
Changes:
- [Version 2] Add dummy argument to delegate handle
Change-Id: I9d592aec0f592f1a8c61a0ca9ec737e58bf1d22c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 13 Dec 2024 07:37:15 +0000 (16:37 +0900)]
[Version 2] Add dummy argument to delegate handle
We should consider local execution mode. This patch adds a dummy
argument to the delegate structure.
Change-Id: I963645359b4c0fc1823147db067e531f4277ad1e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
jusung son [Thu, 12 Dec 2024 02:01:46 +0000 (11:01 +0900)]
Change version to 10.0
Change-Id: I8e90106b00b75295b3cc54775120af65b6b2e89c
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Thu, 12 Dec 2024 01:50:43 +0000 (10:50 +0900)]
Release version 2.3.3
Changes:
- tidlc.exe update
Change-Id: Icf2ac322698514629e5b20a2ea290cd6c87e48b9
Signed-off-by: jusung son <jusung07.son@samsung.com>
pjh9216 [Mon, 25 Nov 2024 00:54:53 +0000 (09:54 +0900)]
Refactor Unit in C++ and rust generator for improving performance
- Modify unit protocol
- Change unit key from string to i32
- Fix warnings
Change-Id: I271c0ed0274c533d2ea7b802928480cfa98a2f85
Signed-off-by: pjh9216 <jh9216.park@samsung.com>
jusung son [Thu, 28 Nov 2024 00:19:45 +0000 (09:19 +0900)]
Release version 2.3.2
Changes:
- Fix static analysis issue
Change-Id: Ibd9be05bdc6c584a23299cf627bd469b4027e063
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Wed, 27 Nov 2024 06:28:00 +0000 (15:28 +0900)]
Fix static analysis issue
- SEC_DO_NOT_USE_INT_IN_FOR_LOOP
Change-Id: I9696385b54bf7643a9572ea5eb7769ba218dd481
Signed-off-by: jusung son <jusung07.son@samsung.com>
dongkwan [Fri, 11 Oct 2024 05:49:25 +0000 (14:49 +0900)]
Release version 2.3.1
Changes:
- Add rust description in README.md
Change-Id: Ia5ec130379d14077d35b4e7cd274ca8008253a98
Signed-off-by: dongkwan <dk3776.kim@samsung.com>
dongkwan [Thu, 10 Oct 2024 04:36:52 +0000 (13:36 +0900)]
Add rust description in README.md
- add rust data type
- add tidl generated rust code
Change-Id: Ibcb165c360be44059f314312a760911f77d84fda
Signed-off-by: dongkwan <dk3776.kim@samsung.com>
Hwankyu Jhun [Mon, 23 Sep 2024 08:05:10 +0000 (17:05 +0900)]
Release version 2.3.0
Changes:
- Implement rust tidl generator
Change-Id: Iceca84f577235c5770f8f00a2dc333c86cf06134
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Mon, 23 Sep 2024 07:52:51 +0000 (07:52 +0000)]
Merge "Implement rust tidl generator" into tizen
Changgyu Choi [Wed, 4 Sep 2024 00:37:01 +0000 (09:37 +0900)]
Implement rust tidl generator
Rust tidl generator has been supported.
It supports only version2 protocol.
Change-Id: Id6e170a90b029c45f33e5214def5409f46b6e7b0
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
SukhyungKang [Wed, 4 Sep 2024 05:58:19 +0000 (14:58 +0900)]
Release version 2.2.5
Changes:
- Fix wrong input parameter
- Add header generator to get peer information
Change-Id: Ibf329ef18c6a3044228b2a41ac0bc9bab826c04e
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
SukhyungKang [Wed, 4 Sep 2024 05:31:15 +0000 (14:31 +0900)]
Add header generator to get peer information
Change-Id: If7fc5ff7b613914ad83e2a4f6b933f0c5e68eb4d
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
Ilho Kim [Tue, 3 Sep 2024 09:24:20 +0000 (18:24 +0900)]
Fix wrong input parameter
Change-Id: I38eb5f0d9fbd35b48503637616d1b51efca743c5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
SukhyungKang [Mon, 2 Sep 2024 02:57:48 +0000 (11:57 +0900)]
Release version 2.2.4
Changes:
- Fix set value for array in c base generator
Change-Id: I28f3274c5bac6b72a2ca5495cab456a9c9f33d9d
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
SukhyungKang [Mon, 2 Sep 2024 01:16:24 +0000 (10:16 +0900)]
Fix set value for array in c base generator
Change-Id: Idbf48f6c380a0456745018eacec23ce4f28e0e8d
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
Hwankyu Jhun [Wed, 28 Aug 2024 04:17:02 +0000 (13:17 +0900)]
Release version 2.2.3
Changes:
- Fix a bug about Read() & Write() method of UnitMap
Change-Id: Ic51faad96ff22aba5a1a514d15abe34ec465e712
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 22 Aug 2024 01:28:25 +0000 (10:28 +0900)]
Fix a bug about Read() & Write() method of UnitMap
If there are two interfaces, the tidlc does not generate Read() & Write()
method of the CallbackBase of the second interface.
This patch fixes it.
Change-Id: I6ed21f5c75fdaa374eff92aac46701642a8564df
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 5 Aug 2024 03:22:23 +0000 (12:22 +0900)]
Release version 2.2.2
Changes:
- Fix typo
Change-Id: I530ac640fa44fe3fb1deb6fc805eccc80d85d315
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 5 Aug 2024 02:23:47 +0000 (11:23 +0900)]
Fix typo
The function name must be "rpc_port_get_peer_info()".
Change-Id: I3ac210eb19bf6724ba702009c1e354e89a1e6538
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 29 Jul 2024 03:18:13 +0000 (12:18 +0900)]
Release version 2.2.1
Changes:
- Fix wrong implementation
Change-Id: Ieb5508461de9124eecb96fc46e077742404ddcc6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 29 Jul 2024 02:57:29 +0000 (11:57 +0900)]
Fix wrong implementation
The "$$" string must be changed properly.
Change-Id: Ie0d6dd8c79838470a6ecab8d135c19fbca4c7de1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 29 Jul 2024 00:44:10 +0000 (09:44 +0900)]
Release version 2.2.0
Changes:
- [c++] Add missing implementation
- Add getting peer info method for inhouse packages
Change-Id: I5f41aef0bbd5139a22e2455159a56d65d48b5a89
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 24 Jul 2024 05:21:11 +0000 (14:21 +0900)]
Add getting peer info method for inhouse packages
This patch adds a new method for inhouse developers.
- <PREFIX>_<NAME>_context_get_peer_info()
- ServiceBase::GetPid()
- ServiceBase::GetUid()
Change-Id: I1ad077c2feece1004056fbd3549525b3aa6fe118
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Tue, 23 Jul 2024 08:14:26 +0000 (17:14 +0900)]
[c++] Add missing implementation
Interface attributes should be added.
Change-Id: I51793b5686ed729e85f09753e8d9b7e6194a5b28
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Tue, 16 Jul 2024 00:01:41 +0000 (09:01 +0900)]
Release version 2.1.1
Changes:
- Modify local execution mode
Change-Id: I6839a8479e8faa5a05f119f62769d217e5ddbbdb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 15 Jul 2024 22:50:22 +0000 (07:50 +0900)]
Modify local execution mode
If the thread ID is equal to the process ID, the callback function
should be invoked. This patch is for backward compatibility.
Change-Id: I3250fbc0db0b1969c754443a378ff1f57bf4a83e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 12 Jul 2024 04:03:05 +0000 (13:03 +0900)]
Release version 2.1.0
Changes:
- Use thread default context for local execution mode
Change-Id: I8af2cde30fc2a4cf615577e6501af9071a19b1ed
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 11 Jul 2024 02:17:40 +0000 (11:17 +0900)]
Use thread default context for local execution mode
To invoke the event callback properly, the generated code should use
the thread default context instead of the default context.
Change-Id: Ie692be7e320c2e4545f56a7307a08d99c91d0db1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 18 Jun 2024 07:03:17 +0000 (16:03 +0900)]
Release version 2.0.12
Changes:
- Fix wrong implementation
Change-Id: Ib74598e54e7f577f6499c5b8ec42cc4133919d94
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 18 Jun 2024 06:59:17 +0000 (15:59 +0900)]
Fix wrong implementation
The param_name should be used to set the proper value.
Change-Id: I6b4f06e6491455b2590b29d5b1806d8f4389dbfd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 18 Jun 2024 06:16:19 +0000 (15:16 +0900)]
Release version 2.0.11
Changes:
- Fix bugs related to ref keyword
- Modify version 2 generator
Change-Id: Ib41b252f69d3fcd476afc407058a488fbba99adb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 18 Jun 2024 06:03:06 +0000 (15:03 +0900)]
Modify version 2 generator
To remove build warning messages, this patch adds initial value settings.
Change-Id: I4ff319f7a86f060e77d14c517e149680c27cc5ec
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 18 Jun 2024 05:04:58 +0000 (14:04 +0900)]
Fix bugs related to ref keyword
The ref parameter must be written and read.
Change-Id: I0a98164213c033329ad7b58262b9669caec6cdf3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 12 Jun 2024 01:16:02 +0000 (10:16 +0900)]
Release version 2.0.10
Changes:
- Fix README markdown
- Fix user enum type out parameter in c proxy
- Add a new option for inhouse developers
Change-Id: I751f3523484295f9b714a7e2d0dd45c84cdd9941
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 11 Jun 2024 02:34:58 +0000 (11:34 +0900)]
Add a new option for inhouse developers
The 'extension' options is added.
It provides the function that checks whether the pending request exists
or not.
Change-Id: Iab71b0dc8fc5ef7c2d80dd721ed17dc4682f381a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Ilho Kim [Tue, 28 May 2024 09:57:46 +0000 (18:57 +0900)]
Fix user enum type out parameter in c proxy
Change-Id: I0c7715ea9ed885a1c68c01bd93bb790f07303836
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Hwankyu Jhun [Thu, 16 May 2024 06:15:56 +0000 (15:15 +0900)]
Fix README markdown
This patch fixes wrong code implementation.
Change-Id: Icfd3ed02ab15f4fd2f20308654b40e8698907759
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 25 Apr 2024 06:14:51 +0000 (15:14 +0900)]
Release version 2.0.9
Changes:
- Notify stub termination for local execution mode
Change-Id: I21c9b4c04cc4f8c25ed93ef142a05828af63f918
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 25 Apr 2024 05:36:55 +0000 (14:36 +0900)]
Notify stub termination for local execution mode
While calling a destructor of the stub, the proxy should get the
disconnected event from the stub.
Change-Id: I2ae41f3f69ede236059183ca0ce217beb2ff7a28
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 25 Apr 2024 02:24:53 +0000 (11:24 +0900)]
Release version 2.0.8
Changes:
- [cion] Fix delegate callback id
- Fix C++ generator of protocol version 2
- Fix C++ Generator of version 2
Change-Id: Ie22779522dd9d050e509eb9b2ad7201384ad22f0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 25 Apr 2024 02:00:17 +0000 (11:00 +0900)]
Fix C++ Generator of version 2
- Add setting the initialization value
Change-Id: I7226c5892c948a75b044fd6ca21257ac8c67ec10
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 25 Apr 2024 01:01:10 +0000 (10:01 +0900)]
Fix C++ generator of protocol version 2
- Remove uid check before getting appid
- Check whether the listener is nullptr or not
Change-Id: I310d080fd9d3c0ed70b96bb283aff71e386fd084
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
jusung son [Mon, 22 Apr 2024 04:57:10 +0000 (13:57 +0900)]
[cion] Fix delegate callback id
Change-Id: I5cf4c2ec163b356a975faa99732320e608b1d704
Signed-off-by: jusung son <jusung07.son@samsung.com>
Hwankyu Jhun [Mon, 8 Apr 2024 05:25:34 +0000 (14:25 +0900)]
Release version 2.0.7
Changes:
- Remove build tests
Change-Id: I2e2b89c4f1ae93e67664d671fc4e70ff5d6e2df0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 8 Apr 2024 04:51:36 +0000 (13:51 +0900)]
Remove build tests
To remove dependencies of core APIs, this patch removes build tests.
The build tests is moved to the internal repository(appfw/tidl-build-test).
Change-Id: I10e664a27c0c208c21909acd90b5e18c2c9a3a66
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Thu, 21 Mar 2024 05:27:15 +0000 (14:27 +0900)]
Modify gcov test command options
Change-Id: I044a32af4a2e072d9e0f7035db897a7ddfacaf52
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Thu, 21 Mar 2024 01:44:49 +0000 (10:44 +0900)]
Fix lcov output name to package
Change-Id: I857fccc6aef319f2003e387963d4361672ae06af
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 15 Mar 2024 01:18:17 +0000 (10:18 +0900)]
Release version 2.0.6
Changes:
- Fix from -std=c++11 to -std=c++14 for gtest 1.14.0 version upgrade
- Increase c++ version to 17
Change-Id: I29e9f6cd1b060e51180585a367a9561883892367
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 15 Mar 2024 01:05:33 +0000 (10:05 +0900)]
Increase c++ version to 17
Dibs can support c++17.
Change-Id: Ia040c73cadb68045a894df604e8704b412718dc9
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
JinWang An [Thu, 14 Mar 2024 08:02:14 +0000 (17:02 +0900)]
Fix from -std=c++11 to -std=c++14 for gtest 1.14.0 version upgrade
Change-Id: I9c87e3a56256ad3381ad627db8e2b3c0978a15fd
Signed-off-by: JinWang An <jinwang.an@samsung.com>
Changgyu Choi [Tue, 12 Mar 2024 04:43:30 +0000 (13:43 +0900)]
Release version 2.0.5
Changes:
- Remove log prints
- Fix lcov option for lcov 2.0
Change-Id: If3c4b6bf32b297717897e21f878299ccb4a562f7
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 12 Mar 2024 04:13:24 +0000 (13:13 +0900)]
Fix lcov option for lcov 2.0
"mismatch,graph,unused" options are added.
Change-Id: Ic6e7738d390bfddc88f5177bcd2890ddbebfd78f
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Tue, 5 Mar 2024 01:00:12 +0000 (10:00 +0900)]
Remove log prints
The generated code prints the version and sequence informations for debugging.
The log output makes a communication delay. This patch removes debug log messages.
Change-Id: I2a4de4c637fb76d174d8e496cd3c8f8b698cab2e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Wed, 31 Jan 2024 00:26:59 +0000 (09:26 +0900)]
Release version 2.0.4
Changes:
- Change version to 9.0
Change-Id: I306df4e6b4f12d400f555c2e158fd32b31f983db
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 31 Jan 2024 00:05:45 +0000 (09:05 +0900)]
Change version to 9.0
Change-Id: Iff09744277e57283d25fbbdbed7f3e5040d8906b
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Thu, 21 Dec 2023 02:22:31 +0000 (11:22 +0900)]
Release version 2.0.3
Changes:
- Fix build fail issue for gcc13
Change-Id: Ifb1c881a57f6792debab46888a3d5a1d106ee548
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Thu, 21 Dec 2023 02:04:25 +0000 (11:04 +0900)]
Fix build fail issue for gcc13
gcc13 has a bug related with array-bounds checking.
References:
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
Change-Id: Ie4bad81b42c548c5e93fd36c81256ba4d9e2edf4
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Wed, 6 Dec 2023 06:45:57 +0000 (15:45 +0900)]
Release version 2.0.2
Changes:
- Modify README markdown
- Add locking and unlocking mutex
- [v2] Add locking and unlocking mutex
Change-Id: Ica45d822cc841f09a13bea0620b99ad7aeb6fdb9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 6 Dec 2023 06:32:27 +0000 (15:32 +0900)]
[v2] Add locking and unlocking mutex
It is problematic if a callback invoke event is delivered to the main thread
while calling callback dispose() in the sub-thread.
To fix the thread safe issue, this patch adds locking & unlocking mutex.
Change-Id: I3617a0896463ea2bea3574e00812a937b179b6ec
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 6 Dec 2023 04:49:56 +0000 (13:49 +0900)]
Add locking and unlocking mutex
It is problematic if a callback invoke event is delivered to the main thread
while calling callback dispose() in the sub-thread.
To fix the thread safe issue, this patch adds locking & unlocking mutex.
Change-Id: I4cd8d3a47d40fadc773775f9c6b6aa7a4000ab6e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 19 Sep 2023 04:53:03 +0000 (13:53 +0900)]
Modify README markdown
- Fixes typo
- Changes '**Note**' to '[!NOTE]'
Change-Id: Ia7290c1e680d49ddc0d3659d27e1f3958ce450df
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 18 Sep 2023 05:31:14 +0000 (14:31 +0900)]
Release version 2.0.1
Changes:
- Update README markdown for protocol version 2
Change-Id: I5a366bc4ccc5ba48fe515fae31f3b03f7f1d9233
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 15 Sep 2023 09:29:09 +0000 (18:29 +0900)]
Update README markdown for protocol version 2
From Tizen 8.0, the following features are supported:
- Enum Type
- Import Another TIDL File
- Method Privilege
- Map and Set Container Type
- Marshalling Type Info
- Struct Inheritance
- Remote Exception
- Local Execution Mode
- Private Sharing (without -b option)
Change-Id: I60bce05d855423576ff9868c0f74fc40518ee98c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 14 Sep 2023 02:08:32 +0000 (11:08 +0900)]
Release version 2.0.0
Changes:
- Support 'struct' inheritance
- Support local execution mode
- Impelment C++ Generator
- Implement C# Generator
- Fix build error
- Implement C++ Group Generator
- Separate generator code from main file
- Modify Map & Set implementation of C generator
- Modify supporting enum type
- Modify C Generator
- Support Map & Set container for C++ Generator
- Support enum type for C++ generator
- Modify C Generator related to Remote Exception feature
- Fix a bug of C++ Generator
- Support enum type for C# generator
- Support Map & Set container for C# Generator
- Fix a bug of C# Generator
- Fix coding style
- Support method privilege check for C# Generator
- Fix bugs related to unit map
- Support RemoteException for C# Generator
- Change unit map api signature for C# Generator
- Support 'struct' inheritance feature for C# Generator
- Support RemoteException for C++ Generator
- Support method privilege check for C++ Generator
- Support 'struct' inheritance feature for C++ Generator
- Support Local Execution Mode for C++ Generator
- Modify port name of C stub code
- Modify local execution mode of C++ generator
- Modify LocalExecutionMode of C++ Generator
- Modify LocalExecutionMode of C Generator
- Support Local Execution Mode for C# Generator
Change-Id: Iff68da9b1790600a5ed75aae2e8eb90e957b18ac
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
jusung son [Wed, 13 Sep 2023 07:16:47 +0000 (16:16 +0900)]
Support Local Execution Mode for C# Generator
Change-Id: I334e779f472e3a6b0fe7c128db69c3eed21b8621
Signed-off-by: jusung son <jusung07.son@samsung.com>
Hwankyu Jhun [Mon, 11 Sep 2023 23:30:33 +0000 (08:30 +0900)]
Modify LocalExecutionMode of C Generator
The event will be delivered using g_idle_add() to avoid stack overflow.
Change-Id: I1fbaba89f607174ff1f28719a51eeee5fa7ad47f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 11 Sep 2023 08:34:00 +0000 (17:34 +0900)]
Modify LocalExecutionMode of C++ Generator
If the client calls the Connect() method twice, the method returns
an error value.
The rpc_port_stub_<INPUT_FILE>_lem_xxx() functions uses g_idle_add() if
the caller thread ID is not equal to the process ID.
Change-Id: I5e91b6df7367293f6e021028ed78c060b2d125f9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 11 Sep 2023 08:04:03 +0000 (17:04 +0900)]
Modify local execution mode of C++ generator
In the previous implementation, the local execution mode only supports
the asynchronous connection request. After this patch is applied,
the synchronous connection request is supported.
Change-Id: I3ad1831bdce99426e5a393b4633d1566a8812c36
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 28 Aug 2023 00:45:02 +0000 (09:45 +0900)]
Modify port name of C stub code
This patch changes the hardcoded name to the proper name.
Change-Id: I457ef2a2b24757ac292b48adb8f92b60ab209308
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 22 Aug 2023 08:20:42 +0000 (17:20 +0900)]
Support Local Execution Mode for C++ Generator
This patch supports the local execution mode. If the stub is equal to
the proxy, the local method will be invoked.
Change-Id: I913865b82f079b95b9b5d6c4c28b12792089467e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 17 Aug 2023 09:30:18 +0000 (18:30 +0900)]
Support 'struct' inheritance feature for C++ Generator
This patch supports the struct inheritance feature.
Change-Id: Ic3c4749316c8fc870da6e621976e6f094cef9d38
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 16 Aug 2023 05:12:18 +0000 (14:12 +0900)]
Support method privilege check for C++ Generator
This patch supports the method privilege check feature. The developer
can set the privilege for each methods.
Change-Id: I9991b3554712878580700127b17ea969617c3e65
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 11 Aug 2023 00:10:33 +0000 (09:10 +0900)]
Support RemoteException for C++ Generator
The stub can throw the RemoteException instance to the proxy.
Change-Id: I2f0ff327f88012ec10b120e1c8d73c1a3bc92f13
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
jusung son [Thu, 24 Aug 2023 11:06:17 +0000 (20:06 +0900)]
Support 'struct' inheritance feature for C# Generator
Change-Id: Ib87019148b06e7f3d1f8de36d6c5f2a8b96f4903
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Thu, 24 Aug 2023 10:56:35 +0000 (19:56 +0900)]
Change unit map api signature for C# Generator
internal void Read(string name, string type, out <PARAM_TYPE> value) =>
internal void Read(string name, out <PARAM_TYPE> value)
internal void Write(string name, string type, <PARAM_TYPE> value) =>
internal void Write(string name, <PARAM_TYPE> value)
Change-Id: I630fc3aac82cbe89ad217fba01ab2008f736fd22
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Fri, 18 Aug 2023 07:13:30 +0000 (16:13 +0900)]
Support RemoteException for C# Generator
Change-Id: I2026724c180361dda912e8642476b55ff84dda89
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Thu, 17 Aug 2023 00:05:02 +0000 (09:05 +0900)]
Fix bugs related to unit map
Depending on the parameter marshaling feature,
it is not an error even if there are no parameters.
Change-Id: I4b624b8aff87260a6814776168be9ad13dc37dac
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Wed, 16 Aug 2023 06:09:54 +0000 (15:09 +0900)]
Support method privilege check for C# Generator
Change-Id: I5bf46f178257376a4d8b19767a864461b3c41c9b
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Wed, 16 Aug 2023 01:26:25 +0000 (10:26 +0900)]
Fix coding style
Change-Id: I0b70c79a4af3695fbd3aac39e30c3363a771542e
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Wed, 16 Aug 2023 01:05:53 +0000 (10:05 +0900)]
Fix a bug of C# Generator
- If there is no delegate, callback base is not generated.
Change-Id: Ib12d0cb50b4a2967550cc1df8b1e9d3bc7a21ade
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Fri, 11 Aug 2023 07:21:54 +0000 (16:21 +0900)]
Support Map & Set container for C# Generator
This patch supports map and set container types.
Change-Id: I3f8284ad24a321222d5ba8fbb7ab8876f0a3852c
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Fri, 11 Aug 2023 05:05:28 +0000 (14:05 +0900)]
Support enum type for C# generator
This patch supports the enumeration type.
Change-Id: I4d98d81bb122fec217117458057c82d0ef74c470
Signed-off-by: jusung son <jusung07.son@samsung.com>
Hwankyu Jhun [Fri, 11 Aug 2023 01:04:20 +0000 (10:04 +0900)]
Fix a bug of C++ Generator
The type name should use the underbar instead of dot.
e.g. map<int, peer_info.channel_type>
=> map_int_peer_info_channel_type
Change-Id: I2fc9566483b8f2433a9611cff3830fb38c523f79
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 10 Aug 2023 07:31:40 +0000 (16:31 +0900)]
Modify C Generator related to Remote Exception feature
This patch modifies the remote exception feature. The interface name is
removed from the remote exception handle.
Changes:
- Remove the interface name from the remote exception handle
- Adjust coding style
Change-Id: Ib79e7c68031e395aeca24be112477b06e3af85c6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 8 Aug 2023 04:30:17 +0000 (13:30 +0900)]
Support enum type for C++ generator
This patch supports the enumeration type.
Change-Id: If6dce33a7e5c6ba87bdf9dd84e10641b6642c08a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 7 Aug 2023 05:10:12 +0000 (14:10 +0900)]
Support Map & Set container for C++ Generator
This patch supports map and set container types.
Change-Id: I9bf1e9164b1b7050b94584194064b8f339d24112
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 9 Aug 2023 05:54:13 +0000 (14:54 +0900)]
Modify C Generator
- Modifies SmartIndent method
- Modifies code blocks for coding style
- Modifies log message related to enum type
Change-Id: I145645d7de6304c24fa014bf83fbd72d79ed4bfc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 8 Aug 2023 22:50:11 +0000 (07:50 +0900)]
Modify supporting enum type
To use the enum type of the other structure, the developer should set
the structure name explicitly.
Change-Id: Idc2776cc4f51ef7c05bab5b1e5a83d50f3eb6f43
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>