1525 Commits

Author SHA1 Message Date
Renaud Pawlak
9cba306116 fix loop issue with casts 2020-10-30 14:46:10 +01:00
Renaud Pawlak
5ce8b07fb4 add util method 2020-10-30 14:15:26 +01:00
Renaud Pawlak
5da9f84fa9 fix await precedence when result is invoked (+ test) 2020-09-18 09:33:04 +02:00
Renaud Pawlak
0c1028f06b more standard formatting 2020-09-11 16:22:29 +02:00
Renaud Pawlak
1ceedd955f more standard formatting 2020-09-11 16:16:26 +02:00
Renaud Pawlak
ea1aa4079b fix occasional npe and cast exceptions when parsing Java code with compilation errors 2020-09-11 13:04:25 +02:00
Renaud Pawlak
6841f03327 add an afterTypeBody customization method to inject TS code at the end of type bodies 2020-08-09 09:52:29 +02:00
Renaud Pawlak
8e276782e8 add a switch parameter to the @Decorator annotation so that the decorator function can be made optional by the developer 2020-08-09 09:35:51 +02:00
Renaud Pawlak
49f67a25e3 update core lib version number to avoid clash with JSweet 3 2020-08-07 09:07:02 +02:00
Renaud Pawlak
a2157730c8 async/await propagation for overloads and overrides 2020-07-29 09:18:28 +02:00
Renaud Pawlak
80721ed55d add an option to propagate async/await contructs automatically 2020-07-27 17:44:41 +02:00
Renaud Pawlak
bbb1bd1ddf fix testing if executable is installed 2020-07-25 13:31:18 +02:00
Renaud Pawlak
98d2081afd fix testing if executable is installed 2020-07-25 12:28:47 +02:00
Renaud Pawlak
c196424c28 updated core lib 2020-07-25 10:47:23 +02:00
Renaud Pawlak
b07a6c3ba1 new version for upcoming release 2020-07-25 10:39:21 +02:00
Renaud Pawlak
6a8ac4e5db
Merge pull request #608 from crummy/cannot_find_npm
Clear error if we cannot find the desired command
2020-07-25 10:20:00 +02:00
Renaud Pawlak
2d17010e88
Merge pull request #606 from wirthedv/develop
Support for string enums (typescript)
2020-07-25 10:18:20 +02:00
crummy
37652e2ed6 Clear error if we cannot find the desired command 2020-07-25 19:39:22 +12:00
Sebastian Schneider
df4d8bd91d Added support for typscript string enums. 2020-07-22 14:55:51 +02:00
Sebastian Schneider
8bb9b89243 Added support for typscript string enums. 2020-07-22 13:57:42 +02:00
Renaud Pawlak
7d42942707
Merge pull request #604 from cincheo/dev/20200607
Moving forward version 2.4
2.4.0-RC1
2020-07-21 19:13:53 +02:00
Renaud Pawlak
b87a0223e1 snapshot for next release 2020-07-21 16:52:55 +02:00
Renaud Pawlak
479e81946a javadoc 2020-07-21 14:21:39 +02:00
Renaud Pawlak
d2b2f69cd0 overload fixes (+ tests + test with J4TS) 2020-07-21 14:21:39 +02:00
Renaud Pawlak
6c75ac877b substitution function for switch statement selectors 2020-07-21 14:13:35 +02:00
Renaud Pawlak
3b732fc9fc avoid initialization duplication in constructors and improve generated code formatting 2020-07-21 14:13:35 +02:00
Renaud Pawlak
b5a4795a34 various fixes
- const analyzer made global to work with default methods
- equals substitution ensures that argument is parenthesized if needed (test added)
2020-07-21 14:08:28 +02:00
Renaud Pawlak
87fb4f41ff support for type cast expressions substitution in adapters 2020-07-21 14:08:28 +02:00
Renaud Pawlak
f91c0cf37a use strict equality for core types (more generic + utility functions) 2020-07-21 14:08:28 +02:00
Renaud Pawlak
0fb29d765a add a trace for test failure analysis 2020-07-21 14:08:28 +02:00
Renaud Pawlak
23b90b35c8 make default methods part of the sorted members 2020-07-21 14:08:28 +02:00
Renaud Pawlak
3102e66580 set the right language for test 2020-07-21 14:08:28 +02:00
Renaud Pawlak
05d6210ece handle the case of explicit finals with deferred assignment 2020-07-21 14:08:28 +02:00
Renaud Pawlak
beec62b30e add utility function to get all members in a class hiearchy 2020-07-21 14:08:28 +02:00
Renaud Pawlak
e6dadf82fc improve foreach loops with useful CF functions 2020-07-21 14:08:28 +02:00
Renaud Pawlak
0eaf12e805 add missing object type 2020-07-21 14:08:28 +02:00
Renaud Pawlak
4d724291c8 delegate to parent adapter (if any) in default behavior 2020-07-21 14:08:28 +02:00
Renaud Pawlak
75ae2096f4 lazy initialized statics are not const even when finals + API to programatically substitute default variable declaration keyword 2020-07-21 14:08:28 +02:00
Renaud Pawlak
53ceebc01a fix const variables in global scope + tests for const variables 2020-07-21 14:08:28 +02:00
Renaud Pawlak
534b5a66cb option + adapter method to sort class members (+associated test) 2020-07-21 14:08:28 +02:00
Renaud Pawlak
9088aa0a52 use const keyword for final and effectively final variables 2020-07-21 14:08:28 +02:00
Renaud Pawlak
036f4968c8 option to make Java transients non-enumerable + test + typesafe option names 2020-07-21 14:08:28 +02:00
Renaud Pawlak
2dca1910b3
Merge pull request #602 from cincheo/feature/adapter_can_substitute_overload
ability to substitute method overload in adapter
2020-07-21 14:03:36 +02:00
Renaud Pawlak
256f97f50a add share common conventions 2020-07-20 14:17:54 +02:00
Louis Grignon
cfaac45185 ability to substitute a method's body in adapter 2020-07-19 16:06:04 +02:00
Louis Grignon
659e715b1b ability to substitute method overload in adapter 2020-07-19 14:35:15 +02:00
Louis Grignon
ec4b74d740
Merge pull request #601 from cincheo/betterES6TypesSupport
Better es6 types support
2020-07-19 14:06:24 +02:00
Louis Grignon
20c21a6c6d
Merge pull request #596 from cincheo/bugfix/Character_toString
Bugfix/character to string
2020-07-19 14:06:09 +02:00
Louis Grignon
3113e63f7d fix iteration over Set + support Map.entrySet + enable Set methods fallback 2020-07-16 01:33:40 +02:00
Louis Grignon
cff9a49dc1 protected methods for override 2020-07-14 23:12:54 +02:00