Ivan Hetman
8122095193
Fix circular reference support in toString of collection classes ( #552 )
2021-01-11 21:32:44 +03:00
Ivan Hetman
66ce993019
JS: add getter for Element.classList ( #553 )
2021-01-11 12:12:20 +03:00
Alexey Andreev
660214aefd
JS: fix features for opening popup
2020-12-10 19:02:45 +03:00
Alexey Andreev
969ad17b6a
C: workaround for regression in MSVC compiler
2020-11-27 18:54:24 +03:00
Octavia Togami
a8641de39b
Correct problem severity for warning
2020-11-26 14:59:13 +03:00
Ivan Hetman
14ca8ecdbb
JS: fix Element.tagName property ( #545 )
2020-11-23 11:50:21 +03:00
Ivan Hetman
98f5c5da73
Add Math.floorMod and Math.floorDiv ( #544 )
2020-11-23 11:49:33 +03:00
Ivan Hetman
bec0f44869
JS: add missing mouseevent methods ( #542 )
2020-11-23 11:47:30 +03:00
Ivan Hetman
b718e7852f
Fix behaviour of collections created with Set.of and Map.of ( #534 )
2020-10-26 13:22:08 +03:00
Ivan Hetman
605628d6df
Fix issues in Random and ThreadLocalRandom ( #536 )
2020-10-26 13:09:50 +03:00
Ivan Hetman
baeb2a28a7
Add missing Optional methods and fix bug in equals ( #533 )
2020-10-26 13:04:26 +03:00
Ivan Hetman
dfef5ffd24
JS: fix for creation of typed arrays from view method ( #532 )
2020-10-26 13:02:54 +03:00
Ivan Hetman
71140135fa
Add missing toArray method from JDK 11 ( #531 )
2020-10-26 13:02:13 +03:00
Ivan Hetman
e95092fd43
Add static Map.Entry methods ( #530 )
2020-10-12 09:39:16 +03:00
Alexey Andreev
55ba9be16a
Proper implementation for List.of, Set.of, Map.of/ofEntries
2020-10-07 16:32:34 +03:00
Alexey Andreev
74cc1d8d7d
Fix Float.parse and Double.parse for some values
2020-10-07 16:32:34 +03:00
Ivan Hetman
1785d6ad9e
Collectors.toMap ( #515 )
...
Implement Collectors.toMap
2020-10-07 12:21:55 +03:00
Ivan Hetman
03c70e3a06
Image data fix ( #524 )
...
JS: add constructors for ImageData API
2020-10-07 12:21:02 +03:00
Alexey Andreev
306c78459c
JS: use symbol instead of string property to represent Java exception wrapper
2020-09-09 19:28:32 +03:00
Ivan Hetman
fcc1fb7690
Fix Stream.min and Stream.max ( #520 )
2020-09-08 19:02:45 +03:00
Alexey Andreev
d97dce4650
Fix concatenation with byte and short in JVM 9+
...
Fix #522
2020-09-08 15:03:19 +03:00
Alexey Andreev
17098495f2
JS: fix compilation of class files that contain methods and field names containing non-identifier characters
2020-07-06 12:11:17 +03:00
Ivan Hetman
3aaefdf23a
Hashmaps foreach ( #513 )
2020-07-06 11:29:56 +03:00
Alexey Andreev
9cf21825fc
Fix wrong evaluation when optimizer sees array initialization that looks like array initializer expression, but has access to array variable on its elements, i.e. on a case like this:
...
Object[] array = new Object[1];
array[0] = array;
That can't be optimized to
Object[] array = new Object[] { array };
2020-06-16 19:24:45 +03:00
Ihromant
cf658cf57d
Simplification
2020-06-13 13:56:14 +03:00
Ihromant
0c15600700
Added missing methods to Optional and ArrayList
2020-06-13 13:56:14 +03:00
falko
7271a394db
XMLSerializer added
2020-06-13 13:55:25 +03:00
falko
7506e60762
New DOMParser class
2020-06-13 13:55:25 +03:00
hsestupin
0639acca21
add static hashCode(i) method like in java.lang.Integer
2020-06-02 18:53:14 +03:00
Alexey Andreev
5ee332c771
Fix crash when lambda is not used. Fix #500
2020-06-01 12:19:37 +03:00
Alexey Andreev
6f7c2dff2b
Fix copying source files in simple optimization mode. Fix #501
2020-06-01 12:07:42 +03:00
Jörg Hohwiller
e610c13e69
add int constructor for Java9+ compatibility
2020-06-01 11:51:58 +03:00
Alexey Andreev
ecc4be2d25
Fix class initialization optimization
2020-05-19 13:27:26 +03:00
Alexey Andreev
eebe16157b
C: further workaround for msvc bug
2020-05-19 09:56:47 +03:00
Alexey Andreev
8f68c64193
Fix bug in repeated field read elimination.
...
There's a case that was missing in this optimization. We install invalidation
points on a block's dominance frontiers when the block contains som
invalidation instructions. However, if a block is an entry to exception
handler, state is always invalidated. This should be done
since exception handler may recover and proceed with some code that
follows try/catch block. Without this change code after try/catch inherits
state of `try` block, which is invalid, since `catch` is another
source from where we can get there. We can't rely on regular instruction
analysis in `catch` blocks, since we get into `catch` from an unpredictable
point.
2020-05-18 17:24:21 +03:00
Vladislav Gordievskiy
6892c4f0ca
Fix of exporting a wasm function for scala objects ( #498 ). Fix #497
...
Co-authored-by: VGORDIEVSKII <vgordievskii@luxoft.com>
2020-05-18 10:08:28 +03:00
Alexey Andreev
333ee95604
C: in addition to deece78dec
...
Fix generation of heap dump metadata
2020-05-15 18:05:50 +03:00
Alexey Andreev
deece78dec
C: workaround msvc C1054 error while compiling virtual table initializers of classes with deep inheritance hierarchy
2020-05-15 17:55:26 +03:00
Alexey Andreev
862e9b846f
Exclude all classes from underlying JDK
2020-05-14 16:59:21 +03:00
Alexey Andreev
6a4da94f2e
Get rid of irreducible CFGs in input bytecode
2020-05-14 16:18:33 +03:00
Alexey Andreev
4284bb2a6c
C: fix naming when bytecode contains method names with special characters
2020-05-14 14:31:48 +03:00
Alexey Andreev
7313b2bb62
Don't fail on environments that miss console object in global scope
2020-04-30 16:06:54 +03:00
Alexey Andreev
1232f20ae4
Add protection against exception fall though one Java machine running another Java machine.
...
When one TeaVM program calls `eval` and code passed to eval is itself generated
with TeaVM, the inner code can throw uncaught Java exception. The outer code could
try to catch this exception as a native JavaScript exception, but this is not possible,
since the exception is marked as Java exception, and inner scripts's Java class
does not inherit java.lang.Throwable of outer script. The solution for each script
to generate own tag (Symbol) and only treat JS exception as Java exception when
this exception has this tag.
2020-04-30 16:05:24 +03:00
Alexey Andreev
9f823ee450
Minor improvements to time zone support
2020-04-30 15:49:37 +03:00
Alexey Andreev
a9e7e51c51
Properly support non-ASCII characters in System.out and System.err
2020-04-30 14:49:33 +03:00
Alexey Andreev
c7c47f63ee
Implement Math.nextDown, reimplement ulp and nextUp using bit operations
2020-04-30 14:19:50 +03:00
Alexey Andreev
d50e048ea4
Add Character.toTitleCase. More efficient implementation for Character.digit
2020-04-14 18:31:19 +03:00
Alexey Andreev
0c8d93acbc
Add DecimalFormat.setDecimalFormatSymbols
2020-04-14 16:40:45 +03:00
Alexey Andreev
1681aa5834
Implement some of the missing Timer methods
2020-04-14 16:10:17 +03:00
Alexey Andreev
ddf64870da
Implement some of the missing methods related to streams
2020-04-14 15:06:58 +03:00