Commit Graph

3308 Commits

Author SHA1 Message Date
Alexey Andreev
334e2829b3 JS: supports module imports in JSBody 2023-08-03 15:42:15 +02:00
Alexey Andreev
a97e0ef45c JS: generate code in UMD wrapper (to be compatible with node.js, webpack, etc). 2023-08-01 20:11:32 +02:00
Alexey Andreev
a1ed797d73 JS: allow passing Object to JS methods 2023-07-31 20:42:09 +02:00
Alexey Andreev
059281a25c Fix issue in optimization 2023-07-31 19:29:41 +02:00
Alexey Andreev
2143a103f1 Bump asm version 2023-07-31 18:46:26 +02:00
Alexey Andreev
e1827880c9 Gradle: in no optimization mode, generate JS, which is friendly to Chrome debugger 2023-07-31 15:13:02 +02:00
Alexey Andreev
ef2e887d06 Avoid duplicate application of class transformations 2023-07-31 13:21:33 +02:00
Alexey Andreev
bf2cfa83f0 Allow to debug external process running from Gradle task 2023-07-31 13:15:36 +02:00
Alexey Andreev
4cfbca96b8 JS: fix visibility modifier for consistency 2023-07-31 13:13:35 +02:00
Alexey Andreev
03cd5907eb Fix minor typo in test 2023-07-31 10:10:21 +02:00
Alexey Andreev
c4c6b029e3 JS: add support for exporting Java methods as JS properties 2023-07-30 20:48:43 +02:00
Alexey Andreev
948244cbf4 JS: marshall JS object to Java in a wrapper 2023-07-29 18:54:23 +02:00
Alexey Andreev
9438380716 classlib: improve System.arraycopy for primitive arrays 2023-07-20 20:21:52 +02:00
Alexey Andreev
61eb666503 classlib: faster implementation of System.arraycopy 2023-07-19 21:11:27 +02:00
Alexey Andreev
b11ad994fd classlib: support more methods in InputStream 2023-07-19 19:22:17 +02:00
Alexey Andreev
b1ddf163d7 Don't crash when reporting some cases of missing standard APIs 2023-07-17 18:41:28 +02:00
Alexey Andreev
9fd7b9c4e2 js: set maxTopLevelNames to huge value properly 2023-07-05 20:13:19 +02:00
Ivan Hetman
61ef007672
classlib: add Stream dropWhile and takeWhile 2023-07-05 19:44:10 +02:00
Ivan Hetman
ac2e5d6fa0
classlib: added Stream iterate method (#721) 2023-07-05 19:40:08 +02:00
Alexey Andreev
eed42e33b0 classlib: implement ConcurrentHashMap 2023-07-05 19:38:37 +02:00
Ivan Hetman
8e676ff16c
classlib: add mapMulti to Stream (#720) 2023-07-03 20:35:36 +03:00
Ivan Hetman
23a6393267
classlib: collectors partitioning by (#716) 2023-06-21 15:35:37 +02:00
Kirill Prazdnikov
81124a084b
classlib: fix ByteBuffer,CharBuffer,*Buffer IOOB exception throw with zero length arrays in arguments
fix #713
2023-06-21 15:30:30 +02:00
Alexey Andreev
071a5d90fb Trying to fix problem with locked files on Windows 2023-06-20 11:11:58 +02:00
Jasper Siepkes
efe15e323b
classlib: add not method to Predicate interface (#709)
With this addition the Predicate interface is 100% complete for Java 17.
2023-06-07 12:57:22 +02:00
Alexey Andreev
9dd9fc3a8a classlib: improve performance of several String methods 2023-06-07 11:22:01 +02:00
Alexey Andreev
cb67595f5b Fix checkstyle errors 2023-06-07 10:51:47 +02:00
Ivan Hetman
8b9d39dbb8
classlib: additional collectors for streams 2023-06-07 10:18:37 +02:00
Jasper Siepkes
a409763f76
classlib: add the copyOf method to List, Set and Map interfaces (#708)
The copyOf static method was added in Java 10 to the List, Set and Map interfaces. Since no additions were made since Java 10 this commit brings the List, Set and Map interfaces to 100% completion for the latest LTS (Java 17) at the time of writing.
2023-06-07 10:13:20 +02:00
Ivan Hetman
d209a5f02e
classlib: add Collectors.reducing (#704) 2023-06-06 11:08:15 +02:00
Jasper Siepkes
7104edb592
classlib: add stripLeading and stripTrailing methods to String class (#707)
The stripLeading and stripTrailing methods were added in Java 11 to the String class.

Based on the implementation of the existing strip method in TeaVM this commit adds the stripLeading() and stripTrailing() methods (and tests) to the String class in the class library.
2023-06-06 10:09:25 +02:00
Ivan Hetman
db69f8ec58
JSO: TextMetrics addition 2023-06-06 10:04:01 +02:00
Ivan Hetman
ac8cb377c3
classlib: improve and fix Integer/Long long bit operations 2023-05-16 11:08:05 +02:00
Alexey Andreev
73d2379185 classlib: add Integer/Long parse subsequence 2023-05-16 10:37:38 +02:00
Alexey Andreev
81f78fab01 classlib: add String.strip 2023-05-16 10:12:36 +02:00
Ivan Hetman
697ad73762
classlib: add Collectors grouping by 2023-05-16 09:57:13 +02:00
Alexey Andreev
c39efdc6d7 classlib: fix issue with integer unsigned right shift 2023-05-16 09:56:24 +02:00
Alexey Andreev
9f349385ec classlib: fix issue in BitSet.set 2023-04-26 16:25:25 +02:00
Alexey Andreev
7cd121ec97 JSO apis: remove wrong methods. See #695 2023-04-26 10:13:58 +02:00
Ivan Hetman
25890adcf8
Add record class name to toString implementation (#691) 2023-04-21 12:57:51 +02:00
Alexey Andreev
09cdc63267 gradle: allow to define TeaVM properties from gradle command line 2023-04-12 16:48:48 +02:00
Alexey Andreev
b927b28e7d js: fix extracting exception message from Java 2023-04-11 13:42:28 +02:00
Alexey Andreev
6e90124edd samples: bump Gradle wrapper version, bump TeaVM version 2023-04-11 13:42:28 +02:00
Ivan Hetman
02a28613b4
jso apis: correct superinterface for Path2D (#690) 2023-04-11 12:58:19 +02:00
zufarfakhurtdinov
e801ff5b10
Fix running tests in macOS (#689)
Co-authored-by: Zufar Fakhurtdinov <zufar.fakhurtdinov@delightex.com>
2023-04-11 12:57:28 +02:00
Ivan Hetman
928a8631a8
jso apis: add missing methods for Array and Object (#686) 2023-04-11 12:10:44 +02:00
Alexey Andreev
4756c9009a Fix running tests from Gradle plugin 2023-04-11 09:46:45 +02:00
Ivan Hetman
fcb750675c
Fix NPE in record.equals(null) (#688) 2023-04-11 09:30:21 +02:00
Alexey Andreev
3e1edeb90c Add publishing of C-incremental artifact 2023-04-04 15:39:37 +02:00
Alexey Andreev
7b227c712f Add publishing of CLI artifact 2023-04-04 14:44:23 +02:00