platform/core/appfw/tidl.git
3 years agoUpdate version to 7.0 63/266063/1
Hwankyu Jhun [Fri, 5 Nov 2021 05:47:10 +0000 (14:47 +0900)]
Update version to 7.0

The version of build configuration files are updated to 7.0.

Change-Id: I2a3b202301b780c8a0c389d72b4cc1525a68a9d8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.7.3 56/265756/1 accepted/tizen/6.5/unified/20211109.041727 accepted/tizen/unified/20211101.140325 submit/tizen/20211028.054746 submit/tizen/20211028.063318 submit/tizen/20211101.102058 submit/tizen_6.5/20211105.053806
Hwankyu Jhun [Thu, 28 Oct 2021 05:51:29 +0000 (14:51 +0900)]
Release version 1.7.3

Changes:
 - Add CION build tests to tidl-build-tests
 - Fix java generator
 - Fix parser to handle errors
 - Refactor java generator
 - Fix C++ Generator
 - Fix java generator
 - Fix typo
 - Merge "Fix java generator" into tizen
 - Updates cpp cion

Change-Id: I335114e2945c15fb27c0bec7548b4f95cab43562
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoUpdates cpp cion 78/265678/5
Inkyun Kil [Thu, 21 Oct 2021 04:20:30 +0000 (13:20 +0900)]
Updates cpp cion

- Updates comments
- Adds missed methods
- Fix exceptions
- Fix issue for OnFileReceived

Change-Id: Iff45a03846849a0541910e687202cad9c118d0c8
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
3 years agoMerge "Fix java generator" into tizen
Junghoon Park [Tue, 26 Oct 2021 00:25:57 +0000 (00:25 +0000)]
Merge "Fix java generator" into tizen

3 years agoFix typo 13/265613/1
jusung [Mon, 25 Oct 2021 07:56:30 +0000 (16:56 +0900)]
Fix typo

Change-Id: Ic5c7700f4b01e453ddf5f3e8cd2064c9180ea1ba
Signed-off-by: jusung <jusung07.son@samsung.com>
3 years agoFix java generator 01/265601/2
jh9216.park [Mon, 25 Oct 2021 05:48:54 +0000 (01:48 -0400)]
Fix java generator

- Fixed some bugs for java generator
- Add some methods

Change-Id: Id209473a8c0f31f5366436611415dcbc83b99b20
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
3 years agoFix C++ Generator 52/265552/3
Hwankyu Jhun [Fri, 22 Oct 2021 02:01:04 +0000 (11:01 +0900)]
Fix C++ Generator

The default 'virtual' destructors are added to remove build warning messages.
If the package uses the non-virtual-dtor option, the build warnings are occurred.

Change-Id: I58f7845eca0808d9532a3e70e9712adac2bc87da
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRefactor java generator 88/265488/7
jh9216.park [Wed, 20 Oct 2021 11:37:00 +0000 (07:37 -0400)]
Refactor java generator

- Add API descriptions in generated classes
- Add missed methods

Change-Id: I179192707910b1ff503fa2b09debbca28e53a4b0
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
3 years agoFix parser to handle errors 64/265464/1
jh9216.park [Wed, 20 Oct 2021 05:57:27 +0000 (01:57 -0400)]
Fix parser to handle errors

- Because cion java generator does not support 'bundle' type,
  Make compile errors only for cion option when 'bundle' type is used

Change-Id: Iad6f114f356b76ae6b29a2d0797791a444e2922b
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
3 years agoFix java generator 66/265366/16
jh9216.park [Fri, 15 Oct 2021 11:07:43 +0000 (07:07 -0400)]
Fix java generator

- implement delegator class
- remake stub generator
- remake proxy generator

Change-Id: Ic2b628e171aca748aad7c4980f347445bf14761b
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
3 years agoAdd CION build tests to tidl-build-tests 56/265456/1
Hwankyu Jhun [Wed, 20 Oct 2021 01:10:38 +0000 (10:10 +0900)]
Add CION build tests to tidl-build-tests

- Removes CXX from cmake project definition
- Generates CION codes using tidlc before building tidl-build-tests

Change-Id: Iabf3e11365adcfb0868a8ccd848721341e4f012d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.7.2 26/265326/1
Hwankyu Jhun [Fri, 15 Oct 2021 03:29:34 +0000 (12:29 +0900)]
Release version 1.7.2

