Commit Graph

3248 Commits

Author SHA1 Message Date
Alexey Andreev
45ba247265 When Java class gets exported to JS, generate bridges for its
methods so that these bridges perform type conversion
between Java and JS
2017-06-09 00:02:28 +03:00
Alexey Andreev
d324847fe6 Fix flaky test (hopefully) 2017-06-07 14:36:44 +03:00
Alexey Andreev
0397bdced1 Report copied source files to JPS as changed files 2017-06-07 14:34:05 +03:00
Alexey Andreev
27bb8fe9ed Rename object's $id field to $id$
To avoid clash with user-defined fields
2017-06-07 12:46:43 +03:00
Alexey Andreev
91a7f69bee Report error in JPS when TeaVM build crashes 2017-06-06 23:08:31 +03:00
Alexey Andreev
ba7f07de4b Copy default methods from interfaces to implementing classes 2017-06-06 22:42:21 +03:00
Alexey Andreev
d8913f85d1 Improve incremental compilation in IDEA.
Fix bug in source copier.
2017-06-01 19:15:24 +03:00
Alexey Andreev
89eb87e8ca Improve performance of source file copier 2017-06-01 16:14:25 +03:00
Alexey Andreev
36f2932caa Add incremental build to JPS 2017-06-01 16:14:25 +03:00
Alexey Andreev
87f7ee4b72 Remove unnecessary @author comment from classes 2017-06-01 16:14:25 +03:00
Alexey Andreev
2e8e3a65bd Add IO bufferization 2017-06-01 16:14:24 +03:00
Alexey Andreev
ad14176277 Fix JSO tests from previous commits 2017-05-31 22:52:34 +03:00
Alexey Andreev
933a5c3efc Code style fixes 2017-05-30 22:49:40 +03:00
marciodel
5ecfb3620c Support for default and static methods in Functors 2017-05-30 22:45:14 +03:00
Alexey Andreev
eba3fa3ac4 Fix failing test 2017-05-30 00:27:14 +03:00
Alexey Andreev
3791b806b9 Weaken rules for names of JSProperty methods
First, accept first character if it's a non-letter character.
Second, don't validate name of method when JSProperty specifies
name of the JS property explicitly.

See #277
2017-05-29 23:54:43 +03:00
Alexey Andreev
c0ed3d54d7 Fix base64 support
(cherry picked from commit 5da32e3a6583493a36c87bc02c8177a7740faaf7)

# Conflicts:
#	tests/src/test/java/org/teavm/classlib/java/lang/TestResourcesSupplier.java
2017-05-29 23:26:34 +03:00
Alexey Andreev
288e3b97fe Fix recognition of loop tree in a CFG
(cherry picked from commit 8f58b924628b87d13cfb8352d032a4932dcba17f)
2017-05-29 23:23:47 +03:00
Alexey Andreev
b1b98097ee Improve ResourceSupplier API
(cherry picked from commit 539a12227f79abdb4ce22aac2dbc647f1c09f083)

# Conflicts:
#	classlib/src/main/java/org/teavm/classlib/java/lang/ClassLoaderNativeGenerator.java
#	tests/src/test/java/org/teavm/classlib/java/lang/TestResourcesSupplier.java
2017-05-29 23:22:59 +03:00
Alexey Andreev
25b298b1d0 JS: fix ClassLoader.getResourceBundle for non-existent resources 2017-05-29 23:19:07 +03:00
Alexey Andreev
39cdf3bfed Fix gitter link 2017-05-24 14:26:13 +03:00
Alexey Andreev
f04da862cb Add gitter badge to README 2017-05-24 14:25:12 +03:00
Alexey Andreev
7019e1ada6 Workaround for bug in ASM which adds java/lang/Synthetic annotation twice. Should fix #278 2017-05-21 00:16:23 +03:00
Alexey Andreev
d882fd14a6 WASM: fix bug in GC 2017-05-15 22:04:30 +03:00
Alexey Andreev
92580d0892 Disable optimized version of html4j tests do decrease build time 2017-05-15 21:58:08 +03:00
Alexey Andreev
b8b3aa7a53 WASM: fix name section 2017-05-15 00:39:20 +03:00
Alexey Andreev
3d7224d47a Remove TestNG dependency 2017-05-08 21:56:03 +03:00
Alexey Andreev
6a22fbbae0 Increase memory for html4j tests 2017-05-08 21:28:05 +03:00
Alexey Andreev
08eb2da9b0 Add travis_wait for long-running test compilation 2017-05-08 20:55:58 +03:00
Alexey Andreev
9016682a1b Fix hanging html4j tests 2017-05-08 19:06:52 +03:00
Alexey Andreev
4b6193baca Fix bug in escape analysis. See #271 2017-05-08 18:44:58 +03:00
Alexey Andreev
812aa5a682 Fix bugs in textual IR parser and stringifier 2017-05-08 18:17:33 +03:00
Jaroslav Tulach
1139c2bd6c Test methods shall not be static 2017-05-08 14:40:31 +03:00
Jaroslav Tulach
e86135a792 Repeat execution of some tests that rely on asynch retry when they throw InterruptedException 2017-05-08 14:40:31 +03:00
Jaroslav Tulach
ffd2f0211e Initialization of ClassLoaders isn't really needed 2017-05-08 14:40:31 +03:00
Jaroslav Tulach
ada6225022 Skeleton for running Knockout TCK tests 2017-05-08 14:40:31 +03:00
Alexey Andreev
2d5f6a81c2 Improve peformance of Long.hashCode 2017-05-07 22:18:10 +03:00
Alexey Andreev
48d14570b2 Make Long/Float/Double/Integer compare/hashCode methods cross-platform 2017-05-07 22:06:44 +03:00
Alexey Andreev
e884bb35c9 Fix System.setErr/setOut methods 2017-05-07 21:32:35 +03:00
Alexey Andreev
293e82a3c0 In class inference add rules for known types of method parameters
and method return value
2017-04-27 00:14:14 +03:00
Alexey Andreev
8d9240df36 When eliminating constant conditions, and removing dead branch,
also remove corresponding phi input to avoid clashes with further
optimizations
2017-04-25 22:57:57 +03:00
Alexey Andreev
3c4ec550c4 Fix test runner 2017-04-23 23:51:16 +03:00
Alexey Andreev
df5545ffd6 Move xvfb startup to script section 2017-04-23 17:58:42 +03:00
Alexey Andreev
0f5a4c9ef4 Trying to fix build 2017-04-22 20:33:21 +03:00
Alexey Andreev
6ecfefe9c8 Testing travis setup 2017-04-22 20:08:30 +03:00
Alexey Andreev
6298e2c498 Testing travis setup 2017-04-22 18:57:06 +03:00
Alexey Andreev
1fc4e85ae8 Use firefox to run tests in travis 2017-04-22 18:18:00 +03:00
Alexey Andreev
60bcf97933 Use websocket client to run tests 2017-04-22 18:14:55 +03:00
Alexey Andreev
3c3448e812 Change HTML format settings in IDEA 2017-04-22 18:05:51 +03:00
Alexey Andreev
122e2f157d Add travis branch for experiments with CI configuration 2017-04-22 15:45:34 +03:00