Commit Graph

186 Commits

Author SHA1 Message Date
Alexey Andreev
18e92a49e3 jso apis: fix declaration in IndexedDB API
Fix #874
2023-12-12 09:40:30 +01:00
Alexey Andreev
a9af6e4f33 JSO: fix wrapping undefined value 2023-12-07 10:02:30 +01:00
Alexey Andreev
067f7453fe JS: a better fix for wrapping/unwrapping JS objects implemented in Java 2023-11-27 13:05:51 +01:00
Alexey Andreev
9757213379 JS: fix unwrapping JS objects implemented in Java 2023-11-26 21:57:19 +01:00
Alexey Andreev
be53236d23 JS: fix wrapping keys for native indexers 2023-11-20 20:33:47 +01:00
Alexey Andreev
810012872c Add couple native declarations to JSO APIs. Update sample 2023-11-19 20:25:29 +01:00
Alexey Andreev
6738d6f1f8 JS: add remembering source writer, refactor PreparedMethod and Renderer to use it, get rid of $rt_globals 2023-11-02 19:03:10 +01:00
Alexey Andreev
23ad999bbd JS: get rid of IOException in SourceWriter and related classes 2023-10-31 20:09:55 +01:00
Alexey Andreev
32ee8943c1 JS: rewrite more natives with templates, get rid of runtime aliases in minification mode 2023-10-31 19:29:32 +01:00
Alexey Andreev
a1cc817504 JS: rewrite more native generators with templates, fix issues in template engine 2023-10-29 20:17:18 +01:00
Alexey Andreev
7acc81ce4d JS: remove lazy creation of primitive classes 2023-10-21 20:07:49 +02:00
Alexey Andreev
02b3c92912 JS: use native string to represent internals of java.lang.String 2023-10-21 19:30:16 +02:00
Jörg Hohwiller
2513ceb236
Re-add module name org.teavm.jso (#817)
Fix #778
2023-10-14 19:35:23 +03: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
772dd9eded JS: fix returning JSO objects from Async methods
Fix #805
2023-10-12 21:13:09 +02:00
Alexey Andreev
eed44998f0 jso: trying to improve optimization of JSWrapper 2023-09-27 13:50:30 +02:00
Alexey Andreev
f0f3b060e9 JS: change type of MessageEvent.data back JSObject 2023-08-22 17:55:01 +02:00
Alexey Andreev
b9f5e9be1c JS: optimize case when JS method returns java.lang.Object and then treated as JS object 2023-08-04 20:40:57 +02:00
Alexey Andreev
35f1284ac5 js: fix issue in obfuscated mode 2023-08-04 10:27:44 +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
334e2829b3 JS: supports module imports in JSBody 2023-08-03 15:42:15 +02:00
Alexey Andreev
a1ed797d73 JS: allow passing Object to JS methods 2023-07-31 20:42:09 +02:00
Alexey Andreev
4cfbca96b8 JS: fix visibility modifier for consistency 2023-07-31 13:13:35 +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
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
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