Changes:
 - Fix macos build error
 - Fix delimiter of file path

Change-Id: I67428c952560ca085088499aa8f74d887303b3e3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix delimiter of file path 24/265324/1
Hwankyu Jhun [Fri, 15 Oct 2021 03:26:27 +0000 (12:26 +0900)]
Fix delimiter of file path

In windows environment, the delimiter has to be "\\".

Change-Id: Icbba8f51a6fcf38349cc8cd673329708c3cf03cf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix macos build error 12/265312/7
Hwankyu Jhun [Thu, 14 Oct 2021 12:51:58 +0000 (21:51 +0900)]
Fix macos build error

Change-Id: I0168cb32e7bad0c7d55da6f9b3388a095f20e1e6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.7.1 10/265310/1
Hwankyu Jhun [Thu, 14 Oct 2021 10:42:27 +0000 (19:42 +0900)]
Release version 1.7.1

Changes:
 - Use c++11 instead of c++14
 - Fix java generator
 - [cpp cion] Fix some issue

Change-Id: If86c6c2cd57ffa6f9d78b31b8efef3e3d120d7fd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years ago[cpp cion] Fix some issue 06/265306/4
Inkyun Kil [Thu, 14 Oct 2021 10:04:25 +0000 (19:04 +0900)]
[cpp cion] Fix some issue

- Fix wrong memory copy
- Fix wrong use api
- Fix wrong compare

Change-Id: If8e69041aeed4a043a9f4590d1b141ca563c5bf6
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
3 years agoMerge "Fix java generator" into tizen
Junghoon Park [Thu, 14 Oct 2021 10:21:50 +0000 (10:21 +0000)]
Merge "Fix java generator" into tizen

3 years agoFix java generator 05/265305/2
jh9216.park [Thu, 14 Oct 2021 10:21:02 +0000 (06:21 -0400)]
Fix java generator

- add import-statement to fix generated files

Change-Id: I6372eeb133bb059f43361e02bba81ac49f7a7bdb
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
3 years agoMerge "Use c++11 instead of c++14" into tizen
HwanKyu Jhun [Thu, 14 Oct 2021 09:22:00 +0000 (09:22 +0000)]
Merge "Use c++11 instead of c++14" into tizen

3 years agoUse c++11 instead of c++14 04/265304/1
Hwankyu Jhun [Thu, 14 Oct 2021 09:18:30 +0000 (18:18 +0900)]
Use c++11 instead of c++14

Change-Id: Ic61857c66d292ad238d613f8a401b81f06a6a007
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.7.0 02/265302/1
Hwankyu Jhun [Thu, 14 Oct 2021 08:44:34 +0000 (17:44 +0900)]
Release version 1.7.0

Changes:
 - Add build tests
 - Add nullptr to delegate table
 - Set nullptr to the port handle
 - Implement C generator for cion
 - Implement C# generator for cion
 - Implement C++ generator for cion
 - Implement java generator
 - Merge "Implement java generator" into tizen
 - Merge "Implement C++ generator for cion" into tizen
 - Fix build error
 - [cion cpp] update name of variable
 - Use c++14 instead of c++17
 - Fix build_win fail issue
 - Fix typo
 - [cpp cion] omitted handle for callback user_data

Change-Id: I66235084a1758de4c7dd1ed3af1ae11dd32d929c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years ago[cpp cion] omitted handle for callback user_data 00/265300/2
Inkyun Kil [Thu, 14 Oct 2021 08:32:31 +0000 (17:32 +0900)]
[cpp cion] omitted handle for callback user_data

Change-Id: Iae9649d1a4558bf2a6d855b14afd38e2c0e58847
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
3 years agoFix typo 98/265298/2
jusung [Thu, 14 Oct 2021 08:17:16 +0000 (17:17 +0900)]
Fix typo

Change-Id: I1814872e83824cb7c336dc9fea273ffc894861ba
Signed-off-by: jusung <jusung07.son@samsung.com>
3 years agoFix build_win fail issue 97/265297/1
Changgyu Choi [Thu, 14 Oct 2021 07:58:19 +0000 (16:58 +0900)]
Fix build_win fail issue

Change-Id: Ice220093f07ba11c48010b49d343fdedeb95a481
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoUse c++14 instead of c++17 93/265293/4
jh9216.park [Thu, 14 Oct 2021 07:41:09 +0000 (03:41 -0400)]
Use c++14 instead of c++17

