Skip to content
Success

Changes

Summary

  1. Add a library of easing functions. (commit: ed6f397) (details)
  2. Initialize extensions earlier during plugin load (commit: 5979012) (details)
  3. Improve bare string exceptions (commit: 84290d0) (details)
  4. Fix LogLevel.ALWAYS logging (commit: 3bd0f4f) (details)
  5. Cmdline interpreter mode improvements. (commit: f0bd0ba) (details)
  6. Fix StaticAnalysis persisting over cmdline environment clear (commit: 017c0dd) (details)
  7. Support entity sound source in play_named_sound (commit: 50aae24) (details)
  8. Fix entity source for named sound with no player arg (commit: 4c8f1de) (details)
  9. Add tests for "in" keyword (commit: a67b83d) (details)
  10. Handle exception when block displays are given bad blockdata format (commit: 65f154d) (details)
  11. Update dependency versions (commit: fd0913f) (details)
  12. Revert hamcrest upgrade (commit: 308e188) (details)
  13. Unrevert hamcrest upgrade (commit: cdff7f8) (details)
  14. Upgrade some missed deps since they were in separate variables (commit: 34d8f52) (details)
  15. Update azure-pipelines.yml for Azure Pipelines (commit: 00b9f6c) (details)
  16. Update azure-pipelines.yml for Azure Pipelines (commit: 188bad0) (details)
  17. Fix okio dependency shading (commit: 4d46b1b) (details)
  18. Swap from using openapi directly to using TypeSpec. (commit: 8eee562) (details)
  19. Generate specific exceptions for using undefined types (commit: 7f8657d) (details)
  20. Move unresolved type errors to compile time when SA is disabled (commit: 2a1b2a1) (details)
  21. Support FQCN types in MethodScript code (commit: 0211c57) (details)
  22. Add FQCN typing tests (commit: 7c6bdd8) (details)
  23. Shade kotlin-stdlib for okio (commit: bed9686) (details)
  24. Further validate type format before rewrite (commit: c21762f) (details)
Commit ed6f39756c4b218f2d781635393e0c3ca9c427a6 by LadyCailin
Add a library of easing functions.
(commit: ed6f397)
The file was modifiedsrc/main/java/com/laytonsmith/core/constructs/CClassType.java
The file was addedsrc/main/java/com/laytonsmith/core/functions/Easings.java
The file was modifiedsrc/main/java/com/laytonsmith/core/constructs/CArray.java
The file was addedsrc/main/java/com/laytonsmith/core/Easings.java
Commit 59790126d8c17b6e2413b8233306c12fc8f224f5 by PseudoKnight
Initialize extensions earlier during plugin load

Moves extension initialization to the plugin's onLoad() method. This enables extensions to process things earlier in the loading process using the new extension onLoad() method.

Moves version assignment earlier so that it can be used for upgrade tasks. This is much faster than loadSelfVersion(), saving tens of milliseconds on the load time.
(commit: 5979012)
The file was modifiedsrc/main/java/com/laytonsmith/commandhelper/CommandHelperPlugin.java
Commit 84290d0cd9c268ba6a278f250fec34865074abae by PseudoKnight
Improve bare string exceptions

This prints the bare string that caused the exception, which is useful for debugging from logs, and removes the extra and less useful "Not a statement" exception in these cases.
(commit: 84290d0)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/Compiler.java
The file was modifiedsrc/main/java/com/laytonsmith/core/MethodScriptCompiler.java
Commit 3bd0f4f5198597b67c10e64bedf64839d085938f by PseudoKnight
Fix LogLevel.ALWAYS logging
(commit: 3bd0f4f)
The file was modifiedsrc/main/java/com/laytonsmith/core/Static.java
Commit f0bd0bac2ac30b29d6920815322ae2b8eb588d5a by LadyCailin
Cmdline interpreter mode improvements.

This adds the ability to clear the environment with ~, and also adds the
ability to print out a variable just by running a line with the
variable.
(commit: f0bd0ba)
The file was modifiedsrc/main/java/com/laytonsmith/tools/Interpreter.java
The file was modifiedsrc/main/java/com/laytonsmith/PureUtilities/ExecutionQueueImpl.java
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/IncludeCache.java
Commit 017c0dd07d5b2ba19c1373928f432071aa73acb8 by Pieter12345
Fix StaticAnalysis persisting over cmdline environment clear
(commit: 017c0dd)
The file was modifiedsrc/main/java/com/laytonsmith/tools/Interpreter.java
Commit 50aae24df91dae4e7e9ba298c95ebf229ec2ac00 by LadyCailin
Support entity sound source in play_named_sound
(commit: 50aae24)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCPlayer.java
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/MCPlayer.java
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/Environment.java
Commit 4c8f1dedfc20e49db716da07c2e8525a1e4fb2ea by PseudoKnight
Fix entity source for named sound with no player arg
(commit: 4c8f1de)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/Environment.java
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/MCWorld.java
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCWorld.java
Commit a67b83d9a21c8acb7ad3750d5e75c61c02e03088 by PseudoKnight
Add tests for "in" keyword
(commit: a67b83d)
The file was modifiedsrc/test/java/com/laytonsmith/core/functions/ControlFlowTest.java
Commit 65f154d8d76288dca3723e2b303847ddb15648d2 by PseudoKnight
Handle exception when block displays are given bad blockdata format
(commit: 65f154d)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/EntityManagement.java
Commit fd0913f7b2f1cd1c6b08e4aa73dbebfbe6940b47 by LadyCailin
Update dependency versions
(commit: fd0913f)
The file was modifiedsrc/main/java/com/laytonsmith/persistence/RedisDataSource.java
The file was modifiedpom.xml
Commit 308e188cd1b7016f2791ced0758f0a53ccb1a55b by LadyCailin
Revert hamcrest upgrade
(commit: 308e188)
The file was modifiedpom.xml
Commit cdff7f8bb4db4d0adc0b33956818991b3fc98f59 by LadyCailin
Unrevert hamcrest upgrade
(commit: cdff7f8)
The file was modifiedpom.xml
The file was modifiedsrc/test/java/com/laytonsmith/testing/CustomMatchers.java
Commit 34d8f525c3c5ea4b098c05601649e395fee3d337 by LadyCailin
Upgrade some missed deps since they were in separate variables
(commit: 34d8f52)
The file was modifiedpom.xml
Commit 00b9f6c13f2a81fe120638319bd4a2f399dadcf3 by LadyCailin
Update azure-pipelines.yml for Azure Pipelines
(commit: 00b9f6c)
The file was modifiedazure-pipelines.yml
Commit 188bad09cc0ccd677f08e8b10b490936ed1ce7af by LadyCailin
Update azure-pipelines.yml for Azure Pipelines
(commit: 188bad0)
The file was modifiedazure-pipelines.yml
Commit 4d46b1b450785c17884062fea339f645569f88ee by Pieter12345
Fix okio dependency shading

