platform/core/appfw/tidl.git
6 years agoRemove unnecessary files 81/188681/1
Hwankyu Jhun [Fri, 7 Sep 2018 07:53:02 +0000 (16:53 +0900)]
Remove unnecessary files

Change-Id: I230896641e96d2ab4bbe66e5e21d190180033588
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 1.2.15 86/187986/1 accepted/tizen/unified/20180831.061821 submit/tizen/20180830.101312
Junghoon Park [Thu, 30 Aug 2018 06:34:06 +0000 (15:34 +0900)]
Release version 1.2.15

Changes:
 - Fixed C Generator
 - Adds new APIs for handling list

Change-Id: I9f58830b57a3ff5c6cbce18cec351664648af68b
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdds new APIs for handling list 64/187864/3
Junghoon Park [Wed, 29 Aug 2018 05:36:43 +0000 (14:36 +0900)]
Adds new APIs for handling list

- rpc_port_<structure>_remove_<list>()
- rpc_port_<structure>_get_<list>_length()

Change-Id: I2dbc8ce2942109d5f879fade9d534d83f14d3662
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRevert "Modified C Generator" 95/187695/1
Junghoon Park [Tue, 28 Aug 2018 02:25:31 +0000 (02:25 +0000)]
Revert "Modified C Generator"

This reverts commit 282ec9b2ebba1827c3318ecbdc4b522e5f0086f6.

Change-Id: I328e32c48c5559a5c7c1c7cdd1b62bdf48c35d06

6 years agoModified C Generator 72/187572/8
Hwankyu Jhun [Mon, 27 Aug 2018 11:26:42 +0000 (20:26 +0900)]
Modified C Generator

List setter/getter is modified.

Adds new API for handling list:
 - rpc_port_<structure>_remove_<list>()
 - rpc_port_<structure>_get_<list>_length()

Change-Id: I9f826b12593cabe5dae4a4da75727ce2f8c88e05
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFixed C Generator 84/187584/1
Hwankyu Jhun [Fri, 24 Aug 2018 10:13:44 +0000 (19:13 +0900)]
Fixed C Generator

Adds client number getter:
 - rpc_port_stub_<interface>_client_number()

Change-Id: I6676d81d110c00f038eb7bfc1f70d9eea8601ff8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 1.2.14 20/186320/1 submit/tizen/20180809.022140
Junghoon Park [Thu, 9 Aug 2018 02:16:41 +0000 (11:16 +0900)]
Release version 1.2.14

Changes:
 - Add initializer for structure handle

Change-Id: I20094b2b972a06b9ae7d5ab214d7f256579ae46b
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd initializer for structure handle 07/186307/1
Hwankyu Jhun [Thu, 9 Aug 2018 01:23:01 +0000 (10:23 +0900)]
Add initializer for structure handle

Change-Id: I3a34ae2a008dd7b07941bd034f40c4764ae0b0d2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 1.2.13 96/186296/1
Junghoon Park [Thu, 9 Aug 2018 00:23:06 +0000 (09:23 +0900)]
Release version 1.2.13

Changes:
 - Change install path

Change-Id: Ie1909a6032f4a8ac5f728afe4b8bf9eb3c0f138c
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoChange install path 93/186293/1
Junghoon Park [Thu, 9 Aug 2018 00:18:27 +0000 (09:18 +0900)]
Change install path

Change-Id: Iabf1c6dd85b87cfed70a9e7df674df7b1074afd0
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 1.2.12 66/185966/1 accepted/tizen/unified/20180807.061000 submit/tizen/20180806.022045
Junghoon Park [Mon, 6 Aug 2018 02:14:50 +0000 (11:14 +0900)]
Release version 1.2.12

Changes:
 - Fix a bug about using wrong API for rpc-port

Change-Id: Ic107b315e9521a7083a28893f1b227175ab816f4
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix a bug about using wrong API for rpc-port 64/185964/1
Junghoon Park [Mon, 6 Aug 2018 02:07:10 +0000 (11:07 +0900)]
Fix a bug about using wrong API for rpc-port

Change-Id: I494395b730cfb95cb9bddbc5bb7087977d961a4b
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 1.2.11 39/185839/1 submit/tizen/20180803.024210
Junghoon Park [Fri, 3 Aug 2018 02:35:31 +0000 (11:35 +0900)]
Release version 1.2.11

Changes:
 - Add initializer for callback handle