Change-Id: I37f61f337e4b9e790785974fdfda15ff4c7e3c7b
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
3 years ago[cion cpp] update name of variable 91/265291/1
Inkyun Kil [Thu, 14 Oct 2021 06:48:40 +0000 (15:48 +0900)]
[cion cpp] update name of variable

- To avoid the same name with parameter

Change-Id: Ieac8399b197a3f10fd04af44e20b3c7dcaef6c8e
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
3 years agoFix build error 90/265290/1
jh9216.park [Thu, 14 Oct 2021 06:52:58 +0000 (02:52 -0400)]
Fix build error

Change-Id: I7a23ae54e701ca50521acbcf0c225970026da0e5
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
3 years agoMerge "Implement C++ generator for cion" into tizen
Inkyun Kil [Thu, 14 Oct 2021 06:21:27 +0000 (06:21 +0000)]
Merge "Implement C++ generator for cion" into tizen

3 years agoMerge "Implement java generator" into tizen
Junghoon Park [Thu, 14 Oct 2021 06:17:57 +0000 (06:17 +0000)]
Merge "Implement java generator" into tizen

3 years agoImplement java generator 88/265288/3
jh9216.park [Thu, 14 Oct 2021 06:31:08 +0000 (02:31 -0400)]
Implement java generator

Change-Id: I5bb1bf6a2e08fc6e8e1d153806222a4466218988
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
3 years agoImplement C++ generator for cion 25/265025/8
Inkyun Kil [Thu, 7 Oct 2021 08:24:45 +0000 (17:24 +0900)]
Implement C++ generator for cion

Change-Id: Ibce59d9424ad0ccf322c4c0babf9ae9446591098
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
3 years agoImplement C# generator for cion 11/265111/7
jusung [Sun, 10 Oct 2021 07:24:04 +0000 (16:24 +0900)]
Implement C# generator for cion

Change-Id: Ia50cd744c41dd388e1ddc2270f7ac2b412b5b930
Signed-off-by: jusung <jusung07.son@samsung.com>
3 years agoImplement C generator for cion 71/263671/11
jusung [Wed, 8 Sep 2021 02:22:28 +0000 (11:22 +0900)]
Implement C generator for cion

Change-Id: Iba6de7be4436a7f055fdf8280f3fbb59cb8866eb
Signed-off-by: jusung <jusung07.son@samsung.com>
3 years agoSet nullptr to the port handle 56/265156/1
Hwankyu Jhun [Tue, 12 Oct 2021 05:26:24 +0000 (14:26 +0900)]
Set nullptr to the port handle

To fix static anlayzer issue, this patch sets the nullptr to the port
handle.

Change-Id: Idc14a13bc108028ce1ca4de766fcfc8469629e07
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd nullptr to delegate table 36/265136/1
Hwankyu Jhun [Tue, 12 Oct 2021 00:52:01 +0000 (09:52 +0900)]
Add nullptr to delegate table

If the delegate handlers doesn't exist, tidlc adds the nullptr to
the delegate table.

Change-Id: I0e588d7d2834015849f6195f164b26e5b9042e9f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd build tests 50/265050/3
Hwankyu Jhun [Thu, 7 Oct 2021 07:43:06 +0000 (16:43 +0900)]
Add build tests

When building this package, the tidl-build-tests is also built together.
Before building the codes, the tidl-build-tests generates the codes using tidlc.
The tidl files exist in the tests/buil_tests/tidl directory.
The unit_tests is moved to the tests/unit_tests.

Change-Id: I2816d93468582cdbf1aae3c067667104e3be3d52
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.6.8 74/264974/1 accepted/tizen/6.5/unified/20211028.100551 accepted/tizen/unified/20211007.052005 submit/tizen/20211006.095401 submit/tizen/20211012.065801 submit/tizen_6.5/20211028.162101 tizen_6.5.m2_release
Hwankyu Jhun [Wed, 6 Oct 2021 09:24:59 +0000 (18:24 +0900)]
Release version 1.6.8

Changes:
 - Fix bugs about C Generator
 - Add missing implementation about return value of method

Change-Id: Ia6cc766788d975a886f468a0cc6de705935e8b66
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd missing implementation about return value of method 71/264971/2
Hwankyu Jhun [Wed, 6 Oct 2021 08:57:44 +0000 (17:57 +0900)]
Add missing implementation about return value of method