Fixes NoClassDefFoundError in Minecraft environment startup.
(commit: 4d46b1b)
The file was modifiedpom.xml
Commit 8eee562c691ac505ea8c4f80e90f2207975cabdc by LadyCailin
Swap from using openapi directly to using TypeSpec.

This changes the format of the apps.methodscript.com specification to
use TypeSpec. It is an easier to use format, which has several long term
advantages over using OpenAPI yaml directly. There are no changes to the
client itself, other than to provide an actual object for
BuildArtifacts, which simplifies the parsing of the Updater code. The
SwaggerGenerator version is also updated to the latest version of 3.0.0
now.
(commit: 8eee562)
The file was addedsrc/main/resources/apps.methodscript.com/README.md
The file was modifiedscripts/windows/update-apps-api.ps1
The file was addedsrc/main/resources/apps.methodscript.com/package.json
The file was addedsrc/main/resources/apps.methodscript.com/tspconfig.yaml
The file was modifiedsrc/main/java/io/swagger/client/api/BuildsApi.java
The file was removedsrc/main/resources/apps.methodscript.com.yaml
The file was addedsrc/main/resources/apps.methodscript.com/main.tsp
The file was addedsrc/main/resources/apps.methodscript.com/package-lock.json
The file was modifiedscripts/bash/update-apps-api
The file was modifiedsrc/main/java/io/swagger/client/ApiClient.java
The file was modifiedsrc/main/java/com/laytonsmith/core/Updater.java
The file was modifiedsrc/main/java/io/swagger/client/api/MetaApi.java
The file was modifiedsrc/main/java/io/swagger/client/JSON.java
The file was modifiedsrc/main/java/io/swagger/client/api/TelemetryApi.java
The file was modified.gitignore
The file was addedsrc/main/java/io/swagger/client/model/Artifact.java
The file was addedsrc/main/java/io/swagger/client/model/BuildArtifact.java
Commit 7f8657dc03362151849adc835dbc85d9d8e37b9f by Pieter12345
Generate specific exceptions for using undefined types

- Wrap bare strings in `__type_ref__()` if they are used as a type in syntax.
- Handle `__type_ref__()` unknown types in StaticAnalysis typechecking.
- Handle `__type_ref__()` unknown types in runtime when StaticAnalysis is disabled.

Avoids getting a set of cryptic exceptions when using an non-existent types.
(commit: 7f8657d)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/Exceptions.java
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/Compiler.java
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/DataHandling.java
The file was modifiedsrc/main/java/com/laytonsmith/core/compiler/analysis/StaticAnalysis.java
Commit 2a1b2a18e8fb7c2f3daccfd4c7fef93e3ec5c88a by Pieter12345
Move unresolved type errors to compile time when SA is disabled
(commit: 2a1b2a1)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/Compiler.java
Commit 0211c577e3af157043416a806dafe4adc4386f79 by Pieter12345
Support FQCN types in MethodScript code

Support FQCN in `ms.lang.int @a = 1;`, `try {} catch (ms.lang.Exception @ex) {}` and `proc _a(ms.lang.int @a) {}` syntax. Note that `assign(ms.lang.int, @a, 1)` is not supported due to `assign.postParseRewrite()` running after bare string warning/error generation.
(commit: 0211c57)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/DataHandling.java
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/Compiler.java
Commit 7c6bdd87813f4a6218453ddb9921ff5de0b2ff7e by Pieter12345
Add FQCN typing tests
(commit: 7c6bdd8)
The file was modifiedsrc/test/java/com/laytonsmith/core/MethodScriptCompilerTest.java
Commit bed96864e7f3a89d257685095a05d276da661c4c by PseudoKnight
Shade kotlin-stdlib for okio
(commit: bed9686)
The file was modifiedpom.xml
Commit c21762fa9c012e61cb3f073db2606f2ecb0bb3a9 by PseudoKnight
Further validate type format before rewrite
(commit: c21762f)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/Compiler.java
The file was modifiedsrc/main/java/com/laytonsmith/core/MethodScriptCompiler.java