Change-Id: I886cd2022509969f47a483daf420d6377dd3139a
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd initializer for callback handle 35/185835/2
Junghoon Park [Fri, 3 Aug 2018 02:00:30 +0000 (11:00 +0900)]
Add initializer for callback handle

Change-Id: I869f77ffc89a255ecb93199c4f370610ed4a7753
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 1.2.10 76/184876/1 accepted/tizen/unified/20180724.073359 submit/tizen/20180724.050836
Junghoon Park [Tue, 24 Jul 2018 05:03:28 +0000 (14:03 +0900)]
Release version 1.2.10

Changes:
 - Fix bug about parsing unknown tokens

Change-Id: Ide1c4c294c2d08a7c9e4914d506963d8a2298996
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix bug about parsing unknown tokens 73/184873/1
Junghoon Park [Tue, 24 Jul 2018 04:55:20 +0000 (13:55 +0900)]
Fix bug about parsing unknown tokens

Change-Id: If0a39c48242867f1a5c9453d6a72279c87416244
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 1.2.9 52/184352/1 accepted/tizen/unified/20180718.071614 submit/tizen/20180718.022221
Junghoon Park [Tue, 17 Jul 2018 09:52:02 +0000 (18:52 +0900)]
Release version 1.2.9

Changes:
  - Change script names for macos

Change-Id: I5d0a4e87b0233f84c127f54db4ccc1c68c6ee4d2
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoChange script names for macos 38/184338/1
Junghoon Park [Tue, 17 Jul 2018 08:52:13 +0000 (17:52 +0900)]
Change script names for macos

Change-Id: Ia4cac4ab9966cd5d04b71828c2a4cde1567acd70
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 1.2.8 88/184288/1 accepted/tizen/unified/20180717.143437 submit/tizen/20180717.051239
Junghoon Park [Tue, 17 Jul 2018 04:49:32 +0000 (13:49 +0900)]
Release version 1.2.8

Changes:
 - Add tidlc tool path into PATH for windows OS

Change-Id: If6ec6ec16061df75fbc2793c52e6564b6e88abad
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd tidlc tool path into PATH for windows OS 62/184262/4
Junghoon Park [Tue, 17 Jul 2018 00:28:50 +0000 (09:28 +0900)]
Add tidlc tool path into PATH for windows OS

Change-Id: I016f988a85244a4f0302b43b72515b169aaf3865
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 1.2.7 40/184140/1
Junghoon Park [Mon, 16 Jul 2018 02:05:11 +0000 (11:05 +0900)]
Release version 1.2.7

Changes:
 - Fix wrong installed path for DIBS

Change-Id: Ia22c5cd7e7adbc96677772d29bee952926fa2533
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix wrong installed path for DIBS 25/184125/1
Junghoon Park [Mon, 16 Jul 2018 01:26:17 +0000 (10:26 +0900)]
Fix wrong installed path for DIBS

Change-Id: I81f0a44f70ea7a1dc4d365599a0c75f872f2bd1f
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 1.2.6 19/184119/1
Junghoon Park [Mon, 16 Jul 2018 00:52:00 +0000 (09:52 +0900)]
Release version 1.2.6

Changes:
 - Change install path for DIBS

Change-Id: I5cd5c30e656db956c6bc26c08ae7b12c1d46e02e
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoChange install path for DIBS 14/184114/1
Junghoon Park [Mon, 16 Jul 2018 00:17:11 +0000 (09:17 +0900)]
Change install path for DIBS

Change-Id: I7011a981198c7aa7c4e5e10c0a1ae88f844ab398
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 1.2.5 77/183977/1 tizen_4.0_tv accepted/tizen/4.0/unified/20180715.224015 submit/tizen/20180713.004652 submit/tizen_4.0/20180713.004829
Junghoon Park [Fri, 13 Jul 2018 00:24:54 +0000 (09:24 +0900)]
Release version 1.2.5

Changes:
 - Support build for 64bit Mac OS
 - Add some files for DIBS
 - Add makefile for DIBS
 - Fix build error for DIBS
 - Add tidlc binary for windows

Change-Id: I994e1790cc0d47aafd2d2a7b98c9af0f887a920f
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd tidlc binary for windows 75/183975/1
Junghoon Park [Fri, 13 Jul 2018 00:11:24 +0000 (09:11 +0900)]
Add tidlc binary for windows

Change-Id: I9e7968c891574feaf7b3067543ecdd1d3a5b1892
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix build error for DIBS
Junghoon Park [Thu, 12 Jul 2018 12:29:57 +0000 (21:29 +0900)]
Fix build error for DIBS

Change-Id: I3b90dbf539e3f5ffe10104dac6876a90defde65c
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd makefile for DIBS 78/183878/1
Junghoon Park [Thu, 12 Jul 2018 05:21:15 +0000 (14:21 +0900)]
Add makefile for DIBS

- Because DIBS for windows and macOS does not support cmake, the makefile was added

Change-Id: Idc7274012a8363b14184d67fb3c1b2354c2847ce
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd some files for DIBS 39/176539/7
Junghoon Park [Fri, 20 Apr 2018 02:09:55 +0000 (11:09 +0900)]
Add some files for DIBS

Change-Id: I322946ddc53c9d08230848eb455fd23b386faf1a
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoSupport build for 64bit Mac OS 61/183761/1
Junghoon Park [Wed, 11 Jul 2018 00:18:38 +0000 (09:18 +0900)]
Support build for 64bit Mac OS

Change-Id: I3f10bebe0d00f706581495ab036c7389b6504209
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 1.2.4 41/183141/1 accepted/tizen/4.0/unified/20180703.101150 accepted/tizen/unified/20180704.074921 submit/tizen/20180703.011224 submit/tizen_4.0/20180703.011320
Junghoon Park [Tue, 3 Jul 2018 01:09:40 +0000 (10:09 +0900)]
Release version 1.2.4

Changes:
 - Support build script for Windows
 - Support build for 32bit Windows
 - Fix static analysis issue

Change-Id: Iedcb6240447a90c6bc300a71e40b9a75a4c4bd66
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix static analysis issue 40/183140/1
Junghoon Park [Tue, 3 Jul 2018 01:04:51 +0000 (10:04 +0900)]
Fix static analysis issue

Change-Id: I4dbbda98c4751ee341bd0420322638a338a9c2be
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoSupport build for 32bit Windows 94/183094/1
Junghoon Park [Mon, 2 Jul 2018 07:21:03 +0000 (16:21 +0900)]
Support build for 32bit Windows

build
  ./build.sh build_win32

Change-Id: I78766fdc92c6dcec365254a66ba3f4cb69f7cf63
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoSupport build script for Windows 31/183031/5
Junghoon Park [Mon, 2 Jul 2018 01:01:32 +0000 (10:01 +0900)]
Support build script for Windows

Prep
 sudo apt-get install mingw-w64

Build
 ./build.sh build_win

Change-Id: Ie73f72be7916d3625e560ccdee73e635a681fe87
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 1.2.3 25/183025/1 accepted/tizen/4.0/unified/20180702.105554 accepted/tizen/unified/20180702.062931 submit/tizen/20180702.003222 submit/tizen_4.0/20180702.003307
Junghoon Park [Sun, 1 Jul 2018 23:58:22 +0000 (08:58 +0900)]
Release version 1.2.3

Changes:
 - Use static link options

Change-Id: If855e891ba67a43d2fa18c642a791a71a60c0769
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoUse static link options 24/183024/1
Junghoon Park [Sun, 1 Jul 2018 23:40:50 +0000 (08:40 +0900)]
Use static link options

- To avoid the shared library compatibility issue

Change-Id: I2c173e3f049282a933f3f0f7b9eadf5487b18b8e
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 1.2.2 83/182883/1 accepted/tizen/4.0/unified/20180629.000217 accepted/tizen/unified/20180628.130549 submit/tizen/20180628.103732 submit/tizen_4.0/20180628.103845
Junghoon Park [Thu, 28 Jun 2018 10:34:07 +0000 (19:34 +0900)]
Release version 1.2.2

Changes:
 - Terminate the service object if timeout happen
 - Modify exception handling of C Generator
 - Adjust coding style for C Generator
 - Revert "Terminate the service object if timeout happen"
 - Revert "Modify exception handling of C Generator"
 - Merge "Revert "Terminate the service object if timeout happen"" into tizen
 - Add exception handler in stub code

Change-Id: I2e999659e01a0b373ed8b770fdd414c34effd67c
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd exception handler in stub code 79/182879/2
Junghoon Park [Thu, 28 Jun 2018 10:28:56 +0000 (19:28 +0900)]
Add exception handler in stub code

Change-Id: I7d04e8583b31cbe2787507b1d33ba724fb628d6b
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoMerge "Revert "Terminate the service object if timeout happen"" into tizen
Junghoon Park [Thu, 28 Jun 2018 10:19:30 +0000 (10:19 +0000)]
Merge "Revert "Terminate the service object if timeout happen"" into tizen