There is a problem about container type. If the return value of the method is
container type, it's not generated. This patch fixes the bug.

Change-Id: I101db5b207fb010cf92dafaa93987b4aa06a29f4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix bugs about C Generator 67/264967/2
Hwankyu Jhun [Wed, 6 Oct 2021 07:57:45 +0000 (16:57 +0900)]
Fix bugs about C Generator

The generated codes make build break issues.

Change-Id: I1e0b687efff38d967e15c50ad241b5d8a4b41c89
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.6.7 51/264951/1 submit/tizen/20211006.041716
Hwankyu Jhun [Wed, 6 Oct 2021 04:13:41 +0000 (13:13 +0900)]
Release version 1.6.7

Changes:
 - Fix wrong log format

Change-Id: Id7b737fc48f8767f4d1b34791386091ddc4c63cb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix wrong log format 50/264950/1
Hwankyu Jhun [Wed, 6 Oct 2021 04:09:15 +0000 (13:09 +0900)]
Fix wrong log format

Change-Id: Ic1e037800a1df3d634c6daa6569af21893c3157f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.6.6 42/264942/2
Changgyu Choi [Wed, 6 Oct 2021 02:08:05 +0000 (11:08 +0900)]
Release version 1.6.6

Changes:
 - Fix static issue

Change-Id: Iefd72d68d75a75e375711d0abd0f351d1f02b13e
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoFix static issue 27/264927/3
Changgyu Choi [Tue, 5 Oct 2021 08:09:55 +0000 (17:09 +0900)]
Fix static issue

Change-Id: I49a20746e2261d64df716e2a949c914ec56f553b
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoRelease version 1.6.5 20/264920/1 submit/tizen/20211005.065731
Changgyu Choi [Tue, 5 Oct 2021 06:54:18 +0000 (15:54 +0900)]
Release version 1.6.5

Changes:
 - Fix static issues

Change-Id: Ia3e082427ad092f81ee5d4441c8a133d6cfd48a5
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoFix static issues 13/264913/2
Changgyu Choi [Tue, 5 Oct 2021 04:43:56 +0000 (13:43 +0900)]
Fix static issues

Change-Id: I0eded72a290914ace05df108efc2021ce2c1894a
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoRelease version 1.6.4 16/264816/1 accepted/tizen/unified/20211001.001232 submit/tizen/20210930.081506
Hwankyu Jhun [Thu, 30 Sep 2021 07:54:03 +0000 (16:54 +0900)]
Release version 1.6.4

Changes:
 - Fix a bug about C Generator

Change-Id: I56ffa49da50d2afac228697a635a5f71f0c65472
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix a bug about C Generator 15/264815/1
Hwankyu Jhun [Thu, 30 Sep 2021 07:26:41 +0000 (16:26 +0900)]
Fix a bug about C Generator

If the direction of the parameter type is not 'IN', the method handler
MUST not read the data from the parcel handle.

Change-Id: Ifb792140a2f0f74173605ab31265a05280cd05a9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.6.3 68/264668/4 submit/tizen/20210928.053154
Changgyu Choi [Tue, 28 Sep 2021 05:12:28 +0000 (14:12 +0900)]
Release version 1.6.3

Changes:
 - Add exception handlings to C# Generator
 - Fix C# Disconnect() visibility to public
 - Update README markdown

Change-Id: I3d56115b3e653ffcd5f957eb40648c04d671c92f
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoMerge "Update README markdown" into tizen
HwanKyu Jhun [Tue, 28 Sep 2021 05:30:11 +0000 (05:30 +0000)]
Merge "Update README markdown" into tizen

3 years agoUpdate README markdown 69/264669/1
Hwankyu Jhun [Tue, 28 Sep 2021 05:25:59 +0000 (14:25 +0900)]
Update README markdown

Change-Id: If7d5891ce99f2c426e8e887b90e1eff03d5ae99c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix C# Disconnect() visibility to public 67/264667/1
Changgyu Choi [Tue, 28 Sep 2021 05:04:31 +0000 (14:04 +0900)]
Fix C# Disconnect() visibility to public

Disconnect() is public API.
This patch changes the visibility to public.

Change-Id: Icd19b70ae640d51e4224da7c8976ae98d12fcd26
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoAdd exception handlings to C# Generator 87/264587/2
Hwankyu Jhun [Mon, 27 Sep 2021 02:28:31 +0000 (11:28 +0900)]
Add exception handlings to C# Generator

