21 months agoadd C interface on static_runner new function 38/21638/1
Antoine ELIAS [Wed, 9 Dec 2020 11:29:00 +0000]
add C interface on static_runner new function

Change-Id: I30f85a1ebe4849da62f50aadfdaadc6be9967136

21 months agodebugger: manual pause added 35/21635/2
Cedric Delamarre [Mon, 7 Dec 2020 13:34:21 +0000]
debugger: manual pause added

Change-Id: I7a37610d260d1911abf4f4da6744d462a60d7f12

22 months agoallow breakpoints in graphic callbacks bis 32/21632/1
Cedric Delamarre [Wed, 2 Dec 2020 15:26:26 +0000]
allow breakpoints in graphic callbacks bis

Change-Id: I943fbf644dc83a97122e75d436a56afb6a2178a1

22 months agoallow breapoints in graphic callbacks 28/21628/1
Cedric Delamarre [Tue, 24 Nov 2020 15:59:02 +0000]
allow breapoints in graphic callbacks

Change-Id: Iaa635fd2b73e3d8b8170f30570a67fbe4225ff44

22 months agodebugger fixed, where entry have not always a file name. 25/21625/2
Cedric Delamarre [Wed, 18 Nov 2020 13:38:23 +0000]
debugger fixed, where entry have not always a file name.

Change-Id: I1abef250955919c0eebcea28f374665952d760ae

22 months agocallstack fixed, wrong file listed 26/21626/2
Cedric Delamarre [Fri, 20 Nov 2020 11:39:59 +0000]
callstack fixed, wrong file listed

Change-Id: I833d19cbfcee9db7dc25254120f92a2d905cd0d3

22 months agoBreakpoints condition 21/21621/2
Cedric Delamarre [Tue, 10 Nov 2020 11:05:11 +0000]
Breakpoints condition

  * mute bp condition execution
  * add bo condition error
  * bp stop on condition changes:
     - Dont stop if the bp condition is valid and the result is false
     - stop if the bp condition is valid and the result true
     - stop if the bp condition exection return an error

Change-Id: Ia61868ad7c7978f31d5aa91ab3ac66d1340e052d

22 months agoreset debugger aborted flag 20/21620/1
Cedric Delamarre [Tue, 3 Nov 2020 16:25:18 +0000]
reset debugger aborted flag

Change-Id: I302e76e8d66342fdb13a12f03a3dc15d6333af95

23 months agomacr2tree, tree2code: matrix cell exp. 06/21606/3
Cedric Delamarre [Fri, 23 Oct 2020 09:25:11 +0000]
macr2tree, tree2code: matrix cell exp.

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

  test_run functions bug_16397  // for both

  this commit manage only cell creation using {}.

Change-Id: If7577584e60855267834fe1e75a701a7bbaf61ad

23 months agoinsertion in container with ref > 1 fixed 01/21601/4
Cedric Delamarre [Mon, 19 Oct 2020 14:54:36 +0000]
insertion in container with ref > 1 fixed

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

  test_run ast insert mode_nwni_profiling
  test_run ast bug_16556 mode_nwni_profiling

Change-Id: Iae642d598b558d4ebc1afab1c526798cff58cc3c

23 months ago* Bug 16508: csvTextScan did not handle well complex data. 64/21564/5
Adeline CARNIS [Fri, 31 Jul 2020 13:21:58 +0000]
* Bug 16508: csvTextScan did not handle well complex data.

An invalid read had also been fixed for some tests. All spreadsheet
tests pass without any ASAN issue.

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

Change-Id: I2db157ce71852d914f984460ec0049e697e132d1

23 months ago* Bug 16362 fixed: now sparse([]) can be concatenated 18/21518/3
mottelet [Wed, 1 Jul 2020 14:12:34 +0000]
* Bug 16362 fixed: now sparse([]) can be concatenated

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

Change-Id: Iac41cef877b114d9b6c24d344c0e09f4fa58acfd

23 months ago* Bug 16488 fixed: [,;] of (bool,double) with sparse 26/21526/7
Samuel GOUGEON [Sat, 4 Jul 2020 00:16:19 +0000]
* Bug 16488 fixed: [,;] of (bool,double) with sparse

  http://bugzilla.scilab.org/16488

  This is required for setdiff() https://codereview.scilab.org/21426

Change-Id: Ie128bad4691bae0f87cf0196fbd7b1631e3f218e

23 months agoimprove a little bit the bool2s speed. 99/21599/1
Cedric Delamarre [Thu, 15 Oct 2020 15:32:05 +0000]
improve a little bit the bool2s speed.

    b = rand(1000,1000)<0.5;
    tic; for i = 1:100, b*1; end, toc()
    tic; for i = 1:100, bool2s(b); end, toc()
    tic; for i = 1:100, b.*1; end, toc()

   this is linked to https://codereview.scilab.org/#/c/21526/

Change-Id: I520764ef62ad70dcfd68804877e32f831a512beb

23 months agocoverage: various bug fixes and simpler usage 97/21597/3
Clément DAVID [Thu, 15 Oct 2020 12:12:04 +0000]
coverage: various bug fixes and simpler usage

