13 months agoXcos test: fix blocks_link.tst 62/20562/2
Clement DAVID [Thu, 11 Oct 2018 07:37:07 +0000]
Xcos test: fix blocks_link.tst

Change-Id: I545ffce896cf553de08ee0e1e51b61c82784d547

13 months agoXcos tests: fix most of them and regen dia.ref 63/20563/2
Clement DAVID [Mon, 15 Oct 2018 09:37:45 +0000]
Xcos tests: fix most of them and regen dia.ref

Change-Id: Ifb22bda9ebe06e5b79fc05715e9ab709ddcbb1b6

13 months agoGraphics: fix compilation warnings 01/19001/3
Clément DAVID [Mon, 30 Jan 2017 09:33:43 +0000]
Graphics: fix compilation warnings

Change-Id: Id5e0a3459f2971d1517a76de0433f449c15717bb

13 months agotests: regenerate some dia.ref 02/20702/1
Clément DAVID [Wed, 16 Jan 2019 10:33:26 +0000]
tests: regenerate some dia.ref

Change-Id: I9f2b051d3cafd1240f5d7b85ac8ade48685b1152

13 months agohelp: fix minor typos and warnings on Scilab code colorization 28/20028/4
Clément DAVID [Wed, 16 May 2018 15:46:15 +0000]
help: fix minor typos and warnings on Scilab code colorization

Change-Id: Ib0821c2968f4d3af2c9572c0d1173f2c4b262154

13 months agoFix bug #14373: the `xcosAddToolsMenu` callback did not work anymore 27/20627/3
Clement DAVID [Fri, 26 Oct 2018 15:44:35 +0000]
Fix bug #14373: the `xcosAddToolsMenu` callback did not work anymore

Change-Id: Ie5a71288b7449e9504fb8b3d5190e23b6d363773

13 months ago* Bugs 15638 15805 15806 fixed: colorbar() improved 49/20549/8
Samuel GOUGEON [Sat, 13 Oct 2018 23:34:31 +0000]
* Bugs 15638 15805 15806 fixed: colorbar() improved

  http://bugzilla.scilab.org/15638 : unequal color spans
  http://bugzilla.scilab.org/15805 : bad tickings
  http://bugzilla.scilab.org/15806 : syntaxes with defaults umin, umax..

  Illustration: http://bugzilla.scilab.org/attachment.cgi?id=4817

  colorbar() help page to be updated & overhauled: will be done when
  processing http://bugzilla.scilab.org/4808

Other tests about colorbar() are OK:
test_run graphics bug_1126 show_error
test_run graphics bug_13733 show_error
test_run graphics bug_14711 show_error
test_run graphics bug_3184 show_error
test_run graphics bug_4658 show_error

  This commit may be split if it is preferable.

Change-Id: I88cd8dd2d4b9756549e396e58935b1f08e7f7290

13 months ago* Bug 15876 fixed: now struct and cells are reported native in browsevar 22/20622/6
Stéphane Mottelet [Fri, 16 Nov 2018 17:56:46 +0000]
* Bug 15876 fixed: now struct and cells are reported native in browsevar

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

Also repairs the display of macros and simplifies the terminology, i.e.
only "User function" are reported.

Screenshot:

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

Change-Id: I2c48a185cd9fdda706e11cce30758915a83e4eed

13 months ago* Bug 15799 fixed: ifftshift() could not invert fftshift(x,dir) 73/20573/5
Samuel GOUGEON [Sun, 21 Oct 2018 20:46:47 +0000]
* Bug 15799 fixed: ifftshift() could not invert fftshift(x,dir)

  http://bugzilla.scilab.org/15799

Change-Id: I05e077c4a0c88d8276c325dca52c6e810ca6b2bb

13 months ago* Bug 15886 fixed: display of polynomials repaired 45/20645/6
Stéphane Mottelet [Wed, 28 Nov 2018 16:51:54 +0000]
* Bug 15886 fixed: display of polynomials repaired

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

also fixes regression on implicit polynomial display

Change-Id: I0a980e3cb49e0de9519aa72b78ad9af2dc09a875

13 months ago* Bug 15032 fixed: regression of structure fields display fixed 48/20648/11
Stéphane Mottelet [Fri, 30 Nov 2018 08:39:22 +0000]
* Bug 15032 fixed: regression of structure fields display fixed

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

Change-Id: Ieb4c1b1f50765aa05c4004c24b2a2c30171ead1d

13 months ago* Bug 15813 fixed: polarplot datatips shew cartesian coordinates 68/20568/6
Samuel GOUGEON [Fri, 19 Oct 2018 21:10:59 +0000]
* Bug 15813 fixed: polarplot datatips shew cartesian coordinates

  http://bugzilla.scilab.org/15813

  Test:
  clf
  polarplot()
  datatipManagerMode on
  // Click on a curve to add a datatip
  // Check that the label shows R (as generic radial coordinates)
  // and theta

Change-Id: I90eb477ce20e7bcbf79cee78307b7aa80fbaaefa

13 months agoUpdate for 2019 01/20701/2
Clément DAVID [Tue, 15 Jan 2019 17:11:53 +0000]
Update for 2019

Change-Id: I3449f525374296c8f4425ce9dfa6467d6e856a85

13 months ago* Bug 15907 fixed: filter was corrupting its input state array 68/20668/3
Stéphane Mottelet [Wed, 19 Dec 2018 09:21:20 +0000]
* Bug 15907 fixed: filter was corrupting its input state array

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

Change-Id: I572cd3cf01a7f8e49829cdb583a4cdb9e8e5d244

13 months ago* Bugs 15878/880 fixed: evans & sgrid were broken 23/20623/5
Samuel GOUGEON [Mon, 19 Nov 2018 02:20:58 +0000]
* Bugs 15878/880 fixed: evans & sgrid were broken

  http://bugzilla.scilab.org/15878
  http://bugzilla.scilab.org/15880

Change-Id: I429465140932b115b8d0f7d7da31fb897c1e2272

13 months ago* Bug 15512 fixed: now abort in script does not prevent mode restore 78/20678/8
Stéphane Mottelet [Mon, 7 Jan 2019 15:57:11 +0000]
* Bug 15512 fixed: now abort in script does not prevent mode restore

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

Change-Id: Iaf89f7fda1cb32de9a6a4c2d1c7c0d57b10269ba

13 months ago* Bug 15920 fixed: now genlib always regenerates missing .bin 74/20674/2
Stéphane Mottelet [Thu, 3 Jan 2019 11:30:04 +0000]
* Bug 15920 fixed: now genlib always regenerates missing .bin

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

Change-Id: I808f5d5b10d0151a438497fcd8cb34015c811da0

13 months ago* Bug 15808 fixed: [5i] was parsed as [5,i] 57/20657/4
Stéphane Mottelet [Fri, 14 Dec 2018 18:03:46 +0000]
* Bug 15808 fixed: [5i] was parsed as [5,i]

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

Change-Id: Ida04f76088cc21c43339b5ebee015939d72a12ce

13 months ago* Bug 15600 fixed: savematfile(File) was unstable and stiff 14/20514/14
Samuel GOUGEON [Sat, 22 Sep 2018 14:46:27 +0000]
* Bug 15600 fixed: savematfile(File) was unstable and stiff

  http://bugzilla.scilab.org/15600

  Merging first https://codereview.scilab.org/20476 is required.

  - savematfile(File) considered and tried to save all current variables
    (including Scilab macros etc) instead of only user ones.
  - Variables with unsupported types yielded an error and broke the
    whole saving, instead of being filtered out before saving.
  - When an error occurred, the file was not closed and stayed locked.
  - When no input variable was actually saved, the output file was
    created anyway.
  - Variables named flag, head, ij, it, it1, mn, v, vars, x, x1, M, O,
    P, T, or MOPT were corrupted by internal values before being saved.
  - In -v4, encoded integers could not be saved.
  - In -v4, an error message refered to the ASCII output file instead of
    a binary one.
  - In -v4, saving some hypermatrices corrupted the reloading of next
    stored variables.
  - In ASCII: UTF-8 output File pathname was not accepted.
  - Code factorized and cleaned

Change-Id: I7382ad748600c29b65f1788157c670af0f280541

13 months ago* Bug 15728 fixed: evstr(s) was wrong for s='k' 'tmp' 'vals'.. 76/20476/6
Samuel GOUGEON [Sun, 26 Aug 2018 07:08:48 +0000]
* Bug 15728 fixed: evstr(s) was wrong for s='k' 'tmp' 'vals'..

  http://bugzilla.scilab.org/15728

Change-Id: I9169f1eaa588ab7a53d9949f0a9fc86368297eca

13 months ago* Bug 14122 fixed: tmp_<date> dir in SCI/.atoms => TMPDIR 39/20639/3
Samuel GOUGEON [Mon, 26 Nov 2018 00:35:13 +0000]
* Bug 14122 fixed: tmp_<date> dir in SCI/.atoms => TMPDIR

  http://bugzilla.scilab.org/14122

Change-Id: Ie584520d36a7c47873cdb1da1fe5ae356bff750c

13 months ago* Bug 15890 fixed: +[] warning from evstr() 46/20646/3
Samuel GOUGEON [Wed, 28 Nov 2018 22:50:22 +0000]
* Bug 15890 fixed: +[] warning from evstr()

  http://bugzilla.scilab.org/15890

Change-Id: I3e26d32af0e6189dce48cbf62c38017d443b4087

13 months ago[slint] DeprecatedChecker list updated 52/20652/3
Samuel GOUGEON [Sat, 8 Dec 2018 00:39:44 +0000]
[slint] DeprecatedChecker list updated

Change-Id: I545bbe2ced874c6add39f0d6b671694ec6a45963

