1 Changes between version 5.3.3 and 5.4.0 of Scilab
2 =================================================
8 * Version 5.4.0 introduces XML management features. It allows easy access to
9 XML files, validation and writing.
11 - XMLObjects - Describe the properties of the different XML objects
12 - xmlAddNs - Add a namespace to a XML Element
13 - xmlClose - Close a XML document
14 - xmlDTD - Create a XML DTD object
15 - xmlDocument - Create a new XML document
16 - xmlDump - Dump a XML object
17 - xmlElement - Create a new XML element
18 - xmlFormat - Format a Scilab variable into XML
19 - xmlGetNsByHref - Get a namespace by its href
20 - xmlGetNsByPrefix - Get a namespace by prefix
21 - xmlGetOpenStreams - Get all open XML documents or all open XML Validation files.
22 - xmlNs - Create a new XML Namespace
23 - xmlRead - Read a XML stream from a local or distant file
24 - xmlReadStr - Read a XML tree from a string
25 - xmlRelaxNG - Create a XML Relax NG object
26 - xmlSchema - Create a XML Schema object
27 - xmlValidate - Validate a document in using a DTD, a Relax NG or a Schema.
28 - xmlWrite - Write a XML document in a file
29 - xmlXPath - Make an XPath query on a XML document
31 These features have been developped in the context of the OASIS R&D project.
37 * Add marks in the vertical scrollbar to see the positions of matching words
38 when an incremental search is done (via F3 or in selecting text).
40 * In the find/grep tools, add the possibility to use ~ as a joker for user home
41 dir. and SCI for Scilab data base dir.
43 * Add an 'Save and Execute all files' action.
45 * A tab can be closed in using the middle mouse button.
47 * bug 9334 fixed - Extra lines were added when code was exported into PDF under
50 * Bug 9358 fixed - A simple quoted string was not always correctly convert
51 into double quoted one.
53 * bug 9476 fixed - In find/grep tools, use the abbreviation 'sec' instead of
56 * bug 9480 fixed - Highlighted words after selection were wrong under Windows.
58 * Bug 9484 fixed - An empty file was not removed when an existing file was
61 * Bug 9488 fixed - There was no popup menu on the tab to copy the file path.
63 * bug 9505 fixed - A LaTeX string in a comment was not considered as a comment.
65 * bug 9597 fixed - It was not possible to navigate across the tabs with
66 <CTRL>+(PAGE_UP | PAGE_DOWN).
68 * bug 9740 fixed - There was no way to have \n in replacement string.
70 * bug 9854 fixed - There was a miscolorization with strings containing several
73 * bug 9897 fixed - With Mac OS, eol was not replaced by \n when code was copyed
74 from Word to SciNotes.
76 * bug 9878 fixed - Add a shortcut "Correct indentation" in right click menu.
79 Graphical User Interface:
80 =========================
82 * The variable browser now refresh itself automatically (See bug 9446).
88 * bug 10006 fixed - Unrelevant C-comment in the example of ScilabHaveAGraph
95 * xcos_skeleton will not be loaded if you have not installed Xcos.
97 * scilab -f file.xcos opens xcos diagram in xcos.
99 * Error reporting has been improved to print warnings on blocks into Xcos.
101 * Diagram export / compilation / simulation phase are now visible on the status
102 bar before the operation.
104 * The style of the block can be changed on the interface function.
106 * BARXY Block added to help 2D Mechanics system visualization.
108 * bug 7985 fixed - dmmul.c did not use dgemm routine optimized by BLAS.
110 * bug 8421 fixed - CLKFROM and CLKGOTO were not part of the "Signal Routing"
113 * bug 8538 fixed - Counter block label was not reflecting parameters
115 * bug 9301 fixed - Exception when one tried to paste a column to replace a
118 * bug 9336 fixed - SuperBlock with non connected ports produced an invalid
121 * bug 9390 fixed - FROMWSB_c block does not reset to the default values on
122 ReInitialization execution.
124 * bug 9478 fixed - Block structure was not checked while adding them to a new
127 * Bug 9501 fixed - With a localized TMPDIR, block edition could throw an HDF5
130 * bug 9506 fixed - some libraries dependencies were not loaded for
131 xcos_skeleton startup.
133 * bug 9532 fixed - Users defined blocks had no icons when saved.
135 * bug 9547 fixed - The about box was not localized due to a multi-line string.
137 * bug 9590 fixed - xcos examples were not embeded in binary version on Windows.
139 * bug 9732 fixed - code generation failed on compilation on Windows with
140 "unresolved external symbol dset_".
142 * bug 9750 fixed - Minor error in the help page of scicos_debug fixed.
144 * bug 9810 fixed - MATINV wrong simulation values errors has been improved.
146 * bug 9947 fixed - VARIABLE_DELAY block could not be dragged to a diagram.
148 * bug 9972 fixed - Error reporting with a wrong context produce an endless
151 * bug 9988 fixed - CLKSOMV_f has a wrong interface function after loading from
154 * bug 10003 fixed - The MAXMIN block did not update its display according to
157 * bug 10069 fixed - AFFICH_m block did not update its display at
163 * Czech localization by Zbyněk Schwarz
165 * bug 10032 fixed - Force the unset of the environnement variable LANGUAGE to
168 * bug 10032 fixed - Mac OS X locale detection did not take in account
174 * mgetl, exec, fscanfMat functions manage files encoded as UTF-8 with BOM.
176 * tempname function added (SEP 68).
182 * The assert module provides a set of assertion functions.
183 The goal of this module is to provide functions to check the
184 behavior of some other functions, for example in unit tests.
185 We emphasize the use of consistent tools for testing numerical
186 issues, with the goal of testing numerical algorithms more easily.
187 In particular, we provide a comparison function for two floating
188 point numbers, which allows to check that two numbers are
189 "numerically almost equal", i.e. that the relative error is small.
190 This automatically fixes the bug #4381.
192 * The damp function in CACSD modules computes the natural pulsation
193 and damping factor of linear dynamical systems.
198 * neldermead: Added a demo - search for largest smallest polygon.
200 * Improved clarity of examples in the help pages of the
202 Avoid unnecessary calls to "deff".
203 Avoid the "all statements in whole line" style.
205 * bug 7891 fixed - The neldermead component had too many options.
206 Tagged -costfargument option of optimbase as obsolete: will be
207 maintained for backward compatibility until 5.4.1.
208 The -fun option can now be a list, where the element #1 is a
209 function, and the elements #2 to the end are automatically appended to
210 the calling sequence.
211 Tagged -outputcommandarg option of optimbase as obsolete: will be
212 maintained for backward compatibility until 5.4.1.
213 The -outputcommand option can now be a list, where the element #1 is
214 a function, and the elements #2 to the end are automatically appended
215 to the calling sequence.
216 Tagged "outputfun(x,optimValues,state)" calling sequence of fminsearch
217 as obsolete: will be maintained for backward compatibility until
219 The new calling sequence is "stop=outputfun(x,optimValues,state)"
220 Tagged "myoutputfun(state,data)" calling sequence of neldermead
221 as obsolete: will be maintained for backward compatibility until
223 The new calling sequence is "stop=myoutputfun(state,data)"
224 Tagged "-myterminateflag" and "-myterminate" options as obsolete:
225 will be maintained for backward compatibility until 5.4.1.
226 See the help page of neldermead for details to update your
229 * bug 9566 fixed - The tolvarianceflag, tolabsolutevariance,
230 tolrelativevariance options of neldermead are now obsolete.
231 See the help page of neldermead for details to update your
234 * readmps - Created unit test.
235 Fixed bug in the management of error messages.
236 Fixed bug in the reading of a test file.
237 Defined a printing system by overloading for MPS structure.
238 Updated the help page.
240 * genetic_algorithms - performances improved (2 to 4 times faster).
242 * Bug 7093 fixed - The data structure generated by neldermead_new could not
243 be saved and reloaded.
245 * Bug 7889 fixed - The tolerance on x for neldermead was too small.
246 Updated -tolxrelative default value from %eps to sqrt(%eps).
248 * Bug 7892 fixed - The neldermead component did not provide a default
250 The new function neldermead_defaultoutput was created
251 to print a simple one-line output message by iteration.
253 * Bug 8805 fixed - The 'neldermead' function, algorithm box, wrongly used
256 * Bug 9567 fixed - The neldermead Overview had a TODO section.
258 * Bug 8542 fixed - In neldermead, there were undocumented default options.
259 Same changes applied to the help of optimbase.
261 * Bug 8543 fixed - In neldermead, the help page presents a wrong order
264 * Bug 8545 fixed - In neldermead, the printing system displays too long
267 * Bug 8546 fixed - The neldermead functions may call f outside the bounds.
269 * Bug 8547 fixed - The neldermead function called f outside the constraints.
271 * Bug 8549 fixed - The neldermead function did not help to debug
274 * Bug 8552 fixed - Improved fminsearch to provide Extra Parameters.
275 Help page updated with new section "The cost function".
276 Help page updated with new example "Passing extra parameters".
278 * Bug 8676 fixed - The pack/unpack functions had no help pages.
280 * Bug 8777 fixed - The neldermead function failed to restart with bounds.
281 Added examples of restarts with/without bounds in the
282 neldermead help page.
284 * Bug 9323 fixed - The messages in optimbase_checkbounds were not localized.
285 Same changes applied to optimbase_checkx0.
287 * Bug 9472 fixed - The 'ind' argument of optim was unconsistently documented.
289 * Bug 9576 fixed - The neldermead component did not check the bounds
290 of some input parameters.
292 * Bug 9578 fixed - The optimbase_configure function does not check the
293 values of input arguments.
295 * Bug 9607 fixed - The optimsimplex_new function poorly managed the
296 variable number of arguments.
298 * Bug 9612 fixed - The quapro help page has been removed.
300 * Bug 9698 fixed - The optim/"gc" algorithm does not support imp=-1
302 * Bug 9822 fixed - The value ind=1 of optim is not supported by
309 * bug 9357 fixed - stdevf returned zero for row vector arguments.
311 * bug 9846 fixed - stdevf() gives zero result when a single row matrix is evaluated.
316 * bug 9749 fixed - expm reported non convergence problem.
322 * A new system to keep track of the translations of the main documentation
323 has been developed. See HTTP:// @TODO@
326 * <ALT>+<LEFT ARROW> / <ALT>+<RIGHT ARROW> allows the browse of the history.
329 * The space key behave like the page down key. (see bug 9491)
331 * Management of the revhistory / revision tag to provide information about
332 the history of the function.
334 * Bug 3431 fixed - some helptools functions were obsoletes and not removed.
336 * Bug 9299 fixed - Fix a typo in the cspect, pspect and window help pages
337 (Hanning changed to Hann)
339 * Bug 9320 fixed - analpf help page give wrong frequency units of omega (Hz instead of rd/s)
341 * Bug 9417 fixed - In English, api_scilab polynom help pages updated to the word
344 * Bug 7134 fixed - help_from_sci produced an invalid .xml file.
346 * Bug 7133 fixed - help_from_sci function did not return the function template.
348 * Bug 9790 fixed - windows_tools help were not available on all platforms.
350 * Bug 9983 fixed - The xclick help page did not clearly specify the axes used for
354 Removed functions (previously declared as obsolete):
355 ====================================================
357 * ilib_for_link, ilib_build do not accept files with ".o" or ".obj" extensions
360 * 'with_atlas' removed. Please use 'getdebuginfo' instead.
362 * C API function Error(x) has been removed. Please use SciError.
364 * 'MSDOS' removed. Please use 'getos' instead.
370 * SSE is now enabled by default under GNU/Linux with 32 bit CPU (it is already
371 the case under 64 bit CPU).
372 Pentium III class (or equivalent) with SSE instructions is required.
374 * bug 8608 fixed - dec2hex, hex2dec, dec2oct, oct2dec, code have been simplified
377 * Performances of function pareto_filter (Genetic algorithms) improved.
383 * Under Windows, Scilab uses VS 2010 Pro and Express solution.
385 * Under GNU/Linux and Mac OS X, all modules build as standalone its algorithms
386 as a static library (only available in the source tree).
387 This will avoid an important dependency tree for unitary testing.
389 * Under GNU/Linux and Mac OS X, for each module, get ride of the list of
390 the explicit dependencies on the other libraries. Use libscilab-cli.so or
391 libscilab.so to link against Scilab.
393 * Enforce a minimal version of JRosetta (1.0.4).
395 * Enforce a minimal version of GIWS (1.3.0).
397 * Force the Java class version target to version 6 (or 1.6).
399 * Add Java 7 in the Debian & Ubuntu search path under GNU/Linux.
401 * bug 9409 fixed - warning "remark #8291" removed with Intel Fortran 2011 compiler.
403 * bug 9500 fixed - Explicit the GUI module manifest class-path to make Debian
406 * bug 9782 fixed - configure with --without-gui was failing.
408 * bug 9793 fixed - --without-gui disables also Xcos.
410 * bug 9883 fixed - Build with --disable-build-help was failing.
412 * bug 9991 fixed - ./configure --without-xcos failed to build
418 * bug 9432 fixed - link a 64 bit dynamic library on a 32 bit platform returned
419 a wrong error message on Windows.
421 * bug 9761 fixed - "NDEBUG" was not defined for dynamic link (by default) in
422 release mode on Windows.
424 * bug 9930 fixed - ilib_build did not display all filenames used.
430 * bug 9330 fixed - delete() called overloading instead of deleting the current
433 * bug 9455 fixed - The contourf and contourf 2 demos displayed unwanted dots.
439 * bug 5380 fixed - atomsShow() output was broken (separators were not aligned).
441 * bug 8664 fixed - Message error updated for non supported OS.
443 * bug 8763 fixed - ATOMS installation path was shared on Windows 64 with 32 bits.
445 * bug 9127 fixed - "Home" item renamed to "Installed Modules".
447 * bug 9679 fixed - atomsSystemUpdate checks that Scilab is not in offLine mode, else writes a message.
449 * bug 8942, 9805 fixed - atomsSystemUpdate() failed on some Windows.
451 * bug 9967 fixed - windows UAC causing trouble with atomsRepositorySetOfl (internal function)
453 * bug 10025 fixed - wrong url in some examples from help files
455 * bug 10031 fixed - atomsDisp did not work with Verbose option set to True and "\n" in messages.
461 * Java mapping of Scilab data has now a new method called getType() which
462 returns the value of the ScilabTypeEnum enum.
464 * bug 9467 fixed - unnecessary declarations in MAKE.BAT of javasci examples.
466 * bug 9544 fixed - Calling graphic with Javasci from a SWING application from
467 EDT was crashing the execution of a java program.
470 CACSD and Signal processing
471 ==========================
473 * bug 7895 fixed - fft2() was broken on Windows with MKL wrapper.
475 * bug 7901 fixed - besselh.tst failed on Windows.
477 * bug 8684 fixed - 'wfir' function produced an error message when used interactively.
479 * bug 9098 fixed - demo CACSD --> Robust control failed on Windows 64 bit.
481 * bug 9214 fixed - abaque replaced by nicholschart in the black.sci comments
483 * bug 9266 fixed - fftw crashed on Windows when using MKL wrapper.
485 * bug 9647 fixed - On Scilab startup, the variable fft was declared by default
488 * bug 9675 fixed - iir generated bad results.
490 * bug 9716 fixed - amell.tst execution froze under Windows with reference lapack library.
492 * bug 9719 fixed - delip.tst execution froze under Windows.
494 * bug 9725 fixed - syredi.tst execution froze under Windows.
496 * bug 9321 fixed - missing tests and help info for some CACSD functions
502 * Change the buffering display mode.
504 * SEP #67: lines(0) by default at startup.
506 * Options -disable-exception-catching added under GNU/Linux & Mac OS X.
507 Disables the Scilab exception catching system.
509 * PVM module moved as ATOMS module.
512 * SEP #69: predef('names') returns names of protected variables by predef.
518 * bug 1604 fixed - list extraction failed.
520 * bug 3291 fixed - SCI/modules/tclsci/tcl/BWidget-1.8.0/ moved as prerequirements.
522 * bug 4240 fixed - Some unexpected blank lines was displayed with the "dir" function.
524 * bug 4576 fixed - An example of ilib_build with "cflags" argument was missing.
526 * bug 4833 fixed - msprintf() interpreted "\n" as a carriage return even if "\n"
527 is supplied by the 2nd input argument.
529 * bug 4847 fixed - In uigetfile, there was no way to select files with a given
532 * bug 6875 fixed - test_run() could not run at once on the +3000 tests of
535 * bug 7061 fixed - changelog.txt, readme.txt, version.xml removed from modules.
537 * bug 7249 fixed - 'string' function did not work with a macro as input argument
540 * bug 7358 fixed - Help pages of type and typeof have now links to the actual
543 * bug 7700 fixed - Bad proposition in the console history when a char is added
545 * bug 7745 fixed - add_demo moved in demo_tools module.
547 * bug 8086 fixed - Some functions displayed a wrong error message when called
548 without input argument.
550 * Bug 8243 fixed - xgeom demonstration renamed to geom3d.
552 * bug 8245 fixed - gsort() did not allow overloading with not managed types.
554 * bug 8608 fixed - dec2hex, hex2dec, dec2oct and oct2dec code have been simplified
557 * bug 8688 fixed - fillMatrixOfString did not check available memory on stack.
559 * bug 8753 fixed - help file of 'c_link' did not describe input argument 'num'.
561 * bug 8768 fixed - GetRhsVar(..., STRING_DATATYPE, ...) did not check size of input argument.
563 * bug 8963 fixed - mtlb_mode test failed on Windows.
565 * bug 9045 fixed - plot2d did not support overloading.
567 * bug 9056 fixed - An uicontrol could not be closed with <META>+W.
569 * bug 9104 fixed - 'warning' used in a diary scilab session added timestamp
572 * bug 9129 fixed - Completion on field did not propose graphics handle fields
575 * bug 9156 fixed - mgetl.c compilation failed on some Windows.
577 * bug 9164 fixed - The unit tests now use the new assert functions.
579 * bug 9253 fixed - fscanfMat failed to read a file with some lines
580 of text at the end (backward compatibility).
582 * bug 9268 fixed - Scilab was overridding a predefined variable JAVA_HOME.
584 * bug 9277 fixed - escape character "\" did not work with msprintf.
586 * bug 9339 fixed - 'tbx_build_help' function did not manage languages correctly.
588 * bug 9354 fixed - 'savematfile' could not save imbricated structures.
590 * bug 9414 fixed - 'SCI' and 'SCIHOME' variables were not documented.
592 * bug 9452 fixed - It was impossible to download Intel MKL throw a proxy.
594 * bug 9479 fixed - Typo fixed (intput => input).
596 * bug 9498 fixed - A long history caused Scilab startup to be very long.
598 * bug 9510 fixed - export_to_hdf5 did not return %f when trying to export
599 unmanaged type (function, macro, ...)
601 * bug 9540 fixed - MKL Pentium 4 target was not downloaded by installer on Windows.
603 * bug 9542 fixed - During export operation the file could be locked by an other
604 process (Windows bug).
606 * bug 9543 fixed - Scilab did not use the default DocumentBuilderFactory
607 to parse XML configuration files.
609 * bug 9555 fixed - Typo in the 'deff' help page.
611 * bug 9570 fixed - fprintfMat did not use the good format argument with nan and
614 * bug 9571 fixed - "error(144)" returned a wrong variable name.
616 * bug 9599 fixed - error message "at line ... of function ... called by" was
617 printed directly on the same line.
619 * bug 9635 fixed - some temp. variables were not removed when we used test_run.
621 * bug 9647 fixed - On Scilab startup, the variable fft was declared by default
624 * bug 9659 fixed - "error(246)" returned a bad message for overloading.
626 * bug 9682 fixed - 3D assignment into a 2D array of integers issued an error.
628 * bug 9696 fixed - An error in an if expression inside a try make Scilab froze
630 * bug 9699 fixed - A single $ as text in a text ui led to a segfault.
632 * bug 9707 fixed - createNamedXXX did not check variable name.
634 * bug 9708 fixed - createNamedXXX did not check length of variable name.
636 * bug 9712 fixed - help of StartScilab had a error about Stacksize argument type.
638 * bug 9716 fixed - amell.tst execution froze under Windows with reference lapack library.
640 * bug 9717 fixed - dllinfo.tst failed with Windows binary versions.
642 * bug 9728 fixed - SCI/modules/special_functions/src/fortran/special_functions_f.def
643 was not ignored (generated file)
645 * bug 9730 fixed - lines() returned an int32 and not a double value.
647 * bug 9755 fixed - Completion on paths was not case insensitive on Windows.
649 * bug 9756 fixed - polelm.tst unitary test failed on Windows 64 bit.
651 * bug 9763 fixed - comet3d did not check input argument presence.
653 * bug 9765 fixed - remove ref to scicos_pal in sci_f_clear.f
655 * bug 9766 fixed - Scilab on Mac OS X 10.7 did not start.
657 * bug 9791 fixed - toolbar visible state change crash Scilab in NW mode.
659 * bug 9799 fixed - pol2str did not manage matrix of polynomials and input argument
660 type was not checked.
662 * bug 9804 fixed - Starting Scilab with a external module emptied the
665 * bug 9833 fixed - percent was badly formatted by Scierror function.
667 * bug 9836 fixed - repfreq failed due to "singular problem".
669 * bug 9838 fixed - evstr froze on some specific strings.
671 * bug 9843 fixed - colormaps with 2 colors could not be created.
673 * bug 9858 fixed - length() could not be overloaded with mlist.
675 * bug 9869 fixed - fscanf did not check number of input arguments.
677 * bug 9879 fixed - Fix some minor issues in the isdir help pages.
679 * bug 9880 fixed - Fix in the help page a page referencing itself.
681 * bug 9881 fixed - Fix a mistake in the help page of call.
683 * bug 9885 fixed - user initialization scripts (scilab.ini, .scilab) did not work.
685 * bug 9899 fixed - string(10*log10(1/10)) gave -0, instead of -10
687 * bug 9900 fixed - There was a memory leak in getAllocatedMatrixOfString,
688 getAllocatedMatrixOfWideString, getAllocatedNamedMatrixOfString,
689 and getAllocatedNamedMatrixOfWideString.
691 * bug 9920 fixed - winqueryreg did not manage HKEY_CURRENT_CONFIG.
693 * bug 9950 fixed - It was possible to select several texts in the console.
695 * bug 9957 fixed - msprintf("%d\r", 2) returned '2r'.
697 * bug 9966 fixed - The default value of comptype in assert_checkalmostequal
700 * bug 9971 fixed - GLoad macro not used and not documented is removed.
702 * bug 9979 fixed - The who_user() function printed a wrong message.
704 * bug 9980 fixed - Frozen console when one tryes to complete an empty string.
706 * bug 10016 fixed - The damp function unit test failed under windows.
708 * bug 10019 fixed - 'exec' crashed with error 113 for too long lines.
710 * bug 10037 fixed - checkalmostequal.tst unitary test failed under Linux x64.