platform/core/appfw/tidl.git
6 years agoHandle returned data 78/167378/1
Junghoon Park [Wed, 17 Jan 2018 08:41:00 +0000 (17:41 +0900)]
Handle returned data

When the proxy app is sending some request to the stub app, the stub app may try
to send callback data at the same time.
This path will make it possible to handle callback events to get the result
data.

Change-Id: Idb11a6efe630e055efbfef5aeaecd178a70e6da1
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoSupport 'delegate' syntax 57/167257/8
Junghoon Park [Tue, 16 Jan 2018 11:02:40 +0000 (20:02 +0900)]
Support 'delegate' syntax

Change-Id: Ia1daf2d2ee9a4b5a36442b4f2c326bd8e1b435af
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoGenerate access-control code for c# stub generator 49/166449/3
Junghoon Park [Wed, 10 Jan 2018 08:18:00 +0000 (17:18 +0900)]
Generate access-control code for c# stub generator

Change-Id: Id983e207e3fbfd0215a36d1dc3075f8ef8ce8f69
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoImplement c# proxy generator (interface part) 20/165820/6
Junghoon Park [Thu, 4 Jan 2018 07:38:38 +0000 (16:38 +0900)]
Implement c# proxy generator (interface part)

Change-Id: I08453fe5c2a4cb0be23af3428e9bc8304e5aa84e
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoImplement c# stub generator (interface part) 83/165583/7
Junghoon Park [Tue, 2 Jan 2018 08:32:08 +0000 (17:32 +0900)]
Implement c# stub generator (interface part)

Change-Id: I0a472a05ebd8675dd355a06263937775b96db537
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoChange file name 24/164924/1
Hwankyu Jhun [Fri, 22 Dec 2017 01:14:18 +0000 (10:14 +0900)]
Change file name

- Removes unnecessary space

Change-Id: I6e5c5ab980243ee413d0d7b9056257a055e04964
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoChange the method to template method to support closure expression 80/164780/1
Junghoon Park [Thu, 21 Dec 2017 04:27:36 +0000 (13:27 +0900)]
Change the method to template method to support closure expression

Change-Id: Iefda736028dcee42065e0955ff17e8724afbfef0
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd basic structure for generators 76/164676/3
Junghoon Park [Wed, 20 Dec 2017 08:56:14 +0000 (17:56 +0900)]
Add basic structure for generators

Change-Id: If2b4639096a52c53aaebc61aa34ffeaffcdb534f
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoProvide utility API to generate code easily 92/164592/4
Junghoon Park [Wed, 20 Dec 2017 01:36:02 +0000 (10:36 +0900)]
Provide utility API to generate code easily

Change-Id: I830acd782dce83eb1375cdb78c8f73b60b570de9
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoSupport delegate syntax 98/164598/5
Hwankyu Jhun [Wed, 20 Dec 2017 02:01:15 +0000 (11:01 +0900)]
Support delegate syntax

Change-Id: Idc51e11494f164f7ca9abed8d650aad10ff629c5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoSupport attributes for access control 04/164304/6
Hwankyu Jhun [Mon, 18 Dec 2017 10:58:11 +0000 (19:58 +0900)]
Support attributes for access control

Change-Id: I79552ae01fd7fe40df5421cdea92e6fe70c1e3fe
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoSeparate C# generator 09/164509/3
Hwankyu Jhun [Tue, 19 Dec 2017 10:59:46 +0000 (19:59 +0900)]
Separate C# generator

Change-Id: I3ad683553caad8adc8163b34f39ed73151332323
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoGenerate c# code 36/164236/9
Junghoon Park [Mon, 18 Dec 2017 07:25:37 +0000 (16:25 +0900)]
Generate c# code

- generate syntax 'struct'

Change-Id: I1aca97a8f9718bbb784617543269e9fd14de043c
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoChange attribute token name 79/164179/1
Hwankyu Jhun [Sun, 17 Dec 2017 23:33:23 +0000 (08:33 +0900)]
Change attribute token name

