Commit Graph

365 Commits

Author SHA1 Message Date
konsoletyper
e7db80fe2b Fix slf4j support. Add PrintStream.println(double) 2015-03-16 21:55:37 +03:00
konsoletyper
17ccec57e9 Add missing javadoc tags 2015-03-15 18:22:39 +03:00
Alexey Andreev
aad95014fe Fix error in Object.wait. Make junit working with new async approach 2015-03-12 11:44:17 +04:00
konsoletyper
2ef8f9c0e8 Merge branch 'master' into better-async 2015-03-11 20:39:51 +03:00
Alexey Andreev
b19c545318 Fix issue 2015-03-11 19:49:31 +04:00
Alexey Andreev
7e23498c5b Fix bugs 2015-03-11 19:02:32 +04:00
konsoletyper
8fe3876641 First working prototype of new async 2015-03-10 22:09:43 +03:00
konsoletyper
5c189cfe15 Fix bug in InputStream.read implementation 2015-03-10 20:39:28 +03:00
Alexey Andreev
56c5fefae4 Further development 2015-03-10 19:33:34 +04:00
Alexey Andreev
32deaf2716 Further work on a new thread emulator 2015-03-10 15:19:54 +04:00
Alexey Andreev
93e43456d1 Outline of upcoming improvements of continuations 2015-03-10 12:49:00 +04:00
konsoletyper
fe2adc4675 Speed-up TeaVM compiler on large applications 2015-03-09 16:22:19 +03:00
konsoletyper
62118e2cfe Add frequency-based naming in minified mode 2015-03-09 13:28:37 +03:00
konsoletyper
61368d0c10 Add own declaration of DataOutput interface 2015-03-08 20:11:03 +03:00
konsoletyper
3a78db74c1 Fix bugs 2015-03-08 13:09:17 +03:00
konsoletyper
7869173ac2 Remove build errors on JDK8 2015-03-08 12:18:57 +03:00
Alexey Andreev
d2e20d7c9f Add OutOfMemoryError. When catching exceptions that are not defined,
report errors at compile time.
2015-03-06 14:01:02 +04:00
Alexey Andreev
bacd02d8a7 Add some JDK classes needed to support DukeScript 2015-03-01 11:25:42 +03:00
Alexey Andreev
18ac2b2b25 Fix some tests of html4j TCK 2015-03-01 11:10:59 +03:00
konsoletyper
1c0acf61d4 Merge branch 'async' 2015-02-26 23:48:31 +03:00
Alexey Andreev
a47cf14352 Replace OutputStreamWriter and DataOutputStream 2015-02-26 19:12:53 +04:00
Alexey Andreev
98210d2528 Fix error converting doubles to strings 2015-02-26 12:28:32 +04:00
Alexey Andreev
0b7db410d3 Fix error in converting doubles to floats 2015-02-26 12:16:31 +04:00
konsoletyper
7d62c16c8d Bugfixes in sync primitives 2015-02-24 21:08:56 +03:00
Alexey Andreev
69857af688 Fix https://github.com/konsoletyper/teavm/issues/66 2015-02-20 16:55:35 +04:00
Steve Hannah
3cf890fa53 Fixed issue with running threads that don't explicitly include a runnable target (e.g. if they have been derived with their own run() method). 2015-02-19 08:42:39 -08:00
wh0
ed001cf25d add test for mergePairs 2015-02-17 13:50:57 -08:00
wh0
5c446f1b62 adjust UnicodeSupport.mergePairs logic
when we reach the end of one array, copy the rest of the other and return
2015-02-15 19:56:32 -08:00
konsoletyper
b6cb9bfd4a Fix monitor methods. Improve JSO to handle abstract classes 2015-02-15 18:11:23 +04:00
konsoletyper
9d112817b8 Minor improvements 2015-02-14 23:52:28 +04:00
konsoletyper
4ce1031c0c Trying to fix https://github.com/konsoletyper/teavm/issues/58 2015-02-14 01:18:43 +04:00
konsoletyper
4cf084d848 Fix Thread.start() 2015-02-14 00:41:29 +04:00
konsoletyper
f93b35ce80 Fix monitorenter 2015-02-14 00:24:24 +04:00
konsoletyper
a4d948f26b Fix bugs 2015-02-13 22:30:41 +04:00
Alexey Andreev
54ecf6e00f One step toward further minification 2015-02-12 19:08:44 +04:00
konsoletyper
857ed9754e Fix code styling 2015-02-10 22:10:06 +04:00
konsoletyper
74a76804fb Merge remote-tracking branch 'origin/shannah_threads' into shannah_threads 2015-02-09 23:14:25 +04:00
konsoletyper
71195c04ce Fix some bugs 2015-02-09 23:04:02 +04:00
Steve Hannah
a1df42878c Changed native functions to use new AsyncCallback approach. 2015-02-09 10:54:06 -08:00
Steve Hannah
9465d24723 Partial merge with async. 2015-02-09 09:49:53 -08:00
Alexey Andreev
dd25ae4759 Further removal of direct JavaScript generation from classlib 2015-02-09 19:36:45 +04:00
konsoletyper
2ae7b587d1 Most of TClass now uses Platform instead of code generation 2015-02-08 22:35:51 +04:00
konsoletyper
d93fa6cf41 Start eliminating JavaScript generators in classlib in favour of calling
Platform and JSO
2015-02-07 20:58:47 +04:00
konsoletyper
3b1d6851a4 Refactoring. Add AsyncCallback support 2015-02-07 18:36:18 +04:00
Steve Hannah
e2b6b7b2df Fixed monitorExit to work with more than one enter/exit. 2015-02-06 17:07:01 -08:00
Steve Hannah
2fbc50e76f Most of the elements are in place for monitors to work... something is wrong tough because I get errors when I try to compile files with synchronized sections. 2015-02-06 16:47:59 -08:00
Steve Hannah
cca4336a15 Merged with latest async branch. Also added MonitorExitInstruction and MonitorEnterInstruction classes, and updated all associated visitors. These don't do anything yet though. 2015-02-06 14:11:07 -08:00
Steve Hannah
d84889798c Merge branch 'async' of https://github.com/konsoletyper/teavm into threads 2015-02-06 13:17:43 -08:00
Alexey Andreev
ce2c625f53 Add test to check async virtual call resolution. Fix bug in async unit
tests support
2015-02-06 19:02:14 +04:00
Alexey Andreev
1f8ef1092c Support async code in junit 2015-02-06 18:51:42 +04:00