6 months agofix deprecated msvc option /Gm 91/21291/2
Antoine ELIAS [Sat, 8 Feb 2020 12:00:43 +0000]
fix deprecated msvc option /Gm

Change-Id: I377a6a1eb4ac6ba8f0af56ee1835e93878d56f81

6 months ago* Bug 11826: localizing Xcos parameters interfaces 93/20993/20
Samuel GOUGEON [Fri, 31 May 2019 19:25:19 +0000]
* Bug 11826: localizing Xcos parameters interfaces

  http://bugzilla.scilab.org/11826

  hydraulics processed there: https://codereview.scilab.org/20883

  Apparently 52 dead or old code (exhaustive list)
  (no help page, and not in palettes except *) :
  * Branching: DEMUX_f*, MUX_f*, SCALAR2VECTOR*,
               ISELECT_f, SELECT_f, SWITCH2
  * Electrical: MOTOR
  * Events: CLKSPLIT_f, CLKSOM_f, EVTDLY_f
  * Linear: CLR_f, CLSS_f, DIFF_c, DLR_f, DLSS_f, DOLLAR*, DLSS_f*,
            GAINBLK*, GAIN_f*, INTEGRAL, REGISTER_f,
            SAMPHOLD, SAMPLEHOLD_f, SOM_f*, TCLSS_f
  * Misc: bplatform2, generic_block, generic_block2, IMPSPLIT_f,
          m_sin, scifunc_block, SPLIT_f
  * NonLinear: ABSBLK_f, EXPBLK_f, FSV_f, INTRBLK_f, INVBLK_f,
               LOOKUP_c, LOOKUP2D, SAT_f
  * Sinks: CLKOUT_f
  * Sources: CLKIN_f, CLOCK_f, CONST*, CONST_f, CURVE_c,
             GEN_SQR, Ground_g, RAND_f, STEP, tkscaleblk
             FROMWS_c = the true interface for FROMWSB

Change-Id: I3b22b3e1daa304e5f372778c73541d34ea5b99ae

6 months ago* Bugs 7562 + 15517 fixed: factorial() improved 40/19940/8
Samuel GOUGEON [Sat, 7 Apr 2018 19:12:04 +0000]
* Bugs 7562 + 15517 fixed: factorial() improved

  http://bugzilla.scilab.org/7562
  http://bugzilla.scilab.org/15517
  help page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=4702
  SEP & discussion: http://mailinglists.scilab.org/Scilab-users-SEP-factorial-extension-on-171-10-4-tp4037916.html

Change-Id: I55dbfa752f16d45705fb445092c966755e905d25

6 months agogui: remove SwingScilabDockablePanel ambiguous casts 52/21252/5
Clement David [Thu, 23 Jan 2020 22:02:40 +0000]
gui: remove SwingScilabDockablePanel ambiguous casts

This will avoid crash at runtime on ClassCastException.

Change-Id: Ia74d4eeca8fd4c295e9b38a6f9b27f357aa6ac53

6 months ago* Bug 13738: get_figure_handle() set obsolete 53/20953/6
Samuel GOUGEON [Fri, 19 Apr 2019 01:03:25 +0000]
* Bug 13738: get_figure_handle() set obsolete

  http://bugzilla.scilab.org/13738

Change-Id: I98fa12cd28e4447ca8f33f5a7132a7dcce2d41f4

6 months ago* Bug 15628 fixed: actual removal of with_tk() 96/20596/5
Samuel GOUGEON [Tue, 30 Oct 2018 23:39:49 +0000]
* Bug 15628 fixed: actual removal of with_tk()

  http://bugzilla.scilab.org/15628

  Was deprecated at https://codereview.scilab.org/20181

Change-Id: I45e867a6ed509e31fc6c0bb6a903c15852df152b

6 months ago* Bug 14897 fixed: xinfo() actual removal 33/20033/4
Samuel GOUGEON [Sun, 20 May 2018 13:36:47 +0000]
* Bug 14897 fixed: xinfo() actual removal

  http://bugzilla.scilab.org/14897

  Anticipates the merge => master of https://codereview.scilab.org/19923

Change-Id: I8e7c8ef5959098b3454ee1f4e96221706eaa9b78