- "Attribute" is changed to "Element".
- After this patch is applied, "Attribute" will be used
for access control(privilege).

Change-Id: I15b5401cea4672ae9854e84f5605917568f19463
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoChange parameter types for r-value reference 01/164101/1
Junghoon Park [Fri, 15 Dec 2017 08:37:16 +0000 (17:37 +0900)]
Change parameter types for r-value reference

Change-Id: Id0010cd7cd20a6ae7d68afe5f76f269329c4c38b
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd language option 77/163577/2
Hwankyu Jhun [Tue, 12 Dec 2017 07:12:05 +0000 (16:12 +0900)]
Add language option

+-----------------------------------------------------------+
| Usage:                                                    |
|  tidlc [OPTION...]                                        |
|                                                           |
| Options:                                                  |
|  -p, --proxy                 Generate proxy code          |
|  -s, --stub                  Generate stub code           |
|                                                           |
| Additional Options:                                       |
| -l, --language=LANGUAGE      Select generating language   |
| -i, --input=INPUT           a tidl interface file.        |
| -o, --output=OUTPUT         The generated interface file. |
+-----------------------------------------------------------+

Change-Id: I245d41636ada7409270054d971c9b97050391b94
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoSupport annotations 94/162994/7
Hwankyu Jhun [Thu, 7 Dec 2017 00:34:27 +0000 (09:34 +0900)]
Support annotations

Change-Id: Iab176142fa6cb5bded66f01ea8092732a84b01a6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoHandle tidl error 18/162318/7
Hwankyu Jhun [Thu, 30 Nov 2017 08:05:22 +0000 (17:05 +0900)]
Handle tidl error

Change-Id: I99cad4085bc1ab6d4ea8a70abeb88955eb2e8d78
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd Parser unit test 43/161843/1
Hwankyu Jhun [Tue, 28 Nov 2017 01:06:03 +0000 (10:06 +0900)]
Add Parser unit test

Change-Id: Ife5d85b74354d90f9213c151678095b26391e7d1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd unit tests 33/161133/15
Hwankyu Jhun [Wed, 22 Nov 2017 01:18:21 +0000 (10:18 +0900)]
Add unit tests

- Adds a script for unit tests
+-----------------------------------------------------------+
| Usage: unit_tests.sh <command>                            |
| Commands:                                                 |
| - build               Build the unit tests                |
| - clean               Clean all artifacts                 |
| - run                 Run the unit tests                  |
| - full                Build & Run the unit tests          |
+-----------------------------------------------------------+

Change-Id: I2270356d7dd99aea07947b5a42fc8979c8ec823c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix typo 27/161327/1
Hwankyu Jhun [Thu, 23 Nov 2017 00:11:33 +0000 (09:11 +0900)]
Fix typo

Change-Id: I2dc2de4a6ac17d7e9e63967e28689e5553ec321a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdjust directory structure 30/161130/1
Hwankyu Jhun [Wed, 22 Nov 2017 00:58:39 +0000 (09:58 +0900)]
Adjust directory structure

Change-Id: I09589c915dae34f0a455c27117c8b6eb2d71a516
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd structure for custom type 94/160894/3
Hwankyu Jhun [Mon, 20 Nov 2017 10:48:06 +0000 (19:48 +0900)]
Add structure for custom type

Change-Id: I2848a9e44d9a5a1151b44b5d8c30c73f0aa3d4c1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd grammar for list type 01/160501/4
Junghoon Park [Thu, 16 Nov 2017 10:44:27 +0000 (19:44 +0900)]
Add grammar for list type

Change-Id: Ib331e760382af98d63ba5c5352a567c1514249d6
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd IDL Compiler 68/159268/12
Hwankyu Jhun [Wed, 8 Nov 2017 01:09:50 +0000 (10:09 +0900)]
Add IDL Compiler

Change-Id: I6bb1d2e46982140bb6790937ee2dfedd8261572d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoInitial empty repository master
Tizen Infrastructure [Fri, 3 Nov 2017 09:44:40 +0000 (09:44 +0000)]
Initial empty repository