Commit Graph

1533 Commits

Author SHA1 Message Date
konsoletyper
34aeb6e3c9 Fix https://github.com/konsoletyper/teavm/issues/70 2015-02-21 13:04:09 +04:00
Alexey Andreev
123aac84fa Merge pull request #62 from shannah/async
Added responseType and response properties to XMLHTTPRequest.
2015-02-20 20:04:24 +03:00
Alexey Andreev
cd2602a5c2 Add better exception handling in async methods:
https://github.com/konsoletyper/teavm/issues/67
2015-02-20 17:51:32 +04:00
Alexey Andreev
d929181e81 Close https://github.com/konsoletyper/teavm/issues/65 2015-02-20 17:09:57 +04:00
Alexey Andreev
69857af688 Fix https://github.com/konsoletyper/teavm/issues/66 2015-02-20 16:55:35 +04:00
Alexey Andreev
869f252b69 Merge pull request #64 from shannah/fix_rt_str
Fixed issue with null strings in $rt_str.
2015-02-20 15:22:14 +03:00
Alexey Andreev
736746724a Merge pull request #63 from shannah/fix_thread_run
Fixed issue with running threads that don't explicitly include a runnabl...
2015-02-20 15:21:58 +03:00
Steve Hannah
8779c49c3e Fixed issue with null strings in (). 2015-02-19 08:45:56 -08: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
Steve Hannah
c2864de3ca Added responseType and response properties to XMLHTTPRequest. 2015-02-18 15:48:03 -08:00
wh0
ed001cf25d add test for mergePairs 2015-02-17 13:50:57 -08:00
Alexey Andreev
9300c07daf Fix dependency bug with monitorenter/monitorexit 2015-02-16 17:54:47 +04: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
b4c3bc47f0 Fix tests 2015-02-15 19:40:49 +04:00
konsoletyper
e8803390d2 When transforming final JS method to static methods, map phis and
try-catches as well
2015-02-15 19:22:37 +04:00
konsoletyper
bc0fc8e406 Remove diagnostic messages 2015-02-15 18:29:39 +04: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
0cdf960ba5 Fix Chrome RDP backend 2015-02-14 17:18:40 +04:00
konsoletyper
f69e3310a3 When finding overriden methods, exclude constructors, final and static
methods
2015-02-14 15:50:22 +04:00
konsoletyper
5221815904 Remove unused field 2015-02-14 01:20:34 +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
f35f06097c Further minification 2015-02-13 22:58:44 +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
727c02381a Fix error in JSO alias generator 2015-02-11 23:21:28 +04:00
konsoletyper
90f1f19f08 Avoid unnecessary parenthesis 2015-02-11 23:11:58 +04:00
konsoletyper
857ed9754e Fix code styling 2015-02-10 22:10:06 +04:00
konsoletyper
b69b5b9219 Fix dependency problem in JSO 2015-02-10 21:57:15 +04:00
konsoletyper
6d7d2691ae Merge branch 'async' into shannah_threads 2015-02-09 23:49:10 +04:00
konsoletyper
cf06ee7f87 Fix error building callgraph with JSFunctors 2015-02-09 23:48:22 +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
82b110ad4c Fix little bug in $rt_rootInvocationAdapter 2015-02-09 00:00:53 +04:00
konsoletyper
62431c493c Don't insert $rt_asyncAdapter for methods that don't override async
methods
2015-02-08 23:12:33 +04:00
konsoletyper
2ae7b587d1 Most of TClass now uses Platform instead of code generation 2015-02-08 22:35:51 +04:00
Steve Hannah
21468ef419 Fixed issue with the instruction copier. Now it builds ok with synchronized instruction. Getting an error at runtime... 2015-02-07 10:00:48 -08:00
konsoletyper
d93fa6cf41 Start eliminating JavaScript generators in classlib in favour of calling
Platform and JSO
2015-02-07 20:58:47 +04:00
Steve Hannah
d37da2b078 Made small change to statement generator for monitor instructions. 2015-02-07 07:34:02 -08:00
Steve Hannah
68aa193728 Made some changes based on Alexey's comments of previous changes. Still getting same error on build. 2015-02-07 07:22:13 -08:00
konsoletyper
3b1d6851a4 Refactoring. Add AsyncCallback support 2015-02-07 18:36:18 +04:00
konsoletyper
942542df6f Produce less code 2015-02-07 16:57:45 +04:00
konsoletyper
268b66e523 Fix async virtual methods 2015-02-07 15:21:46 +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