BETA version (with detailed history information)

Get a glimpse of the next XYplorer...
Locked
admin
Site Admin
Posts: 60547
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

v17.20.0210 - 2016-10-31 12:56
    + SC popupnested enhanced: Now the top level does not have to be absolutely 
      left-bound. Instead an overall indent can be applied to all items.
      Example:
      $menu = <<<MENU
                Top;;:paper;1
                  Sub;;;4
                  Sub
                    Sub2;;*.ini
                    Sub2
                    Sub2;;;2
                Top;;<xy>
              MENU;
        text popupnested($menu);
    ! SC popupmenu / popupnested: By documentation the caption should be 
      returned if the data section is empty. However this worked only here:
        text popupmenu("Caption 1|Caption 2");
      Not here:
        text popupmenu("Caption 1;;;|Caption 2;;;");
      Fixed.
    ! List: Folder sizes not always recalculated after deleting folder. 
      Attempted fix.
    * Updated the help file.
    * MLS: Internally updated to version 8.82.
      > TRANSLATORS: Please wait until Reference_8.82.lng is uploaded.
        You will be notified if you have subscribed to this thread:
        https://www.xyplorer.com/xyfc/viewtopic.php?f=12&t=9648
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: 60547
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Here's the new BETA

Post by admin »

Summary of the latest XYplorer Official Release.

Download: https://www.xyplorer.com/download.php

Code: Select all

v17.30.0000 - 2016-10-31 18:00
    = NEW OFFICIAL RELEASE. Main developments since last release:
  +++ Find Dangerous Characters. Now you can find files that have invisible and 
      potentially dangerous Unicode characters in the name. You now can as well 
      color-code such files.

admin
Site Admin
Posts: 60547
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

v17.30.0001 - 2016-11-02 11:29
  +++ Scripting: Now Multi-Scripts support nesting. The level is simply stated 
      by the number denoting its depth, first level is 0 (zero), which is also 
      the default, of course.
      General Syntax (all parts left of Script are optional):
        "Caption|Icon|State|Level : Label" Script
      
      Example:
        ------------------------------------------------------------------------
        "C:|*"
        "Go to C:\|||1"
          goto "C:\";
        "|||1" goto "%winsysdir%";
          selectitems "calc.exe";
        "D:|*"
        "Go to D:\|||1"
          goto "D:\";
        ------------------------------------------------------------------------
      
      Note that indenting like with SC popupnested() cannot be used (and is also 
      not necessary) here to mark the levels since indenting is already employed 
      to mark the individual scripts within the Multi-Script.
      
  +++ Scripting: Now numbered arguments are supported. Instead of counting 
      commas you now can prefix the position of the argument to the argument 
      itself. The separator is ":=", the first position is 0 (zero).
      For example, instead of this:
        text popupmenu("A,B,C", , , , , , ",");
      You now can do this:
        text popupmenu("A,B,C", 6:=",");
      You can even do this (reversed or chaotic order):
        text popupmenu(6:=",", 0:="A,B,C");
      Or this (processing is from left to right, the last mapping wins):
        text popupmenu("a,b", 6:=";", 6:="|", 6:=",", 0:="A,B,C");
    ! SC popupnested: Parent items were not drawn disabled (grey) when set to 
      state 4. Fixed. And now, of course, the submenu does not even popup when 
      hovering such a disabled parent.
    ! Tags: When merging folders (be it a copy or a move) of the same name with 
      different capitalization any tags in the moved contents of the folders 
      were not adjusted to their new location's capitalization and hence the 
      tags became invisible (the tags DB is case-sensitive). Fix #2.
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: 60547
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

v17.30.0002 - 2016-11-03 12:56
  +++ Scripting: Added the switch statement.
      Quoting from PHP docs (http://php.net/manual/en/control-structures.switch.php):
      "The switch statement is similar to a series of IF statements on the same 
      expression. In many occasions, you may want to compare the same variable 
      (or expression) with many different values, and execute a different piece 
      of code depending on which value it equals to. This is exactly what the 
      switch statement is for."
      
      "In a switch statement, the condition is evaluated only once and the 
      result is compared to each case statement. In an elseif statement, the 
      condition is evaluated again. If your condition is more complicated than a 
      simple compare and/or is in a tight loop, a switch may be faster."

      Remarks:
      - The case statements are checked from top to bottom until a match is found.
      - Each case should be closed by a break statement.
      - It's possible to use a semicolon instead of a colon after a case.
      - A special case is the default case. This case matches anything that wasn't 
        matched by the other cases.


      Example:
        ------------------------------------------------------------------------
        // switch
          $favcolor = "blue";
          switch ($favcolor) {
            case "red":
                echo "Your favorite color is red!";
                break;
            case "blue":
                echo "Your favorite color is blue!";
                break;
            default:
                echo "Your favorite color is neither red nor blue but $favcolor!";
          }
          echo "Switch done!";
        ------------------------------------------------------------------------
      
      The switch and case arguments can also be more complex expressions:
        ------------------------------------------------------------------------
        $a = 3; $b = 7; $c = 10.5; $d = 2;
          switch ($a * $b) {
            case $c * $d:
                echo "The result equals $c * $d = " . $c * $d;
                break;
            default:
                echo "The result is something else.";
          }
        ------------------------------------------------------------------------
      
      Usually each case should be closed by a break statement. Else processing 
      continues with the next case (sometimes though this can be desired). In 
      this example the first two echo lines are shown (then the break; is met):
        ------------------------------------------------------------------------
        $i = 0;
          switch ($i) {
            case 0:
                echo "i equals 0";
            case 1:
                echo "i equals 1";
                break;
            case 2:
                echo "i equals 2";
          }
        ------------------------------------------------------------------------

      Here is an example where omitting break statements makes sense. Also shows 
      that the default case also accepts a break statement (although is totally 
      superfluous here). Also shows that semicolons after the cases are an 
      acceptable alternative to colons.
        ------------------------------------------------------------------------
        $beer = 'Kirin';
          switch($beer)
          {
              case 'Asahi';
              case 'Kirin';
              case 'Sapporo';
                  echo 'Good choice';
                  break;
              default;
                  echo 'Please make a new selection...';
                  break;
          }
        ------------------------------------------------------------------------
      
      When, and only when, you use semicolons after the cases the case 
      statements don't have to be in their own line:
        ------------------------------------------------------------------------
        $beer = 'Kirin';
          switch($beer) {
              case 'Asahi';
              case 'Kirin';
              case 'Sapporo'; echo 'Good choice'; break;
              default;        echo 'Please make a new selection...';
          }
        ------------------------------------------------------------------------

      Apparently even nested switches are possible, but I wouldn't bet all my 
      money on this. Needs careful testing:
        ------------------------------------------------------------------------
        // switch
          $a = 3; $b = 7;
          switch ($a * $b) {
            case 20:
                echo "The result is 20.";
                break;
            case 21:
              switch ($b) {
                case 7:
                  echo "a = 3."; break;
                case 3:
                  echo "a = 7."; break;
              }
              break;
            default:
                echo "The result is something else.";
          }
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: 60547
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

v17.30.0003 - 2016-11-03 15:39
    * Scripting: Switch statement enhanced. Now the case statements don't have 
      to be in their own line anymore no matter whether they are ended by colon 
      or semicolon.
      So this example now works as expected (and it shows that using the return 
      command within a function you can spare the break command):
        ------------------------------------------------------------------------
        function getChineseZodiac($year){
              switch ($year % 12) {
                  case  0: return 'Monkey';  // Years 0, 12, 1200, 2004...
                  case  1: return 'Rooster';
                  case  2: return 'Dog';
                  case  3: return 'Boar';
                  case  4: return 'Rat';
                  case  5: return 'Ox';
                  case  6: return 'Tiger';
                  case  7: return 'Rabit';
                  case  8: return 'Dragon';
                  case  9: return 'Snake';
                  case 10: return 'Horse';
                  case 11: return 'Lamb';
              }
          }

          echo getChineseZodiac(2016);
          
          // BTW, user functions work in switch and in case:
          switch (getChineseZodiac(2016)) {
          case getChineseZodiac(2015): echo "2015"; break;
          case getChineseZodiac(2016): echo "2016"; break;
          case getChineseZodiac(2017): echo "2017"; break;
          }
        ------------------------------------------------------------------------
    > Scripting | Switch statement: The case argument may be in parentheses, but 
      it's no more than a cosmetic option, e.g.:
        ------------------------------------------------------------------------
        $a = "bar";
          switch ($a) {
            case ("foo"):
            case ("bar"):
              echo "It's foo or bar.";
              break;
            default:
              echo "It's neither foo nor bar.";
              break;
          }
        ------------------------------------------------------------------------

    > Scripting | Switch statement: Also note this somehow perverted use of a switch:
        ------------------------------------------------------------------------
        $a = "Kirin";
          switch (true){
            case $a=="Kirin":   echo "first choice"; break;
            case $a=="Sapporo": echo "second choice"; break;
          } 
        ------------------------------------------------------------------------
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: 60547
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

v17.30.0005 - 2016-11-05 12:52
    * List | Label Column: Before, the sorting of this column was by caption of 
      the label. Now it's by index as defined in Configuration | Tags. First 
      label comes first, no matter how it's called.
    - Removed a fix from v17.20.0030 - 2016-09-27 21:02: It was too general and 
      generated too many undesired refreshes of tree and list:
        ! Portable Devices: On Win10 the automatic refresh on plug in/out did 
          not work. Fixed.
      Tried something experimental in ways of a better fix.
    ! Visual Filter: Filter was autoremoved when batch renaming more than 10 
      files at once. Fixed.
    ! Thumbnails: PDF thumbnails would not be shown when PDF was added to 
      Configuration | Previewed Formats | Category | Text. 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: 60547
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

v17.30.0006 - 2016-11-07 12:42
    ! On wake up after sleep some user colors were not restored correctly. 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: 60547
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

v17.30.0102 - 2016-11-09 20:53
    + Permanent Custom Sort Order: Now a custom sort order is also preserved on 
      an auto-refresh event.
    ! Portable Devices: Could not paste a folder from a Portable Device. Fixed.
    ! SC writefile: On DBCS locales (using double-byte character sets: Chinese, 
      Japanese, Korean) text with Unicode characters would be cropped at the end 
      when you passed 't' as mode parameter. 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: 60547
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

v17.30.0108 - 2016-11-10 19:07
    + SC writefile enhanced. Added new mode "utf8".
      Syntax: writefile(filename, data, [on_exist], [mode])
        mode:
          utf8: Converts data to UTF-8 before writing it to file. A UTF-8 BOM is 
                not added.
      Example:
        writefile("test-UTF8.txt", "äöü", , "utf8");
    ! SC writefile: On DBCS locales (using double-byte character sets: Chinese, 
      Japanese, Korean) text with Unicode characters would be cropped at the end 
      when you passed 't' as mode parameter. Fix #2.
    - SC writefile: Removed the change from v17.30.0102. Wasn't the right thing 
      to do.
    ! Scripting | Nested Multi-Scripts: Hidden scripts (caption beginning with 
      "_") were shown as separators. Fixed.
    ! Scripting: Non-left-aligned closing HEREDOC identifiers did not play well 
      with subsequent block comments. 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: 60547
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

v17.30.0109 - 2016-11-11 15:27
    + SC writefile enhanced. Added new mode "utf8bom".
      Syntax: writefile(filename, data, [on_exist], [mode])
        mode:
          utf8bom: Converts data to UTF-8 before writing it to file. A UTF-8 BOM 
                is added.
      Example:
        writefile("test-UTF8BOM.txt", "äöü", , "utf8bom");
    * Find Files and Quick Search: From now on the size: selector will only 
      match files, not folders. E.g., this pattern returned all small files and 
      and all folders before. Now it returns only all small files:
        size: < 1000
    ! Find Files: Would not work on subfolders of special paths (e.g. 
      Desktop\Sub\) since 20161024. Fixed.
    ! Find Files: The /contents=... switch did not work in the Name field. Now 
      it does, and it overwrites anything states in the Contents tab. So, if the 
      switch is present, the tab is ignored.
    ! On wake up after sleep some user colors were not restored correctly. Fix #2.
    ! SC popupmainmenu: The last submenu ("Help") did not pop anymore since 
      20161102. 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: 60547
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

v17.30.0110 - 2016-11-12 12:11
    + DEBUG: Added some experimental extra code for single file copying (shell 
      copy, foreground) under Win7. (It did not work for some users.)
    * Main Title Bar: Too much information on search tabs. Now the current tree 
      path is not shown anymore on Find Files, Quick Search, and Branch View.
    ! Main Title Bar: Was not updated when changing to a Multi Branch View tab. 
      Fixed.
    ! Multi Branch View: Wrong tree folder selected when switching to a Multi 
      Branch View tab. 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: 60547
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

v17.30.0111 - 2016-11-14 17:01
    - Removed the experimental extra code for single file copying (shell 
      copy, foreground) under Win7. It made things only worse.
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: 60547
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

v17.30.0112 - 2016-11-15 13:20
    ! Custom Copy: Fixed a drawing glitch in the overwrite prompt on large DPI 
      settings (> 200%).
    * XYcopy: Updated to 2.10.0091.
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: 60547
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

v17.30.0201 - 2016-11-16 15:00
  +++ Find Files: Added selector "cont:". Use it to compare the pattern with the 
      textual contents of the file (folders are ignored).
      It's a simple vanilla text comparison supporting wildcards * and ?. Like 
      the following settings on the Contents tab:
        Mode: Wildcards
        Type: Text
        All else unchecked. So the search is case-insensitive (A==a).      
      Examples:
                                  //matches all files...
        cont:chicken              //containing "chicken" (or "CHICKEN") anywhere
        cont:chicken*             //containing "chicken" at the beginning
        :cont:chicken or dog      //containing "chicken" or "dog" anywhere
        :chicken or cont:chicken  //containing "chicken" in the name or the contents
        cont:"chicken"            //with content == "chicken"
        cont:*                    //that are content searched (e.g. PNG files are not)
        cont:?*                   //that are content searched and not empty
        cont:""                   //that are content searched and empty
      Of course, it also works in Quick Search:
        ?cont:chicken             //containing "chicken" (or "CHICKEN") anywhere        
      Remarks:
        - Remember that content search can take time.
        - This feature opens content search to Boolean OR. Nice!
    + Scripting: Now multi-script nesting can be defined with relative levels. 
      This can be useful when building menus from local resources by use of the 
      Include statement.
      Syntax: A relative level is marked by a prefixed "+" character. The 
      number following "+" is added to the last defined absolute level.
      For example, the following two code samples create identical nested 
      multi-scripts:
      ------------------------------------------------------------------------
      "A" echo "A";
      "B|||1" echo "B";
      "C|||2" echo "C";
      "D|||1" echo "D";
      "B|||2" echo "B";
      "C|||3" echo "C";
      ------------------------------------------------------------------------
      "A" echo "A";
      "B|||+1" echo "B";
      "C|||+2" echo "C";
      "D|||1" echo "D";
      "B|||+1" echo "B";
      "C|||+2" echo "C";
      ------------------------------------------------------------------------
      However, the second sample uses relative levels which allows it to re-use 
      the same part of code twice:
        "B|||+1" echo "B";
        "C|||+2" echo "C";
      So this part of code could be outsourced to a file say 
      "IncludedMenuBC.xys" and then be included like this:
      ------------------------------------------------------------------------
      "A" echo "A";
      include "IncludedMenuBC.xys"
      "D|||1" echo "D";
      include "IncludedMenuBC.xys"
      ------------------------------------------------------------------------
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: 60547
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

v17.30.0202 - 2016-11-17 20:51
    % Slightly optimized (sped up) sorting in the list view. Probably not 
      notable in lists < 250,000 items.
    ! Find Files | Contents: Search errored out on UTF-8 encoded files larger 
      than 100 MB. 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