Skip to content

1.3.2-RC1

Latest
Compare
Choose a tag to compare
@X39 X39 released this 23 Dec 21:42
· 679 commits to master since this release

IMPORTANT NOTE

PLEASE DO READ THE FOLLOWING

The SQF-VM project stopped releasing "handcrafted builds" in favor of utilizing CI. Please head over to the Actions tab and download the latest binaries from one of the releases listen in there.


Changelog
  • CLI: Fixed --max-instructions no longer working
  • CLI: Added --server PORT (-s PORT) option to start the VM as a connectible server
  • CLI: Added --define NAME[=VALUE] (-D NAME[=VALUE]) allowing to add definitions to the PreProcessor
  • VM: diag_tickTime now returns time since VM start in seconds
  • VM: assembly__ CODE command no longer returns assembly reversed
  • VM: Removed invalid binary operator ANY != ANY
  • VM: Removed duplicate operators
  • VM: Renamed exit__ SCALAR to exitcode__ SCALAR due to naming conflict
  • VM: Renamed prettyprintsqf__ STRING to prettysqf__ STRING
  • VM: Fixed scriptName STRING setable multiple times
  • VM: Fixed time not being available (was already implemented)
  • VM: Fixed PreProcessor Endless loop
  • VM: Fixed PreProcessor double quoted strings no longer ignoring everything inbetween
  • VM: Fixed catch crash
  • VM: Fixed STRING in ARRAY was using case-insensitive comparison
  • VM: Fixed ARRAY select ARRAY error messsage (second type check outputted first type on error)
  • VM: Fixed STRING select ARRAY error messsage (second type check outputted first type on error)
  • VM: Fixed off-by-one error in for STRING from SCALAR to SCALAR step SCALAR when step was not equal to 1 or -1
  • VM: Fixed code comparison was checking address space instead of on equality of instructions (CODE isEqualTo CODE)
  • VM: Fixed alive OBJECT erroring instead of returning false and just warning on objNull
  • VM: Fixed single . getting detected as number
  • VM: Fixed disabling sleep SCALAR and using it later would cause an infinite loop
  • VM: Fixed disabling warnings
  • VM: Fixed disabling runtime warnings would not properly disable them
  • VM: Fixed distance2d copy paste issue causing index out of range
  • VM: Fixed isEqualTo not doing reference == reference check first
  • VM: Fixed nil passed to command would error instead of warn
  • VM: Fixed unclosed #ifdef and #ifndef not warning and returning data.
  • VM: Fixed possible STATUS_STACK_BUFFER_OVERRUN on Windows Server due to console_width()
  • VM: Fixed including the same file multiple times triggered "Recursive include detected"
  • VM: Fixed code stringification having wrong parenthesis
  • VM: Fixed Nested #ifdef error being raised when include files got included inside #ifdef, #ifndef and #else block.
  • VM: Fixed Taling Slash in virtual mappings would prevent mappings from working
  • VM: Added support for 2-Dimensional distance
  • VM: Added waitUntil CODE operator
  • VM: Added ARRAY distance2d ARRAY operator
  • VM: Added OBJECT distance2d ARRAY operator
  • VM: Added ARRAY distance2d OBJECT operator
  • VM: Added OBJECT distance2d OBJECT operator
  • VM: Added ANY execVM STRING and execVM STRING
  • VM: Added Warning on undefined-variable usage
  • VM: Added CODE provide__ ARRAY to allow to provide implementation for an operator
  • VM: Added terminate SCRIPT operator
  • VM: Added STRING splitString STRING operator
  • VM: Added ARRAY deleteRange ARRAY
  • VM: Added assembly__ STRING variant of assembly__ CODE
  • VM: Added tree__ CODE variant of tree__ STRING
  • VM: Added prettysqf__ CODE variant of prettysqf__ STRING
  • VM: Added pretty__ CODE alias of prettysqf__ CODE
  • VM: Added STRING in STRING
  • VM: Added remoteConnect__ STRING to connect to a SQF-VM instance running as server
  • VM: Added copyToClipboard STRING
  • VM: Added scopeName STRING