Commit Graph

2745 Commits

Author SHA1 Message Date
Alexey Andreev
6144a4bd14 Fix build 2017-04-22 13:48:35 +03:00
Alexey Andreev
ceab733fc0 Temporarily disable headless chrome tests 2017-04-22 13:28:03 +03:00
Alexey Andreev
b190b608cd Add libstdc++ dependency 2017-04-22 13:23:52 +03:00
Alexey Andreev
f047fbc302 Fix command that starts chromium in background 2017-04-22 13:00:12 +03:00
Alexey Andreev
f9a9ce38a4 Fix wget command 2017-04-22 12:40:08 +03:00
Alexey Andreev
c7f0749671 Fix node.js version in travis. Fix htmlUnit profile in maven 2017-04-22 12:13:51 +03:00
Alexey Andreev
790f4e9eee Fix npm configuration 2017-04-22 11:45:28 +03:00
Alexey Andreev
90f61fe87b Update travis configuration to run tests in headless chrome 2017-04-22 11:32:46 +03:00
Alexey Andreev
519cd71636 Change presentation of test suites in headless chrome runner 2017-04-22 11:32:19 +03:00
Alexey Andreev
80194f054e Fix flaky test 2017-04-22 00:47:47 +03:00
Alexey Andreev
8e67fe0168 Escape undefined unicode characters in string literal 2017-04-22 00:38:04 +03:00
Alexey Andreev
b409355000 Fix Class.newInstance in minified mode 2017-04-22 00:32:28 +03:00
Alexey Andreev
d5db7270be Move expected exception handling off test runner.
Implement it in launcher genertor instead
2017-04-22 00:26:43 +03:00
Alexey Andreev
e6606302cc Add test runner on headless chrome 2017-04-21 23:51:35 +03:00
Alexey Andreev
653caa00b3 Fixes for html4j/ko4j
1. Replace Class.forName(cls.getName) with class initializer
2. Reduce set of compiled annotations to classes that actually
   get called getAnnotations()
2017-04-18 00:08:09 +03:00
Alexey Andreev
f347de44a9 WASM: fix metadata intrinsics 2017-04-17 00:09:14 +03:00
Alexey Andreev
9e6061c3f1 WASM: implementing intrinsics to access resources 2017-04-17 00:09:14 +03:00
Alexey Andreev
05d4652c86 WASM: add intrinsic that writes metadata to static binary 2017-04-17 00:09:14 +03:00
Alexey Andreev
f716a4be62 WASM: refactoring resource generator 2017-04-17 00:09:14 +03:00
Alexey Andreev
f1da7a417e WASM: preparing to implement metadata API 2017-04-17 00:09:14 +03:00
Alexey Andreev
530fe1d277 JS: remove references to window. See #269 2017-04-15 13:40:54 +03:00
Alexey Andreev
1993060824 html4j: add toString method to enums passed to JavaScript via html4j API 2017-04-15 13:17:20 +03:00
Alexey Andreev
c4ada881d2 html4j: implement undefined-to-null conversion 2017-04-15 12:39:50 +03:00
Alexey Andreev
56a03e44b1 Add IDEA launch configuration to run html4j tests 2017-04-15 12:39:22 +03:00
Alexey Andreev
54accaff5b WASM: use signed comparison for lookupswitch 2017-04-15 12:22:35 +03:00
Alexey Andreev
63025a57b7 WASM: fix reverse subtyping relation in exception handling 2017-04-15 12:04:09 +03:00
Jaroslav Tulach
5ec65594b8 Disabling currently failing TCK@1.4 tests 2017-04-14 12:03:38 +03:00
Jaroslav Tulach
cda97ab96d Updating to HTML/Java API 1.4. Using JUnit & TeaVMTestRunner to execute tests. 2017-04-14 12:03:38 +03:00
sertic
78a3aa29ec Added more WASM imports to Classlib for Double and Random class 2017-04-12 20:57:33 +03:00
Alexey Andreev
6a1dd17af9 IDEA: refactor JPS plugin to allow proper redeployment in javaee plugin 2017-04-12 17:34:14 +03:00
Alexey Andreev
3ad16e80c7 WASM: add support for Enum.valueOf and Class.isEnum 2017-04-10 22:27:24 +03:00
Alexey Andreev
d09affce85 WASM: fix translation of lookupswitch when min and max values differ by
more than 2^31
2017-04-10 21:35:02 +03:00
mirko.sertic@web.de
6630175598 #264 Upgrade GWT version to 2.8.0 for performance benchmarks 2017-04-10 21:27:43 +03:00
Alexey Andreev
248a49c7dd WASM: when lookupswitch table has labels that diff by more 256,
translate it to binary search code.
See #261
2017-04-09 23:13:26 +03:00
Alexey Andreev
ef1618ec36 Merge remote-tracking branch 'origin/master' 2017-04-06 23:35:53 +03:00
Alexey Andreev
354883ab86 $rt_ustr handles null strings. $rt_s gets optimized in minified mode. 2017-04-06 23:35:40 +03:00
Alexey Andreev
8330eae4ae WASM: support stack traces 2017-04-06 23:06:30 +03:00
Mirko Sertic
09b3f18a2c #258 WASM: Unreferenced but exported methods are removed by dep checker (#259)
WASM: automatically mark as reachable methods of reachable classes which are exported to WASM via `@Export` annotation
See #258
2017-04-05 18:36:53 +03:00
Alexey Andreev
74eda7e63c Merge pull request #257 from mirkosertic/master
Made WASM benchmarks runable again in Firefox and Chrome
2017-04-05 11:22:00 +03:00
sertic
22670363f9 Made WASM benchmarks runable again in Firefox and Chrome 2017-04-05 08:49:44 +02:00
Alexey Andreev
473c35dafa WASM: Fix generation of types of 'if' blocks generated from conditional
expressions.
See #256
2017-04-04 23:16:59 +03:00
Alexey Andreev
5b4f9e6000 Merge pull request #255 from mirkosertic/master
#253 WASM Memory should be exported to make it accessible from JS
2017-04-04 18:29:11 +03:00
sertic
f84a646eae #253 WASM Memory should be exported to make it accessible from JS
Now a default export named "memory" is created to export the WASM memory.
2017-04-04 15:55:55 +02:00
Alexey Andreev
82e4b51e07 Merge pull request #254 from mirkosertic/master
#252 WASM binary version was reset to 0x01 for MVP official release
2017-04-04 14:22:20 +03:00
sertic
19b804b5fc #252 WASM binary version was reset to 0x01 for MVP official release
In current browsers and for the official MVP only WASM binary version 0x01 is supported.
All other binary versions are no longer required or supported, hence the generation
logic for them is no longer needed.
2017-04-04 12:48:00 +02:00
Alexey Andreev
8144464b0e Add HTMLElement.className 2017-03-30 19:00:18 +03:00
Alexey Andreev
9e4e26ae18 Fix bug in metaprogramming API 2017-03-30 17:20:19 +03:00
Alexey Andreev
61a0fcfb9c Merge branch 'master' of https://github.com/konsoletyper/teavm 2017-03-27 22:30:07 +03:00
Alexey Andreev
4847731328 Fix SOE when calling Throwable.getCause()
Fix https://github.com/konsoletyper/teavm/issues/249
2017-03-27 22:27:59 +03:00
Alexey Andreev
a6447054bb Merge pull request #250 from shannah/suppress-sync-errors
Added annotation to suppress errors like * claimed to be synchronous,…
2017-03-27 22:14:02 +03:00