Commit Graph

342 Commits

Author SHA1 Message Date
konsoletyper
62686878c6 Adds try/catch support in simple cases 2014-02-26 16:42:31 +04:00
konsoletyper
03bc2e2e07 Adds support of java.io.BufferedReader and java.io.StringReader 2014-02-25 12:41:00 +04:00
konsoletyper
744033b118 Fixes InputStreamReader one-by-one read 2014-02-24 19:53:21 +04:00
konsoletyper
8cbb6477cb Adds test coverage of InputStreamReader 2014-02-24 19:43:11 +04:00
konsoletyper
1ee9793ffd Adds input streams 2014-02-24 16:55:38 +04:00
konsoletyper
6ef892bf26 Adds uncommited file 2014-02-24 15:13:58 +04:00
konsoletyper
7782f1edb7 Small improvements 2014-02-24 15:00:30 +04:00
konsoletyper
68f9376242 Fixes java.lang.Comparable interface 2014-02-24 13:59:16 +04:00
konsoletyper
0004babe65 Bugfixes and improvements, trying to launch Knockout4Java 2014-02-24 13:07:06 +04:00
konsoletyper
d34e26e970 Adds java.util.ServiceLoader support 2014-02-24 00:50:06 +04:00
konsoletyper
3195879467 Adds support of Class.getDeclaringClass method 2014-02-23 23:17:30 +04:00
konsoletyper
9cdc099b1a Adds simple support of Class.forName and class.newInstance 2014-02-23 21:14:10 +04:00
konsoletyper
6e4e66c759 Adds partial implementation of JCL logger framework 2014-02-23 19:39:25 +04:00
konsoletyper
45dc8aa0ec Adds java.util.HashMap 2014-02-23 18:53:43 +04:00
konsoletyper
03d5554e76 Adds java.util.AbstractMap, java.util.AbstractSet, java.util.Objects 2014-02-23 11:45:55 +04:00
konsoletyper
7831ade3a6 Fixes infinite loop in dependency checker in some cases 2014-02-21 19:47:51 +04:00
konsoletyper
31b9525309 Fixes bugs. Adds JCL implementation 2014-02-21 15:07:37 +04:00
konsoletyper
59e6095fef Adds linking phase that for each method invocation places a proper
reference, possibly inherited from superclass. Adds tests on ArrayList
2014-02-21 10:36:44 +04:00
konsoletyper
18f6791b8e Implements ArrayList and AbstractList 2014-02-21 00:29:57 +04:00
konsoletyper
dfafbceede Adds JCL classes and methods 2014-02-20 21:24:35 +04:00
konsoletyper
f63d0cd8d0 Adds complete enum support 2014-02-20 11:58:44 +04:00
konsoletyper
f3ae632786 Adds implementations of some JCL classes 2014-02-20 00:53:44 +04:00
konsoletyper
301d14e1ab Most of JavaScriptBody TCK tests pass 2014-02-19 13:44:27 +04:00
konsoletyper
be89d16e88 Further refactoring of dependency checker 2014-02-19 10:43:13 +04:00
konsoletyper
da35fbc2a9 Dependency checker refactoring 2014-02-18 23:50:54 +04:00
konsoletyper
5b76001a34 Adds json-tck tests 2014-02-18 17:53:55 +04:00
konsoletyper
ee28309008 Adds displaying of full dependency stack for each missing item 2014-02-18 14:20:48 +04:00
konsoletyper
ae2ca37ee0 Adds type conversion from Java array and integer to JS array and number 2014-02-17 08:15:06 +04:00
konsoletyper
8c4514a200 Refactoring. Adds devirtualization optimization 2014-02-12 23:41:17 +04:00
konsoletyper
bcbc985f57 Implement some more java.lang.Integer methods 2014-02-12 09:54:26 +04:00
konsoletyper
9929082d49 Adds Integer.toString emulation 2014-02-10 17:27:53 +04:00
konsoletyper
e094fe4192 Adds emulation of Integer.parseInt 2014-02-10 16:34:40 +04:00
konsoletyper
0f2bf64975 Adds Character.digit implementation with honest Unicode support. 2014-02-10 15:37:42 +04:00
konsoletyper
67bc76f89a Adds java.lang.Boolean emulation. Adds emulation of some of
java.lang.String methods. Fixes bug in register allocator.
2014-02-10 12:25:17 +04:00
Alexey Andreev
8a423c0d4f Adds support of *functors*. Adds benchmark from bck2brwsr 2014-02-09 14:27:32 +04:00
konsoletyper
ae2e669ec3 Adds support of native JavaScript interaction 2014-02-06 17:51:51 +04:00
konsoletyper
bc68602dae Remove .$class property and use built-in .constructor instead 2014-01-31 10:49:01 +04:00
konsoletyper
971ad3c95e Adds string to byte array converter 2013-12-20 16:31:18 +04:00
konsoletyper
55218aba4b Adds byte array to string converter 2013-12-20 15:02:52 +04:00
konsoletyper
97107a2953 More tests for StringBuilder.append(D) 2013-12-20 13:19:00 +04:00
konsoletyper
111b3d9076 Applies apache license 2013-12-20 12:45:28 +04:00
konsoletyper
d844d1cc1d Double decimal representation test passes 2013-12-19 22:05:11 +04:00
konsoletyper
a9bd61e463 Adds double decimal representation generator 2013-12-19 17:50:01 +04:00
konsoletyper
56991af700 Adds fixes to make `samples' project to work properly 2013-12-19 12:13:31 +04:00
konsoletyper
eb6627c532 Adds a minimal code to support HelloWorld application 2013-12-18 15:04:11 +04:00
konsoletyper
e595ecc5db Refactoring of UTF-16 encoding/decoding for further implementation of
encoding/decoding charsets
2013-12-17 17:23:59 +04:00
konsoletyper
79e2eca91d Beginning to implement PrintWriter. 2013-12-17 16:34:44 +04:00
konsoletyper
6eb145e1d0 Adds maven plugin. Switches class library test generation from main
class to maven goal
2013-12-17 12:03:27 +04:00
konsoletyper
e5cb7a20d3 Adds JavascriptBuilder - a facade for building whole JavaScript files 2013-12-16 17:48:38 +04:00
konsoletyper
95242b346e StringBuilder.append(float) now covers all possible cases 2013-12-16 16:05:28 +04:00
konsoletyper
3782bdd458 Float to string conversion implemented, excluding the case of range
without printable exponent (i.e. 10e-3 ... 10e7)
2013-12-14 00:41:21 +04:00
Alexey Andreev
808b0d9468 Fixes bugs 2013-12-13 17:28:30 +04:00
Alexey Andreev
029e98d4a0 Merge remote-tracking branch 'origin/master' 2013-12-13 16:33:27 +04:00
Alexey Andreev
1051d59f8f Adds append(long) and valueOf(long) implementation 2013-12-13 16:33:22 +04:00
konsoletyper
5ab0036564 Common subexpression elimination now works 2013-12-12 20:59:05 +04:00
Alexey Andreev
d9b7a87784 Fixes dependency checker bugs 2013-12-12 16:35:12 +04:00
konsoletyper
d100654b93 JUnit tests now compiled each in a separate file 2013-12-11 22:16:27 +04:00
Alexey Andreev
03018a8f40 Improves junit-support.js. Starts to rewrite generator 2013-12-11 17:40:17 +04:00
konsoletyper
231c5a43ee Refactoring JUnit emulation 2013-12-10 22:52:59 +04:00
Alexey Andreev
62df1018cc Improves minification 2013-12-10 17:24:19 +04:00
Alexey Andreev
10c1e2f528 Adds minification 2013-12-10 16:47:41 +04:00
Alexey Andreev
bb7053cfa4 Improvements 2013-12-06 17:16:56 +04:00
Alexey Andreev
d05b9434d9 Implements som java.lang.String methods 2013-12-05 17:46:57 +04:00
Alexey Andreev
4767ab07cb Adds java.lang.String methods 2013-12-05 12:49:30 +04:00
Alexey Andreev
626635daeb Adds some java.lang.String methods 2013-12-04 17:34:28 +04:00
Alexey Andreev
3f1a44eccb Fixes casting between integer values. Fixes naming generation of
methods. Adds more informative exception trace when no method was found
during rendering
2013-12-04 11:46:17 +04:00
konsoletyper
59615f3165 Makes tests to be runnable both on JVM and TeaVM 2013-12-03 22:38:22 +04:00
konsoletyper
d3063e7811 Fixes class methods errors. Adds string tests 2013-12-03 22:29:50 +04:00
konsoletyper
9722a6e863 Fixes unit test. Adds tests of Class.getComponentType() 2013-12-03 21:48:36 +04:00
Alexey Andreev
620d2cef62 Adds some more support of reflection 2013-12-03 19:30:53 +04:00
Alexey Andreev
b3fe2f6a29 Fixes a bug with Object.getClass() behaviour. Improves JUnit emulation 2013-12-03 19:07:53 +04:00
Alexey Andreev
167e1a52c8 Merge remote-tracking branch 'origin/master' 2013-12-03 10:06:30 +04:00
konsoletyper
601fcf0824 Adds unused variable elimination 2013-12-02 20:51:04 +04:00
Alexey Andreev
c8528ef91a More tests added 2013-12-02 17:28:48 +04:00
konsoletyper
ac0df0ca6b Refactoring of array generation 2013-12-01 21:57:41 +04:00
Alexey Andreev
ce56214ed5 Adds some JVM class library implementation 2013-11-29 19:07:39 +04:00
Alexey Andreev
f6927a72af Fixes some bugs 2013-11-28 17:42:06 +04:00
Alexey Andreev
c244c596c9 Implements some of JVM class library 2013-11-27 10:11:21 +04:00
Alexey Andreev
1355e211e3 Implementing class library emulation 2013-11-25 17:41:18 +04:00
Alexey Andreev
18e35b80e6 Adds some JVM classes. 2013-11-22 17:19:51 +04:00
Alexey Andreev
04e12562a0 Adds class preordering. Fixes concurrency issues 2013-11-20 18:16:48 +04:00
Alexey Andreev
cf6c9b1ba6 Some tests on java.lang.Object added 2013-11-19 21:26:29 +04:00
Alexey Andreev
f88b868c39 Dependency checker now cuts off unused methods 2013-11-18 17:28:02 +04:00
Alexey Andreev
91a50605bc Dependency plugin support added 2013-11-17 16:20:23 +04:00
Alexey Andreev
59358dcd8d Dependency checker complete 2013-11-17 15:43:03 +04:00
Alexey Andreev
7e7cdc5b78 Working on dependency checker 2013-11-15 17:31:11 +04:00
Alexey Andreev
958592a4b0 Adds generator of HTML page, running junit test cases 2013-11-10 22:49:56 +04:00
Alexey Andreev
50a8c85cd1 java.lang.Object constructor generated properly 2013-11-10 19:56:17 +04:00
konsoletyper
ee10986d05 Class renaming now works 2013-11-06 19:46:54 +04:00
konsoletyper
5641a09a0a Fixes native method decompilation. Refactoring 2013-11-04 19:29:07 +04:00
konsoletyper
d63171e935 Adds annotation parsing. Adds native method generation 2013-10-28 22:59:56 +04:00
konsoletyper
df05104e3c Doing a lot of things 2013-10-27 12:16:07 +04:00