BETA version (with detailed history information)

Get a glimpse of the next XYplorer...
Locked
admin
Site Admin
Posts: 60289
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Here's the new BETA

Post by admin »

Change Log for the latest XYplorer BETA version:

Code: Select all

v15.00.0208 - 2015-03-26 16:09
    + SC get now lets you return the load times as string, e.g.:
        text <get loadtimes>, 800, 650;
    * Help | Various Information: Revised the Load Times info.
      Tip: To show Load Times hold CTRL+SHIFT when clicking the menu item,
      or use this script: text <get loadtimes>;
To download the latest BETA version choose a download package: (1) Installer Package, (2) No-Install Package.

:!: Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.

admin
Site Admin
Posts: 60289
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Here's the new BETA

Post by admin »

Change Log for the latest XYplorer BETA version:

Code: Select all

v15.00.0210 - 2015-03-27 11:27
    * Help | Various Information: Revised the Load Times info.
    ! PFA: Fixed an issues with opening LNKs to things like "\\127.0.0.1".
    ! Portable Devices: On some devices you could get a mysterious nonsense 
      error when attempting to copy files to the device:
        "The file name you specified is not valid or too long. Specify a 
        different file name."
      One of the infamous MTP peculiarities...
      This version attempts to fix this. It's done by a tweak that is 
      initialized (also on upgrading to this version) to ON:
        PortableDevicesCopyByShell=1
      It should work everywhere. Otherwise you can set it to 0 to return to the 
      previous behavior.
    ! Spot: Followed TAF matching style (since v15.00.0102 - 2015-03-13) instead 
      of using "match anywhere" always. Fixed.
To download the latest BETA version choose a download package: (1) Installer Package, (2) No-Install Package.

:!: Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.

admin
Site Admin
Posts: 60289
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Here's the new BETA

Post by admin »

Change Log for the latest XYplorer BETA version:

Code: Select all

v15.00.0211 - 2015-03-27 16:52
    ! Portable Devices: With a certain configuration pasting items from the
      clipboard to a Portable Device could fail with nonsense error "Pasting 
      items here is not allowed". Fixed.
    ! Portable Devices: On some devices you could not delete items (no error 
      message). This version attempts to fix this.
      Note that this fix is also bound to the setting of 
      PortableDevicesCopyByShell, so you can turn it off if you prefer.
To download the latest BETA version choose a download package: (1) Installer Package, (2) No-Install Package.

:!: Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.

admin
Site Admin
Posts: 60289
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Here's the new BETA

Post by admin »

Change Log for the latest XYplorer BETA version:

Code: Select all

v15.00.0212 - 2015-03-28 08:39
    % Startup: Could speed up "Init Custom File Icons" a little.
To download the latest BETA version choose a download package: (1) Installer Package, (2) No-Install Package.

:!: Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.

admin
Site Admin
Posts: 60289
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Here's the new BETA

Post by admin »

Change Log for the latest XYplorer BETA version:

Code: Select all

