4 months agoBump version numbers to 6.2.0 40/21540/2 master
Clément DAVID [Fri, 17 Jul 2020 15:56:15 +0000]
Bump version numbers to 6.2.0

Change-Id: I5b644ab3368a611637d4b4681adab35a62097d42

4 months agoMerge origin/6.1 into master 39/21539/1
Clément DAVID [Fri, 17 Jul 2020 14:35:13 +0000]
Merge origin/6.1 into master

Change-Id: I4178a77be534c343bf59663bb4cc3bed4b437070

4 months ago[doc] misc. improvements 13/21513/17
Samuel GOUGEON [Sat, 27 Jun 2020 20:41:38 +0000]
[doc] misc. improvements

 * brackets: update after 4d08a758
 * text_properties: Wrong .fill_mode description: http://bugzilla.scilab.org/16499
 * polyline_properties: mark_size mark_foreground mark_background
   can now be vectors. line_style image moved example => parameters
 * repmat:
    + The input A can be an hypermat or ND-array.
    + Examples enriched and illustrated.
    + See also: + kron, ndgrid, insertion, - extraction, matrix, size
 * squeeze: for any input type (not only reals). Examples enriched illustrated.
 * sum: encoded integers were not documented as acceptable input.

Change-Id: Ia111e6e21862948e76b1bee10686b66c99511a63

4 months ago* Bug 16450 fixed: [double, integer] & [double ; integer] implemented 75/21475/5
Samuel GOUGEON [Sat, 30 May 2020 21:37:55 +0000]
* Bug 16450 fixed: [double, integer] & [double ; integer] implemented

  http://bugzilla.scilab.org/16450

Change-Id: I01c9fec1b718ca0802366505664e1d149160a98c

4 months ago[fileio] mputstr() error message fixed 28/21528/4
Samuel GOUGEON [Sun, 5 Jul 2020 18:45:53 +0000]
[fileio] mputstr() error message fixed

Issue:
--> mputstr(["Scilab" ; "Xcos"], fd)
mputstr: Wrong type for input argument #1: string expected.

Test:
fid =  mopen(tempname(), "wt");
mputstr(["Scilab" ; "Xcos"], fid);
mclose(fid);

Change-Id: I3b6c586c1b77328ebb2ce7a0d0f31eb08170e689

4 months ago* Bug 14873 fixed [doc]: setfield page fixed updated clarified 27/21527/5
Samuel GOUGEON [Sat, 4 Jul 2020 21:33:12 +0000]
* Bug 14873 fixed [doc]: setfield page fixed updated clarified

  http://bugzilla.scilab.org/14873

  * The output argument was documented only on en_US
  * The input was restricted to matrices, while any Scilab object is acceptable.
  * The setfield usefullness specific to mlists was not clearly described
  * The example had no call to setfield for fr_FR ja_JP pt_BR and ru_RU versions
    It did not illustrate the setfield role for mlists.
  * See also: + getfield
  * History was incompleted for en_US and missing for other languages

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

Change-Id: Ia5d7dc431c332b1016604474582056dac0ff78e8

4 months ago[doc] mputstr() page overhauled 29/21529/4
Samuel GOUGEON [Sun, 5 Jul 2020 21:09:18 +0000]
[doc] mputstr() page overhauled

Change-Id: I1c8f56cd6922709ac86390f398c87e8d033f8036

4 months ago[ast] upgrade sparse extraction after 5dc990d1 91/21491/5
Stéphane Mottelet [Tue, 9 Jun 2020 09:09:36 +0000]
[ast] upgrade sparse extraction after 5dc990d1

http://bugzilla.scilab.org/show_bug.cgi?id=14487#c7

Change-Id: I12f32a24510d6d9d3a62f990193c91bc17d95d91

4 months ago* Bug 16122 fixed: now concat polynomials with <> var raises an error 22/21522/2
Stéphane MOTTELET [Wed, 19 Jun 2019 15:03:57 +0000]
* Bug 16122 fixed: now concat polynomials with <> var raises an error

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

Raises the same error (missing overload) as when trying to do some
algebra with polymials having different var.

Change-Id: I86de5fdce36b04aea55429172eadfa0fb85894af

4 months ago* Bug 16483 fixed: substraction of complex polynomial matrix was broken 16/21516/3
mottelet [Tue, 30 Jun 2020 16:40:30 +0000]
* Bug 16483 fixed: substraction of complex polynomial matrix was broken

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

Change-Id: I2b53b89dd73609c625c642289de1bfd595c81052

4 months agocomplex() extended to sparses 04/21504/9
Samuel GOUGEON [Tue, 16 Jun 2020 12:05:04 +0000]
complex() extended to sparses

Change-Id: I0b26f8f13fb8a4813db483f022c296c678e2b70a

4 months ago* Bug 15842 fixed: unique() + with 2D sparse 09/21509/8
Samuel GOUGEON [Tue, 23 Jun 2020 09:54:53 +0000]
* Bug 15842 fixed: unique() + with 2D sparse

  http://bugzilla.scilab.org/15842

  is required for https://codereview.scilab.org/21426
  and for upgrading other set functions.

Change-Id: Ibfd461b344029d452648a607a43cf3fef2460ef5

4 months ago* Bug 16274 fixed: assert_checkequal() with Nan or void in containers 14/21514/4
Samuel GOUGEON [Mon, 29 Jun 2020 20:36:10 +0000]
* Bug 16274 fixed: assert_checkequal() with Nan or void in containers

  http://bugzilla.scilab.org/16274

Change-Id: Idc5058969b1fc3cd25aa69efe276a7b808df379d

4 months ago* Bug 16449 fixed: insertion of implicit vector in cell was crashing 73/21473/5
mottelet [Fri, 29 May 2020 15:04:13 +0000]
* Bug 16449 fixed: insertion of implicit vector in cell was crashing

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

Change-Id: Iaca5c586c0060017aef6e8205dc788cb10c9684d

4 months ago* Bug 11852 fixed: now filebrowser updates (again) 06/21506/7
Clément DAVID [Fri, 19 Jun 2020 10:03:07 +0000]
* Bug 11852 fixed: now filebrowser updates (again)

This implementation track changes using filesystems capabilities to
reload part of the filebrowser model on file creation/deletion and for
visible nodes.

This reverts commit 93c93ccfffbfc7bd69002596ac86b98e98d70f58 and provide
a better implementation.

Change-Id: If900b9001d04153fec8f75e52658d8ed902e8ffb

4 months ago* Bug 16473 fixed (again): deleting rows in sparsebool squared it 15/21515/2
Samuel GOUGEON [Mon, 29 Jun 2020 21:13:24 +0000]
* Bug 16473 fixed (again): deleting rows in sparsebool squared it

  http://bugzilla.scilab.org/16473

Change-Id: I105af3797bd8586e39340869d0628b57b18a2dc4

4 months ago[doc] Fixed typos in homepage-ru_RU.html. 12/21512/2
Stanislav KROTER [Thu, 25 Jun 2020 15:34:10 +0000]
[doc] Fixed typos in homepage-ru_RU.html.

Change-Id: I54fbe0085d1b1d7ec652eab8059bd13b0491284b

4 months ago* Bug 16473 fixed: Deleting rows in a sparse squared the matrix 03/21503/5
mottelet [Mon, 15 Jun 2020 07:05:30 +0000]
* Bug 16473 fixed: Deleting rows in a sparse squared the matrix

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

Change-Id: I1a240084d097ef78e2b48ee44c175d6bbeda2bb3

5 months ago* Bug 16358 fixed: isdef([],..) yielded an error 68/21468/3
Samuel GOUGEON [Fri, 22 May 2020 18:29:02 +0000]
* Bug 16358 fixed: isdef([],..) yielded an error

  http://bugzilla.scilab.org/16358

Change-Id: I2b5f5dadab9b8d3b9fb7376afd5dad63bc4dd511

5 months ago[doc] misc. typos & improvements 76/21476/17
Samuel GOUGEON [Sun, 31 May 2020 14:46:55 +0000]
[doc] misc. typos & improvements

Change-Id: I0d256104bd6fad74327fbbb6aecb936f60e13f85

5 months agomv sample() samplef() samwr() => /random generation 95/21495/3
Samuel GOUGEON [Tue, 9 Jun 2020 21:09:34 +0000]
mv sample() samplef() samwr() => /random generation

  No related nonreg tests to move.

Change-Id: I8c8f5398a4fb77c618dc91ab1d9cb5f46f3a6b6c

5 months ago* Bug 13739: xname() set obsolete 86/21486/3
Samuel GOUGEON [Thu, 4 Jun 2020 20:30:20 +0000]
* Bug 13739: xname() set obsolete

  http://bugzilla.scilab.org/13739

Change-Id: I13ce7523441b8a8ae135e2fa55b66679239dbd54

5 months ago[doc] find() page improved 77/21477/8
Samuel GOUGEON [Sun, 31 May 2020 17:50:42 +0000]
[doc] find() page improved

Change-Id: Ia4a0969e988d3a084eaca1e0cbeb7e5d2e8ad62c

5 months agocsvRead: fix C90 compatible variable declaration 97/21497/1
Clément DAVID [Thu, 11 Jun 2020 13:34:24 +0000]
csvRead: fix C90 compatible variable declaration

Change-Id: Iab05aa5937fb4a927e3c49f836833f19587db9fc

5 months ago* Bug #16391 fixed: csvRead() was crashing with empty lines 47/21447/3
Clement David [Thu, 26 Mar 2020 17:02:33 +0000]
* Bug #16391 fixed: csvRead() was crashing with empty lines

Change-Id: Icc27fc91e7549e34d70ea82025eb613f998cdfc5

5 months agohelpbrowser: make online link working for dev versions (after c8073d) 87/21487/2
Samuel GOUGEON [Thu, 4 Jun 2020 23:57:40 +0000]
helpbrowser: make online link working for dev versions (after c8073d)

Change-Id: I88b97f671b441b913ca17dfd20214baa87fb5442

5 months ago[doc] Revision of help page for gsort in Russian. 89/21489/3
Stanislav KROTER [Fri, 5 Jun 2020 12:32:16 +0000]
[doc] Revision of help page for gsort in Russian.

One sentence was untranslated.

Change-Id: Ic4e0d86b12a1f9164a1e60e489349629d2694566

5 months ago[doc] Translation of help page for getscilabkeywords into Russian. 90/21490/2
Stanislav KROTER [Fri, 5 Jun 2020 12:43:43 +0000]
[doc] Translation of help page for getscilabkeywords into Russian.

Change-Id: I70b63f73532f13dcc8e7855cade9f2ae16e1e1b9

5 months ago* Bug 16463 fixed: now matrix(sparse([]),[0 0]) is empty sparse 92/21492/3
Stéphane Mottelet [Tue, 9 Jun 2020 10:29:28 +0000]
* Bug 16463 fixed: now matrix(sparse([]),[0 0]) is empty sparse

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

    test_run elementary_functions bug_16463 mode_nwni_profiling

Change-Id: I9b985f44868743aa41bcb38ad25b43e02a1d2ed5

5 months ago* Bug 16204 fixed: for i=1:$, end crashed Scilab 85/21485/3
Stéphane Mottelet [Thu, 4 Jun 2020 15:29:37 +0000]
* Bug 16204 fixed: for i=1:$, end crashed Scilab

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

Change-Id: I89e3d248a59d74d25dec58ba01ffac1d6a2b1cbf

5 months ago* Bugs 15838 15839 15842 16452 16454 fixed: gsort() for all sparse in all modes 84/21484/5
Samuel GOUGEON [Wed, 3 Jun 2020 01:23:54 +0000]
* Bugs 15838 15839 15842 16452 16454 fixed: gsort() for all sparse in all modes

  http://bugzilla.scilab.org/15839 : gsort() for sparse: only vectors of
                          doubles could be sorted, and only in "g" mode,
                          and without multi-level sorting. Now,
     * Any 2D array of doubles can be sorted in "g" mode (not only vectors).
     * Any array of doubles can be sorted in any other r, c, lr, lc mode.
     * Any boolean array can be sorted in any g, r, c, lr, lc mode.

  http://bugzilla.scilab.org/15838 : [..,K]=gsort(): K missed indices of zeros.
  http://bugzilla.scilab.org/15842 : unique(sparseMatrix) yielded an error.
  http://bugzilla.scilab.org/16452 : setdiff(sparse([1 3 0 2]), sparse([3 7])) wrong
  http://bugzilla.scilab.org/15842 : gsort(Sparse) with NaN => error

--> test_run elementary_functions gsort*
   TMPDIR = C:\Users\I\AppData\Local\Temp\SCI_TMP_4540_1271

   001/007 - [elementary_functions] gsort_sparse................passed
   002/007 - [elementary_functions] gsort_multilevel_text.......passed
   003/007 - [elementary_functions] gsort_multilevel_polynomials passed
   004/007 - [elementary_functions] gsort_multilevel_numbers....passed
   005/007 - [elementary_functions] gsort_multilevel_complex....passed
   006/007 - [elementary_functions] gsort_boolean...............passed
   007/007 - [elementary_functions] gsort.......................passed
   --------------------------------------------------------------------------
 ans  =
  T

Change-Id: I0be52e6f9416ad7e7279ad9f7a8eb9db941d7ac0

5 months ago* Bug 16459 fixed: The display of one-column hypermatrix was wrong 82/21482/3
Stéphane Mottelet [Tue, 2 Jun 2020 22:47:53 +0000]
* Bug 16459 fixed: The display of one-column hypermatrix was wrong

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

Change-Id: I7b0fbaf7006691123f8a741ac53cc286d6913e39

5 months ago* Bugs 16337 16455 fixed: [..,..,ku] = unique(..) implemented 74/21474/5
Samuel GOUGEON [Sat, 30 May 2020 01:25:05 +0000]
* Bugs 16337 16455 fixed: [..,..,ku] = unique(..) implemented

  http://bugzilla.scilab.org/16455 (NR included in unit tests)
  http://bugzilla.scilab.org/16337

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

  This commit supersedes https://codereview.scilab.org/21422

Change-Id: I19a215a45c6b65b715fc2a775548d48a02cf0339

5 months ago[ast] fix wrong alignment of complex display 79/21479/4
mottelet [Tue, 2 Jun 2020 07:16:44 +0000]
[ast] fix wrong alignment of complex display

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

Change-Id: I284e133072488ad1df0351bed12b53a23b68dd93

5 months ago* Bugs 9909 12889 fixed: helpbrowser improved (LANG, www, issues) 72/21472/3
Samuel GOUGEON [Sat, 23 May 2020 17:15:45 +0000]
* Bugs 9909 12889 fixed: helpbrowser improved (LANG, www, issues)

  http://bugzilla.scilab.org/9909
  http://bugzilla.scilab.org/12889

Change-Id: I519a07a2a6af29f446c09db648a1ffd7f8a47e08

5 months ago* bug 16280 fixed: allow users to use mode() inside a macro. 61/21461/3
Cedric Delamarre [Wed, 13 May 2020 14:47:54 +0000]
* bug 16280 fixed: allow users to use mode() inside a macro.

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

    test_run overloading bug_16280

Change-Id: I5a18d237dea044bf6548115c8913f56c7c86e6fb

6 months ago* Bug 16406 fixed: edit_curv() failed reading data (%h_set) 67/21467/3
Samuel GOUGEON [Wed, 20 May 2020 18:44:13 +0000]
* Bug 16406 fixed: edit_curv() failed reading data (%h_set)

  http://bugzilla.scilab.org/16406

Change-Id: Id26a43ec8741a928cc4bc5dd03ed38a2564a655f

6 months ago* Bug 16445 fixed: colorbar() for Champ.colored='on' 71/21471/3
Samuel GOUGEON [Sat, 23 May 2020 15:48:37 +0000]
* Bug 16445 fixed: colorbar() for Champ.colored='on'

  http://bugzilla.scilab.org/16445

Change-Id: I86ea06defebd7c86d42d648605111a44b23ba456

6 months ago[doc] champ() page fixed + improved after f94449 70/21470/6
Samuel GOUGEON [Sat, 23 May 2020 14:58:39 +0000]
[doc] champ() page fixed + improved after f94449

  * Description improved.
  * Images champ_1.png and champ_2.png did not match the code:
    their displayed arrows were not oriented with fx>0 and fy>0.
    Example improved.
  * Examples with colored arrows added (after obsoleteing champ1()).
  * See also: + champ_properties
  * Other page improvements.

Change-Id: Id7562b0e5aabfbc9a6514716ef87e3bd5f4d0b05

6 months agorm duplicate test after fced82 & 56cd2 69/21469/3
Samuel GOUGEON [Sat, 23 May 2020 08:46:55 +0000]
rm duplicate test after fced82 & 56cd2

 bug_14361.tst is already completely included in parser.tst.
 Testing twice exactly the same thing is useless.
 parser.tst has been updated after
   https://codereview.scilab.org/#/c/21136/
   @ https://codereview.scilab.org/#/c/21375
 This commit removes the duplicate instead of updating it.
 This is indicated in the bugzilla thread.

Change-Id: I56d1224f92641c79e949be785d43c26ccbb008f8

6 months ago[doc] Misc. small improvements 23/21423/21
Samuel GOUGEON [Fri, 28 Feb 2020 04:51:15 +0000]
[doc] Misc. small improvements

  * backslash: short desc improved. See also: + datafit.
  * preferences: See also: + xmlSetValues
  * csc, cscd (ru): LaTeX removed (as for all other LANG)
  * eig: useless LaTeX removed
  * prettyprint_mathJax: image reduced to 75%
  * bode: image #2 needed regen
  * axes_properties: typo, http://bugzilla.scilab.org/16379
  * cspect, pspect, convol, delip: MathML replaced with (compact!) LaTeX
  * int2d: See also: + mesh2d
  * scilab_primitives: add refs to webtools functions, mesh2d
  * MUX, DEMUX: wrong max # of ports fixed (8 => 31)

Change-Id: I50f53382558c78b0e1531006304a213773b39c62

6 months ago* Bug 8059 fixed: .wgetrc could make troubles in atomsDownload() 14/21414/5
Ronan Keryell [Wed, 31 Jul 2019 22:18:26 +0000]
* Bug 8059 fixed: .wgetrc could make troubles in atomsDownload()

  http://bugzilla.scilab.org/8059

  Moved from master @ https://codereview.scilab.org/21062

Change-Id: I237c6069aa226d888b66be3300a4bae4b9f53b4d

6 months ago[doc] datafit page fixed after 534951c 08/21408/4
Samuel GOUGEON [Tue, 25 Feb 2020 21:48:08 +0000]
[doc] datafit page fixed after 534951c

 Follow-up of https://codereview.scilab.org/21405 pushed first on master

Change-Id: I931f87485b31b3aa62f7a2311526b570f2757146

6 months ago./. .\. extended to sparses after fced8250 34/21434/3
Samuel GOUGEON [Tue, 10 Mar 2020 03:35:29 +0000]
./. .\. extended to sparses after fced8250

  * ./. and .\. undocumented implementations introduced in 6.0.0
    - always yielded errors for sparse inputs, due to divisions by zero
    - did not match proper definitions
    - are canceled here.
  * Proper definitions introduced in 6.1.0 are extended to sparse here

Change-Id: Iedb2a6f95268abeaf161d35d486bee655c60618e

6 months ago* Bug 16374 fixed: BC error loading in 6.x datatips saved in 5.5 44/21444/3
Samuel GOUGEON [Mon, 16 Mar 2020 11:30:40 +0000]
* Bug 16374 fixed: BC error loading in 6.x datatips saved in 5.5

  http://bugzilla.scilab.org/16374

  Test file from 5.5.2: 135 kb despite it has been generated with
  a minimal example.

Change-Id: Ie3fbc2b9820fe00acd06bd2e07a71fc45a3ce036

6 months ago[ast] fix bug 14245 NR test after 5dc990d1 58/21458/2
Stéphane Mottelet [Wed, 22 Apr 2020 07:08:17 +0000]
[ast] fix bug 14245 NR test after 5dc990d1

Change-Id: I5e5f3b63b56b1dc4ec68f0ded99e75a98ce5814b

6 months ago* Bug 16373 fixed: fix issue of crashing in arm when displaying 0 46/21446/4
Chin Luh TAN [Sat, 14 Mar 2020 09:10:33 +0000]
* Bug 16373 fixed: fix issue of crashing in arm when displaying 0

https://bugzilla.scilab.org/16373

--> a = 1;

--> b = 0;

--> a
a  =

   1.

--> b
b  =

terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::_M_replace_aux
A fatal error has been detected by Scilab.
Please check your user-defined functions (or external module ones) should they appear in the stack trace.
Otherwise you can report a bug on http://bugzilla.scilab.org/ with:
* a sample code which reproduces the issue
* the result of [a, b] = getdebuginfo()
* the following information:
[ubuntu:24308] Signal: Aborted (6)
[ubuntu:24308] Signal code:  (-6)

Change-Id: Ibfcd025545c251164a91ab1c3bcf7c5b08271cbb

6 months ago Bug #16106 fixed: Xcos sciblk4 opar failed to simulate 60/21460/2
Clément DAVID [Fri, 24 Apr 2020 13:14:16 +0000]
 Bug #16106 fixed: Xcos sciblk4 opar failed to simulate

The sciblk4 user-defined blocks did not handle opar and odstate/oz in a
compatible way to Scilab 5. On interface function model.opar is a
list() that should be passed to block.opar on simulation function. On
interface function model.odstate is a list() that should be passed to
block.oz on simulation function.

Change-Id: I5835603e754c0a39543cb0e4e859edfb3c929d5a

6 months ago[webtools] Header fixed about User-Agent 55/21455/5
Cedric Delamarre [Wed, 15 Apr 2020 12:28:01 +0000]
[webtools] Header fixed about User-Agent

   // must not return an error
   http_get("https://api.github.com/repos/scilab/scilab/stats/commit_activity", cert="none")

Change-Id: I86d2b2da102f6ab6cfc84fe7123ed4b69b43c475

6 months ago[doc] libraryinfo() page overhauled 13/21413/4
Samuel GOUGEON [Wed, 26 Jun 2019 21:07:52 +0000]
[doc] libraryinfo() page overhauled

  Moved from the master @ https://codereview.scilab.org/21027

  PDF version: please remove it from the commit before merging.

Change-Id: Id86b35c0860e486acfca238e312d2ec6363eb967

6 months agoAdded homepage-ru_RU.html. 62/21462/1
Stanislav KROTER [Fri, 13 Mar 2020 15:19:18 +0000]
Added homepage-ru_RU.html.

Also fixed a typo in homepage-en_US.html.

Original commit:
https://codereview.scilab.org/#/c/21437/

Change-Id: I2628f7eb109630ccbc20734422f42f1d6c462186

6 months ago* Bug #16408 fixed - toJSON(var, filename, indent) crashed Scilab. 57/21457/2
Adeline CARNIS [Tue, 21 Apr 2020 14:24:37 +0000]
* Bug #16408 fixed - toJSON(var, filename, indent) crashed Scilab.

Change-Id: I3b71dbdd5879c1cacc9f02221f42f1c6a3fe6daa

6 months agobug #16370 fixed - msprintf did not handle dollars 54/21454/8
Clément DAVID [Fri, 10 Apr 2020 13:37:30 +0000]
bug #16370 fixed - msprintf did not handle dollars

Using the `%2$f` format, the number between the % and the $ signs was
not checked on the first pass. This change detect a valid positive
integer and not anything else until the $.

Change-Id: I6636367b96023883911eeca6291370c270b381d0

7 months ago[OSX] LANG detection with osascript was freezing menus on Catalina 59/21459/1
Stéphane Mottelet [Thu, 23 Apr 2020 07:51:22 +0000]
[OSX] LANG detection with osascript was freezing menus on Catalina

Change-Id: I7512a392c7834f430b8dd07ca69d72aaa2abd6fd

7 months ago[doc] Unfold synopses [core](continue) 20/21420/4
Samuel GOUGEON [Thu, 27 Feb 2020 04:26:43 +0000]
[doc] Unfold synopses [core](continue)

  Note: ascii(160) unbreakable space is sometimes used to indent
        parts of synopses (if, try, select, while..)

Change-Id: I0d9d9a873dd3f90a3f936f5f5595bfe8cec78f32

7 months agoMisc fix after afaec81 953f96 d12faf 09/21409/5
Samuel GOUGEON [Mon, 24 Feb 2020 19:59:28 +0000]
Misc fix after afaec81  953f96  d12faf

  Firstly pushed on the master branch on 2020-02-24 21:00:00
  at https://codereview.scilab.org/21403

Change-Id: If9a18a5659854a0c63ebb925eb1fc62afe34f4d3

7 months agobitget(u-int64) fixed & examples added 21/21421/6
Samuel GOUGEON [Fri, 28 Feb 2020 02:18:30 +0000]
bitget(u-int64) fixed & examples added

  http://mailinglists.scilab.org/Scilab-users-Bitget-for-int64-uint64-tt4040422.html

Change-Id: I7e4a0731dfe81861158c62afbdaf3ddc7002bc8c

7 months ago* Bug 16369 fixed: sparse right divisions / restored 43/21443/5
Samuel GOUGEON [Sun, 15 Mar 2020 02:20:57 +0000]
* Bug 16369 fixed: sparse right divisions / restored

  http://bugzilla.scilab.org/16369

  After p = a * b:   a = p / b
  * restored for p or/and b sparses, and b and p real
  * added for b square and complex

  After p = a * b:   b = a \ p
  * added for a square and complex

  Unit tests added

Change-Id: I0738f4e542f6c527ab74d1debfc0b5570cb9d8b2

7 months ago* Bug 16366 fixed: plot(..,':') was dash-dotted 41/21441/4
Samuel GOUGEON [Sat, 14 Mar 2020 18:17:16 +0000]
* Bug 16366 fixed: plot(..,':') was dash-dotted

  http://bugzilla.scilab.org/16366

Change-Id: Idb413eebba370934f45144a6f80cfb62e3b5c3b8

7 months ago* Bug 16397 fixed: display of long (real) column vectors repaired 49/21449/4
mottelet [Tue, 31 Mar 2020 14:15:16 +0000]
* Bug 16397 fixed: display of long (real) column vectors repaired

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

The worst case (100 times slower for 1e5 length) is for a real column
vector. Complex case is not considered because the improved display of
complex vectors and matrices has an unavoidable overhead (display width
of real and imaginary part has be determined by inspecting all values
before formating output).

Change-Id: Ia893bf0cf52629b583688c533fdaba9a0990769d

7 months ago* bug #16399 fixed - zeros() with empty list extraction failed. 48/21448/3
Clement David [Tue, 31 Mar 2020 13:16:11 +0000]
* bug #16399 fixed - zeros() with empty list extraction failed.

Change-Id: Idd22687b2d32d49acf031fbe10e5433002fb6e4b

7 months ago* Bug #16401 fixed - a global external_object_java class crashed Scilab 51/21451/2
Clement David [Tue, 7 Apr 2020 14:01:43 +0000]
* Bug #16401 fixed - a global external_object_java class crashed Scilab

Change-Id: Ibc7c9816b034ebb7544bbd8aff9493c1a4c99c2e

7 months ago* Bug 16403 fixed: 1D extraction of matrix with implicit index had wrong dimensions 52/21452/3
Stéphane Mottelet [Thu, 9 Apr 2020 13:02:33 +0000]
* Bug 16403 fixed: 1D extraction of matrix with implicit index had wrong dimensions

Change-Id: Ib0025ce308de45734fd6c39961ea46ff92ab6f81

7 months ago* Bug 16350 fixed: now empty sparse bool matrix is false in cond exp 53/21453/3
Stéphane Mottelet [Fri, 10 Apr 2020 09:19:46 +0000]
* Bug 16350 fixed: now empty sparse bool matrix is false in cond exp

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

Change-Id: I626fb459edbeb140b748074232a96abc0b67103b

7 months agofix delmenu on non dockable figure 12/21412/2
Antoine ELIAS [Wed, 26 Feb 2020 17:49:19 +0000]
fix delmenu on non dockable figure

Scenario 1: Menu "File" will not be removed
--> f1 = figure("dockable", "off")
--> delmenu(f1.figure_id, gettext("File"));

Scenario 2: Menu "File" will be removed
-->f1 = figure("dockable", "on")
-->delmenu(f1.figure_id, gettext("File"));

Change-Id: I62b4a8ae0dda054e599b0913676935815563d8be

7 months ago* Bug 16365 fixed: median(m,'r'|'c') was wrong after 5dc990 42/21442/3
Samuel GOUGEON [Sat, 14 Mar 2020 22:37:05 +0000]
* Bug 16365 fixed: median(m,'r'|'c') was wrong after 5dc990

  http://bugzilla.scilab.org/16365

Change-Id: I4c269f9f06ed89ba2ad99899b36068142e1468eb

7 months ago* Bug 16365 fixed: median(m,'r'|'c') was wrong after 5dc990 50/21450/1
Samuel GOUGEON [Sat, 14 Mar 2020 22:37:05 +0000]
* Bug 16365 fixed: median(m,'r'|'c') was wrong after 5dc990

  http://bugzilla.scilab.org/16365

Change-Id: I4c269f9f06ed89ba2ad99899b36068142e1468eb

8 months agohist3d => bar3d: fix doc + images after d89ceaa 10/21410/3
Samuel GOUGEON [Mon, 24 Feb 2020 02:05:19 +0000]
hist3d => bar3d: fix doc + images after d89ceaa

Change-Id: If7fe69716fd84aad27628001ce817323839a2f68

8 months agoupdate branch information to 6.1 33/21433/2
Clément DAVID [Mon, 9 Mar 2020 11:19:12 +0000]
update branch information to 6.1

Change-Id: Ic6b5f9b2e4f2425931f51e44f95da8b9519c431b

8 months ago14 missing NR test files added 27/21427/3
Samuel GOUGEON [Mon, 2 Mar 2020 23:51:12 +0000]
14 missing NR test files added

http://bugzilla.scilab.org/2463
http://bugzilla.scilab.org/9349
http://bugzilla.scilab.org/4171
http://bugzilla.scilab.org/8301
http://bugzilla.scilab.org/8393
http://bugzilla.scilab.org/12341
http://bugzilla.scilab.org/14916
http://bugzilla.scilab.org/15158
http://bugzilla.scilab.org/14191
http://bugzilla.scilab.org/15421
http://bugzilla.scilab.org/7083
http://bugzilla.scilab.org/13537
http://bugzilla.scilab.org/8930
http://bugzilla.scilab.org/15607
test_run ast bug_2463
test_run ast bug_9349
test_run data_structures bug_4171
test_run data_structures bug_8301
test_run data_structures bug_8393
test_run fileio bug_12341
test_run fileio bug_14916
test_run functions bug_15158
test_run graphics bug_14191
test_run graphics bug_15421
test_run graphics bug_7083
test_run sound bug_13537
test_run sparse bug_8930
test_run tclsci bug_15607

Change-Id: If2def5d6731d228e1f315a408e12e13930f34ec8

8 months ago[xcos] Clarifying action executing diagram context 25/21425/3
Samuel GOUGEON [Sat, 29 Feb 2020 22:02:38 +0000]
[xcos] Clarifying action executing diagram context

  The context is evaluated not when the diagram is loaded
  (as we load its file), but when it is *run*:
  http://mailinglists.scilab.org/Scilab-users-Context-error-in-Xcos-Scilab-6-1-0-tp4040449p4040450.html

Change-Id: Ibbcd318cb044d22d468fc4cc86bd304c5dcdc684

8 months agoBug #3188 fixed - `part()` was slower since 4.1.2 35/21435/1
Clement David [Wed, 11 Mar 2020 10:34:02 +0000]
Bug #3188 fixed - `part()` was slower since 4.1.2

Change-Id: Ief42881ad2dcb49134abb1f9172603866790e5ee

8 months agoimprove strcat, strsubst, part performance 31/21431/5
Antoine ELIAS [Thu, 5 Mar 2020 08:45:13 +0000]
improve strcat, strsubst, part performance

//strcat
a = ones(1,300000);
b = string(a);
tic();strcat(b);toc()

//strsubst
A = string(rand(100, 100));
tic;B = strcat(A);toc
tic;strsubst(B, "3", "X");toc
tic;strsubst(B, "30", "X");toc
tic;strsubst(B, "3", "XYZ");toc

//part
c = 1e5;
str = strcat(string(int(rand(1, c) * 10)));
idx = int(rand(1, c) * c + 1);
tic;part(str, idx);toc

Change-Id: I8f2635cf3ce2e3ab257690935ddf0961b403ea40

8 months ago[debugger]crash fixed when an execution finished after a Step Out 30/21430/1
Cedric Delamarre [Thu, 5 Mar 2020 09:55:44 +0000]
[debugger]crash fixed when an execution finished after a Step Out

Change-Id: Idebf7143806584f7e8faaa5fdf7e6918ca5d24ce

8 months ago[debugger] stop on break point fixed. 28/21428/1
Cedric Delamarre [Wed, 26 Feb 2020 15:29:51 +0000]
[debugger] stop on break point fixed.

Change-Id: Ia0904aa01177a7f1eb1ee74c12ff0a1b66c3e12e

8 months agochange version to 6.1.1 06/21406/4
Antoine ELIAS [Wed, 26 Feb 2020 13:09:26 +0000]
change version to 6.1.1

Change-Id: I15d5a0f6fa11d61b977650407404a079f5de9389

9 months agoUpdate CHANGES.md before the release 04/21404/2 6.1.0
Clement David [Tue, 25 Feb 2020 09:07:22 +0000]
Update CHANGES.md before the release

Change-Id: Ie912c1aa67050b3b9868e20255c3a0c19427d181

9 months agohelptools: clean gen. of cached images 02/21402/1
Clement David [Mon, 24 Feb 2020 18:03:42 +0000]
helptools: clean gen. of cached images

Change-Id: Icf94134525b84c8884284c267572b88c8c9dd876

9 months agoxcos: fix scifunc_block_m after 59f9727d 01/21401/1
Clément DAVID [Mon, 24 Feb 2020 16:11:26 +0000]
xcos: fix scifunc_block_m after 59f9727d

Change-Id: I87cd3db9b54f40b2293d53f5d47b31756c168884

9 months agoTranslation of circshift, fftshift and flipdim help pages into russian. 99/21399/3
Stanislav KROTER [Mon, 24 Feb 2020 11:46:16 +0000]
Translation of circshift, fftshift and flipdim help pages into russian.

Change-Id: Iff7fbaacf245c456642897dc3969472c04800891

9 months agolocalization: refresh po files from source code 96/21396/3
Clément DAVID [Mon, 24 Feb 2020 10:12:55 +0000]
localization: refresh po files from source code

Change-Id: I9d0c236e2344e066bf7d7f596de28c831fbc21d6

9 months agohelptools: refresh CHANGES.html 97/21397/2
Clément DAVID [Mon, 24 Feb 2020 10:36:56 +0000]
helptools: refresh CHANGES.html

Change-Id: Ia3a460011047c8f67ed4b85e4ae9e4de76a1a36f

9 months agotest_run: filter out Gtk-Message logs 98/21398/2
Clément DAVID [Mon, 24 Feb 2020 10:48:04 +0000]
test_run: filter out Gtk-Message logs

Change-Id: I231230e827f24403f317046b022ee3d843e71639

9 months agofix detectmsvc64tools 00/21400/1
Antoine ELIAS [Mon, 24 Feb 2020 12:49:24 +0000]
fix detectmsvc64tools

Change-Id: Ie73d76c00df25d7708a01945b931b421c8c16976

9 months ago[doc] mv all 3 pages /Integers => /elementary_functions/Integers 99/21199/5
Samuel GOUGEON [Thu, 2 Jan 2020 19:59:39 +0000]
[doc] mv all 3 pages /Integers => /elementary_functions/Integers

 Purpose:
  - remove the very small Integers help chapter from the help root
  - improve the help tree and consistency for users

Change-Id: I8ac511be22e697097338cb7d963bcffe7f854307

9 months ago* Bug 8328 fixed [xcos]: Tabs of block Format=>Edit were unclear 86/20886/5
Samuel GOUGEON [Mon, 25 Feb 2019 21:23:25 +0000]
* Bug 8328 fixed [xcos]: Tabs of block Format=>Edit were unclear

  http://bugzilla.scilab.org/8328

  Merging will feed launchpad ASAP.

Change-Id: I43de096ee4598191475a80dd7478331c863046b1

9 months agomisc fix after c7b7a0 b2a6b7 874f2e06 07fa762 94/21394/3
Samuel GOUGEON [Sun, 23 Feb 2020 22:49:12 +0000]
misc fix after c7b7a0  b2a6b7  874f2e06  07fa762

Change-Id: I0f8d003fbd152ad46d8241289e09f428cb7feda1

9 months ago* Bug 10014 fixed: DominationRank() made private in optim_nsga2() 51/21051/7
Samuel GOUGEON [Wed, 24 Jul 2019 20:37:13 +0000]
* Bug 10014 fixed: DominationRank() made private in optim_nsga2()

  http://bugzilla.scilab.org/10014

Change-Id: I48920f5c1eb97a6521defa08cc58d882534319a6

9 months agoXcos tests: fix blocks_set.tst after 59f9727d 93/21393/2
Clément DAVID [Sun, 23 Feb 2020 21:44:38 +0000]
Xcos tests: fix blocks_set.tst after 59f9727d

Change-Id: I8feae72a969fb5966252d7238d99a88b2cf014ac

9 months ago* Bug 16108 fixed: CSCOPE & CMSCOPE Label&id now displayed 97/20997/6
Samuel GOUGEON [Mon, 3 Jun 2019 10:32:12 +0000]
* Bug 16108 fixed: CSCOPE & CMSCOPE Label&id now displayed

  http://bugzilla.scilab.org/16108

Change-Id: I75cd5face463a38964db542abc582fa95c3b79cb

9 months agofix printf with index outside token 92/21392/3
Antoine ELIAS [Sun, 23 Feb 2020 21:07:45 +0000]
fix printf with index outside token

Change-Id: Ieffb203eef642a0b8a7f2f68d5217e9a6067418e

9 months agohelptools: fix Graphics.xml and the image cache 90/21390/2
Clément DAVID [Sun, 23 Feb 2020 20:24:16 +0000]
helptools: fix Graphics.xml and the image cache

Change-Id: Iccfff7f45627df43e93eac44af3e1e56e2cd022b

9 months ago* Bug 16333: tree_show(xcos_block) crashed 91/21391/3
Samuel GOUGEON [Sun, 23 Feb 2020 20:55:16 +0000]
* Bug 16333: tree_show(xcos_block) crashed

  http://bugzilla.scilab.org/16333

  This patch is OK for me for blocks.

  For diagrams: i succeeded only once to display the test diagram,
     and then never again. When debugging, it appears that the crash
     never occurs at the same level in the tree. It is somewhat random.
     At least on my (slow) PC.

Change-Id: I32d7fcfb8bfaa0aa4ed3e5db92d148ef98e8f9aa

9 months ago* Bug 14585: editvar(close) replaces closeEditvar() 46/20946/7
Samuel GOUGEON [Mon, 15 Apr 2019 18:47:22 +0000]
* Bug 14585: editvar(close) replaces closeEditvar()

  http://bugzilla.scilab.org/14585
  closeEditvar removal: https://codereview.scilab.org/20946

Change-Id: I6941329981f2a096c02197cd7b5dfbcbc681dc27

9 months ago* Bugs 15921 15979 16223 fixed [xcos]: EXPRESSION CLR DLR multichar exponents 80/20880/10
Samuel GOUGEON [Sat, 23 Feb 2019 23:48:14 +0000]
* Bugs 15921 15979 16223 fixed [xcos]: EXPRESSION CLR DLR multichar exponents

  * http://bugzilla.scilab.org/15921 : "<" in scifunc_block_m
  * http://bugzilla.scilab.org/15979 : EXPRESSION CLR DLR multichar exponents
  * http://bugzilla.scilab.org/16223 : * management in EXPRESSION CLR DLR..
    See the thread of http://mailinglists.scilab.org/Scilab-users-CLR-design-component-is-not-clear-in-scilab-6-0-2-x64-W10-tp4039907p4040012.html
  * Protection of "_" added (as in variable name "ab_c" in expressions)

  * Expected rendering: http://bugzilla.scilab.org/attachment.cgi?id=4905
  * Follow-up of https://codereview.scilab.org/19768

  Moving EXPRESSION to the Maths palette in review
    @ https://codereview.scilab.org/20867

  Test for 15921:
    - add a scifunc_block_m block
    - double-click. Answer OK to the first GUI
    - second GUI: enter y1=2*(u1<3)
    - all next GUI: answer OK
    - Finally, check that in the updated icon the formula shows y1=2(u1<3)

Change-Id: I9b06e80d8c8d91a4360dd1ecd8409cd912dd6f97

9 months agoadd support of SCI/TMPDIR/... in fullpath 89/21389/2
Antoine ELIAS [Sun, 23 Feb 2020 11:46:31 +0000]
add support of SCI/TMPDIR/... in fullpath

Change-Id: I1797a7e674344b0da294c40db73d708aad59d527

9 months ago[doc] useless LaTeX removed (continue) 59/20859/7
Samuel GOUGEON [Sun, 17 Feb 2019 00:52:30 +0000]
[doc] useless LaTeX removed (continue)

Change-Id: I451be7350585072caa440442f12ffaf5b3415154

9 months ago* Bug 10702 fixed: FROMWSB & TOWS_c icons show varname 25/21025/4
Samuel GOUGEON [Tue, 25 Jun 2019 20:13:41 +0000]
* Bug 10702 fixed: FROMWSB & TOWS_c icons show varname

  http://bugzilla.scilab.org/10702

Change-Id: Ia727476ef772c25efdc3551c8417b8cee512abe8

9 months ago* Bug 16228 fixed: cla() missing in bode() & nyquist() demos 10/21110/7
Samuel GOUGEON [Thu, 31 Oct 2019 13:41:46 +0000]
* Bug 16228 fixed: cla() missing in bode() & nyquist() demos

  http://bugzilla.scilab.org/16228

Change-Id: I2a456ce51cb58dbdb25ee22e0e9f7709a4407328

9 months ago* Bug 15643 fixed [doc]: The signed zero was not documented 86/20986/10
Samuel GOUGEON [Sat, 25 May 2019 18:47:19 +0000]
* Bug 15643 fixed [doc]: The signed zero was not documented

   http://bugzilla.scilab.org/15643
   PDF page: http://bugzilla.scilab.org/attachment.cgi?id=4961

Change-Id: Ibc4a7c7242a6c91b742446523bef636ad19e3bae