Commit Graph

2900 Commits

Author SHA1 Message Date
Alexey Andreev
0f951f8c86 Fix calculating class name in debugger 2018-11-19 15:29:02 +03:00
Alexey Andreev
f2dd398719 Fix bug in source map generation
This bug caused metadata lines that follow after the code
generated from Java bytecode, to be mapped to the line in
Java bytecode of the method that appears last in the generated
JavaScript
2018-11-18 02:11:28 +03:00
Alexey Andreev
e5c85dd3bd Prevent inlining of JSBody code in some complex cases 2018-11-16 19:04:15 +03:00
Alexey Andreev
148c07336c Generate entire code inside wrapper IIF 2018-11-15 12:47:25 +03:00
Alexey Andreev
fe151d525a Prevent generation of function names that clash with standard objects 2018-11-14 13:55:36 +03:00
Alexey Andreev
064888c9a1 Support Java 11 2018-11-12 18:59:28 +03:00
Alexey Andreev
d4b145a523 IDEA: update project configuration 2018-11-06 14:49:14 +03:00
Alexey Andreev
4a7b70e1e8 Wasm: fix the way '!' expression translated. Also fix #365 2018-11-06 14:34:18 +03:00
Alexey Andreev
473e33a261 Fix Maven settings for preview builds in readme 2018-11-06 12:26:17 +03:00
Alexey Andreev
f8400279f8 Fix test runner 2018-10-28 00:22:24 +03:00
Alexey Andreev
4d2c075c07 Always embed runtime into generated file. Remove 'runtime' build property 2018-10-28 00:15:36 +03:00
Alexey Andreev
63b2440e48 Remove $rt_global and indirect references to runtime function 2018-10-27 22:42:25 +03:00
Alexey Andreev
149775dd95 Travis: trying to fix deployment 2018-10-26 19:45:24 +03:00
Alexey Andreev
e3d95ce64e Travis: trying to fix deployment 2018-10-26 19:13:04 +03:00
Alexey Andreev
9d392442d5 Travis: fix deploy command 2018-10-26 16:36:45 +03:00
Alexey Andreev
eff86f6239 Less output from Maven. Delete TeaVM artifacts from local repository before caching 2018-10-26 16:10:36 +03:00
Alexey Andreev
16ea944a87 Travis: fix build configuration 2018-10-26 15:21:04 +03:00
Alexey Andreev
4c2fba42c8 Travis: fix configuration 2018-10-26 14:51:37 +03:00
Alexey Andreev
78be2d25a6 Travis: fix configuration 2018-10-26 14:12:02 +03:00
Alexey Andreev
4b13463e9f Travis: reduce used disk space 2018-10-26 13:54:42 +03:00
Alexey Andreev
0f32c14e47 Travis: add commands to log used disk space 2018-10-25 18:49:23 +03:00
Alexey Andreev
c1fb3cdce5 Remove unnecessary cache directory from travis config 2018-10-25 15:33:59 +03:00
Alexey Andreev
2cd462bcdb Trying to reduce disk space utilized by travis build 2018-10-25 14:02:49 +03:00
Alexey Andreev
7bef0f5bb8 Bump IDEA version to 2017.3 2018-10-25 13:15:28 +03:00
Alexey Andreev
1b78ef99a6 Fix bugs in node splitting or irreducible graphs 2018-10-24 18:16:59 +03:00
Alexey Andreev
6551f3eb68 Make JS function out of JS object when casting to JSFunctor interface 2018-10-24 14:30:26 +03:00
Alexey Andreev
5035c58533 Fix Collections.reverse for non-random access lists. Make ArrayList random access. 2018-10-23 17:01:55 +03:00
ScraM Team
65c92aab1f Added Geolocation API interfaces, callbacks and data structures. 2018-10-23 11:53:32 +03:00
Alexey Andreev
ef011d429d Ignore flaky test 2018-10-19 17:20:07 +03:00
Alexey Andreev
f10a2f73b8 Fix dependency analysis and virtual method calls in html4j 2018-10-19 16:38:15 +03:00
Alexey Andreev
8a55510d4f Fix bug in dependency analyzer 2018-10-19 14:47:34 +03:00
Xavier RENE-CORAIL
ac2bd7599b Add LGTM.com code quality badges 2018-10-15 16:49:20 +03:00
Alexey Andreev
f206cbe2d1 Reorder modifiers to get less metadata size 2018-10-04 19:07:23 +03:00
Alexey Andreev
4c4c589172 Various code size optimizations
1. Generate 'a' for 'this' instead of '$t'
2. Fix frequency-based identifier optimization
3. Generate less code in <clinit> callers
4. Generate one-letter identifier in most of constructors
   (instead of $r)
5. Use $ and _ chars in identifiers
2018-10-04 16:29:05 +03:00
Alexey Andreev
b66053f5ce Don't generate virtual wrappers for methods that aren't ever called virtually 2018-10-04 11:55:34 +03:00
Alexey Andreev
681e21ecca Store class names in metadata as a pair of package and simple name 2018-10-03 16:01:37 +03:00
Alexey Andreev
0a94c91ff2 Don't generate unused class names in metadata section 2018-10-03 14:46:52 +03:00
Alexey Andreev
be21e474c5 Generate shorter <clinit> caller names in minified mode 2018-10-03 12:48:14 +03:00
Alexey Andreev
6b063bc567 Some code size optimizations
1. Eliminate empty switch statements
2. Eliminate unnecessary == 0 and != 0 conditions in 'if'
2018-10-03 11:57:51 +03:00
Alexey Andreev
168bf1fa9c Add option to print size statistics of generated JS code 2018-10-03 11:08:15 +03:00
Alexey Andreev
614f95d376 Fix String.contains 2018-09-19 13:35:00 +03:00
Alexey Andreev
4b77a5d15f Fix String.contains. Fix crashing in rare cases or improper use of JSO 2018-09-19 12:47:32 +03:00
Alexey Andreev
55e0905518 IDEA: add facet option to skip TeaVM compilation 2018-09-04 18:30:15 +03:00
Alexey Andreev
0473020bc8 Prevent from generating functions with NaN identifier 2018-09-04 17:28:10 +03:00
Alexey Andreev
b74c501fa6 Add Float/Double.isFinite 2018-09-04 17:27:54 +03:00
Alexey Andreev
8c35ef0189 IDEA: fix starting daemon with specified amount of memory 2018-08-30 11:11:15 +03:00
Alexey Andreev
773d40aa37 IDEA: fix copying sources from dependant modules 2018-08-30 11:10:51 +03:00
Alexey Andreev
50573f4f06 Prevent minifier from generating NaN function 2018-08-30 11:10:23 +03:00
Alexey Andreev
f5c6ac9c5d Improve performance of dependency analyzer, decrease memory consumption 2018-08-29 13:20:16 +03:00
Alexey Andreev
d20accc20c Add support for Array.set 2018-08-29 13:20:16 +03:00