22 months agoperl(): actual removal 91/20591/4
Samuel GOUGEON [Mon, 29 Oct 2018 19:08:03 +0000]
perl(): actual removal

  http://bugzilla.scilab.org/12012

  * On Windows, perl.exe is already removed from /tools/Perl in 6.0.1,
     making perl() useless.
  * DeprecatedChecker.cpp is already OK.

Change-Id: I3f24992cdcdcf3bb8a29df16a027d9dce4a395fb

22 months ago* Bug 14854 fixed: error_table page updated 33/20533/7
Samuel GOUGEON [Wed, 3 Oct 2018 17:15:56 +0000]
* Bug 14854 fixed: error_table page updated

  http://bugzilla.scilab.org/14854
  New proposed page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=4803

Change-Id: I041608dbeb00102363eb93f2505ef02385bc9a8e

22 months agogsort() tests split, factorized, extended to u-int64 88/20588/4
Samuel GOUGEON [Sat, 27 Oct 2018 19:52:36 +0000]
gsort() tests split, factorized, extended to u-int64

  * gsort.tst split:
    - complex: gsort.tst => gsort_complex.tst
    - sparse:  gsort.tst => gsort_sparse.tst (including complex sparse)
    Indeed, forthcoming devs about sorting complex numbers and sparse
    will increase a lot the dedicated tests, while gsort.tst is already
    huge.
    Not a single test removed or changed, just transfered.

  * In gsort.tst:
    - Tests of u-int8-16-32 were 6 times the same code
      => heavily factorized in a inttype=[1 2 4 8 11 12 14 18] loop.
      The content of the loop is unchanged (except to iconvert() things)
    - int64 and uint64 integers were not tested
      => inttype = [8 18] added to the testing loop.
    - hypermatrices: twice the code => o = ["i" "d"] loop

Change-Id: I83dd1349d7f4c08190c2622236f213d697f79753

23 months agoRevert "* Bug 14606 fixed: now `[names,mem]=who()` returns memory used by variables" 64/20664/1
Antoine ELIAS [Mon, 17 Dec 2018 15:30:59 +0000]
Revert "* Bug 14606 fixed: now `[names,mem]=who()` returns memory used by variables"

This reverts commit cbc3e3fe1cfff3197da84cfbf55b88ee63ad4365.

Change-Id: I0936b03b6423ea6f08587f28ac395c58208c9672

23 months agoRevert "[ui_data] reactivate bytes column in browsevar" 63/20663/1
Antoine ELIAS [Mon, 17 Dec 2018 15:25:03 +0000]
Revert "[ui_data] reactivate bytes column in browsevar"

This reverts commit 68d44f64d5995bfe54000f2138c4628198728108.

Change-Id: I8891230f479c642a52e8f2c071d9d30f5c41cde1

23 months agoBug 15310 fixed: isdef regression for void type repaired bis 62/20662/2
Antoine ELIAS [Mon, 17 Dec 2018 14:03:31 +0000]
Bug 15310 fixed: isdef regression for void type repaired bis

Change-Id: Ic38bb8c8c1ea009a38652e2589a7398eae932f1a

23 months agoRevert "* Bug 15310 fixed: isdef regression for void type repaired" 61/20661/1
Antoine ELIAS [Mon, 17 Dec 2018 11:20:53 +0000]
Revert "* Bug 15310 fixed: isdef regression for void type repaired"

This reverts commit 12910be31c7649059c55b1913e6c192a0128826a.

Change-Id: Ia3a53d44516486b0028b17eb43ebcc5a4832f53c

2 years agoBug 15885 fixed: break in an else block is broken 44/20644/1
Antoine ELIAS [Wed, 28 Nov 2018 11:30:42 +0000]
Bug 15885 fixed: break in an else block is broken

Change-Id: I216373a690e6db435d06b8f1bb05d0a59740a76a

2 years agoexists/isdef: fix memleak introduced at 12910be3 43/20643/1
Clément DAVID [Wed, 28 Nov 2018 10:14:55 +0000]
exists/isdef: fix memleak introduced at 12910be3

Change-Id: I498adcae78622762ea5c2520ef9d4cbcce9f1ee2

2 years ago[elementary_functions] clean() unit test 85/20585/2
Stéphane MOTTELET [Fri, 26 Oct 2018 21:37:22 +0000]
[elementary_functions] clean() unit test

Change-Id: I2b0d9f84358d8ed0beb5bd08313cd64c46c1a296

2 years ago[string] fix failing NR test because of new error number 82/20582/3
Stéphane Mottelet [Wed, 24 Oct 2018 09:11:40 +0000]
[string] fix failing NR test because of new error number

Change-Id: I9fdd57fc682a3f1753f6265b732e0dad583210f1

2 years ago* Bug 15827 fixed: bode('rad') wrong french xLabel & datatips unit 78/20578/4
Samuel GOUGEON [Mon, 22 Oct 2018 22:16:18 +0000]
* Bug 15827 fixed: bode('rad') wrong french xLabel & datatips unit

  http://bugzilla.scilab.org/15827

Change-Id: I2e341c282f1d1f85c8a40d64cfc07dda30d98aa8

2 years ago* Bug 15817 fixed: now ascii(c) with c>=128 does not crash on OSX 76/20576/2
Stéphane Mottelet [Mon, 22 Oct 2018 17:09:46 +0000]
* Bug 15817 fixed: now ascii(c) with c>=128 does not crash on OSX

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

Change-Id: I7b9eb67254101255ac97e2051b9a5f5392920ca0

