Commit Graph

124 Commits

Author SHA1 Message Date
Alexey Andreev
146083565c jso: add binding to Error.cause property 2024-11-28 15:24:41 +01:00
Alexey Andreev
17b110debe jso: fix issues with JSSymbol
Inspired by PR #949
2024-10-22 19:54:08 +02:00
Hontvári Levente
312d8abee8
jso: update Navigator.java, getGamepads is a function, not a property (#962) 2024-10-15 09:12:47 +02:00
Ivan Hetman
2414d74002
JSO: add API to send beacon (#956) 2024-10-03 19:36:15 +02:00
Ivan Hetman
2805631025
jso: add InputEvent (#902) 2024-08-14 14:48:21 +02:00
Ivan Hetman
2e59db3ab9
jso: SVG element base interface (#938) 2024-08-14 11:20:21 +02:00
lasse-cs
98cd2efc0f
jso: add Popover API Wrappers (#934) 2024-08-03 19:53:14 +02:00
pizzadox9999
8889b63df7 jso: add TouchEvent bindings 2024-07-18 18:38:15 +02:00
Alexey Andreev
1549a84b40 jso: remove JSByRef from IndexedDB method for which it's no more relevant
Fix #914
2024-05-12 16:19:11 +02:00
ihromant
d40bd9989b jso: add files and streams API 2024-05-04 21:20:29 +02:00
Alexey Andreev
81fc843da3 jso: move interfaces from 'util.function' to 'function' subpackage, rename JSFunction to JSMapping to avoid name clash 2024-04-22 18:58:17 +02:00
Alexey Andreev
2331c9d7b6 fix checkstyle errors 2024-04-12 14:14:25 +02:00
Alexey Andreev
97aa42d87b jso apis: new convention for event registration 2024-04-12 13:45:12 +02:00
Alexey Andreev
272f55b383 jso apis: turn DOM interfaces into abstract classes
This would make it possible to test HTMLElement for particular type with instanceof
2024-04-12 13:00:05 +02:00
Alexey Andreev
6a09f181c7 js: add JSTopLevel annotation that allows to import top-level declarations 2024-04-11 20:29:57 +02:00
Alexey Andreev
a6fb67817c jso: improve support of instanceof and cast against JS wrapper types
Fix #808
2024-04-04 21:18:54 +02:00
Ivan Hetman
994e01ec9d
jso: add vararg versions of 'add' methods to DomTokenList 2024-03-12 19:02:16 +01:00
Alexey Andreev
582fcf904c jso: implement vararg support for method calls 2024-03-12 18:56:19 +01:00
Alexey Andreev
e4452152b7 jso: improve JS class import to Java 2024-02-27 20:16:10 +01:00
Alexey Andreev
eb91577509 jso apis: removed unused field 2024-02-19 20:17:30 +01:00
Alexey Andreev
26b9ae4292 jso apis: add Window.scrollX
Fix #886
2024-02-19 20:16:50 +01:00
Bernd Busse
6788642ea9
JSO: add interface for Promise (#884) 2024-02-17 19:11:04 +01:00
Bernd Busse
7f333cc73e JSO: make global objects available in WebWorker contexts (no hardcoded window) 2024-02-15 11:55:05 +03:00
Alexey Andreev
18e92a49e3 jso apis: fix declaration in IndexedDB API
Fix #874
2023-12-12 09:40:30 +01:00
Alexey Andreev
810012872c Add couple native declarations to JSO APIs. Update sample 2023-11-19 20:25:29 +01:00
Jörg Hohwiller
aaef8672d4
Re-add module name org.teavm.jso.apis (#816)
Fix #778
2023-10-14 19:34:40 +03:00
Alexey Andreev
f0f3b060e9 JS: change type of MessageEvent.data back JSObject 2023-08-22 17:55:01 +02:00
Alexey Andreev
f30a050bfd JS: relax several JSO declarations to accept Object instead of JSObject 2023-08-03 20:50:22 +02:00
Alexey Andreev
948244cbf4 JS: marshall JS object to Java in a wrapper 2023-07-29 18:54:23 +02:00
Ivan Hetman
db69f8ec58
JSO: TextMetrics addition 2023-06-06 10:04:01 +02:00
Alexey Andreev
7cd121ec97 JSO apis: remove wrong methods. See #695 2023-04-26 10:13:58 +02:00
Ivan Hetman
02a28613b4
jso apis: correct superinterface for Path2D (#690) 2023-04-11 12:58:19 +02:00
Ivan Hetman
928a8631a8
jso apis: add missing methods for Array and Object (#686) 2023-04-11 12:10:44 +02:00
Ivan Hetman
a4b2199142
jso apis: improve support of XMLHttpRequest 2023-02-18 11:14:18 +03:00
Christoph Aschwanden
f40cb430fa
jso apis: make static WebSocket method public (#663)
Co-authored-by: noblemaster <contact@noblemaster.com>
2023-02-17 19:39:10 +01:00
Christoph Aschwanden
8005ba54ec
js apis: missing method for idb object store (#664)
Co-authored-by: noblemaster <contact@noblemaster.com>
2023-02-17 19:38:14 +01:00
Alexey Andreev
8014c038c0 Migrate to gradle 2023-01-23 17:16:07 +01:00
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
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
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