Commit Graph

429 Commits

Author SHA1 Message Date
Alexey Andreev
e315398d9b Don't include large resources into classlib sources jar 2023-01-26 14:57:23 +01:00
Alexey Andreev
f0dd67f7fc Fix classlib dependencies 2023-01-26 14:07:12 +01:00
Alexey Andreev
5c146c6de0 Fix issues in recently merged PR 2023-01-26 09:17:08 +01:00
Ivan Hetman
ada086a864
Base64 implementation (#650)
classlib: add Base64 support
2023-01-26 08:40:03 +01:00
Alexey Andreev
8014c038c0 Migrate to gradle 2023-01-23 17:16:07 +01:00
Ivan Hetman
e12f99ab49
Crypto/UUID (#639)
JS: if possible, use crypto API to generate UUID
2022-12-07 14:33:27 +03:00
Alexey Andreev
68efdddddf JS: fix writing from JS to stdout 2022-11-16 16:41:29 +01:00
Alexey Andreev
70e37dfed9 Wasi: fix bugs in IO implementation 2022-11-12 21:52:29 +01:00
Alexey Andreev
c52b71292d Fix Math.pow implementation in JS 2022-11-11 09:15:52 +01:00
Alexey Andreev
485f8ac902 Wasi: fix file system issues, add support for Math.pow 2022-11-10 17:08:58 +01:00
Alexey Andreev
292aa21aef classlib: use built-in unicode table to implement tolower/toupper methods.
This makes it possible to use TeaVM in environments where these functions aren't natively available.
For example, WASI
2022-11-09 12:08:17 +01:00
Alexey Andreev
224810d0ab Wasm: support file IO and random generator in WASI 2022-11-08 19:44:56 +01:00
Alexey Andreev
3eb4b742ea Move FS support to teavm-core module 2022-11-07 09:53:46 +01:00
Alexey Andreev
1ca2c75e1c Wasm: initial WASI support 2022-11-06 11:53:52 +01:00
Alexey Andreev
d5cdd740f5 Fix incorrect behaviour of Class.getInterfaces
fix #635
2022-11-04 16:15:30 +01:00
Alexey Andreev
a40c955d39 classlib: fix StringBuilder.indexOf
Fix #615
2022-10-05 10:16:54 +02:00
Alexey Andreev
fcb13b24ad classlib: force class initialization in EnumSet implementation in order to get enum constants array filled 2022-09-13 16:03:37 +02:00
Alexey Andreev
38d3bf1c63 classlib: fix ByteBuffer.slice
Probably fixes #607
2022-08-16 10:06:08 +02:00
iamdudeman
2d73403b9a Moved next origin/bound implementations from TThreadLocalRandom to TRandom. 2022-08-16 10:34:47 +03:00
Alexey Andreev
10415b356e classlib: fix AbstractSet.hashCode 2022-08-12 16:47:59 +02:00
Timothy Solum
f7f99b3c9f
Add Random next origin, bound methods for float, double, int and long (#609) 2022-08-06 14:39:09 +03:00
Timothy Solum
89f41b9a35
Add setName method to Thread. (#608) 2022-08-06 14:37:21 +03:00
Alexey Andreev
3571917a2f Fix issue in record toString method generator 2022-08-06 14:07:53 +03:00
Ulugbek
b6837340e5 classlib: add TCollectors#collectingAndThen and TCollectors#toUnmodifiableList 2022-07-25 09:27:18 +03:00
Ulugbek
81ed5ef829 classlib: add an empty implementation of TAccessControlContext 2022-07-25 09:27:18 +03:00
Ulugbek
8a70c5ded0 classlib: add TAccessController(TPrivilegedExceptionAction<T>) T 2022-07-25 09:27:18 +03:00
Ulugbek
584adb457f classlib: add TSystem#getSecurityManager()TSecurityManager and an empty implementation of TSecurityManager 2022-07-25 09:27:18 +03:00
Ulugbek
c8eb5ec3be classlib: add TPrivilegedActionException 2022-07-25 09:27:18 +03:00
Ulugbek
8776504e18 classlib: add PrivilegedExceptionAction 2022-07-25 09:27:18 +03:00
Alexey Andreev
c42b9fac28 Prevent usage of javax.xml package of running JVM 2022-07-13 13:13:22 +03:00
Alexey Andreev
7fe79a1768 Fix abstract classes are considered by dependency analysis when constructed by reflection
Also fix #592
2022-07-13 12:48:34 +03:00
Alexey Andreev
f0d805fda8 Support Java 17 records 2022-07-10 20:40:24 +03:00
Alexey Andreev
87324a3569 Add Stream.toList 2022-06-23 10:42:43 +03:00
Ulugbek Abdullaev
eba1d1e574
stdlib: implement Stream.takeWhile (#588)
Co-authored-by: Ulugbek <ulugbek.abdullaev@jetbrains.com>
2022-06-10 13:41:16 +03:00
Alexey Andreev
eab7ef0a2e Bump Scala version in Scala example. Add hack for Scala runtime. 2022-05-08 18:43:49 +03:00
Alexey Andreev
e625409562 classlib: add ResourceBundle.getBaseBundleName 2022-05-08 18:07:40 +03:00
Alexey Andreev
500d72d596 classlib: add methods to java.util.Objects 2022-05-08 17:42:26 +03:00
Alexey Andreev
0bcd3101ad Remove unused threeten code 2022-03-25 13:21:21 +03:00
Alexey Andreev
393ab3b09e Classlib: fix bug in regexp implementation 2022-02-25 20:34:44 +03:00
Alexey Andreev
1c04cd2ba6 Fix typo 2022-02-01 08:47:27 +03:00
Alexey Andreev
3728645665 Add Kotlin hack to avoid using regexp in
String.toFloatOrNull and String.toDoubleOrNull
2022-02-01 08:46:35 +03:00
Alexey Andreev
e4a408d26e classlib: throw exception from URL constructor when invalid ':' provided 2022-01-12 16:02:46 +03:00
Alexey Andreev
bdd865d07f Update CLDR and tzdata 2021-10-14 16:17:52 +03:00
Alexey Andreev
6d11abf4b6 Implement missing methods in Boolean, Byte and Short classes 2021-10-14 15:25:00 +03:00
Alexey Andreev
73bd139b7e C: implement ServiceLoader 2021-04-14 23:02:09 +03:00
Alexey Andreev
aa8a91d030 classlib: implement missing charsets 2021-03-30 20:03:25 +03:00
Alexey Andreev
c4c1408160 wasm: fix running tests, add in-browser test runners 2021-03-20 19:52:45 +03:00
Alexey Andreev
5d9d64303e Fix tzdata parser 2021-03-18 13:03:55 +03:00
Alexey Andreev
4fe012740d Update tzdata 2021-03-18 12:00:27 +03:00
Alexey Andreev
0cff9e104c Fix checkstyle warnings after migration to the new version 2021-03-18 11:51:20 +03:00