1263 Commits

Author SHA1 Message Date
Christian Feiler
7ef68dcc68 fix for jsweet issue #479
Type mapping and @Erased annotation ignored #479
2018-10-12 14:14:59 +02:00
Louis Grignon
2421eea53d Merge branch 'master' of https://github.com/cincheo/jsweet 2018-10-07 18:21:50 +02:00
Louis Grignon
58efd32efc enhanced Array / Promise in ees6 candy 2018-10-07 18:19:25 +02:00
Louis Grignon
1a13d43ebb example for #487 2018-10-07 12:44:13 +02:00
Louis Grignon
839e9b46f4 fixed travis env vars 2018-10-07 12:30:12 +02:00
Louis Grignon
349dc0835b Merge branch 'master' of https://github.com/cincheo/jsweet 2018-10-07 12:27:49 +02:00
Louis Grignon
eb2db3464d env var JSWEET_VERBOSE can control transpiler's verbosity in UTs #488 2018-10-07 12:27:02 +02:00
Louis Grignon
10321a0cf0
Merge pull request #486 from mdudzinski/map_remove_macro_improvement
Return removed value in the maps remove macro
2018-10-06 10:35:35 +02:00
Louis Grignon
dd4f14bbd0
Merge pull request #485 from mdudzinski/StringBuilder_macro_fixes
StringBuilder macro fixes
2018-10-06 10:35:15 +02:00
Louis Grignon
af6baf4e36 cast test + getCurrent() in scanner 2018-10-04 20:16:22 +02:00
Michal Dudzinski
0a6b9db70b Return removed value in the maps remove macro 2018-10-04 11:42:58 +02:00
Louis Grignon
27d27459ae ThreadLocal actually caches value 2018-10-04 08:49:52 +02:00
Michal Dudzinski
15d171d881 Test for StringBuilder#lastIndexOf macro 2018-10-03 17:20:03 +02:00
Michal Dudzinski
a3fb7b3549 Add toString func property to StringBuilder mapping
Bring 'toString()' back to StringBuilder new class macro.
2018-10-03 17:09:16 +02:00
Michal Dudzinski
29cecb0728 Remove toString() func from StringBuilder new class macro
Fixes the following error:
Type '{ str: string; toString: () => any; }' is not assignable to type '{ str: string; }'
2018-10-03 16:39:03 +02:00
Michal Dudzinski
c6cd572df4 Add 'lastIndexOf' case to StringBuilder macro 2018-10-03 16:30:58 +02:00
Louis Grignon
1d207993fb Ability to ignore candies TS definitions when compiling 2018-10-01 19:31:43 +02:00
Louis Grignon
96d20df74d CandiesProcessor orders candies JS by candy artifactId 2018-10-01 19:31:11 +02:00
Louis Grignon
b3f0900fab #481 fix assignop string += char 2018-09-19 23:54:48 +02:00
Louis Grignon
99d9b80045 UT TranspilerTestRunner extraction refactoring 2018-09-03 22:17:09 +02:00
Louis Grignon
4d8a0ab358 UT fixes 2018-08-29 23:17:35 +02:00
Louis Grignon
1ae59e7a70 fixes #474 /= fix for integral division 2018-08-29 21:44:05 +02:00
Louis Grignon
4512d164cb Assign with operator adapter support + renamed getAccessedSymbol util 2018-08-29 09:30:15 +02:00
Louis Grignon
84070e0013 js eval with phantom does not require exit" 2018-08-23 13:41:24 +02:00
Louis Grignon
b98a023f82 functional mapping support for variable access + Number.MAX/Min_VALUE / POSITIVE/NEGATIVE_INFINITY support closer to java 2018-08-21 11:04:45 +02:00
Louis Grignon
0fdb0cb76c onBeforeLoop hooks 2018-08-20 01:53:12 +02:00
Louis Grignon
b12fe96095 runtime optimization 2018-08-08 23:35:09 +02:00
Louis Grignon
b181fa2c54 setupCompiler applies flow phase 2018-07-12 09:51:00 +02:00
Louis Grignon
8b2eb60ada Merge branch 'master' of https://github.com/cincheo/jsweet 2018-07-12 09:50:34 +02:00
Louis Grignon
3e9e414c2a do not generate abstract keyword in declaration + do not generate override in declaration 2018-07-12 09:50:26 +02:00
Louis Grignon
3363d49743 iterable transpiled to array 2018-07-12 09:49:27 +02:00
Louis Grignon
47068b6f6a
Merge pull request #460 from schaumb/patch-1
remove '.' if no namespace in default interface method return type
2018-07-10 12:59:54 +02:00
Béla Schaum
578b70c709 at interface scope, no print async 2018-07-09 16:17:59 +02:00
Béla Schaum
3150401924 remove '.' if no namespace 2018-07-09 15:40:53 +02:00
Louis Grignon
c9894e40be Merge branch 'master' of https://github.com/cincheo/jsweet 2018-07-09 10:09:47 +02:00
Louis Grignon
1608c84bfe util is class or extend + async support extensibility 2018-07-09 10:08:59 +02:00
Louis Grignon
f21c9ba60a
Merge pull request #457 from schaumb/patch-1
async modifier need to go closer to "function"
2018-07-09 10:08:13 +02:00
Béla Schaum
8d60fbedbd async modifier need to go closer to function 2018-07-09 05:33:37 +02:00
Louis Grignon
fe1fab1ff8
Merge pull request #455 from schaumb/patch-1
compareTo in java.lang numbers
2018-07-09 00:28:49 +02:00
Louis Grignon
f674a2f2d8
Merge pull request #454 from schaumb/patch-2
enable on typeVar the equals argument
2018-07-08 23:53:07 +02:00
Louis Grignon
b3d451b6ef
Merge pull request #456 from schaumb/patch-3
hashcode is not a string, it is a hash (from now)
2018-07-08 23:50:30 +02:00
NAVNGO\bschaum
4debbc5030 hashcode is not a string, it is a hash 2018-07-06 19:42:46 +02:00
NAVNGO\bschaum
2429a19d3c enable on typeVar the equals argument 2018-07-06 16:05:16 +02:00
NAVNGO\bschaum
8cfce2658d compareTo in java.lang numbers 2018-07-06 15:55:22 +02:00
Louis Grignon
7db7952d8d Merge branch 'master' of https://github.com/cincheo/jsweet 2018-07-04 23:53:15 +02:00
Louis Grignon
ec44b5c0fc fixed static initializer regression 2018-07-04 23:53:06 +02:00
Louis Grignon
d981678da1
Merge pull request #451 from schaumb/master
if hashCode has argument, then print original
2018-07-04 23:01:34 +02:00
Béla Schaum
2571b16e78 if hashCode has argument, then print original 2018-07-04 21:23:54 +02:00
Louis Grignon
ba7d6e968d #450 added callable support 2018-07-04 13:39:10 +02:00
Louis Grignon
a2bb6dc523 ignore static init for declare scope (definition mode) 2018-07-04 13:20:48 +02:00