Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: MerlinofMines/EasyCommands
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.3.1
Choose a base ref
...
head repository: MerlinofMines/EasyCommands
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.4.0
Choose a head ref
  • 18 commits
  • 112 files changed
  • 2 contributors

Commits on Feb 7, 2022

  1. Removed InMemoryVariable and StringCommandParameter references (#209)

    This commit does a few things by getting rid of InMemoryVariable and StringCommandParameter references.
    
    First, it enables previously unsupported Explicit String Selector support.
    
    Second, it changes variable assignment to only accept ambiguous (non-quoted) values.
    
    Third, it simplifies and removes redundant rules for String and Variable parameter processing.
    
    Fourth, I tweaked the output of the cast function to also output the value that you attempted to parse, to better indicate what conversion failed.
    
    Lastly, it removes the now unreferenced InMemoryVariable and StringCommandParameter class types.
    MerlinofMines authored Feb 7, 2022
    Configuration menu
    Copy the full SHA
    a1e136e View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2022

  1. Add Properties for CustomData and DetailedInfo (#211)

    * add properties for `CustomData`and `DetailedInfo`
    
    * add docs for `CustomData`  and `DetailedInfo`
    jgersti authored Feb 10, 2022
    Configuration menu
    Copy the full SHA
    31fd5b3 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2022

  1. Added UniOperand Cast and Type Operand Support (#215)

    This commit updates the cast operation to act as either a UniOperand or a BiOperand.  As a UniOperand it will attempt to parse a string as the appropriate primitive without needing to specify the expected type.  This is useful for parsing ambiguous input without causing script halting exceptions.
    
    This commit also implements the Type operation, which enables you to get the type of a variable.  This is also useful for inspecting resolved input to verify it is the correct type before attempting to use it as the type you are expecting.
    
    This commit also fixes a previous bug where invalid cast and round operations were not logged correctly.
    
    This commit also updates some incorrect documentation around vectors and adds documentation around parsing GPS coordinates.
    MerlinofMines authored Feb 11, 2022
    Configuration menu
    Copy the full SHA
    af3b7ab View commit details
    Browse the repository at this point in the history
  2. Added HeatVent Block Handler (#216)

    This commit adds support for HeatVents, a new block type introduced in the Warfare 2 update.  It supports all of the important properties for the new block type
    using direct property access.
    
    This commit also updates EasyCommands to a new version of SpaceEngineers Nuget dependency which has the new block types
    MerlinofMines authored Feb 11, 2022
    Configuration menu
    Copy the full SHA
    634fc60 View commit details
    Browse the repository at this point in the history
  3. Fixed Variable Increment Bug (#217)

    This commit fixes a bug where variables couldn't be incremented by a selector property value due to bad processing rules.
    
    This commit better clarifies the distinction between increaseing and incrementing, and better clarifies which item is intended to be "incremented" (either a variable or a selector property).
    
    Also removes "add" and "subtract" keywords which weren't actually useful in that context.
    
    Finally, adds missing tests around incrementing variables by selector properties and vice versa.  IncrementVariableTests have been split out to their own test file.
    MerlinofMines authored Feb 11, 2022
    Configuration menu
    Copy the full SHA
    d8dd30e View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2022

  1. Removing the MIT license

    The contributors agreed to replace the license with a less permissive license, so doing so.
    MerlinofMines authored Feb 13, 2022
    Configuration menu
    Copy the full SHA
    98b7a92 View commit details
    Browse the repository at this point in the history
  2. Adding the GNU GPLv3 License

    Replacing the previous MIT license with the GNU GPLv3 License
    MerlinofMines authored Feb 13, 2022
    Configuration menu
    Copy the full SHA
    932897c View commit details
    Browse the repository at this point in the history
  3. Cache Block and Group retrieval (#218)

    * Cached block retrieval to improve performance
    * Consolidated Block lookup logic into BlockHandlerRegistry
    jgersti authored Feb 13, 2022
    Configuration menu
    Copy the full SHA
    fc268a1 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2022

  1. update CI settings (#220)

    jgersti authored Feb 15, 2022
    Configuration menu
    Copy the full SHA
    5e48e01 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2022

  1. Configuration menu
    Copy the full SHA
    4ddfec6 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2022

  1. Memoization (#219)

    * clean up selector & block handlers
    
    * implement `Cache` class
    
    * cache `GetBlocks(Block, string)` calls
    
    * cache `GetBlocksInGroup(Block, string)` calls
    
    * cache `TerminalAction`s
    
    * cache `TerminalProperty`s
    
    * Add tests for caching and memoization
    jgersti authored Feb 19, 2022
    Configuration menu
    Copy the full SHA
    577f55f View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2022

  1. Refactoring (#223)

    * rename interface `Blockhandler` -> `IBlockHandler`
    
    * rename interface `DataProcessor` -> `IDataProcessor`
    
    * rename interface `ParameterProcessor` -> `IParameterProcessor`
    
    * rename interface `CommandParameter` -> `ICommandParameter`
    
    * rename interface `InterruptableCommand` -> `IInteruptableCommand`
    
    * rename interface `Selector` -> `Selector`
    
    * rename interface `Variable` -> `IVariable`
    
    * Remove unneeded lambdas
    
    * Implement `IComparable<>` for Primitive and simplify aggregation code
    
    * remove `Optional<>` and refactor affected code
    
    * replace casts inside selections with the appropriate functions
    
    * refactor `Operations.cs`
    
    * add utilitity functions for `Enumerable` and use them when appropriate
    remove unused functions
    
    * use `?.` and `??` and simplify some conditions
    
    * refactor `KeyedVariable` and usage of `KeyedList.GetValues()`
    
    * enforce some DRYness in `ParsingEngine.cs`
    
    * save some chars in `BlockHandlers/`
    
    * save some chars `CommandParser/` and `Commands/`
    
    * save some chars in `Common/`
    jgersti authored Feb 23, 2022
    Configuration menu
    Copy the full SHA
    d46ac3e View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2022

  1. Configuration menu
    Copy the full SHA
    26677fa View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Add search light support (#227)

    * Added Searchlight BlockHandler and consolidated SubType based Blockhandlers.
    
    * Split Radius and Range Properties. 
    
    * Added TargetLocking property to cockpits.
    MerlinofMines authored Mar 4, 2022
    Configuration menu
    Copy the full SHA
    107bd1c View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2022

  1. Configuration menu
    Copy the full SHA
    a45916c View commit details
    Browse the repository at this point in the history
  2. Added Support for Custom Turret Controllers and Targeting Options (#228)

    * Moved Turret Block Handlers to their own file.  Added missing properties for Turret BLock Handler.  Added BlockHandler for Custom Turret Controller.
    
    Also added azimuth as a supported Angle property keyword
    MerlinofMines authored Mar 6, 2022
    Configuration menu
    Copy the full SHA
    337544e View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2022

  1. Small Changes (#225)

    * simplify some conditions
    
    * move `BlockHandlerRegistry` into its own file
    
    * remove lambda in `ParseCommandParameters`
    
    * remove some unecessary initializations and save some chars
    
    * Use `ILookup` instead of dictionary of list in processing engine
    
    * refactor `AddProcessor` and `ProcessParameters`
    
    * save some chars in `ParameterProcessor.cs`
    
    * save some chars in `Utilities.cs`
    
    * make some often used function static
    
    * remove some unecessary type hints
    jgersti authored Mar 7, 2022
    Configuration menu
    Copy the full SHA
    7d25bd3 View commit details
    Browse the repository at this point in the history
  2. Reverted TypeHandler function to older definition to fix minification…

    … issue and reduce minimized chars
    MerlinofMines committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    09afa3a View commit details
    Browse the repository at this point in the history
Loading