2 years agogsort() gateway: delegate argins checking to overloads 89/20589/7
Samuel GOUGEON [Sun, 28 Oct 2018 16:37:00 +0000]
gsort() gateway: delegate argins checking to overloads

 This is required before fixing
   http://bugzilla.scilab.org/15280 (hypermat along dim>2)
   http://bugzilla.scilab.org/15825 (complex numbers)
   http://bugzilla.scilab.org/15838 (sparse vector: wrong k)
   http://bugzilla.scilab.org/15839 (sparse matrices unsupported)

 Currently, the gateway is too stiff wrt overloads.
 By the way, argins checking are currently done twice, in the
 gateway and in overloads.

Change-Id: I6687529f9d3a35909db8e5ee87e8d447c47308e1

2 years ago* Bug 7151 fixed: plot(x, list(fun,param)) was not supported 70/20470/5
Samuel GOUGEON [Thu, 23 Aug 2018 19:22:21 +0000]
* Bug 7151 fixed: plot(x, list(fun,param)) was not supported

  http://bugzilla.scilab.org/7151

  overhauled plot() page (en,PDF): http://bugzilla.scilab.org/attachment.cgi?id=4779

Change-Id: I5ce6ab361049a9a8b2a63d495cf1389c39411bbb

2 years agoFix some Coverity issues after 33b80b 50fe1d 5f73e9 and c473f9 31/20631/1
Clément DAVID [Wed, 21 Nov 2018 14:39:52 +0000]
Fix some Coverity issues after 33b80b 50fe1d 5f73e9 and c473f9

Change-Id: I8b5702a4f32117eaf0e5a54b10bf80c981f37148

2 years ago* Bug 15815 fixed: polarplot() labels turned puzzled 70/20570/5
Samuel GOUGEON [Sat, 20 Oct 2018 01:32:37 +0000]
* Bug 15815 fixed: polarplot() labels turned puzzled

  http://bugzilla.scilab.org/15815

  Comparison with/without patch:
    http://bugzilla.scilab.org/attachment.cgi?id=4819

Change-Id: Id9539c070cc82e4defcd2eebf25381ee9514713d

2 years ago* Bug 13798 fixed: now datatip text updates when moving curve or changing data 57/20557/4
Stéphane Mottelet [Wed, 17 Oct 2018 07:42:36 +0000]
* Bug 13798 fixed: now datatip text updates when moving curve or changing data

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

Video: http://bugzilla.scilab.org/attachment.cgi?id=4828

Change-Id: I03bd04b59c5b8612d33ad3c46feb84cc3793de37

2 years ago* Bug 15816 fixed: upstream drawlater ignored by polarplot, mesh, pie, contourf 59/20559/6
Samuel GOUGEON [Wed, 17 Oct 2018 13:15:02 +0000]
* Bug 15816 fixed: upstream drawlater ignored by polarplot, mesh, pie, contourf

  http://bugzilla.scilab.org/15816

  // Test:
  clf
  drawlater
  polarplot() // the example must NOT be displayed.
  drawnow     // Now it should be so, and only now.
  clf
  drawlater
  subplot(2,2,1); pie()
  subplot(2,2,2); mesh()
  subplot(2,2,3); contourf()
  drawnow    // Now the whole figure must appear, and only now.

Change-Id: I1169839d6c226950da793fbb06bc538d8884e218

2 years ago[doc] surface_properties page improved 54/20554/5
Samuel GOUGEON [Mon, 15 Oct 2018 22:56:24 +0000]
[doc] surface_properties page improved

  * .color_flag, .color_mode, .visible, .surface_mode, .cdata_mapping,
    .hiddencolor properties overhauled.
  * See also: grayplot_properties and Matplot_properties added

Change-Id: Ic25e832f9bbec0c5a715f70ac046df008b4fb020

2 years agouieditor: clarify the 'Clear' uicontextmenu item 48/20548/5
Samuel GOUGEON [Sat, 13 Oct 2018 12:20:58 +0000]
uieditor: clarify the 'Clear' uicontextmenu item

  After plot() => 2 axes:
    * The item "Clear" is unclear: we don't know what will be cleared
      In pratical, it is always the current selected axes (not other
      selected objects like curves, etc).
    * The tooltip "Clears the figure" is misleading: When the figure
      has several axes, only the selected axes is cleared.

Change-Id: I11b7288290674505a174852dfab3173c90935aa7

2 years agoCoverityFix-CID:1396026 (after 12ad3dfd) 38/20538/4
Stéphane MOTTELET [Sat, 6 Oct 2018 11:47:15 +0000]
CoverityFix-CID:1396026 (after 12ad3dfd)

Change-Id: I19e3b83b1a742a405e5a02305137bbdbaea19dc7

2 years ago* Bug 15796 fixed: now msprintf("") does not crash Scilab any more 42/20542/5
Stéphane Mottelet [Mon, 8 Oct 2018 14:25:52 +0000]
* Bug 15796 fixed: now msprintf("") does not crash Scilab any more

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

Change-Id: I8e82380a977e982ebcfa07d1fb302eea0872f230

2 years ago* Bug 15497 fixed: now after s.a=list(1), type(s("a")) is 15 43/20543/6
Stéphane Mottelet [Mon, 8 Oct 2018 15:31:35 +0000]
* Bug 15497 fixed: now after s.a=list(1), type(s("a")) is 15

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

Change-Id: I0ddc1d09c7216817bc3f9d5b566e8e13577731af

2 years ago* Bug 7107 fixed: graphics_entities page completed 35/20535/4
Samuel GOUGEON [Wed, 3 Oct 2018 19:50:03 +0000]
* Bug 7107 fixed: graphics_entities page completed

  http://bugzilla.scilab.org/7107

  New version (PDF): http://bugzilla.scilab.org/attachment.cgi?id=4804
  Added elements are highlighted.

