1525 Commits

Author SHA1 Message Date
lgrignon
88a34fafa6 fix #563 with keyword support 2020-04-04 12:31:00 +02:00
Renaud Pawlak
09458c61ae
Merge pull request #568 from cincheo/bugfix/dependentFieldsInitialization
fix dependent fields initialization
2020-03-24 11:29:11 +01:00
lgrignon
a0c1a04942 next snapshot version 2020-03-21 15:52:04 +01:00
lgrignon
4810bfec1c fix dependent fields initialization
There was a problem when a not primitive field init relies on a
primitive field (please see attached unit test case).

We now guarantee that all fields are initialized the same way.
2020-03-21 15:42:04 +01:00
Renaud Pawlak
b4eda7b6eb fixed decorators with implicit args 2020-03-20 11:46:07 +01:00
Renaud Pawlak
d786dd2aaa added advanced substitution methods 2020-03-20 08:52:30 +01:00
Renaud Pawlak
8eb4423692 add parentesis to decorators in any case 2020-03-19 11:42:37 +01:00
Renaud Pawlak
9e7f3972df fix for duplicate default methods injections + test 2020-03-19 09:00:39 +01:00
Renaud Pawlak
73ebe08b41 spread decorators on overloads 2020-03-15 12:44:47 +01:00
Renaud Pawlak
ca3afd79b9 do not print annotations on interfaces 2020-03-15 09:08:19 +01:00
Renaud Pawlak
bde08b53a7 added hooks for transpilation start/end 2020-03-12 11:48:08 +01:00
Renaud Pawlak
2eab7c0cb9 fix problem with default methods overloads + test 2020-03-11 13:18:54 +01:00
Renaud Pawlak
3b581e8bd0 added a comment to track default methods sources 2020-03-05 13:44:19 +01:00
Renaud Pawlak
eb3579a397 add 'let' to reserved keywords 2020-02-24 18:40:04 +01:00
Renaud Pawlak
f608411ddd update assertion 2020-02-22 08:55:48 +01:00
Renaud Pawlak
d3c90d5d91 add 'outEncoding' option - may be useful when input encoding != UTF8 2020-02-22 08:52:31 +01:00
Renaud Pawlak
eb12da2932 add ts/js keyword mapping for 'export' 2020-02-22 08:19:03 +01:00
Renaud Pawlak
974b62881d add an annotation KeepUses to allow the user to avoir invocation erasing 2020-02-21 09:14:20 +01:00
Renaud Pawlak
d324c26bfe support of isInstance when J4TS is activated 2020-02-21 08:57:04 +01:00
Renaud Pawlak
223fa9bc7e better support of unavailable elements 2020-02-20 08:52:46 +01:00
Renaud Pawlak
de429adb1a loosen type 2020-02-19 10:01:57 +01:00
Renaud Pawlak
422c1da5e0 loosen type 2020-02-19 09:46:11 +01:00
Renaud Pawlak
076faa90c1 loosen type 2020-02-19 09:36:53 +01:00
Renaud Pawlak
ebae3dc63d loosen type 2020-02-19 09:23:42 +01:00
Renaud Pawlak
bab1ed20c1 adds a warning when Java compilation errors are ignored 2020-02-19 08:03:22 +01:00
Renaud Pawlak
99bb281b54 support ignoreJavaErrors option 2020-02-19 07:54:21 +01:00
Renaud Pawlak
21975dea54 do not print ignored errors 2020-02-18 11:56:56 +01:00
Renaud Pawlak
fd1d4d3e92 added an option to ignore java symbol errors 2020-02-18 11:41:32 +01:00
Renaud Pawlak
e4361e22c6 use system path separator 2020-02-18 10:21:41 +01:00
Renaud Pawlak
9b5d00f38b fix edge case with static accesses 2020-02-18 09:03:43 +01:00
Renaud Pawlak
e2c4d0eac8 legacy entry point 2020-02-18 08:52:09 +01:00
Renaud Pawlak
7006d38fc3 fix regression in tests 2020-02-18 08:34:20 +01:00
Renaud Pawlak
f6f63aaf53 redirect static method accessed through instance to produce valid TypeScript code 2020-02-18 08:09:54 +01:00
Renaud Pawlak
00cb2a0ae4 extraInput option is optional 2020-02-17 10:07:32 +01:00
Renaud Pawlak
d25c2a3f4e fix regressions when passing tests 2020-02-17 09:28:15 +01:00
Renaud Pawlak
8435393aaf fixed extra input 2020-02-17 08:40:07 +01:00
Renaud Pawlak
c23f7e3ec6 add an extraInput option to allow source files to be used as libs 2020-02-16 19:38:04 +01:00
Renaud Pawlak
6f134cd971 basic test for lambdas added + builtin support for Function.identify() 2020-02-16 08:58:00 +01:00
Renaud Pawlak
925558fa73 partial support for getClass and getDeclaringClass on enums 2020-02-15 09:42:14 +01:00
Renaud Pawlak
9c5d82cee9 stronger functional invocations 2020-02-14 20:17:11 +01:00
Renaud Pawlak
07e3295bb5 more flexible support of enums 2020-02-14 18:52:00 +01:00
Renaud Pawlak
0e72fe0823 allow use of compareTo() on enums 2020-02-14 17:19:23 +01:00
Renaud Pawlak
302ae5d0ed support for static methods in enums with modules 2020-02-13 16:08:49 +01:00
Renaud Pawlak
b29c238794 substitute only when source element 2020-02-12 08:24:00 +01:00
Renaud Pawlak
5de4deec4f better tests for static accesses 2020-02-12 08:09:47 +01:00
Renaud Pawlak
8248832d59 force import of interface when using a static field (even when through an implementing class) 2020-02-12 07:32:50 +01:00
Renaud Pawlak
d9d136d1aa do not use qualified names in module mode 2020-02-11 20:04:03 +01:00
Renaud Pawlak
927ea065d5 forgotten initilialization 2020-02-10 08:33:11 +01:00
Renaud Pawlak
3f54160f20 fixed import bug for inner classes 2020-02-09 21:05:15 +01:00
Renaud Pawlak
20b39f0298 only require at the end of the file when it is a source file 2020-02-09 18:32:55 +01:00