756 Commits

Author SHA1 Message Date
Renaud Pawlak
5ee9bcd3d9 experimental option 2022-06-18 09:45:43 +02:00
Renaud Pawlak
73e94fe7e9 Avoid name clashes in foreach loops when the iteration variable is named 'index', and generate humain-friendly name 2021-03-09 07:23:15 +01:00
Renaud Pawlak
1e274cb9cb Test for iteration variable bug 2021-03-09 06:57:52 +01:00
Renaud Pawlak
fe01063690 Better handling of imported global functions 2021-03-01 12:42:12 +01:00
Renaud Pawlak
7f82548327 fixes for J4TS with modules => avoid self imports and use the right inner class names 2021-02-27 11:25:06 +01:00
Renaud Pawlak
e4b1148812 don't import JSweet globals 2021-02-27 09:16:52 +01:00
Renaud Pawlak
4afc8ee5b0 various fixes for modules - to make J4TS compile with a raw module option 2021-02-27 08:43:00 +01:00
Renaud Pawlak
dc444a7396 add a method to substitute some new array expression 2021-02-12 17:09:22 +01:00
Renaud Pawlak
5da32198e0 Revert private modifier because it pose problems when accessing private fields in anonymous classes 2021-02-12 16:22:23 +01:00
Renaud Pawlak
ea96b34507 Exclude erased interfaces from list + allow private modifiers 2021-02-12 15:29:56 +01:00
Renaud Pawlak
2b536fa872 fix problems with varargs optimization 2021-01-29 14:05:34 +01:00
Renaud Pawlak
456ce0769c Enable stats from command line + fix problem with varargs 2021-01-29 13:55:23 +01:00
Renaud Pawlak
824c04872f Do not use apply for varargs when possible 2021-01-28 14:57:25 +01:00
Renaud Pawlak
1aa9d135d1 Do not use apply for varargs when possible 2021-01-28 09:05:26 +01:00
Renaud Pawlak
465cb6b931 do not spread annotations to overloads 2021-01-25 13:31:46 +01:00
Renaud Pawlak
e7f9e3b4d4 better generated code for equals() 2021-01-23 11:41:50 +01:00
Renaud Pawlak
f72552f100 fix regression in source maps 2021-01-23 08:42:38 +01:00
Renaud Pawlak
cfef2ec3ba call generated definitions with a different name since they do not represent the generated code (!= from declaration option) 2021-01-22 21:43:58 +01:00
Renaud Pawlak
d505e7baad add a new 'stats' option 2021-01-22 20:46:50 +01:00
Renaud Pawlak
90973c5659 revert overload method names erasing when excluded source element 2021-01-21 11:01:35 +01:00
Renaud Pawlak
3299d5ae2d add experimental flag to expose overloads in interfaces 2021-01-21 10:46:32 +01:00
Renaud Pawlak
98e489cbd6 Fixed NPE 2021-01-21 10:42:12 +01:00
Renaud Pawlak
f6a7abcb01 do not invoke overloads if referenced source code is in extraInput 2021-01-19 07:32:31 +01:00
Renaud Pawlak
13a46751b9 remove useless line for default erased methods 2021-01-15 14:24:21 +01:00
Renaud Pawlak
197108f96c ignore null symbol methods 2021-01-13 13:45:09 +01:00
Renaud Pawlak
9e693c409a parse disableOverloadStubs in json configuration 2021-01-13 13:19:54 +01:00
Renaud Pawlak
ab1efbde63 fix error on generic types 2021-01-11 13:15:26 +01:00
Renaud Pawlak
6763804c19 move the overload method name generation to the adapter layer (for custom naming) 2021-01-10 22:57:19 +01:00
Renaud Pawlak
850104f6b2 remove trace + fix tests 2021-01-10 22:43:49 +01:00
Renaud Pawlak
0f640ca7e8 add an option to disable overload stubs (overloads shall be called directly with the full name) 2021-01-10 22:04:59 +01:00
Renaud Pawlak
11e4b53f6d generate human-friendly lopping variable names 2021-01-06 19:05:09 +01:00
Renaud Pawlak
82ea42ddf5 do not repeat default methods if already in super classes 2021-01-05 08:51:56 +01:00
Renaud Pawlak
c92267bcd6 fixes for custom adapters 2021-01-04 18:12:20 +01:00
Renaud Pawlak
d88a80c3cc better valueOf 2020-10-30 14:59:05 +01:00
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
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
crummy
37652e2ed6 Clear error if we cannot find the desired command 2020-07-25 19:39:22 +12:00