Commit Graph

73 Commits

Author SHA1 Message Date
Jaroslav Tulach
bcbdb5e4f9 Merge origin/master 2015-03-19 21:01:46 +01:00
konsoletyper
cd0dd134cc Preparing to merge into master 2015-03-12 22:07:24 +03:00
Alexey Andreev
3a29e869ef Aviod creation of closures in async methods 2015-03-12 18:11:04 +04:00
Alexey Andreev
32deaf2716 Further work on a new thread emulator 2015-03-10 15:19:54 +04:00
konsoletyper
bcf0929fc5 Add slf4j support 2015-03-08 19:32:01 +03:00
konsoletyper
4f508954d0 Improve Async demo 2015-03-08 14:13:25 +03:00
konsoletyper
cf983755b2 Switch to DukeScript 1.1. Minor formatting fixes 2015-03-08 12:31:21 +03:00
konsoletyper
7869173ac2 Remove build errors on JDK8 2015-03-08 12:18:57 +03:00
Alexey Andreev
8b168b53eb Merge pull request #83 from jtulach/HotSpotBenchmark
Modifying the benchmark to run on HotSpot
2015-03-08 11:58:02 +03:00
Jaroslav Tulach
b7ace8e033 Describing how to execute the benchmarks 2015-03-07 18:30:23 +01:00
konsoletyper
77738b001f Speed-up context switching 2015-03-06 23:11:55 +03:00
Jaroslav Tulach
078c2f2942 Switching to stable version of Bck2Brwsr VM 2015-02-28 17:28:53 +01:00
Jaroslav Tulach
e2bf973ac3 Merging changes from the HotSpotBenchmark branch 2015-02-27 09:50:52 +01:00
Jaroslav Tulach
f7e584d700 Adding HTML/Java on top of HotSpot VM & JavaFX version of the benchmark.
Use following comand to run the FX version:
$ mvn -Pfx clean install exec:java
2015-02-27 09:18:10 +01:00
Jaroslav Tulach
df02315e2e Merge branch 'master' of https://github.com/konsoletyper/teavm
Conflicts:
	teavm-samples/teavm-samples-benchmark/pom.xml
2015-02-27 08:46:20 +01:00
Jaroslav Tulach
e048987b4f Using the HTML/Java name as the benchmark is generic and can also work on JavaFX 2015-02-27 08:39:55 +01:00
Jaroslav Tulach
cf8645decf Adding FX WebView based sample to demonstrate the performance when running on top of HotSpot VM. Use following command to try:
teavm-samples/teavm-samples-benchmark$ mvn clean install && mvn -Pfx exec:java
2015-02-26 12:04:51 +01:00
Jaroslav Tulach
3bb171e4a1 Using DukeScript's canvas API 2015-02-25 12:23:16 +01:00
Jaroslav Tulach
2318df1560 Bck2Brwsr initializes on background, no need to wait for onload message 2015-02-25 12:12:27 +01:00
Jaroslav Tulach
a56a9c15a7 Modifying the jbox2d benchmark to also generate Bck2Brwsr version of the sample 2015-02-25 11:48:28 +01: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
Steve Hannah
9465d24723 Partial merge with async. 2015-02-09 09:49:53 -08:00
konsoletyper
62431c493c Don't insert $rt_asyncAdapter for methods that don't override async
methods
2015-02-08 23:12:33 +04: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
d84889798c Merge branch 'async' of https://github.com/konsoletyper/teavm into threads 2015-02-06 13:17:43 -08:00
konsoletyper
de7dc645bc Add wielding of try/catch statements 2015-02-06 01:56:39 +04:00
konsoletyper
5dfc8a3ed6 Return back AST optimization of async methods. 2015-02-06 00:53:51 +04:00
Alexey Andreev
73721e5b31 Add exception support to async methods 2015-02-05 17:50:25 +04:00
Steve Hannah
e6e52d1be5 Added preliminary support for keeping track of which thread is currently running. This implementation simply overrides setTimeout() to keep track of the thread that is running. It restores it to the main thread after a thread finishes running. May need to override other async methods e.g. XMLHTTPRequest, but not sure yet. This change may be sufficient if all of our async methods meant to emulate threads use the setTimeout construction. 2015-02-04 13:55:02 -08:00
Steve Hannah
72cb3973d6 Added some implementations for Object.wait(), Object.notify(), Object.notifyAll(), and Thread.start() to try to emulate the behaviour of multithreaded environments. 2015-02-02 12:45:32 -08:00
konsoletyper
4496b1ab30 Add sample application to show how CPS generator works 2015-02-01 23:08:42 +04:00
Alexey Andreev
a8d6ce1647 Ignore Eclipse files 2015-01-26 11:44:09 +04:00
Alexey Andreev
7fb5c32c9b Merge branch 'implements-html-media-element' of
https://github.com/jtakakura/teavm into
jtakakura-implements-html-media-element

Conflicts:
	teavm-samples/pom.xml
2015-01-26 11:31:55 +04:00
Alexey Andreev
6018fd772a Ignore target directory 2015-01-26 11:10:46 +04:00
Alexey Andreev
a659447fbb Merge branch 'implements-web-storage' of
https://github.com/jtakakura/teavm into jtakakura-implements-web-storage

Conflicts:
	teavm-dom/src/main/java/org/teavm/dom/browser/Window.java
2015-01-26 11:09:31 +04:00
Junji Takakura
8bc65d96b5 Adds Web Storage Demo Application 2015-01-25 11:25:07 +09:00
Junji Takakura
14a6c099d9 Adds HTML5 Video Demo Application 2015-01-24 20:00:01 +09:00
Alexey Andreev
a0b38c5d5e Switch benchmark to use GWT version 2.7.0 2014-12-02 11:41:27 +04:00
konsoletyper
5420ca89f6 Add support of strict mode 2014-10-18 15:32:43 +04:00
konsoletyper
273fc59182 Switch version to 0.3.0-SNAPSHOT 2014-10-13 17:33:25 +04:00
konsoletyper
0c4aeec667 Fix bug in JSO that led to improper generation of functor wrappers 2014-10-05 17:12:45 +04:00
konsoletyper
9e09c247e6 Replace old code samples with new ones 2014-10-05 15:45:44 +04:00
Alexey Andreev
6c05ec589a Add source copying in maven plugin:
https://github.com/konsoletyper/teavm/issues/13
2014-09-26 18:52:28 +04:00
konsoletyper
465c7626ce Removes Thread.start() that does not allow to build samples 2014-09-15 17:54:52 +04:00
konsoletyper
a26522f959 Refactoring of dependency checker in order to achieve better diagnostics
in Eclipse plugin
2014-09-15 17:52:55 +04:00
konsoletyper
df49ead369 Adds support of incremental build into tools 2014-09-10 21:12:11 +04:00
konsoletyper
b51d8fe452 Refactoring and bugfixes 2014-08-30 23:29:24 +04:00
Alexey Andreev
94b9b001cd Adds debugging information file generation 2014-07-27 19:13:39 +04:00