Commit Graph

47 Commits

Author SHA1 Message Date
Alexey Andreev
7acc81ce4d JS: remove lazy creation of primitive classes 2023-10-21 20:07:49 +02:00
Alexey Andreev
02b3c92912 JS: use native string to represent internals of java.lang.String 2023-10-21 19:30:16 +02:00
Alexey Andreev
b2b7a603b4 JS: fix array optimization 2021-03-19 14:16:29 +03:00
Alexey Andreev
93d807809d html4j: temporarily ignore test 2021-03-18 22:19:00 +03:00
Alexey Andreev
0cff9e104c Fix checkstyle warnings after migration to the new version 2021-03-18 11:51:20 +03:00
Alexey Andreev
14c05954b0 html4j: fix and unignore tests 2021-03-18 10:30:33 +03:00
Alexey Andreev
53e65b2d79 html4j: temporarily ignore all tests 2021-03-18 00:12:42 +03:00
Alexey Andreev
c1891a1908 Further work on decreasing generated code size 2020-03-03 12:17:39 +03:00
Alexey Andreev
6d1c0f037e Ignore failing html4j test 2020-03-02 16:56:33 +03:00
Alexey Andreev
7f02ccdd87 Mark some tests with @WholeClassCompilation 2020-02-27 18:43:27 +03:00
Alexey Andreev
fb78377db8 Fix various issues reported by PVS Studio and LGTM 2019-10-31 14:36:37 +03:00
Alexey Andreev
1b2c47407f Place classes to a single object in development server to improve debugger performance 2019-02-07 16:29:55 +03:00
Alexey Andreev
d74bcbe2b9 Fast dependency analyzer, fix bugs in incremental compiler 2018-12-07 17:41:21 +03:00
Alexey Andreev
6d2815bc5c Support running JUnit3 tests and improve support of JUnit4 2018-11-22 19:51:33 +03:00
Alexey Andreev
f10a2f73b8 Fix dependency analysis and virtual method calls in html4j 2018-10-19 16:38:15 +03:00
Alexey Andreev
680f0dabb5 Fix bugs in method resolution in html4j 2017-10-29 21:40:48 +03:00
Jaroslav Tulach
9528e33462 Adding delegate to one more TCK test 2017-10-24 22:56:22 +03:00
Jaroslav Tulach
8c7905e9cc Adjusting TeaVM to forthcoming release of Apache HTML/Java API version 1.5 2017-10-24 22:56:22 +03:00
Alexey Andreev
d4903d460b Reformat test code to conform checkstyle settings 2017-07-01 15:47:46 +03:00
Alexey Andreev
cdec4560ba Remove dumb comments containing only @author annotation 2017-07-01 13:13:52 +03:00
Alexey Andreev
eba3fa3ac4 Fix failing test 2017-05-30 00:27:14 +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
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
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
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
Alexey Andreev
ae5e1e4962 Store instructions as double-linked list instead of ArrayList 2016-12-20 00:03:14 +03:00
Alexey Andreev
ed7e8ff7f4 javascript: refactor renderer 2016-09-17 09:21:26 +03:00
Alexey Andreev
4fd20794c1 Refactoring. Fix checkstyle errors 2016-09-17 09:11:07 +03:00
Alexey Andreev
9fb97fd53f Refactoring 2016-09-17 09:00:40 +03:00
Alexey Andreev
47997cde87 Rename target package to backend to avoid gitignore 2016-09-17 08:59:00 +03:00
Alexey Andreev
52ace0c252 Refactor TeaVM to support pluggable targets like JavaScript, WebAssembly, LLVM, etc (with only JavaScript target for now) 2016-09-17 08:55:44 +03:00
Alexey Andreev
5dad013cc7 Migration to IDEA 2016-02-07 14:28:51 +03:00
Alexey Andreev
d718177fe0 Improve resource loading contributed by Jaroslav:
* Implement base64 decoder instead of atob, which is not supported 
  by IE9
* Avoid direct usage of window identifier to prevent global namespace
  from spoiling
* Make customizable approach to supply list of resources to write
  into JavaScript
2015-12-26 13:26:34 +03:00
Jaroslav Tulach
d9ee68315e Can include resources in the generated file 2015-12-24 07:33:52 +01:00
Jaroslav Tulach
4aec89967b Simple test to show expected behavior of resources 2015-12-24 06:47:43 +01:00
Alexey Andreev
385b696de9 Add mocks for WebSockets in html4j 2015-10-20 22:21:06 +03:00
Alexey Andreev
a311f291aa Fix bug in html4j test mock. Upgrade to html4j version 1.2.3 2015-10-20 18:37:23 +03:00
Alexey Andreev
64e39be307 Trying to fix JSONP calls in Html4j tests 2015-10-20 18:20:32 +03:00
Alexey Andreev
84be461a69 Fix async test building. Fix Window.prompt. Fix non-integer JS number to
Java primitive conversion
2015-10-19 16:49:27 +03:00
Alexey Andreev
732957cd84 Fix bugs 2015-10-15 16:03:11 +03:00
Alexey Andreev
cf92616a6a Add pluggable test runner. Add html4j adapter that relaunches test
several times if it throws InterruptedException. Attempting to fix
decompilation errors in some CFGs with try/catch statements
2015-10-15 11:03:06 +03:00
Alexey Andreev
3341df3668 Change directory structure 2015-10-04 11:49:20 +03:00