Renaud Pawlak
599b201166
fix $get/$set API + javadoc
2017-09-14 05:05:08 +02:00
Renaud Pawlak
5c6562d93f
allow @Replace for constructors ( fix #339 )
2017-08-17 09:52:11 +02:00
Renaud Pawlak
2053256e06
update javadoc location
2017-08-02 17:09:22 +02:00
Renaud Pawlak
0c3bf3434f
use artifactId instead of name
2017-08-02 10:39:31 +02:00
Renaud Pawlak
9f58eea109
update javadoc location
2017-08-02 10:15:51 +02:00
Renaud Pawlak
7172bc6415
configure javadoc location
2017-08-02 08:56:57 +02:00
Renaud Pawlak
5d6e5783af
remove deprecated Globals
2017-07-31 12:00:25 +02:00
Renaud Pawlak
a612603ef5
add javadoc plugin
2017-07-26 09:33:43 +02:00
Renaud Pawlak
e8b127deef
API + javadoc
2017-07-10 16:11:42 +02:00
Renaud Pawlak
5ba170c967
according to the new DOM specs, coordinates are double (not integers)
2017-05-29 14:41:20 +02:00
Renaud Pawlak
ca9c2a0ed9
double -> int
2017-05-23 14:54:57 +02:00
Renaud Pawlak
4435a9aa6b
generic eval result
2017-05-22 12:02:01 +02:00
Renaud Pawlak
90e35a7931
fixed tying for NodeListOf
2017-05-17 09:15:33 +02:00
Renaud Pawlak
bac62d04b9
more core Java support
...
- numbers (Float.intBitsToFloat, ...)
- Class.isInstance
2017-05-16 08:12:45 +02:00
Renaud Pawlak
a91bd7ec8f
support for $noarrow macro
...
By default, JSweet generates arrow functions for Java lambda (the 'this'
semantics is closer to Java). Wrapping a function in $noarrow will force
JSweet to produce a plain old JavaScript function rather than an arrow
function.
2017-05-11 17:31:32 +02:00
Renaud Pawlak
244e2112e1
@Replace now uses a better-looking mustache-like syntax
2017-05-11 09:52:57 +02:00
Renaud Pawlak
ef3314214d
added signatures taking Runnable
2017-05-09 16:29:26 +02:00
Renaud Pawlak
63186dcef5
better typing for String.replace
2017-05-09 15:58:41 +02:00
Renaud Pawlak
3c43b3301f
added more tests and sound constraints on mixins
2017-05-07 17:14:23 +02:00
Renaud Pawlak
7cee074faa
deprecated @Ambient annotation
...
@Ambient annotation was used to inline declarations. However they suffer
from the Java packages structure, which is less flexible than namespaces
in TypeScript. Since @Ambient are always defined in the package they
appear, they are not convenient when working out of the root package.
Plus, now that def.* packages are working well in version 2, the
@Ambient annotation is redundant with using def.* packages. So, it was
decided that all ambient declarations should be defined in def.*
packages, thus forcing the developers to cleanly separate the actual
implementation from the bridges to external libraries. We believe it is
good practice to do so in Java in order to have a better-structured
program.
2017-05-06 09:44:53 +02:00
Renaud Pawlak
c6a468998e
double -> int
2017-05-05 08:59:48 +02:00
Renaud Pawlak
f92c33feea
fixed undefined type
2017-05-03 18:01:55 +02:00
Renaud Pawlak
6867013d68
added forgotten $set on arrays
2017-05-03 16:07:47 +02:00
Renaud Pawlak
11c8062111
various improvements preparing v2
...
- support for decorators (fixed #43 )
- added support for core JS features (function-scope this ($this),
function-scope arguments, ...
- added/modified macros ($insert, $loose/$strict, ...)
- modified es5 and es6 API to simplify the use of JavaScript strings and
arrays
2017-05-03 12:41:51 +02:00
Renaud Pawlak
0904e0a618
reverted $apply on JS Function object
2017-05-02 05:44:38 +02:00
Renaud Pawlak
e39515891a
added first support for JavaScript this and arguments
2017-05-02 05:41:11 +02:00
Renaud Pawlak
a41eb9db38
revert $apply on core functional interfaces
2017-04-26 11:07:53 +02:00
Louis Grignon
d2b6dcafea
apply on core libs
2017-04-26 04:57:23 +02:00
Renaud Pawlak
f04583b7cb
moved jsweet.util.Globals to jsweet.util.Lang
...
- keep but deprecate old API
- code cleaning/formatting
- test for #245
2017-04-20 14:49:52 +02:00
Renaud Pawlak
ccf797feb3
rename annotation
2017-03-17 14:16:33 +01:00
Renaud Pawlak
ce52c5ce1c
rename annotation
2017-03-17 13:52:45 +01:00
Louis Grignon
54da060568
moved globals
2017-02-12 12:49:23 +01:00
Louis Grignon
b8c5f9219f
api es6 fixes + transpiler javadoc in target
2017-02-10 18:15:40 +01:00
Louis Grignon
c173da181a
added union3-4
2017-02-10 15:46:27 +01:00
lgrignon
03785e921e
module export fix
2017-02-07 09:33:32 +01:00
lgrignon
0a782017b0
no transpilation for core
2017-02-04 16:31:25 +01:00
lgrignon
b08c686a77
added core to es6 core lib
2017-02-03 22:18:22 +01:00
lgrignon
f417e7cb29
es6 pom
2017-01-28 20:35:10 +01:00
lgrignon
426e379958
candy core ES6
2017-01-28 20:33:19 +01:00
Renaud Pawlak
5b1cf57841
add more code generation tuning
...
- allow adapting case statements
- add an annotation to substitute a Java method body with plain raw
TypeScript
2017-01-25 05:22:10 +01:00
Renaud Pawlak
f02b7f7ee5
support @Erased on package + fixed @Root package issues
2017-01-23 15:55:11 +01:00
Renaud Pawlak
87541b8d14
make JSweet annotations to be visible in JavaDoc
2017-01-15 11:03:35 +01:00
Renaud Pawlak
40cb6d3597
rename directories
2017-01-04 16:16:42 +01:00