6 years agoRevert "Modify exception handling of C Generator" 56/182856/2
Junghoon Park [Thu, 28 Jun 2018 09:54:02 +0000 (09:54 +0000)]
Revert "Modify exception handling of C Generator"

This reverts commit 9ea9517532e3969107829948f9bfe8670adc5ec2.

Change-Id: If66dfe1895792e925a2f0c5bc1a4e08a91a921f1

6 years agoRevert "Terminate the service object if timeout happen" 55/182855/2
Junghoon Park [Thu, 28 Jun 2018 09:53:19 +0000 (09:53 +0000)]
Revert "Terminate the service object if timeout happen"

This reverts commit 5450273ecb2bbcf9657f169df4eee46acd76f7d2.

Change-Id: I10f20b07a22dffcf5503de30e41bdb561dc2e605

6 years agoAdjust coding style for C Generator 06/182806/2
Hwankyu Jhun [Thu, 28 Jun 2018 06:12:34 +0000 (15:12 +0900)]
Adjust coding style for C Generator

Change-Id: I969426a20391c57a2f9b9a287003bc41e48459c2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoModify exception handling of C Generator 84/182784/4
Hwankyu Jhun [Thu, 28 Jun 2018 04:57:52 +0000 (13:57 +0900)]
Modify exception handling of C Generator

If creating parcel from port is failed, the stub app releases
the proxy context.

Change-Id: Id14bfbbe1011b245da63cb73db8b23862bc7fbc9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoTerminate the service object if timeout happen 85/182785/1
Junghoon Park [Thu, 28 Jun 2018 04:59:57 +0000 (13:59 +0900)]
Terminate the service object if timeout happen

Change-Id: I32a564e77355be52c648c1a2e786d8a7265b6893
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 1.2.1 53/182653/1 accepted/tizen/4.0/unified/20180627.225313 accepted/tizen/unified/20180627.151233 submit/tizen/20180627.020151 submit/tizen_4.0/20180627.020317
Junghoon Park [Wed, 27 Jun 2018 01:58:42 +0000 (10:58 +0900)]
Release version 1.2.1

Changes:
 - Fix build warning

Change-Id: Iefb2ec6474d922bfafeddaa1804fc1516617da7c
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix build warning 33/182533/1
Junghoon Park [Tue, 26 Jun 2018 04:09:50 +0000 (13:09 +0900)]
Fix build warning

- In c++ the type of literal is 'const char*'

Change-Id: I1de20e82953481aab7d821e15cb1a60475e73ef2
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 1.2.0 27/182427/1 accepted/tizen/4.0/unified/20180625.141457 accepted/tizen/unified/20180626.064842 submit/tizen/20180625.060832 submit/tizen_4.0/20180625.061018
Hwankyu Jhun [Mon, 25 Jun 2018 06:03:51 +0000 (15:03 +0900)]
Release version 1.2.0

Changes:
 - Modify printing dlog messages
 - Modify C proxy generator

Remarks:
 - C proxy functions are changed. Please check Readme file.

Change-Id: I2ecf7b542d638832fbaeb15c175623f032701b29
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoModify C proxy generator 43/181943/4
Hwankyu Jhun [Tue, 19 Jun 2018 05:52:18 +0000 (14:52 +0900)]
Modify C proxy generator

To make a reusable function, the functions are separated.

Change-Id: I0cc7252a84bd2e4316ddc30835088fb174c5cee3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoModify printing dlog messages 71/182371/1
Hwankyu Jhun [Fri, 22 Jun 2018 08:32:36 +0000 (17:32 +0900)]
Modify printing dlog messages

- Use basename()

Change-Id: Id08134528685a69de798e1584f056f2f9685fb0b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 1.1.0 72/182172/1 accepted/tizen/4.0/unified/20180621.141446 accepted/tizen/unified/20180621.141549 submit/tizen/20180621.053509 submit/tizen_4.0/20180621.054459
Junghoon Park [Thu, 21 Jun 2018 05:29:09 +0000 (14:29 +0900)]
Release version 1.1.0

Changes:
- Use delegate port to improve concurrency

Require:
- rpc-port v1.2.0 and over

Change-Id: I7dcb39cb6dc1e15b1bb1653a1d14a24f3018e2bb
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoUse delegate port to improve concurrency 17/182017/5
Junghoon Park [Wed, 20 Jun 2018 01:07:19 +0000 (10:07 +0900)]
Use delegate port to improve concurrency

require:
 - https://review.tizen.org/gerrit/#/c/182016/

Change-Id: I867e7e4795c0d0731cd12ed1aa3fa07a7efd218d
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 1.0.3 38/181638/1 accepted/tizen/4.0/unified/20180617.045956 accepted/tizen/unified/20180615.160508 submit/tizen/20180615.075801 submit/tizen_4.0/20180615.075904
Junghoon Park [Fri, 15 Jun 2018 07:55:11 +0000 (16:55 +0900)]
Release version 1.0.3

Changes:
- Clear delegate objects before being disconnected

Change-Id: Id1233a312efba8dcb340e900e2b91c3ed3abecf9
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoClear delegate objects before being disconnected 20/181620/1
Junghoon Park [Fri, 15 Jun 2018 06:40:44 +0000 (15:40 +0900)]
Clear delegate objects before being disconnected

Change-Id: I19e3e9b0bab90dd095cb734eef12dc29c3f4e3ab
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 1.0.2 07/181607/1 accepted/tizen/4.0/unified/20180615.155614 submit/tizen/20180615.043547 submit/tizen_4.0/20180615.052210
Hwankyu Jhun [Fri, 15 Jun 2018 05:16:04 +0000 (14:16 +0900)]
Release version 1.0.2

Changes:
 - Fix definitions of the macros

Change-Id: I5bc6fbe21f39f10778b72b8626ab0a295108b160
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix definitions of the macros 05/181605/2
Hwankyu Jhun [Fri, 15 Jun 2018 05:03:00 +0000 (14:03 +0900)]
Fix definitions of the macros

To fix build break issue, this patch adds a space.

Change-Id: I774366e4d20ee02873fd7132b7dd37d8c160be8b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 1.0.1 82/181582/1 submit/tizen/20180615.042944 submit/tizen_4.0/20180615.043020
Hwankyu Jhun [Fri, 15 Jun 2018 01:43:08 +0000 (10:43 +0900)]
Release version 1.0.1

Changes:
 - Change dlog messages

Change-Id: Ib0713333736b1c579d98818f0529b8c7c9bf9ffb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoChange dlog messages 00/181500/2
Hwankyu Jhun [Thu, 14 Jun 2018 08:55:19 +0000 (17:55 +0900)]
Change dlog messages

After this patch is applied, the generated code prints
file name, function name and line numbers.

Change-Id: I07ea6c638ebfde97714fe3e2ea16da6318250c04
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 1.0.0 13/181313/1 accepted/tizen/4.0/unified/20180612.131232 accepted/tizen/unified/20180612.130822 submit/tizen/20180612.050900 submit/tizen_4.0/20180612.052856
Junghoon Park [Tue, 12 Jun 2018 04:35:25 +0000 (13:35 +0900)]
Release version 1.0.0

Changes:
 - Make atomic operation to get sequence numbers (C)
 - Make atomic operation to get sequence numbers (C++)
 - Add log messages for debugging
 - Refactor cs generator
 - Fix build error
 - Use try_lock() to get lock

Change-Id: Idd0fd92fc83479dc5ec33352e34bfecf5bebde58
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoMake atomic operation to get sequence numbers 11/181311/1
Junghoon Park [Tue, 12 Jun 2018 04:01:05 +0000 (13:01 +0900)]
Make atomic operation to get sequence numbers

 - C generator

Change-Id: I5cd458d4ef1ac71e4519c1aab4b52ca62763f534
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoMake atomic operation to get sequence numbers 68/181268/1
Junghoon Park [Mon, 11 Jun 2018 10:46:16 +0000 (19:46 +0900)]
Make atomic operation to get sequence numbers

Change-Id: I4834cc0c7e826094a628e91af7572b3112cb8e72
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd log messages for debugging 92/181092/6
Hwankyu Jhun [Fri, 8 Jun 2018 04:54:00 +0000 (13:54 +0900)]
Add log messages for debugging

Change-Id: I5ef24f61d9d3a9a646d193d9cc4deb2dcbe7a280
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRefactor cs generator 65/180865/12
Junghoon Park [Tue, 5 Jun 2018 04:55:21 +0000 (13:55 +0900)]
Refactor cs generator

- Make RpcPort layer

Change-Id: Ibd920f4627b3f257b882884c41bd02cf65499b9d
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix build error 87/181087/1
Junghoon Park [Fri, 8 Jun 2018 04:03:29 +0000 (13:03 +0900)]
Fix build error

