Improve Sublime3 Syntax-Highlighting (#1260)
Remove manual list of keywords, and only use the auto-generated list of keywords with better scope.
Co-authored-by: Ecconia <public-commit@ecconia.com> (e5be77ad by ecconia)
Fix Sublime3 Syntax-Highlighting (#1259)
'= was recognized as keyword, instead of a quote start.
Now quotes (and comments) will be checked first, before detecting keywords.
Co-authored-by: Ecconia <public-commit@ecconia.com> (29663260 by ecconia)
Create standalone Windows installer for cmdline.
This uses NullSoft Scriptable Install System to create the executable,
which is fully contained and downloads the necessary files, including
Java, from the internet. This prevents the installer itself from needing
to be updated on each update. Eventually, the installer should be
signed, but for now it's unsigned, causing various scary warnings upon
installation. In any case, the installer code itself works, as well as
the installer. (9b7e742e by ladycailin)
Initialize preferences before Telemetry nag
Initialize preferences before relying on them in telemetry nag code in several cmdline tools.
Fixes #1255. (5e04ddf7 by pieter12345)
Fix several complex_try raw compile exceptions (#1254)
Fix several raw compile exceptions caused by invalid try/catch MethodScript syntax. Note that the checks performed in this optimization method should eventually be split into postParseRewrite or the try keyword parsing and typechecking.
Fixes #1253. (2ca7f5e0 by pieter12345)
Document ba_put and ba_get signedness
Update documentation to include that `ba_put_X` and `ba_get_X` for bytes, shorts, integers and longs uses signed values. (78be6f01 by pieter12345)
Fix boilerplate failure (714a6a00 by pseudoknight)
Add fallback to method not in older Spigot versions (2afb49e9 by pseudoknight)
Add potion_splash event (Closes #791) (60a08061 by pseudoknight)
Address deprecation warnings in tests (cce9d74b by pseudoknight)
Add missing minecart types to set_entity_spec() (af47c7d9 by pseudoknight)
Fix missing newlines in register_command example (bd2bfd0f by pieter12345)
Fix sugared foreach() syntax parsing
- Fix `foreach(... in ...)` and `foreach(... as ...)` syntax parsing. Bug was introduced in build 4024.
- Make `foreach` use `__statements__` as in-between rewrite node instead of `sconcat`. No functional changes. (a96d3afb by pieter12345)
Don't parse __autoconcat__ to sconcat in strict mode
Parse `__autoconcat__()` to the new `__statements__()` instead of `sconcat()` in strict mode. `__statements__()` takes arguments of any type and returns `void` for typechecking, so compile errors will be generated in cases where `__autoconcat__()` used to insert `sconcat()`s, or in other words, where the user has either forgotten to put some `.` concat, or where the user has made a mistake.
This change does not affect non-strict mode, as automatically inserting concats is a feature there.
Alias syntax should also remain possible in strict mode, but only when the whole alias is nicely concatenated together by the user. Inserting multiple arguments/statements will cause the code block to be interpreted as a statements block and not as an alias redirect. (69f6baa6 by pieter12345)
Update ResourceManager.java
Provide a more detailed description in res_create_resource (e36e76df by ladycailin)
Merge pull request #1250 from Lildirt/hanging_place
Add hanging_place event (6a68260e by michael smith)