Parcel(Port port) can throw InvalidIOException. This patch adds
try-catch blocks to handle the exception.

Change-Id: I845cb76d488d349d77ce87aa8ca8784576373837
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.6.2 56/264256/1 accepted/tizen/unified/20210916.005903 submit/tizen/20210915.053709
Hwankyu Jhun [Wed, 15 Sep 2021 05:21:43 +0000 (14:21 +0900)]
Release version 1.6.2

Changes:
 - Fix description of C# Generator
 - Fix a bug about C++ Generator
 - Fix a bug about C++ Generator

Change-Id: I86f53c181d1862fb8be07c6a9539f11173a4122c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix a bug about C++ Generator 55/264255/1
Hwankyu Jhun [Wed, 15 Sep 2021 05:10:36 +0000 (14:10 +0900)]
Fix a bug about C++ Generator

The return type is decided by the user.

Change-Id: Ia17a44ee0d2df7109229152a8e15391bdd5fb324
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix a bug about C++ Generator 51/264251/1
Hwankyu Jhun [Wed, 15 Sep 2021 04:54:34 +0000 (13:54 +0900)]
Fix a bug about C++ Generator

The parameter of the OnConnected() is "const char*".

Change-Id: Ie2ccc476013d4bc8f3aed71bac90fdc98562cacd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix description of C# Generator 84/264184/1
Hwankyu Jhun [Tue, 14 Sep 2021 06:25:14 +0000 (15:25 +0900)]
Fix description of C# Generator

The "service" is changed to "stub". The ui-application can be
a stub application.

Change-Id: I6aada0ae665fa8ca8011d40d4996ea3486bbf143
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.6.1 09/263909/1 accepted/tizen/unified/20210915.001812 submit/tizen/20210913.085158 submit/tizen/20210914.043614
Changgyu Choi [Mon, 13 Sep 2021 08:53:31 +0000 (17:53 +0900)]
Release version 1.6.1

Changes:
 - Add release binary

Change-Id: I73e4c545037250bf85abe0144c01188561689a7b
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoRelease version 1.6.0 03/263903/1 submit/tizen/20210913.083303
Changgyu Choi [Mon, 13 Sep 2021 08:21:25 +0000 (17:21 +0900)]
Release version 1.6.0

Changes:
 - Fix a bug about C# Generator
 - Fix a bug about C Generator
 - Add disconnect API in C generator
 - Check sequence number
 - Add disconnect API in C++ generator
 - Add disconnect API in C# generator
 - Change disconnected port to main port

Change-Id: I27f3fc62487152fd4b590b88d9d503c40b8c6b32
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoChange disconnected port to main port 02/263902/1
Changgyu Choi [Mon, 13 Sep 2021 08:07:30 +0000 (17:07 +0900)]
Change disconnected port to main port

Change-Id: I1b8885ed14724fd7c92501473aaf38df5ed51278
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoAdd disconnect API in C# generator 61/263861/11
Changgyu Choi [Mon, 13 Sep 2021 02:05:01 +0000 (11:05 +0900)]
Add disconnect API in C# generator

Change-Id: Ibb86a4447f93e8c76c673dc1ac9212344a796999
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoAdd disconnect API in C++ generator 51/263751/15
Changgyu Choi [Fri, 10 Sep 2021 07:14:48 +0000 (16:14 +0900)]
Add disconnect API in C++ generator

Change-Id: Ie873e02416e3516293048dfa97eb98d23ba1572b
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoCheck sequence number 01/263101/20
Hwankyu Jhun [Thu, 26 Aug 2021 06:41:09 +0000 (15:41 +0900)]
Check sequence number

When getting the result from the stub, the proxy checks whether the tag
exists or not. If it's existed, the proxy checks the sequence number.
If the sequence number is not matched, the proxy tries to get the parcel from
the port again.

Change-Id: I02b962cc54871ad31aadd74552c63255f8b7aa14
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd disconnect API in C generator 03/263703/10
Changgyu Choi [Wed, 8 Sep 2021 09:24:48 +0000 (18:24 +0900)]
Add disconnect API in C generator

Change-Id: Ic55a1c7c51151efb0595bc96ae10bb6d1f0df692
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoFix a bug about C Generator 55/263755/2
Hwankyu Jhun [Thu, 9 Sep 2021 09:57:47 +0000 (18:57 +0900)]
Fix a bug about C Generator

