5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 months agofix performance regression after 4466c36 31/21231/2
Cedric Delamarre [Fri, 17 Jan 2020 09:58:22 +0000]
fix performance regression after 4466c36

    test_run ast bug_16263
    tic();d(1:50000)=%s;toc()
    r = [0 %i 1/%s] +1  // doesn't crash scilab

Change-Id: Ie5e6f572274a12256d92618936dbf9954536946c

5 months agoast: undefined %foo_clear() silently pass 87/21187/3
Clement David [Mon, 23 Dec 2019 10:29:06 +0000]
ast: undefined %foo_clear() silently pass

After %foo_clear() introduction on 6ee5c6ff, some tests start failing as
they are using mlist without defining the clear operation. This make
them pass again by avoiding the error report when the overloading is
undefined.

Change-Id: Ia586b4118f4ad1d81c186e88a3eb18ed4ff1d99e

5 months ago* Bug 7765: champ1() is declared obsolete 13/21213/3
Samuel GOUGEON [Fri, 10 Jan 2020 22:34:37 +0000]
* Bug 7765: champ1() is declared obsolete

  http://bugzilla.scilab.org/7765

Change-Id: Ia5d433e0fa84a7e4330616ee0c25c1a9569b2123

5 months agoui_data: make editvar() copy-paste of strings work 19/21219/3
Clement David [Tue, 14 Jan 2020 14:16:31 +0000]
ui_data: make editvar() copy-paste of strings work

Change-Id: I7de3ba5bcbab0c902397157bb981802cae814ae3

5 months agowindows: force codepage to 65001 to show superscript characters 43/21143/5
Antoine ELIAS [Thu, 28 Nov 2019 23:35:17 +0000]
windows: force codepage to 65001 to show superscript characters

Change-Id: I6243bd5c7631f227929489404623d5f04d37872a

5 months agoload: fix loading macros .bin files 80/21180/3
Clement David [Fri, 20 Dec 2019 09:52:51 +0000]
load: fix loading macros .bin files

Change-Id: I81ddfa02c49b9cd07508d09211a6bd3c641fd4c5

5 months agoxcos: load zcos files containing blocks with data matrices 64/21164/3
Clement David [Thu, 12 Dec 2019 10:21:23 +0000]
xcos: load zcos files containing blocks with data matrices

Change-Id: Ib4a95d11824dba6a9114a0e5ad37b1c6ae93c422

5 months agoapi_scilab: workaround Coverity false positive 06/21106/3
Clement David [Mon, 21 Oct 2019 10:40:13 +0000]
api_scilab: workaround Coverity false positive

See Coverity #1350356 #1350357 #1350358 #1350359

Change-Id: Ie52556190267405b8064f35cc14307a407e32b9d

5 months ago[overloading] fix rational display after 59c15042 30/21230/2
Stéphane Mottelet [Thu, 16 Jan 2020 16:06:26 +0000]
[overloading] fix rational display after 59c15042

Change-Id: If198d83646694f3ea49b995f85ccae08952acc4c

5 months agoAST: fix some compilation warnings 43/21043/3
Clément DAVID [Mon, 3 Sep 2018 07:42:00 +0000]
AST: fix some compilation warnings

Change-Id: Ie6002555c382327a3a6e92ea294a82fb2ca1d9fe

5 months ago* Bug 16293 fixed: demos in console need starting messagebox 04/21204/4
Samuel GOUGEON [Fri, 3 Jan 2020 00:43:31 +0000]
* Bug 16293 fixed: demos in console need starting messagebox

  http://bugzilla.scilab.org/16293

  mode(7) deprecated is replaced with the more compact mode(4)
  instead of mode(6), to avoid extra white lines between comments.

Change-Id: I03a41f44cd6603e518d2a27dea3103d9a7af88e1

5 months agotests: remove getmemory() usage on tests 21/21021/3
Clément DAVID [Tue, 25 Jun 2019 12:48:32 +0000]
tests: remove getmemory() usage on tests

To check memory leaks, we should use whole program memory analysis tools
such as VLD (on Windows), ASAN (on Linux/macOS) or Valgrind (on Linux/macOS).

Using `test_run(.., .., "mode_nwni_profiling")` will track the memory
on the selected tests without having gross estimate within them.

Change-Id: Ib05b7dbf028fdb13e0a580bb30573b0cf8990efc

5 months agoDemos Graphics/complexFuns: Scaling + mesh visibility improved 05/21205/3
Samuel GOUGEON [Fri, 3 Jan 2020 01:27:07 +0000]
Demos Graphics/complexFuns: Scaling + mesh visibility improved

Change-Id: Ie974d127ca0ad17435d60e01a026dd0373e44400

5 months agomissing ';' in TCL_Command.c 29/21229/1
Antoine ELIAS [Thu, 16 Jan 2020 15:38:45 +0000]
missing ';' in TCL_Command.c

Change-Id: I547e3c6a8c8a020b1ddc263579601c953afcf1bc

5 months agoXcos: fix export all layers of a diagram 68/20968/3
Clément DAVID [Mon, 6 May 2019 07:25:32 +0000]
Xcos: fix export all layers of a diagram

Change-Id: Ibc6fe97683d72b2cea7aa6fc06cdfc5e353c6377

5 months agoXcos: add "shift ENTER" as Context validator 39/20939/2
Clement DAVID [Fri, 12 Apr 2019 09:53:10 +0000]
Xcos: add "shift ENTER" as Context validator

Change-Id: I8da82f6c955ce32830b6b5faf15985a71967fea7

5 months agoScicos blocks: speedup benchmarks/sciblk4.tst by 2 24/20924/2
Clément DAVID [Fri, 5 Apr 2019 07:09:45 +0000]
Scicos blocks: speedup benchmarks/sciblk4.tst by 2

Change-Id: Ia59744025515368563312ab4e25ba9edca1b7458

5 months agotoolbox_skeleton: fix isdir() typo on loaders 96/20896/2
Clément DAVID [Wed, 6 Mar 2019 13:59:56 +0000]
toolbox_skeleton: fix isdir() typo on loaders

Change-Id: Ib371c3d3188b95255c4640433714bee0000e24c1

5 months agoNewsfeed: use a custom HTTP User-Agent 64/20864/3
Clément DAVID [Mon, 18 Feb 2019 16:40:36 +0000]
Newsfeed: use a custom HTTP User-Agent

Change-Id: I1316680c33b2e6ef287c9e2fd3638bb75a826b3f