15 hours ago[ast] display trailling zeros when significant digit is hidden 92/21092/4 master
Stéphane MOTTELET [Wed, 18 Sep 2019 14:41:44 +0000]
[ast] display trailling zeros when significant digit is hidden

This patch activates the display of trailing zeros only when
displaying a scalar, matrix display is unchanged:

--> x=1:0.1:2
 x  =

   1.   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   1.9   2.

--> x(8)
 ans  =

   1.7000000

--> x(8)-1.7
 ans  =

   2.220D-16

Change-Id: I176ac635ddd7b10f9f9e4f57291b594e666bf59e

17 hours ago* Bug 16118 fixed: now %s <> 1+%s returns %t 14/21014/3
Stéphane MOTTELET [Wed, 19 Jun 2019 12:58:33 +0000]
* Bug 16118 fixed: now %s <> 1+%s returns %t

http://bugzilla.scilab.org/show_bug.cgi?id=16118

Change-Id: Id58c6e33513584572a6642a97b03f381eab4b4f5

22 hours ago* Bug 16263 fixed: insertion in complex polynomial is repaired 44/21144/4
Stéphane MOTTELET [Fri, 29 Nov 2019 08:54:56 +0000]
* Bug 16263 fixed: insertion in complex polynomial is repaired

https://bugzilla.scilab.org/show_bug.cgi?id=16263

This bug was also breaking addition of complex rationals:

https://bugzilla.scilab.org/show_bug.cgi?id=16262
https://bugzilla.scilab.org/show_bug.cgi?id=16261

Change-Id: Ic1daca304a967158a174573792be6968a44a9fe1

39 hours ago* Bug 16264 fixed: now after empty loop iterator is empty 45/21145/5
Stéphane MOTTELET [Tue, 3 Dec 2019 12:29:26 +0000]
* Bug 16264 fixed: now after empty loop iterator is empty

http://bugzilla.scilab.org/show_bug.cgi?id=16264

Change-Id: I6aa282aa795b85d44aefd722ad24fabad1c0e54a

2 days agoast: fix Coverity #1407683 and #1407684 34/21134/2
Clément DAVID [Thu, 21 Nov 2019 08:15:18 +0000]
ast: fix Coverity #1407683 and #1407684

Change-Id: I2b71788ea0037b3924bb2a2b4a75ab9d8b37f9a0

2 weeks ago[ast] fix missing cases after 603f3ba1 35/21135/1
Stéphane MOTTELET [Thu, 21 Nov 2019 09:00:00 +0000]
[ast] fix missing cases after 603f3ba1

-a(...) without fields or whatever on arrayof derived types
-first line display of addColumnString

added a spurious std::endl in mode(1).

Change-Id: I5fe0fe185e97b8458f70a450f0731d7c78945ee4

2 weeks ago[elementary_functions] linspace() c++ gateway gives tremendous speedup 85/20685/4
Stéphane MOTTELET [Fri, 19 Oct 2018 21:48:38 +0000]
[elementary_functions] linspace() c++ gateway gives tremendous speedup

40x speedup for typical sizes:

Scilab 6.0.1:
--> tic;for i=1:100000;linspace(0,2*%pi,1000);end;toc()
 ans  =
   20.667936

Scilab master:
--> tic;for i=1:100000;linspace(0,2*%pi,1000);end;toc()
 ans  =
   0.476891

and linear interpolation between arrays of any dimensions, e.g.

--> linspace(rand(2,2),rand(2,2),5)
 ans  =

(:,:,1)

   0.8782165   0.5608486
   0.068374    0.6623569
(:,:,2)

   0.84025     0.5567008
   0.1009091   0.5547864
(:,:,3)

   0.8022836   0.552553
   0.1334442   0.4472159
(:,:,4)

   0.7643171   0.5484051
   0.1659793   0.3396453
(:,:,5)

   0.7263507   0.5442573
   0.1985144   0.2320748

Change-Id: I81362a2d858f1a465f4becc6ae8a29aea4dbda28

2 weeks ago* Bug 15781 fixed: display of complex matrix was ugly 89/21089/6
Stéphane MOTTELET [Wed, 18 Sep 2019 10:13:44 +0000]
* Bug 15781 fixed: display of complex matrix was ugly

https://bugzilla.scilab.org/show_bug.cgi?id=15781

This patch strictly adresses the complex display problem.

Alignment is fixed and homegeneity is obtained by always displaying
a real and an imaginary part even when both are zero in all cases:
scalar, vector and matrix.

Change-Id: I1bb92a5387bbd939d998b1ae7e9fc6df46c30528

2 weeks ago[ast] improved polynomial display with unicode superscripts 00/21100/3
Stéphane MOTTELET [Thu, 3 Oct 2019 14:58:32 +0000]
[ast] improved polynomial display with unicode superscripts

Example:

--> [(1+%s)^7; 1+%s^12]
 ans  =

   1 +7s +21s² +35s³ +35s⁴ +21s⁵ +7s⁶ +s⁷

   1 +s¹²

Change-Id: I122941b9e35eb622ad36718e0e9ee311603bb8ae

2 weeks ago* Bug 16191 fixed: now mode(0) and mode(1) are really compact. 93/21093/6
Stéphane MOTTELET [Wed, 18 Sep 2019 17:18:03 +0000]
* Bug 16191 fixed: now mode(0) and mode(1) are really compact.

https://bugzilla.scilab.org/show_bug.cgi?id=16191

Change-Id: Ib69a6d17d2da00c64be28fa0ca79b6ba319c0efe

