Skip to content

Changes

Started 1 yr 10 mo ago
Took 15 min
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)
PseudoKnight at
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)
PseudoKnight at
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)
LadyCailin at
Fix StaticAnalysis persisting over cmdline environment clear
(commit: 017c0dd)
Pieter12345 at
Handle exception when block displays are given bad blockdata format
(commit: 65f154d)
PseudoKnight at
Revert hamcrest upgrade
(commit: 308e188)
LadyCailin at
Upgrade some missed deps since they were in separate variables
(commit: 34d8f52)
LadyCailin at
Update azure-pipelines.yml for Azure Pipelines
(commit: 00b9f6c)
LadyCailin at
Update azure-pipelines.yml for Azure Pipelines
(commit: 188bad0)
LadyCailin at
Fix okio dependency shading

Fixes NoClassDefFoundError in Minecraft environment startup.
(commit: 4d46b1b)
Pieter12345 at
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)
Pieter12345 at
Move unresolved type errors to compile time when SA is disabled
(commit: 2a1b2a1)
Pieter12345 at
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)
Pieter12345 at
Shade kotlin-stdlib for okio
(commit: bed9686)
PseudoKnight at