The delegate copy function has to set the callback function and the user data.

Change-Id: Ic9d0f65551d241da094aed667b8307da2b431c51
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix a bug about C# Generator 67/263767/2
Hwankyu Jhun [Thu, 9 Sep 2021 22:46:37 +0000 (07:46 +0900)]
Fix a bug about C# Generator

The argument of the method should be a user-specified value.
And, this patch removes unnecessary log print.

Change-Id: Ibff425bf60d7c940c5c0009c614c0f7ee1857378
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.5.0 01/263601/1 accepted/tizen/unified/20210913.123347 submit/tizen/20210910.110629 submit/tizen/20210913.035416
Hwankyu Jhun [Tue, 7 Sep 2021 01:32:56 +0000 (10:32 +0900)]
Release version 1.5.0

Changes:
 - Fix wrong bundle free.
 - Support CION commands
 - Remove build warning messages
 - Refactor C Generator
 - Fix C Generator
 - Fix wrong exception handlings
 - Fix C Generator

Change-Id: I9b86dea6be43a8cacbb83a8d383bf1a40c81b8c4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix C Generator 62/263462/1
Hwankyu Jhun [Fri, 3 Sep 2021 02:42:12 +0000 (11:42 +0900)]
Fix C Generator

The implemenation that the callback port check is separated.
If the interface doesn't have the delegate, the callback port check
is not needed.

Change-Id: I04aaf8c0d5a00347901afbbebda75f85744bf442
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix wrong exception handlings 83/263183/2
Hwankyu Jhun [Fri, 27 Aug 2021 09:36:51 +0000 (18:36 +0900)]
Fix wrong exception handlings

Change-Id: Icc3a43ea275179854f6ead083fc6415b2661ffa8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix C Generator 19/263119/1
Hwankyu Jhun [Thu, 26 Aug 2021 08:46:18 +0000 (17:46 +0900)]
Fix C Generator

The abbreviation of the interface is changed to 'iface'.

Change-Id: I853b980545742bcd0f7b85b42128225ef0b2f93b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRefactor C Generator 64/261764/52
Hwankyu Jhun [Wed, 18 Aug 2021 06:54:24 +0000 (15:54 +0900)]
Refactor C Generator

- Fixes code block for readability
- Fixes some APIs to support container type
- Adds new APIs for consistency with C++ Generator
- Renames the APIs
- Adds annotations to functions of header files.

Change-Id: I3a7afb069d80985f88562a0ef1b3ce07229440dc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRemove build warning messages 22/263022/1
Hwankyu Jhun [Tue, 24 Aug 2021 22:58:10 +0000 (07:58 +0900)]
Remove build warning messages

Change-Id: Idce6c65976ed268aa42a0f9f70ff5741d723575d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoSupport CION commands 98/262898/5
gotoextreme [Mon, 23 Aug 2021 07:40:49 +0000 (16:40 +0900)]
Support CION commands

Change-Id: I1778a096af91fae45d044e2c0a717ee6e28bda3c

3 years agoFix wrong bundle free. 04/262204/3
Changgyu Choi [Wed, 4 Aug 2021 07:03:00 +0000 (16:03 +0900)]
Fix wrong bundle free.

TIDL c++ codes not copy bundle, when construct Bundle with "Bundle(bundle*)".
So bundle* shouldn't be freed after using "Bundle(bundle*)"

Change-Id: I9a0e9774bf897086081837e168560d389fa7c71f
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoRelease version 1.4.9 85/261385/1 accepted/tizen/unified/20210719.025302 submit/tizen/20210716.083333
Hwankyu Jhun [Fri, 16 Jul 2021 08:31:22 +0000 (17:31 +0900)]
Release version 1.4.9

Changes:
 - Fix bugs of C Generator

Change-Id: I98c447e743814e031c448eb67ca143e19927a663
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix bugs of C Generator 70/261370/3
Hwankyu Jhun [Fri, 16 Jul 2021 06:00:58 +0000 (15:00 +0900)]
Fix bugs of C Generator

The exception handling of getter is wrong. The function has to release
the allocated memory if Out-of-Memory error occurs.

Change-Id: I799f3ad9424210c0cae10973523f2022614c4cf0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.4.8 65/261365/1 submit/tizen/20210716.045930
Hwankyu Jhun [Fri, 16 Jul 2021 03:20:32 +0000 (12:20 +0900)]
Release version 1.4.8