2 weeks ago* Bug 16209 fixed: grand(n,m,exp,1) may freeze Scilab with default generator 98/21098/2
Stéphane MOTTELET [Wed, 2 Oct 2019 10:18:44 +0000]
* Bug 16209 fixed: grand(n,m,exp,1) may freeze Scilab with default generator

http://bugzilla.scilab.org/show_bug.cgi?id=16209

Change-Id: I11bb954a7a70d0d2862dba8dddc42d9dcada2fd0

2 weeks ago* Bug 16208 fixed: 3D string matrix may crash old C-api gateways 02/21102/3
Stéphane MOTTELET [Mon, 7 Oct 2019 11:39:08 +0000]
* Bug 16208 fixed: 3D string matrix may crash old C-api gateways

http://bugzilla.scilab.org/show_bug.cgi?id=16208

Change-Id: I5de8e746ce2f1976a9b2cb1f5a2bbe8e697ee4f0

2 weeks ago[doc] fix typo in dec2base help page 31/21131/2
Federico Miyara [Tue, 19 Nov 2019 08:58:38 +0000]
[doc] fix typo in dec2base help page

Change-Id: Ibbf83fc03e0bf5e437455adfc9e372395ad8e693

2 weeks ago[atoms] prevent unzip of spurious __MACOSX under Darwin 16/21116/5
Stéphane MOTTELET [Tue, 5 Nov 2019 10:57:55 +0000]
[atoms] prevent unzip of spurious __MACOSX under Darwin

This directory is created when zip archives are made from the Finder,
i.e. not from the command line. It breaks the installation process of
the package, as a single directory is expected after unzip.

http://mailinglists.scilab.org/Scilab-users-lincos-instruction-example-file-pendulum-anim45-zcos-is-corrupted-Buggzilla-16221-tp4039887p4039990.html

Change-Id: I0aa658b1deff9a8c3ad051ae36e7309dabf6d1ef

2 weeks ago[OSX] allow Scilab to run on Catalina 17/21117/2
Stéphane MOTTELET [Tue, 5 Nov 2019 12:21:53 +0000]
[OSX] allow Scilab to run on Catalina

Change-Id: I27c0c8eb8d55790f3997576072c979070ca7ecf3

2 weeks agoAllow Scilab compilation under OSX Catalina 18/21118/3
Stéphane MOTTELET [Tue, 5 Nov 2019 12:31:43 +0000]
Allow Scilab compilation under OSX Catalina

Change-Id: Id3344f86e985e3795ac1a4ca0e720b4847f6407e

2 weeks agofix llabs()/_abs64() on unsigned warnings 23/21123/2
Clément DAVID [Thu, 7 Nov 2019 08:21:40 +0000]
fix llabs()/_abs64() on unsigned warnings

Change-Id: Ia1d7e89f649a871172c13eb2211d02e4eda793bd

2 weeks agoRemove the deprecated (c++11) bind1st and bind2nd 21/21121/2
Clément DAVID [Wed, 6 Nov 2019 10:41:26 +0000]
Remove the deprecated (c++11) bind1st and bind2nd

Change-Id: I20e656d1d15596c34350ca51a1ebdbd6abdd4f63

2 weeks agoLinux dynamic link: remove pre-c++11 ABI compat 32/21132/3
Clément DAVID [Tue, 19 Nov 2019 10:37:57 +0000]
Linux dynamic link: remove pre-c++11 ABI compat

This is needed after 0068b70 to have a clean post c++11 ABI usage. On
rebuild, each toolbox will use the C++11 ABI without source code change.

Change-Id: I9988cdca033939346c5ce543ec8715b865085fb2

3 weeks ago[doc] misc. fix & improvements 77/20877/49
Samuel GOUGEON [Fri, 22 Feb 2019 14:11:29 +0000]
[doc] misc. fix & improvements

  * JKFLIPFLOP_content: useless after https://codereview.scilab.org/20745
  * dct: typo fixed: http://bugzilla.scilab.org/15982
  * chdir: b not documented in (fr): http://bugzilla.scilab.org/10882
           + improvements: default path, + <screen>, see also.
  * convol2d: result's length error fixed: http://bugzilla.scilab.org/16042
  * stdev (en) typo : http://bugzilla.scilab.org/16099
  * backslash: history version fixed.
  * lcm.xm: removed. Bad extension. Duplicate of lcm.xml
  * name2rgb: + names are case insensitive.
  * m2scideclare: one useless itemizedlist level suppressed.
                  Examples: required \n added.
  * SCIHOME, startup: See also: extra <simplelist> removed
  * gettext: protect \n in some samples of the table of syntaxes.
     + remark % blanks delimiting messages id in XML and XSL.
  * SP/Howto chapter: empty section removed (fr,ja)
  * exp (fr): the input matrix does not need to be square.
  * calendar:
    - fix c = calendar => c = calendar()
    - fix "from sunday to saturday" => "from monday to sunday"
    - fix shifted translations of days series.
    - examples extended and illustrated.

Change-Id: Ib875d0268129be395456b103453d64668029f52a

4 weeks agofix missing-override warnings on Scilab types 20/21120/2
Clément DAVID [Wed, 6 Nov 2019 10:39:34 +0000]
fix missing-override warnings on Scilab types

Change-Id: I94bd9ad3a002247cfd140d259a1b0572c3a2c4c1

6 weeks agoLinux: enforce a c++17 compiler usage 05/21105/1
Clément DAVID [Fri, 18 Oct 2019 10:14:09 +0000]
Linux: enforce a c++17 compiler usage

Change-Id: If6d8116190e9ab428a6dc2207bc71741ea798a71

7 weeks ago[doc] misc. patchs & small improvements 23/21023/31
Samuel GOUGEON [Tue, 25 Jun 2019 13:17:32 +0000]
[doc] misc. patchs & small improvements

  api_common, api_integer: bad formatting fixed
             https://help.scilab.org/docs/6.0.2/en_US/api_common.html
             https://help.scilab.org/docs/6.0.2/en_US/api_integer.html
  corr: puzzled ASCII formula replaced with LaTeX
  TMPDIR: tempname added to See also
  fromc, fromjava, istssession, getscilabmode: cross-referencing improved
  test_run: See also section added
  rowinout: Ascii art unpuzzled.
  isoview (fr): typo
  primes: short description more explicit. <screen> added.
  getvalue: list of values => table (not list of vars).
            "lis" not implemented. descriptions improved.
            variablelist nesting error for (fr)

Change-Id: I01bf8ddfcc20130f79b8912f62937cc7cd7baaf5

2 months agoLinux: update to automake 1.16.1 01/21101/1
Clément DAVID [Fri, 4 Oct 2019 07:42:44 +0000]
Linux: update to automake 1.16.1

Change-Id: I7cd40ec68f2d9af93c5bf2fba9db471f2b0ae6e6

3 months agoremove watches from scilab debugger 83/21083/1
Cedric Delamarre [Wed, 4 Sep 2019 15:39:41 +0000]
remove watches from scilab debugger

Change-Id: I6042f8328e1b98f2f04c175d40b129bac1693b12

3 months ago[debugger] do not stop execution inside a macro witout source file 72/21072/2
Cedric Delamarre [Mon, 26 Aug 2019 08:37:57 +0000]
[debugger] do not stop execution inside a macro witout source file

Change-Id: I1d3179065f3e1bf28750ef73d56389c38718286a

3 months ago* Bug 16174 fixed: now libraryinfo() yields [] for lib without macro 71/21071/4
Stéphane MOTTELET [Fri, 23 Aug 2019 09:13:44 +0000]
* Bug 16174 fixed: now libraryinfo() yields [] for lib without macro

https://bugzilla.scilab.org/show_bug.cgi?id=16174

Change-Id: I3dcdb7c66d01fcde800cc522357c376c534eae8e

3 months ago[debugger] use an InternalType as watch value instead of string 59/21059/2
Cedric Delamarre [Tue, 30 Jul 2019 10:11:57 +0000]
[debugger] use an InternalType as watch value instead of string

Change-Id: Id7432387a6c68a0c72fa0e536cb457097866bc84

4 months agoreduce overhead of debugger and improve output of functions 60/21060/2
Antoine ELIAS [Tue, 30 Jul 2019 13:30:28 +0000]
reduce overhead of debugger and improve output of functions

Change-Id: I2e628ffb6acb06a06fba58f4d4e03c76ecb57426

4 months ago[casd] trzeros crashed under OSX when using gfortran 59/20959/5
Stéphane MOTTELET [Wed, 24 Apr 2019 14:58:40 +0000]
[casd] trzeros crashed under OSX when using gfortran

Change-Id: I7fedb7f2058d1b6bd98f6df38927a2bd816d8842

4 months ago* Bug 14557 fixed: now csim work when system has no state 13/21013/4
Stéphane MOTTELET [Wed, 19 Jun 2019 11:22:42 +0000]
* Bug 14557 fixed: now csim work when system has no state

http://bugzilla.scilab.org/show_bug.cgi?id=14557

Change-Id: I872d72f8435bfe5fc0ee6d4dacea61ed0bd75210

4 months agoast: fix ArrayOf<T>::insertNew out-of-bounds access 50/21050/4
Clément DAVID [Wed, 24 Jul 2019 08:13:57 +0000]
ast: fix ArrayOf<T>::insertNew out-of-bounds access

Will fix Coverity ID #1401289 as well as running ast tests using
valgrind or ASAN.

Change-Id: If8141f3c9776116eb47d36555ecff8902421c631

4 months ago* Bug 15715 fixed: now %nan indexes do not crash Scilab 16/21016/2
Stéphane Mottelet [Thu, 20 Jun 2019 08:53:06 +0000]
* Bug 15715 fixed: now %nan indexes do not crash Scilab

http://bugzilla.scilab.org/show_bug.cgi?id=15715

Change-Id: Ic3958e233c34548a1b873cda84ae3f42f962e16a

4 months ago* Bug 16144 fixed: addition of sparse matrices gave incorrect results 32/21032/5
Stéphane MOTTELET [Wed, 10 Jul 2019 11:50:18 +0000]
* Bug 16144 fixed: addition of sparse matrices gave incorrect results

http://bugzilla.scilab.org/show_bug.cgi?id=16144

Change-Id: I45b06e55ccae711d1add233e9d0692b36f82c76d

4 months agofix vfproj after f1c2002 47/21047/1
Antoine ELIAS [Mon, 22 Jul 2019 07:37:01 +0000]
fix vfproj after f1c2002

Change-Id: If7ebd7d5664ee979455b496932f2aae22d72f9aa

4 months ago[interpolation] mesh2d gateway introduced 81/20681/11
Stéphane Mottelet [Tue, 9 Oct 2018 16:35:12 +0000]
[interpolation] mesh2d gateway introduced

