Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[jsscripting] Implement javax.script.Compilable #16970

Merged
merged 6 commits into from
Jul 9, 2024

Conversation

florian-h05
Copy link
Contributor

@florian-h05 florian-h05 commented Jun 30, 2024

@florian-h05 florian-h05 changed the title [Jsscripting] Implement support for pre-compilation of scripts [jsscripting] Implement support for pre-compilation of scripts Jun 30, 2024
@florian-h05 florian-h05 marked this pull request as draft July 1, 2024 06:43
@digitaldan
Copy link
Contributor

This looks cool, is this to speed up the first run of scripts ?

@florian-h05 florian-h05 closed this Jul 6, 2024
@florian-h05 florian-h05 deleted the jsscripting branch July 6, 2024 10:22
@florian-h05 florian-h05 restored the jsscripting branch July 6, 2024 10:22
@florian-h05 florian-h05 reopened this Jul 6, 2024
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
@florian-h05 florian-h05 changed the title [jsscripting] Implement support for pre-compilation of scripts [jsscripting] Implement javax.script.Compilable Jul 9, 2024
@florian-h05 florian-h05 marked this pull request as ready for review July 9, 2024 17:11
@florian-h05 florian-h05 requested a review from jlaur July 9, 2024 17:11
@florian-h05
Copy link
Contributor Author

@jlaur Would be cool if you could review this - it currently does not bring a benefit but it is required for openhab/openhab-core#4289 to have an actual performance impact on UI-based JS scripts.

@florian-h05
Copy link
Contributor Author

Okay haha my core PR was just merged, so this does have an impact as soon as it is merged.

@florian-h05 florian-h05 added the enhancement An enhancement or new feature for an existing add-on label Jul 9, 2024
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Copy link
Contributor

@jlaur jlaur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks!

@jlaur jlaur merged commit 405f402 into openhab:main Jul 9, 2024
5 checks passed
@jlaur jlaur added this to the 4.3 milestone Jul 9, 2024
@florian-h05 florian-h05 deleted the jsscripting branch July 9, 2024 18:34
psmedley pushed a commit to psmedley/openhab-addons that referenced this pull request Jul 12, 2024
* [jsscripting] Restructure & Comment POM
* [jsscripting] Use OPENHAB_TRANSFORMATION_SCRIPT constant from core

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
pgfeller pushed a commit to pgfeller/openhab-addons that referenced this pull request Sep 29, 2024
* [jsscripting] Restructure & Comment POM
* [jsscripting] Use OPENHAB_TRANSFORMATION_SCRIPT constant from core

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Patrik Gfeller <patrik.gfeller@proton.me>
florian-h05 added a commit to florian-h05/openhab-addons that referenced this pull request Oct 2, 2024
* [jsscripting] Restructure & Comment POM
* [jsscripting] Use OPENHAB_TRANSFORMATION_SCRIPT constant from core

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
(cherry picked from commit 405f402)
lsiepel pushed a commit that referenced this pull request Oct 4, 2024
* [jsscripting] Restructure & Comment POM
* [jsscripting] Use OPENHAB_TRANSFORMATION_SCRIPT constant from core

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
@lsiepel lsiepel added the patch A PR that has been cherry-picked to a patch release branch label Oct 4, 2024
joni1993 pushed a commit to joni1993/openhab-addons that referenced this pull request Oct 15, 2024
* [jsscripting] Restructure & Comment POM
* [jsscripting] Use OPENHAB_TRANSFORMATION_SCRIPT constant from core

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
matchews pushed a commit to matchews/openhab-addons that referenced this pull request Oct 18, 2024
* [jsscripting] Restructure & Comment POM
* [jsscripting] Use OPENHAB_TRANSFORMATION_SCRIPT constant from core

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on patch A PR that has been cherry-picked to a patch release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants