Wednesday, September 23, 2009

v8.40.0109 - 2009-09-23 15:28

Publication of this update was delayed due to amount of editing required.
BETA versions are now only available for registered users.
Find the download link at the bottom of the License Lounge.

  • + Scripting got a new function.
      Name:   datediff
      Action: Returns the number of time intervals between two dates.
      Syntax: datediff(date1, [date2=now], [interval=d])
        date1:    [required] First (earlier) date/time.
        date2:    [optional] Second (later) date/time.
                  Defaults to now.
        interval: [optional] Time interval you want to use as the unit
                  of difference between date1 and date2.
                  Defaults to "d" (days).
                    y = years
                    m = months
                    w = weeks
                    d = days [default]
                    h = hours
                    n = minutes
                    s = seconds
        return: Number of time intervals between date1 and date2.
                Negative if date1 is later than date2.
      Examples:
        ::text "The Beijing Olympics were opened " . _
          datediff("2008-08-08") . " days ago.";
        ::text "The current file is " . datediff("",,"h") . _
          " hours old.";
  • + Full Screen Preview/Thumbnails: Added file formats DWG (AutoCAD Drawing Database File) and DWF (Design Web Format File).
    Note: This is Vista/Win7 only (unless you install 3rd party shell extensions) since the Vista/Win7 shell natively offers thumbnail previews for DWG and DWF files (which means XYplorer can do it as well).
  • + Scripting: The following commands are now DEPRECATED (but still supported) and have been converted to functions:
      inputfile, inputfolder, self
    The first argument of the old statement syntax is now the return value of the new function syntax.
    That's it with this type of conversions. The remaining commands with the old syntax from the pre-function era are:
      set, unset, incr
    They will not be converted to functions since the statement syntax makes sense here.
  • * List: Now only the first 2000 characters or first 20 lines are displayed in the tooltips. This limitation is especially useful for huge comments that will pop up when you hover the Comment column.
  • * List: Now there's a maximum column width of 1024 pixels.
  • * History: Quit reverse numbering. Now menus and lists displaying the history are numbered in analogy to MRU: The youngest item has number 1 and is displayed on top.
  • ! Scripting: Unary operators + and - were not always parsed correctly. These work now as they should:
      ::echo -2 + -1; //-3
      ::echo -2 - +1; //-3
      ::echo -2 - -1; //-1
      ::echo -2 * -1; //2
      ::echo 5 - -2 + 1; //8
      ::echo -5 - -2 * -2 + -1; //-10
  • * Tabs: Increased the height of the yellow highlight that marks the selected tab (and the active pane). Applies to Classic style tabs only.
  • ! Tree and Tabs: Sometimes when a removable drive got (un)available the drive's icon in Tree or Tabs did not match the new state. Fixed.
  • ! Saving Configuration: The current tab of each pane was not correctly stored to INI in its actual state when triggering "Save Configuration" manually (as opposed to automatically using "Save settings on exit"). Fixed.