What’s New in UniPlot 4.1.1

This page describes the changes made to UniPlot 4.1.1 since version 4.1.0.

News

  • A new chapter UniScript Objects has been added to the UniScript manual.
  • Almost all operators can be overloaded in the new UniScript objects (see Operator Overloading).
  • Waterfall Configuration: The base value for color filling has been added to the waterfall configuration dialog box.
  • Formula Interpreter: A new user provided callback function has been added: OnFormulaStartEval.

Bug Fixes

The following bugs have been fixed:

  • Filter functions for 2D datasets: If more than one filter function was specified the second and all following filter functions used the original and not the filtered data. This bug has been fixed.

  • XYGetData: The function call XYGetData(hData, 0) returned the value 0 and not as documented the original data. This bug has been fixed.

  • Channel Interpolation: Channels containing missing_values could not be interpolated. This bug has been fixed.

  • Import, Load Dataset: If a dataset in a diagram was selected the load function failed. This bug has been fixed.

  • Style Files: The isoline values, color and pens got lost during the conversion of style files in the UniPlot 3.x format. This bug has been fixed.

  • 2D Dataset Style: When a curve was selected the style in the toolbar combobox would not be selected. This bug has been fixed.

  • GetDirectory did not return hidden files. This bug has been fixed. GetDirectory is now a uniscript function. The source code can be found in the script\object.ic file

  • Objects created with obj_create had a problem. Some expressions could only be evaluated using helper variables:

    // o = obj_create()
    // o.a = obj_create()
    // o.a[1] = 123
    o = obj_create()
    o.a = obj_create()
    temp = o.a
    temp[1] = 123
    // o = obj_create()
    // o[1] = obj_create()
    // o[1][1] = 123
    o = obj_create()
    o[1] = obj_create()
    temp = o[1]
    temp[1] = 123
    

    This bug has been fixed. With UniPlot 4.1.1 even the forms marked as comments can be used.

  • UniPlot setup program: The PDSI Ini file was overwritten. This bug has been fixed.

  • If utf8_encode and utf8_decode were invoked with an empty string (e.g. utf8_encode(strempty(1,1))) a memory access violation occurred. This bug has been fixed

  • The functions strCharToOem and strOemToChar were missing.

  • UniScript: If a function contains more than 255 variables UniScript caused and access violation. In 4.1.1 an error message is displayed.

  • UniScript: UniScript files with more than 32700 lines of code could not be used. This bug has been fixed.

  • An error in the XYZAddIsoValues function has been fixed.

  • UniScript-Debugger: The debug window (Alt+3) did not display the right variables.

id-734464