6 months 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

6 months 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

6 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

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

Change-Id: I5fe8d2be48784ede1466569b87e2c3102daaf3b6

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

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

Change-Id: I28c60b78a4158e32bc67468a358d0cb9bb92189c

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months ago* Bug 15368 fixed: freson() issues on some cases 84/21184/5
Samuel GOUGEON [Sat, 21 Dec 2019 22:19:42 +0000]
* Bug 15368 fixed: freson() issues on some cases

  http://bugzilla.scilab.org/15368

Change-Id: Ic6385968a3c71aa627fdc68ae237c4424bb95abd

7 months ago* Bug 10353 fixed [doc]: axes_properties page fixed + improved 85/21185/3
Samuel GOUGEON [Sun, 22 Dec 2019 03:04:33 +0000]
* Bug 10353 fixed [doc]: axes_properties page fixed + improved

  http://bugzilla.scilab.org/10353

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

Change-Id: I4c34877d58e49fee325ff23fac63f68fed50986c

7 months agoBug 14985 fixed: scilab crashes if a .bin file is not found 78/21178/5
Antoine ELIAS [Tue, 17 Dec 2019 15:40:59 +0000]
Bug 14985 fixed: scilab crashes if a .bin file is not found

http://bugzilla.scilab.org/14985

Change-Id: Ic3d08e8063c41d50e6be94893139a661fed67927

7 months ago[doc] ./utilities section created. head_comments() moved 86/21186/2
Samuel GOUGEON [Sun, 22 Dec 2019 18:44:27 +0000]
[doc] ./utilities section created. head_comments() moved

Change-Id: I32dbeb39d5253718b37a30981f259efdb12ecbc7

7 months ago* Bug 15394 fixed: now Linux build with hdf5 1.10 is OK 79/21179/23
Stéphane MOTTELET [Thu, 19 Dec 2019 00:07:57 +0000]
* Bug 15394 fixed: now Linux build with hdf5 1.10 is OK

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

Change-Id: Icc424b4e2acd01e764a3bd888829cff8fd136a5f

7 months ago* Bug 8307: list2vec() vec2list() => [data_structures] 55/21155/4
Samuel GOUGEON [Tue, 10 Dec 2019 00:28:46 +0000]
* Bug 8307: list2vec() vec2list() => [data_structures]

  http://bugzilla.scilab.org/8307

Change-Id: Iaad20c912ca063feb6ede08db0f9e6a7ab56f62f

7 months ago* Bug 16227 fixed: WSCI added in environment 08/21108/3
Samuel GOUGEON [Wed, 30 Oct 2019 23:28:01 +0000]
* Bug 16227 fixed: WSCI added in environment

  http://bugzilla.scilab.org/16227

Change-Id: I6298b52b431cb330c9e3423c42c7a428e51a894d

7 months agofix the windows build after 80e821 76/21176/2
Clement David [Mon, 16 Dec 2019 16:29:30 +0000]
fix the windows build after 80e821

Change-Id: I230f70ca23f4e1a75d7cc967778d944a789b3891

7 months agobug 14791: "sleep 1" crashed Scilab 67/21167/4
Antoine ELIAS [Fri, 13 Dec 2019 09:13:43 +0000]
bug 14791: "sleep 1" crashed Scilab

Change-Id: I4f42416f143f8659e2b29bbd5b6d0407419bbf3c

7 months ago* Bug 15745 fixed: diophant() fixed & improved 71/21171/8
Samuel GOUGEON [Sun, 15 Dec 2019 13:29:03 +0000]
* Bug 15745 fixed: diophant() fixed & improved

  http://bugzilla.scilab.org/15745

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

  Unit tests added. They may require https://codereview.scilab.org/20995

Change-Id: I0b01d4634bc6c55d1ace415ae78765e1f045fcb2

7 months ago* Bugs 9529 16104 fixed: assert_checkequal() for lists with void elements 95/20995/8
Samuel GOUGEON [Sat, 1 Jun 2019 04:42:32 +0000]
* Bugs 9529 16104 fixed: assert_checkequal() for lists with void elements

  http://bugzilla.scilab.org/9529
  http://bugzilla.scilab.org/16104

  Are now properly supported:
   - Nan and void in compared lists
   - Nan in sparse
   - implicit lists
   - macros
   - libraries
   - primitives
   - graphical handles
   - when inputs are arrays or lists of same lengths: the mismatch
     message indicates the index of the first mistmatching elements.

Change-Id: I3bac3c5c88bbec181cf17df65e720022d373b384

7 months ago[elementary_functions] fix bitstring unit test after cce20c5c 60/21160/2
Stéphane MOTTELET [Tue, 10 Dec 2019 13:29:09 +0000]
[elementary_functions] fix bitstring unit test after cce20c5c

Before https://codereview.scilab.org/#/c/21008/ bit sign of Nan
string was incorrect.

Change-Id: I16ef07237bbdef442f187e48e2674d9813a9eb40

7 months ago[differential_equations] fix ode unitary test afer 55d858ad 59/21159/4
Stéphane MOTTELET [Tue, 10 Dec 2019 13:24:13 +0000]
[differential_equations] fix ode unitary test afer 55d858ad

Error formula has been fixed in 55d858ad for "rk" solver and resulting
error was bigger than supposed. The test now verifies that relative
error w.r.t. true solution is in the expected default tolerance, for the
three tested solvers, "rk", "rkf" and "fixx".

Change-Id: I55105d38affb0b450c3cb00d809379fe5d47f757

7 months ago* Bug 15744 fixed: sylm(a,b) failed for deg(a)|deg(b)==0 69/21169/4
Samuel GOUGEON [Fri, 13 Dec 2019 22:29:09 +0000]
* Bug 15744 fixed: sylm(a,b) failed for deg(a)|deg(b)==0

  http://bugzilla.scilab.org/15744

Change-Id: If70c645afecef1141a681eb69ee7cca608e1c59e

7 months ago* Bugs 7724 13766 fixed [doc]: figure_properties/figure fixed/improved 07/20907/5
Samuel GOUGEON [Sun, 24 Mar 2019 19:08:23 +0000]
* Bugs 7724 13766 fixed [doc]: figure_properties/figure fixed/improved

  http://bugzilla.scilab.org/7724  : Minimal figure sizes
  http://bugzilla.scilab.org/13766 : At creation, .auto_resize="on"
                              makes .axes_size driving .figure_size

  + .figure_size & .axes_size warning when the figure is docked

Change-Id: Ia9a05df81de0431336c37952b44a9f59b6dd9e43

7 months ago* Bugs 10353.1 16210 fixed [doc]: uicontrol.position .units 73/21173/3
Samuel GOUGEON [Sun, 15 Dec 2019 20:44:41 +0000]
* Bugs 10353.1 16210 fixed [doc]: uicontrol.position .units

  http://bugzilla.scilab.org/10353
  http://bugzilla.scilab.org/16210

  + .string, .value: Description improved for spinner

Change-Id: Ib344d326248237a24de7da8f8a337a822bb2445e

7 months ago[doc] mv data_structures/types => core/types 72/21172/2
Samuel GOUGEON [Sun, 15 Dec 2019 17:47:53 +0000]
[doc] mv data_structures/types => core/types

Change-Id: I5b43b671b4f258667d074e03a7a1efe428853717

7 months ago%i_isreal() %i_real() %i_imag() added 70/21170/3
Samuel GOUGEON [Sat, 14 Dec 2019 23:32:48 +0000]
%i_isreal() %i_real() %i_imag() added

  This also enables isinf() and isnan() for integers.

Change-Id: I8bc31bcaa8c36cc14d99015003a6fa974311ccec

7 months ago[doc] misc. typos, small fixes & improvements 38/21138/14
Samuel GOUGEON [Mon, 25 Nov 2019 01:53:37 +0000]
[doc] misc. typos, small fixes & improvements

 * %k: m was wrongly restricted to R+. integral definition was missing.
 * bitget: an example simplified
 * freson: discrete: <programlisting> did not match <scilab:image>
 * optim_sa: alone in its section => moved in ../
 * http_upload had a wrong refname
 * warning: translated versions were not up-to-date:
    http://bugzilla.scilab.org/16265

Change-Id: Idfcbfa995158edb5af780d94a90cb3f91a462e60

7 months ago[core] fix regressions after c1f299d7 58/21158/7
Stéphane Mottelet [Tue, 10 Dec 2019 11:10:28 +0000]
[core] fix regressions after c1f299d7

who_user unit test, bug 1473 NR test: linspace is not anynore a macro.
bug 12913 regression: integer type should be OK for size paramter.

Change-Id: I4be92b3accd76c0b83cdf18571de999b4094642d

7 months ago* Bug 12999 fixed: now zeros() and ones() can return integers 64/19964/17
Stéphane Mottelet [Thu, 19 Apr 2018 10:07:17 +0000]
* Bug 12999 fixed: now zeros() and ones() can return integers

http://bugzilla.scilab.org/12999

new syntax zeros(n1,..,nd,"type") and zeros(A,"type") are supported
for type in the set {double, boolean, (u)int(8|16|32|64)}
Legacy syntax works as before, i.e. zeros(A) is always a double and
empty matrix is always a double.

Change-Id: I4c3f9bbd42cadd058e6130e8dd4fc9bbfb1eeafa

7 months ago[core] fix display.tst after 652361d9 57/21157/3
Stéphane Mottelet [Tue, 10 Dec 2019 10:50:53 +0000]
[core] fix display.tst after 652361d9

Change-Id: I80555fd17b4e699e48d61026e556c3216d26ae6a

7 months ago[ast] fix oversized rational and polynomial display after 0000af49 68/21168/8
Stéphane MOTTELET [Fri, 13 Dec 2019 10:32:38 +0000]
[ast] fix oversized rational and polynomial display after 0000af49

In addition, the dash used for fraction bar has been downgraded to
straight minus sign because of incorrect display of unicode fullwidth
hyphen.

https://www.fileformat.info/info/unicode/char/ff0d/index.htm

with "monospace" font under Windows (although well supported with all
monospaced fonts under Linux and OSX).

This patch also include the fix for

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

Change-Id: I1f33edd7d30379a40fcafe8759f80ddfc4e3287b

7 months ago* Bug 16275 fixed: fsolve(x0,fun,tol) ignored tol 63/21163/3
Samuel GOUGEON [Wed, 11 Dec 2019 02:53:24 +0000]
* Bug 16275 fixed: fsolve(x0,fun,tol) ignored tol

  http://bugzilla.scilab.org/16275

Change-Id: I6142d5d977bd5ec43635ac878d877b1f7489b86e

7 months ago* Bug 16257: blockdiag() introduced 40/21140/4
Samuel GOUGEON [Tue, 26 Nov 2019 21:15:39 +0000]
* Bug 16257: blockdiag() introduced

  http://bugzilla.scilab.org/16257
  PDF page: http://bugzilla.scilab.org/attachment.cgi?id=5028

  sysdiag() will be obsoleted after merging this commit
  (blockdiag() must first be available)

Change-Id: Ib5886cd71970f63c899ffad585ec9a98e871863b

7 months ago[api_scilab] fix bug_12426 failure with Scilab source version 61/21161/2
Stéphane MOTTELET [Tue, 10 Dec 2019 16:22:58 +0000]
[api_scilab] fix bug_12426 failure with Scilab source version

Change-Id: I353a69639006e6a720a8301d76b55a7b6c65fa9d

7 months agoadd a %foo_clear overloading on mlist 79/20679/14
Clément DAVID [Wed, 9 Jan 2019 10:16:32 +0000]
add a %foo_clear overloading on mlist

This overload will be called at the end of the scope when a variable
will not be accessible anymore for clearing allocated data.

Implementations for External Object and External Object Java are also
provided to avoid being forced to call `jremove`.

Change-Id: I13076e936f9d35a559e12a8668aaaaa6f7a6a8ab

8 months ago* Bugs 15680 16242 16271 fixed: loadmatfile() improved 51/21151/5
Samuel GOUGEON [Sun, 8 Dec 2019 01:39:56 +0000]
* Bugs 15680 16242 16271 fixed: loadmatfile() improved

  http://bugzilla.scilab.org/15680 : "-toStruct" => output struct added
  http://bugzilla.scilab.org/16242 : "-octave" supported
  http://bugzilla.scilab.org/16271 : Automatic format detection

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

Change-Id: I1d9864146f4c7b9835576661485d4ae7db17fb8e

8 months ago* Bug 16272 fixed: now spzeros(n,m) is spzeros(0,0) when n*m is 0 53/21153/2
Stéphane MOTTELET [Mon, 9 Dec 2019 09:52:51 +0000]
* Bug 16272 fixed: now spzeros(n,m) is spzeros(0,0) when n*m is 0

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

Change-Id: Ib13e90e8847d9e5dd7e3c00d2d47f49488904c55

8 months ago* Bug 16139 fixed: auread() auwrite() kept sound file locked on error 31/21031/3
Samuel GOUGEON [Sat, 6 Jul 2019 10:25:37 +0000]
* Bug 16139 fixed: auread() auwrite() kept sound file locked on error

  + The default .au sound file extension was poorly handled.

  http://bugzilla.scilab.org/16139

Change-Id: Idbef7f8f689aaa8fd1108ec5f6c9589b6a649bb9

8 months ago* Bug 16152 fixed: after s=spzeros(2,3), s([]) returns sparse(0,0) 74/21074/3
Stéphane MOTTELET [Mon, 26 Aug 2019 15:52:44 +0000]
* Bug 16152 fixed: after s=spzeros(2,3), s([]) returns sparse(0,0)

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

Also fixed the same bug with for boolean sparse and improved
display of type and emptyness.

Change-Id: I4cbac3a984cdac981806a69e1078abae74b8c68c

8 months ago[ast] fix string(rational) regression after 0000af49 54/21154/1
Stéphane MOTTELET [Mon, 9 Dec 2019 14:52:52 +0000]
[ast] fix string(rational) regression after 0000af49

Change-Id: I737bb55e9fd002214d8dc62d2f49512d8fe4b3f0