http://bugzilla.scilab.org/show_bug.cgi?id=8284

Change-Id: I8d5a80579a1c056b02fb0ce8abba5394395f0088

4 months ago* Bug 14498 fixed: size([],3) returned 1 instead of 0 40/21040/3
Samuel GOUGEON [Thu, 18 Jul 2019 16:16:42 +0000]
* Bug 14498 fixed: size([],3) returned 1 instead of 0

  http://bugzilla.scilab.org/14498

Change-Id: I2cfce9306d1a268a1374ec34f851c0fa71c21103

4 months ago* Bug 16111 fixed: now isglobal supports array of strings 28/21028/4
Stéphane MOTTELET [Mon, 1 Jul 2019 15:08:58 +0000]
* Bug 16111 fixed: now isglobal supports array of strings

http://bugzilla.scilab.org/show_bug.cgi?id=16111

Change-Id: I5fefe90e3e688a9dd8699f365c275cfbb603459e

4 months agoLinux/macOS `-std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0` 36/21036/1
Clément DAVID [Wed, 17 Jul 2019 15:47:58 +0000]
Linux/macOS `-std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0`

This change will use -std=c++11 mode but will keep a pre-C++11 ABI on Scilab
and toolboxes builds. Some distribution use a c++11 ABI by default which
lead to incompatibilities with the stock release.

Change-Id: Ia088ce1590de277c6490c178da3decb1ba16ef00

4 months agoprovide 2 logging functions, 1 for errors and 1 for outputs 35/21035/3
Antoine ELIAS [Wed, 17 Jul 2019 13:21:46 +0000]
provide 2 logging functions, 1 for errors and 1 for outputs

scilab -nwni -quit -e "1+1;1+'a';" 2> errors.log > outputs.log

Change-Id: Ie733ab6df1b808e4f15351110c25362fd3e09562

4 months agocore: on error, a crash could happen 00/21000/2
Clement DAVID [Thu, 6 Jun 2019 19:30:29 +0000]
core: on error, a crash could happen

The most trivial example is `atomsInstall non_existing_file` but this
might also crash on inner-function definition/clearing.

On error, the call stack have to be copied to the error stack as values
rather than reference to Callable; on stack return, intermediate
Callable will be release as any other variable and the error stack
printed when hitting either a catch or the top level.

Change-Id: Iac132fb0771057c6364dffe66ca0266d6ea60111

4 months agoLinux: add a debug option to launch Scilab under rr 82/20982/3
Clément DAVID [Tue, 21 May 2019 10:07:24 +0000]
Linux: add a debug option to launch Scilab under rr

Change-Id: I806733b72c3ead0dee5b7f6190fe95b77d77c81b

4 months agoScilab debugger updates 05/21005/14
Cedric Delamarre [Tue, 11 Jun 2019 16:06:59 +0000]
Scilab debugger updates

Change-Id: I6c50133a304daa406908c1419ac9a9c00174ca2a

5 months ago* Bug 15984 fixed: display scale fixed for Retina displays under OSX 98/20998/6
Stéphane Mottelet [Tue, 4 Jun 2019 15:21:52 +0000]
* Bug 15984 fixed: display scale fixed for Retina displays under OSX

http://bugzilla.scilab.org/show_bug.cgi?id=15984
http://bugzilla.scilab.org/show_bug.cgi?id=15316

Before fix : http://bugzilla.scilab.org/attachment.cgi?id=4966
After fix  : http://bugzilla.scilab.org/attachment.cgi?id=4967

see also:

http://bugzilla.scilab.org/show_bug.cgi?id=15943

for generalization of patch for other platforms.

Change-Id: I0ceed485605abe30dedce8d28b0a8514d2a5fa4b

5 months agofix: deletion does not return correct empty matrix 20/21020/1
Antoine ELIAS [Tue, 25 Jun 2019 11:40:38 +0000]
fix: deletion does not return correct empty matrix

Change-Id: I1524e570e6dd2cf0365be8ebfce948d50c6f88a5

5 months ago* Bug 15248: lsq() was leaking memory 18/21018/3
Stéphane MOTTELET [Fri, 21 Jun 2019 10:11:17 +0000]
* Bug 15248: lsq() was leaking memory

http://bugzilla.scilab.org/show_bug.cgi?id=15248

Change-Id: I6b1358f7f1509f70e89598782628fcff32922c45

5 months ago* Bug 15321: lu() was leaking memory 17/21017/2
Stéphane MOTTELET [Fri, 21 Jun 2019 07:45:16 +0000]
* Bug 15321: lu() was leaking memory

http://bugzilla.scilab.org/show_bug.cgi?id=15321

Change-Id: I9cd52ba473e71ff159bc9acffc1a561dd90db5e9

5 months ago[types] fix broken .giws.xml file 01/21001/4
Stéphane Mottelet [Fri, 7 Jun 2019 10:08:50 +0000]
[types] fix broken .giws.xml file

Change-Id: I3372e46fa985a9d5a3e177ad708a016d482c0071

5 months ago* Bug 13548 fixed: now Slider values can be int. multiples of sliderStep 37/19937/8
Stéphane Mottelet [Fri, 6 Apr 2018 13:19:34 +0000]
* Bug 13548 fixed: now Slider values can be int. multiples of sliderStep

http://bugzilla.scilab.org/show_bug.cgi?id=13548

This patch adds a new "SnapToTicks" property and also fixes:

http://bugzilla.scilab.org/show_bug.cgi?id=15514
http://bugzilla.scilab.org/show_bug.cgi?id=15518

Change-Id: I9db479f8cf7a7a4294f9ffb9a314cc2425d68053

5 months agoast: use a human-readable memory number on allocation error 06/21006/2
Clément DAVID [Wed, 12 Jun 2019 08:48:07 +0000]
ast: use a human-readable memory number on allocation error

Change-Id: Id4ef7ad049e6e2a1e6248ad4b07e5b738f186cec

5 months agoStandardization of Inf and NaN. 08/21008/3
Clément DAVID [Wed, 12 Jun 2019 11:24:03 +0000]
Standardization of Inf and NaN.
Provided by NumericConstants class.

Change-Id: I2e616bb2ed275910bd0f0387aff01bcab879eaeb

5 months agoBrowseVar: report used memory with SI prefix 89/20989/4
Clement DAVID [Wed, 29 May 2019 10:10:58 +0000]
BrowseVar: report used memory with SI prefix

Change-Id: I7bc6e28cba10ee907bf65e0d96fc4431174c5653

5 months ago* Bug 15087 fixed: deleting rows or cols from matrix was slow 65/20965/7
Stéphane MOTTELET [Fri, 3 May 2019 12:11:30 +0000]
* Bug 15087 fixed: deleting rows or cols from matrix was slow

https://bugzilla.scilab.org/show_bug.cgi?id=15087

Change-Id: Ia9e7161a684b2dee75a78f323c98264182d26a73

5 months ago* Bug 14741: frexp() actually undocumented 03/21003/3
Samuel GOUGEON [Mon, 10 Jun 2019 03:34:24 +0000]
* Bug 14741: frexp() actually undocumented

 Comes after https://codereview.scilab.org/21002

Change-Id: I8280e2488b91fd93bae78939cda9730c7c595771

5 months ago* Bug 14741 fixed: [m,e]=log2(x) documented. frexp()=>internal 02/21002/4
Samuel GOUGEON [Mon, 10 Jun 2019 02:58:26 +0000]
* Bug 14741 fixed: [m,e]=log2(x) documented. frexp()=>internal

  http://bugzilla.scilab.org/14741

  New log2() page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=4969

Change-Id: I0984bcc505bd428a0d5df97d94dac45c39b101b2

5 months ago* Bug 16067 fixed: now matrices of signed integers are displayed correctly 74/20974/5
Stéphane MOTTELET [Fri, 10 May 2019 16:13:44 +0000]
* Bug 16067 fixed: now matrices of signed integers are displayed correctly

http://bugzilla.scilab.org/show_bug.cgi?id=16067

Change-Id: I214dadbba27169d0d032400ed1be1bb0f3c1a4fc

5 months ago* Bug 16003 fixed: now mousewheel zoom works with triangles 99/20899/4
Stéphane Mottelet [Thu, 14 Mar 2019 16:26:35 +0000]
* Bug 16003 fixed: now mousewheel zoom works with triangles

http://bugzilla.scilab.org/show_bug.cgi?id=16003

In fact Fac3d triangle entities were not considered at all by
the entity picker (I was not aware of this). The failsafe
(no intersection claimed) was broken by
https://codereview.scilab.org/#/c/20581, which added
true "smart" 3D zoom.

Change-Id: Ic7562efed44b6fe880d7c29feadadfdfeab81136

5 months ago* Bug 16015 fixed: intg(a,b,f) called f(x) with x outside domain 05/20905/6
Stéphane Mottelet [Fri, 22 Mar 2019 17:24:21 +0000]
* Bug 16015 fixed: intg(a,b,f) called f(x) with x outside domain

http://bugzilla.scilab.org/show_bug.cgi?id=16015

Change-Id: I3123ca77777d16f25b645c99de83bb88cc3688ba

5 months agofix build after 31430aee 07/21007/1
Clément DAVID [Wed, 12 Jun 2019 10:07:47 +0000]
fix build after 31430aee

Change-Id: I30340843469ee204b53116e1f8a7a76731c765c1

5 months ago* Bug 16013 fixed: load environment does not fail any more 04/20904/5
Stéphane Mottelet [Fri, 22 Mar 2019 14:20:42 +0000]
* Bug 16013 fixed: load environment does not fail any more

http://bugzilla.scilab.org/show_bug.cgi?id=16013

Change-Id: I6fae79b58a7ffc5203b1f0e10b2f290142ee7d76

5 months ago* Bug 15668 fixed: save(file) don't save predefined variables any more 03/20903/3
Stéphane Mottelet [Fri, 22 Mar 2019 13:31:40 +0000]
* Bug 15668 fixed: save(file) don't save predefined variables any more

http://bugzilla.scilab.org/show_bug.cgi?id=15668

Change-Id: Ia46f3167b7cc7763de518f087aa203d74374cf17

5 months ago* Bug 8088 fixed: norm() now accepts %nan and %inf terms 74/20774/3
Stéphane Mottelet [Thu, 20 Sep 2018 14:40:36 +0000]
* Bug 8088 fixed: norm() now accepts %nan and %inf terms

http://bugzilla.scilab.org/show_bug.cgi?id=8088

Change-Id: I5c30b4dbbc3f643197fd0b4ffb7130adb90c54f8

5 months ago* Bug 15964 fixed: now the sparse empty matrix is always real 66/20866/5
Stéphane Mottelet [Wed, 20 Feb 2019 09:38:58 +0000]
* Bug 15964 fixed: now the sparse empty matrix is always real

http://bugzilla.scilab.org/show_bug.cgi?id=15957

Change-Id: I6d9456d87d688044970dec0d55f25b156053631b

5 months ago[sparse] now sparse([]) is sparse 27/20727/6
Stéphane Mottelet [Wed, 23 Jan 2019 11:00:01 +0000]
[sparse] now sparse([]) is sparse

Note: also fixes other cases when [] was created instead of a
(0,0) sparse matrix.

Change-Id: I2f5eb43cafab1da1888c7d8cd5fea0d5cbc863b9

5 months ago* Bug 9673 fixed: colon operator precedence was too low 21/20621/3
Stéphane Mottelet [Wed, 14 Nov 2018 08:03:19 +0000]
* Bug 9673 fixed: colon operator precedence was too low

http://bugzilla.scilab.org/show_bug.cgi?id=9673
https://github.com/rdbyk/balisc/issues/601

Change-Id: I42358f7fd938af65232dc063461d4d3506561d85

5 months agoCoverityFix-CID:1350525 Dereference null return value 14/20114/3
Nimish Kapoor [Wed, 6 Jun 2018 06:53:49 +0000]
CoverityFix-CID:1350525 Dereference null return value

Change-Id: Ia9330a817bc3c16056394df144719c6237ca5339

5 months agoCoverityFix-CID:1350493 Dereference null return value 39/20439/2
Nimish Kapoor [Sun, 5 Aug 2018 17:51:43 +0000]
CoverityFix-CID:1350493 Dereference null return value

Change-Id: I1dcc07e09b3e9a44820de779855e45eb1021e445

6 months agoMakefile update 99/20999/1
Cedric Delamarre [Thu, 6 Jun 2019 08:01:44 +0000]
Makefile update

Change-Id: I5884faf21f92806774ca2d132c45136a95a1fedb

6 months agoCoverityFix-CID:1351082 Unread field should be static 69/20269/3
Nimish Kapoor [Mon, 16 Jul 2018 08:50:28 +0000]
CoverityFix-CID:1351082 Unread field should be static

Change-Id: I9b7e286c20cdafdecf88013a3525669da5e7547f

6 months agoCoverityFix CID:1360856 Problems with implementation of equals() 34/20234/4
Nimish Kapoor [Fri, 6 Jul 2018 18:19:38 +0000]
CoverityFix CID:1360856 Problems with implementation of equals()

Change-Id: Ia1e175445e2006435b6abd408804b36b008482fe

6 months ago[scicos_blocks] Capacitor Inductor Resistor: issue with µ unit on icons 01/20901/3
Samuel GOUGEON [Wed, 20 Mar 2019 23:31:53 +0000]
[scicos_blocks] Capacitor Inductor Resistor: issue with µ unit on icons

  Reported at http://mailinglists.scilab.org/Capacitor-value-issue-tt4039249.html

Change-Id: I675c3ce7f93914fa0f873be1318dfb3ecc68df46

6 months agoExample of implicitplot function failed 22/20922/2
Adeline CARNIS [Fri, 5 Apr 2019 10:00:20 +0000]
Example of implicitplot function failed

Change-Id: I3d7cd6c937267af3e3aaa5583af618909b2d2153

6 months ago* Bugs 16012, 16014, 16085: fixed regression of insertion in structs 77/20977/10
Stéphane Mottelet [Tue, 14 May 2019 21:02:22 +0000]
* Bugs 16012, 16014, 16085: fixed regression of insertion in structs

http://bugzilla.scilab.org/show_bug.cgi?id=16014
http://bugzilla.scilab.org/show_bug.cgi?id=16012
http://bugzilla.scilab.org/show_bug.cgi?id=16085
http://bugzilla.scilab.org/show_bug.cgi?id=16087

Change-Id: If3f1b7204698450d731575af46558adf504fcb7f

6 months ago* Bugs 16071+16072+16075 fixed: prettyprint() debugged & a bit improved 58/20958/26
Samuel GOUGEON [Sat, 20 Apr 2019 22:09:27 +0000]
* Bugs 16071+16072+16075 fixed: prettyprint() debugged & a bit improved

  * http://bugzilla.scilab.org/16071 :
    - 0*%z : 0 => 0z  (to show the symbolic variable)
    - complex(1,%nan): 1NaNi => 1 + Nani
    - text input
      => tex|latex:
        $ \ % & { } ~ ^ characters were not protected.
        Spaces were not protected (words were concatenated).
      => mathML: <mi></mi> were missing. "<" was not protected

    - MathML:
      . MathJax does not support <infinity/> => <mi>∞</mi>
      . Any syslin was parenthesed, even with delimiter=""

    - Documentation:
      . ")" was wrongly indicated as supported delimiter.
      . "" as possible delimiter was not documented, to not use any
        matrix bracketting.

    - Improvements:
      . 6.21D+23 : 6.21  x  10^+23  => 6.21 x 10^23
      . 1 + (-2-3i)z  => 1 - (2+3i)z
      . exportFormat was uselessly case-sensitive => no longer the case
      . Default argins had to be explicitly provided when an explicit
        argin follows => now just skip them with ,,.
      . polynomials => tex|latex: a space-free unbreakable string result
        was delivered => now 1 space added after each power term,
        to ease wrapping when required.
      . MathML : formatting of the output improved = \n (ascii(10))
        added before and/or after each <mtable>, </mtable>, <mtr>, </mtr>,
        <mtd>, <mfenced> and </mfenced> for and around tables, enabling
        to easily split the result and then properly indent it with
        external tools.

  * http://bugzilla.scilab.org/16072
      encoded integers were actually NOT supported

  * http://bugzilla.scilab.org/16075
      prettyprint() was broken for cells arrays

  * Unit tests added for texts, integers, complex numbers, polynomials
    with complex coefficients, cells, linear systems, and extended for
    decimal numbers.

Change-Id: Id2fca732444e0cfe1932a3a82825aa09489d7ae5

6 months agoLinux: fix build after e78c5951 - ASAN support 80/20980/1
Clément DAVID [Thu, 16 May 2019 20:05:15 +0000]
Linux: fix build after e78c5951 - ASAN support

 * reset CFLAGS to the previous one
 * disable ASAN by default

Change-Id: I506fccc527b5925c8c25833c3ccdb5b11aea55ab

6 months ago* Bug 15840 fixed: now grand(1,prm,x) has same dims as x 75/20975/3
Stéphane MOTTELET [Mon, 13 May 2019 08:41:23 +0000]
* Bug 15840 fixed: now grand(1,prm,x) has same dims as x

http://bugzilla.scilab.org/show_bug.cgi?id=15840

Change-Id: If7d1d918d46826a3e783f826c926db1e266308ab

6 months agoAddressSanitizer: allow reports on dyn. loaded libs 61/20861/2
Clément DAVID [Thu, 7 Feb 2019 16:53:15 +0000]
AddressSanitizer: allow reports on dyn. loaded libs

Add a ./configure --enable-address-sanitizer flag to ease usage.

Change-Id: Ibd06bb00b8247b1646158931b0dc2673a88f838c

6 months agoBug #12502 fixed: Rotate, flip did not work on ports 34/20934/3
Clement DAVID [Fri, 22 Mar 2019 09:29:37 +0000]
Bug #12502 fixed: Rotate, flip did not work on ports

Change-Id: I34e3918685e2a6500accc30746bc01a78d2f64eb

6 months agocoverity: fix #1401290 to #1401299 ; use default values on error 69/20969/2
Clément DAVID [Mon, 6 May 2019 09:54:40 +0000]
coverity: fix #1401290 to #1401299 ; use default values on error

Change-Id: Ic89cb3105d5c35bd0a9f96c8a23aef0f74415420

6 months agomgetl: fix trouble with 'continuous' read on Windows 91/20891/4
Antoine ELIAS [Wed, 27 Feb 2019 23:45:46 +0000]
mgetl: fix trouble with 'continuous' read on Windows

Change-Id: I2cbbf601bd78f794f254e3de7f7b5f5eeb216cc1

6 months ago[elementary_functions] added bitstring function 61/20961/9
Stéphane MOTTELET [Thu, 25 Apr 2019 15:15:14 +0000]
[elementary_functions] added bitstring function

help page @ http://www.utc.fr/~mottelet/scilab/download/bitstring.pdf

--> bitstring(%pi)
 ans  =

 0100000000001001001000011111101101010100010001000010110100011000

--> bitstring([1; 1+%eps])
 ans  =

!0011111111110000000000000000000000000000000000000000000000000000  !
!                                                                  !
!0011111111110000000000000000000000000000000000000000000000000001  !

--> bitstring(int8(-1))
 ans  =

 11111111

Change-Id: If911c3582c585072844a27186a81fda16f2fc740

7 months agoXcos MVC: avoid copy constructor calls 84/19984/2
Paul Bignier [Sun, 29 Apr 2018 18:54:17 +0000]
Xcos MVC: avoid copy constructor calls

Change-Id: I76e165f89d434004b2ec7b2d9bbb1d5d4bb3c116

7 months agoCoverity: fix #1400678, #743503, #1400677, #1400675, #1400676 40/20940/3
Clément DAVID [Fri, 12 Apr 2019 15:01:41 +0000]
Coverity: fix #1400678, #743503, #1400677, #1400675, #1400676

Change-Id: I387f16f279348c5c7950c7876ff949c8af617e86

7 months ago* Bug 15812 fixed: source may become corrupted after insertion 64/20964/7
Stéphane MOTTELET [Mon, 29 Apr 2019 09:05:31 +0000]
* Bug 15812 fixed: source may become corrupted after insertion

http://bugzilla.scilab.org/show_bug.cgi?id=15812

Change-Id: Ic10a138aa5fb2213a2ba68125f5b3f1fb4ba4282

7 months ago[differential_equations] add sanity check in ode unit test 63/20963/2
Stéphane MOTTELET [Fri, 26 Apr 2019 16:07:37 +0000]
[differential_equations] add sanity check in ode unit test

http://bugzilla.scilab.org/show_bug.cgi?id=16043

Change-Id: I4fa3b7b7e7b497328716b866daacf1a2f81e7fba

7 months ago* Bug 15995 fixed: patch was missing in surface plot 62/20962/6
Stéphane MOTTELET [Fri, 26 Apr 2019 13:53:50 +0000]
* Bug 15995 fixed: patch was missing in surface plot

http://bugzilla.scilab.org/show_bug.cgi?id=15995

Change-Id: I074aed1adf25e195b2d22b5e498610df7a9a8ab0

7 months agoProud Puffin in good shape for the demo 55/20955/2
Samuel GOUGEON [Fri, 19 Apr 2019 01:28:45 +0000]
Proud Puffin in good shape for the demo

  Don't squeeze The Puffin

Change-Id: Id43b677eece103190fd1798cdadcaa9e6e4c1b04

7 months ago[doc] Reorganizing [statistics] help pages 50/20950/2
Samuel GOUGEON [Wed, 17 Apr 2019 04:15:09 +0000]
[doc] Reorganizing [statistics] help pages

 * The Descriptive statistics chapter was incoherent. It mixed features
   of other sections:
   - median center wcenter           => Central tendency
   - stdev stdevf variance variancef => Dispersion
   - histc                           => Shape (empirical distribution)
   - cov covar correl                => Multivariate statistics
   => Empty section = deleted
 * Regression section: empty = deleted
 * reglin                            => Multivariate
 * Summaries/tabul                   => Shape (empirical distribution)
   => empty section = deleted
 * PCA section                       => Multivariate
   => empty section = deleted

Change-Id: I544218224afb279f786170189ec1e2b0323b5b28

7 months ago* Bug 16007 fixed: non-integer index in sparse crashed Scilab 00/20900/5
Stéphane Mottelet [Thu, 14 Mar 2019 17:33:03 +0000]
* Bug 16007 fixed: non-integer index in sparse crashed Scilab

http://bugzilla.scilab.org/show_bug.cgi?id=16007

Positive fractionnal indices were supported, provided they were
greater than 1

Change-Id: I821cc4f5cbd2618cf6c5560d0478171b1389c846

7 months agoCoverityFix-CID:1360865 Inner class could be made static 64/20364/2
Nimish Kapoor [Fri, 27 Jul 2018 20:00:01 +0000]
CoverityFix-CID:1360865 Inner class could be made static

This class is an inner class, but does not use its embedded reference to the
object which created it.

Change-Id: Ifa23ab98ae8da53d7b86f55d8a6cce5cb6f4371f

7 months agoCoverityFix-CID:1360864 Inner class could be made static 63/20363/2
Nimish Kapoor [Fri, 27 Jul 2018 19:57:44 +0000]
CoverityFix-CID:1360864 Inner class could be made static

This class is an inner class, but does not use its embedded reference to the
object which created it.

Change-Id: I42b3bce7d4b95b59627e7515aefb51356a4300a3

7 months agoCoverityFix-CID:1360863 Inner class could be made static 62/20362/2
Nimish Kapoor [Fri, 27 Jul 2018 19:54:08 +0000]
CoverityFix-CID:1360863 Inner class could be made static

This class is an inner class, but does not use its embedded reference to the
object which created it.

Change-Id: I9421ce517e4c44b6e0a953ab265aa4932b165a0a

7 months agoCoverityFix-CID:1360862 Inner class could be made static 61/20361/2
Nimish Kapoor [Fri, 27 Jul 2018 19:51:13 +0000]
CoverityFix-CID:1360862 Inner class could be made static

This class is an inner class, but does not use its embedded reference to the
object which created it.

Change-Id: Id1737d9155cd1266a3d226d6fc4871a43d6bd551

7 months agoCoverityFix-CID:1360861 Inner class could be made static 60/20360/2
Nimish Kapoor [Fri, 27 Jul 2018 19:47:53 +0000]
CoverityFix-CID:1360861 Inner class could be made static

This class is an inner class, but does not use its embedded reference to the
object which created it.

Change-Id: I533a633f918f9f69ac9c1f40c257bfc006d46c75

7 months agoCoverityFix-CID:1351079 Inner class could be made static 59/20359/2
Nimish Kapoor [Fri, 27 Jul 2018 19:44:18 +0000]
CoverityFix-CID:1351079 Inner class could be made static

This class is an inner class, but does not use its embedded reference to the
object which created it.

Change-Id: I42c31a73c79c4c7f442779a3c27c059e966d34fe

7 months agoCoverityFix-CID:1351078 Inner class could be made static 58/20358/2
Nimish Kapoor [Fri, 27 Jul 2018 19:40:45 +0000]
CoverityFix-CID:1351078 Inner class could be made static

This class is an inner class, but does not use its embedded reference to the
object which created it.

Change-Id: Ic0f1dff108aec23417a92648a9f3578b69b45f4b

7 months agoCoverityFix-CID:1351077 Inner class could be made static 57/20357/2
Nimish Kapoor [Fri, 27 Jul 2018 19:37:28 +0000]
CoverityFix-CID:1351077 Inner class could be made static

This class is an inner class, but does not use its embedded reference to the
object which created it.

Change-Id: I2cc73fd8dd6e9aaf7116c64918b40525901d7a96

7 months agoCoverityFix-CID:1351076 Inner class could be made static 56/20356/2
Nimish Kapoor [Fri, 27 Jul 2018 19:33:52 +0000]
CoverityFix-CID:1351076 Inner class could be made static

This class is an inner class, but does not use its embedded reference to the
object which created it.

Change-Id: Ib01f7cc0528ca83ae306c1a6163a02506759f589

7 months agoCoverityFix-CID:1351075 Inner class could be made static 55/20355/3
Nimish Kapoor [Fri, 27 Jul 2018 19:30:11 +0000]
CoverityFix-CID:1351075 Inner class could be made static

This class is an inner class, but does not use its embedded reference to the
object which created it.

Change-Id: Ibdb5c5067673ea55a01b63ca3dabdf72136dddc4

7 months agoCoverityFix-CID:1351072 Inner class could be made static 53/20353/2
Nimish Kapoor [Fri, 27 Jul 2018 19:04:55 +0000]
CoverityFix-CID:1351072 Inner class could be made static

This class is an inner class, but does not use its embedded reference to the
object which created it.

Change-Id: Id94c1d1cc67d1ae001a86e291ef63c350e03db8e