Alexey Andreev
4847731328
Fix SOE when calling Throwable.getCause()
...
Fix https://github.com/konsoletyper/teavm/issues/249
2017-03-27 22:27:59 +03:00
Alexey Andreev
929e77bf69
Postpone execution code after wait
method, since it's executed in a native callback which can't be async. When the code contains async calls, compiler produces error.
2017-02-25 19:52:05 +03:00
Davin McCall
5ff5b22529
Add implementation of Random.nextGaussian().
2017-02-13 21:59:51 +00:00
Alexey Andreev
5c936878a7
Update JSO apis
2017-01-23 23:27:57 +03:00
Alexey Andreev
ae5e1e4962
Store instructions as double-linked list instead of ArrayList
2016-12-20 00:03:14 +03:00
Alexey Andreev
10bb4ef3da
Fix range checking in AbstractList.subList. Add RandomAccess to object returned by Arrays.asList
2016-12-03 11:05:33 +03:00
Alexey Andreev
8c3f071f88
Fix updating size in LinkedList.remove ( fix #226 ).
2016-11-04 13:28:34 +03:00
Alexey Andreev
499ce8c029
WASM: add some GC interop methods
2016-10-06 16:21:09 +03:00
Alexey Andreev
cc0c68e809
WASM: porting jbox2d benchmark to WebAssembly
2016-09-29 20:05:32 +03:00
Alexey Andreev
b67d243ad4
WASM: add transformation that converts exception handling to explicit guard checks
2016-09-22 16:27:28 +03:00
Alexey Andreev
0a00551af1
WASM: add support of Character.toLowerCase/toUpperCase. Add _ prefix to names in c output
2016-09-17 12:37:49 +03:00
Alexey Andreev
6c5a691fc9
Fixing minor bugs
2016-09-17 10:42:46 +03:00
Alexey Andreev
ed7e8ff7f4
javascript: refactor renderer
2016-09-17 09:21:26 +03:00
Alexey Andreev
bb2f23b19b
Fix bugs in runtime. Add support for System.out
2016-09-17 09:19:34 +03:00
Alexey Andreev
67098a60ef
Fix bugs in GC and runtime
2016-09-17 09:19:34 +03:00
Alexey Andreev
5caa400eb7
Mark several low-level methods as NoGC
2016-09-17 09:19:34 +03:00
Alexey Andreev
bb4040af23
Fix bugs
2016-09-17 09:19:31 +03:00
Alexey Andreev
1ae683ead3
System.arrayCopy works
2016-09-17 09:19:31 +03:00
Alexey Andreev
ca3258417b
Implementing System.arraycopy
2016-09-17 09:19:31 +03:00
Alexey Andreev
1c1b0c69fa
Propagating variable name via compiler's pipeline
2016-09-17 09:11:59 +03:00
Alexey Andreev
6483f518cf
Remove unused classes
2016-09-17 09:00:48 +03:00
Alexey Andreev
9fb97fd53f
Refactoring
2016-09-17 09:00:40 +03:00
Alexey Andreev
3dd76c9355
Fix bugs in WASM target
2016-09-17 08:59:03 +03:00
Alexey Andreev
06a96911a1
Further improvements in WASM target
2016-09-17 08:59:03 +03:00
Alexey Andreev
5479d24a21
Implementing reflection in WASM
2016-09-17 08:59:02 +03:00
Alexey Andreev
3f02cad9e7
Further development of WASM backend
2016-09-17 08:59:02 +03:00
Alexey Andreev
a1fe87ff70
Move several annotations
2016-09-17 08:59:01 +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
c5548dfa59
Merge pull request #218 from skapral/missing-runtime
...
Added missing classes/methods from Java SE Runtime
2016-08-27 10:22:16 +03:00
Sergey Kapralov
d1ade89ed4
TMap new methods are covered with tests
2016-08-25 17:12:03 +03:00
Sergey Kapralov
6b950e618e
Applied minor remarks.
2016-08-25 11:30:53 +03:00
Sergey Kapralov
ec2a52900e
TMap.compute fixed and tested
2016-08-25 11:13:08 +03:00
Sergey Kapralov
dc4a937262
Added missing map methods
2016-08-23 10:41:25 +03:00
Sergey Kapralov
035c616b5e
added TStaskOverflowError
2016-08-23 10:41:18 +03:00
Sebastian Bauer
9a1c6fe5b9
Fix ms to ns conversion.
2016-08-19 20:35:34 +02:00
Alexey Andreev
50ac08fce4
Merge branch 'master' of https://github.com/konsoletyper/teavm
2016-08-18 21:34:56 +03:00
Alexey Andreev
559f7f7e42
Fix ByteArrayInputStream.read. Fix https://github.com/konsoletyper/teavm/issues/213
2016-08-18 21:34:18 +03:00
Sebastian Bauer
b03ba67a88
Use max() instead of min() when enlarging the array.
...
Adding n elements subsequently has now an O(n) running time while it was
O(n^2) before.
2016-08-18 20:09:48 +02:00
Alexey Andreev
02f414b61a
Speed up allocation of objects and arrays
2016-05-12 22:25:31 +03:00
Alexey Andreev
88a1a39301
Add PrintStream methods
2016-05-11 21:16:01 +03:00
Alexey Andreev
5576275998
Improving JUnit test runner
2016-02-26 23:48:04 +03:00
Alexey Andreev
1bb36b98b2
Merge pull request #185 from shannah/master
...
Fixed NPE in LinkedList.remove(e)
2016-02-21 22:27:24 +03:00
Steve Hannah
9a52a277b9
Added Timer.scheduleTaskAtFixedRate() method
2016-02-17 11:46:10 -08:00
Alexey Andreev
5dad013cc7
Migration to IDEA
2016-02-07 14:28:51 +03:00
Steve Hannah
eb2e08da3f
Fixed NPE in LinkedList.remove(e)
2016-02-05 15:03:53 -08: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
Alexey Andreev
de7f0910e9
Merge branch 'jtulach_resources' into release-0.4.x
2015-12-25 22:52:27 +03:00
Jaroslav Tulach
de117b61ed
Converts the resource from base64 encoding before returning it
2015-12-24 07:59:41 +01:00
Jaroslav Tulach
ecfdcd34c3
Class.getResourceAsStream can find the generated resource
2015-12-24 07:53:36 +01:00
Jaroslav Tulach
4aec89967b
Simple test to show expected behavior of resources
2015-12-24 06:47:43 +01:00
Alexey Andreev
b12404ee7e
Fix emit API. Fix several JS wrappers.
2015-10-25 19:22:48 +03:00
Alexey Andreev
8702f7ee33
Repair incremental builder
2015-10-21 20:51:43 +03:00
Alexey Andreev
2640234391
Rename achieved -> reached. Fix - operator generation in minified mode
2015-10-21 12:08:30 +03:00
Alexey Andreev
a96ee8a647
Fix bug in synchronous monitor unlocking
2015-10-19 17:42:35 +03:00
Alexey Andreev
4082c6389a
Fix LinkedList.push and .element methods
2015-10-08 19:59:38 +03:00
Alexey Andreev
a4e41fc6be
Add hacks for scala classlib. Add DOM method for convenience. Improve
...
Scala example
2015-10-04 14:29:34 +03:00
Alexey Andreev
3341df3668
Change directory structure
2015-10-04 11:49:20 +03:00