Changes:
 - Fix bugs of C Generator

Change-Id: Iad1e9e58426f3d68979ef310db650d09fd1e088b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix bugs of C Generator 51/261351/1
Hwankyu Jhun [Fri, 16 Jul 2021 01:30:34 +0000 (10:30 +0900)]
Fix bugs of C Generator

If the type is built-in type, setting the result to an integer variable
is not needed.

Change-Id: I00106fcf8c8019b9b8c034b96fc9c48974ab81b5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.4.7 67/261167/1 accepted/tizen/unified/20210714.014134 submit/tizen/20210713.002817
Hwankyu Jhun [Tue, 13 Jul 2021 00:22:32 +0000 (09:22 +0900)]
Release version 1.4.7

Changes:
 - Fix C Generator

Change-Id: I7637d8d4c99f7ccaa816171cf683c85fca1d66bc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix C Generator 45/261145/1
Hwankyu Jhun [Mon, 12 Jul 2021 10:10:31 +0000 (19:10 +0900)]
Fix C Generator

This patch adds the return value check of the clone function.
If calling the function returns a negative error value, the generated
function returns a negative error value.

Change-Id: I114bb62990413e4e1bfa99625dc6686c65214fd1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.4.6 00/253600/1 accepted/tizen/unified/20210217.030926 submit/tizen/20210216.030940
Hwankyu Jhun [Tue, 16 Feb 2021 03:04:39 +0000 (12:04 +0900)]
Release version 1.4.6

Changes:
 - Fix memory leak

Change-Id: If39a8c4897b25a946f017c5fe46db54db6c946e4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix memory leak 93/253593/1
Hwankyu Jhun [Tue, 16 Feb 2021 02:00:12 +0000 (11:00 +0900)]
Fix memory leak

Change-Id: I930fdef4d8f3734c84e61f0c968d74ffa0dbdeb9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years ago"VersionUp" 55/248855/1
sangwook lee [Thu, 3 Dec 2020 18:22:39 +0000 (03:22 +0900)]
"VersionUp"

Change-Id: I4553a8538171fd9407dfbb4a7a4cafdb7609add1
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
3 years agoChange version to 6.5 89/248489/2
Hwankyu Jhun [Fri, 27 Nov 2020 06:17:58 +0000 (15:17 +0900)]
Change version to 6.5

Change-Id: Ib4907c5dfafe799983c0e4ef42cbde3fe8dd4147
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 1.4.4 99/242899/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.115946 accepted/tizen/6.0/unified/hotfix/20201103.050856 accepted/tizen/unified/20200902.145549 submit/tizen/20200902.004802 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 tizen_6.0.m2_release
Hwankyu Jhun [Wed, 2 Sep 2020 00:36:39 +0000 (09:36 +0900)]
Release version 1.4.4

Changes:
 - Fix static analysis issues

Change-Id: If72a7c0fbb3b7018f3670b39c9af9696f08eebfc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix static analysis issues 98/242898/1
Hwankyu Jhun [Wed, 2 Sep 2020 00:17:00 +0000 (09:17 +0900)]
Fix static analysis issues

Issues:
 - UNREACHABLE
 - UNINIT.CTOR

Change-Id: Ia4dc13bfd35f9a70d21b9a2a978a68f27e16ab69
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 1.4.3 20/242420/1 accepted/tizen/unified/20200831.002500 submit/tizen/20200826.235452
Hwankyu Jhun [Wed, 26 Aug 2020 23:49:10 +0000 (08:49 +0900)]
Release version 1.4.3

Changes:
 - Add a missing file to Makefile for macOS

Change-Id: I4c41578c7ad9a3b3915cebb4e92038b2c434daa7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoAdd a missing file to Makefile for macOS 19/242419/1
Hwankyu Jhun [Wed, 26 Aug 2020 23:37:14 +0000 (08:37 +0900)]
Add a missing file to Makefile for macOS

Change-Id: I04afb2189fd6f3a4b025ebb255fcea98b3c61c99
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 1.4.2 86/242186/1 accepted/tizen/unified/20200825.142816 submit/tizen/20200825.004026
Hwankyu Jhun [Tue, 25 Aug 2020 00:27:56 +0000 (09:27 +0900)]
Release version 1.4.2

Changes:
 - Remove internal header inclusion

