14 months agoconsole: Bug #14422 fixed: Scilab GUI console improved. 70/21270/9
C.L. TAN [Thu, 30 Jan 2020 15:33:44 +0000]
console: Bug #14422 fixed: Scilab GUI console improved.

    http://bugzilla.scilab.org/14422
    after clc(); mprintf("abcd"); prints " abcd" with a leading blank.

    clc(0) now just clearing its own line, and redisplay the prompt --> on the same line.

Change-Id: I125fde72a8be04063df5560bef9a4fbbed23835d

14 months agofix linux build with gcc 8.3 73/21273/4
Clément DAVID [Sun, 2 Feb 2020 20:51:15 +0000]
fix linux build with gcc 8.3

Change-Id: I84d4e9b5dfba54f045a28822560555bd93aa63d3

14 months ago* Bug 15431 fixed [doc]: empty [] better documented 26/20926/8
Samuel GOUGEON [Sat, 6 Apr 2019 07:01:02 +0000]
* Bug 15431 fixed [doc]: empty [] better documented

  http://bugzilla.scilab.org/15431
  New empty page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=4929

Change-Id: Ife267433b3f157cbcdcb58e737a358a01c8ba6f6

14 months ago[fileio] fileparts() unit tests extended 42/20942/3
Samuel GOUGEON [Sun, 14 Apr 2019 11:01:36 +0000]
[fileio] fileparts() unit tests extended

Change-Id: Iad3b484ecd8126fe2dbb9c36829cc8d065b18bea

14 months ago[doc] label_properties improved 60/20860/4
Samuel GOUGEON [Sun, 17 Feb 2019 20:45:45 +0000]
[doc] label_properties improved

 * text: formatting was not described (leading & trailing blanks,
   justification)
 * position: the position of the anchor the coordinates refer to was
             not indicated.
 * font_angle: the position of the pivot was not indicated
 * auto_position: wrong reference to .font_angle instead of .position.
 * colors: references to -1 and -2 special indices were missing.
 * LaTeX history moved to the history section
 * See also: improved list

Change-Id: I93a148013b60a6f8d41c11c52b2047533b6800f6

14 months ago* Bug 9007 fixed: sciargs() duplicated '-nw' 13/21113/3
Samuel GOUGEON [Sun, 3 Nov 2019 14:22:43 +0000]
* Bug 9007 fixed: sciargs() duplicated '-nw'

  http://bugzilla.scilab.org/9007

  Test (Linux only):
  bash> scilab -nw -nb
  // In the Scilab session:
  --> find(sciargs()=="-nw")
  // should return only one position
  --> exit

  Same thing after
  bash> scilab-adv-cli -nw -nb

Change-Id: I3d8d076d2520c9d1c91d26dc20a2524038eb373c

14 months ago[doc] sciargs() page updated & overhauled 14/21114/2
Samuel GOUGEON [Mon, 4 Nov 2019 00:41:33 +0000]
[doc] sciargs() page updated & overhauled

Change-Id: Ife45d1906cf5cd72e7e15c6ea4399d57a84064fc

14 months ago* Bug 16097 fixed: tanh() & coth() improved 88/20988/4
Samuel GOUGEON [Mon, 27 May 2019 17:54:28 +0000]
* Bug 16097 fixed: tanh() & coth() improved

  http://bugzilla.scilab.org/16097

  - coth() 2.3x faster
  - tanh & coth now accept sparses

Change-Id: I7f46e055bb754416e1d00c5a00bfad24d0273803

14 months ago* Bug 7657 fixed: lstsize() actual removal 98/19798/5
Samuel GOUGEON [Sat, 24 Feb 2018 18:28:31 +0000]
* Bug 7657 fixed: lstsize() actual removal

  http://bugzilla.scilab.org/7657

  - Code already cleaned in https://codereview.scilab.org/19508
  - scilab_macros.txt and DeprecatedChecker.cpp already OK

Change-Id: I29005269848fb5ca78fffe341c63e40c05b2b92c

14 months ago[doc] bessel page: hardly readable MML equations => LaTeX 52/20952/5
Samuel GOUGEON [Thu, 18 Apr 2019 00:59:09 +0000]
[doc] bessel page: hardly readable MML equations => LaTeX

  + alt=".." tags added for rendering as text
  + <subscript> & <superscript> used when applicable
  + (pt_BR): <scilab:image> added
  The non-localization of <scilab:image> is intentional.

Change-Id: Ia0bc8af1e0126bb4f6b8420ada0cda1485729d1c

14 months ago[m2sci] bug 979 test fixed 03/21103/4
Samuel GOUGEON [Tue, 8 Oct 2019 11:41:20 +0000]
[m2sci] bug 979 test fixed

  http://bugzilla.scilab.org/979
  http://bugzilla.scilab.org/2428

  Independently, bug_2428.tst now passes

Change-Id: I436e1de3ac9fab2540424087a5c02c0ddcc4921f

14 months ago* Bug 16215 fixed [m2sci]: mfile2sci converted ':' into mtlb(:) 04/21104/4
Samuel GOUGEON [Tue, 8 Oct 2019 23:26:16 +0000]
* Bug 16215 fixed [m2sci]: mfile2sci converted ':' into mtlb(:)

  http://bugzilla.scilab.org/16215

  Requirement: https://codereview.scilab.org/21087 must be merged first
  (to support a(3:end) in this test)

Change-Id: I3fa458f75af2c57a86a32d1b31714572cbfeecd9

14 months ago* Bug 15934 fixed [doc]: ^rectangular yields an error 54/20854/4
Samuel GOUGEON [Thu, 14 Feb 2019 21:48:14 +0000]
* Bug 15934 fixed [doc]: ^rectangular yields an error

  http://bugzilla.scilab.org/15934

Change-Id: I53db314b8ddcf936ff2b5259352806b739806f12

14 months ago* Bug 16181 fixed [m2sci]: converting a(end) yielded an error 87/21087/4
Samuel GOUGEON [Sun, 15 Sep 2019 18:34:53 +0000]
* Bug 16181 fixed [m2sci]: converting a(end) yielded an error

  http://bugzilla.scilab.org/16181

  m2sci_syntax() is called in mfile2sci() on line #148|150
  to make the m-file compilable with Scilab.
  In Scilab 6, a(end) is no longer compilable.

Change-Id: I9d354ca98d3da47faf29f9db46517055331d9547

14 months agoupdate CHANGES after 8a892c0560 69/21269/1
Adeline CARNIS [Thu, 30 Jan 2020 15:38:42 +0000]
update CHANGES after 8a892c0560

Change-Id: I221f8461262ad647902085dbe688e15cf84a23fe

14 months ago* Bugs 14015 15068 fixed: Non-regression tests added 36/20936/4
Samuel GOUGEON [Wed, 10 Apr 2019 19:52:18 +0000]
* Bugs 14015 15068 fixed: Non-regression tests added

  http://bugzilla.scilab.org/14015
  http://bugzilla.scilab.org/15068

Change-Id: Icbc555ededea67473002e8dd5b227ab594fe84df

14 months ago* Bug 11363 fixed: now show_window raises the current graphics 35/21235/2
Stéphane Mottelet [Fri, 17 Jan 2020 17:29:00 +0000]
* Bug 11363 fixed: now show_window raises the current graphics

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

Change-Id: I90482702c8d82d60daf2a13dd977684b57911d1e

14 months ago* Bug 16190 fixed: console width was fixed at 75 in nw and nwni mode 86/21086/8
Stéphane MOTTELET [Fri, 13 Sep 2019 09:47:13 +0000]
* Bug 16190 fixed: console width was fixed at 75 in nw and nwni mode

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

Change-Id: Ia214e57b8f3cae2d56c198b0537889d2b877eedc

14 months ago[matio] savematfile.tst rewritten to be extensive 37/21137/4
Samuel GOUGEON [Sun, 24 Nov 2019 21:53:26 +0000]
[matio] savematfile.tst rewritten to be extensive

Change-Id: Ib3bbe9d83b46ab0b63d982dc86d867cea4c9fd52

14 months ago* Bug 16234 fixed [special_functions]: airy() added 19/21119/11
Samuel GOUGEON [Tue, 5 Nov 2019 14:11:02 +0000]
* Bug 16234 fixed [special_functions]: airy() added

  http://bugzilla.scilab.org/16234

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

Change-Id: Ib325a40a0c12bf443dfec2cd7b118a4c8dcb9a4d

14 months ago* Bug 16155 fixed: flipdim(hypermat,dim,sb) was wrong or disabled 58/21058/8
Samuel GOUGEON [Mon, 29 Jul 2019 16:49:05 +0000]
* Bug 16155 fixed: flipdim(hypermat,dim,sb) was wrong or disabled

  http://bugzilla.scilab.org/16155

  bug_12130.tst merged in flipdim.tst

Change-Id: Id2f3e8a10e9a908956f020ecd051a0f4809a7339

14 months agoscicos adapters: fix error message 68/21268/2
Clément DAVID [Thu, 30 Jan 2020 10:25:05 +0000]
scicos adapters: fix error message

Change-Id: I690ba8448c4e851695c9b2622e03eac055d6c29e

14 months ago* Bug 16246 fixed: now isvector works for all generic types 33/21133/17
Stéphane MOTTELET [Tue, 19 Nov 2019 15:10:39 +0000]
* Bug 16246 fixed: now isvector works for all generic types

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

Change-Id: Ied0e54ebbda3233c42a349295ca5bb15d74766de

14 months agoCell and Struct transpose improved 66/21266/2
Cedric Delamarre [Wed, 29 Jan 2020 14:46:34 +0000]
Cell and Struct transpose improved

    test_run data_structures struct
    test_run data_structures struct mode_nwni_profiling

    test_run ast bug_16200
    test_run ast bug_16200 mode_nwni_profiling

Change-Id: If726cd5ff31b7b390b409ba30fc10cb0b8f5658e

14 months ago* Bug 16230 fixed: scilab --help list was incomplete 11/21111/3
Samuel GOUGEON [Thu, 31 Oct 2019 18:30:23 +0000]
* Bug 16230 fixed: scilab --help list was incomplete

  http://bugzilla.scilab.org/16230

Change-Id: I2f8fd1c352d368f8cb65cfbdb6e6fa5ac5873a57

14 months agoStruct concatenation fixed 64/21264/2
Cedric Delamarre [Wed, 29 Jan 2020 11:03:31 +0000]
Struct concatenation fixed

    test_run data_structure struct
    test_run data_structure struct mode_nwni_profiling

Change-Id: I57a51c1463890f992fccb0d1ca6682d1efa31fe5

14 months ago* Bug 15393 fixed: nicholschart() fixed & improved 19/19819/16
Samuel GOUGEON [Thu, 1 Mar 2018 07:57:58 +0000]
* Bug 15393 fixed: nicholschart() fixed & improved

  http://bugzilla.scilab.org/15393

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

  * in a new figure, nothing was plotted
  * default cyan color was too flashy => gray85
  * colors could not be specified by their names or #RRGGBB or [r g b]
  * Positions of Gain labels were somehow puzzled
  * It was not easily to access to the vectors of handles for
     both subframes and for the set of labels.

  This commit complies with iscolor() extension @ https://codereview.scilab.org/21197

Change-Id: If2631b7fd2972dade04301ddbcc9e221ca34694f

14 months agobitstring() complement 09/21009/4
Samuel GOUGEON [Sat, 15 Jun 2019 19:10:11 +0000]
bitstring() complement

  + fix CHANGES 12534 trimed by https://codereview.scilab.org/20621

Change-Id: Ifa0f8d787ddd15e7c98d77eede1973a52127f7bc

14 months ago* Bug 15309 fixed: eval() actual removal 97/19797/4
Samuel GOUGEON [Sat, 24 Feb 2018 17:48:03 +0000]
* Bug 15309 fixed: eval() actual removal

  http://bugzilla.scilab.org/15309

  Code already cleaned in https://codereview.scilab.org/19515

Change-Id: Ifa2849a4ed217c879bf316d68c5338936b2d4895

14 months ago* Bug 16292 fixed: hallchart() debugged & improved 06/21206/4
Samuel GOUGEON [Sat, 4 Jan 2020 22:19:45 +0000]
* Bug 16292 fixed: hallchart() debugged & improved

  http://bugzilla.scilab.org/16292

  hallchart page updated (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5050

Change-Id: Ifb9edde7b430df6c3b0a34d086b01666c56af41b

14 months ago[interpolation] more sober colors in meshd example 62/21262/2
Stéphane Mottelet [Tue, 28 Jan 2020 10:51:14 +0000]
[interpolation] more sober colors in meshd example

Change-Id: I5d1a9fd556d0e6e507855d68292726ea6589221e

14 months ago* Bug 16269 fixed: scalar struct was poorly displayed 50/21150/9
Samuel GOUGEON [Fri, 6 Dec 2019 21:13:54 +0000]
* Bug 16269 fixed: scalar struct was poorly displayed

  http://bugzilla.scilab.org/16269

Change-Id: I4138ecd820e7cc4d5fa3cbe2665db6359cf0a373

14 months ago* Bug 16008 fixed [doc]: uimenu_properties was not up-to-date 81/21081/3
Samuel GOUGEON [Sat, 31 Aug 2019 21:23:24 +0000]
* Bug 16008 fixed [doc]: uimenu_properties was not up-to-date

  http://bugzilla.scilab.org/16008

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

Change-Id: I460866d790c69d617dbb8f82b89d25c6fbcd99c4

14 months ago* Bug 16199 fixed [doc]: zpk2tf & zpk2ss examples failed 97/21097/5
Samuel GOUGEON [Sun, 29 Sep 2019 11:05:15 +0000]
* Bug 16199 fixed [doc]: zpk2tf & zpk2ss examples failed

  http://bugzilla.scilab.org/16199

Change-Id: Iba609f94db6553e92fa73b158c9cf67cc8ef4ce4

14 months ago* Bug 16259 fixed: * and .* with (sparse) booleans extended 39/21139/4
Samuel GOUGEON [Tue, 26 Nov 2019 19:10:28 +0000]
* Bug 16259 fixed: * and .* with (sparse) booleans extended

  http://bugzilla.scilab.org/16259

Change-Id: I609dfd9c331002c4fe65942f90e283257cfdbd55

14 months ago* Bug 15948 fixed: xyzlabel() & title() upgraded 78/20878/11
Samuel GOUGEON [Fri, 22 Feb 2019 15:05:28 +0000]
* Bug 15948 fixed: xyzlabel() & title() upgraded

 * http://bugzilla.scilab.org/15948

 * new xyzlabel() page: http://bugzilla.scilab.org/attachment.cgi?id=4902

 REQUIRES https://codereview.scilab.org/21197 (iscolor() extension)

Change-Id: I79ec38dbc31f8fadda3df439661aecc7a1d812bf

14 months ago* Bug 14501 fixed: strsubst crashed on consecutive occurrences. 60/21260/3
Antoine ELIAS [Tue, 28 Jan 2020 09:57:40 +0000]
* Bug 14501 fixed: strsubst crashed on consecutive occurrences.

  http://bugzilla.scilab.org/14501

Change-Id: I1a046721238b0f1c5684522c673c724c6f51ed83

14 months ago* Bugs 14610 15350 fixed: ric_desc() fixed & merged in riccati() 09/21209/9
Samuel GOUGEON [Wed, 8 Jan 2020 20:03:10 +0000]
* Bugs 14610 15350 fixed: ric_desc() fixed & merged in riccati()

  http://bugzilla.scilab.org/14610
  http://bugzilla.scilab.org/15350

  riccati() page updated (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5052

Change-Id: I45de428c6a32dacf7979d7f6ed6342130ba03d5c

14 months ago* Bug 16168 fixed: test_run() failed on some Linux install 68/21068/3
Samuel GOUGEON [Wed, 7 Aug 2019 10:45:55 +0000]
* Bug 16168 fixed: test_run() failed on some Linux install

  http://bugzilla.scilab.org/16168

Change-Id: Idcf5dbba828d7279116ef33bd03739c71956fa7a

14 months agokron() with hypermats: new algo 10x faster 76/21076/3
Samuel GOUGEON [Tue, 27 Aug 2019 16:44:50 +0000]
kron() with hypermats: new algo 10x faster

 test_run ast kron
 test_run elementary_functions bug_13339

a = rand(4,4);
b = rand(500,500,4);
tic()
r1 = a .*. b;
disp(toc())
tic();
r2 = newKron(a,b);
disp(toc());
disp(and(r1==r2))

--> exec('test_10464.sce', -1)
   63.77736
   5.2832192   = 12.1 x faster
  T

With
a = rand(40,40,2);
b = rand(25,25,4);
// I get
   18.998866
   1.7675572  = 10.7x faster

Change-Id: I6344b7aa0d55bbedcb0a53bfab18dfcfb9b9a80e

14 months agoUnused %s_k_hm, %hm_k_s, %hmS_k_hmS_generic removed 75/21075/6
Samuel GOUGEON [Tue, 27 Aug 2019 11:27:43 +0000]
Unused %s_k_hm, %hm_k_s, %hmS_k_hmS_generic removed

  Scilab 6 calls %s_k_s() each time that an hypermat is involved.
  %s_k_s.sci is a strict copy of the former %hmS_k_hmS_generic.sci

  [1 2] .*. rand(2,2,2)
  rand(2,2,2) .*. [1 2]
  rand(2,2,2) .*. rand(2,2,2)

Change-Id: I908b121691e50b2ca4adc1b1118ecbae34cafa62

14 months ago[ui_data] prevent spurious FileBrowser ScrollBar reset after 93c93ccf 54/21254/2
Stéphane Mottelet [Fri, 24 Jan 2020 14:57:02 +0000]
[ui_data] prevent spurious FileBrowser ScrollBar reset after 93c93ccf

Also fix missing semicolon in chdir command used by navigation arrows.

Change-Id: I1be0491c0402c8db4231217f245cc2202449621a

14 months ago[graphics] add pong demo 85/21085/5
Stéphane MOTTELET [Fri, 6 Sep 2019 08:45:49 +0000]
[graphics] add pong demo

Change-Id: I81680c56c1c7d8ab696b855f24456ed8a345beb7

14 months agoelementary_functions: fix invalid uninit error 56/21256/2
Clement David [Fri, 24 Jan 2020 13:03:14 +0000]
elementary_functions: fix invalid uninit error

On VS2017 Debug, an unititialized access is detected on iOffset. Initialize
to a safe value out of the loop workaround this error.

   test_run elementary_functions permute

Change-Id: Ie8eee0a8134cf5a56cc9cca2ce80ed3cb1072548

14 months ago* Bug 16257: obsoleting sysdiag() 81/21181/7
Samuel GOUGEON [Fri, 20 Dec 2019 22:17:30 +0000]
* Bug 16257: obsoleting sysdiag()

  http://bugzilla.scilab.org/16257

Change-Id: I30ee59a678a753dcab4f346101e742af70523640

14 months ago* Bug 16177 fixed [doc]: 1st example was KO in uicontrol page 79/21079/5
Samuel GOUGEON [Thu, 29 Aug 2019 21:12:00 +0000]
* Bug 16177 fixed [doc]: 1st example was KO in uicontrol page

  http://bugzilla.scilab.org/16177

Change-Id: I5454a67f7c675713287407098429ba3920fb54e2

14 months agofix edit macro after merge (5c7fd5f) 69/20869/7
Antoine ELIAS [Thu, 21 Feb 2019 08:05:50 +0000]
fix edit macro after merge (5c7fd5f)
CR20654 + CR20035

Troubles come from modification on both side and move on 6.0.
git lose link between files.

Change-Id: I5ee86b0ea350c4b1e69ea89b13fa806a4165b17a

14 months ago* Bug 16290: %sn() set obsolete 93/21193/5
Samuel GOUGEON [Sun, 29 Dec 2019 03:35:48 +0000]
* Bug 16290: %sn() set obsolete

  http://bugzilla.scilab.org/16290

  Requirement: https://codereview.scilab.org/21192 introduces ellipj()

Change-Id: I65cbb936479f27b805726eed7540caa254fba5d8

14 months agofixed SetUicontrolIcon after cdf83a263 55/21255/9
Cedric Delamarre [Fri, 24 Jan 2020 15:06:42 +0000]
fixed SetUicontrolIcon after cdf83a263

  https://codereview.scilab.org/#/c/21041/

  plot() crash fixed

Change-Id: Ibea7a9f9f7ce19ec7a63188f2bcb3db15012dc26

14 months ago[ast] limit occurences of argn(0)==0 to improve backward compatibility 58/21258/5
Stéphane Mottelet [Fri, 24 Jan 2020 17:23:15 +0000]
[ast] limit occurences of argn(0)==0 to improve backward compatibility

Since https://codereview.scilab.org/#/c/21034/ when a macro
was called without output arguments, the value argn(0)==0 is given
without restriction and this can break a lot of user codes checking
the number of output arguments with constructs like

if argn(0) <> 1, ..., end

instead of

if argn(0) > 1, ..., end

With this patch, argn(0)==0 is only granted when macro prototype has
no formal output argument or if varargout is the only formal output
argument.

Change-Id: Ifc235a2ac986550b41522fddbf448b6eaa02b2d3

14 months ago* Bug 16290 fixed [special_functions]: ellipj() introduced 92/21192/9
Samuel Gougeon [Sun, 29 Dec 2019 02:44:54 +0000]
* Bug 16290 fixed [special_functions]: ellipj() introduced

  http://bugzilla.scilab.org/16290

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

Change-Id: I94c56e9730ff9bd517ab63e00fd4f09fa0f5981b

14 months agoRemove colliding files on case-insensitive filesystem 84/21084/2
Clément DAVID [Wed, 4 Sep 2019 21:24:13 +0000]
Remove colliding files on case-insensitive filesystem

Change-Id: I5c56fb9d7d14a1a7b16339daf7414947d6350094

14 months ago* Bug 16178 fixed: sci2exp() failed with input macros w/o argout 80/21080/4
Samuel GOUGEON [Sat, 31 Aug 2019 12:28:48 +0000]
* Bug 16178 fixed: sci2exp() failed with input macros w/o argout

  http://bugzilla.scilab.org/16178

Change-Id: I559ba07dfd92e1c318e10836ab946d8c3aa6a3ac

14 months ago* Bugs 8418 15522 15795 fixed: unique() upgraded 18/20918/4
Samuel GOUGEON [Tue, 2 Apr 2019 18:23:47 +0000]
* Bugs 8418 15522 15795 fixed: unique() upgraded

  http://bugzilla.scilab.org/8418
  http://bugzilla.scilab.org/15522
  http://bugzilla.scilab.org/15795

  Page updated (PDF): http://bugzilla.scilab.org/attachment.cgi?id=4927

Change-Id: If6b85f3fa5fe1c5bd948868aacd3da8fc18d3408

14 months agogetPreferencesValue() Actual removal 37/21037/5
Samuel GOUGEON [Thu, 18 Jul 2019 10:36:10 +0000]
getPreferencesValue() Actual removal

  * http://bugzilla.scilab.org/15433
  * after obsolescence @ https://codereview.scilab.org/19817
  * for Scilab 6.1.(x>0) ?

Change-Id: I5f6752e7f2356997488d9e8e80b89f0cb3f44b37

14 months ago* Bug 15514 fixed [doc]: set() page overhauled 82/21082/4
Samuel GOUGEON [Tue, 3 Sep 2019 19:36:35 +0000]
* Bug 15514 fixed [doc]: set() page overhauled

  http://bugzilla.scilab.org/15414

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

Change-Id: I4994efcecb0e891277d5d6cb3301294c869a1eb8

14 months ago* Bug 16148: xmlSetValues() <= setPreferencesValue() 38/21038/4
Samuel GOUGEON [Thu, 18 Jul 2019 13:59:57 +0000]
* Bug 16148: xmlSetValues() <= setPreferencesValue()

  http://bugzilla.scilab.org/16148

Change-Id: I5610ab0b0d70b3f06ad92fdb2a68786837f80eca

14 months ago[doc] help io/OS_commands subsection created 89/21189/2
Samuel GOUGEON [Fri, 27 Dec 2019 15:38:01 +0000]
[doc] help io/OS_commands subsection created

Change-Id: I1da7dd676039f136795f5eb4680de14f58525222

14 months ago[doc] help subsection fileio/file_system created 88/21188/2
Samuel GOUGEON [Fri, 27 Dec 2019 15:17:09 +0000]
[doc] help subsection fileio/file_system created

Change-Id: I618fa571fbec9002ce87b214269b5b172964da90

14 months ago* Bug 15392 fixed: comet() comet3d() with named|#RRGGBB|[r g b] colors 11/19711/16
Samuel GOUGEON [Tue, 30 Jan 2018 23:52:26 +0000]
* Bug 15392 fixed: comet() comet3d() with named|#RRGGBB|[r g b] colors

  http://bugzilla.scilab.org/15392

  comet() updated page: http://bugzilla.scilab.org/attachment.cgi?id=5042

  Complies with iscolor() extension @ https://codereview.scilab.org/21197

Change-Id: Ifb9830a6c7946569de7355af0a204aa0b3ccc046

14 months ago[ast] fix varargout regression after c1dbf528 51/21251/2
Stéphane Mottelet [Thu, 23 Jan 2020 15:51:08 +0000]
[ast] fix varargout regression after c1dbf528

Change-Id: Ib94bd0bcd2ed583eb8e4a83026f6b8308bea74ac

14 months ago* Bug 10723 fixed [doc]: subplot() page improved 57/20957/6
Samuel GOUGEON [Fri, 19 Apr 2019 22:34:20 +0000]
* Bug 10723 fixed [doc]: subplot() page improved

  http://bugzilla.scilab.org/10723
  New page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=4942

  CHANGES:
   - Short description improved
   - Description improved as proposed in comments
   - 2nd example added, illustrating a more complex layout
   - See also: overhauled

Change-Id: I72b6ae727904d190368e6bc2c84fcd009607c5fa

14 months ago* Bug 16245 fixed: gsort() did not sort booleans 25/21125/4
Samuel GOUGEON [Sun, 10 Nov 2019 19:43:23 +0000]
* Bug 16245 fixed: gsort() did not sort booleans

  http://bugzilla.scilab.org/16245

Change-Id: I77ac8a9f376181e08b5f78c6ed0f61d5bec273ce

14 months ago* Bug 15580.b: det(sparse([],[]) fixed 38/20938/5
Samuel GOUGEON [Fri, 12 Apr 2019 00:09:59 +0000]
* Bug 15580.b: det(sparse([],[]) fixed

  http://bugzilla.scilab.org/15580

Change-Id: I71d628ed4c5954ce450adca307b8213d5fe4da98

14 months ago* Bug 16019 fixed: polarplot(1:10, rand(10,3)) yielded an error 08/20908/3
Samuel GOUGEON [Mon, 25 Mar 2019 11:54:26 +0000]
* Bug 16019 fixed: polarplot(1:10, rand(10,3)) yielded an error

  http://bugzilla.scilab.org/16019

Change-Id: I68f6143e2c75f4d6b89c5b540e6b7489892f6647

14 months ago[ast] better display of string matrices 94/21094/11
Stéphane MOTTELET [Thu, 19 Sep 2019 16:23:08 +0000]
[ast] better display of string matrices

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

example:

--> x=["Mercury","Gemini","Apollo";"Skylab ABCDEF","Skylab B","ISS"]
 x  =

  "Mercury"        "Gemini"    "Apollo"
  "Skylab ABCDEF"  "Skylab B"  "ISS"

restored natural wrapping for very long strings, which allows direct
selection in console:

--> x="";for i=1:400,x=x+string(modulo(i,10)); end

--> x
 x  =

  "123456789012345678901234567890123456789012345678901234567890123456789
012345678901234567890123456789012345678901234567890123456789012345678901
234567890123456789012345678901234567890123456789012345678901234567890123
456789012345678901234567890123456789012345678901234567890123456789012345
678901234567890123456789012345678901234567890123456789012345678901234567
8901234567890123456789012345678901234567890"

Change-Id: I0103c8e52e4476c446f28a79de217532adc06ab0

14 months ago[graphic] iscolor() extended 97/21197/4
Samuel GOUGEON [Tue, 31 Dec 2019 04:46:14 +0000]
[graphic] iscolor() extended

  Now iscolor()
   * accepts special color indices -1 and -2.
     This compels
     - to return something else than -1 for wrong color specifications.
       NaN is used.
     - to return a column of colors indices instead of a RGB matrix,
       (when inputs are colors indices), since rows #-1 and #-2
       do no exist in the colormap.
       Macros where iscolor() is used are updated accordingly.

   * accepts abbreviations of standard color names ("ma" for "magenta", etc)

Change-Id: I985e364b50bd8a4b344fad943fa70ea4e29eb217

14 months agomove input() from [io] => [console] 02/21202/2
Samuel GOUGEON [Thu, 2 Jan 2020 22:42:41 +0000]
move input() from [io] => [console]

Change-Id: I87d4c387d08cb9b4184b218061b862745f437b56

14 months ago* Bug 16149 fixed: now fullpath supports symbolic links 41/21041/25
Stéphane Mottelet [Thu, 18 Jul 2019 21:02:49 +0000]
* Bug 16149 fixed: now fullpath supports symbolic links

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

Change-Id: Id96a292f615f2c3b2771595c2c5fc124c6dd5c95

14 months agotime: fix sleep(1, "ms") stop 50/21250/5
Clement David [Wed, 22 Jan 2020 16:07:07 +0000]
time: fix sleep(1, "ms") stop

Change-Id: Idd043940df3aab77064876f6d4e5f154a45636b3

14 months ago[ast] fix bug_15886.tst after d76fdfbf 38/21238/3
Stéphane Mottelet [Mon, 20 Jan 2020 12:44:08 +0000]
[ast] fix bug_15886.tst after d76fdfbf

Change-Id: I9ad4ba89aa60c0d72deadeacb9e0fac1e646a632

14 months agodisable fflush in sci_printf only in webmode 45/21245/2
Antoine ELIAS [Wed, 22 Jan 2020 08:46:27 +0000]
disable fflush in sci_printf only in webmode

Change-Id: I74a95e595d56dce51c4fa9ed2a0a376b08c7d6d6

14 months agolinux build: fix build after ad0b7e5a 49/21249/1
Clément DAVID [Wed, 22 Jan 2020 15:49:23 +0000]
linux build: fix build after ad0b7e5a

Change-Id: Ib618e4dcbb76ea149d08854649e0d452072b3c83

14 months agolinux build: fix build after 677fcf2e 48/21248/1
Clément DAVID [Wed, 22 Jan 2020 15:15:52 +0000]
linux build: fix build after 677fcf2e

Change-Id: I9eb235bf5c664904b974671f87a723154c9b8127

14 months agoupdate Supported Compilers help page 47/21247/1
Antoine ELIAS [Wed, 22 Jan 2020 13:05:05 +0000]
update Supported Compilers help page

Change-Id: I2bd0d2c9ebbdebb015db77bffe09a592f646f5cc

14 months ago* Bug 16135 fixed: now base2dec detects invalid numbers 33/21033/3
Stéphane MOTTELET [Wed, 10 Jul 2019 20:58:45 +0000]
* Bug 16135 fixed: now base2dec detects invalid numbers

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

Change-Id: I989bf9fe2834463d95d0afda9bd62a43d8eac1c7

14 months agoadd autoscroll change in CHANGES (5595cf) 46/21246/1
Antoine ELIAS [Wed, 22 Jan 2020 09:25:50 +0000]
add autoscroll change in CHANGES (5595cf)

Change-Id: I4a1e0fc0c97477c52a80093a133177d09f3115c3

14 months ago[console] allow smart scrolling in console 73/21073/5
Stéphane MOTTELET [Mon, 26 Aug 2019 09:57:02 +0000]
[console] allow smart scrolling in console

There may be times when output is dynamically added to the console
(optimization log or such). Normally, you would like the console to
scroll to the bottom automatically as new data is added so you can see
the most recent data. However, there may also be times when you are
viewing data somewhere else in the viewport, e.g. by dragging the
scrollbar of the console, and you don’t want scrolling to happen
automatically. This is implemented in this patch.

Source coming from:
https://tips4java.wordpress.com/2013/03/03/smart-scrolling/) with no
copyright (see https://tips4java.wordpress.com/about/).

Change-Id: Id245931789922fe8268ee37c831e1175bfbe8397

14 months ago* Bug 15742 fixed: [compatibility_functions] => [m2sci/*] 16/21216/4
Samuel GOUGEON [Sun, 12 Jan 2020 04:19:38 +0000]
* Bug 15742 fixed: [compatibility_functions] => [m2sci/*]

  http://bugzilla.scilab.org/15742

Change-Id: Id67ed313ebaad69d631eacacc62b96cf0c6c7f32

14 months ago* Bug 16303 fixed: log10 now works with hypermatrix 44/21244/9
Stéphane MOTTELET [Tue, 21 Jan 2020 13:07:42 +0000]
* Bug 16303 fixed: log10 now works with  hypermatrix

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

Change-Id: Id49265534e7351d85f09bb646e663d80f092b15d

14 months ago[time] calendar() uses argn(1)==0 instead of 'display' 42/21242/4
Samuel GOUGEON [Tue, 21 Jan 2020 12:03:40 +0000]
[time] calendar() uses argn(1)==0 instead of 'display'

  Since since a few days we can use argn(1)==0,
  we can avoid introducing 'display' option.

  Strangely, for me the unit test now fails on Windows with a code 1 exit.

Change-Id: Ib9d49b063c06a46a890c30d04268b2605686cb47

14 months ago* Bug 15374 fixed: now trivial infinite loop can be interrupted 79/20979/10
Stéphane MOTTELET [Thu, 16 May 2019 17:09:12 +0000]
* Bug 15374 fixed: now trivial infinite loop  can be interrupted

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

Change-Id: I29f265bb156d0f956bc5ef1837b0419bd4119eb4

14 months agoctrl-c to break execution fixed 41/21241/2
Cedric Delamarre [Tue, 21 Jan 2020 11:37:44 +0000]
ctrl-c to break execution fixed

    for i = 1:1d7,1+1;end   // the ctrl-c to stop the loop
    interactive test bug_1917

Change-Id: Iaf3befafc0116b835cb515f6243b6f26329b10b5

14 months ago* Bug 16273 fixed: calendar() formated display added 83/21183/6
Samuel GOUGEON [Sat, 21 Dec 2019 15:32:15 +0000]
* Bug 16273 fixed: calendar() formated display added

  http://bugzilla.scilab.org/16273

  help page updated (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5036

Change-Id: Ic76e4bba99fb26d0ed380db22263b8bb099534ec

14 months ago* Bug 16143 fixed: clc(n) cleared n+1 lines instead of n>0 66/21166/10
Chin Luh Tan [Thu, 12 Dec 2019 22:56:48 +0000]
* Bug 16143 fixed: clc(n) cleared n+1 lines instead of n>0
* Bug 14642 fized: no more "\r" carriage return with printf

  http://bugzilla.scilab.org/16143
  http://bugzilla.scilab.org/14642

  Test 1:
  // Test 1
  mode(0)
  mode(0)
  mode(0)
  clc(1)
should leave
--> // Test 1
--> mode(0)
--> mode(0)
-->

  Test 2:
  // Test 2
  printf("\ntoto, \r titi");
should leave
--> // Test 2
--> printf("\ntoto, \r titi");

 titi

Change-Id: I732698f754c07f94efb5a48c3130f7e53e5e8e71

14 months ago* Bug 15969 fixed: typo in bug_13962.tst 68/20868/5
Samuel GOUGEON [Thu, 21 Feb 2019 01:59:14 +0000]
* Bug 15969 fixed: typo in bug_13962.tst

  http://bugzilla.scilab.org/15969

Change-Id: Ibb582cad331fb1237bc89118a192c6614032fa40

14 months agoupdate test bug_15638 39/21239/2
Adeline CARNIS [Mon, 20 Jan 2020 13:58:52 +0000]
update test bug_15638

Change-Id: Ie1270fe084470d12b5ef450690def7ef898afd4b

14 months ago* Bug 7967 fixed [doc]: size(meshgrid(..)) better documented 15/21215/7
Samuel GOUGEON [Sat, 11 Jan 2020 22:00:33 +0000]
* Bug 7967 fixed [doc]: size(meshgrid(..)) better documented

  http://bugzilla.scilab.org/7967

  meshgrid() page overhauled (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5053

Change-Id: I95a373418557ca36bb22fcadad4797228eb88318

14 months agodynamic_link: manage VS2017 and VS2019 14/20714/5
Antoine ELIAS [Sat, 19 Jan 2019 19:24:22 +0000]
dynamic_link: manage VS2017 and VS2019

Change-Id: Ic9bfe6c6bd480b58d83d784d9ccd306a50d2d6df

14 months ago[ast] update sparse extraction after 55ed9848 37/21237/5
Stéphane Mottelet [Mon, 20 Jan 2020 11:05:07 +0000]
[ast] update sparse extraction after 55ed9848

--> test_run ast sparse
   TMPDIR = /tmp/SCI_TMP_44818_TfHLNe

   001/001 - [ast] sparse.......................................passed

   --------------------------------------------------------------------------
   Summary

   tests              1 - 100 %
   passed             1 - 100 %
   failed             0 -   0 %
   skipped            0
   length             0.66 sec
   --------------------------------------------------------------------------
 ans  =

  T

--> test_run sparse
   TMPDIR = /tmp/SCI_TMP_10302_vHFecU

 Module  001/001 - [sparse] :

   001/053 - [sparse] adj2sp....................................passed
   002/053 - [sparse] conjgrad..................................passed
   003/053 - [sparse] conjgrad_function.........................passed
   004/053 - [sparse] conjgrad_list.............................passed
   005/053 - [sparse] conjgrad_numerical........................passed
   006/053 - [sparse] conjgrad_sparse...........................passed
   007/053 - [sparse] lsparse...................................passed
   008/053 - [sparse] nnz.......................................passed
   009/053 - [sparse] ordmmd....................................passed
   010/053 - [sparse] qmr.......................................passed
   011/053 - [sparse] sp2adj....................................passed
   012/053 - [sparse] sparse....................................passed
   013/053 - [sparse] sparse-extract............................passed
   014/053 - [sparse] sparse-insert.............................passed
   015/053 - [sparse] sparseBool................................passed
   016/053 - [sparse] spisp.....................................passed
   017/053 - [sparse] sprand....................................passed
   018/053 - [sparse] spzeros...................................passed
   019/053 - [sparse] bug_10126.................................passed
   020/053 - [sparse] bug_10271.................................passed
   021/053 - [sparse] bug_11612.................................passed
   022/053 - [sparse] bug_11618.................................passed
   023/053 - [sparse] bug_13838.................................passed
   024/053 - [sparse] bug_14271.................................passed
   025/053 - [sparse] bug_14330.................................passed
   026/053 - [sparse] bug_15246.................................passed
   027/053 - [sparse] bug_15647.................................passed
   028/053 - [sparse] bug_15648.................................passed
   029/053 - [sparse] bug_15750.................................passed
   030/053 - [sparse] bug_15753.................................passed
   031/053 - [sparse] bug_15758.................................passed
   032/053 - [sparse] bug_16007.................................passed
   033/053 - [sparse] bug_16260.................................passed
   034/053 - [sparse] bug_16272.................................passed
   035/053 - [sparse] bug_2003..................................passed
   036/053 - [sparse] bug_2277..................................passed
   037/053 - [sparse] bug_2430..................................passed
   038/053 - [sparse] bug_3006..................................passed
   039/053 - [sparse] bug_3025..................................passed
   040/053 - [sparse] bug_3263..................................passed
   041/053 - [sparse] bug_4654..................................passed
   042/053 - [sparse] bug_4783..................................passed
   043/053 - [sparse] bug_490...................................passed
   044/053 - [sparse] bug_6401..................................passed
   045/053 - [sparse] bug_6412..................................passed
   046/053 - [sparse] bug_6427..................................passed
   047/053 - [sparse] bug_6827..................................passed
   048/053 - [sparse] bug_7675..................................passed
   049/053 - [sparse] bug_8511..................................passed
   050/053 - [sparse] bug_8938..................................passed
   051/053 - [sparse] bug_9161..................................passed
   052/053 - [sparse] bug_9780..................................passed
   053/053 - [sparse] bug_9999..................................passed

   --------------------------------------------------------------------------
   Summary

   tests             53 - 100 %
   passed            53 - 100 %
   failed             0 -   0 %
   skipped            0
   length             41.33 sec
   --------------------------------------------------------------------------
 ans  =

  T

Change-Id: I43fdee90474ec78fdf89df039d20f9f8a9ee6058

14 months agoupdate pre-commit hook for Scinotes indentation on Windows 40/21240/2
Antoine ELIAS [Mon, 20 Jan 2020 14:02:32 +0000]
update pre-commit hook for Scinotes indentation on Windows

Change-Id: I3e7603a0a148333aa2fc53fc3e0f758b6aefd561

14 months ago* Bugs 16011 16299 fixed: colorbar() failed after plot3d2() & graypolarplot() 06/20906/4
Samuel GOUGEON [Sat, 23 Mar 2019 14:49:49 +0000]
* Bugs 16011 16299 fixed: colorbar() failed after plot3d2() & graypolarplot()

  http://bugzilla.scilab.org/16011
  http://bugzilla.scilab.org/16299

Change-Id: I713183aaf5808eb600b87bccae4569c1f95aa2a4

14 months agoupdate splashscreen to 6.1.0 65/20865/4
Antoine ELIAS [Tue, 19 Feb 2019 13:07:53 +0000]
update splashscreen to 6.1.0

Change-Id: I3c132c6dbd0976430f224eb930740d75baf8c53f

14 months ago[ast] memory leak fixed on ImplicitList and Cell 33/21233/3
Cedric Delamarre [Fri, 17 Jan 2020 16:12:47 +0000]
[ast] memory leak fixed on ImplicitList and Cell

  test_run ast bug_16089 mode_nwni_profiling
  test_run ast bug_16200 mode_nwni_profiling

Change-Id: Iecffea0e7d4b43101acdd2d51e328754d3f30857

14 months ago* Bug 16197 fixed: decomplexify result of extraction when applicable 90/21090/6
Stéphane MOTTELET [Wed, 18 Sep 2019 13:21:08 +0000]
* Bug 16197 fixed: decomplexify result of extraction when applicable

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

If after extraction imaginary parts of result are all zero then result
is decomplexified. The patch does not interfer with other features like

--> x=complex(zeros(3,1)) // no extraction here
 x  =

   0.
   0.
   0.

--> isreal(x)
 ans  =

  F

but it allows the intuive behaviors below:

--> p=poly([1 1 1 1],"x","coeff"); r=roots(p)
 r  =

   1.i
  -1.i
  -1.

--> isreal(r(3))
 ans  =

  T

Change-Id: Ieed42028fbe36540a549f6f3d3dd7325c370a210

14 months ago* Bug 16160 fixed: ppol changed values of third input variable 70/21070/5
Stéphane MOTTELET [Tue, 20 Aug 2019 07:41:33 +0000]
* Bug 16160 fixed: ppol changed values of third input variable

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

Change-Id: Idd4443a5d3b711c4f98072123e892358dbbfb2b9

14 months ago* Bug 14746 fixed: display of tiny numbers is repaired 91/21091/2
Stéphane MOTTELET [Wed, 18 Sep 2019 14:21:11 +0000]
* Bug 14746 fixed: display of tiny numbers is repaired

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

Change-Id: I5b65fc8401509505e6146308fda991ef7127746b

15 months ago* Bug #16051 fixed: now undefined list elements are of Void type 60/20960/11
Stéphane MOTTELET [Thu, 25 Apr 2019 12:06:10 +0000]
* Bug #16051 fixed: now undefined list elements are of Void type

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

Change-Id: I19016c7544f4b3bd0c748a27b736fb86eda0a419

15 months agolinux build: include importgui as a fileio Scilab lib 34/21234/2
Clément DAVID [Fri, 17 Jan 2020 16:17:57 +0000]
linux build: include importgui as a fileio Scilab lib

Change-Id: Ie0a0f482cf235c815e9efc72f2606c328da1b46d

15 months ago[ast] dotdivide and subtraction test fixed 32/21232/3
Cedric Delamarre [Fri, 17 Jan 2020 14:15:40 +0000]
[ast] dotdivide and subtraction test fixed

  test_run ast dotdivide
  test_run ast subtraction

Change-Id: I0fcf6780ed1097b1fffff1a978970ff5db9c54a7