6 months ago* Bugs 7948 15825 fixed: gsort() multilevel sorting 23/20723/16
Samuel GOUGEON [Mon, 29 Oct 2018 02:33:26 +0000]
* Bugs 7948 15825 fixed: gsort() multilevel sorting

  http://bugzilla.scilab.org/7948
  http://bugzilla.scilab.org/15825
  Page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5059

  The tests and examples presently call directly the overloads
  on purpose, to be independent of the gateway. They can and will be
  changed into regular gsort() calls.

  This is the first step.
  The next one, afterward and in a separate commit will be for sparses
  (see 15839 below).

  This commit is noticeably required to process the following bugs:
    - http://bugzilla.scilab.org/15839 (sorting sparse and complex sparse)
    - http://bugzilla.scilab.org/15838 (sparse complex vector: wrong k)
    - http://bugzilla.scilab.org/15280 (hypermat of complex along dim>2)
    - http://bugzilla.scilab.org/15734 (intersect() with complex numbers)
    - http://bugzilla.scilab.org/15737 (setdiff() with complex numbers)

Change-Id: I7cd88246026ce14fa730d14d5c07064d84cbf73f

6 months agolocalization: fix a build issue 89/21289/1
Clément DAVID [Fri, 7 Feb 2020 12:25:30 +0000]
localization: fix a build issue

Change-Id: I5bd8aa4c461d21f8055ba117f9c97c391e23161f

6 months ago* Bug 15360 fixed: actual denom() and numer() removal 03/19803/5
Samuel GOUGEON [Mon, 26 Feb 2018 13:29:11 +0000]
* Bug 15360 fixed: actual denom() and numer() removal

  http://bugzilla.scilab.org/15360

  Code already cleaned up at https://codereview.scilab.org/19650

Change-Id: I8c28acecc8464bf847f27cebb8e3ecbd7cdabb58

6 months ago* Bug 15821 fixed: fac3d() and fac3d1() actually removed 72/20572/4
Samuel GOUGEON [Sat, 20 Oct 2018 23:43:18 +0000]
* Bug 15821 fixed: fac3d() and fac3d1() actually removed

  http://bugzilla.scilab.org/15821

Change-Id: If7c3bc0d50274ad8f7350960c1c6f3b19600da75

6 months ago[graphics] actual removal of isoview(xmin,ymin,xmax,ymax) syntax 02/19602/5
Samuel GOUGEON [Sun, 10 Dec 2017 18:59:48 +0000]
[graphics] actual removal of isoview(xmin,ymin,xmax,ymax) syntax

  Code already cleaned up @ https://codereview.scilab.org/#/c/18166/

Change-Id: I247f9829ce2db292d76049b4cd11aff0df14b0a5