v15.00.0301 - 2015-04-07 18:49
    + View | Sort By: Added command "Selected Items to Top". Click it to 
      show all selected items at the top of the list (superseding whatever is 
      the current sort order), and scroll the list to the top.
      Note that this sorting is not permanent. It will not survive a session, a 
      tab switch, or even a list refresh. The idea is to quickly get the 
      selected stuff together in one spot to easier do what has to be done with 
      it.
      Tips:
      - The quickest way (computer time) to restore the original sort order is 
        the command View | Sort By | Sort Again.
      - The quickest way (user time) to restore the original sort order is 
        probably the command View | Refresh (F5), or to click the currently 
        sorted column header again.
      - The command is also available in the right-click menu of the Line 
        Numbers column header (shown as # in the interface).
    + Admin Settings: Added another thing to hide resp. disallow:
        eAPHide_ToolsSpecial = 4096
      This setting in Admin.ini will hide the "Tools Special" menu and all of 
      its functionality from the user.
        [Settings]
        Profile=4096
    ! Scripting, ternary conditionals: Could not handle conditions that were 
      more complex than a simple comparison. Fixed.
    ! Scripting: Constants True and False were not always correctly resolved to 
      "1" and "0".
        $c = true ? true : false; echo $c;    //"1", not "true"
        $c = true ? "true" : false; echo $c;  //"true"
      Fixed.
To download the latest BETA version choose a download package: (1) Installer Package, (2) No-Install Package.

:!: Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.

admin
Site Admin
Posts: 60289
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Here's the new BETA

Post by admin »

Change Log for the latest XYplorer BETA version:

Code: Select all

v15.00.0310 - 2015-04-08 17:26
    ! Sticky Section: Item numbering in a menu with Sticky Section skipped a 
      number. Fixed.
    ! Favorites | Favorite Folders: The ampersand character (&) in folder names 
      was not shown in the menu. Same with "Favorite Files" and "New Items". 
      Fixed.
    ! Tree and List: On small icons with LNK overlays under custom DPI settings, 
      the LNK overlays were drawn too large. Fixed.
    ! Menu Help | About: Fixed several glitches concerning colors and custom DPI 
      settings. Could remove some internal resources: app lost 20 KB weight.
To download the latest BETA version choose a download package: (1) Installer Package, (2) No-Install Package.

:!: Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.

admin
Site Admin
Posts: 60289
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Here's the new BETA

Post by admin »

Change Log for the latest XYplorer BETA version:

Code: Select all

v15.00.0311 - 2015-04-09 22:37
  +++ Scripting: Added user-defined functions. Like other aspects of XY 
      scripting also user-defined functions are closely modeled after PHP.
      - A user-defined function (or simply "user function") is a block of 
        statements that can be used repeatedly in a program. It can return a 
        value (using the command "return").
      - A user function declaration starts with the word "function", then a 
        space, then the name of the function:
        General form:
          function functionName() {
            code to be executed;
          }
        Alternative format:
          function functionName() { code to be executed; }
        Example with 2 arguments and a return value:
          function sum($x, $y) {
            $z = $x + $y;
            return $z;
          }
      - User function names can only consist of letters (a-z, A-Z), numbers, and 
        underscores, and must not start with a number.
      - User function names are NOT case-sensitive.
      - The first line of user function declarations has to be left-bound (not 
        indented).
      - User functions can be defined anywhere in a script resource, before or 
        after the main script, and as many as you want.
      - A user function will not execute immediately when a script is loaded. It 
        has to be called just like native functions.
      - All user functions have global scope.
      - User functions overwrite native functions of the same name.
      - If two or more user functions share the same name, the *first* one 
        declared will be used, all other ones ignored.
      - User functions do not support function overloading, nor is it possible 
        to undefine or redefine previously-declared functions.
      - User functions can call each other.
      - It is possible to call recursive user functions, but be aware that too 
        many recursions can smash the stack and cause a termination of the 
        current script.
      - Variables are by default passed by value, not by reference (so the 
        function cannot modify the variables in the caller's scope).
      - To pass variables by reference (so the function can modify the 
        variables in the caller's scope) prefix them with & in the function 
        declaration.
      - All arguments are optional. Default values for missing arguments can 
        be set. If no default value is set a missing arguments is initialized to 
        "".

      Example 1: Arguments and Returns
        echo multiply(3, 4) . <crlf> . sum(11,12);
        function multiply($x, $y) { return $x * $y; }
        function sum($x, $y) {
          $z = $x + $y;
          return $z;
        }

      Example 2: Argument by Value
        $a = 1; add_one($a); echo $a; //1
        function add_one($a) {
          $a++;
        }

      Example 3: Argument by Reference
        $a = 1; add_one($a); echo $a; //2
        function add_one(&$a) {
          $a++;
        }

      Example 4: Argument with Default Value
        echo multiplyDefaults(2); //8 (2 * 4)
        function multiplyDefaults($x = 3, $y = 4) {
          return $x * $y;
        }
To download the latest BETA version choose a download package: (1) Installer Package, (2) No-Install Package.

:!: Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.

admin
Site Admin
Posts: 60289
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Here's the new BETA

Post by admin »

Change Log for the latest XYplorer BETA version:

Code: Select all

v15.00.0312 - 2015-04-10 10:52
    + Scripting: Added a special "include" statement by which you can include 
      the content of a file at the place where the "include" statement was 
      found. That way you can include function libraries into your script 
      resources.
      Note that the "include" statement is not a normal scripting command and 
      cannot be used within individual scripts or functions. It is evaluated 
      when a script resource is loaded and before anything else is done. It has 
      to be left-bound just like the "function" statement.
      Syntax:
        include file
          file: Path, if not fully stated, is resolved relative to <xyscripts>.
                Extension defaults to ".xys".
                Quotes are optional (they are totally functionless here, but 
                might look better to some folks including me).
                Note that you cannot use any variables for file.
                No trailing ";", please.
      Example (loaded script):
        "Test 1"
          echo multiply(3, 4);
        "Test 2"
          echo divide(10, 3);
        include "math.inc"
      Example (included library):
        // math.inc
        function sum($x, $y) { return $x + $y; }
        function diff($x, $y) { return $x - $y; }
        function multiply($x, $y) { return $x * $y; }
        function divide($x, $y) { return $x / $y; }
    * Scripting: Now loaded scripts are automatically unindented, i.e. the first 
      line's indent is removed from all lines. That way you can easier copy and 
      paste scripts, e.g. from this change log, without the need to manually 
      left-align the code blocks first.
    + User-Defined Functions: Now you can set variables in functions and pass 
      them back to the caller by reference. Example:
        "set var"
          set_var($a, "Hi!");
          echo $a;  //Hi!
        function set_var(&$name, $value) { $name = $value; }
    + User-Defined Functions: Now you can unset variables in functions and pass 
      them back to the caller by reference. Example:
        "unset var"
          $a = "Hi!";
          unset_var($a);
          echo $a;  //$a
        function unset_var(&$name) { unset $name; }        
    ! User-Defined Functions: Passing arguments by reference did not work yet 
      when the variable name inside the function was different from the passed 
      variable name. Fixed.
To download the latest BETA version choose a download package: (1) Installer Package, (2) No-Install Package.

:!: Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.

admin
Site Admin
Posts: 60289
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Here's the new BETA

Post by admin »

Change Log for the latest XYplorer BETA version:

Code: Select all

v15.00.0313 - 2015-04-10 16:40
    + Scripting: Added basic namespaces. You can define a namespace in script 
      resources using the new "namespace" statement, and later use the namespace 
      name to refer to functions (and particularly disambiguate functions with 
      the same name) by prepending it to the function name separated by "::".
      No time for extensive documentation at the moment (the weather is just 
      too good), but these examples should do:
      
      Example 1
      ~~~~~~~~~
        Loaded script:
          "Test sum"
            echo sum(1, 2, 3);        //3; calls the first sum function
          "Test math::sum"
            echo math::sum(1, 2, 3);  //3; calls the first sum function in namespace "math"
          "Test math2::sum"
            echo math2::sum(1, 2, 3); //6; calls the first sum function in namespace "math2"
          include "math.inc"
          include "math2.inc"
        Included library math.inc:
          namespace "math"
          function sum($x, $y) { return $x + $y; }
        Included library math2.inc:
          namespace "math2"
          function sum($x, $y, $z) { return $x + $y + $z; }
      
      Example 2
      ~~~~~~~~~
      You can have more than one "namespace" statements in one resource:
        Loaded script:
          "Test sum"
            echo sum(1, 2, 3);        //3; calls the first sum function
          "Test math::sum"
            echo math::sum(1, 2, 3);  //3; calls the first sum function in namespace "math"
          "Test math2::sum"
            echo math2::sum(1, 2, 3); //6; calls the first sum function in namespace "math2"
          include "math3.inc"
        Included library math3.inc:
          namespace "math"
          function sum($x, $y) { return $x + $y; }
          namespace "math2"
          function sum($x, $y, $z) { return $x + $y + $z; }
          
      Example 3
      ~~~~~~~~~
      There is a reserved namespace "xy" to refer to XY native functions:
         echo xy::asc("a"); //97
      Normally you can skip this, but it can become useful when your user 
      function names collide with native functions:
        echo asc("a");     //ASC=97
        echo xy::asc("a"); //97
        function asc($a) { return "ASC=" . xy::asc($a) }
          
    - Scripting: Removed automatic unindent from factory defaults. If you still 
      want it tweak it:
        ScriptUnindent=1
    ! Scripting: Automatic unindent was too aggressive on lines that could not 
      be unindented as required. Now, if any such lines exist, the whole 
      unindent is canceled.
To download the latest BETA version choose a download package: (1) Installer Package, (2) No-Install Package.

:!: Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.

admin
Site Admin
Posts: 60289
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Here's the new BETA

Post by admin »

Change Log for the latest XYplorer BETA version:

Code: Select all

v15.00.0314 - 2015-04-11 11:36
    ! Favorites | Favorite Folders: The recent fix concerning the ampersand 
      character (&) in folder names destroyed the accelerator functionality for 
      favorites with captions. Fixed.
To download the latest BETA version choose a download package: (1) Installer Package, (2) No-Install Package.

:!: Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.

admin
Site Admin
Posts: 60289
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Here's the new BETA

Post by admin »

Change Log for the latest XYplorer BETA version:

Code: Select all

v15.00.0316 - 2015-04-12 12:12
    * Flat Select: Renamed the feature to "Quick Select". Analog to "Quick 
      Search" and "Quick Visual Filter".
      Only affects the help file and the website. It's nowhere mentioned in the 
      app itself.
    * Spot and Jump: Renamed the feature to "Jump and Spot". This sequence better
      reflects the syntax and makes it more memorable:
        >Jump
        >>Spot
        >>>Quick Select
    ! Scripting: Included functions were effectively not updated after loading a 
      script using User | Run Script | Load selected script file. Fixed.
To download the latest BETA version choose a download package: (1) Installer Package, (2) No-Install Package.

:!: Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.

admin
Site Admin
Posts: 60289
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Here's the new BETA

Post by admin »

Change Log for the latest XYplorer BETA version:

Code: Select all

v15.00.0317 - 2015-04-12 17:39
    ! Scripting | User-Defined Functions: There were issues with parsing user 
      functions with quoted default values. Fixed. Now crazy stuff like this 
      will work as it should:
        echo defaultsQuoted();  //(a, b, c)
        function defaultsQuoted($a = "(", $b = "a, b, c", $c = ")") {
          return $a . $b . $c;
        }
    ! Scripting: Automatic unindent (per tweak) was too afraid of empty lines. 
      Fixed.
To download the latest BETA version choose a download package: (1) Installer Package, (2) No-Install Package.

:!: Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.

admin
Site Admin
Posts: 60289
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Here's the new BETA

Post by admin »

Change Log for the latest XYplorer BETA version:

Code: Select all

v15.00.0320 - 2015-04-12 21:45
    * List: Now you can drag drives from the drives listing (Tree = "This PC"). 
      Before, you could drag drives only from the Tree.
      The new default operation when dragging drives is "Create Shortcut" (like 
      in Windows Explorer).
    + Added tweak to disallow left-dragging drives from Tree or List:
        DisallowDraggingDrives=1
      Might be added to "Configuration | Menus, Mouse, Safety | Safety Belts" 
      later.
To download the latest BETA version choose a download package: (1) Installer Package, (2) No-Install Package.

:!: Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.

admin
Site Admin
Posts: 60289
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Here's the new BETA

Post by admin »

Change Log for the latest XYplorer BETA version:

Code: Select all

v15.00.0321 - 2015-04-13 16:39
    + SC report: Now you can also report any soft columns present in the current 
      list, that's any columns you have added via "Add Column...". You simply 
      refer to them by their captions (case-insensitive).
      Example:
        text report("{name}: {Dimensions}, {Aspect Ratio}, {Camera Model}<crlf>");
      FYI, now you can also refer to the Extra columns and the five hard Custom 
      Columns via their captions.
    ! Scripting | User-Defined Functions: Dereferenced variables were accepted by 
      reference but not changed by reference. Fixed.
To download the latest BETA version choose a download package: (1) Installer Package, (2) No-Install Package.

:!: Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.

admin
Site Admin
Posts: 60289
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Here's the new BETA

Post by admin »

Change Log for the latest XYplorer BETA version:

Code: Select all

v15.00.0322 - 2015-04-14 16:41
    + Scripting: Added tweak to allow minimizing the app while a script is 
      running (by default you get the "Cannot minimize application while script 
      is running" message if you try).
        ScriptAllowMinimizeApp=1
    * Scripting | Include statement: Include now follows the same relative path 
      resolution rules as SC load:
        (1) in the path of the calling script file (if any)
        (2) in the Scripts subfolder of the application data path (variable <xyscripts>)
        (3) in the application data path (variable <xydata>)
    * Scripting | Include statement: If the included file cannot be found then 
      loading and processing the current script resource (the one with the 
      invalid include statement) will be aborted now.
    * Scripting: Included files and namespaces can now be double- or single- or 
      un-quoted.      
    * Scripting: The names of namespaces now must conform to the same rules as 
      the names of functions: Can only consist of letters (a-z, A-Z), numbers, 
      and underscores, and must not start with a number.
    * SC set enhanced: Now the optional "r" (for "resolve") parameter will also 
      resolve scripting variables. Before it only resolved environmental and 
      native XY variables.
        
        // example
          $a = "value of a";
          $b = '$a';
          set $unresolved, $b;
          set $resolved, $b, 'r';
          echo "$unresolved, $resolved";  //$a, value of a
          
    ! Configuration | Sort and Rename | Sort | Keep folders on top: Drawing 
      glitch with secondary sorting. Fixed.
    ! Browsing through the Address Bar was too tolerant when paths with wrong 
      capitalization were typed or pasted in. While Windows itself does not care 
      too much either, XY's tagging DB needs it perfectly correct. Fixed.
To download the latest BETA version choose a download package: (1) Installer Package, (2) No-Install Package.

:!: Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.

Locked