92 Commits

Author SHA1 Message Date
Renaud Pawlak
e39ded506f forgotten test 2017-05-11 16:49:05 +02:00
Renaud Pawlak
d98c3ec9b9 support for subclassing of JDK classes 2017-05-11 16:27:40 +02:00
Renaud Pawlak
6341b398d6 added test for Enum.values() 2017-05-11 07:46:01 +02:00
Renaud Pawlak
3f5fd896ae fixed #269
TypeScript enums don't implement interfaces.
2017-05-11 07:26:45 +02:00
Renaud Pawlak
3c43b3301f added more tests and sound constraints on mixins 2017-05-07 17:14:23 +02:00
Renaud Pawlak
f17f03a7e1 remove dependency to j4ts
- now JSweet default is to *not* require any runtime to compile and run
Java APIs
2017-05-05 08:59:15 +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
daadbc1b5a fixed #239 2017-04-30 10:25:32 +02:00
Renaud Pawlak
7cb8e6f043 use single precision on Java floats (+ option to disable it) 2017-04-28 17:14:40 +02:00
Renaud Pawlak
72119dad5c more support for StringBuffer/StringBuilder (see #265) 2017-04-28 10:16:12 +02:00
Renaud Pawlak
f1ddb40b06 fixed #259 2017-04-28 09:39:04 +02:00
Renaud Pawlak
afc2c373a7 fixed various issues with mixins and ambients 2017-04-26 18:33:01 +02:00
Renaud Pawlak
ba70d7fd9e revert $apply on TriFunction 2017-04-26 11:12:37 +02:00
Louis Grignon
1ce12b1d9f fixed transpiler for install candies with $apply 2017-04-26 06:00:53 +02:00
Louis Grignon
0730140697 apply & deprecated apply + test candies 2017-04-26 05:07:37 +02:00
Renaud Pawlak
4ae7651595 various fixes for J4TS 2017-04-25 12:41:24 +02:00
Renaud Pawlak
a7c2d902bb fixed #261 2017-04-21 20:41:19 +02:00
Renaud Pawlak
e81d9c972d fixed #260 2017-04-21 18:46:03 +02:00
Renaud Pawlak
e453178ab2 fixed #251 2017-04-21 11:19:21 +02:00
Renaud Pawlak
8e46b70beb fixed #253 2017-04-21 10:53:46 +02:00
Renaud Pawlak
39305dff87 fixed #254 2017-04-21 10:39:46 +02:00
Renaud Pawlak
746ed2a6c3 support for basic reflection without J4TS
- Class.forName()
- Class.newInstance(...)
2017-04-21 10:25:59 +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
c8db41fb3f fixed #249
- added runtime check to use functions and object indifferently
- better support to assigned expressions
2017-04-20 09:03:56 +02:00
Renaud Pawlak
143fd3f185 fix #243, fix #247, fix #248 (+ tests) 2017-04-19 15:41:55 +02:00
Renaud Pawlak
04b3c5782f fix #246 (+test) 2017-04-19 12:19:14 +02:00
Renaud Pawlak
3ceb41c140 add a test to ensure fix #243 (was ok in master) 2017-04-19 11:03:06 +02:00
Renaud Pawlak
c043089142 fixed support for debug mode 2017-04-19 10:52:18 +02:00
Louis Grignon
059b7c0cb5 added tests for instanceOf on interfaces 2017-04-13 08:19:46 +02:00
Renaud Pawlak
46e5dcf9cb fix #240 + update tests 2017-04-11 07:40:33 +02:00
Renaud Pawlak
821ad80c26 fix #132
- fix "newClass" issue
- use class simple name when possible
- add a test
2017-04-11 06:47:13 +02:00
Renaud Pawlak
71b8e898d1 various small extension-related enhancements + bug fix
- fix conditional and assignment bug
- adapter API cleaning
- allow the definition of type mapping that erase the type parameters
- basic native support for Java readers/inputstreams/locales (+test)
- fix overload issue with some native types
2017-04-10 11:09:38 +02:00
Renaud Pawlak
efd865787e support for maps with object keys 2017-04-05 16:18:00 +02:00
Renaud Pawlak
d5a59847dd apply substitution on field initialization 2017-04-05 11:51:36 +02:00
Renaud Pawlak
0c74dba470 add a test for the debug mode 2017-04-04 18:07:24 +02:00
Pap Lőrinc
c291ba12b6 Fixed parsing of empty S.*.println 2017-03-31 11:35:37 +03:00
Renaud Pawlak
52e3430675 better support for functional types 2017-03-30 15:51:13 +02:00
Renaud Pawlak
df50b2aec6 improved functional types support 2017-03-30 11:19:05 +02:00
Renaud Pawlak
9175b8a5a8 improved java model support + more native support 2017-03-24 10:50:13 +01:00
Renaud Pawlak
7a3505613b adapt test for @Replace (and test around replacement) 2017-03-18 07:52:01 +01:00
Renaud Pawlak
77d384751c support for @Replace (with markers) 2017-03-17 13:56:49 +01:00
Renaud Pawlak
2ebb0b2f35 better public API for adapters (and extended elements) 2017-03-15 09:15:54 +01:00
Renaud Pawlak
f6d236c7bc native support for Map.entrySet 2017-03-10 17:54:01 +01:00
Renaud Pawlak
66c9df1c4d more built-in support for Java APIs 2017-03-10 16:22:54 +01:00
Renaud Pawlak
1d6c6cc4a9 add native support for java.lang.Stack 2017-03-10 12:02:08 +01:00
Renaud Pawlak
071b35e390 adapt class/constructor comments to conform to JSDoc 2017-02-23 14:29:50 +01:00
Renaud Pawlak
e991a3fe97 add an option to set a header file 2017-02-23 11:32:45 +01:00
Renaud Pawlak
41a5a8f033 do not delegate jsdoc adaptation 2017-02-22 11:53:36 +01:00
Renaud Pawlak
f560af79d8 added includes/excludes filters for command-line launcher + test 2017-02-21 11:30:46 +01:00
Renaud Pawlak
6238b6f97a revert over-engineered/typed API + test + change adapter life cycle 2017-02-21 09:25:45 +01:00