Skip to content

0.17.4

Compare
Choose a tag to compare
@icewolfz icewolfz released this 07 Jan 22:54
· 1589 commits to master since this release
  • New:
    • Add #FREEZE Scroll lock the display, if state is omitted it will toggle the scroll lock, if state is 0 or false it will disable scroll lock, if state is anything else it will lock the scroll back
    • Add #CLR Add blank lines to clear the screen ignoring any current trailing blank lines
    • Add %begins(string1,string2 return true if string 1 starts with string 2
    • Add %ends(string1, string2) returns true if string 1 ends with string 2
    • Add %len(string) returns the length of string
    • Add %pos(pattern,string) returns the position of pattern in string on 1 index scale, 0 if not found
    • Add %ipos(pattern,string) returns the position of pattern in string on 1 index scale, 0 if not found ignoring case
    • Add %regex(string,regex,var1,...,varN,varN+1) test if string matches the regex pattern, if found returns the position of the match, starting at 1 else returns 0, var1 ... varN are optional variable names to store any sub pattern matches, varN+1 is the length of matched string]
    • Add %trim(string) Returns the string without any spaces at the beginning or end
    • Add %trimleft(string)` Returns the string without any spaces at the beginning
    • Add %trimright(string) Returns the string without any spaces at the end
    • Add %bitand(number1,number2) returns the bitwise AND of the two numbers.
    • Add %bitnot(number) returns the bitwise inverse of the given number.
    • Add %bitor(number1,number2) returns the bitwise OR of the two numbers.
    • Add %bitset(i,bitnum,value) Set or reset a bit within a numeric value and return the new numeric value. If value is omitted, 1 (true) is used to set the bit. To reset a bit, the value must be zero.
    • Add %bitshift(value,number) shifts the value the num bits to the left. If num is negative, then the value is shifted to the right.
    • Add %bittest(i,bitnum) Test a bit within a numeric value and return true if it is set, false if it is not set. bitnum starts at 1.
    • Add %bitxor(number1,number2) returns the bitwise XOR of the two numbers.
    • Add %number(s)) convert a numeric string to a number.
    • Add %isfloat(value)) Returns true if value is a valid floating point number
    • Add %isnumber(s)) true if s represents a valid number.
    • Add %string(value)) converts value to a string. Quotes are added around the value.
    • Add %float(value)) Returns value as a floating point number.
    • Add %isdefined(name) Returns 1 if a variable is defined, 0 if undefined
    • Add noEcho argument for client.sendBackground and client.sendCommand to allow hiding from display
    • Add $character to return current name from GMCP status info if possible and falls back to character manager login name or empty string
    • Triggers:
      • Add support for regex name capture that work similar to alias named params
      • Add Pattern and Command Input Pattern types to support zMUD/TinTin type pattern matching
    • Help: Add more known issue for advanced editor
    • Add save image as, copy image, copy image link to MXP image context menu
    • Input parser: Add $var user variable style support
    • Profile Manager:
      • Alias params are now highlighted with an error if invalid
      • Parse style is now syntax highlighted using special characters defined from options
    • Preferences:
    • Add Parse caption to parse context menu captions using the command parser to allow predefined variables or expressions
  • Fixed:
    • Updated README to update build requirements
    • Display:
      • Fixed bug with scroll lock auto scrolling when at bottom of display
      • Fixed bug with scroll lock being lost when screen is empty
      • Fixed bug with scroll lock being lost when split view is enabled
    • Advanced editor:
      • Fixed Formatted as commands (No echo) and Text as commands (No echo) echoing to the display
      • Fixed context menu
      • Fixed background color codes being wrapped in extra %^
      • Clean up extra codes between 2 resets blocks
      • Fixed Bold white background color to use RGB555 color code correctly
    • Profile Manager:
      • Trigger tester still did not correctly apply Prepend triggered line preference
      • Fix trigger type select width
      • Focus on value editor on select
      • Fix out of sync closing when asking to save/apply over changed file
      • Fix erroring when trying to delete a profile that did not exist
    • Fixed alias named arguments not being directly accessible in scripting type
    • Fixed full screen not always being restored on load
    • Fixed maximized state not being correctly restored on load if window was closed minimized
    • Input parser:
      • Detect newlines when using {} block formatting for multi line blocks when possible
      • Skip alias invalid named params
      • Fixed number parsing in places not accepting +#, as +# is a valid positive number and converted to simple #
      • Fixed ignore spaces around number arguments for functions and commands
      • Fixed escape characters following parameters, eg $\ or %\ where not correctly parsing escape characters
      • Fixed not escaping command special character
      • Fixed do not escape disabled special characters
      • Fixed command character not being correctly replaced with custom character in some places
      • Fixed saving nested loop variables as user variables
      • Fixed bug when splitting quoted strings
    • Fixed %dice(xdy+n) not correctly parsings argument format
    • Fixed %if(expression,true,false) not erroring if missing false argument
    • Fixed #variable should not evaluate the value to allow use of raw strings as needed, eg #va test {3+5} should store 3+5 not 8, if you want the evaluated value use #var test ${3+5} or #va test {${3+5}}
    • Fixed #variable throws an error now when invalid variable names are used
    • Fixed Select control selected color text
    • Fixed Watch for profile changes not always being cleared when client closed
    • Docs: Fixed i..z description
  • Changed:
    • Revert 0.17.1 hack for child windows as electron seems to have fixed the bug
    • Update tinymce 4.8.3 to 5.10.1
    • Update electron 16.0.4 to 16.0.6
    • Update font-list 1.4.2 to 1.4.3
    • Update mathjs 10.0.0 to 10.0.2
    • Update better-sqlite3 7.4.5 to 7.4.6
    • Rearrange General to reduce scrolling
    • Increase character manager dialog height to remove scrolling when possible
    • Update markdown-it 12.3.0 to 12.3.1