Change-Id: Ia8cb40a487671cfdea68b6a55d910df61ecb51d7

2 years ago* Bug 15095: mfile2sci() translatepaths() failed with non-ASCII paths 25/20525/3
Samuel GOUGEON [Sat, 29 Sep 2018 23:37:01 +0000]
* Bug 15095: mfile2sci() translatepaths() failed with non-ASCII paths

  http://bugzilla.scilab.org/15095

  mfile2sci(): named parameters were not allowed
  translatepath():
    - path management improved, using dedicated functions
    - building the builder and loader was bugged:
      unix_g("pwd") does not work on Windows

Change-Id: I021d635ecdb052fcdb80adf1c5e7040c96a2d186

2 years agoBug 14386 fixed bis (remove CommentExp for empty else) 19/20619/2
Antoine ELIAS [Wed, 14 Nov 2018 20:54:32 +0000]
Bug 14386 fixed bis (remove CommentExp for empty else)

Change-Id: Ibec1f6ab9a031a2e05eb248d770fdb62eee0a998

2 years ago* Bug 15770 fixed: now zpss and zp2tf unitary tests succeed 04/20504/7
Stéphane Mottelet [Tue, 18 Sep 2018 13:31:12 +0000]
* Bug 15770 fixed: now zpss and zp2tf unitary tests succeed

test_run zp2ss and zp2tf were faling because
not real conjugate zeros and poles were incorrectly
checked

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

The proposed solution does not rely on intersect()
and simply checks if the polynomial built with the zeros
or the poles is real.

Change-Id: I7e89aedd210e63abdd7f6e4c57280f0dcc1708bd

2 years ago* Bug 15740 fixed: now (%s == %z) == %f and (%s ~= %z) == %t 03/20503/4
Stéphane Mottelet [Tue, 18 Sep 2018 09:40:33 +0000]
* Bug 15740 fixed: now (%s == %z) == %f and (%s ~= %z) == %t

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

Change-Id: Ic98854abeb7bf534d513bdb6cb66d91bb3efe223

2 years ago* Bug 15741 fixed: now +-* of polynomial with distinct var call overload 00/20500/2
Stéphane Mottelet [Mon, 17 Sep 2018 09:48:59 +0000]
* Bug 15741 fixed: now +-* of polynomial with distinct var call overload

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

Change-Id: I62f24c1243b5d524913955ba7fb59659c8a4ac6b

2 years ago* Bug 15642 fixed: now A(:) gives correct display for A sparse bool 19/20519/3
Stéphane Mottelet [Mon, 24 Sep 2018 09:53:47 +0000]
* Bug 15642 fixed: now A(:) gives correct display for A sparse bool

http://bugzilla.scilab.org/15642

Change-Id: I28074b6470eecd993ac349144750aa2e7fde8b64

2 years ago* Bug 15778 fixed: delete row/col of SparseBoolean crashed Scilab 18/20518/2
Stéphane Mottelet [Mon, 24 Sep 2018 08:58:43 +0000]
* Bug 15778 fixed: delete row/col of SparseBoolean crashed Scilab

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

Change-Id: I69b206e71a4dfc44c5a85bbf5440154640f9693c

2 years ago* Bug 15779 fixed: test_run() refused * in tests names 16/20516/5
Samuel GOUGEON [Sun, 23 Sep 2018 15:19:38 +0000]
* Bug 15779 fixed: test_run() refused * in tests names

  http://bugzilla.scilab.org/15779

  Page updated: http://bugzilla.scilab.org/attachment.cgi?id=4795

  Help ja_JP: misformated history section fixed

  Now (example):
--> test_run elementary_functions dec2*
   TMPDIR = C:\MyPath\AppData\Local\Temp\SCI_TMP_3668_1147

   001/004 - [elementary_functions] dec2oct.....................passed
   002/004 - [elementary_functions] dec2hex.....................passed
   003/004 - [elementary_functions] dec2bin.....................passed
   004/004 - [elementary_functions] dec2base....................passed
   ---------------------------------------------------------------------
   Summary
   ../..

Change-Id: Ib333d3839d0ab67620bfd4615c5ca21573e8295d

2 years ago[doc] matio pages improved 15/20515/4
Samuel GOUGEON [Sun, 23 Sep 2018 06:48:46 +0000]
[doc] matio pages improved

Change-Id: Ie3644dcc0832fd9a3cdaae156c93545c4c7237b5

2 years ago[renderer] mouseWheel zoom now centered on pointer location 81/20581/14
Stéphane Mottelet [Wed, 24 Oct 2018 06:30:19 +0000]
[renderer] mouseWheel zoom now centered on pointer location

http://bugzilla.scilab.org/show_bug.cgi?id=12711
video:
http://bugzilla.scilab.org/attachment.cgi?id=4829
http://bugzilla.scilab.org/attachment.cgi?id=4831
http://bugzilla.scilab.org/attachment.cgi?id=4833

Change-Id: I826e3da4489b39d6da466fbf482d11cdc77f2100

2 years ago[gui] move classes to pick objects into [renderer] 20/20620/2
Clément DAVID [Thu, 15 Nov 2018 10:33:09 +0000]
[gui] move classes to pick objects into [renderer]

Change-Id: I148c64d7343267fbf840c802e5e8c2eeb97d0a7c

2 years ago[hdf5] save(file, vector_of_names) allowed 52/20552/10
Stéphane Mottelet [Mon, 15 Oct 2018 11:34:09 +0000]
[hdf5] save(file, vector_of_names) allowed

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

Change-Id: Ia6cf1368885eb5faca5b0d6bd9d854f93dc51a67

2 years ago* Bug 14386 fixed: wrong commented end from string(macro) 13/20513/5
Samuel GOUGEON [Sat, 22 Sep 2018 11:37:27 +0000]
* Bug 14386 fixed: wrong commented end from string(macro)

  http://bugzilla.scilab.org/14386

  I failed finding how to remove the empty else block.
  At least this patch makes the code from string() working,
  even if it's not minimal.

Change-Id: I1984d49ea61466073bd34960128f2f0b0e19a02b

2 years ago* Bug 15774 fixed: now clean() works on sparse complex matrix 10/20510/2
Stéphane Mottelet [Fri, 21 Sep 2018 07:05:50 +0000]
* Bug 15774 fixed: now clean() works on sparse complex matrix

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

Change-Id: Ia8655df74a8923c96ae2d3236e0f134db821f4d4

2 years ago* Bug 15724 fixed: []^3 does not display Lapack error messages 05/20505/5
Stéphane Mottelet [Wed, 19 Sep 2018 09:42:01 +0000]
* Bug 15724 fixed: []^3 does not display Lapack error messages

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

Change-Id: I17e9f1f3c4833a8514404b0a3019d727a1a10408

2 years ago* Bug 15310 fixed: isdef regression for void type repaired 08/20508/3
Stéphane MOTTELET [Wed, 19 Sep 2018 23:02:24 +0000]
* Bug 15310 fixed: isdef regression for void type repaired

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

Change-Id: Iaf90690280fe235874f4d51e2ae2620ab070dfca

2 years ago* Bug 15698 fixed: now more intg roundoff error with a trivial integral 06/20506/4
Stéphane Mottelet [Wed, 19 Sep 2018 14:16:02 +0000]
* Bug 15698 fixed: now more intg roundoff error with a trivial integral

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

The problem was due to a too stringent default ATOL.
Optional ATOL and RTOL values given by user were also inverted
but this was not the cause of the problem.

Change-Id: I858710eb5a3c18ab38e2b9010f374912aba04952

2 years ago* Bug 15346 fixed: addressing rationals with linear indices 98/20498/4
Samuel GOUGEON [Sun, 16 Sep 2018 11:50:16 +0000]
* Bug 15346 fixed: addressing rationals with linear indices

  http://bugzilla.scilab.org/15346

  This is a fully back-compatible implementation,
  keeping type(rationals)==16
  (unlike https://codereview.scilab.org/19972)

Change-Id: I5f56a9c4d15f886f074a926a958a212cf929f367

2 years ago* Bug 7305 fixed: issparse() returned 0|1 instead of %F|%T 14/20614/3
Samuel GOUGEON [Sun, 11 Nov 2018 11:19:12 +0000]
* Bug 7305 fixed: issparse() returned 0|1 instead of %F|%T

  http://bugzilla.scilab.org/7305

Change-Id: I5cf80dba3f09aef40c10c9d33aaae3bba32002cf

2 years ago* Bug 15757 fixed: xcosPalAddBlock() was fragile + misleading message 89/20489/6
Samuel GOUGEON [Sat, 8 Sep 2018 21:42:34 +0000]
* Bug 15757 fixed: xcosPalAddBlock() was fragile + misleading message

  http://bugzilla.scilab.org/15757

Change-Id: Ia5fb9a031fbdc507a21416d550a3d9f0a6875e08

2 years ago[doc] role='see also': improved support in native and toolboxes pages 90/20490/5
Samuel GOUGEON [Sun, 9 Sep 2018 13:29:32 +0000]
[doc] role='see also': improved support in native and toolboxes pages

  Palettes and xcos blocks pages where the role is often missing
  will be processed appart

Change-Id: Ifc6e332e0b7b7e10def1635eb6a40e1a83e2cbbb

2 years ago* Bug 15746 fixed: now 1/[1 2 3] and [1 2 3]'\1 raise an error 83/20483/3
Stéphane Mottelet [Thu, 30 Aug 2018 11:21:13 +0000]
* Bug 15746 fixed: now 1/[1 2 3] and [1 2 3]'\1 raise an error

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

Change-Id: I5f9afeadb207bfe5a5a60a3cb85f7c95cb828477

2 years ago[doc] Misc. minor fixes & improvements 10/20610/4
Samuel GOUGEON [Wed, 7 Nov 2018 23:29:32 +0000]
[doc] Misc. minor fixes & improvements

  * fgets: http://bugzilla.scilab.org/15871

Change-Id: Id9a85359818056fa0bb00a9ac2787758599d016f

2 years agoMatlab sparse overloads gathered in [compatibility_functions] 78/20478/4
Samuel GOUGEON [Mon, 27 Aug 2018 11:30:00 +0000]
Matlab sparse overloads gathered in [compatibility_functions]

  Most of Matlab-specific msp overloads are already in
  SCI/compatibility_functions/macros

Change-Id: I58b68a3321fd18b818ec740cda955a08fede8216

2 years ago* Bug 14906 fixed: histc & histplot normalization was broken 72/20472/5
Samuel GOUGEON [Fri, 24 Aug 2018 18:20:55 +0000]
* Bug 14906 fixed: histc & histplot normalization was broken

  http://bugzilla.scilab.org/13490
  http://bugzilla.scilab.org/14906

  This bug hinders teachers & students (see http://bugzilla.scilab.org/15128)
  We must not wait for the hist() and histplot() refactoring for 6.1
  to fix it.

  * histc() (and so histplot) normalization fixed.
  * histc page:
    - syntaxes unfolded
    - ind => undocumented (very badly placed. classes expected in argout#2)
    - cf renamed h. h and normalization decsriptions fixed.
    - examples:
      - sum checking added in example #1
      - ; added after histc() to prevent displaying values flowing in the console
  * histplot page:
     - syntaxes unfolded
     - ind undocumented
      - ; added after histplot() to prevent displaying values in console

Change-Id: I8f13521cbc62bfa52534099dfd8faf34df9adc0d

2 years ago* Bug 8143 fixed: mtlb_qr had wrong input checking 74/20474/3
Samuel GOUGEON [Sat, 25 Aug 2018 17:31:25 +0000]
* Bug 8143 fixed: mtlb_qr had wrong input checking

  http://bugzilla.scilab.org/8143

  Just unblocking the simple usage.
  Second input still possible, even if it is unused.
  Matlab syntaxes accept additional inputs.
  Converter to be overhauled.

Change-Id: Ie684a68db563b701984ee5d84760d933a77eea55

2 years ago[core] who_user() missed vars starting as predef ones 73/20473/2
Samuel GOUGEON [Sat, 25 Aug 2018 17:07:21 +0000]
[core] who_user() missed vars starting as predef ones

Change-Id: I26706bf9c3d121940aaa82da6d379505ada51ab0

2 years ago* Bug 5521 fixed: surf(x,y,myFun) was not supported 71/20471/4
Samuel GOUGEON [Fri, 24 Aug 2018 05:25:21 +0000]
* Bug 5521 fixed: surf(x,y,myFun) was not supported

  http://bugzilla.scilab.org/5521

  Updated and improved page (en,PDF):
       http://bugzilla.scilab.org/attachment.cgi?id=4780
       * Description a bit simplified (more info in Arguments section)
       * 2 surf(Z) examples factorized (1 single plot with 2 subplots)
       * Example of non rectangular cells: very margin example replaced
         by an example in cylindrical geometry.

  Other improvements:
   * Error messages: the # of input was wrong in case of axes as first argin
   * surf() example :
     - the current axes was not cleared
     - the colormap was modified even when in case of subplots
   * X, Y:
     - providing scalars was not detected
     - matrices: incompatibles sizes were not detected
     - X & Y must be reals
   * Argins parser rewritten: other consistency checkings added

Change-Id: I361a43b6701d5f02c09639da04d1cb45c4f3c575

2 years ago* Bug #15809 fixed: HDF5 load/save was super slow for nested lists. 77/20577/4
Clément DAVID [Mon, 22 Oct 2018 15:50:57 +0000]
* Bug #15809 fixed: HDF5 load/save was super slow for nested lists.

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

Change-Id: Iba31f17e1de9bf5b551655fe25f68686b32f7f53

2 years ago* Bug 15854 fixed: horner(1:$,4) yielded an error 94/20594/4
Samuel GOUGEON [Tue, 30 Oct 2018 18:13:52 +0000]
* Bug 15854 fixed: horner(1:$,4) yielded an error

  http://bugzilla.scilab.org/15854

Change-Id: I7e9ec1f0ce77a4a9b75898322a89e94a008f5d9d

2 years ago* Bug 12529 fixed: listvarinfile page updated 69/20469/4
Samuel GOUGEON [Wed, 22 Aug 2018 20:57:19 +0000]
* Bug 12529 fixed: listvarinfile page updated

 http://bugzilla.scilab.org/12529

Change-Id: Id4dfcae77a0148c98d307a7c0478ac969403e5a0

2 years ago* Bug 15721 fixed: error while save(F,'-append', ..) deleted F 68/20468/4
Samuel GOUGEON [Wed, 22 Aug 2018 19:11:14 +0000]
* Bug 15721 fixed: error while save(F,'-append', ..) deleted F

  http://bugzilla.scilab.org/15721

Change-Id: Ib1368b250ea90af01662c1f931b1f244186d9e3d

2 years ago* Bug 15847 fixed: Scilab crashed at startup after af7a39b2 02/20602/2
Samuel GOUGEON [Wed, 31 Oct 2018 13:50:45 +0000]
* Bug 15847 fixed: Scilab crashed at startup after af7a39b2

  http://bugzilla.scilab.org/15847

  In this fixed release, the help is also back. Thanks

Change-Id: I3fc9ede5439f1685730b2791aed2e013e59d1338

2 years ago[doc] misc. fix, updates and minor improvements 28/20528/14
Samuel GOUGEON [Mon, 1 Oct 2018 20:36:09 +0000]
[doc] misc. fix, updates and minor improvements

 * mtlb_a (fr): The whole documentation is broken for all languages
   in both the 6.0 and the master branchs, likely due to this error
   introduced at https://codereview.scilab.org/20393 .
   Please merge ASAP to retrieve the doc.

 * while: http://bugzilla.scilab.org/15801
 * m2sci equiv: http://bugzilla.scilab.org/6139
 * colon: history updated

Change-Id: I3d91358297baccaf87bc405c49db5a244c9efa1e

2 years ago* Bug 158018 fixed: polarplot() example & demo improved 71/20571/5
Samuel GOUGEON [Sat, 20 Oct 2018 03:27:59 +0000]
* Bug 158018 fixed: polarplot() example & demo improved

  http://bugzilla.scilab.org/15818

  * polarplot() example could not be subplotted
  * polarplot demo
    - did not show "View code"
    - too often prompted the user

Change-Id: I162b577d53e434e7a52c591091e109deccafe3b0

2 years agoFix Scilab build after af7a39b2 74/20574/1
Clement DAVID [Mon, 22 Oct 2018 06:34:39 +0000]
Fix Scilab build after af7a39b2

There is no more macros inside ast.

Change-Id: I3fe546f1601915db8aef431cb50d34f795d62af3

2 years ago* Bug 14539 fixed: Building with hdf5 1.10.0 failed 65/20065/4
Gilles FILLIPINI through [Sun, 27 May 2018 11:21:59 +0000]
* Bug 14539 fixed: Building with hdf5 1.10.0 failed

  http://bugzilla.scilab.org/14539

Change-Id: I4620ccf4b6530fc8af501784a94d1aba800fb643

2 years ago* Bug 15718: bitwise functions with uint64(%inf) 64/20464/3
Samuel GOUGEON [Mon, 20 Aug 2018 10:49:12 +0000]
* Bug 15718: bitwise functions with uint64(%inf)

  http://bugzilla.scilab.org/15718

Change-Id: Iea904d6f80b09421e4a5099dee0a1afad5af840a

2 years agomove matfile2sci() [m2sci] => [matio] 50/20050/4
Samuel GOUGEON [Thu, 24 May 2018 20:09:48 +0000]
move matfile2sci() [m2sci] => [matio]

  This macro is about mat-file conversion, not m-file conversion.

Change-Id: I0b97c14161deb6a1aef0f48fb39a570d908d0f1d

2 years ago* Bug 12810: support added to build RTL pages (style.css, xmltoformat) 22/19822/7
Samuel GOUGEON [Fri, 2 Mar 2018 22:40:07 +0000]
* Bug 12810: support added to build RTL pages (style.css, xmltoformat)

  http://bugzilla.scilab.org/12810#c25

  With this patch:
  * pages for fa_* and ar_* are correctly built.
    They are correctly rendered RTL in a web browser, with protected
    area (literal, code, pre, etc).
    Only the path is right-justified but still LTR (could be reverted
    with a bit more work... Worthwhile to?)
  * The Scilab help viewer still can't render them correctly.
  * In partial fa or ar corpus, default en_US replacement pages are
    rendered LTR as usual.

Change-Id: I51cf8d62d943a3ddc7512c3ba7e1f5f6a0a7a1db

2 years ago* Bug 14355 fixed: powershell() was poorly documented 86/19986/4
Samuel GOUGEON [Mon, 30 Apr 2018 23:24:28 +0000]
* Bug 14355 fixed: powershell() was poorly documented

  http://bugzilla.scilab.org/14355

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

Change-Id: Ia432b5e271a50c46ae9f6378f39bc8a0c8483ba3

2 years ago* Bug 15476 fixed: Resistor Inductor Capacitor ConstantVoltage icons improved 29/19829/6
Samuel GOUGEON [Wed, 7 Mar 2018 11:40:17 +0000]
* Bug 15476 fixed: Resistor Inductor Capacitor ConstantVoltage icons improved

  http://bugzilla.scilab.org/15476

  * icons improved
  * Initial and set parameters value now displayed on the icons.
  * Icons and values are zoomed together (=> OK)
  * Icons are now square => ports now OK with 90° rotation.

  This shall improve the ergonomics of diagrams.

Change-Id: I7a1432245e5191b8aa03dff5e8666e113e12e221

2 years ago* Bug 15710 fixed: EXPRESSION block with & or ~ 63/20463/3
Samuel GOUGEON [Sat, 18 Aug 2018 17:51:20 +0000]
* Bug 15710 fixed: EXPRESSION block with & or ~

  http://bugzilla.scilab.org/15710

  Interactive test:
  * xcos()
  * Add an EXPRESSION block
  * Double-click the block to open its dialog
  * Enter the expression: (~u1|u2&u1)*1 and press OK
  => The expression must be correctly rendered on the block's icon
  => Xcos must still be available (not frozen)

Change-Id: I5570faab0d10adf00069f61f8710ce978bc53f66

2 years ago[bug_15624] GenericType check missing before cast 62/20462/4
Cedric Delamarre [Fri, 17 Aug 2018 14:38:39 +0000]
[bug_15624] GenericType check missing before cast

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

  test_run ast bug_15624
  test_run ast bug_15624 mode_nwni_profiling

Change-Id: I4cfae6c034bd61c117dc4c112be119f4295303a7

2 years agoRevert "* Bug 15452 fixed: libsciconsole-minimal.la is now linked" 66/20566/1
Clément DAVID [Fri, 19 Oct 2018 13:47:22 +0000]
Revert "* Bug 15452 fixed: libsciconsole-minimal.la is now linked"

This reverts commit f4c4fe7bb09cb1974ad7a5f6ab9b1c4562396eae as it break
the CI.

Change-Id: I85392ff5c74e368d88c5a54288e67b2c16e598e8

2 years agoast/macros/* => overloading/macros 18/20418/3
Samuel GOUGEON [Fri, 3 Aug 2018 07:47:55 +0000]
ast/macros/* => overloading/macros

Change-Id: I7d51091fbf9e940283414973b5aa9c6650ba2d04

2 years ago* Bug 15658 fixed: tbx_builder_src() wrong for ./src/java 17/20417/3
Samuel GOUGEON [Thu, 2 Aug 2018 12:49:41 +0000]
* Bug 15658 fixed: tbx_builder_src() wrong for ./src/java

  http://bugzilla.scilab.org/15658

  Test (with no C compiler installed/detected):
   * download BTD @ https://atoms.scilab.org/toolboxes/BTD
   * run its builder: the module must be built.

Change-Id: Ib3abe7b2cdc93329af522193b8b6df926b5df134

2 years ago[doc] update and fix some warnings 93/20393/3
Cedric Delamarre [Tue, 31 Jul 2018 10:12:35 +0000]
[doc] update and fix some warnings

There is a remaining `the macro message is used in an example and is undocumented` warning but this seems big enough to fix it in another commit.

Change-Id: I92716f56efef018e537dd7ab527741d88612cf64

2 years ago* Bug 15452 fixed: libsciconsole-minimal.la is now linked 17/20017/4
Sylvestre LEDRU [Fri, 4 May 2018 21:44:51 +0000]
* Bug 15452 fixed: libsciconsole-minimal.la is now linked

  http://bugzilla.scilab.org/15452

  Patch pushed.

Change-Id: I8baac9aa1a1f91c107e91f71fd1510a7c2cfa602

2 years ago* Bug 15458 fixed: hist3d() rendering was wrong 64/20164/5
Samuel GOUGEON [Sun, 17 Jun 2018 01:17:47 +0000]
* Bug 15458 fixed: hist3d() rendering was wrong

  http://bugzilla.scilab.org/15458

  Test: hist3d() with 5.5.2
  http://bugzilla.scilab.org/15274 prevents the right rendering with 6.0

Change-Id: I3fd469f8b52c8030a90ce7acce55a63bf889ba4b

2 years ago* Bug 15645 fixed: now deff('y=f(x)','z=x^2'),fsolve(1,f) raises an error 13/20213/2
Stéphane Mottelet [Wed, 4 Jul 2018 12:48:46 +0000]
* Bug 15645 fixed: now deff('y=f(x)','z=x^2'),fsolve(1,f) raises an error

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

Change-Id: Ia1a3a335c970f9ecc265e89138efccd4a082fa68

2 years ago* Bug 13039 fixed: Scinotes 'Save as in' opened targetdir/.. 18/19818/4
Samuel GOUGEON [Thu, 1 Mar 2018 05:44:35 +0000]
* Bug 13039 fixed: Scinotes 'Save as in' opened targetdir/..

 http://bugzilla.scilab.org/13039

Change-Id: I67c8228444b92d1ac18eb0d26a4ac111d4e4a988

2 years ago* Bug 15605: CLR & DLR blocks: issue with '%' 52/20152/3
Samuel GOUGEON [Sat, 9 Jun 2018 18:14:26 +0000]
* Bug 15605: CLR & DLR blocks: issue with '%'

  http://bugzilla.scilab.org/15605

Change-Id: I895957323e3a8a6333d7a2bacab441ed269e07f7

2 years ago* Bug 15814 fixed: gca().children(booleans) failed 58/20558/3
Samuel GOUGEON [Wed, 17 Oct 2018 12:37:59 +0000]
* Bug 15814 fixed: gca().children(booleans) failed

  http://bugzilla.scilab.org/15814

Change-Id: Ia58f671066dc1e1302f9eb7f2b574c0fac5669fd

2 years ago* Bug 14318 fixed: memory leaked when writing HDF5 73/20073/4
Tilman Blumhagen [Tue, 29 May 2018 16:58:12 +0000]
* Bug 14318 fixed: memory leaked when writing HDF5

  http://bugzilla.scilab.org/14318

Change-Id: I4afe7a8dd3535108aecf154d05a794fcfd281b4d

2 years ago* Bug 15582 fixed: mfile2sci() with only_double = %F 41/20041/5
Samuel GOUGEON [Tue, 22 May 2018 23:20:36 +0000]
* Bug 15582 fixed: mfile2sci() with only_double = %F

  http://bugzilla.scilab.org/15582

Change-Id: Ic192750b3878fd6e952123827b8e427bc5741d5a

2 years agofix OSX compilation after c747a062 55/20555/1
Stéphane MOTTELET [Tue, 16 Oct 2018 21:15:51 +0000]
fix OSX compilation after c747a062

Change-Id: Ifdd507385fba20a5cce0505f92ed9bf3887f6f63

2 years agofix infite mgetl after https://codereview.scilab.org/#/c/19945/ 47/20547/2
Antoine ELIAS [Thu, 11 Oct 2018 15:20:09 +0000]
fix infite mgetl after https://codereview.scilab.org/#/c/19945/

m = rand(80000, 1);
mputl(string(m), TMPDIR+"/test.txt");
// without this commit, it's never ends
// with it should take less than 100ms
tic();r = mgetl(TMPDIR+"/test.txt");toc(),size(r)

Change-Id: Ie475efe0f8454a195785c351e1f80ab5be2e989a

2 years ago* Bug 14536 fixed (+NRT): xpoly() could crash in log mode 39/20539/3
Samuel GOUGEON [Sat, 6 Oct 2018 15:50:36 +0000]
* Bug 14536 fixed (+NRT): xpoly() could crash in log mode

  http://bugzilla.scilab.org/14536

Change-Id: If0248c545a6fe8fce3401a2252eb73a53bff3174

2 years agoXcos: fix existing bug_7537.tst 44/20544/1
Clement DAVID [Tue, 9 Oct 2018 09:34:59 +0000]
Xcos: fix existing bug_7537.tst

Change-Id: I32ec3cc39bc507078beefcdf2f75ba1c9e92b87d

2 years ago* bug #15468: Xcos saved file used non UTF-8 characters which lead to invalid file... 22/20522/2
Clement DAVID [Thu, 27 Sep 2018 13:35:40 +0000]
* bug #15468: Xcos saved file used non UTF-8 characters which lead to invalid file loading later.

This seems not visible on most linux systems but trivial to reproduce on
windows with a product block (containing a U+00D7 MULTIPLICATION SIGN).

Change-Id: I5f45bee72b76d17b5f70ec0f7de815cbb3df9fac

2 years agouicontrol(x) to set focus must pass through the model instead of call directly SwingView 37/20537/3
Antoine ELIAS [Fri, 5 Oct 2018 12:32:21 +0000]
uicontrol(x) to set focus must pass through the model instead of call directly SwingView

Change-Id: I557994bd67e20a8e659aaea95de7f94d3f494a95

2 years agohead_comments(): argin#2 removed since Scilab 5.0 34/20534/2
Samuel GOUGEON [Wed, 3 Oct 2018 18:21:14 +0000]
head_comments(): argin#2 removed since Scilab 5.0

Change-Id: I509b3c0408eb3d49902cbf7c93578ea991b7af31

2 years agoupdate winows installer with changes about hdf5 module 32/20532/2
Antoine ELIAS [Wed, 3 Oct 2018 16:11:04 +0000]
update winows installer with changes about hdf5 module

Change-Id: Ia40ff90e659d8c3b1e8ecf76c385692850adc7ff

2 years agowindows: rename hdf5 scilab lib scihdf5 instead of hdf5 29/20529/1
Antoine ELIAS [Wed, 3 Oct 2018 13:19:20 +0000]
windows: rename hdf5 scilab lib scihdf5 instead of hdf5

Change-Id: I8662c576553786a12f285a8c36d4c5401ab1cf76

2 years ago* Bug 15579 fixed: cond([]) now returns 0 95/20095/4
Samuel GOUGEON [Fri, 1 Jun 2018 20:12:48 +0000]
* Bug 15579 fixed: cond([]) now returns 0

  http://bugzilla.scilab.org/15579

Change-Id: Icba32a1f316c6df9305e5770dec0227a75f1cb79

2 years ago* Bug 15753 fixed: issparse(sparseBooleans) returned 0 84/20484/3
Samuel GOUGEON [Sat, 1 Sep 2018 23:44:49 +0000]
* Bug 15753 fixed: issparse(sparseBooleans) returned 0

  http://bugzilla.scilab.org/15753

Change-Id: I9c2374001fdb26fd5b913a556a0f0cb8d8a05f1a

2 years ago* Bug 15736 fixed: unique([1 %i]) failed after 6027f847 77/20477/3
Samuel GOUGEON [Mon, 27 Aug 2018 09:17:08 +0000]
* Bug 15736 fixed: unique([1 %i]) failed after 6027f847

  http://bugzilla.scilab.org/15736

Change-Id: Iddb42e6656f0e1e134bc9cde47db45af11129c31

2 years ago* Bugs 7659 & 14757 fixed: error() page updated for Scilab 6 26/20526/7
Samuel GOUGEON [Sun, 30 Sep 2018 05:53:32 +0000]
* Bugs 7659 & 14757 fixed: error() page updated for Scilab 6

  http://bugzilla.scilab.org/7659
  http://bugzilla.scilab.org/14757

  error_table will be updated in another commit

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

Change-Id: Ib691e41a9a363ea818e79f57c0f9f4c415c9fbaa

2 years ago* Bug 7215 fixed: Some Matlab-Scilab equiv. were outdated (A-F) 17/20517/5
Samuel GOUGEON [Sun, 23 Sep 2018 19:17:29 +0000]
* Bug 7215 fixed: Some Matlab-Scilab equiv. were outdated (A-F)

  http://bugzilla.scilab.org/7215

Change-Id: Ide7275c79f8eabc07f9afada936a6ed090936999

2 years ago* Bug 11765 fixed: eigs() page added in Matlab equivalences 27/20527/6
Samuel GOUGEON [Sun, 30 Sep 2018 17:54:33 +0000]
* Bug 11765 fixed: eigs() page added in Matlab equivalences

  http://bugzilla.scilab.org/11765

Change-Id: I5592804dc23a64f710b47daa6a6f87f5227f984c

2 years ago* Bug #15455 fixed: OCaml build sometimes failed with Linenum being an unbound module. 81/20481/2
Clément DAVID [Wed, 29 Aug 2018 06:41:38 +0000]
* Bug #15455 fixed: OCaml build sometimes failed with Linenum being an unbound module.

On some parallel builds with recent OCaml version some mli files might generate
incomplete cmi files. This fix discard the parallel build for all OCaml code
and remove mli generation (to avoid incomplete cmi files).

Change-Id: I4f898b776120d37a08d7c493b385ff6a5eae064b

2 years ago[ui_data] reactivate bytes column in browsevar 01/20501/5
Stéphane Mottelet [Mon, 17 Sep 2018 13:14:22 +0000]
[ui_data] reactivate bytes column in browsevar

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

As the memory occupied by objects is now computed this
hidden column diserved to be visible again.

Change-Id: Idc2298dabac16572fa75e3f703d7f9dd37f24e18

2 years agoafter 1899cc3 some overload without return value failed 23/20523/3
Antoine ELIAS [Thu, 27 Sep 2018 14:13:09 +0000]
after 1899cc3 some overload without return value failed

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

NRT and CHANGES.md already commit in https://codereview.scilab.org/#/c/20502/

Change-Id: I93eae622034eed21ae6ba90b48b017f2391d6828

2 years ago[elementary_funtions] rewrite of permute() as a C++ gateway 86/20486/6
Stéphane Mottelet [Wed, 5 Sep 2018 16:29:21 +0000]
[elementary_funtions] rewrite of permute() as a C++ gateway

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

Change-Id: I7b03bfb03acbf6f984ea35a8c09e21d150cd9de4