Change Log for the latest
XYplorer BETA version:
Code: Select all
v13.30.0008 - 2013-11-18 12:13
+ Scripting | Math Operations: Now, in German Windows, you can enter
fractional constants in international format (decimal separator =
dot) by leaving them unquoted. This is obviously the preferred way
to go now for locale-independent scripts.
Examples that now work in any Windows:
echo 17.5 * 2; //35
echo -17.5 * 2; //-35
echo 17.5 + 17.5; //35
echo format(17.5); //17,5
echo format(17.5, "00.00"); //17,50
Note: This only works in German Windows as "17,5" is no number in
English Windows:
echo format("17,5", "00.00"); //17,50
Note: Entering a fraction with dot in German Windows will not work
as "17.5" is no number in German Windows:
echo "17.5" * 2; //0
Note: Do not enter the German decimal separator unquoted:
echo format(17,5 , "00.00"); //5 (totally invalid syntax)
Note: Here format() sees the dot as German thousand separator and
simply ignores it when determining the value of the number:
echo format("17.5"); //175
echo format("17.5", "00.00"); //175,00
- Scripting | Math Operations: Removed the change in v13.30.0007.
Now you can do any of the following in German Windows:
$n = "17,5"; echo $n; //17,5
$n = 17.5; echo $n; //17,5
This will NOT work as expected since you must not enter German
decimal separator unquoted:
$n = 17,5; echo $n; //17!
! Scripting | Math Operations: There was still a problem with
German fractions.
echo "17.5" * 2; // -> 34! WRONG, should be 0
Fixed.
* SC formatbytes: Now the above changes for German fractional
constants also apply here:
RIGHT in German Windows:
echo formatbytes("1,34 MB", "KB"); //1.372,16 KB
echo formatbytes(1.34 . "MB", "KB"); //1.372,16 KB
WRONG in German Windows:
echo formatbytes("1.34 MB", "KB"); //137.216,00 KB !!
echo formatbytes(1,34 . "MB", "KB"); //1 !!
RIGHT in any Windows:
echo formatbytes(1.34 . "MB", "KB"); //1.372,16 KB
So, the last version is obviously the preferred one for locale-
independent scripts.
* XYcopy: Updated to 2.10.0043.
% Main Window: Now the width of checkboxes is auto-adjusted to their
caption.
* Configuration | Styles | Focus rectangle: Now this setting is also
respected by the file list when the focused item is not selected.
Before, a non-selected focused item would always get the Focus
rectangle.
! Image Preview and Thumbnails: Extremely proportioned images (e.g.
aspect ratio 650:1) were not correctly previewed in the Preview
Tab, and could even crash the app on thumbnail creation. 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.