Change-Id: I8a2d3aa63bb1936c657299417cad24775ecdb95a
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoUse try_lock() to get lock 72/181072/1
Junghoon Park [Fri, 8 Jun 2018 02:36:24 +0000 (11:36 +0900)]
Use try_lock() to get lock

- Ignore event when other threads are sending something

Change-Id: I2eba4d0b9f49992dae5232173d68171b7aeb592b
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 0.9.6 68/180968/1 accepted/tizen/unified/20180611.015340 submit/tizen/20180607.021807 submit/tizen_4.0/20180607.022826
Junghoon Park [Thu, 7 Jun 2018 02:13:39 +0000 (11:13 +0900)]
Release version 0.9.6

Changes:
 - Ignore overdue message

Change-Id: Ia6dc04ab80f8a6146e46a9a4f6af9dfc02a466a5
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoIgnore overdue message 61/180961/1
Junghoon Park [Thu, 7 Jun 2018 01:54:59 +0000 (10:54 +0900)]
Ignore overdue message

Change-Id: I9b25bd187871aa8acadbc2d0a33c6a367933c6dc
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix resource leak and change the type 15/180715/2
Hwankyu Jhun [Fri, 1 Jun 2018 09:23:44 +0000 (18:23 +0900)]
Fix resource leak and change the type

- Releases the allocated memory before throwing the exception
- Changes the seqNum to volatile type

Change-Id: Id09fd26b1b00e9bc407998f4c0b1571a85d76ecf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.9.5 05/178705/1 accepted/tizen/4.0/unified/20180514.093956 accepted/tizen/unified/20180514.094147 submit/tizen/20180511.101758 submit/tizen_4.0/20180511.101837
Hwankyu Jhun [Fri, 11 May 2018 10:11:55 +0000 (19:11 +0900)]
Release version 0.9.5

Changes:
 - Comply with google coding rule
 - Add annotations about namespace
 - Add member initialization, Fix mismatched new/delete

Change-Id: I94a9265dd920c32f694fe6e2faffd6bb54fe0c15
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd member initialization, Fix mismatched new/delete 93/177893/1
Semun Lee [Fri, 4 May 2018 07:26:24 +0000 (16:26 +0900)]
Add member initialization, Fix mismatched new/delete

Change-Id: I1c2503acf41d070b4ead7c3ae677788ab931652b
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoAdd annotations about namespace 27/177627/2
Hwankyu Jhun [Wed, 2 May 2018 08:19:52 +0000 (17:19 +0900)]
Add annotations about namespace

Change-Id: I17f5a1cf961d31ac7cfec19574f9d57c77c6c7ab
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoComply with google coding rule 60/176460/4
Junghoon Park [Thu, 19 Apr 2018 09:59:48 +0000 (18:59 +0900)]
Comply with google coding rule

Change-Id: Iaa1962cb72c12e0b4049dd51b573e70d0229980f
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 0.9.4 94/176394/1 accepted/tizen/4.0/unified/20180423.062900 accepted/tizen/unified/20180419.134306 submit/tizen/20180419.050253 submit/tizen_4.0/20180419.220857
Hwankyu Jhun [Thu, 19 Apr 2018 04:54:04 +0000 (13:54 +0900)]
Release version 0.9.4

Changes:
 - Set default value

Change-Id: Ia690542a8c03c46eb5119781de457cdadfaef97b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoSet default value 02/176302/2
Hwankyu Jhun [Wed, 18 Apr 2018 09:20:04 +0000 (18:20 +0900)]
Set default value

If the string parameter is null, tidl sets empty string.

Change-Id: If694ddb8b743fb5bbdfa53f36d8f8b6bdbd017b2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.9.3 05/176205/1 accepted/tizen/unified/20180418.071806 submit/tizen/20180417.094831 submit/tizen_4.0/20180418.044258 submit/tizen_4.0/20180419.044051
Hwankyu Jhun [Tue, 17 Apr 2018 09:43:36 +0000 (18:43 +0900)]
Release version 0.9.3

Changes:
 - Adjust coding style for C Generator
 - Fix memory leak about generated codes
 - Initialize data members for some built-in types
 - Make thread safe code

Change-Id: Ic0072683d6e43d12fefb80e01d8072808e6ac147
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoMake thread safe code 34/176134/6
Hwankyu Jhun [Tue, 17 Apr 2018 02:43:18 +0000 (11:43 +0900)]
Make thread safe code

- Adds locking and unlocking the mutex on generated C codes

