.. highlightlang:: us .. _what's-new-in-uniplot-4.2.0: .. _news-4-2-0: What's New in UniPlot 4.2.0 =========================== This page describes the changes made to UniPlot 4.2.0 since version 4.1.5. New Features ------------ * Some of the dialog boxes can be resized using the mouse. (See UniScript function :ref:`DialogBox`.) * New dialog element: Tree-Control. (See UniScript function :ref:`DialogBox`.) * UniScript-Strings are now eight-bit-clean, which means a string in UniScript can now hold binary data. Before this modification a string ended at the first character with the code 0 (see :ref:`string-constants`). * Data Browser: The channel data can be displayed in rows or columns (see :ref:`browseroptions`). * Data Browser: The data records can be sorted in ascending and descending order. (See :ref:`browsersort`.) * Formula Interpreter log file. (See :ref:`browsercheck-formula`). * New Article in :ref:`uniplot-tools`. Two new tools are introduced :ref:`ncgen_exe` and :ref:`ncdump_exe`. * New SQLite version 2.8.16 (see :ref:`overview-sqlite`). * New File function :ref:`filemore-file-functionsmerge-documents`. New UniScript Functions ----------------------- .. us.makeindex New420, New Functions in UniPlot 4.2.0 .. include:: ../ftab/New420.ftab Modified UniScript Functions ---------------------------- .. us.makeindex Changed420, Changed Functions in UniPlot 4.2.0 .. include:: ../ftab/Changed420.ftab Bug Fixes --------- The following bugs have been fixed: * (ID334) The Save As Command in the editor always added the extension ``.ic``. If a file name with a different extension was typed in, e.g. test.txt the file was saved as test.txt.ic. The function has been changed The extension will only be added to the file name if no extension is given. * (ID653) The call :ref:`sqlite_open("") ` caused a memory access violation. * (ID660) Scrolling problem: Using the scroll bars white lines were added to the display. * (ID676) The Help button did not work in the :ref:`browserinterpolation` dialog box. * (ID686) Open Data Browser => Channel-Interpolation => Cancel => Data is missing. Workaround: Reopen Browser. * (ID691) NC-Browser: Channels were missing if columns were moved and than a new NC file was selected without closing the dialog box. The error occurred if the new NC file had less channels than the currently open NC file. * (ID702) UTX-Filter: If an Excel file in the UTX format contained new line characters (Alt-Enter) inside a cell, e.g in a channel name, the file could not be imported correctly. Newline characters are now removed. * (ID707) Dataset copy: The datasets were copied to the clipboard in the order they were selected. Now they are copied to clipboard in the order they are displayed in the diagram. The same is valid for copying drawing objects to clipboard. * (ID716) If a dataset was loaded from a file, in which the file name contains a percent character ("%") the data exchange failed. * (ID718) Exchange Datasource: During the data exchange using the :ref:`data-data-exchange-page` function all placeholder values which could not be found in the NC file were replaced by an empty string. * (ID720) Stacked Diagram: When a y-axis was added to a stacked diagram the grid settings were set to default. Now the settings are set to default only when the grid is created. The y division is set to 1 centimeter when the grid is created. * (ID721) The user name could not be removed in :ref:`toolsmore-options`. * (ID734) Akimaspline: The function used an invalid data point to calculate a coefficients. The result was that all points between the second last and the last original data point were set to 0. The error occurred irregular. * (ID736) Error in Exchange Data source (dx-Function). See :ref:`insert-datasets-into-a-template`. If a data source had more than one option, the table created were incorrect. To fix is insert the following line to :file:`\\uniplot\\script\\dx-main.ic`:: ssFile = sum(svPath[3:4]) + " {" + ssImportOptions + "}"; before (line 133) :: ssImportOptions = strcat(ssImportOptions, ","); This bug is fixed in 4.2.0. * (ID740) The input of "def test()" in the command window can cause a memory violation error. The function is defined but invalid. Steps to create the bug 1.) Type "def test()" and press enter 2.) type ";" 3.) function test() is invoked => Crash. The bug has been fixed. * (ID748) Style file (:ref:`toolsdataset-style-configuration`): Umlauts and other special characters in style names are not handled correctly. 2. Error: If you create a style "abc" the name is displayed as 2D-abc='name'. The name should have been displayed as name='2D-abc'. The bug does not occur if at least one attribute is added, e.g bar='1'. 3. Error: Style file name is not displayed (only 4.2.0 beta 1). :sub:`id-1717504`