You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by jt...@apache.org on 2022/05/04 16:35:56 UTC
[netbeans-html4j] branch master updated (d6fd1228 -> 644645a7)
This is an automated email from the ASF dual-hosted git repository.
jtulach pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git
from d6fd1228 Merge pull request #46 from rqu/nestedArrays
new 63465bec Calls made with @JSB.wait4java=false return in instance of Thenable
new a2e12542 Merging with master which encapsulated conversions into methods
new 53f91355 Turning Promise into microtask and resolving it just before the context closes
new 47d90b43 Use real JavaScript Promise when no wait4java
new 3c37add5 Skip AsyncJavaTest on Nashorn that doesn't provide Promise
new 94f09587 Using wait4java = false in ko4j
new bbd0236d Bringing in separated copyFrom and regular observable implementation
new 697878a3 More flexible test with standard handling or interrupted execution
new b0241c58 Make sure promise is registered with active presenter
new 9f9e34d2 Basic polyfill of Promise for Nashorn
new b0ef9759 Fn.activate presenter in the test, so it also gets closed
new 94c39fdd Don't wait for Java execution in ko4j bindings
new 5c99a907 Activate and close the xhr4j presenter
new b2f77b01 Bringing in configuration of GitHub Actions
new 9b4b3713 Build Javadoc on a JDK that understands instanceof matches
new 36a15ce2 Using PhaseExecutor in basic AsyncJavaTest
new 1985d30e Better formatting of the generated code
new 1021735a Special implementation of the promise method
new 4cfb54b2 Handle microtasks on flush of the generic presenter
new 6d930012 More descriptive project names
new c3ed9adb Nicer formatting
new a0a8be7d Use asynchronous PUT when requesting promise evaluation
new f6ab8e94 Polishing the Fn.Promise API
new 1c621447 Merging with master
new d8240740 Give the system 10ms pause before retrying the interrupted tasks
new ba15fb62 Eliminate numerous errors by offering only try-with-resources activation of a presenter
new fa7112c6 Documenting wait4java as a new feature for 1.8
new 8717a54c Using PhaseExecutor for the MinesTest
new 0367bae8 Avoid using HashSet and ArrayList
new 27235697 Renaming to LaterJavaScriptAction
new ba7aafe7 Dispatch flushImpl when no frame is active
new 9d79af29 Fixing alignment
new 644645a7 Merge pull request #44 from jtulach/jtulach/wait4java
The 411 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/javadoc.yml | 4 +-
.../java/org/netbeans/html/bootagent/KOFx.java | 4 +-
.../test/java/org/netbeans/html/boot/fx/KOFx.java | 20 ++-
boot-script/pom.xml | 4 +-
.../net/java/html/boot/script/ScriptPresenter.java | 29 ++--
.../html/boot/script/impl/PromisePolyfill.java | 55 +++++++
.../java/html/boot/script/impl/promisePolyfill.js | 60 ++++++++
.../java/net/java/html/boot/script/KOCase.java | 10 +-
.../java/html/boot/script/ScriptEngineCase.java | 42 ++++--
.../java/html/boot/script/ScriptEngineTest.java | 1 +
.../java/net/java/html/boot/BrowserBuilder.java | 15 +-
.../main/java/net/java/html/js/JavaScriptBody.java | 24 +++
.../org/netbeans/html/boot/impl/FnContext.java | 118 ++++++++-------
.../java/org/netbeans/html/boot/impl/FnUtils.java | 27 ++--
.../html/boot/impl/JavaScriptProcesor.java | 53 ++++---
.../org/netbeans/html/boot/impl/JsCallback.java | 9 +-
.../main/java/org/netbeans/html/boot/spi/Fn.java | 107 ++++++++++++++
.../html/boot/impl/CountFnCreationTest.java | 7 +-
.../java/org/netbeans/html/boot/impl/FnTest.java | 20 ++-
.../netbeans/html/boot/impl/JsCallbackTest.java | 4 +-
.../netbeans/html/boot/impl/JsClassLoaderBase.java | 5 +-
.../netbeans/html/boot/impl/JsClassLoaderTest.java | 14 +-
browser/pom.xml | 2 +-
.../netbeans/html/presenters/browser/Browser.java | 4 +-
.../presenters/browser/JavaScriptUtilities.java | 8 +-
ecj-test/pom.xml | 6 +
generic/pom.xml | 2 +-
.../org/netbeans/html/presenters/spi/Generic.java | 164 +++++++++++++++++----
.../html/js/tests/{Later.java => AsyncJava.java} | 35 +++--
.../java/html/js/tests/AsyncJavaScriptAction.java | 122 ++++-----------
.../java/net/java/html/js/tests/AsyncJavaTest.java | 63 ++++++++
.../main/java/net/java/html/js/tests/Bodies.java | 18 +--
.../net/java/html/js/tests/JavaScriptBodyTest.java | 8 +-
...criptAction.java => LaterJavaScriptAction.java} | 17 +--
.../net/java/html/json/tests/KnockoutTest.java | 4 +-
.../java/net/java/html/json/tests/MinesTest.java | 36 ++---
.../java/net/java/html/json/tests/PersonImpl.java | 18 ++-
.../net/java/html/json/tests/PhaseExecutor.java | 10 +-
.../org/netbeans/html/json/tck/JavaScriptTCK.java | 3 +-
.../netbeans/html/wstyrus/TyrusDynamicHTTP.java | 8 +-
.../java/org/netbeans/html/wstyrus/TyrusFX.java | 8 +-
.../java/org/netbeans/html/ko4j/KOTransfer.java | 4 +-
.../main/java/org/netbeans/html/ko4j/Knockout.java | 85 ++++++-----
.../main/java/org/netbeans/html/ko4j/LoadJSON.java | 31 ++--
.../main/java/org/netbeans/html/ko4j/LoadWS.java | 2 +-
.../src/test/java/org/netbeans/html/ko4j/KOFx.java | 4 +-
pom.xml | 6 +-
src/main/javadoc/overview.html | 10 ++
.../test/java/org/netbeans/html/xhr4j/JsonFX.java | 8 +-
49 files changed, 889 insertions(+), 429 deletions(-)
create mode 100644 boot-script/src/main/java/net/java/html/boot/script/impl/PromisePolyfill.java
create mode 100644 boot-script/src/main/resources/net/java/html/boot/script/impl/promisePolyfill.js
copy json-tck/src/main/java/net/java/html/js/tests/{Later.java => AsyncJava.java} (63%)
create mode 100644 json-tck/src/main/java/net/java/html/js/tests/AsyncJavaTest.java
copy json-tck/src/main/java/net/java/html/js/tests/{AsyncJavaScriptAction.java => LaterJavaScriptAction.java} (90%)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists