platform/core/appfw/tidl.git
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>
6 years agoRelease version 0.5.0 03/173603/1 accepted/tizen/unified/20180327.144846 submit/tizen/20180323.001808
Junghoon Park [Thu, 22 Mar 2018 12:15:21 +0000 (21:15 +0900)]
Release version 0.5.0

 Changes:
- Add user data in delegate object

Change-Id: I7693873dbbd10173c76e1c1034d7ea56c0b05e22
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd user data in delegate object 01/173601/1
Junghoon Park [Thu, 22 Mar 2018 11:16:53 +0000 (20:16 +0900)]
Add user data in delegate object

Change-Id: I668baf7cf28b49c6dc3fc887a52b3d5b83f56495
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 0.4.0 78/173478/1 accepted/tizen/unified/20180322.145033 submit/tizen/20180322.041448
Junghoon Park [Thu, 22 Mar 2018 01:46:43 +0000 (10:46 +0900)]
Release version 0.4.0

 Changes:
- Remove printing the input file
- Add exception handlers and comments (C#)
- Fix a bug about long type
- Add exception handlers and comments

Change-Id: I496f9b3eb6d74524bb6678ae90bdc3bdc6b35f05
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRemove printing the input file 77/173477/1
Junghoon Park [Thu, 22 Mar 2018 01:42:19 +0000 (10:42 +0900)]
Remove printing the input file

Change-Id: Ie651b669ae59e0bbb11b33ce123fe52e5f3bfeea
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd exception handlers and comments (C#) 71/173271/2
Junghoon Park [Tue, 20 Mar 2018 08:05:42 +0000 (17:05 +0900)]
Add exception handlers and comments (C#)

Change-Id: If284f5e5e25096412a0525928a1262dc36355b97
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix a bug about long type 30/173230/2
Junghoon Park [Tue, 20 Mar 2018 06:00:47 +0000 (15:00 +0900)]
Fix a bug about long type

Change-Id: I2fef83b934931a9c43ca58b6ddaf6b1ca691df87
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd exception handlers and comments 60/173160/3
Junghoon Park [Tue, 20 Mar 2018 01:46:35 +0000 (10:46 +0900)]
Add exception handlers and comments

Change-Id: Ib678d14b9cf54147c1aa83e8ab1ba078061aa1f9
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 0.3.0 59/173059/1 accepted/tizen/unified/20180320.065806 submit/tizen/20180320.002013
Junghoon Park [Mon, 19 Mar 2018 09:42:28 +0000 (18:42 +0900)]
Release version 0.3.0

 Changes:
- Fix TCs
- Add README.md
- Fix a bug about wrong type
- Implement trusted-mode
- Refactor C generator
- Add a namespace using output filename (C++ / C#)
- Refactor C++ and C# generator

Change-Id: I8871d2cecb459dd8538b479f534cfd575c1ea4d2
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix TCs 58/173058/1
Junghoon Park [Mon, 19 Mar 2018 09:41:32 +0000 (18:41 +0900)]
Fix TCs

Change-Id: Ie822bd44616104d23bca081f0f0a22ed2945915b
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd README.md 10/173010/5
Junghoon Park [Mon, 19 Mar 2018 07:44:02 +0000 (16:44 +0900)]
Add README.md

Change-Id: Iaccaf056464624f80d9622287f590dae9dab4d18
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix a bug about wrong type 47/172947/1
Junghoon Park [Mon, 19 Mar 2018 05:23:42 +0000 (14:23 +0900)]
Fix a bug about wrong type

- long type was used instead of long long

Change-Id: I445e90ffc48e9f9e8e98abfba681ef0221eaebf7
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoImplement trusted-mode 45/172945/1
Junghoon Park [Mon, 19 Mar 2018 04:58:08 +0000 (13:58 +0900)]
Implement trusted-mode

- Call rpc_port_stub_set_trusted() function at generated code

Change-Id: If9f113abb381aab00076f4772fea5f656133a855
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRefactor C generator 78/172878/4
Junghoon Park [Fri, 16 Mar 2018 11:45:40 +0000 (20:45 +0900)]
Refactor C generator

- Add code block header files
- Fix some bugs

Change-Id: I32bf717a8d6f3e39398d4b9f90518e83ad81aafd
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd a namespace using output filename (C++ / C#) 91/172791/2
Junghoon Park [Fri, 16 Mar 2018 02:27:07 +0000 (11:27 +0900)]
Add a namespace using output filename (C++ / C#)

- To avoid creating a conflict with class names

Change-Id: If8df2b13f77c33c918ab6d17d20bc4ef6d41408f
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRefactor C++ and C# generator 44/172744/3
Junghoon Park [Thu, 15 Mar 2018 12:56:41 +0000 (21:56 +0900)]
Refactor C++ and C# generator

- Add code block header files
- Remove unused code
- Improve readability
- Fix a bug

Change-Id: I8900f514c28ecad78c5a1b28f0ed87e6e0e800c8
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 0.2.1 20/172220/1 accepted/tizen/unified/20180315.061327 submit/tizen/20180313.024049
Junghoon Park [Tue, 13 Mar 2018 01:55:56 +0000 (10:55 +0900)]
Release version 0.2.1

 Changes:
- Fix bug about generated type
- Change macro log to dlog_print function
- Add copyright

Change-Id: Iefcda42b305bafa85182be0d8002581e0e8f891d
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix bug about generated type 64/172164/2
Junghoon Park [Mon, 12 Mar 2018 09:02:46 +0000 (18:02 +0900)]
Fix bug about generated type

Change-Id: I18921881c0c9946ddfcf7bd1d625f2a0baf90d54
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoChange macro log to dlog_print function 05/172105/1
Junghoon Park [Mon, 12 Mar 2018 01:47:01 +0000 (10:47 +0900)]
Change macro log to dlog_print function

- SDK does not support macro log such as LOGE, LOGI and LOGW

Change-Id: Ia670fe9743b594064c36e91511200ac906083370
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd copyright 54/172054/1
Junghoon Park [Fri, 9 Mar 2018 08:57:02 +0000 (17:57 +0900)]
Add copyright

Change-Id: I437109817c426866685e7693c6fad1f4c8b48d94
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 0.2.0 43/172043/2 accepted/tizen/unified/20180312.060416 submit/tizen/20180309.073410
Junghoon Park [Fri, 9 Mar 2018 07:26:38 +0000 (16:26 +0900)]
Release version 0.2.0

 Changes:

- Add compiler version
- Add header files for code block
- Fix C Generator
- Fix bugs of C generator
- Fix C Generator
- Fix C# generator
- Fix bugs of c generator

Change-Id: Ic6d861f7d095b39ebf1551e939dff8c80fbce483
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd compiler version 42/172042/2
Junghoon Park [Fri, 9 Mar 2018 06:59:12 +0000 (15:59 +0900)]
Add compiler version

-v, --version               Show version information

Change-Id: I95fb5147c68b92aa16f666a136693bc2622d2970
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd header files for code block 18/171918/4
Junghoon Park [Thu, 8 Mar 2018 06:21:27 +0000 (15:21 +0900)]
Add header files for code block

Change-Id: Ie9047adc7314fa0bcacfce41a0900b3a4d7dc2d6
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix C Generator 26/171926/1
Hwankyu Jhun [Thu, 8 Mar 2018 06:50:32 +0000 (15:50 +0900)]
Fix C Generator

- Fixes implementation of array type

Change-Id: Ibde6fdaea6fd185a483336fab2fabcc863b0ef37
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix bugs of C generator 61/171861/2
Hwankyu Jhun [Wed, 7 Mar 2018 23:35:44 +0000 (08:35 +0900)]
Fix bugs of C generator

- Removes hardcoded strings
- Fixes wrong variable types
- Fixes wrong arguments
- Fixes wrong write strings

Change-Id: Ie4c8459a0b8a211420d5508faedaff87fff9022a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix C Generator 79/171679/7
Hwankyu Jhun [Tue, 6 Mar 2018 10:25:55 +0000 (19:25 +0900)]
Fix C Generator

- Fixes wrong exceptions
- Adjusts coding style(Fix naming rules)
"rpc_port_create_<name>()" => "rpc_port_<name>_create()"

Change-Id: Iff0d6ca50a4eb1f3a58e2a143050de6ca00f8495
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix C# generator 84/171484/2
Hwankyu Jhun [Mon, 5 Mar 2018 05:57:34 +0000 (14:57 +0900)]
Fix C# generator

- Fixes calling serialize/deserialize methods

Change-Id: I090cbeb7a530f2b8e8a7323babd57bc11fd7cc40
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix bugs of c generator 34/171434/1
Hwankyu Jhun [Mon, 5 Mar 2018 04:28:39 +0000 (13:28 +0900)]
Fix bugs of c generator

- Fixes a wrong indentation
- Fixes wrong parameters
- Fixes header generator base

Change-Id: I63d7c4572e99aa78582218e3ff8bb5b713bb0251
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease verion 0.1.1 55/171355/2 accepted/tizen/unified/20180302.061550 submit/tizen/20180302.022650
Hwankyu Jhun [Fri, 2 Mar 2018 02:12:34 +0000 (11:12 +0900)]
Release verion 0.1.1

Changes:
 - Add IDL Compiler
 - Add grammar for list type
 - Add structure for custom type
 - Adjust directory structure
 - Fix typo
 - Add unit tests
 - Add Parser unit test
 - Handle tidl error
 - Support annotations
 - Add language option
 - Change parameter types for r-value reference
 - Change attribute token name
 - Generate c# code
 - Separate C# generator
 - Support attributes for access control
 - Support delegate syntax
 - Provide utility API to generate code easily
 - Add basic structure for generators
 - Change the method to template method to support closure expression
 - Change file name
 - Implement c# stub generator (interface part)
 - Implement c# proxy generator (interface part)
 - Generate access-control code for c# stub generator
 - Support 'delegate' syntax
 - Handle returned data
 - Make stub disposable
 - Modify grammar to support empty parameter
 - Fix bug to use another constructor in stub
 - Fix checking handles
 - move test to %check section in spec file
 - Use CMAKE_SOURCE_DIR macro for local build
 - Make generated APIs thread-safe
 - for checking line coverage
 - Remove code block API
 - Fix interop method
 - Add type 'array<>'
 - Implement C Generator (Structure Part)
 - Implement C++ Generator (Structure Part)
 - Refactor c++ generator (struct part)
 - Add weak reference to delegate object
 - Find services using instance id
 - Implement C Stub Generator (Interface part)
 - Implement c++ proxy generator (interface part)
 - Implement C Proxy Generator (Interface part)
 - Fix a bug about stub method handler
 - Implement c++ stub generator (interface part)
 - Add the file name extension '.cs' for C# stub generator
 - Change parameter type for callback
 - Fix C Stub Generator
 - Fix C Body Generator (Structure part)
 - Call access-control API
 - Fix C Generator
 - Fix a bug about C Stub Generator

Change-Id: I54be4ffd278c6acfaf8beb946556eee463dffdbf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix a bug about C Stub Generator 52/171352/2
Hwankyu Jhun [Fri, 2 Mar 2018 02:01:48 +0000 (11:01 +0900)]
Fix a bug about C Stub Generator

- Removes hardcoded interface name

Change-Id: I23364f37d6e230a4196f348e15eac9b8f8ce3095
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix C Generator 85/171285/3
Hwankyu Jhun [Wed, 28 Feb 2018 07:34:54 +0000 (16:34 +0900)]
Fix C Generator

- Adjusts coding style
e.g. "void* value;" => "void *value;"

Change-Id: I53288bdb591d5ea9296f276cb60eb5b104dad440
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoCall access-control API 49/171349/2
Junghoon Park [Fri, 2 Mar 2018 00:27:14 +0000 (09:27 +0900)]
Call access-control API

Change-Id: I47fde8d5d3093d5839497820784a69d55d4f653c
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix C Body Generator (Structure part) 66/171266/1
Hwankyu Jhun [Wed, 28 Feb 2018 03:51:38 +0000 (12:51 +0900)]
Fix C Body Generator (Structure part)

- Uses ReplaceAll method to reduce duplicated codes

Change-Id: I8006a6244d28a92586dc1a6b14d8da2e621e87b7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix C Stub Generator 61/171261/1
Hwankyu Jhun [Wed, 28 Feb 2018 02:44:16 +0000 (11:44 +0900)]
Fix C Stub Generator

- Seperates adding privileges function from registering function

Change-Id: I5ca9710f0c5de4fd353fb9b26807ad292edb6751
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoChange parameter type for callback 02/171202/1
Junghoon Park [Tue, 27 Feb 2018 11:21:34 +0000 (20:21 +0900)]
Change parameter type for callback

- The callback type should be a pointer which has ownership

Change-Id: Ib0b580bc8d96edb4b935933d6ea5040d28f094c3
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd the file name extension '.cs' for C# stub generator 71/171171/1
Junghoon Park [Tue, 27 Feb 2018 07:28:08 +0000 (16:28 +0900)]
Add the file name extension '.cs' for C# stub generator

Change-Id: I5b7f33843970e687834a097c6603c02d457a4986
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoMerge "Implement c++ stub generator (interface part)" into tizen
Junghoon Park [Tue, 27 Feb 2018 07:08:29 +0000 (07:08 +0000)]
Merge "Implement c++ stub generator (interface part)" into tizen

6 years agoImplement c++ stub generator (interface part) 33/170933/9
Junghoon Park [Fri, 23 Feb 2018 08:27:39 +0000 (17:27 +0900)]
Implement c++ stub generator (interface part)

Change-Id: I1af1ef89b82a9e91581f29eabcb9fc91fc3d7c17
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix a bug about stub method handler 60/171160/1
Hwankyu Jhun [Tue, 27 Feb 2018 06:18:05 +0000 (15:18 +0900)]
Fix a bug about stub method handler

Change-Id: Ib003e816cd4c9756661f41713365fc93907fde97
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoImplement C Proxy Generator (Interface part) 34/171034/5
Hwankyu Jhun [Fri, 23 Feb 2018 09:41:03 +0000 (18:41 +0900)]
Implement C Proxy Generator (Interface part)

Change-Id: I0d3419ee6da56834e73a858bf114c64bb1db2c0b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoImplement c++ proxy generator (interface part) 51/170651/15
Junghoon Park [Fri, 23 Feb 2018 06:00:40 +0000 (15:00 +0900)]
Implement c++ proxy generator (interface part)

Change-Id: Ie47e0196d2e2e87f37b9352b88600c877517faca
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoImplement C Stub Generator (Interface part) 82/170782/13
Hwankyu Jhun [Thu, 22 Feb 2018 05:39:10 +0000 (14:39 +0900)]
Implement C Stub Generator (Interface part)

Change-Id: I1af21520740434ce28ae68d8827aa68066e23480
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFind services using instance id 24/170724/1
Junghoon Park [Thu, 22 Feb 2018 00:36:07 +0000 (09:36 +0900)]
Find services using instance id

- Require:
 https://review.tizen.org/gerrit/#/c/170718/

Change-Id: I5521a93a157b1417748ee40197254b81f55d24ca
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoAdd weak reference to delegate object 77/170577/1
Junghoon Park [Wed, 21 Feb 2018 01:33:48 +0000 (10:33 +0900)]
Add weak reference to delegate object

- The weak reference of service object was added to check if it is valid or
  not

Change-Id: I39fb246d1d220c9af0bdd8d1cb4aa3af69091a35
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRefactor c++ generator (struct part) 82/170182/9
Junghoon Park [Wed, 14 Feb 2018 04:46:36 +0000 (13:46 +0900)]
Refactor c++ generator (struct part)

Change-Id: Ic959a3034da42abf86ae27adde5a86afeede1a30
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoImplement C++ Generator (Structure Part) 58/168958/5
Inkyun Kil [Thu, 1 Feb 2018 10:44:53 +0000 (19:44 +0900)]
Implement C++ Generator (Structure Part)

Change-Id: Iad229d72ffe5f672e35e0e12c626f3f48ea851cd
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoImplement C Generator (Structure Part) 28/168928/25
Hwankyu Jhun [Thu, 1 Feb 2018 07:26:35 +0000 (16:26 +0900)]
Implement C Generator (Structure Part)

Change-Id: I594485400ecee5791eba13c14a0fba2526b81abe
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd type 'array<>' 18/169918/1
Junghoon Park [Mon, 12 Feb 2018 06:03:57 +0000 (15:03 +0900)]
Add type 'array<>'

Change-Id: Id0d6a6ce4b39fb6d89022e3a1c8d3230c4b94236
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoFix interop method 72/169772/1
Junghoon Park [Fri, 9 Feb 2018 04:04:22 +0000 (13:04 +0900)]
Fix interop method

Change-Id: Ic1690b2a86dda80f1d6c146c39b9720758a6b9b7
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRemove code block API 96/169696/3
Junghoon Park [Thu, 8 Feb 2018 08:55:27 +0000 (17:55 +0900)]
Remove code block API

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