13 months ago* Bugs 7919 12835 13231 14388 fixed: NR tests added 95/20595/4
Samuel GOUGEON [Tue, 30 Oct 2018 20:54:31 +0000]
* Bugs 7919 12835 13231 14388 fixed: NR tests added

  http://bugzilla.scilab.org/7919  (CHANGED in 5.3)
  http://bugzilla.scilab.org/12835
  http://bugzilla.scilab.org/13231
  http://bugzilla.scilab.org/14388

Change-Id: I3d149cd5e13716e4bee8d39a1cb3701acc6ea29f

13 months ago* Bug #15850 fixed: now unary plus calls overload for non supported types 49/20649/9
Stéphane Mottelet [Mon, 3 Dec 2018 11:28:26 +0000]
* Bug #15850 fixed: now unary plus calls overload for non supported types

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

Change-Id: I9974ed4e6ff75e30ec5eee6322de85b3dd558b3f

13 months ago[doc] move mode() page /scilab => /console 98/20598/2
Samuel GOUGEON [Wed, 31 Oct 2018 09:03:13 +0000]
[doc] move mode() page  /scilab => /console

Change-Id: Ie93eac0630f7f6ddb9631a5c5bcdc9bdc8ad15f7

13 months ago* Bug 15776 fixed: assert_checktrue/false with sparse boolean 12/20512/5
Samuel GOUGEON [Fri, 21 Sep 2018 21:43:51 +0000]
* Bug 15776 fixed: assert_checktrue/false with sparse boolean

  http://bugzilla.scilab.org/15776

  There are no other occurrences of the modified error messages
  in the whole Scilab.

Change-Id: I9adf43790350d9230e01ee4c81a51b6678bbcbf3

13 months agogsort() crashed after 461b6ab7 37/20637/4
Samuel GOUGEON [Sat, 24 Nov 2018 14:05:53 +0000]
gsort() crashed after 461b6ab7

  as initially proposed @ https://codereview.scilab.org/20589

Change-Id: Ia95c4ab4b659fd7cea0a955f22ba8629de03774f

13 months ago[doc] console page overhauled 59/20659/6
Samuel GOUGEON [Sun, 16 Dec 2018 04:51:39 +0000]
[doc] console page overhauled

  PDF: https://codereview.scilab.org/cat/20659%2C1%2Cscilab/modules/console/help/console.pdf%5E0

Change-Id: I41c30da8ff3627cb0c1a978f794c629d88d836e9

13 months ago* Bug 10668 fixed: bloc2ss() page was inaccurate 95/19895/6
Samuel GOUGEON [Sat, 17 Mar 2018 07:23:43 +0000]
* Bug 10668 fixed: bloc2ss() page was inaccurate

  http://bugzilla.scilab.org/10668

Change-Id: I88bd34836572dc5114c0de8bbe33338d458f774f

13 months ago* Bug 2247 fixed [doc]: axes_properties page updated/improved 73/20673/4
Samuel GOUGEON [Sun, 23 Dec 2018 17:55:22 +0000]
* Bug 2247 fixed [doc]: axes_properties page updated/improved

  http://bugzilla.scilab.org/2247

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

Change-Id: If847ea95131784a9dcaac976ae082059096229b8

13 months ago[doc] misc. small fix and improvements 33/20633/20
Samuel GOUGEON [Fri, 23 Nov 2018 20:53:23 +0000]
[doc] misc. small fix and improvements

  * rand : http://bugzilla.scilab.org/10484
  * odedc: http://bugzilla.scilab.org/11273

Change-Id: Ib6edaa5ffce7225310feadefeaa1ea40e0b19f0d

13 months ago[doc] clean() page improved / updated 86/20586/8
Samuel GOUGEON [Sat, 27 Oct 2018 00:41:06 +0000]
[doc] clean() page improved / updated

  Please merge https://codereview.scilab.org/20204 first.

Change-Id: I8a7bd116476ae355aadd8c5082f16a65fe1fdc07

13 months ago* Bug 4953 fixed: now clean() works when the argument contains %inf 04/20204/12
Stéphane Mottelet [Thu, 28 Jun 2018 13:21:17 +0000]
* Bug 4953 fixed: now clean() works when the argument contains %inf

http://bugzilla.scilab.org/4953

Change-Id: I36f6dce1e0f81b5eb590c7b61c9d787128e7ff98

13 months ago[doc] plot() updated images: complement to 52e864 35/20635/4
Samuel GOUGEON [Sat, 24 Nov 2018 03:56:25 +0000]
[doc] plot() updated images: complement to 52e864

  New images forgotten in https://codereview.scilab.org/20470

Change-Id: I9ac113e0f2ffd6b91a4fbcdd3d2ca2ea364fc66e

13 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

13 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

13 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

14 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

14 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

14 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

14 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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

15 months 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

16 months 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

16 months 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

16 months 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

16 months 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