Change-Id: Idec51de34280de0d3f3fb6124324750f20999384

23 months agogsort_multilevel: special degenerate case fixed 00/21500/3
Samuel GOUGEON [Sun, 14 Jun 2020 13:09:29 +0000]
gsort_multilevel: special degenerate case fixed

  test_run elementary_functions gsort*

Change-Id: I317be9d294fa6f2e62e5406760e0eadcf7e04419

23 months ago[gui] move objects => 2D view only (after 4ee6c47) 24/21424/2
Samuel GOUGEON [Fri, 28 Feb 2020 23:41:16 +0000]
[gui] move objects => 2D view only (after 4ee6c47)

Change-Id: I2baff28b03a3703f2a6018625d9a319ba7b5dd7a

23 months ago* Bug 16484: remove mlist(["st"..],..) from Scilab 17/21517/7
Samuel GOUGEON [Tue, 30 Jun 2020 22:46:39 +0000]
* Bug 16484: remove mlist(["st"..],..) from Scilab

  http://bugzilla.scilab.org/16484

Change-Id: I4de80fd073fe6d0fa481c77b31c5b8145cbe58c3

23 months ago[doc] csvRead() csvWrite() pages improved 42/21542/6
Samuel GOUGEON [Tue, 21 Jul 2020 17:39:55 +0000]
[doc] csvRead() csvWrite() pages improved

  * http://bugzilla.scilab.org/13417 :
      csvRead(..,range): How to range up to the last row/column
  * csvRead: comments is a column, not a m-by-n matrix.
  * csvRead: + complex numbers are supported.
  * csvRead: http://bugzilla.scilab.org/13624 :
      regexpcomments better explained. In the example, the comment was
      misleading ("!//!" detect all lines with "//" in any location in
      the line, not necessarilly at the beginning).
     + ulink added (to nice PHP general PCRE documentation).
  * csvRead(): parasitic extra anonymous <refsection> removed in examples.

  * csvWrite(): comments are actually header (to match csvRead() terminology)

Change-Id: I56b1101a37097bd9a2733c8f7da9f0a198da2195

23 months ago* Bug 14435 fixed: better error reporting in extract overloads 86/21586/11
mottelet [Wed, 7 Oct 2020 10:14:55 +0000]
* Bug 14435 fixed: better error reporting in extract overloads

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

When you overload extraction on a MList or a TList, error reporting
should be handled by the overload, this is not the case:

t=tlist(["user","x"],0);
function varargout = %user_e(i,x)
  if or(i==["a" "b"])
    mprintf("Extract field %s\n",i);
   else
    error(msprintf("Error: field %s is undefined !\n\n",i));
   end
end

--> t.a
Extract field a

--> t.z
at line     5 of function %user_e

Undefined operation for the given operands.
check or define function %l_e for overloading.

I don't see the error message of the overload, it has been
superseeded. Moreover, it is incorrect (we are not overloading an
operator).

With the proposed patch we have:

--> t.z
at line     5 of function %user_e

Error: field z is undefined !

--> t("z")
at line     5 of function %user_e

Error: field z is undefined !

Change-Id: Idc8fa19579c38093019a97e8542f10ed4782ed8f

23 months ago* Bug 16553 fixed: unique(['' '']) returned ['' ''] 95/21595/3
Samuel GOUGEON [Mon, 12 Oct 2020 20:43:22 +0000]
* Bug 16553 fixed: unique(['' '']) returned ['' '']

  http://bugzilla.scilab.org/16553

Change-Id: Id169c71b32384c2e04c9738c696018065fb5032f

23 months ago[doc] string pages improved 59/21559/15
Samuel GOUGEON [Wed, 29 Jul 2020 18:45:02 +0000]
[doc] string pages improved

Change-Id: I0d0cfa86f200761177d5d1ed25f6655cbccdd346

23 months ago[m2sci] update nonreg tests 90/21590/2
Samuel GOUGEON [Fri, 9 Oct 2020 23:34:05 +0000]
[m2sci] update nonreg tests

Change-Id: I55011f386ce5cb7e68dfe857bfe204c8565a52d2

23 months agoScicos: fix crash on invalid extract 93/21593/2
Clément DAVID [Tue, 6 Oct 2020 09:22:14 +0000]
Scicos: fix crash on invalid extract

Change-Id: Ibec2afc3426fc4c555d765a9eaaf993064932147

23 months ago* Bug 16551 fixed: num2cell(['' '']) returned {} 89/21589/3
Samuel GOUGEON [Fri, 9 Oct 2020 22:15:51 +0000]
* Bug 16551 fixed: num2cell(['' '']) returned {}

  http://bugzilla.scilab.org/16551

Change-Id: I962f6e29bbfc1e8fbd61decb94b29a5851aa9818

23 months ago* Bug 15954 fixed: mfile2sci(): No mode(0);ieee(1); header anymore 91/21591/3
Samuel GOUGEON [Sat, 10 Oct 2020 15:51:46 +0000]
* Bug 15954 fixed: mfile2sci(): No mode(0);ieee(1); header anymore

  http://bugzilla.scilab.org/15954

Change-Id: I015472413ec5aba1b702d33c33eaf79aad2e5c59

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

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