23 min ago* Bug 16257: obsoleting sysdiag() 81/21181/7 master
Samuel GOUGEON [Fri, 20 Dec 2019 22:17:30 +0000]
* Bug 16257: obsoleting sysdiag()

  http://bugzilla.scilab.org/16257

Change-Id: I30ee59a678a753dcab4f346101e742af70523640

36 min ago* Bug 16177 fixed [doc]: 1st example was KO in uicontrol page 79/21079/5
Samuel GOUGEON [Thu, 29 Aug 2019 21:12:00 +0000]
* Bug 16177 fixed [doc]: 1st example was KO in uicontrol page

  http://bugzilla.scilab.org/16177

Change-Id: I5454a67f7c675713287407098429ba3920fb54e2

4 hours agofix edit macro after merge (5c7fd5f) 69/20869/7
Antoine ELIAS [Thu, 21 Feb 2019 08:05:50 +0000]
fix edit macro after merge (5c7fd5f)
CR20654 + CR20035

Troubles come from modification on both side and move on 6.0.
git lose link between files.

Change-Id: I5ee86b0ea350c4b1e69ea89b13fa806a4165b17a

5 hours ago* Bug 16290: %sn() set obsolete 93/21193/5
Samuel GOUGEON [Sun, 29 Dec 2019 03:35:48 +0000]
* Bug 16290: %sn() set obsolete

  http://bugzilla.scilab.org/16290

  Requirement: https://codereview.scilab.org/21192 introduces ellipj()

Change-Id: I65cbb936479f27b805726eed7540caa254fba5d8

5 hours agofixed SetUicontrolIcon after cdf83a263 55/21255/9
Cedric Delamarre [Fri, 24 Jan 2020 15:06:42 +0000]
fixed SetUicontrolIcon after cdf83a263

  https://codereview.scilab.org/#/c/21041/

  plot() crash fixed

Change-Id: Ibea7a9f9f7ce19ec7a63188f2bcb3db15012dc26

6 hours ago[ast] limit occurences of argn(0)==0 to improve backward compatibility 58/21258/5
Stéphane Mottelet [Fri, 24 Jan 2020 17:23:15 +0000]
[ast] limit occurences of argn(0)==0 to improve backward compatibility

Since https://codereview.scilab.org/#/c/21034/ when a macro
was called without output arguments, the value argn(0)==0 is given
without restriction and this can break a lot of user codes checking
the number of output arguments with constructs like

if argn(0) <> 1, ..., end

instead of

if argn(0) > 1, ..., end

With this patch, argn(0)==0 is only granted when macro prototype has
no formal output argument or if varargout is the only formal output
argument.

Change-Id: Ifc235a2ac986550b41522fddbf448b6eaa02b2d3

6 hours ago* Bug 16290 fixed [special_functions]: ellipj() introduced 92/21192/9
Samuel Gougeon [Sun, 29 Dec 2019 02:44:54 +0000]
* Bug 16290 fixed [special_functions]: ellipj() introduced

  http://bugzilla.scilab.org/16290

  PDF ellipj() page: http://bugzilla.scilab.org/attachment.cgi?id=5039

Change-Id: I94c56e9730ff9bd517ab63e00fd4f09fa0f5981b

6 hours agoRemove colliding files on case-insensitive filesystem 84/21084/2
Clément DAVID [Wed, 4 Sep 2019 21:24:13 +0000]
Remove colliding files on case-insensitive filesystem

Change-Id: I5c56fb9d7d14a1a7b16339daf7414947d6350094

6 hours ago* Bug 16178 fixed: sci2exp() failed with input macros w/o argout 80/21080/4
Samuel GOUGEON [Sat, 31 Aug 2019 12:28:48 +0000]
* Bug 16178 fixed: sci2exp() failed with input macros w/o argout

  http://bugzilla.scilab.org/16178

Change-Id: I559ba07dfd92e1c318e10836ab946d8c3aa6a3ac

2 days ago* Bugs 8418 15522 15795 fixed: unique() upgraded 18/20918/4
Samuel GOUGEON [Tue, 2 Apr 2019 18:23:47 +0000]
* Bugs 8418 15522 15795 fixed: unique() upgraded

  http://bugzilla.scilab.org/8418
  http://bugzilla.scilab.org/15522
  http://bugzilla.scilab.org/15795

  Page updated (PDF): http://bugzilla.scilab.org/attachment.cgi?id=4927

Change-Id: If6b85f3fa5fe1c5bd948868aacd3da8fc18d3408

3 days agogetPreferencesValue() Actual removal 37/21037/5
Samuel GOUGEON [Thu, 18 Jul 2019 10:36:10 +0000]
getPreferencesValue() Actual removal

  * http://bugzilla.scilab.org/15433
  * after obsolescence @ https://codereview.scilab.org/19817
  * for Scilab 6.1.(x>0) ?

Change-Id: I5f6752e7f2356997488d9e8e80b89f0cb3f44b37

3 days ago* Bug 15514 fixed [doc]: set() page overhauled 82/21082/4
Samuel GOUGEON [Tue, 3 Sep 2019 19:36:35 +0000]
* Bug 15514 fixed [doc]: set() page overhauled

  http://bugzilla.scilab.org/15414

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

Change-Id: I4994efcecb0e891277d5d6cb3301294c869a1eb8

3 days ago* Bug 16148: xmlSetValues() <= setPreferencesValue() 38/21038/4
Samuel GOUGEON [Thu, 18 Jul 2019 13:59:57 +0000]
* Bug 16148: xmlSetValues() <= setPreferencesValue()

  http://bugzilla.scilab.org/16148

Change-Id: I5610ab0b0d70b3f06ad92fdb2a68786837f80eca

3 days ago[doc] help io/OS_commands subsection created 89/21189/2
Samuel GOUGEON [Fri, 27 Dec 2019 15:38:01 +0000]
[doc] help io/OS_commands subsection created

Change-Id: I1da7dd676039f136795f5eb4680de14f58525222

3 days ago[doc] help subsection fileio/file_system created 88/21188/2
Samuel GOUGEON [Fri, 27 Dec 2019 15:17:09 +0000]
[doc] help subsection fileio/file_system created

Change-Id: I618fa571fbec9002ce87b214269b5b172964da90

3 days ago* Bug 15392 fixed: comet() comet3d() with named|#RRGGBB|[r g b] colors 11/19711/16
Samuel GOUGEON [Tue, 30 Jan 2018 23:52:26 +0000]
* Bug 15392 fixed: comet() comet3d() with named|#RRGGBB|[r g b] colors

  http://bugzilla.scilab.org/15392

  comet() updated page: http://bugzilla.scilab.org/attachment.cgi?id=5042

  Complies with iscolor() extension @ https://codereview.scilab.org/21197

Change-Id: Ifb9830a6c7946569de7355af0a204aa0b3ccc046

3 days ago[ast] fix varargout regression after c1dbf528 51/21251/2
Stéphane Mottelet [Thu, 23 Jan 2020 15:51:08 +0000]
[ast] fix varargout regression after c1dbf528

Change-Id: Ib94bd0bcd2ed583eb8e4a83026f6b8308bea74ac

3 days ago* Bug 10723 fixed [doc]: subplot() page improved 57/20957/6
Samuel GOUGEON [Fri, 19 Apr 2019 22:34:20 +0000]
* Bug 10723 fixed [doc]: subplot() page improved

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

  CHANGES:
   - Short description improved
   - Description improved as proposed in comments
   - 2nd example added, illustrating a more complex layout
   - See also: overhauled

Change-Id: I72b6ae727904d190368e6bc2c84fcd009607c5fa

3 days ago* Bug 16245 fixed: gsort() did not sort booleans 25/21125/4
Samuel GOUGEON [Sun, 10 Nov 2019 19:43:23 +0000]
* Bug 16245 fixed: gsort() did not sort booleans

  http://bugzilla.scilab.org/16245

Change-Id: I77ac8a9f376181e08b5f78c6ed0f61d5bec273ce

3 days ago* Bug 15580.b: det(sparse([],[]) fixed 38/20938/5
Samuel GOUGEON [Fri, 12 Apr 2019 00:09:59 +0000]
* Bug 15580.b: det(sparse([],[]) fixed

  http://bugzilla.scilab.org/15580

Change-Id: I71d628ed4c5954ce450adca307b8213d5fe4da98

3 days ago* Bug 16019 fixed: polarplot(1:10, rand(10,3)) yielded an error 08/20908/3
Samuel GOUGEON [Mon, 25 Mar 2019 11:54:26 +0000]
* Bug 16019 fixed: polarplot(1:10, rand(10,3)) yielded an error

  http://bugzilla.scilab.org/16019

Change-Id: I68f6143e2c75f4d6b89c5b540e6b7489892f6647

4 days ago[ast] better display of string matrices 94/21094/11
Stéphane MOTTELET [Thu, 19 Sep 2019 16:23:08 +0000]
[ast] better display of string matrices

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

example:

--> x=["Mercury","Gemini","Apollo";"Skylab ABCDEF","Skylab B","ISS"]
 x  =

  "Mercury"        "Gemini"    "Apollo"
  "Skylab ABCDEF"  "Skylab B"  "ISS"

restored natural wrapping for very long strings, which allows direct
selection in console:

--> x="";for i=1:400,x=x+string(modulo(i,10)); end

--> x
 x  =

  "123456789012345678901234567890123456789012345678901234567890123456789
012345678901234567890123456789012345678901234567890123456789012345678901
234567890123456789012345678901234567890123456789012345678901234567890123
456789012345678901234567890123456789012345678901234567890123456789012345
678901234567890123456789012345678901234567890123456789012345678901234567
8901234567890123456789012345678901234567890"

Change-Id: I0103c8e52e4476c446f28a79de217532adc06ab0

4 days ago[graphic] iscolor() extended 97/21197/4
Samuel GOUGEON [Tue, 31 Dec 2019 04:46:14 +0000]
[graphic] iscolor() extended

  Now iscolor()
   * accepts special color indices -1 and -2.
     This compels
     - to return something else than -1 for wrong color specifications.
       NaN is used.
     - to return a column of colors indices instead of a RGB matrix,
       (when inputs are colors indices), since rows #-1 and #-2
       do no exist in the colormap.
       Macros where iscolor() is used are updated accordingly.

   * accepts abbreviations of standard color names ("ma" for "magenta", etc)

Change-Id: I985e364b50bd8a4b344fad943fa70ea4e29eb217

4 days agomove input() from [io] => [console] 02/21202/2
Samuel GOUGEON [Thu, 2 Jan 2020 22:42:41 +0000]
move input() from [io] => [console]

Change-Id: I87d4c387d08cb9b4184b218061b862745f437b56

4 days ago* Bug 16149 fixed: now fullpath supports symbolic links 41/21041/25
Stéphane Mottelet [Thu, 18 Jul 2019 21:02:49 +0000]
* Bug 16149 fixed: now fullpath supports symbolic links

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

Change-Id: Id96a292f615f2c3b2771595c2c5fc124c6dd5c95

4 days agotime: fix sleep(1, "ms") stop 50/21250/5
Clement David [Wed, 22 Jan 2020 16:07:07 +0000]
time: fix sleep(1, "ms") stop

Change-Id: Idd043940df3aab77064876f6d4e5f154a45636b3

4 days ago[ast] fix bug_15886.tst after d76fdfbf 38/21238/3
Stéphane Mottelet [Mon, 20 Jan 2020 12:44:08 +0000]
[ast] fix bug_15886.tst after d76fdfbf

Change-Id: I9ad4ba89aa60c0d72deadeacb9e0fac1e646a632

4 days agodisable fflush in sci_printf only in webmode 45/21245/2
Antoine ELIAS [Wed, 22 Jan 2020 08:46:27 +0000]
disable fflush in sci_printf only in webmode

Change-Id: I74a95e595d56dce51c4fa9ed2a0a376b08c7d6d6

4 days agolinux build: fix build after ad0b7e5a 49/21249/1
Clément DAVID [Wed, 22 Jan 2020 15:49:23 +0000]
linux build: fix build after ad0b7e5a

Change-Id: Ib618e4dcbb76ea149d08854649e0d452072b3c83

5 days agolinux build: fix build after 677fcf2e 48/21248/1
Clément DAVID [Wed, 22 Jan 2020 15:15:52 +0000]
linux build: fix build after 677fcf2e

Change-Id: I9eb235bf5c664904b974671f87a723154c9b8127

5 days agoupdate Supported Compilers help page 47/21247/1
Antoine ELIAS [Wed, 22 Jan 2020 13:05:05 +0000]
update Supported Compilers help page

Change-Id: I2bd0d2c9ebbdebb015db77bffe09a592f646f5cc

5 days ago* Bug 16135 fixed: now base2dec detects invalid numbers 33/21033/3
Stéphane MOTTELET [Wed, 10 Jul 2019 20:58:45 +0000]
* Bug 16135 fixed: now base2dec detects invalid numbers

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

Change-Id: I989bf9fe2834463d95d0afda9bd62a43d8eac1c7

5 days agoadd autoscroll change in CHANGES (5595cf) 46/21246/1
Antoine ELIAS [Wed, 22 Jan 2020 09:25:50 +0000]
add autoscroll change in CHANGES (5595cf)

Change-Id: I4a1e0fc0c97477c52a80093a133177d09f3115c3

5 days ago[console] allow smart scrolling in console 73/21073/5
Stéphane MOTTELET [Mon, 26 Aug 2019 09:57:02 +0000]
[console] allow smart scrolling in console

There may be times when output is dynamically added to the console
(optimization log or such). Normally, you would like the console to
scroll to the bottom automatically as new data is added so you can see
the most recent data. However, there may also be times when you are
viewing data somewhere else in the viewport, e.g. by dragging the
scrollbar of the console, and you don’t want scrolling to happen
automatically. This is implemented in this patch.

Source coming from:
https://tips4java.wordpress.com/2013/03/03/smart-scrolling/) with no
copyright (see https://tips4java.wordpress.com/about/).

Change-Id: Id245931789922fe8268ee37c831e1175bfbe8397

5 days ago* Bug 15742 fixed: [compatibility_functions] => [m2sci/*] 16/21216/4
Samuel GOUGEON [Sun, 12 Jan 2020 04:19:38 +0000]
* Bug 15742 fixed: [compatibility_functions] => [m2sci/*]

  http://bugzilla.scilab.org/15742

Change-Id: Id67ed313ebaad69d631eacacc62b96cf0c6c7f32

6 days ago* Bug 16303 fixed: log10 now works with hypermatrix 44/21244/9
Stéphane MOTTELET [Tue, 21 Jan 2020 13:07:42 +0000]
* Bug 16303 fixed: log10 now works with  hypermatrix

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

Change-Id: Id49265534e7351d85f09bb646e663d80f092b15d

6 days ago[time] calendar() uses argn(1)==0 instead of 'display' 42/21242/4
Samuel GOUGEON [Tue, 21 Jan 2020 12:03:40 +0000]
[time] calendar() uses argn(1)==0 instead of 'display'

  Since since a few days we can use argn(1)==0,
  we can avoid introducing 'display' option.

  Strangely, for me the unit test now fails on Windows with a code 1 exit.

Change-Id: Ib9d49b063c06a46a890c30d04268b2605686cb47

6 days ago* Bug 15374 fixed: now trivial infinite loop can be interrupted 79/20979/10
Stéphane MOTTELET [Thu, 16 May 2019 17:09:12 +0000]
* Bug 15374 fixed: now trivial infinite loop  can be interrupted

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

Change-Id: I29f265bb156d0f956bc5ef1837b0419bd4119eb4

6 days agoctrl-c to break execution fixed 41/21241/2
Cedric Delamarre [Tue, 21 Jan 2020 11:37:44 +0000]
ctrl-c to break execution fixed

    for i = 1:1d7,1+1;end   // the ctrl-c to stop the loop
    interactive test bug_1917

Change-Id: Iaf3befafc0116b835cb515f6243b6f26329b10b5

6 days ago* Bug 16273 fixed: calendar() formated display added 83/21183/6
Samuel GOUGEON [Sat, 21 Dec 2019 15:32:15 +0000]
* Bug 16273 fixed: calendar() formated display added

  http://bugzilla.scilab.org/16273

  help page updated (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5036

Change-Id: Ic76e4bba99fb26d0ed380db22263b8bb099534ec

6 days ago* Bug 16143 fixed: clc(n) cleared n+1 lines instead of n>0 66/21166/10
Chin Luh Tan [Thu, 12 Dec 2019 22:56:48 +0000]
* Bug 16143 fixed: clc(n) cleared n+1 lines instead of n>0
* Bug 14642 fized: no more "\r" carriage return with printf

  http://bugzilla.scilab.org/16143
  http://bugzilla.scilab.org/14642

  Test 1:
  // Test 1
  mode(0)
  mode(0)
  mode(0)
  clc(1)
should leave
--> // Test 1
--> mode(0)
--> mode(0)
-->

  Test 2:
  // Test 2
  printf("\ntoto, \r titi");
should leave
--> // Test 2
--> printf("\ntoto, \r titi");

 titi

Change-Id: I732698f754c07f94efb5a48c3130f7e53e5e8e71

6 days ago* Bug 15969 fixed: typo in bug_13962.tst 68/20868/5
Samuel GOUGEON [Thu, 21 Feb 2019 01:59:14 +0000]
* Bug 15969 fixed: typo in bug_13962.tst

  http://bugzilla.scilab.org/15969

Change-Id: Ibb582cad331fb1237bc89118a192c6614032fa40

6 days agoupdate test bug_15638 39/21239/2
Adeline CARNIS [Mon, 20 Jan 2020 13:58:52 +0000]
update test bug_15638

Change-Id: Ie1270fe084470d12b5ef450690def7ef898afd4b

6 days ago* Bug 7967 fixed [doc]: size(meshgrid(..)) better documented 15/21215/7
Samuel GOUGEON [Sat, 11 Jan 2020 22:00:33 +0000]
* Bug 7967 fixed [doc]: size(meshgrid(..)) better documented

  http://bugzilla.scilab.org/7967

  meshgrid() page overhauled (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5053

Change-Id: I95a373418557ca36bb22fcadad4797228eb88318

6 days agodynamic_link: manage VS2017 and VS2019 14/20714/5
Antoine ELIAS [Sat, 19 Jan 2019 19:24:22 +0000]
dynamic_link: manage VS2017 and VS2019

Change-Id: Ic9bfe6c6bd480b58d83d784d9ccd306a50d2d6df

7 days ago[ast] update sparse extraction after 55ed9848 37/21237/5
Stéphane Mottelet [Mon, 20 Jan 2020 11:05:07 +0000]
[ast] update sparse extraction after 55ed9848

--> test_run ast sparse
   TMPDIR = /tmp/SCI_TMP_44818_TfHLNe

   001/001 - [ast] sparse.......................................passed

   --------------------------------------------------------------------------
   Summary

   tests              1 - 100 %
   passed             1 - 100 %
   failed             0 -   0 %
   skipped            0
   length             0.66 sec
   --------------------------------------------------------------------------
 ans  =

  T

--> test_run sparse
   TMPDIR = /tmp/SCI_TMP_10302_vHFecU

 Module  001/001 - [sparse] :

   001/053 - [sparse] adj2sp....................................passed
   002/053 - [sparse] conjgrad..................................passed
   003/053 - [sparse] conjgrad_function.........................passed
   004/053 - [sparse] conjgrad_list.............................passed
   005/053 - [sparse] conjgrad_numerical........................passed
   006/053 - [sparse] conjgrad_sparse...........................passed
   007/053 - [sparse] lsparse...................................passed
   008/053 - [sparse] nnz.......................................passed
   009/053 - [sparse] ordmmd....................................passed
   010/053 - [sparse] qmr.......................................passed
   011/053 - [sparse] sp2adj....................................passed
   012/053 - [sparse] sparse....................................passed
   013/053 - [sparse] sparse-extract............................passed
   014/053 - [sparse] sparse-insert.............................passed
   015/053 - [sparse] sparseBool................................passed
   016/053 - [sparse] spisp.....................................passed
   017/053 - [sparse] sprand....................................passed
   018/053 - [sparse] spzeros...................................passed
   019/053 - [sparse] bug_10126.................................passed
   020/053 - [sparse] bug_10271.................................passed
   021/053 - [sparse] bug_11612.................................passed
   022/053 - [sparse] bug_11618.................................passed
   023/053 - [sparse] bug_13838.................................passed
   024/053 - [sparse] bug_14271.................................passed
   025/053 - [sparse] bug_14330.................................passed
   026/053 - [sparse] bug_15246.................................passed
   027/053 - [sparse] bug_15647.................................passed
   028/053 - [sparse] bug_15648.................................passed
   029/053 - [sparse] bug_15750.................................passed
   030/053 - [sparse] bug_15753.................................passed
   031/053 - [sparse] bug_15758.................................passed
   032/053 - [sparse] bug_16007.................................passed
   033/053 - [sparse] bug_16260.................................passed
   034/053 - [sparse] bug_16272.................................passed
   035/053 - [sparse] bug_2003..................................passed
   036/053 - [sparse] bug_2277..................................passed
   037/053 - [sparse] bug_2430..................................passed
   038/053 - [sparse] bug_3006..................................passed
   039/053 - [sparse] bug_3025..................................passed
   040/053 - [sparse] bug_3263..................................passed
   041/053 - [sparse] bug_4654..................................passed
   042/053 - [sparse] bug_4783..................................passed
   043/053 - [sparse] bug_490...................................passed
   044/053 - [sparse] bug_6401..................................passed
   045/053 - [sparse] bug_6412..................................passed
   046/053 - [sparse] bug_6427..................................passed
   047/053 - [sparse] bug_6827..................................passed
   048/053 - [sparse] bug_7675..................................passed
   049/053 - [sparse] bug_8511..................................passed
   050/053 - [sparse] bug_8938..................................passed
   051/053 - [sparse] bug_9161..................................passed
   052/053 - [sparse] bug_9780..................................passed
   053/053 - [sparse] bug_9999..................................passed

   --------------------------------------------------------------------------
   Summary

   tests             53 - 100 %
   passed            53 - 100 %
   failed             0 -   0 %
   skipped            0
   length             41.33 sec
   --------------------------------------------------------------------------
 ans  =

  T

Change-Id: I43fdee90474ec78fdf89df039d20f9f8a9ee6058

7 days agoupdate pre-commit hook for Scinotes indentation on Windows 40/21240/2
Antoine ELIAS [Mon, 20 Jan 2020 14:02:32 +0000]
update pre-commit hook for Scinotes indentation on Windows

Change-Id: I3e7603a0a148333aa2fc53fc3e0f758b6aefd561

7 days ago* Bugs 16011 16299 fixed: colorbar() failed after plot3d2() & graypolarplot() 06/20906/4
Samuel GOUGEON [Sat, 23 Mar 2019 14:49:49 +0000]
* Bugs 16011 16299 fixed: colorbar() failed after plot3d2() & graypolarplot()

  http://bugzilla.scilab.org/16011
  http://bugzilla.scilab.org/16299

Change-Id: I713183aaf5808eb600b87bccae4569c1f95aa2a4

7 days agoupdate splashscreen to 6.1.0 65/20865/4
Antoine ELIAS [Tue, 19 Feb 2019 13:07:53 +0000]
update splashscreen to 6.1.0

Change-Id: I3c132c6dbd0976430f224eb930740d75baf8c53f

7 days ago[ast] memory leak fixed on ImplicitList and Cell 33/21233/3
Cedric Delamarre [Fri, 17 Jan 2020 16:12:47 +0000]
[ast] memory leak fixed on ImplicitList and Cell

  test_run ast bug_16089 mode_nwni_profiling
  test_run ast bug_16200 mode_nwni_profiling

Change-Id: Iecffea0e7d4b43101acdd2d51e328754d3f30857

8 days ago* Bug 16197 fixed: decomplexify result of extraction when applicable 90/21090/6
Stéphane MOTTELET [Wed, 18 Sep 2019 13:21:08 +0000]
* Bug 16197 fixed: decomplexify result of extraction when applicable

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

If after extraction imaginary parts of result are all zero then result
is decomplexified. The patch does not interfer with other features like

--> x=complex(zeros(3,1)) // no extraction here
 x  =

   0.
   0.
   0.

--> isreal(x)
 ans  =

  F

but it allows the intuive behaviors below:

--> p=poly([1 1 1 1],"x","coeff"); r=roots(p)
 r  =

   1.i
  -1.i
  -1.

--> isreal(r(3))
 ans  =

  T

Change-Id: Ieed42028fbe36540a549f6f3d3dd7325c370a210

8 days ago* Bug 16160 fixed: ppol changed values of third input variable 70/21070/5
Stéphane MOTTELET [Tue, 20 Aug 2019 07:41:33 +0000]
* Bug 16160 fixed: ppol changed values of third input variable

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

Change-Id: Idd4443a5d3b711c4f98072123e892358dbbfb2b9

8 days ago* Bug 14746 fixed: display of tiny numbers is repaired 91/21091/2
Stéphane MOTTELET [Wed, 18 Sep 2019 14:21:11 +0000]
* Bug 14746 fixed: display of tiny numbers is repaired

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

Change-Id: I5b65fc8401509505e6146308fda991ef7127746b

9 days ago* Bug #16051 fixed: now undefined list elements are of Void type 60/20960/11
Stéphane MOTTELET [Thu, 25 Apr 2019 12:06:10 +0000]
* Bug #16051 fixed: now undefined list elements are of Void type

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

Change-Id: I19016c7544f4b3bd0c748a27b736fb86eda0a419

9 days agolinux build: include importgui as a fileio Scilab lib 34/21234/2
Clément DAVID [Fri, 17 Jan 2020 16:17:57 +0000]
linux build: include importgui as a fileio Scilab lib

Change-Id: Ie0a0f482cf235c815e9efc72f2606c328da1b46d

9 days ago[ast] dotdivide and subtraction test fixed 32/21232/3
Cedric Delamarre [Fri, 17 Jan 2020 14:15:40 +0000]
[ast] dotdivide and subtraction test fixed

  test_run ast dotdivide
  test_run ast subtraction

Change-Id: I0fcf6780ed1097b1fffff1a978970ff5db9c54a7

10 days agofix performance regression after 4466c36 31/21231/2
Cedric Delamarre [Fri, 17 Jan 2020 09:58:22 +0000]
fix performance regression after 4466c36

    test_run ast bug_16263
    tic();d(1:50000)=%s;toc()
    r = [0 %i 1/%s] +1  // doesn't crash scilab

Change-Id: Ie5e6f572274a12256d92618936dbf9954536946c

10 days agoast: undefined %foo_clear() silently pass 87/21187/3
Clement David [Mon, 23 Dec 2019 10:29:06 +0000]
ast: undefined %foo_clear() silently pass

After %foo_clear() introduction on 6ee5c6ff, some tests start failing as
they are using mlist without defining the clear operation. This make
them pass again by avoiding the error report when the overloading is
undefined.

Change-Id: Ia586b4118f4ad1d81c186e88a3eb18ed4ff1d99e

10 days ago* Bug 7765: champ1() is declared obsolete 13/21213/3
Samuel GOUGEON [Fri, 10 Jan 2020 22:34:37 +0000]
* Bug 7765: champ1() is declared obsolete

  http://bugzilla.scilab.org/7765

Change-Id: Ia5d433e0fa84a7e4330616ee0c25c1a9569b2123

10 days agoui_data: make editvar() copy-paste of strings work 19/21219/3
Clement David [Tue, 14 Jan 2020 14:16:31 +0000]
ui_data: make editvar() copy-paste of strings work

Change-Id: I7de3ba5bcbab0c902397157bb981802cae814ae3

10 days agowindows: force codepage to 65001 to show superscript characters 43/21143/5
Antoine ELIAS [Thu, 28 Nov 2019 23:35:17 +0000]
windows: force codepage to 65001 to show superscript characters

Change-Id: I6243bd5c7631f227929489404623d5f04d37872a

10 days agoload: fix loading macros .bin files 80/21180/3
Clement David [Fri, 20 Dec 2019 09:52:51 +0000]
load: fix loading macros .bin files

Change-Id: I81ddfa02c49b9cd07508d09211a6bd3c641fd4c5

10 days agoxcos: load zcos files containing blocks with data matrices 64/21164/3
Clement David [Thu, 12 Dec 2019 10:21:23 +0000]
xcos: load zcos files containing blocks with data matrices

Change-Id: Ib4a95d11824dba6a9114a0e5ad37b1c6ae93c422

10 days agoapi_scilab: workaround Coverity false positive 06/21106/3
Clement David [Mon, 21 Oct 2019 10:40:13 +0000]
api_scilab: workaround Coverity false positive

See Coverity #1350356 #1350357 #1350358 #1350359

Change-Id: Ie52556190267405b8064f35cc14307a407e32b9d

10 days ago[overloading] fix rational display after 59c15042 30/21230/2
Stéphane Mottelet [Thu, 16 Jan 2020 16:06:26 +0000]
[overloading] fix rational display after 59c15042

Change-Id: If198d83646694f3ea49b995f85ccae08952acc4c

10 days agoAST: fix some compilation warnings 43/21043/3
Clément DAVID [Mon, 3 Sep 2018 07:42:00 +0000]
AST: fix some compilation warnings

Change-Id: Ie6002555c382327a3a6e92ea294a82fb2ca1d9fe

10 days ago* Bug 16293 fixed: demos in console need starting messagebox 04/21204/4
Samuel GOUGEON [Fri, 3 Jan 2020 00:43:31 +0000]
* Bug 16293 fixed: demos in console need starting messagebox

  http://bugzilla.scilab.org/16293

  mode(7) deprecated is replaced with the more compact mode(4)
  instead of mode(6), to avoid extra white lines between comments.

Change-Id: I03a41f44cd6603e518d2a27dea3103d9a7af88e1

10 days agotests: remove getmemory() usage on tests 21/21021/3
Clément DAVID [Tue, 25 Jun 2019 12:48:32 +0000]
tests: remove getmemory() usage on tests

To check memory leaks, we should use whole program memory analysis tools
such as VLD (on Windows), ASAN (on Linux/macOS) or Valgrind (on Linux/macOS).

Using `test_run(.., .., "mode_nwni_profiling")` will track the memory
on the selected tests without having gross estimate within them.

Change-Id: Ib05b7dbf028fdb13e0a580bb30573b0cf8990efc

10 days agoDemos Graphics/complexFuns: Scaling + mesh visibility improved 05/21205/3
Samuel GOUGEON [Fri, 3 Jan 2020 01:27:07 +0000]
Demos Graphics/complexFuns: Scaling + mesh visibility improved

Change-Id: Ie974d127ca0ad17435d60e01a026dd0373e44400

10 days agomissing ';' in TCL_Command.c 29/21229/1
Antoine ELIAS [Thu, 16 Jan 2020 15:38:45 +0000]
missing ';' in TCL_Command.c

Change-Id: I547e3c6a8c8a020b1ddc263579601c953afcf1bc

11 days agoXcos: fix export all layers of a diagram 68/20968/3
Clément DAVID [Mon, 6 May 2019 07:25:32 +0000]
Xcos: fix export all layers of a diagram

Change-Id: Ibc6fe97683d72b2cea7aa6fc06cdfc5e353c6377

11 days agoXcos: add "shift ENTER" as Context validator 39/20939/2
Clement DAVID [Fri, 12 Apr 2019 09:53:10 +0000]
Xcos: add "shift ENTER" as Context validator

Change-Id: I8da82f6c955ce32830b6b5faf15985a71967fea7

11 days agoScicos blocks: speedup benchmarks/sciblk4.tst by 2 24/20924/2
Clément DAVID [Fri, 5 Apr 2019 07:09:45 +0000]
Scicos blocks: speedup benchmarks/sciblk4.tst by 2

Change-Id: Ia59744025515368563312ab4e25ba9edca1b7458

11 days agotoolbox_skeleton: fix isdir() typo on loaders 96/20896/2
Clément DAVID [Wed, 6 Mar 2019 13:59:56 +0000]
toolbox_skeleton: fix isdir() typo on loaders

Change-Id: Ib371c3d3188b95255c4640433714bee0000e24c1

11 days agoNewsfeed: use a custom HTTP User-Agent 64/20864/3
Clément DAVID [Mon, 18 Feb 2019 16:40:36 +0000]
Newsfeed: use a custom HTTP User-Agent

Change-Id: I1316680c33b2e6ef287c9e2fd3638bb75a826b3f

11 days agoXcos CURVE_c: avoid figure popup on error when edit window mode is off. 26/20626/3
Clement DAVID [Mon, 29 Oct 2018 08:02:31 +0000]
Xcos CURVE_c: avoid figure popup on error when edit window mode is off.

Change-Id: Idb19adc793d98a736d85b0053e8d8e34917a4897

11 days agoignore vim CCLS config files (used by ALE) 57/21057/2
Clément DAVID [Fri, 26 Jul 2019 09:25:33 +0000]
ignore vim CCLS config files (used by ALE)

CCLS is a C/C++ language server used by ALE (Linter, Fixer, Completer)
for the C/C++ language.

Change-Id: If0d7bf646ddd03834bdd25de8622ad4f8793c75f

11 days agodifferential_equations: fix bug_3551.tst execution 75/21175/2
Clément DAVID [Mon, 16 Dec 2019 10:28:22 +0000]
differential_equations: fix bug_3551.tst execution

Change-Id: I888fc19d36a6715ec9483714cf2ab5a29b4dfa83

11 days agotime: remove xpause() and related dependency 56/21056/3
Clément DAVID [Wed, 24 Jul 2019 13:03:04 +0000]
time: remove xpause() and related dependency

POSIX.1-2008 nanosleep() is used for other functionnalities. This remove
POSIX.1-2001 sleep() and usleep() usage on Scilab codebase.

Change-Id: I60c3a7fc98bf059f9bc177c5f087738dc583e8fb

11 days agoupdate files for 2020 28/21228/1
Cedric Delamarre [Thu, 16 Jan 2020 12:42:55 +0000]
update files for 2020

Change-Id: I5fe8d2be48784ede1466569b87e2c3102daaf3b6

11 days ago* Bug 15974 fixed: msprintf("%d", %nan) does not return Nan 76/20876/6
Antoine ELIAS [Fri, 22 Feb 2019 08:21:53 +0000]
* Bug 15974 fixed: msprintf("%d", %nan) does not return Nan

http://bugzilla.scilab.org/15974

Change-Id: I2bc0a66e429d732afb884121ec9a6195d4088a90

11 days agomissing a '&' in a '&&' condition 27/21227/1
Antoine ELIAS [Thu, 16 Jan 2020 11:09:01 +0000]
missing a '&' in a '&&' condition

Change-Id: I18f144f1338ecf84b890044bf64faea3d9e04c54

11 days agospreadsheet: speedup by removing intermediate copies 72/20972/11
Clement DAVID [Tue, 7 May 2019 09:57:12 +0000]
spreadsheet: speedup by removing intermediate copies

The passed wchar_t* array should only be copied once before working on
it. During the whole processing, there should be no copy on the common
case (but extra copies might be needed for corner cases). Performance
improvement is also highly related to wchar_t* Scilab string storage.

This commit patch csvTextScan and csvRead functionnalities; please note
that using mgetl and csvTextScan will still need 2 extra copies than
csvRead (1 to store mgetl results and 1 to have mutable buffers during
scanning).

Change-Id: I51f8c4b0e0437bfe4ac69439b739a60262da1cf1

11 days agoparser: remove a memory leak on /* block comments */ 46/21146/3
Clément DAVID [Wed, 4 Dec 2019 09:59:41 +0000]
parser: remove a memory leak on /* block comments */

Change-Id: I9e9870eabfd92a295d8576b22337471ff778f17d

11 days agoast: fix memleaks detected by ASAN during testing 48/21148/4
Clément DAVID [Wed, 4 Dec 2019 13:55:22 +0000]
ast: fix memleaks detected by ASAN during testing

Change-Id: Ib2d1c31769777209ddcd0abc75e534060f12c389

11 days ago* Bug 16200 fixed: concatenation of transposed cells crashed Scilab 95/21095/3
Stéphane MOTTELET [Fri, 27 Sep 2019 08:45:30 +0000]
* Bug 16200 fixed: concatenation of transposed cells crashed Scilab

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

Change-Id: Ibde739acc4b29772e7eef74ab87b4b5fc091c766

11 days ago[Optimization] leaks fixed 74/20274/2
Cedric Delamarre [Mon, 16 Jul 2018 12:14:44 +0000]
[Optimization] leaks fixed

Change-Id: I28c60b78a4158e32bc67468a358d0cb9bb92189c

11 days agofileio: fix build after 70859 fileio/macros/importgui added 23/21223/1
Samuel GOUGEON [Wed, 15 Jan 2020 22:04:52 +0000]
fileio: fix build after 70859 fileio/macros/importgui added

Change-Id: Ie1a3e6762ea3d4ccff0ce93ff00e7bfec46b72e6

11 days agojava: fix build after b82ae59d 22/21222/1
Clement David [Wed, 15 Jan 2020 16:52:48 +0000]
java: fix build after b82ae59d

Change-Id: I1fde35911a4fca5a4254a29588dfae4d4aca51ff

11 days ago* Bug 15451 fixed: reduce Lucene API usage 92/20392/3
Clement David [Wed, 15 Jan 2020 10:57:58 +0000]
* Bug 15451 fixed: reduce Lucene API usage

This commit has been checked with lucene 8.4.0 and 5.2.1.

 http://bugzilla.scilab.org/15451

Change-Id: I9f49d3a2bf9f882fe58f571d7acbcd74cc0a5773

11 days ago* Bug 16260 fixed: overloading nnz() is allowed again. 41/21141/5
Stéphane MOTTELET [Wed, 27 Nov 2019 09:18:33 +0000]
* Bug 16260 fixed: overloading nnz() is allowed again.

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

Change-Id: Id761d52a169c5482a61d971d646f6667eaafa63a

12 days ago* Bug 16089 fixed: x=1:1e10 now raise an error 17/21217/3
Stéphane MOTTELET [Mon, 13 Jan 2020 16:24:48 +0000]
* Bug 16089 fixed: x=1:1e10 now raise an error

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

Change-Id: Ibdbedb99b7920f8f3348ef61d9b8b2b9f6fbba9a

12 days ago* Bug 11852 fixed: now filebrowser updates 20/21220/3
Stéphane MOTTELET [Tue, 14 Jan 2020 16:11:47 +0000]
* Bug 11852 fixed: now filebrowser updates

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

Change-Id: I9d77249c7b2242298dc039a42019164ee6ebd295

12 days ago[ast] allow _iRetCount == 0 in gateways 34/21034/42
Stéphane Mottelet [Fri, 12 Jul 2019 15:41:40 +0000]
[ast] allow _iRetCount == 0 in gateways

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

Just an example of what can be done after this patch

* at the macro level (see plot.sci in the patch):

--> plot(1:10,sin(1:10),1:10,cos(1:10))

--> h=plot(1:10,sin(1:10),1:10,cos(1:10))
 h  =

2 by 1 matrix of handles:
=========================
Polyline
Polyline

--> plot(1:10,sin(1:10),1:10,cos(1:10)).foreground
 ans  =

   33.
   2.

zero value of argn(1) is overriden only in relevant cases: e.g. recursive
extraction or use of expression as an argument in another callExp.

* at the gateway level (here old Scilab C API) :

--> plot3d(rand(10,10))

--> h=plot3d(rand(10,10))
 h  =

Handle of type "Plot3d" with properties:
========================================
parent: Axes
children: []
visible = "on"
surface_mode = "on"
foreground = -1
thickness = 1
mark_mode = "off"
mark_style = 0
mark_size_unit = "tabulated"
mark_size = 0
mark_foreground = -1
mark_background = -2
data.x = [1,2,3,4,5,6,7,8,9,10]
data.y = [1,2,3,4,5,6,7,8,9,10]
data.z matrix 10x10
color_mode = 2
color_flag = 0
hiddencolor = 4
clip_state = "clipgrf"
clip_box = []
ambient_color = [0,0,0]
diffuse_color = [1,1,1]
specular_color = [1,1,1]
use_color_material = "on"
material_shininess = 2
user_data = []
tag = ""

Change-Id: I60f075f8e348fea51ca6ddc2c7985324de5d63f5

12 days ago* Bug 16164 fixed [doc]: elementary_functions/signal_processing/* pages mislocated 65/21065/4
Samuel GOUGEON [Sun, 4 Aug 2019 01:52:38 +0000]
* Bug 16164 fixed [doc]: elementary_functions/signal_processing/* pages mislocated

  http://bugzilla.scilab.org/16164

  The macros of bloc2ss, pen2ea, ssrand, sysconv and trfmod are
  already in the right modules (now the same as for their pages).

Change-Id: I1cf27703a0a4a5d92666fd3855984488763dc27e

12 days agotests: regenerate dia.ref after some display changes 49/21149/4
Clément DAVID [Thu, 5 Dec 2019 13:31:26 +0000]
tests: regenerate dia.ref after some display changes

Change-Id: Ib3dd6e772f648139a2b7adac3623019b8954fec5

13 days ago* Bug 16026 fixed: atanh() page and m2sci updated 52/21152/5
Samuel GOUGEON [Sun, 8 Dec 2019 23:22:35 +0000]
* Bug 16026 fixed: atanh() page and m2sci updated

  http://bugzilla.scilab.org/16026

  Updated page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5031

Change-Id: Icfa1daf8594beed8c5290971179eef485736c2d3

13 days agolocalization: update POT from source code 18/21218/1
Clément DAVID [Tue, 14 Jan 2020 13:25:09 +0000]
localization: update POT from source code

Change-Id: I2de467c8fdf3c5d010eb416624973ad8ad24e0dc

13 days agoWIP: add gui to easily interface csvRead 90/20890/4
Antoine ELIAS [Tue, 26 Feb 2019 11:23:56 +0000]
WIP: add gui to easily interface csvRead

Need : https://codereview.scilab.org/#/c/20891/

Change-Id: Id2f54670acc78070af5f2db472c1e07a1b226eed

13 days ago[ast] fix string() regression after 97488f67 07/21207/2
Stéphane MOTTELET [Mon, 6 Jan 2020 13:20:19 +0000]
[ast] fix string() regression after 97488f67

Change-Id: I3ca07f22c9b922bdbbb467fec3fd16f2714a3364