Change-Id: I49e8bf3da8a3b0c278456bbdac171cc59513d7e3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRemove internal header inclusion 81/242181/1
Hwankyu Jhun [Mon, 24 Aug 2020 23:35:04 +0000 (08:35 +0900)]
Remove internal header inclusion

Change-Id: Ie180a8b5850968de2a019d36158058e707199f4a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 1.4.1 15/241915/1 submit/tizen/20200821.010433
Hwankyu Jhun [Fri, 21 Aug 2020 00:59:39 +0000 (09:59 +0900)]
Release version 1.4.1

Changes:
 - Fix build error of generated codes
 - Update messages related to tidlc options

Change-Id: Icf67961c2f44a9088cc4ae736f48044a19f1cdc0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoUpdate messages related to tidlc options 08/241908/1
Hwankyu Jhun [Fri, 21 Aug 2020 00:09:11 +0000 (09:09 +0900)]
Update messages related to tidlc options

Change-Id: I23b9951e072dc6f669d8d034a0ca7cbdb2d8ebed
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix build error of generated codes 46/241446/2
Hwankyu Jhun [Thu, 20 Aug 2020 07:48:10 +0000 (16:48 +0900)]
Fix build error of generated codes

If "-t" option(Enable thread) is disabled, codes related to thread are
not generated.

Change-Id: Ib27f12c4b304bebfc0562a95fb59f9a4b4bae757
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 1.4.0 24/241424/2 submit/tizen/20200820.052329
Hwankyu Jhun [Thu, 20 Aug 2020 05:00:02 +0000 (14:00 +0900)]
Release version 1.4.0

Changes:
 - Add more details for the tidlc error cases
 - Add file private sharing grammar
 - Add file sharing grammar for the C language
 - Add file sharing grammar for the C# language
 - Use receiving thread for cpp stub
 - Fix _GNU_SOURCE definition
 - Use receiving thread for c stub
 - Use ShareFile of Port class
 - Support synchronous connection requests
 - Fix C Generator

Change-Id: I6debd950b067cb8bbdf2e2a35ff138979948f458
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix C Generator 86/241186/1
Hwankyu Jhun [Tue, 18 Aug 2020 09:39:44 +0000 (18:39 +0900)]
Fix C Generator

- Initalizes variables of delegate

Change-Id: I31c3a7d7dcdf5b05d8e8ed239b3d32c5219a5c2d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoSupport synchronous connection requests 56/240956/2
Hwankyu Jhun [Thu, 13 Aug 2020 06:22:17 +0000 (15:22 +0900)]
Support synchronous connection requests

Change-Id: I03d0d7435c0f019864b57e44eb74f81a184c0bbf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoUse ShareFile of Port class 08/240408/1
Hwankyu Jhun [Thu, 6 Aug 2020 06:09:33 +0000 (15:09 +0900)]
Use ShareFile of Port class

Change-Id: Iaa4d3500fa95ba59bde46310186fb79ed5e2de0d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoUse receiving thread for c stub 61/239261/9
hyunho [Thu, 23 Jul 2020 07:45:43 +0000 (16:45 +0900)]
Use receiving thread for c stub

Change-Id: Ia309013c19dba6f81115c0aafbacd7ebb638f229
Signed-off-by: hyunho <hhstark.kang@samsung.com>
4 years agoFix _GNU_SOURCE definition 37/239837/1
Hwankyu Jhun [Thu, 30 Jul 2020 06:01:09 +0000 (15:01 +0900)]
Fix _GNU_SOURCE definition

This patch checks whether "_GNU_SOURCE" has been defined earlier in the file.

Change-Id: I884a6e7598e40e9127737ed4a9eb95c5c1518669
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoUse receiving thread for cpp stub 43/237143/4
hyunho [Thu, 25 Jun 2020 08:48:48 +0000 (17:48 +0900)]
Use receiving thread for cpp stub

Change-Id: I934cac8c5efbb150aa60333842074f602458d0ee
Signed-off-by: hyunho <hhstark.kang@samsung.com>
4 years agoAdd file sharing grammar for the C# language 96/235396/3
hyunho [Thu, 4 Jun 2020 08:01:02 +0000 (17:01 +0900)]
Add file sharing grammar for the C# language

Change-Id: Iaaea53bb6e8ccad8c43de8567d863713d3c451e4
Signed-off-by: hyunho <hhstark.kang@samsung.com>