2 years ago[graphics] ensure cross-platform 120fps in pong demo 23/21523/2
mottelet [Fri, 3 Jul 2020 08:57:24 +0000]
[graphics] ensure cross-platform 120fps in pong demo

Change-Id: I163b90c4ffb97b1dc3ff9c9212c1e860fa1231cc

2 years ago* Bug 12719 fixed: now A(%s) raises an invalid index error 21/21521/4
mottelet [Thu, 2 Jul 2020 09:44:10 +0000]
* Bug 12719 fixed: now A(%s) raises an invalid index error

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

Change-Id: If67e74911d449584fbb67854fc975cf9408c3254

2 years ago* Bug 16151 fixed: now isequal(1:$, 2:$) returns %F 20/21520/3
mottelet [Thu, 2 Jul 2020 08:30:12 +0000]
* Bug 16151 fixed: now isequal(1:$, 2:$) returns %F

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

Change-Id: I3c9018a226316afeaec95411a0970a9dc873a0a8

2 years ago* Bug 16498 fixed: now remove all rows/cols of Sparsebool yields empty sparse 35/21535/2
mottelet [Mon, 13 Jul 2020 08:39:50 +0000]
* Bug 16498 fixed: now remove all rows/cols of Sparsebool yields empty sparse

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

Change-Id: Ie23b17da65fbef23d5d44e37bb0c235107872098

2 years ago* Bug 16474 fixed: imult(%z) crashed Scilab (6.0 regression) 33/21533/2
mottelet [Fri, 10 Jul 2020 12:00:26 +0000]
* Bug 16474 fixed: imult(%z) crashed Scilab (6.0 regression)

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

Change-Id: Iaade4566e28e1ef77fff23a3a5315ada2bb0ba21

2 years ago* Bug 16522 fixed: bitget(x,pos) and bitset(..) with pos as encoded integer 45/21545/5
Samuel GOUGEON [Thu, 23 Jul 2020 01:37:54 +0000]
* Bug 16522 fixed: bitget(x,pos) and bitset(..) with pos as encoded integer

  http://bugzilla.scilab.org/16522

Change-Id: I93039b4399ff215c081e8a2c59b1996c696df850

2 years agohelptools: fix memleak after c8073d50 31/21531/4
Clément DAVID [Wed, 8 Jul 2020 19:27:37 +0000]
helptools: fix memleak after c8073d50

This commit reuse the HelpBrowser tab by switching its current help page to a
new language and %helps global variable content. The memleak was due to load the
same jar files on a different HelpSet. This is fixed by defining a specific
ClassLoader for HelpSets.

Change-Id: Ied9dbe05b86bba88ae972788ee6605403f9087ad

2 years ago[doc] Revision of fileio help pages (Russian). 02/21502/6
Stanislav KROTER [Sun, 14 Jun 2020 16:38:05 +0000]
[doc] Revision of fileio help pages (Russian).

Change-Id: I9a449dc3c4db2306c8e0bbc203500dcd55fd9427

2 years ago* [doc] Bugs 8523 12429 13763 14208 16214 fixed 57/21557/7
Samuel GOUGEON [Tue, 28 Jul 2020 15:01:26 +0000]
* [doc] Bugs 8523 12429 13763 14208 16214 fixed

  * xcos: http://bugzilla.scilab.org/8523 :
         .cos extension => .xcos. role="see also" + scicosim => xcosim
  * grid_layout_options_properties fixed: http://bugzilla.scilab.org/13763
  * Chapter "Graphics: exporting and printing" : http://bugzilla.scilab.org/12429
            => only exporting
  * augment(): typo, <screen> required: http://bugzilla.scilab.org/14208
    (not able to confirm. Trusting the reporter)
  * champ_properties: .arrow_size and history missing in pt_BR.
                      line_style values limited to 8 instead of 10.
  * mprintf: more reference to printf_conversion: http://bugzilla.scilab.org/16214

Change-Id: Id6a5ebfa6bf5bb67800383f7384c3c7bb6edf4ed

2 years agofix build f2c 55/21555/1
Adeline CARNIS [Tue, 28 Jul 2020 10:49:08 +0000]
fix build f2c

Change-Id: I477852b91da4038481631a77ae315f44dd20447e

2 years ago* Bug 16458 fixed: enable mean() for sparse 81/21481/4
Samuel GOUGEON [Tue, 2 Jun 2020 20:44:37 +0000]
* Bug 16458 fixed: enable mean() for sparse

  http://bugzilla.scilab.org/16458
  Overhauled page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5152

Change-Id: Ife623e88c565237890ca6c0d97dc21d3935a5154

2 years agoui_data: fix windows build after 9301e166 49/21549/1
Clément DAVID [Fri, 24 Jul 2020 07:20:26 +0000]
ui_data: fix windows build after 9301e166

Change-Id: I3f556f370ce7d3cac438952d501725c7cedeab9e

2 years agofix build with gcc 10 10/21510/4
Clément DAVID [Mon, 22 Jun 2020 13:28:54 +0000]
fix build with gcc 10

 * some Fortran 77 code had rank mismatch on functions arguments
 * TCL threads/locks were declared twice

Change-Id: Ic863aa94e397d27b4a5d20f96a4b2fe482b770aa

2 years ago* Bug 13593 fixed: csvRead() with range & header 41/21541/3
Samuel GOUGEON [Tue, 21 Jul 2020 15:25:17 +0000]
* Bug 13593 fixed: csvRead() with range & header

  http://bugzilla.scilab.org/13593

Change-Id: Ie545144dd6ee2f2159c9d6516c58cfb48ac3104f

2 years ago* Bug 8378 fixed: `Datatip Menu => Delete last datatip` was useless. 45/21445/4
Samuel GOUGEON [Mon, 16 Mar 2020 20:53:08 +0000]
* Bug 8378 fixed: `Datatip Menu => Delete last datatip` was useless.

Change-Id: I41fcce68bd6400787a9eb6905d68be8d81e4b4be

2 years ago* Bug 15280 fixed: gsort(hypermat, dim>2, ..) enabled 37/21537/6
Samuel GOUGEON [Tue, 14 Jul 2020 17:53:34 +0000]
* Bug 15280 fixed: gsort(hypermat, dim>2, ..) enabled

  http://bugzilla.scilab.org/15280

Change-Id: If6d6fd97bf6bffba9ecfd20b8732bd8dd1fb9e53

2 years agoSome fr_FR messages fixed 36/21536/3
Samuel GOUGEON [Tue, 14 Jul 2020 13:03:35 +0000]
Some fr_FR messages fixed

  assert_checkequal : Échec de l'assertion : attendu = attendu(1) = 0.8816365, cependant calculé = calculé(1) = 0.9726598 (différence moyenne = 0)

Change-Id: I174c4cb2c7cea8a3529d623e2e2e5554e40ab587

2 years ago* Bugs 10476 12516 12532 fixed: browsevar() edits/views more vars content 19/21519/5
Samuel GOUGEON [Wed, 1 Jul 2020 21:21:52 +0000]
* Bugs 10476 12516 12532 fixed: browsevar() edits/views more vars content

  http://bugzilla.scilab.org/10476
  http://bugzilla.scilab.org/12516
  http://bugzilla.scilab.org/12532

  Updated page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5154
  Tests: try the enriched example

Change-Id: I9afe0adee26210541069acbdb64cce57109c280f

2 years ago* Bug 16465 fixed: Scinotes OpenRecent menu not updated when it should 94/21494/4
Stéphane Mottelet [Tue, 9 Jun 2020 13:47:16 +0000]
* Bug 16465 fixed: Scinotes OpenRecent menu not updated when it should

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

As a nice side effect, now saving a modified file brings it on the top
of the Open Recent menu.

Change-Id: Ia7a5ffd8c6ada53bb506a19e3be9a1888dc63f22

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

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

Change-Id: I0b26f8f13fb8a4813db483f022c296c678e2b70a

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

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

Change-Id: Ie73d76c00df25d7708a01945b931b421c8c16976