6 This file details the changes between 6.0.0-beta-1, 6.0.0-alpha-2, 6.0.0-alpha-1, and the previous release, version 5.5.2.
8 For a high-level overview of the changes in this release, please consult the "What's new" page of the help, by simply typing "help" in Scilab console.
13 Changes between version 6.0.0-alpha-2 and 6.0.0-beta-1
14 ======================================================
16 * Bug #13918 fixed - Unmanaged operations on hypermatrix did not call overload functions.
18 * Bug #13298 fixed - Static analysis bugs detected by PVS-Studio fixed.
20 * Bug #13986 fixed - setdefaultlanguage did not set value correctly in Windows registry.
22 * Bug #13990 fixed - Windows installer did not ship all localization files.
24 * Bug #14178 fixed - tcl/tk unavailability on MacOS is now documented.
26 * Bug #14041 fixed - genlib crash when the file is locked by another program.
28 * Bug #14181 fixed - Calling intg (or integrate) in a function that is being integrated failed.
30 * Bug #14251 fixed - `spec` leaked some memory.
32 * Bug #14253 fixed - Insertion in a struct contained in a list fixed.
34 * Bug #14257 fixed - English spelling in messages and in comments.
36 * Bug #14257 fixed - English spelling in messages and in comments.
41 * Apache xmlgraphics stack upgraded to the latest versions :
42 - xmlgraphics-commons 2.0.1
46 Changes between version 6.0.0-alpha-1 and 6.0.0-alpha-2
47 =======================================================
52 * Scilab now includes a full-featured debugger, with ability to run Scilab scripts or functions step-by-step, to put (conditional) breakpoint, in particular break only when an exception is set. Run "help debug" for more information.
54 * A new profiler and coverage tool has been added.
55 It replaces the "profile" function (which is still there but not working, and will be removed in the final release).
56 It produces HTML report for the time spent (profile) on each line. Example of use:
58 covStart(isempty) // instruments the "isempty" macro; instrumenting a whole library can be done with: covStart("elementary_functions")
59 for i=1:1e5; isempty(i); end // execute some code - this will be profiled
60 covWrite("html", "TMPDIR/coverage") // write the profiling/coverage report as "report.html" in the folder specified as second parameter
61 covStop(); // stop the profiling
63 A function to merge multiple profiler/coverage is provided too: covMerge([ list_of_files_to_merge], file_to_merge_to).
64 The API will change before the release; the current API is mostly to get feedback from the community.
66 * A "lint"-like command, slint, has been added, for code static analysis: it detects unclear, risky or suspicious code.
67 Usage: slint("<sci filename>"). It is not documented yet.
72 * Valgrind error detection added to test_run (on Linux only)
74 * Addition or subtraction with an empty matrix now return an empty matrix.
76 * SSE2, Streaming SIMD Extensions 2 support is now mandatory to run Scilab on Linux i686.
78 * A call stack limit has been introduced. Default maximum depth is setup to 1000 and
79 can be changed by new function recursionlimit or by preferences interface.
81 * The floating point exception mode (ieee) is now set to 2 by default: floating point exceptions now produce "Inf" or "Nan",
82 and do not cause any error. The previous behavior can be recalled by simply calling: ieee(0)
87 * User-defined functions written in C (gateways) must now use the "pvApiCtx" name for their second parameter, for example:
89 int sci_Levkov(char *fname, void* pvApiCtx)
91 instead of any "unsigned long l". This is now requires for some macros, such as Rhs(), to work.
92 (Although not strictly an API change, it may require gateway code to be modified).
97 * Bug #11511 fixed - error() did non accept string matrix (non regression test).
99 * Bug #12044 fixed - Adding or substracting the empty matrix now return an empty matrix.
101 * Bug #12928 fixed - int functions with %nan and %inf return wrong values.
103 * Bug #13709 fixed - unique function sometimes returned wrong index values.
105 * Bug #13750 fixed - Calling ss2ss function with flag = 2 returned an error.
107 * Bug #13780 fixed - size with two input and output arguments did not return an error.
109 * Bug #13843 fixed - Scilab crashed when polarplot and plot2d were called with wrong strf value.
111 * Bug #13853 fixed - plzr() returned wrong results for discrete-time systems with a numeric time step.
113 * Bug #13862 fixed - There was no lazy evaluation of 'or' operands in 'if' tests.
115 * Bug #13864 fixed - macro %l_isequal was useless in Scilab 6.
117 * Bug #13872 fixed - Non regression test added for unique function (the indices returned were wrong)
119 * Bug #13890 fixed - getd did not return loaded symbols in previous scope.
121 * Bug #13893 fixed - simp() function did not set a rational denominator at 1 when numerator was equal to zero.
123 * Bug #13894 fixed - Default working directory of the previous session did not work.
125 * Bug #13903 fixed - get_function_path() returned a path with a missing file separator.
127 * Bug #13907 fixed - Avoids the gray background on the right panel of the palette Browser.
129 * Bug #13908 fixed - part(text, n:$) was very slow.
131 * Bug #13919 fixed - Scilab parsed "hidden" as a reserved keyword but it is not used.
133 * Bug #13920 fixed - `getscilabkeywords` help page should be in the "Scilab keywords" section.
135 * Bug #13931 fixed - handle "aarch64" processor for some Linux distribution.
137 * Bug #13944 fixed - The menu "Toolboxes" was missing.
139 * Bug #13983 fixed - who_user returned wrong values.
141 * Bug #13990 fixed - `gettext` did not manage the added '_W' macro.
143 * Bug #14020 fixed - Incorrect carriage return ascii code.
145 * Bug #14022 fixed - getscilabkeywords() was KO (+gateway what() added).
147 * Bug #14023 fixed - It was not possible to concatenate cells.
149 * Bug #14024 fixed - Print of macrofile display a debug message
150 instead of macro prototype.
152 * Bug #14025 fixed - head_comments did not take into account compiled functions.
154 * Bug #14028 fixed - force flag of genlib did not rebuild bin file.
156 * Bug #14036 fixed - tag and user_data properties were not displayed and not documented for light entity.
158 * Bug #14038 fixed - Encoded integers were no longer accepted for list extraction.
160 * Bug #14040 fixed - graphic property setting fails when using array of handles
162 * Bug #14043 fixed - Examples of api Scilab help pages had to be updated (pvApiCtx in gateway prototypes).
164 * Bug #14047 fixed - wrong behaviour of break ( continue ) in if outside of loop.
166 * Bug #14049 fixed - genlib hangs if an unexpected endfunction occurs.
168 * Bug #14055 fixed - overload on matrix concatenation did not called with [].
170 * Bug #14057 fixed - grand(m,n) returned a wrong error and grand(m,n,p) called an overloading function instead of returning an error.
172 * Bug #14058 fixed - Scilab crashed with 'file("close", file())' instruction
174 * Bug #14059 fixed - Lack of performance on deletion of matrix elements.
176 * Bug #14065 fixed - Change "java size" in points in graphics font help page.
178 * Bug #14082 fixed - m=1; m()=1; made Scilab crash.
180 * Bug #14093 fixed - atanh returns NaN for values with an absolute value greater than 1
182 * Bug #14095 fixed - Scilab crashed when a .fig file was loaded with loadmatfile function.
184 * Bug #14097 fixed - genlib no more adds a separator at the end of the lib path if it is not given in the directory path.
186 * Bug #14105 fixed - New block comments /*...*/ feature was not documented.
188 * Bug #14107 fixed - lstcat of a string and a list did not produce consistent results.
190 * Bug #14109 fixed - lsq function crashed Scilab when Scilab version depended on mkl library.
192 * Bug #14113 fixed - Scilab 6 did not detect infinite loop.
194 * Bug #14135 fixed - crash when running "Graphics -> Matplot -> Java Image" demonstration.
196 * Bug #14141 fixed - recursive insertion: gcf().attribute=value => "Wrong insertion : function or macro are not expected".
198 * Bug #14144 fixed - Scilab crashed with int64(2^63).
200 * Bug #14149 fixed - hdf5 could not restore hypermatrix with good dimensions.
202 * Bug #14150 fixed - The Windows SDK was not found on Windows 8.1.
204 * Bug #14156 fixed - mfscanf returned an empty matrix when datafile contained a header.
206 * Bug #14159 fixed - Matplot crashed Scilab on boolean input.
208 * Bug #14187 fixed - fscanfMat failed to read format %d, %i and %f.
210 * Bug #14199 fixed - sqrt returned wrong dimension results on matrix with more than dimensions.
212 * Bug #14203 fixed - Improve some error messages, some help pages and some comments.
214 * Bug #14204 fixed - dec2bin ( dec2base ) must show a better error message for too large values.
216 * Bug #14205 fixed - Console crash when assigning uint32 numbers to double matrix.
218 * Bug #14209 fixed - 1:245 created infinite loop.
220 * Bug #14212 fixed - Scilab 6 did not load array of struct from Scilab 5.5 files correctly
222 * Bug #14219 fixed - As bug #14203, improve some error messages, some help pages and some comments.
224 * Bug #14223 fixed - det returned an error when it is used with a singular matrix.
226 * Bug #14225 fixed - command-line option "-quit" should set the processs Exit status
228 * Bug #14228 fixed - Setting rotation_angles property to a matrix of any size did not return error message.
230 * Bug #14232 fixed - Typos in Xcos.
235 Changes between version 5.5.2 and 6.0.0-alpha-1
236 ===============================================
242 * New language parser and interpreter. See the help for more details.
244 * Support for bigger data sets: dynamic memory usage. No need for "stacksize" anymore. See the help for more details.
246 Other feature additions
247 =======================
249 * scatter/scatter3 plot with different mark colors is now available.
251 * parulacolormap is now available.
253 * name2rgb can now handle a single string and a matrix of strings.
259 * Under Windows, MKL packages are now included in Scilab installer and no more
260 downloaded while installing Scilab.
266 * A C++11 compliant compiler is now needed.
268 * Java minimal version switch to 1.8.
270 * Ant minimal version switched to 1.9.0 (for Java 1.8 compatibility).
272 * ecj minimal version switched to 4.4.0 (for Java 1.8 compatibility).
274 * --without-xcos now only disable Xcos compilation. Xcos graphical interface is disabled
278 Packaging & Supported Operating Systems
279 =======================================
281 * Scilab embedded JVM has been upgraded to Java 1.8. To run or compile Scilab 6.0.0-alpha-1 you need at least:
286 Windows Server 2008 R2 SP1 (64-bit)
287 Windows Server 2012 (64-bit)
289 Intel-based Mac running Mac OS X 10.8.3+, 10.9+
291 Red Hat Enterprise Linux 5.5+, 6.x (32-bit), 6.x (64-bit), 7.x (64-bit)
292 Oracle Linux 5.5+, 6.x (32-bit), 6.x (64-bit), 7.x (64-bit)
293 Ubuntu Linux 12.04 LTS, 13.x
294 Suse Linux Enterprise Server 10 SP2+, 11.x
295 For more information, please consult: http://java.com/en/download/help/sysreq.xml
302 - now checks its parameters are real numbers,
303 - now throws an error if the second parameter is not a scalar.
309 * The use of I/O console is now allowed with the following functions:
310 mget, mgetl, mgetstr, mput, mputl and mputstr.
312 * mclearerr now returns a flag indicating the file identifier validity.
314 * fileinfo can now take a row vector as input.
316 * msprintf no more returns an error message when there are too many input arguments (more values that format needs).
322 * cells and structs are now native types, hence improving performances.
325 - insertion and extraction must be done via () or {}.
326 - .dims and .entries fields have been removed, please use size and () instead.
329 - dims field has been removed, please use size instead.
332 - hypermatrices are natively managed (without mlist overloading).
333 - typeof function now returns real type like constant, string, ... instead of hypermat
334 - type function returns real type like 1, 10, ... instead of 17 (mlist).
335 - .dims and .entries fields have been removed, please use size and () instead.
340 * maxfiles function is now obsolete.
342 * intersci has been removed. Please use swig instead.
344 * numdiff has been removed. Please use numderivative instead.
346 * derivative has been removed. Please use numderivative instead.
348 * curblockc has been removed. Please use curblock instead.
350 * extract_help_examples has been removed. (Undocumented and based on former help format).
352 * Symbolic module functions have been removed:
364 Removed Functions (based on former Scilab stack)
365 ================================================
375 * getvariablesonstack.
387 * -mem option (used to set stacksize at startup).
393 * exec: exec of macro executes the body in the current scope but the prototype must have zero input and output arguments.
394 * error: an error number in input is deprecated.
395 * impl: Recall impl with the same parameters as in its previous stop is now available.
396 * ode: y0 is restricted to a column vector.
397 * pppdiv: Return a scalar of type 'constant' when the rank is 0.
398 * pdiv: Return a matrix of type 'constant' when all the rank are 0.
399 * typeof: Add a 2nd argument "overload" of get overloaded name (typeof(cell(), "overload") -> "ce")
403 =====================
405 * Declaration of a number on two lines is no longer allowed:
409 * {"foo"} returns a cell not a string matrix.
411 * Declaring non-homogenous strings ("string' or 'string") is no more allowed.
413 * New shortcut operators have been introduced: && and ||.
417 =====================
419 * {} becomes different of [] and will be used on cells.
421 * Syntax %i:10 is now deprecated (only real scalars can be used).
423 * Writing string or string matrix in a file does not add blanck space before each value:
424 write("TMPDIR/test", ["test", "sample"; "sample", "test"])
425 "-" + mgetl("TMPDIR/test") + "-"
427 * while/else control instruction is no more supported.
429 * (a=b) executed like a == b is now deprecated and returns an error.
435 * Bug #6064 fixed - scatter function did not exist in Scilab.
437 * Bug #8990 fixed - zoom_auto feature was missing on the plot toolbar.
439 * Bug #9621 fixed - A tlist with undefined fields can now be saved.
441 * Bug #12202 fixed - Mixing int8 and doubles with colon operator led to wrong results.
443 * Bug #13289 fixed - Using non-integer indexes for mlists made Scilab crash.
445 * Bug #13517 fixed - isdef crashed Scilab when called with a vector of strings
446 as input in a function and after a declaration of variable.
448 * Bug #13807 fixed - Invalid margins were computed when figure was not visible.
450 * Bug #13829 fixed - mean and sum functions returned wrong results for hypermatrices.
452 * Bug #13834 fixed - Drawing a high number of strings in a figure generated a Java exception.
454 * Bug #13838 fixed - Sparse and complex substraction made Scilab crash.
456 * Bug #13854 fixed - Under some operating systems, SciNotes did not initialize a new document at startup.
458 * Bug #13866 fixed - There were some issues with FFTW3 library.
460 * Bug #13881 fixed - datatipRemoveAll did not work.
462 * Bug #13924 fixed - rationals r1==r2 and r1~=r2 might sometimes be wrong.
464 * Bug #13925 fixed - SciNotes used the wrong paired bracket highlight style.
466 * Bug #13941 fixed - Internal timestamps of HDF5 files prevented having a fixed
467 hash for an unvarying set of saved objects.
469 * Bug #13942 fixed - Now the palette browser tree is always resized when
472 * Bug #13971 fixed - A space has been added between Scilab prompt and cursor.
474 * Bug #13972 fixed - Wildcard ('*') was not managed in printf expressions.
476 * Bug #14043 fixed - Gateway C prototype changed from int sci_...(char *fname, unsigned long l)
477 to sci_...(char *fname, void* pvApiCtx). Variable name has to be
478 exactly "pvApyCtx" when macros are used in a gateway. (1)
480 * Bug #14044 fixed - MALLOC.h is now renamed to sci_malloc.h. (1)
482 (1) originally not documented in the alpha 1 release.
487 * Xcos does not work in this version.
489 * This version will start in English by default.