63 Commits

Author SHA1 Message Date
Renaud Pawlak
9a557c1ea3 fixed typed arrays indexed access 2020-02-08 08:56:29 +01:00
lgrignon
55e6983f56 ImageData up to date constructor 2019-07-18 20:38:45 +02:00
lgrignon
96be831f40 2.3.1 snapshot 2019-06-23 12:02:36 +02:00
lgrignon
90caa06096 2.3.0 release 2019-06-23 11:14:24 +02:00
Louis Grignon
de0931843a ImageData.data is a UInt8Array to better match API 2019-06-09 23:15:50 +02:00
Louis Grignon
5519a1ac4e add media devices API to core ES6 candy 2019-06-07 05:51:43 +02:00
Louis Grignon
7f2000e03b add $invoke capability
Brings dynamic invoke capability to def.js.Object.

It allows to dynamically call a method on an object for instance if
definition is missing or simply if it is not possible to do it
otherwise.
2019-04-27 18:47:13 +02:00
Louis Grignon
26beb8d8ce next snapshot version: 2.3.0-SNAPSHOT 2019-03-15 23:39:51 +01:00
Louis Grignon
f26196b13b core ES6 pom.xml modifications for release 2019-03-10 23:34:37 +01:00
Louis Grignon
13ce785f2e core ES5 pom.xml modifications for release 2019-03-10 23:29:13 +01:00
Louis Grignon
7838b80403 pom for release 2019-03-10 16:34:26 +01:00
Louis Grignon
58efd32efc enhanced Array / Promise in ees6 candy 2018-10-07 18:19:25 +02:00
Louis Grignon
31ef499237 added stack and generic get to js error 2018-06-09 19:24:29 +02:00
Louis Grignon
66760638df window inherits def.js.Object 2018-05-13 20:51:54 +02:00
Louis Grignon
c6b18cdc2b merged WrapParameters PR #434 2018-05-13 19:30:13 +02:00
Louis Grignon
84d2e11c8b added async await to documentation 2018-05-10 15:47:42 +02:00
Louis Grignon
7d04ffc7b6 enhanced API - promise doc 2018-05-10 12:40:07 +02:00
Louis Grignon
fb8a1cdfb7 promise api enhancement 2018-05-10 09:52:27 +02:00
Louis Grignon
f627c76e0c #138 : async / await support in JSweet! 2018-05-10 01:23:43 +02:00
Louis Grignon
3dc9aeeab3 added Object.assign 2018-05-09 23:50:38 +02:00
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