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>
Hwankyu Jhun [Tue, 8 Aug 2023 01:42:15 +0000 (10:42 +0900)]
Modify Map & Set implementation of C generator
The key type of map and set containers should be 'char', 'int', 'short',
'string', 'bool', float' and 'double'.
Change-Id: I92c3ac2f36d476733d1a8a05677c8e90c4576a2a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 4 Aug 2023 04:06:14 +0000 (13:06 +0900)]
Separate generator code from main file
The code generators are separated.
Adds:
- CodeGenerator
- CionGenerator
- MqttGenerator
- DefaultGenerator
- version2::DefaultGenerator
Change-Id: I0287003d997765a7760ef27486bd1047dc55d916
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 28 Jul 2023 04:05:13 +0000 (13:05 +0900)]
Implement C++ Group Generator
This is for protocol verion 2. Marshaling type info feature is added.
Change-Id: If32a2a884241a509f14d6c133feab25ef6ce613b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 2 Aug 2023 04:46:45 +0000 (13:46 +0900)]
Fix build error
- Add a missing header inclusion
Change-Id: I33e3acd3887cada8b49e179a41e78043d2bcbf52
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
jusung son [Tue, 1 Aug 2023 01:56:11 +0000 (10:56 +0900)]
Implement C# Generator
This is for protocol verion 2. Marshaling type info feature is added.
Change-Id: I55c4f708f94e796fcf0eedd9abb70c2860f05680
Signed-off-by: jusung son <jusung07.son@samsung.com>
Hwankyu Jhun [Thu, 13 Jul 2023 06:49:11 +0000 (15:49 +0900)]
Impelment C++ Generator
Type marsharling info is included to the parcel data.
To save the information to the parcel, Unit and UnitMap classes are added.
Change-Id: I8eb2b6e1d924702b2b84b1f20bc798bb2b6c5c1d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
jusung son [Wed, 12 Jul 2023 07:42:32 +0000 (16:42 +0900)]
Support local execution mode
Change-Id: I513c91723010011fe6329d786ac3a0ea4e890ae9
Signed-off-by: jusung son <jusung07.son@samsung.com>
Hwankyu Jhun [Fri, 17 Feb 2023 04:12:18 +0000 (04:12 +0000)]
Support 'struct' inheritance
After this feature is applied, the developer can make a derived structure.
If the method uses the base structure parameter, the derived structure
can be passed to the method.
Change-Id: If24548d6460c25417a56e0a4dbc67f60e66a0f4f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 3 Jul 2023 08:39:03 +0000 (08:39 +0000)]
Release version 1.11.4
Changes:
- Fix build error for gcc 12.2.0
- Fix sign compare warning
- Change version to 8.0
- Change version to 8.0
- Fixed the build error using gcc 13
Change-Id: Ie0b6c828d2f8405df307c5dcb650351a1937026e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 3 Jul 2023 08:13:30 +0000 (08:13 +0000)]
Fixed the build error using gcc 13
- Remove unnecessary std::move call
Change-Id: I9c338e46da26342815e23bd7417ae5f18b1437b7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 17 May 2023 08:59:05 +0000 (08:59 +0000)]
Change version to 8.0
The version should be 8.0.
Change-Id: Id863268371996ef3c75345c9f4c03d23e3a13a6e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 17 May 2023 07:55:35 +0000 (07:55 +0000)]
Change version to 8.0
For building the tidl package in the DIBS, the version should be 8.0.
Change-Id: I14c8fc45568dbbaf6dfe55cabde773ed38ca0ba6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 16 May 2023 00:00:28 +0000 (00:00 +0000)]
Fix sign compare warning
The type of return value of sizeof is size_t. Some build system enables
'-Wsign-compare' build option. It makes a build warning.
This patch adds a new variable to store the return value of sizeof. And,
it will be used to compare variables.
Change-Id: Iad724ec2ca88cc7b8d5c6cf6b3a15ed6b6c1dd3b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 21 Apr 2023 04:18:03 +0000 (04:18 +0000)]
Fix build error for gcc 12.2.0
- Add warning ignore option about maybe-uninitialized
- Fix unit test
- Add a blank line for compilation
Change-Id: Ib5fde77d41e8fbffb396eb5b76e7257c557bd947
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Fri, 21 Apr 2023 02:17:50 +0000 (11:17 +0900)]
Release version 1.11.3
Changes:
- Fix tidl fail issue
Change-Id: I017bad53ffaa187e473cf4de5f8fd100d6f3b00a
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 21 Apr 2023 02:09:44 +0000 (11:09 +0900)]
Fix tidl fail issue
Change-Id: I37f78d49033f6bea496be2a5a8b0303d43cfa7aa
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Thu, 20 Apr 2023 07:07:51 +0000 (16:07 +0900)]
Release version 1.11.2
Changes:
- Fix build error
Change-Id: Iec89c2f1d868678e2515e24fbd831b3c2a539a85
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
jusung son [Thu, 20 Apr 2023 06:44:29 +0000 (15:44 +0900)]
Fix build error
- Separate the implementations of Protocol 2.
Change-Id: I95bd68b768c40053d23c6bab4fc5054447816ea3
Signed-off-by: jusung son <jusung07.son@samsung.com>
Hwankyu Jhun [Thu, 20 Apr 2023 00:52:22 +0000 (00:52 +0000)]
Release version 1.11.1
Changes:
- Fix static analysis issues
Change-Id: I17d2b031e50f789a0dc9ca23ac1a10106e298a65
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 19 Apr 2023 06:43:51 +0000 (06:43 +0000)]
Fix static analysis issues
The following cases are fixed:
- resource leak
- no effect
Change-Id: I01736acf26cb18d262ccbc0abae6a06ea1e315d5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Wed, 19 Apr 2023 05:04:42 +0000 (14:04 +0900)]
Release version 1.11.0
Changes:
- Modify Makefile for DIBS
- Implement protocol version 2
- Fix C++ generator
- Implement C proxy body generator
- Fix to fail build test
- Implement C header generator
- Replace AITT with MQTT
- Fix build error
- Implement C group generator
- Implement C stub generator
- Fix dart generator implementation
- Fix invalid access
- Remove exception handling from _consumeCommnad()
- Support map & set container type
- Fix bugs about map & set container
- Support enum type
- Support sending exception feature
- Support method privilege feature
- Fix C generator related enumeration
- Remove unnecessarily generated codes
- Fix build error
- Merge "Fix build error" into tizen
- Add new build tests for protocol v2
- Fix build tests
- Change version to 7.5
- Add missing implementation about ref keyword
- Support 'import' keyword
- Add some methods in ReplaceAll
- Modify dart generator
- [cion] Implement Dart stub generator
- [cion] Implement Dart proxy generator
- [cion] Add a missing disconnect on dart client
- [cion] Implement sync call method
- [cion] Fix file transfer logic
- [cion] Implement Dart group generator
Change-Id: Ifabf76b67ade050dca7301923e61f9b012a80452
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
SukhyungKang [Fri, 14 Apr 2023 08:50:32 +0000 (17:50 +0900)]
[cion] Implement Dart group generator
Change-Id: Id97cd1af1f5e16d8a4d12d4035aaa5d86899aa26
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
jusung son [Tue, 18 Apr 2023 05:37:59 +0000 (14:37 +0900)]
[cion] Fix file transfer logic
Change-Id: I40035e859a92b23265ed8d4387d033dff09ba463
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Mon, 17 Apr 2023 05:30:19 +0000 (14:30 +0900)]
[cion] Implement sync call method
Change-Id: I49a5e68b8a9ba2f5066507ec8dc3453a8c11251b
Signed-off-by: jusung son <jusung07.son@samsung.com>
Changgyu Choi [Fri, 14 Apr 2023 01:58:37 +0000 (10:58 +0900)]
[cion] Add a missing disconnect on dart client
Change-Id: I4a455c94f8fbb69ce617f22313a060d4bfbdb546
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 7 Apr 2023 08:28:33 +0000 (17:28 +0900)]
[cion] Implement Dart proxy generator
This patch support the 'file' parameter.
Change-Id: I88e1c2d08c4b6861ef7ece63fe90ad1aa90bf630
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
jusung son [Wed, 5 Apr 2023 08:16:11 +0000 (17:16 +0900)]
[cion] Implement Dart stub generator
Change-Id: I3d12e1d358c96bfffd73ec64f1a188961bf3da95
Signed-off-by: jusung son <jusung07.son@samsung.com>
Changgyu Choi [Mon, 20 Mar 2023 04:25:55 +0000 (13:25 +0900)]
Modify dart generator
This patch is for below comments
https://github.com/flutter-tizen/plugins/pull/541#discussion_r1133544326
https://github.com/flutter-tizen/plugins/pull/543#discussion_r1133542877
Change-Id: Ic6b2b46b10a82df70d351ffab90ec560ceeb0a83
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
jh9216.park [Tue, 21 Mar 2023 03:32:59 +0000 (23:32 -0400)]
Add some methods in ReplaceAll
- Add Repeat() method
- Add Remove() method
- Add Replace() method
- Example
constexpr const char CB_FUNCTION[] =
R"__rs_cb(
pub fn <FN_NAME>(&self, <PARAMS>) <RET>{
let p = Parcel::new();
let port = self.proxy.get_port(PortType::Main);
p.write_i32(MethodId::<METHOD_ID> as i32);
<SENDER_BODY*><ID>.write_parcel(&mut p);</SENDER_BODY*>
p.send(&port);
<SYNC?>let parcel_received = Parcel::from(&port);
<RECEIVER_BODY*><ID>.read_parcel(&mut parcel_received);</RECEIVER_BODY*>
<HAS_RETURN?>let mut __ret: <TYPE> = Default::default();
__ret.read_parcel(&mut parcel_received);
__ret</HAS_RETURN?></SYNC?>
}
)__rs_cb";
ret += ReplaceAll(::CB_FUNCTION)
.Replace("FN_NAME", i->GetID())
.Replace("PARAMS", GetParameters(i->GetParameters()))
.Replace("RET", GetRetExpr(*i))
.Replace("METHOD_ID", (*i).GetID())
.Repeat("SENDER_BODY", (*i).GetParameters(),
[](ReplaceAll* ra, const std::unique_ptr<tidl::Parameter>& i) {
if (i->GetParameterType().GetDirection() == ParameterType::Direction::OUT)
return false;
ra->Replace("ID", i->GetID());
return true;
})
.Remove("SYNC", (*i).GetMethodType() == Declaration::MethodType::ASYNC)
.Repeat("RECEIVER_BODY", (*i).GetParameters(),
[](ReplaceAll* ra, const std::unique_ptr<tidl::Parameter>& i) {
if (i->GetParameterType().GetDirection() == ParameterType::Direction::IN)
return false;
ra->Replace("ID", i->GetID());
return true;
})
.Remove("HAS_RETURN", (*i).GetType().ToString() == "void" )
.Replace("TYPE", [&]() {
return ConvertTypeToString((*i).GetType());
});
Change-Id: Ic77369977767690181f192ebd6c21df802920ca6
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
jusung [Fri, 3 Mar 2023 02:17:07 +0000 (11:17 +0900)]
Support 'import' keyword
Change-Id: I7f382e90717c6de66937675d680504d3ecc9620a
Signed-off-by: jusung <jusung07.son@samsung.com>
Hwankyu Jhun [Wed, 22 Feb 2023 06:23:34 +0000 (06:23 +0000)]
Add missing implementation about ref keyword
If there is the 'ref' keyword, we should read and wrtie the argument.
Change-Id: I027cf6cc3101b474cc8ba07a7428a98d6566c488
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 22 Feb 2023 04:14:17 +0000 (04:14 +0000)]
Change version to 7.5
For building the tidl package in the DIBS, the version should be 7.5.
Change-Id: I2110a0e83f7aa6073ef37d936d88d683fea02f00
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 22 Feb 2023 00:55:08 +0000 (00:55 +0000)]
Fix build tests
To test generated codes, the codes should be set in the CMakeLists.txt file.
This patch fixes the build failure issues.
Change-Id: I7c77c4d457e2307bfc6ff10f113ee9dc3850c51b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 17 Feb 2023 00:43:22 +0000 (00:43 +0000)]
Add new build tests for protocol v2
To test protocol v2, the build tests are added.
Change-Id: I41bc494cfbc5bfa6e62135e148829c3bad9fc33b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
jusung son [Thu, 16 Feb 2023 23:47:43 +0000 (23:47 +0000)]
Merge "Fix build error" into tizen
jusung [Thu, 16 Feb 2023 23:33:19 +0000 (08:33 +0900)]
Fix build error
Change-Id: I249ceb1e9e51433b5d1cd16e752c833c950a0557
Signed-off-by: jusung <jusung07.son@samsung.com>
jusung [Thu, 16 Feb 2023 09:54:42 +0000 (18:54 +0900)]
Remove unnecessarily generated codes
Change-Id: Ide58fc564a21115af1bfbe61e0c292fb3e6e897d
Signed-off-by: jusung <jusung07.son@samsung.com>
Hwankyu Jhun [Thu, 16 Feb 2023 06:31:14 +0000 (06:31 +0000)]
Fix C generator related enumeration
The generated enumeration value is changed to the uppercase.
The prefix of the enumeration is added to the value as below:
<PREFIX>_<NAME>_<OWNER_NAME>_<ENUM_VALUE>
e.g. RPC_PORT_PROXY_MESSAGE_CHANNEL_CLIENT
Change-Id: I7020361f4f1f8ef7ba81071fa4adf7c8801071a6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 14 Feb 2023 00:52:07 +0000 (00:52 +0000)]
Support method privilege feature
After this patch is applied, the developer can set the method privilege
for each methods as below:
+------------------------------------------------------------------------------+
| interface alarmmgr { |
| [privilege = "http://tizen.org/privilege/alarm.set"] |
| int alarm_set(int alarm_id, alarmtime time); |
| ... |
| } |
+------------------------------------------------------------------------------+
Change-Id: I6d407b991cb2c32025a20fab6c343d7ca7287d35
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 14 Feb 2023 09:26:45 +0000 (09:26 +0000)]
Support sending exception feature
This patch supports sending a remote exception. The server can throw
the remote exception to the client.
Change-Id: I6752837e89b33ad3ed4b09a5f78d8d6c13c6a979
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
jusung [Thu, 12 Jan 2023 08:36:56 +0000 (17:36 +0900)]
Support enum type
Change-Id: I9878ca3f6afd3dd9ed36632a7064459641e73aca
Signed-off-by: jusung <jusung07.son@samsung.com>
Hwankyu Jhun [Wed, 15 Feb 2023 07:00:29 +0000 (07:00 +0000)]
Fix bugs about map & set container
- Fixes typo
- Fixes wrong conditions of iteration
Change-Id: I2b7a5eba2e2f8668b727c221a49c77aaced4035b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 2 Jan 2023 07:45:50 +0000 (07:45 +0000)]
Support map & set container type
From protocol version 2, the map & set container types are supported.
The developer can define the map<K, V> and the set<K> in the tidl files.
Change-Id: I4195762b2fadaec5cdb7935390344c81f696e9f5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Thu, 26 Jan 2023 00:57:00 +0000 (09:57 +0900)]
Remove exception handling from _consumeCommnad()
This patch removes the catch clause so that the parcel parsing error
can be propagated to the user code (as an unhandled exception) properly.
Change-Id: Id7e7bc1d11061a5140c51fde156873618fde712c
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 17 Jan 2023 07:16:54 +0000 (16:16 +0900)]
Fix invalid access
If std::string.length() is zero, then back() method's behavior is
undefined.
Change-Id: I5ccededf83b76058e91ebefec6b11ad8ff8f1db6
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 9 Jan 2023 08:13:37 +0000 (17:13 +0900)]
Fix dart generator implementation
Changes:
- Modify method type of sync method.
- Changes some stub variable names.
- Removes unnecessary new lines.
- Removes OnDisconnected typedef from the proxy.
Change-Id: Id51bcc20515dbabb7c4674cca2de83a8d7ac965d
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
jusung [Fri, 6 Jan 2023 05:15:32 +0000 (14:15 +0900)]
Implement C stub generator
Change-Id: Ieb8d5243041323f782a114ea84a927cf5d24e5f1
Signed-off-by: jusung <jusung07.son@samsung.com>
jusung [Wed, 4 Jan 2023 01:47:58 +0000 (10:47 +0900)]
Implement C group generator
Change-Id: I53ce8134cb61a54ca714e6cbc3ecc53fb50a05cf
Signed-off-by: jusung <jusung07.son@samsung.com>
jusung [Wed, 4 Jan 2023 01:18:21 +0000 (10:18 +0900)]
Fix build error
Change-Id: Id997bed3d394d9b6b158c5ae8607d2f3841e741e
Signed-off-by: jusung <jusung07.son@samsung.com>
Sangyoon Jang [Tue, 22 Nov 2022 02:34:23 +0000 (11:34 +0900)]
Replace AITT with MQTT
Change-Id: I1951de37c78e23b9b8d08f3770f82cc6d7017c89
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Hwankyu Jhun [Mon, 2 Jan 2023 01:34:23 +0000 (01:34 +0000)]
Implement C header generator
This patch is for protocol version 2.
Change-Id: Id4216a97ada075b80fc1c580c6f1809948c43d17
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Fri, 30 Dec 2022 07:16:34 +0000 (16:16 +0900)]
Fix to fail build test
This patch is to solve the build failure issue that occurs depending on thread flag or not.
Change-Id: Id76506fc09c44c016fae49c42458405d1777ec8d
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Fri, 16 Dec 2022 07:34:53 +0000 (07:34 +0000)]
Implement C proxy body generator
This patch is for protocol version 2. The rpc_port_unit_map_h is added
to store the name, the type and the value.
Change-Id: Id7741c84c263562738f79dee5c770741741b60c4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Wed, 14 Dec 2022 03:06:26 +0000 (12:06 +0900)]
Fix C++ generator
Change-Id: I8ad8d495891b5c626e29b9ef474461cb1e6c0a8f
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
jusung [Wed, 2 Nov 2022 04:59:52 +0000 (13:59 +0900)]
Implement protocol version 2
- Add protocol keyword
- Enable file keyword without beta option.
Change-Id: Iba3bd2a7d58bd68c77c02a99849e3d37646c5515
Signed-off-by: jusung <jusung07.son@samsung.com>
Hwankyu Jhun [Fri, 21 Oct 2022 00:19:18 +0000 (00:19 +0000)]
Modify Makefile for DIBS
This patch modifies Makefile for including source files automatically
in the build time without explicit adding source files.
Change-Id: I3a1a93eff9c6e4152d3d904c4f0cf6ae3b4aba24
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 21 Oct 2022 00:02:49 +0000 (09:02 +0900)]
Release version 1.10.6
Changes:
- Add missing files to Makefile for MacOS
Change-Id: I598155f51533de013c403f370fdec0efbaa5eaa9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 20 Oct 2022 23:55:20 +0000 (23:55 +0000)]
Add missing files to Makefile for MacOS
Adds:
- idlc/gen_cion/cion_plugin_base.cc
- idlc/gen_cion/default_c_transportable.cc
- idlc/gen_cion/default_cpp_transportable.cc
- idlc/gen_cion/default_cs_transportable.cc
- idlc/gen_cion/default_java_transportable.cc
- idlc/gen_cion/java_cion_group_gen.cc
- idlc/gen_cion/java_cion_group_repo_gen.cc
- idlc/gen_cion/plugin_loader.cc
Change-Id: Ib6c22ef3a3b27e61893569f15bb7be59f6845f14
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Wed, 19 Oct 2022 02:00:53 +0000 (11:00 +0900)]
Release version 1.10.5
Changes:
- [Dart] Improve dart generator
Change-Id: I7e56b4d9279e7f01416f1a000374360e90f7c656
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 18 Oct 2022 05:23:27 +0000 (14:23 +0900)]
[Dart] Improve dart generator
Changes:
- Changes some keyword names.
- Removes unused methods.
- Modifies README.md.
Change-Id: Ibcd6fa93ac7883a3d02b707f40c9fc202192a001
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Tue, 11 Oct 2022 06:08:47 +0000 (15:08 +0900)]
Release version 1.10.4
Changes:
- Move invocation parameters
- Add checking nullptr
- [Dart] Improve dart generator
Change-Id: I6c2a6de4ad0955eef22a85a60ef5bb5b190ba71a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 11 Oct 2022 02:29:42 +0000 (02:29 +0000)]
[Dart] Improve dart generator
The implementation of the proxy(client) is improved.
The delegate class is not exposed to the outside for developers.
The delegate function is exposed for developers.
Developers are able to register and deregister the delegate using the function.
Change-Id: I30d1ce57b1ec0f30d3844977148ea2314a345158
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Tue, 4 Oct 2022 04:52:06 +0000 (13:52 +0900)]
Add checking nullptr
GetMetaType() can return nullptr.
This patch adds to checking whether GetMetaType() return value is nullptr or not.
Change-Id: I8768bed1c7ed9ecd9b3ee024d2202543d4712327
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
jh9216.park [Tue, 4 Oct 2022 03:04:04 +0000 (23:04 -0400)]
Move invocation parameters
- Some parameters can be moved to improve performance
Change-Id: Id80a74fded6b4188b23a2a4fa5fd274789ef743b
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
Changgyu Choi [Fri, 30 Sep 2022 07:09:19 +0000 (16:09 +0900)]
Release version 1.10.3
Changes:
- Modify dart generator implementation
Change-Id: I09715fe26352a18b35fd1e39957ba08ece21d5e2
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 27 Sep 2022 07:41:14 +0000 (16:41 +0900)]
Modify dart generator implementation
Changes:
- Changes some method names.
- Adds final keyword.
- Adds type to return variable.
- Adds disconnect() method in proxy.
- Removes await keyword from some changed api.
- Fix some descriptions.
Change-Id: I3b3cfb1c3b9681b4bb7b1b11c1503d56c52c4b55
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Fri, 23 Sep 2022 08:05:20 +0000 (17:05 +0900)]
Release version 1.10.2
Changes:
- Fix static analysis issues
- Modify dart generator implementation
- Fix build break issue
Change-Id: I70aacac9d3ac8597d6c13108a27710f0193454ec
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
jusung [Fri, 23 Sep 2022 07:28:43 +0000 (16:28 +0900)]
Fix build break issue
- One Definition Rule [-Werror=odr]
Change-Id: I6094e0f334b80be596503b23f9e5a097fefbae39
Signed-off-by: jusung <jusung07.son@samsung.com>
Hwankyu Jhun [Fri, 23 Sep 2022 07:29:18 +0000 (07:29 +0000)]
Modify dart generator implementation
The onReceiveEvent() method is modified. The parameter of the method is
changed to the String from the integer.
The connectSync() method is removed from the flutter/plugins.
Change-Id: I0c232418b3941d8f6b97b2bb4d990b81a39169f6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 23 Sep 2022 06:49:15 +0000 (06:49 +0000)]
Fix static analysis issues
Issues:
- USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE
- INEFFECTIVE_MOVE
Change-Id: I4edeaaf8888d0a89bd7c16e5d36d6e4a18225cd9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 22 Sep 2022 10:24:17 +0000 (19:24 +0900)]
Release version 1.10.1
Changes:
- Fix build break issues
Change-Id: Ie951966af760be5864b20e02dccac5e9a3623738
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 22 Sep 2022 10:11:49 +0000 (10:11 +0000)]
Fix build break issues
- Adds a missing guard of if statement
- Removes unused variables
Change-Id: Ic5b7e988261a638e842794f6c462af1cf30db30e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 22 Sep 2022 07:03:48 +0000 (16:03 +0900)]
Release version 1.10.0
Changes:
- [aitt] Implement C generator
- [aitt] Implement Java generator
- Add missing code for cion cs generator
- [aitt] Implement CS generator
- Fix CallbackBase for stub
- [aitt] Remove ondemand related API
- Apply plugin structure to cion java group event callback
- Apply plugin structure to cion java constructor
- Fix aitt_plugin library path
- [aitt] Implement Cpp generator
- Fix the implementation related to rpc-port
- Support Dart Language
- Add Dart proxy generator
Change-Id: Iceb85a58c9da575e6e02b1ecc47465549a376d99
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Wed, 7 Sep 2022 11:30:09 +0000 (20:30 +0900)]
Add Dart proxy generator
Change-Id: I439125cdf9cd8d401cbd63edef1fc1771b56ba5d
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Thu, 1 Sep 2022 07:14:15 +0000 (07:14 +0000)]
Support Dart Language
TIDL supports Dart langauge for using RPC-Port.
After this patch is applied, tidlc generates the stub code for Dart language.
Change-Id: I5d94be9336c2092206ccab85ded8cb4776a91cb2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 21 Sep 2022 09:00:09 +0000 (09:00 +0000)]
Fix the implementation related to rpc-port
- Removes unnecessary log prints
- Fixes the wrong implementation about rpc_port_parcel_header_h.
Change-Id: I0a9676c1823a372d61fb30edaab8935490780de4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
SukhyungKang [Tue, 9 Aug 2022 01:32:08 +0000 (10:32 +0900)]
[aitt] Implement Cpp generator
Change-Id: I375c50c3d17565633ffce91dc3753b2cd6de7798
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
Signed-off-by: jusung <jusung07.son@samsung.com>
Ilho Kim [Thu, 8 Sep 2022 05:13:54 +0000 (14:13 +0900)]
Fix aitt_plugin library path
Change-Id: I3ed6eece8116e63d0198a1c6c6769f7c8abeeb19
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 31 Aug 2022 06:04:44 +0000 (15:04 +0900)]
Apply plugin structure to cion java constructor
Change to add a parameter to the constructor
Change-Id: Iae27f0978f0432e0f8f5a91717e9d939345ccef5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 31 Aug 2022 02:26:17 +0000 (11:26 +0900)]
Apply plugin structure to cion java group event callback
Change-Id: I3348afbc16a20504f66f94160d226c81b77f756a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 1 Sep 2022 01:52:19 +0000 (10:52 +0900)]
[aitt] Remove ondemand related API
Change-Id: If81bc83714d7a95e8cf693a5bb8b9803ae106888
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 31 Aug 2022 08:14:34 +0000 (17:14 +0900)]
Fix CallbackBase for stub
Change-Id: Ic0b64cdf31f7855b1ccf0bcca162228c821873ce
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 20 Jul 2022 06:46:45 +0000 (15:46 +0900)]
[aitt] Implement CS generator
Change-Id: I1133a468213f3fa864b644b7fca4a6dbd9a85be3
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 19 Aug 2022 01:00:03 +0000 (10:00 +0900)]
Add missing code for cion cs generator
Change-Id: Ib49372d83d62f0d002f2760169216d9b25741aab
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 29 Jul 2022 06:38:33 +0000 (15:38 +0900)]
[aitt] Implement Java generator
Change-Id: I410f3f5074b2ad5e13a4ac752cd23a00e73783bf
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
jusung [Wed, 27 Jul 2022 01:58:44 +0000 (10:58 +0900)]
[aitt] Implement C generator
Change-Id: I168ec93328da2f05e59251533fbc4a1d12eaee06
Signed-off-by: jusung <jusung07.son@samsung.com>
Changgyu Choi [Mon, 1 Aug 2022 00:59:52 +0000 (09:59 +0900)]
Release version 1.9.1
Changes:
- Fix parameter type
Change-Id: I45980e9468aec0d596d7c51e566b50c2bc36cae8
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 1 Aug 2022 00:35:12 +0000 (09:35 +0900)]
Fix parameter type
The size prameter of bundle_get_byte() is size_t type.
So this patch changes type of size parameter to size_t.
Change-Id: I42d36d7bec06e5a6eb363e8dcdf1b12039444f62
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 29 Jul 2022 01:55:01 +0000 (10:55 +0900)]
Release version 1.9.0
Changes:
- Implement basic plugin structure
- Adjust plugin structure for type c
- Adjust plugin structure for type cpp
- Adjust plugin structure for type java
- Adjust plugin structure for type c#
- Add options for aitt
- Implement cpp group generator
- Remove useless code
- Implement C group generator
- Fix build error for generated C# code
- Implement C# group generator
- Fix typo
- Remove the constructor
Change-Id: Iabf6f3afc3e27960a2eabcf5fa9574de6a586f41
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Junghoon Park [Wed, 20 Jul 2022 07:49:04 +0000 (07:49 +0000)]
Merge "Remove the constructor" into tizen
jh9216.park [Tue, 19 Jul 2022 10:44:25 +0000 (06:44 -0400)]
Remove the constructor
- Remove the constructor to force it to use the sender apppid
Change-Id: I19bd50e00ff98b37b6b8fb955a6d7dab93e09443
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
SukhyungKang [Tue, 19 Jul 2022 23:00:42 +0000 (08:00 +0900)]
Fix typo
Change-Id: I52b14f36000eb31faef965cabbf5c57f7ea82cd6
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
jh9216.park [Fri, 15 Jul 2022 07:10:36 +0000 (03:10 -0400)]
Implement C# group generator
Change-Id: Icefd3413c98c7d0bfe266803f42481f81d6931c7
Signed-off-by: jh9216.park <jh9216.park@samsung.com>