854 Commits

Author SHA1 Message Date
Louis Grignon
d2b6dcafea apply on core libs 2017-04-26 04:57:23 +02:00
Louis Grignon
a380ad60f5 Merge branch 'master' of https://github.com/lgrignon/jsweet 2017-04-26 01:28:12 +02:00
lgrignon
e847c2a791 apply detect v1 jar 2017-04-25 23:40:28 +02:00
Renaud Pawlak
505e9c381b adapter public API cleanup 2017-04-25 16:57:49 +02:00
Renaud Pawlak
4ae7651595 various fixes for J4TS 2017-04-25 12:41:24 +02:00
Renaud Pawlak
a73a17ee71 if possible, force simple floating point precision
when assigning double to float, use Math.fround if available to get the
right precision...
2017-04-22 09:52:24 +02:00
Renaud Pawlak
f5edfbd9da print possible ES version values generically 2017-04-22 09:50:22 +02:00
Renaud Pawlak
131d9df3c8 Merge pull request #258 from jozzan/command_line_launcher
js target version for command line launcher added
2017-04-22 09:42:31 +02:00
Renaud Pawlak
a7c2d902bb fixed #261 2017-04-21 20:41:19 +02:00
Felix Marezki
bcb290dad2 es target version maven/gradle compliance 2017-04-21 19:11:23 +02:00
Renaud Pawlak
e81d9c972d fixed #260 2017-04-21 18:46:03 +02:00
Felix Marezki
09d2b813ab es target version maven/gradle compliance 2017-04-21 18:34:48 +02:00
Renaud Pawlak
8e18ecee77 link to the license 2017-04-21 17:27:07 +02:00
Felix Marezki
ce8399ff86 js target version for command line launcher added 2017-04-21 15:02: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
eaa9d656a6 fixed #245 2017-04-20 14:46:06 +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
c7c6057d31 javadoc 2017-04-19 10:52:38 +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
3b332b2570 support for 'ensureCapacity' 2017-04-05 16:58:23 +02:00
Renaud Pawlak
b6a12511be fix typing issue in clone macro 2017-04-05 16:57:55 +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
Renaud Pawlak
71457d937f add a debug mode (experimental)
Debug mode is generating instrumented code using ES6 generators to allow
stepping through statements.
It can be used as a basis to create a debugger in JavaScript by
implementing the __debug_exec function, which is called each time a
function is invoked and passes the appropriate generator.
2017-04-04 18:06:50 +02:00
Renaud Pawlak
1cb9770657 start support for new API 2017-04-02 10:01:09 +02:00
Renaud Pawlak
7bf309ba41 Merge pull request #236 from paplorinc/sout
Fixed parsing of empty S.*.println
2017-04-01 08:33:02 +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
d64826fdcf add a precondition to the type of default methods entries 2017-03-30 11:51:10 +02:00
Renaud Pawlak
8cd00574d5 fix potential NPE when checking imports 2017-03-30 11:28:24 +02:00
Renaud Pawlak
df50b2aec6 improved functional types support 2017-03-30 11:19:05 +02:00
Renaud Pawlak
86303a6bf8 target regression fix 2017-03-25 11:58:17 +01:00
Renaud Pawlak
ddcce93d8e fix npe 2017-03-24 17:45:32 +01: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) v2.0.0-alpha1 2017-03-18 07:52:01 +01:00
Renaud Pawlak
25bfc4dcae add public utility methods 2017-03-18 07:51:17 +01:00
Renaud Pawlak
d074ea50c7 add support for <NumberType>.valueOf() 2017-03-18 07:50:51 +01:00
Renaud Pawlak
ccf797feb3 rename annotation 2017-03-17 14:16:33 +01:00