159 Commits

Author SHA1 Message Date
Renaud Pawlak
a52ea53162 added a test on array construction (reported in #198) 2017-07-24 17:03:09 +02:00
Renaud Pawlak
6d4dca3742 add a test on DOM listeners/lambdas 2017-07-24 16:21:58 +02:00
Renaud Pawlak
eb005fef3f fix #303 (new TreeSet<>() and new HashSet<>() support) 2017-07-24 15:54:16 +02:00
Renaud Pawlak
6073dfb598 fix #323 2017-07-24 15:06:21 +02:00
Renaud Pawlak
1fd474e699 fix #324 2017-07-24 14:39:37 +02:00
Renaud Pawlak
f682dbc88d basic support for Java's Array reflection API 2017-07-24 13:30:54 +02:00
Renaud Pawlak
6d45a66d44 added a test/example for generating JAX-RS stubs 2017-07-24 12:26:15 +02:00
Renaud Pawlak
1a1110969d add basic adapters and associated tests 2017-07-23 19:00:34 +02:00
Renaud Pawlak
c10770d80b better test 2017-07-21 11:41:08 +02:00
Renaud Pawlak
9d4df192a0 basic support for field accesses through Java reflection 2017-07-21 11:35:05 +02:00
Renaud Pawlak
738a7dabb9 further testing of extensions 2017-07-20 16:03:20 +02:00
Renaud Pawlak
cda52b26af remove JSNI test 2017-07-20 15:08:56 +02:00
Renaud Pawlak
b9cf4bc4ad fix sort macro when using anonymous class 2017-07-20 14:57:37 +02:00
Renaud Pawlak
d7e51e3ea8 fix inheritance of mapped jdk type 2017-07-20 11:38:34 +02:00
Renaud Pawlak
a1d221f662 fix @Replace on constructors 2017-07-20 10:24:55 +02:00
Renaud Pawlak
d83cc1461b fixed problem in annotation filter expressions 2017-07-19 16:31:21 +02:00
Renaud Pawlak
8d2339d373 more built-in support for Java collections 2017-07-19 16:01:40 +02:00
Renaud Pawlak
8e369ad1d1 removeAll, retainAll and containsAll support 2017-07-19 09:41:14 +02:00
Renaud Pawlak
f01e3deb8b fix various JSDoc generation issues (+tests) 2017-07-18 14:10:27 +02:00
Renaud Pawlak
9871841448 fix various details in JSDoc generation 2017-07-07 11:05:33 +02:00
Renaud Pawlak
1558e8851e add Math.ulp macro 2017-07-05 07:18:07 +02:00
Renaud Pawlak
ae7fead7a5 fix #302 (problem with non-short-circuited boolean operators)
- fixed b |= expr and b &= expr to always evaluate expr
- fixed expr1 | expr2 and expr1 & expr2 to always evaluate expr1 and
expr2 (a lambda was needed for that)
2017-07-04 18:17:17 +02:00
Renaud Pawlak
a004ef3f4a pulled up default translator behavior to default adapter
This allows wrapping transformations (like regular decorators).
2017-07-04 15:33:54 +02:00
Renaud Pawlak
17b8618e43 support for basic reflection (fix #308) 2017-06-30 09:12:19 +02:00
Renaud Pawlak
01aed6aaf1 fixed #314 2017-06-29 18:11:55 +02:00
Renaud Pawlak
db2945989f fixed #311 (problem with anonymous classes) 2017-06-27 17:35:40 +02:00
Renaud Pawlak
45e21e6a84 relax typing on classes (fix #310)
Classes are transpiled to functions, but interfaces are transpiled to
strings (because they don't exist in JavaScript). So we cannot keep the
classes typed as functions and we relax the type to 'any'.
2017-06-27 16:47:24 +02:00
Renaud Pawlak
5889870e7b fix #309 (unused labels) 2017-06-27 16:11:48 +02:00
Renaud Pawlak
29f4e4d301 fixed #307 (tricky inner class problem) 2017-06-27 15:24:22 +02:00
Renaud Pawlak
df0525fe1c fixed #306 (add 'eval' to JS keywords to rewrite it when possible) 2017-06-27 14:30:37 +02:00
Renaud Pawlak
6c8efa0002 fixed problem accessing this in enums 2017-06-24 08:51:18 +02:00
Renaud Pawlak
35dd2889cc fixed problem with non-static inner enums 2017-06-24 08:15:16 +02:00
Renaud Pawlak
40c3635556 forgotten test class 2017-06-19 18:11:11 +02:00
Louis Grignon
90e9e00239 no block fix followed with arraycopy 2017-06-11 23:38:06 +02:00
Louis Grignon
ef14d5bd61 no block new structure 2017-06-11 23:13:54 +02:00
Louis Grignon
d5c67cc77f fixed new HashSet<...>() 2017-06-11 18:52:44 +02:00
Louis Grignon
52b8ad17ec threejs candy fixed for v2 2017-06-09 05:13:03 +02:00
Louis Grignon
5ea07b9e6e implement Properties transpilation like a map special case in RemoveJavaDependenciesAdapter 2017-06-09 03:41:04 +02:00
Renaud Pawlak
ab11dce434 fix type mapping to any 2017-06-05 16:20:11 +02:00
Renaud Pawlak
94503195ed fixed bug in getMappedType's adapter function 2017-06-04 12:02:15 +02:00
Renaud Pawlak
5c3569599e fixed #290 (problem with abstract method order)
Don't really understand why TypeScript imposes this constraint on
abstract method overloading. But I suspect other potential related
issues. Hopefully this constraint will be relaxed in future TypeScript
versions.
2017-06-03 07:46:41 +02:00
Renaud Pawlak
bfa93d58b9 renamed test class 2017-06-01 19:01:42 +02:00
Renaud Pawlak
4246f9ef9a fixed #292 (overload problem in inner classes) 2017-06-01 18:57:11 +02:00
Renaud Pawlak
11e61545e5 fixed #294 (xor combine fails) 2017-06-01 18:32:35 +02:00
Renaud Pawlak
944500256a support Java's NaN natively 2017-06-01 18:23:29 +02:00
Renaud Pawlak
65abdcac77 better support for operators on boxing types (fixes #288) 2017-05-31 12:34:59 +02:00
Renaud Pawlak
8a66a9903a fixed #287 (passing parameter to anonymous class fails) 2017-05-31 11:48:22 +02:00
Renaud Pawlak
ec4035a2d3 fixed #286 (anonymous instance declared in interface fails) 2017-05-31 10:59:19 +02:00
Renaud Pawlak
be0ba1a210 fixed issues with inner classes scopes (includes fix #285) 2017-05-31 10:25:01 +02:00
Renaud Pawlak
742fea627a more permissive casts when casting from/to interfaces
Java always allows interface casts, which is not the case for TypeScript
2017-05-30 11:59:57 +02:00