6 months ago[scicos] last ++"|' routing to %c_a() 85/20885/4
Samuel GOUGEON [Mon, 25 Feb 2019 16:34:52 +0000]
[scicos] last ++"|' routing to %c_a()

  http://mailinglists.scilab.org/Scilab-users-Small-problem-with-Scilab-6-0-1-code-generation-tp4039068p4039115.html

  This is the only remaining [+([{&~,;=|]\s*\+\s*["'] occurrence
  found in SCI

Change-Id: Ic921a488680f570c355a568956a6697173e1e563

6 months ago[console] Bookmarks: /home before /SCI 95/20895/4
Samuel GOUGEON [Sun, 3 Mar 2019 00:25:20 +0000]
[console] Bookmarks: /home before /SCI

  Access and changes of files in /home are (much) more frequent.
  => sorts case-insensitive in order to put /home before /SCI
  in the list of bookmarks (+ easier reading of the list).

  + Open File : *.xmi added

Change-Id: I4ab0434abff59f59de1fd1fae5e920c0d9c337f9

6 months agoCoverityFix-CID:1350648 Dropped or ignored exception 33/20133/2
Nimish Kapoor [Thu, 7 Jun 2018 13:19:20 +0000]
CoverityFix-CID:1350648 Dropped or ignored exception

Change-Id: I45430b323e570a6b876f6b5f437695515ecdabe0

6 months agolocalization: update and refresh 88/21288/1
Clement David [Fri, 7 Feb 2020 08:26:06 +0000]
localization: update and refresh

Change-Id: I35ddd60326ac19153f632e7a734d4690d04d39d7

6 months ago* Bug 14735 fixed: [genetic_algorithms] merged in [optimization] 91/21191/8
Samuel GOUGEON [Fri, 27 Dec 2019 22:51:00 +0000]
* Bug 14735 fixed: [genetic_algorithms] merged in [optimization]

  http://bugzilla.scilab.org/14735

Change-Id: I50d292bfd892f6def8e0756b4ac72bdc560db4a4

6 months agomissing .def in bb73c34 87/21287/1
Antoine ELIAS [Thu, 6 Feb 2020 16:45:41 +0000]
missing .def in bb73c34

Change-Id: I293a395824819ce0e2da3478ad0b34ecd893bd59

6 months agoDebugger fixed about command interruption by another one 85/21285/4
Cedric Delamarre [Thu, 6 Feb 2020 09:43:32 +0000]
Debugger fixed about command interruption by another one

    It was not possible to execute a command if an "interrupted" one
    was already running and launched by the debugger.

Change-Id: Icfd4c9da61cf4521cc4ac3a3e67f17f6160976fa

6 months ago* Bug 12837 fixed: strcmpi() actual removal 97/20597/5
Samuel GOUGEON [Wed, 31 Oct 2018 00:41:49 +0000]
* Bug 12837 fixed: strcmpi() actual removal

  http://bugzilla.scilab.org/12837

  Obsolescence set and code cleaned @ https://codereview.scilab.org/18324

Change-Id: If199eaeb304a699cbd9a2e9f2aed2dd729240ca0

6 months agodebugger abort a running execution fixed 53/21253/4
Cedric Delamarre [Fri, 24 Jan 2020 09:54:13 +0000]
debugger abort a running execution fixed

Change-Id: I046c3b455bbdf7a540ac8d83537a85cf22c03033

6 months ago[doc] xload() page overhauled 91/20991/3
Samuel GOUGEON [Thu, 30 May 2019 02:28:19 +0000]
[doc] xload() page overhauled

  Update after https://codereview.scilab.org/20125

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

  + sometimes the last loaded object was not set as the current one: fixed

Change-Id: I48bf111c7f285ca4473cc6e07cda99e54c30e64b

6 months ago* Bug 16102 fixed: lstcat() with 1:$, sin, sind.. & might be slow 96/20996/6
Samuel GOUGEON [Sat, 1 Jun 2019 06:04:29 +0000]
* Bug 16102 fixed: lstcat() with 1:$, sin, sind.. & might be slow

  http://bugzilla.scilab.org/16102

  Requires merging https://codereview.scilab.org/20995 first

  Compared speeds:
--> L =list(); L(1e6) = 1;
  Former implementation:
--> tic(); lstcat(L,L); toc()
 ans  =
   44.126577

  With this patch:
--> tic(); lstcat(L,L); toc()
 ans  =
   1.7306356

Change-Id: If60fbb73ce0237b058d90a7c5e2f08a6359743c8

6 months ago* Bug 15701 fixed: now A\B is faster when A is square and triangular 70/20970/6
Stéphane MOTTELET [Tue, 7 May 2019 15:44:14 +0000]
* Bug 15701 fixed: now A\B is faster when A is square and triangular

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

Change-Id: Ib311ac1cdd0dbc98439daa23c50231d66c29da6e

6 months ago* Bug 16053 fixed: plot(,'color',c) with abbreviated color names 31/20931/7
Samuel GOUGEON [Mon, 8 Apr 2019 16:01:19 +0000]
* Bug 16053 fixed: plot(,'color',c) with abbreviated color names

  http://bugzilla.scilab.org/16053

  REQUIRES https://codereview.scilab.org/21197 where iscolor() is upgraded

Change-Id: I5915fd939fa6673afc4a7f4990145a971e20372d

6 months ago* Bug 16159 fixed: now OSX locale detection works on Mojave 69/21069/3
Stéphane Mottelet [Mon, 19 Aug 2019 12:00:04 +0000]
* Bug 16159 fixed: now OSX locale detection works on Mojave

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

Change-Id: I0a49b134921c787f061d857f6f4d96c8fc5da915

6 months agolinux launcher: use thirdpary JVM when DEVTOOLS are available 84/21284/1
Clément DAVID [Wed, 5 Feb 2020 17:18:23 +0000]
linux launcher: use thirdpary JVM when DEVTOOLS are available

Change-Id: I1fbc6c71da073b6bbcc0958c5ff14bc36e2ef05c

6 months agolinux ./configure: use libraries from DEVTOOLS 83/21283/3
Clément DAVID [Wed, 5 Feb 2020 15:02:24 +0000]
linux ./configure: use libraries from DEVTOOLS

DEVTOOLS, aka thirdparties and prerequirements, libraries are used
during library check to discard warnings or errors from ld.so.

Change-Id: I30ca2ee90554d4fb843c8c325c9031ca842f2423

6 months agofix tcl freeze when an error occured at initialization 82/21282/3
Cedric Delamarre [Wed, 5 Feb 2020 14:05:56 +0000]
fix tcl freeze when an error occured at initialization

    to reproduce the problem: comment lines about
    TCL_LIBRARY and TK_LIBRARY in bin/scilab then
    launch scilab using ./bin/scilab-adv-cli

Change-Id: I3bcb96496217d6f12a549ece90f6a3a36f5de586

6 months agofix Windonws 32bit build 81/21281/2
Antoine ELIAS [Wed, 5 Feb 2020 08:55:58 +0000]
fix Windonws 32bit build

Change-Id: I7bfb673e0e6c0bbcb07d996d13123028d8708fce

6 months ago* Bugs 15998 + 16000 fixed [m2sci]: atan() & acoth() conversion issues 97/20897/11
Samuel GOUGEON [Sat, 9 Mar 2019 22:41:11 +0000]
* Bugs 15998 + 16000 fixed [m2sci]: atan() & acoth() conversion issues

  http://bugzilla.scilab.org/15998
  http://bugzilla.scilab.org/16000

Change-Id: I5423a8886093c1082abd6826a9b605cacd77be1d

6 months ago* Bug 15967 fixed: setdiff(a,[],..) had troubles 75/20875/7
Samuel GOUGEON [Fri, 22 Feb 2019 00:04:52 +0000]
* Bug 15967 fixed: setdiff(a,[],..) had troubles

  http://bugzilla.scilab.org/15967

  The help page is already up to date.

Change-Id: I02082fce3b68f650c6a2d18db92257f7047db0ab

6 months ago[graphics] plot(): extended colors also for markers 98/21198/3
Samuel GOUGEON [Tue, 31 Dec 2019 05:18:42 +0000]
[graphics] plot(): extended colors also for markers

  It was implemented only for curves @ https://codereview.scilab.org/19726
  but documented for both curves and markers @ https://codereview.scilab.org/19799
  The missing implementation is proposed here.

  It REQUIRES https://codereview.scilab.org/21197 where iscolor() is upgraded

Change-Id: I0fce8d00ecb3558e41a738cf7db5f48df9acc5db

6 months ago* Bug 15977 fixed: wavread() page fixed & improved 14/20914/6
Samuel GOUGEON [Fri, 29 Mar 2019 23:41:21 +0000]
* Bug 15977 fixed: wavread() page fixed & improved

  http://bugzilla.scilab.org/15977
  New version (PDF): http://bugzilla.scilab.org/attachment.cgi?id=4925

  As tested @ https://codereview.scilab.org/20888,
  wavread() currently does NOT support the µ-law
  => removed from supported list

Change-Id: Ia8350e2e994d83f60541d3af1c7c401efcb202f7

6 months ago* Bug 15534 fixed: [%t int8(-5)] was refused 52/19952/7
Samuel GOUGEON [Sat, 14 Apr 2018 18:53:05 +0000]
* Bug 15534 fixed: [%t int8(-5)] was refused

  http://bugzilla.scilab.org/15534
  SEP/Open discussion: http://mailinglists.scilab.org/Scilab-users-SEP-boolean-integer-class-concatenations-tp4037923.html

Change-Id: Id853be8c5c1c87bedb5897ce815cc6c5373932a6

6 months ago* Bug 15981 fixed [sound]: wavread() locked .wav on error, etc 88/20888/6
Samuel GOUGEON [Tue, 26 Feb 2019 19:55:44 +0000]
* Bug 15981 fixed [sound]: wavread() locked .wav on error, etc

  http://bugzilla.scilab.org/15981

  * Opened wav file was kept open and locked when returning on error.
  * The file extension and existence were poorly tested.
  * Some errors messages referred to find_cktype() instead of to the
    current macro
  * Some wav formats were claimed as invalid instead of as unsupported:
    The supported wav formats were not indicated.

  The wavread() page is overhauled when processing the bug 15977:
    with indications about supported wav formats:
    https://codereview.scilab.org/#/c/20914/

  See also the same work for auread() and auwrite():
    https://codereview.scilab.org/21031

Change-Id: Ib51ff10799654767a61dd8ff7a3fba8516747e3a

6 months ago* Bug 16095 fixed: matrix_handles.prop = [] restored 85/20985/3
Samuel GOUGEON [Sat, 25 May 2019 10:22:04 +0000]
* Bug 16095 fixed: matrix_handles.prop = [] restored

  http://bugzilla.scilab.org/16095

Change-Id: Ib17d28a9f603d94bc7f9db035c29fa36f7fb1040

6 months ago* Bug 16079 fixed: part("",$) & part("",$-1:$+2) failed 66/20966/6
Samuel GOUGEON [Fri, 3 May 2019 16:18:50 +0000]
* Bug 16079 fixed: part("",$) & part("",$-1:$+2) failed

  http://bugzilla.scilab.org/16079

Change-Id: If90eb524a2ae5eb2fbb132c67fbbab05dd531503

6 months agomissing comet images 77/21277/2
Cedric Delamarre [Mon, 3 Feb 2020 16:23:47 +0000]
missing comet images

Change-Id: I335fbf8c43723034d355fca0e506d87ba6de3e5d

6 months ago* Bug 16166 fixed: noisegen() obsolete 66/21066/4
Samuel GOUGEON [Sun, 4 Aug 2019 15:09:08 +0000]
* Bug 16166 fixed: noisegen() obsolete

  http://bugzilla.scilab.org/16166

Change-Id: I33c933253a51af9b31273ca6b00dda32f5e18f47

6 months ago* Bug 15978 fixed [sound]: wavwrite (en) page. savewave: + mclose() < errors 98/20898/5
Samuel GOUGEON [Sun, 10 Mar 2019 04:19:13 +0000]
* Bug 15978 fixed [sound]: wavwrite (en) page. savewave: + mclose() < errors

  http://bugzilla.scilab.org/15978

Change-Id: I553eb9c190dfc74dfe09613f0e6c1ac018486b6b

6 months ago* Bug 16229 fixed [doc]: 'help scilab' page improved 12/21112/8
Samuel GOUGEON [Fri, 1 Nov 2019 02:13:22 +0000]
* Bug 16229 fixed [doc]: 'help scilab' page improved

  http://bugzilla.scilab.org/16229

  New PDF en_US page: http://bugzilla.scilab.org/attachment.cgi?id=5017

Change-Id: I3df52bcc750b4f063334193b69486d050378ddff

6 months ago* Bugs 10553 16232 fixed: colorbar(): gce(), $ in colminmax 95/21195/4
Samuel GOUGEON [Sun, 29 Dec 2019 23:22:55 +0000]
* Bugs 10553 16232 fixed: colorbar(): gce(), $ in colminmax

  http://bugzilla.scilab.org/10553
  http://bugzilla.scilab.org/16232

  Page updated/fixed/improved: http://bugzilla.scilab.org/attachment.cgi?id=5040

Change-Id: I1d0f9401d280c4472ec8f126d6f6a8b8f07b6efe

6 months ago* Bug 6070 fixed [doc]: Documenting How to make multiscaled plots 21/20921/3
Samuel GOUGEON [Thu, 4 Apr 2019 23:34:14 +0000]
* Bug 6070 fixed [doc]: Documenting How to make multiscaled plots

  http://bugzilla.scilab.org/6070
  PDF version: http://bugzilla.scilab.org/attachment.cgi?id=4928

Change-Id: Ic3ae34ffa36a2b32536cfd5d896b1e908d0eea97

6 months ago* Bug 10078 fixed: isinf(polynomials) was not reliable 35/20935/5
Samuel GOUGEON [Wed, 10 Apr 2019 19:21:20 +0000]
* Bug 10078 fixed: isinf(polynomials) was not reliable

  http://bugzilla.scilab.org/10078

Change-Id: I763f0f35aa720f4c7333cfaf1024c68780de193c

6 months ago* Bug 15996 fixed [gui] restore figure "closerequestfcn" to its high priority. 72/21272/2
Antoine ELIAS [Sun, 2 Feb 2020 14:34:25 +0000]
* Bug 15996 fixed [gui] restore figure "closerequestfcn" to its high priority.

  http://bugzilla.scilab.org/15996

Change-Id: Ib57eddde3349ceea699e207914cd806d02ec9cca

6 months agoisvector.tst for rationals and lists 71/21271/2
Samuel GOUGEON [Thu, 30 Jan 2020 23:58:05 +0000]
isvector.tst for rationals and lists

Change-Id: I58bb3f3563ff804308ce8614f54b8f5ce7f894bf

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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