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

Mass-merge for script reflection pull requests. #7334

Merged
merged 5 commits into from
Jan 1, 2025

Conversation

Moderocky
Copy link
Member

Description

All of these pull requests were done to a special branch and have already passed review, but I wanted an extra review round to catch any last issues.

This needs to be merged in a special way. Don't update the branch.


Target Minecraft Versions: any
Requirements: none
Related Issues: none

@Moderocky Moderocky added 2.10 Targeting a 2.10.X version release don't merge me !! For pull requests that should not be merged due to some outstanding dispute, conflict or dependency. labels Dec 31, 2024
Copy link
Member

@sovdeeth sovdeeth left a comment

Choose a reason for hiding this comment

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

meticulous review

Copy link
Member

@APickledWalrus APickledWalrus left a comment

Choose a reason for hiding this comment

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

a few things i noticed. some are out of scope, but mainly just to document them

Moderocky and others added 4 commits January 1, 2025 09:23
* Create Script type.

* Support script string/name conversion.

* Script expression.

* Add script lang entry.

* Tests for script expression & names.

* Support all scripts expression.

* Script effects & tests.

* Create dummy Script handle for disabled scripts.

* Script reflection feature flag.

* Restrict literal parsing to commands & parse.

* Test feature flag for resolving name.

* Split ExprScripts by feature to support disabled scripts.

* Fix ExprName tests for new & old behaviour.

* Add tests for disabled script handles.

* Apply suggestions from code review

Co-authored-by: Patrick Miller <apickledwalrus@gmail.com>

* Improve script loading/unloading safety.

* Add feature check for script hotswapping.

* Use expression stream.

* Conformity for file names and proper loading safety.

* Document validity & add condition support.

* Add script is loaded condition + tests.

* Some changes from code review.

* More changes.

* Apply suggestions from code review

Co-authored-by: Patrick Miller <apickledwalrus@gmail.com>

* Clean up EffScriptFile and rename ExprScripts variations.

* Finish code review changes.

* Clean up script loader stuff.

* Fix conflicts.

* Suggested changes.

* Apply suggestions from code review

Co-authored-by: Patrick Miller <apickledwalrus@gmail.com>

* Finished.

---------

Co-authored-by: Patrick Miller <apickledwalrus@gmail.com>
Co-authored-by: sovdee <10354869+sovdeeth@users.noreply.github.com>
* Create Script type.

* Support script string/name conversion.

* Script expression.

* Add script lang entry.

* Tests for script expression & names.

* Support all scripts expression.

* Script effects & tests.

* Create dummy Script handle for disabled scripts.

* Script reflection feature flag.

* Restrict literal parsing to commands & parse.

* Test feature flag for resolving name.

* Split ExprScripts by feature to support disabled scripts.

* Fix ExprName tests for new & old behaviour.

* Add tests for disabled script handles.

* Apply suggestions from code review

Co-authored-by: Patrick Miller <apickledwalrus@gmail.com>

* Improve script loading/unloading safety.

* Add feature check for script hotswapping.

* Use expression stream.

* Conformity for file names and proper loading safety.

* Document validity & add condition support.

* Add script is loaded condition + tests.

* Dynamic function calling + tests.

* Add language entry for types.

* Single-encounter input bootstrapping.

* Apply suggestions from code review

Co-authored-by: sovdee <10354869+sovdeeth@users.noreply.github.com>

* Fix inspection.

* Update src/main/java/ch/njol/skript/expressions/ExprFunction.java

Co-authored-by: sovdee <10354869+sovdeeth@users.noreply.github.com>

* Update src/main/java/ch/njol/skript/expressions/ExprResult.java

Co-authored-by: sovdee <10354869+sovdeeth@users.noreply.github.com>

* Changes from review.

* Fix merge problems.

* Remove script command method usage.

* Fix branch muck.

* Fix more branch muck.

* Fix up ExprName.

* Add docs.

* Add docs.

* Add docs.

* Fix bits.

* Apply suggestions from code review

Co-authored-by: Patrick Miller <apickledwalrus@gmail.com>

* Fix some bits.

* Function parsing by name.

* Fix up some bits for Walrus.

* Fix merge error.

---------

Co-authored-by: Patrick Miller <apickledwalrus@gmail.com>
Co-authored-by: sovdee <10354869+sovdeeth@users.noreply.github.com>
@Moderocky Moderocky force-pushed the feature/script-reflection branch from b945e0c to 2dd5cff Compare January 1, 2025 09:24
@Moderocky Moderocky marked this pull request as ready for review January 1, 2025 09:40
@Moderocky Moderocky merged commit 14d41a5 into dev/feature Jan 1, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.10 Targeting a 2.10.X version release don't merge me !! For pull requests that should not be merged due to some outstanding dispute, conflict or dependency.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants