23 months agocallstack fixed again 88/21588/2
Cedric Delamarre [Thu, 8 Oct 2020 16:18:24 +0000]
callstack fixed again

  * propagate the locations until Overload::call to be able to
    set the good one in the call stack.

Change-Id: I9cfa6ecf2f175a947a5496713b8249c1ddd97867

23 months agocallstack fixed 87/21587/2
Cedric Delamarre [Wed, 7 Oct 2020 14:16:36 +0000]
callstack fixed

Change-Id: If9b2abce5c8c6960fa29640781c792bc5d911197

23 months ago[]("field") crash fixed after https://codereview.scilab.org/#/c/21148/ 84/21584/3
Cedric Delamarre [Tue, 6 Oct 2020 08:48:15 +0000]
[]("field") crash fixed after https://codereview.scilab.org/#/c/21148/

    * ast leaks fixed
      test_run("ast", ["krondivide", "bug_15420", "bug_15630", "bug_15715"], "mode_nwni_profiling")

Change-Id: I4eb0f2eef8490bec9a3ae04a06d097c1119b6a82

23 months agoextraction fixed, [].field crashes Scilab 83/21583/2
Cedric Delamarre [Mon, 5 Oct 2020 14:20:42 +0000]
extraction fixed, [].field crashes Scilab

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

Change-Id: If0c32aa3a842a941255051cef9b171f635462607

23 months ago* Bug 16549 fixed: simple script crashed Scilab in GUI mode 82/21582/8
mottelet [Thu, 1 Oct 2020 10:13:51 +0000]
* Bug 16549 fixed: simple script crashed Scilab in GUI mode

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

This patch fixes the problem and reconsiders the processing
of carriage returns in Scilab output. Only the last occurence was
considered in https://codereview.scilab.org/#/c/21166/

Now the output is exactly the same in GUI and CLI mode:

--> mprintf("%s\n123456\rabc\rZ",getscilabmode())
STD
Zbc456

--> mprintf("%s\n123456\rabc\rZ",getscilabmode())
NW
Zbc456

Moreover, one line counter display is now supported in all modes:

for i=1:10000; mprintf("%05d\r",i);end

Change-Id: I82f05d115afc2911466b52230cd667dee3397db2

2 years ago[bug_16512] dot division fixed when the rigth hand side is null. 65/21565/3
Cedric Delamarre [Fri, 31 Jul 2020 14:16:41 +0000]
[bug_16512] dot division fixed when the rigth hand side is null.

Change-Id: Ia10a54264b1937a8428ae8b8661f922fdc4bb91d

2 years agotostring fixed with format(2) 56/21456/4
Cedric Delamarre [Wed, 15 Apr 2020 16:00:05 +0000]
tostring fixed with format(2)

    test_run core format

    // the display of 1.1 cash Scilab
    format(2)
    1.1

Change-Id: I8379bb44c1ed50cada1687e662ed907eafe2f5d4

2 years ago* Bug 6765: xdel() is obsolete. Replaced with close() 34/21534/4
Samuel GOUGEON [Sun, 12 Jul 2020 18:48:08 +0000]
* Bug 6765: xdel() is obsolete. Replaced with close()

  http://bugzilla.scilab.org/6765

Change-Id: I77c55bd8d83f23356828b77f95f76b184ce62ce6

2 years agoBug #12418 fixed again: using bvode() with continuation led to an error 38/21538/4
Clément DAVID [Fri, 17 Jul 2020 13:12:06 +0000]
Bug #12418 fixed again: using bvode() with continuation led to an error

Change-Id: I0f3d19064db99e052a8273bfc233bee3b439f2de

2 years agothe link in setfield help page (pt_BR section) has been updated 75/21575/2
Adeline CARNIS [Fri, 14 Aug 2020 10:52:12 +0000]
the link in setfield help page (pt_BR section) has been updated

Change-Id: I1c1eb578971b9aa9a5470ee722fdf1e7e7ae2a1f

2 years ago[ast] fix hypermatrix display after 232df831 79/21579/3
mottelet [Wed, 26 Aug 2020 07:46:23 +0000]
[ast] fix hypermatrix display after 232df831

Change-Id: I436600dba53ab853a96fdb87775dce18ffc4d901

2 years ago[fileio] get_absolute_file_path() with no input arg 25/21525/15
mottelet [Fri, 3 Jul 2020 11:20:00 +0000]
[fileio] get_absolute_file_path() with no input arg

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

Change-Id: I2de7aa994a52fb16ad773d45402be289ed90acb4

2 years agoCHANGES updated 77/21577/1
Adeline CARNIS [Mon, 17 Aug 2020 12:50:58 +0000]
CHANGES updated

Change-Id: I44e49b12682240eef44f0de2d6c2df173daae9df

2 years ago* Bugs 15163 16496 fixed [doc]: getdate() page rewritten 52/21552/5
Samuel GOUGEON [Sun, 26 Jul 2020 21:52:53 +0000]
* Bugs 15163 16496 fixed [doc]: getdate() page rewritten

  http://bugzilla.scilab.org/15163
  http://bugzilla.scilab.org/16496
  Rewritten page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5163

  * FIXED:
    - vectorization of getdate(x) was not documented
    - getdate(x) accept fractional seconds, not only integers. Then
      getdate(x)(10) are fractional seconds, not milliseconds.
    - getdate("s") does NOT take leap seconds into account. Proof added in examples.
    - D = getdate() time referential was not documented.
    - getdate("s"): "UTC (Unix Time Convention)" was puzzling, instead of POSIX.
    - The influence of the computer's time zone on getdate(..) results was unclear.
    - The influence of the computer's DST offset on getdate(..) results was undocumented.
  * Short description explicited and clarified.
  * dateTime format: presentation improved, more compact.
  * Examples added.
  * See also: + calendar, clock, datenum

Change-Id: I8b63a87d462b285086a1bff258888ae6cc6624d5

2 years ago* Bug 14488 fixed: plot2d frameflag=9 restored & clarified 69/21569/6
Samuel GOUGEON [Wed, 5 Aug 2020 15:55:59 +0000]
* Bug 14488 fixed: plot2d frameflag=9 restored & clarified

  http://bugzilla.scilab.org/14488

Change-Id: I515d9df67e14c756e3a2d572285281933942c696

2 years ago* Bug 16517 fixed: getdate('s') ignored the fractional part 53/21553/5
Samuel GOUGEON [Mon, 27 Jul 2020 03:15:07 +0000]
* Bug 16517 fixed: getdate('s') ignored the fractional part

  http://bugzilla.scilab.org/16517

Change-Id: I047070bb8181574350950c2a9d061e6984b2cdba

2 years ago* Bug 16525 fixed: soundsec() set obsolete 68/21568/3
Samuel GOUGEON [Tue, 4 Aug 2020 20:57:16 +0000]
* Bug 16525 fixed: soundsec() set obsolete

  http://bugzilla.scilab.org/16525

Change-Id: I8815d864bc1750ef0825c59feb0dcf11b7fa7feb

2 years ago* Bug 14718 fixed [doc]: user() was still documented 73/21573/3
Samuel GOUGEON [Mon, 10 Aug 2020 15:41:20 +0000]
* Bug 14718 fixed [doc]: user() was still documented

  http://bugzilla.scilab.org/14718

  No other occurrence of [^_]user\s*[(<]  found in any SCI/modules
   .sci .sce .tst .xml files

Change-Id: I8d5f9dffdb16b98b26c936fa229b668ea0f75019

2 years agoatomsRepositoryAdd: fix unmatching msprintf() args 74/21574/1
Samuel GOUGEON [Tue, 11 Aug 2020 13:24:55 +0000]
atomsRepositoryAdd: fix unmatching msprintf() args

Change-Id: I1efbc0a7e2f4880119313496512c064c62b4c953

2 years ago[elementary_functions] fix some nonreg tests 44/21544/4
Samuel GOUGEON [Thu, 23 Jul 2020 01:30:18 +0000]
[elementary_functions] fix some nonreg tests

  bug_13515 requires merging https://codereview.scilab.org/21545

Change-Id: I1325f89b90b6e9b460b7e0a8f5ea506d19933c1b

2 years ago* Bug 13762 fixed [doc]: ifft 1/n normalization missed in TeX 58/21558/6
Samuel GOUGEON [Tue, 28 Jul 2020 19:40:10 +0000]
* Bug 13762 fixed [doc]: ifft 1/n normalization missed in TeX

  http://bugzilla.scilab.org/13762
  Overhauled fft page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5164
  +
  * Synopsis unfolded & clarified
  * "selection" argument explicitly renamed "directions"
  * "option" argument
     - explicitly renamed "symmetry"
 - completely described in Arguments, instead of shared in Arguments & Description
  * Very nested lists replaced with <refsect3>
  * LaTeX: alt=".." added for text-rendering.
  * Some code indentation fixed.

Change-Id: Ib04e5ab1a8f7977b64f6885ac90df4d967780607

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