Commit Graph

153 Commits

Author SHA1 Message Date
Alexey Andreev
7e3197429d JSO: fix code style to satisfy checkstyle 2022-12-13 18:51:41 +01:00
Ivan Hetman
159db29757
JSO: add Path2D to Canvas API (#646) 2022-12-08 18:44:51 +03:00
Ivan Hetman
e12f99ab49
Crypto/UUID (#639)
JS: if possible, use crypto API to generate UUID
2022-12-07 14:33:27 +03:00
Ivan Hetman
f77cb9d52c
JS: added two missing functions to interop interfaces (#645) 2022-12-07 11:45:55 +03:00
Alexey Andreev
64ae44ee01 JS: store global object in a variable to avoid name clashes between generated declarations (in minified mode) and global declarations 2022-11-17 12:02:46 +01:00
Kirill Prazdnikov
fc9748ab06
jso: add missing scrollIntoView method to Element (#623) 2022-10-12 11:03:25 +03:00
LAX1DUDE
19f070840c
Fixed invalid JSBody annotation in IDBObjectStore, fixed IDBFactory compatibility check (#582)
* Fixed invalid JSBody annotation in IDBObjectStore
* Fixed backwards IndexedDB support check, it was throwing an exception only if IndexedDB IS SUPPORTED
2022-02-15 10:04:20 +03:00
Alexey Andreev
0cff9e104c Fix checkstyle warnings after migration to the new version 2021-03-18 11:51:20 +03:00
Alexey Andreev
81bfe3f6e2 Improve pom.xml configuration 2021-03-18 11:16:41 +03:00
Alexey Andreev
195f4c8426 Fix checkstyle error 2021-03-18 00:12:42 +03:00
Alexey Andreev
4c0c7872a1 JS: add support for CCE in strict mode 2021-03-17 21:11:18 +03:00
Alexey Andreev
f435d43996 Revert "JS: fix for creation of typed arrays from view method (#532)"
This reverts commit dfef5ffd
2021-01-28 17:57:35 +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
Ivan Hetman
14ca8ecdbb
JS: fix Element.tagName property (#545) 2020-11-23 11:50:21 +03:00
Ivan Hetman
bec0f44869
JS: add missing mouseevent methods (#542) 2020-11-23 11:47:30 +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
03c70e3a06
Image data fix (#524)
JS: add constructors for ImageData API
2020-10-07 12:21:02 +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
Jörg Hohwiller
3254dce53b added module names form JPMS 2020-04-01 18:57:28 +03:00
Jörg Hohwiller
eeca1a502c added Element.id property 2020-02-26 10:38:49 +03:00
kris-scheibe
9daba6e5a6 add HTMLElement.innerText 2020-02-25 10:47:17 +03:00
Alexey Andreev
d76eeb9be3 Improve <clinit> elimination. Improve inlining in ADVANCED optimization mode 2020-02-14 12:46:57 +03:00
norzak
5397d2ec6b
JS: rename misspelled property name (#466)
It should be setTextContent not getTextContent
2020-02-03 14:38:36 +03:00
Jörg Hohwiller
236c6191c2 #457: also add check/reportValidity 2020-01-16 18:33:39 +03:00
Jörg Hohwiller
9b6f5e7895 added setCustomValidity (#458) 2020-01-15 11:10:00 +03:00
Jörg Hohwiller
5ed4de3a5a added placeholder property (was present in text area but missing in input) 2020-01-14 11:21:41 +03:00
Jörg Hohwiller
c0d42a9d7a #455: added Node.textContent property support 2020-01-13 11:02:01 +03:00
devnewton
0ff17fc2fb Gamepad api (#444)
Add gamepad API to JSO
2019-12-02 18:59:29 +03:00
Alexey Andreev
fb78377db8 Fix various issues reported by PVS Studio and LGTM 2019-10-31 14:36:37 +03:00
Colin Alworth
4e0381950a Added WebSocket.send overrides to support typedarrays 2019-10-04 11:50:16 +03:00
Alexey Andreev
f0b6cc2f30 Update version to 0.7.0 2019-09-24 16:26:14 +03:00
Anton Kot
c031e11107 383_teavm_issue 2019-07-05 17:17:14 +03:00
Alexey Andreev
62b3c68a5b Don't report compile-0time error when there's possible way to reach suspension point. Generate runtime error instead. 2019-06-22 23:30:05 +03:00
Alexey Andreev
c1d4ed2e3c JS: get rid of float type from CanvasRenderingContext2D 2019-05-14 14:50:17 +03:00
Alexey Andreev
b57b628107 JS: add HTMLCanvasElement.toDataURL overloads 2019-05-14 14:49:51 +03:00
Alexey Andreev
ca50f72fe9 Fix displaying diagnostics in out-of-process mode 2019-05-14 14:46:44 +03:00
Alexey Andreev
70ff079113 Mark some JS native methods as not having side effects 2019-03-25 12:47:26 +03:00
Alexey Andreev
f33c90f778 Improve <clinit> elimination:
* Generate clinit instruction instead of calling <clinit>
  directly
* Rename annotation that indicates absence of side effects
* Don't apply this annotation automatically to all JSBody methods
2019-03-24 12:54:06 +03:00
Alexey Andreev
de84105241 Call <clinit> methods before main method when possible, eliminate
lazy class initialization for these <clinit> methods.
2019-03-22 19:40:56 +03:00
Alexey Andreev
ac627580c6 JS: Support JSByRef annotation on method return types 2019-03-21 18:09:38 +03:00
Alexey Andreev
5c90d786a0 Fixes and improvements to JS APIs 2019-02-08 12:45:39 +03:00
Alexey Andreev
fc9a53bdd3 JS: add more API declarations 2019-01-27 23:46:09 +03:00
Alexey Andreev
68522811f2 Fix issue with incremental compilation and JSBody annotation 2019-01-23 19:24:42 +03:00
Alexey Andreev
9305a532bb Replace ArrayList with array to store arguments of InvokeInstruction 2019-01-09 12:51:52 +03:00
Alexey Andreev
f589b0035a Decrease memory consumption 2018-12-29 19:02:03 +03:00
Alexey Andreev
d7d4dc1571 Add IDEA run configuration that runs dev server 2018-12-16 20:42:21 +03:00
Alexey Andreev
d74bcbe2b9 Fast dependency analyzer, fix bugs in incremental compiler 2018-12-07 17:41:21 +03:00
Alexey Andreev
a3dfc0c486 Add API to catch native JS exceptions 2018-11-23 19:54:37 +03:00