Change-Id: Ibdaa68cdd1ef3591160e0cb06e753043270986e0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoInitialize data members for some built-in types 80/176180/1
Junghoon Park [Tue, 17 Apr 2018 08:44:17 +0000 (17:44 +0900)]
Initialize data members for some built-in types

Change-Id: I326e1e7900fd5d7ff4dcf525a8c353c195f293da
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix memory leak about generated codes 45/176145/2
Hwankyu Jhun [Tue, 17 Apr 2018 06:35:19 +0000 (15:35 +0900)]
Fix memory leak about generated codes

Change-Id: Ie6654325a8b3512d37d3cbaf26fce6ce00672179
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdjust coding style for C Generator 18/176118/2
Hwankyu Jhun [Tue, 17 Apr 2018 00:46:05 +0000 (09:46 +0900)]
Adjust coding style for C Generator

- Removes unnecessary blank lines
+------------------------------+------------------------------+
| Before                       | After                        |
+------------------------------+------------------------------+
| static void func(void)       | static void func(void)       |
| {                            | {                            |
|     int k;                   |         int k;               |
|                              |                              |
|                              |         printf("Test");      |
|     printf("Test");          | }                            |
|                              |                              |
|                              |                              |
| }                            |                              |
+------------------------------+------------------------------+

Change-Id: I642c904d83eb7c426b7276fe2c122b0a9ec7fe14
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.9.2 16/176116/1 accepted/tizen/unified/20180417.173207 submit/tizen/20180417.003852
Junghoon Park [Mon, 16 Apr 2018 23:56:57 +0000 (08:56 +0900)]
Release version 0.9.2

Changes:
 - Fix wrong handle type

Change-Id: I0c3bf9c123ee4ed11be46c22df327eba48db2ead
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix wrong handle type 76/176076/1
Junghoon Park [Mon, 16 Apr 2018 10:23:53 +0000 (19:23 +0900)]
Fix wrong handle type

Change-Id: I45070a6bf053c8482ee8f90c2c6e59c294dfe774
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 0.9.1 45/175945/1 accepted/tizen/unified/20180416.213834 submit/tizen/20180416.015426
Hwankyu Jhun [Mon, 16 Apr 2018 01:30:13 +0000 (10:30 +0900)]
Release version 0.9.1

Changes:
 - Adjust coding style of generating C code
 - Fix build warning

Change-Id: I56331f6a83755fb1b1d09b0dab54db8a1c5b4213
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix build warning 55/175855/1
Junghoon Park [Fri, 13 Apr 2018 02:40:41 +0000 (11:40 +0900)]
Fix build warning

Change-Id: I48b86ada9f4e7cb50cda34dd2bfabbb0f145226d
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdjust coding style of generating C code 82/175782/2
Hwankyu Jhun [Thu, 12 Apr 2018 08:26:00 +0000 (17:26 +0900)]
Adjust coding style of generating C code

Change-Id: I8f8dbbee9450c1cb9254f6aebb15d4a544818184
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.9.0 51/175151/1 accepted/tizen/unified/20180410.063615 submit/tizen/20180409.064234 submit/tizen_4.0/20180415.222009
Junghoon Park [Mon, 9 Apr 2018 02:36:41 +0000 (11:36 +0900)]
Release version 0.9.0

 Changes:
- Change the return type for callbacks

Change-Id: I3ecfc91f1078ba93376e53e2cb152dede63af181
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoChange the return type for callbacks 07/175107/1
Junghoon Park [Mon, 9 Apr 2018 01:56:47 +0000 (10:56 +0900)]
Change the return type for callbacks

- The return type for callbacks was changed from 'void' to
  'bool' in order to stop the iteration

Change-Id: I2bd5661850658615a774e6d6b603394e94c91335
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 0.8.1 41/174941/1 accepted/tizen/unified/20180409.060416 submit/tizen/20180405.083136
Junghoon Park [Thu, 5 Apr 2018 07:39:07 +0000 (16:39 +0900)]
Release version 0.8.1

 Changes:
- Refactor tidl generator

Change-Id: I2c73d87cb531bfc2080fd7dfcf5215d13b5d5f41
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRefactor tidl generator 38/174538/5
Junghoon Park [Tue, 3 Apr 2018 01:05:14 +0000 (10:05 +0900)]
Refactor tidl generator

- Move some methods to base class
- Use ReplaceAll method to reduce redundant code

Change-Id: I530ee4e9331dc92006c3164d84b9ec3f099a04b0
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 0.8.0 33/174533/1 accepted/tizen/unified/20180405.064422 submit/tizen/20180403.010918
Junghoon Park [Tue, 3 Apr 2018 00:30:56 +0000 (09:30 +0900)]
Release version 0.8.0

 Changes:
- Fix a bug about checking callbacks
- Invoke terminated callbacks before finishing the stub object
- Generate comments for methods in the interface
- Add an option for adding prefix

Change-Id: Ic60b3f5ac8049646ec72ac0e17a0709053659ab9
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix a bug about checking callbacks 68/174468/1
Junghoon Park [Mon, 2 Apr 2018 08:48:40 +0000 (17:48 +0900)]
Fix a bug about checking callbacks

Change-Id: I465e3575d633cbccb7514ee28e73c16339bf2f59
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoInvoke terminated callbacks before finishing the stub object 40/174440/2
Junghoon Park [Mon, 2 Apr 2018 07:10:36 +0000 (16:10 +0900)]
Invoke terminated callbacks before finishing the stub object

Change-Id: I7639f34418ea84be9891fd92df63ec56117fa405
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoGenerate comments for methods in the interface 27/174427/2
Junghoon Park [Mon, 2 Apr 2018 06:14:30 +0000 (15:14 +0900)]
Generate comments for methods in the interface

Change-Id: I6cd7ee20a714882905c467e277639bec743da0ec
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd an option for adding prefix 10/174410/1
Junghoon Park [Mon, 2 Apr 2018 04:40:52 +0000 (13:40 +0900)]
Add an option for adding prefix

-n, --namespace
   Add the prefix in the funtion name as output file name (C language only).

Change-Id: Iaf99fd34736c78474c833ec5d6925eaac14ec1e3
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 0.7.0 03/174303/1 submit/tizen/20180330.040628
Junghoon Park [Fri, 30 Mar 2018 01:57:31 +0000 (10:57 +0900)]
Release version 0.7.0

 Changes:
- Generate APIs for disposing delegates

Change-Id: I77ebc802132c9840de929eec01646e6880d0a25c
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoGenerate APIs for disposing delegates 65/174265/2
Junghoon Park [Thu, 29 Mar 2018 11:29:40 +0000 (20:29 +0900)]
Generate APIs for disposing delegates

Change-Id: I52bc2af8b9b9a47737fb3bcfdf0c0eb8e7abed5c
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 0.6.0 90/174190/1 submit/tizen/20180329.042500
Junghoon Park [Thu, 29 Mar 2018 04:23:42 +0000 (13:23 +0900)]
Release version 0.6.0

 Changes:
- Implement instant callback

Change-Id: Ia995ea3b4ae84a4ecb6616301b0ff4056aed95f7
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoImplement instant callback 97/174097/3
Junghoon Park [Wed, 28 Mar 2018 04:54:55 +0000 (13:54 +0900)]
Implement instant callback

- Added the flag parameter for making delegate object
- The delegate object will be removed after receiving the event

Change-Id: I1b60ea23b70a0d548b9a85b88e90aa0481f15778
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 0.5.1 98/173998/1 accepted/tizen/unified/20180329.125112 submit/tizen/20180328.014658
Junghoon Park [Tue, 27 Mar 2018 10:18:17 +0000 (19:18 +0900)]
Release version 0.5.1

 Changes:
- Fix a bug at c++ generator
- Fix some bugs at c-generator
- Fix a bug at c-generator

Change-Id: Ia5ba225579965285955dfb56191d60b93b4a0208
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix a bug at c++ generator 92/173992/1
Junghoon Park [Tue, 27 Mar 2018 10:03:28 +0000 (19:03 +0900)]
Fix a bug at c++ generator

- Serializer and deserializer for string list type genarate wrong type

Change-Id: I36ab591fc6ffc8260963bc13b6570d502e9b55ab
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix some bugs at c-generator 78/173978/1
Junghoon Park [Tue, 27 Mar 2018 08:53:38 +0000 (17:53 +0900)]
Fix some bugs at c-generator

- Free return type at stub method
- Remove generating unused code
- Remove generating empty enum block

Change-Id: Ic0eb81efde63605d8b60e1681f9803835c4cad94
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix a bug at c-generator 58/173958/1
Junghoon Park [Tue, 27 Mar 2018 07:33:32 +0000 (16:33 +0900)]
Fix a bug at c-generator

- Wrong type was generated

Change-Id: I38a1973142d54ed68015577bdfbe25e3677335a4
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>