18 months ago* Bug 11888 fixed [doc]: struct() page overhauled for struct arrays 60/21660/3
Samuel GOUGEON [Mon, 28 Dec 2020 00:46:54 +0000]
* Bug 11888 fixed [doc]: struct() page overhauled for struct arrays

  http://bugzilla.scilab.org/11888

  struct() page overhaulded (en_US PDF): http://bugzilla.scilab.org/attachment.cgi?id=5205

Change-Id: Ib0231567e6184a98e2e339f0bfffa41bff580068

18 months ago* Bug 16618: close() extended to help xcos browsevar editvar 57/21657/3
Samuel GOUGEON [Tue, 22 Dec 2020 22:29:44 +0000]
* Bug 16618: close() extended to help xcos browsevar editvar

  http://bugzilla.scilab.org/16618
  close() en_US page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5202

Change-Id: I26fe9057c3cd64ee53225d3a2127ccba856e80d5

18 months ago* Bug 16617 fixed: gamma() extended to incomplete cases 52/21652/4
Samuel GOUGEON [Mon, 21 Dec 2020 23:09:00 +0000]
* Bug 16617 fixed: gamma() extended to incomplete cases

  http://bugzilla.scilab.org/16617

  gamma page (en_US PDF): http://bugzilla.scilab.org/attachment.cgi?id=5200

Change-Id: Ied34fae9a75f0bdc5cea60906bdba586feb7365f

18 months agonchoosek(4,2) displayed nothing 48/21648/2
Samuel GOUGEON [Mon, 14 Dec 2020 17:22:27 +0000]
nchoosek(4,2) displayed nothing

Change-Id: I83f55c7a34cd871dd3737502395130c8f28d9787

18 months ago* Bug 16565: edit(user_defined_func) corrupted the original code 46/21646/2
Samuel GOUGEON [Sun, 13 Dec 2020 02:52:32 +0000]
* Bug 16565: edit(user_defined_func) corrupted the original code

  http://bugzilla.scilab.org/16565
  http://bugzilla.scilab.org/16576

  This somewhat improves the code, but fixes completely none of these reports:
  There are some remaining issues.

Change-Id: If1d24383269c336bacc2bb540d34027baf9305e6

18 months ago* Bug 16613 fixed: .*. and kron extended to booleans 42/21642/3
Samuel GOUGEON [Fri, 11 Dec 2020 19:52:21 +0000]
* Bug 16613 fixed: .*. and kron extended to booleans

  http://bugzilla.scilab.org/16613
  https://codereview.scilab.org/21641 might be required first

Change-Id: Ic34454d9d61704d443df3d3c5418aa885781bcbc

18 months ago* Bug 16612 fixed: kron() now maps .*. for sparse numeric 41/21641/3
Samuel GOUGEON [Fri, 11 Dec 2020 16:03:41 +0000]
* Bug 16612 fixed: kron() now maps .*. for sparse numeric

  http://bugzilla.scilab.org/16612

Change-Id: Ifd5ccd88157d9f5852661129760811e602da5e6c

18 months ago* Bug 16608 fixed: union() extended to boolean and to sparse matrices 37/21637/4
Samuel GOUGEON [Mon, 7 Dec 2020 21:42:13 +0000]
* Bug 16608 fixed: union() extended to boolean and to sparse matrices

  http://bugzilla.scilab.org/16608
  union page updated (en_US PDF): http://bugzilla.scilab.org/attachment.cgi?id=5194

Change-Id: Id977654abc74264513c987253bb0e9bb1164be87

18 months ago* Bug 13855 fixed [doc]: pause() page updated & improved 33/21633/5
Samuel GOUGEON [Sat, 5 Dec 2020 15:47:01 +0000]
* Bug 13855 fixed [doc]: pause() page updated & improved

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

Change-Id: Ib7e11d938ba9629edc54df4cff2bfd331e9f3745

18 months ago* Bug 15841 fixed: intersect() now accepts sparse 34/21634/5
Samuel GOUGEON [Sun, 6 Dec 2020 00:38:39 +0000]
* Bug 15841 fixed: intersect() now accepts sparse

  http://bugzilla.scilab.org/15841
  Updated page: (en_US PDF)

Change-Id: I6d9db4a5dd49c3a28f39de2c3510166d87d4e7f9

18 months ago* Bugs 16340 16451 fixed: setdiff('','') & 'c'|'r' with strings. + booleans + sparse 26/21426/19
Samuel GOUGEON [Mon, 2 Mar 2020 18:37:55 +0000]
* Bugs 16340 16451 fixed: setdiff('','') & 'c'|'r' with strings. + booleans + sparse

  http://bugzilla.scilab.org/16340
  http://bugzilla.scilab.org/16451 : extension to booleans
  http://bugzilla.scilab.org/15868 : extension to sparse matrices

Change-Id: I6299184cf25918c3afadc1082c479af27994a882

18 months ago* Bug 11600 fixed: now rand() parses its inputs as it should 11/21711/5
mottelet [Tue, 23 Mar 2021 09:41:17 +0000]
* Bug 11600 fixed: now rand() parses its inputs as it should

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

Change-Id: I8f26c2f6caf1056de183f37ece4fb27350be754b

18 months ago%b|s_#_s|b() overloads moved => [overloading] 22/21622/4
Samuel GOUGEON [Thu, 12 Nov 2020 01:53:10 +0000]
%b|s_#_s|b() overloads moved => [overloading]

 All these overloads have been tested to get their actual status:

* The following are now no longer called (hard-coded):
  %b_a_b(+), %b_s_b(-), %b_x_b(.*)  => removed

* All other comitted ones are still called. They are used now for more
  than 10 years in a transparent way by all users. So they can be
  considered as native, no longer only for compatibility reasons.
  => proposal to move them in [overloading]:

 - Only when s is complex:
  %b_a_s(+), %b_s_s(-), %b_d_s(./), %b_x_s(.*),
  %s_a_b,    %s_s_b,    %s_d_b(./), %s_x_b(.*)

  - When s is real or complex:
  %b_c_s([,]), %b_f_s([;]), %b_l_s,    %b_p_s(^), %b_r_s,   %b_l_b(\)
  %s_c_b([,]), %s_f_b([;]), %s_l_b(\), %s_p_b(^), %s_r_b(/), %b_r_b(/)

  %b_l_b and %b_r_b could be moved to [boolean] instead of [overloading],
  but they would then be alone in booleanlib.

Change-Id: I31ee365958c075e136a3a7b2ef184cee4acdd761

18 months ago[m2sci] Conversions of box() grid() cla() improved 12/21612/5
Samuel GOUGEON [Tue, 27 Oct 2020 02:02:42 +0000]
[m2sci] Conversions of box() grid() cla() improved

  test_run m2sci BOX enable_lt
  test_run m2sci CLA enable_lt
  test_run m2sci GRID enable_lt

  subplot: not actually implemented

Change-Id: Icbb5c2d19f8f607225e6dba66977ee3ba81904b4

18 months ago[m2sci] kernel misc. fixes & improvements 17/21617/6
Samuel GOUGEON [Mon, 2 Nov 2020 21:14:18 +0000]
[m2sci] kernel misc. fixes & improvements

  * %..operatio => %..operation fixed: ttypes are no longer limited to 8 chars

  * sciparam: after https://codereview.scilab.org/21606
              new codes for cells concatenations with braces.

  * Function, Builtin : New predefined constants, required for instance
    to distinguish nargin(@cos) from nargin('cos')
    Not defined anywhere else in [m2sci].

  * Colon : New predefined Variable (to ease definitions of
    insertions and extraction with ":").
    Not defined anywhere else in [m2sci].

  * Help pages: various improvements, noticeably: examples added.

Change-Id: I60e74c2c6980980650023ae8bd6bc49ea4247891

18 months agoRevert f56158b2 "[doc] string pages improved" for specific files where 96/21596/5
Stéphane MOTTELET [Tue, 13 Oct 2020 11:28:06 +0000]
Revert f56158b2 "[doc] string pages improved" for specific files where
the term "text" was abusively used instead of "string".

Change-Id: I85d764fcd6250815acdef55bbcf7432c8a7a04e4

18 months ago[m2sci] kernel code reorganization: clarify dependencies & ease code browsing 14/21614/13
Samuel GOUGEON [Wed, 28 Oct 2020 03:43:19 +0000]
[m2sci] kernel code reorganization: clarify dependencies & ease code browsing

  test_run("m2sci",[],"enable_lt")  // (no new failing tests)

  No code content changed.

  * changevarname() never called => DELETED
    old2newinstr() called only only in changevarname() => DELETED

  * Minor functions called within a single other one are transfered as
    private functions:
    ("A=>B" means "A() called only in B(), and so transfered into B.sci")
    get_unknown    => in getvar2sci
    default_trad   => in funcall2sci
       mtlbtoolfun => default_trad => funcall2sci
    transformtree  => mfile2sci
    multi_fun_file => mfile2sci
    infer2txt      => m2sci
    translateorder => translatepath
    variablesearch => lst_funcall
    funcallsearch  => lst_funcall
    get_unknown    => getvar2sci
    equal2sci      => instruction2sci
    clause2sci     => instruction2sci
    updatevarslist => (equal2sci, clause2sci) => instruction2sci
    i_notation     => m2sci_syntax
    replace_brackets   => syntax_m2sci
    replace_end_dollar => syntax_m2sci

   * Bigger functions called in a single one: left apart as public
     + dependency info added in their heading comment
      m2sci:            called only in mfile2sci()
      lst_funcall:      called only in translatepath()
      sci_m2scideclare: called only in expression2sci()
      funcall2sci:      called only in expression2sci()
      mtlbtoolfun:      called only in default_trad()

Change-Id: Ic444781ac118902253ee88386ffb195073acf3f4

18 months ago* Bugs 16567 16586 fixed: mfile2sci() supports block %{..%}. Appended comments improved" 13/21613/6
Samuel GOUGEON [Tue, 27 Oct 2020 23:06:44 +0000]
* Bugs 16567 16586 fixed: mfile2sci() supports block %{..%}. Appended comments improved"

  http://bugzilla.scilab.org/16567
  http://bugzilla.scilab.org/16586

  test_run m2sci bug_16586
  test_run m2sci COMMENTS_syntax enable_lt

Change-Id: Ia6df17cee2a2ec668b70f93ac1c78d3402ad0d9d

18 months ago* Bug 16552 [m2sci]: cd, dir, dos, exist, ferror, +ismac, ispc, isunix, return 10/21610/6
Samuel GOUGEON [Mon, 26 Oct 2020 00:53:06 +0000]
* Bug 16552 [m2sci]: cd, dir, dos, exist, ferror, +ismac, ispc, isunix, return

  http://bugzilla.scilab.org/16552

  test_run m2sci CD enable_lt
  test_run m2sci DIR enable_lt  // fails for another generic reason
  test_run m2sci DOS enable_lt
  test_run m2sci FERROR enable_lt
  test_run m2sci ISPC enable_lt
  test_run m2sci ISUNIX enable_lt
  test_run m2sci ISMAC enable_lt
  test_run m2sci EXIST enable_lt
  test_run m2sci RETURN enable_lt
  test_run m2sci END_index_syntax enable_lt

Change-Id: I3b16b269eb12ce91ecf6ef4a141e1ed51a9ebb6f

18 months ago* Bug 16571 fixed [m2sci]: Bad ~ conversion on operations, integers, or complex 16/21616/4
Samuel GOUGEON [Sat, 31 Oct 2020 01:34:02 +0000]
* Bug 16571 fixed [m2sci]: Bad ~ conversion on operations, integers, or complex

  http://bugzilla.scilab.org/16571

  After merging this commit, .dia.ref will have to be updated for
  ISPS, ISUNIX and ISMAC @ https://codereview.scilab.org/21610
  (and likely other ones elsewhere in m2sci. But This will be done
  later, progressively, after fixing bugs that piled up).

Change-Id: I8ad221f123499e485ea91688290317920b2a421e

18 months ago* Bug 14033 fixed: x_matrix() extended to booleans, integers, text 78/21578/4
Samuel GOUGEON [Mon, 17 Aug 2020 22:22:30 +0000]
* Bug 14033 fixed: x_matrix() extended to booleans, integers, text

  http://bugzilla.scilab.org/14033

  + display of real/complex matrices improved.
  + Proposed page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5180

Change-Id: I438f8931f454d3b846047d528753485854cab94c

18 months ago* Bug 15299 fixed: plot() for polynomials & rationals 09/21609/3
Samuel GOUGEON [Sun, 25 Oct 2020 22:01:08 +0000]
* Bug 15299 fixed: plot() for polynomials & rationals

  http://bugzilla.scilab.org/15299

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

Change-Id: I30553e6047cc8d08027a16d4d04c503186eecac6

18 months ago* Bug 13303 fixed: mprintf msprintf mfprintf now accept input booleans 15/21615/4
Samuel GOUGEON [Wed, 28 Oct 2020 15:55:01 +0000]
* Bug 13303 fixed: mprintf msprintf mfprintf now accept input booleans

  http://bugzilla.scilab.org/13303

  test_run output_stream mprintf
  test_run output_stream msprintf

  The documentation will be updated after merging this commit
  (as well to document numbered fields in format, introduced in 6.1.0).
  Pages of mprintf, msprintf, mfprintf, printf_conversion, gettext
  to be considered. A lot of work..)

Change-Id: I49af3f4f3989de3a0da697a770b141a05c8cb534

18 months ago* Bug 10455 fixed: helpbrowser improved 64/21464/13
Samuel GOUGEON [Wed, 28 Aug 2019 19:12:40 +0000]
* Bug 10455 fixed: helpbrowser improved

  http://bugzilla.scilab.org/10455

  * Autoloaded ATOMS chapters are now listed at restart
  * The page left at last quit is now displayed at restart
  * The browser now remembers its own language (if not getlanguage())

Change-Id: I396c8bf3a2c7811292216fa7a1697342e2e9b1ab

18 months ago* Bugs 10490 16530 fixed: mapsound fixed/reforged 72/21572/6
Samuel GOUGEON [Mon, 10 Aug 2020 12:21:52 +0000]
* Bugs 10490 16530 fixed: mapsound fixed/reforged

  http://bugzilla.scilab.org/16530
  http://bugzilla.scilab.org/10490

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

Change-Id: I72a260572a65ab761a844b77f5d5fbdd081d5c44

18 months ago* Bug 16504 fixed: clock() upgraded (time zone, daylight ST) 48/21548/4
Samuel GOUGEON [Thu, 23 Jul 2020 20:25:05 +0000]
* Bug 16504 fixed: clock() upgraded (time zone, daylight ST)

  http://bugzilla.scilab.org/16504

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

Change-Id: I037c477aafd18b6aba6d90b7b1c52784bb6cd605

18 months ago[doc] mv strings rationals functions library descriptions => core/types section 60/21560/4
Samuel GOUGEON [Thu, 30 Jul 2020 12:12:33 +0000]
[doc] mv strings rationals functions library descriptions => core/types section

  Existing pages could be improved later.
  Missing ones (lists, structures, cells, implicitlist, integers,
  polynomials, handles, ..) will be added in the same section.

Change-Id: Ib8c94bcb43a114776422f305f87451a14acf5426

18 months ago[doc] Linear_algebra/Factorization section clarified 54/21554/2
Samuel GOUGEON [Mon, 27 Jul 2020 14:50:47 +0000]
[doc] Linear_algebra/Factorization section clarified

Change-Id: Ie2611308cd2dc34b8b7de48bb9f3ed0c5bdc01cc

18 months ago* Bug 16476 fixed: now issquare can be overloaded 08/21508/7
mottelet [Mon, 22 Jun 2020 10:14:42 +0000]
* Bug 16476 fixed: now issquare can be overloaded

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

gateway is simplified (no call to functions using old API).

Change-Id: I190cdcb82bad55eb47990fdf3700952b26079c98

18 months ago[signal_processing] add Savitsky-Golay filtering macros 99/21499/10
Serge Steer [Fri, 12 Jun 2020 13:31:43 +0000]
[signal_processing] add Savitsky-Golay filtering macros

Courtesy of S. Steer. These filters were too usefull to be kept in
Cardiovascular Wave Analysis toolbox.

sgolaydiff was improved at boundaries (odd mirroring is better than
even mirroring for approximating derivative).

Change-Id: I0c4d46d2c18fb3e969db0d8bc924a9f0d9fe92af

18 months ago* Bug 15963 fixed: EXPRESSION block => Math palette 19/21419/3
Samuel GOUGEON [Thu, 21 Feb 2019 01:20:05 +0000]
* Bug 15963 fixed: EXPRESSION block => Math palette

  http://bugzilla.scilab.org/15963

Change-Id: I16968bcc30a280f2774b14a462eb43a21051fd47

18 months ago* Bug 10046 fixed [xcos]: MAXMIN default = 2 inputs 16/21416/3
Samuel GOUGEON [Thu, 25 Jul 2019 19:04:27 +0000]
* Bug 10046 fixed [xcos]: MAXMIN default = 2 inputs

  http://bugzilla.scilab.org/10046

Change-Id: I224dd72f435a1e6772502e3e0713328ce780118c

18 months ago* Bug 15226 fixed [doc]: get() page overhauled 62/21662/4
Samuel GOUGEON [Wed, 30 Dec 2020 22:24:55 +0000]
* Bug 15226 fixed [doc]: get() page overhauled

   http://bugzilla.scilab.org/15226

   get() proposed page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5209

Change-Id: I84b44548c79b99ea338e23fbc6888284ecc3aa20

18 months ago[Arnoldi] made internal. eigs() moved to [linear_algebra] 86/21686/4
Samuel GOUGEON [Fri, 22 Jan 2021 01:11:04 +0000]
[Arnoldi] made internal. eigs() moved to [linear_algebra]

  http://bugzilla.scilab.org/11677

Change-Id: I56e6724a96c99a244f4d3e34121ea76fba5ab3b5

18 months ago* Bug 16385 fixed: Xcos 'Simulation => Modelica init' error 66/21466/5
Samuel GOUGEON [Wed, 20 May 2020 16:14:24 +0000]
* Bug 16385 fixed: Xcos 'Simulation => Modelica init' error

   http://bugzilla.scilab.org/16385

Change-Id: I867cef8ee14805dc28633c5f7ac095d41496c312

18 months ago* Bug 16609 fixed: bitcmp() upgraded for Scilab 6 43/21643/6
Samuel GOUGEON [Sat, 12 Dec 2020 02:58:37 +0000]
* Bug 16609 fixed: bitcmp() upgraded for Scilab 6

  http://bugzilla.scilab.org/16609
  Help page rewritten (en_US PDF): http://bugzilla.scilab.org/attachment.cgi?id=5197

Change-Id: I9969af87ff46984ed55c390d78b2bdae167b917d

18 months ago[dynamic_link] fix ilib_gen_Make_unix regression after fb164e7 94/21694/3
mottelet [Mon, 1 Feb 2021 08:01:50 +0000]
[dynamic_link] fix ilib_gen_Make_unix regression after fb164e7

empty parms ([] instead of "") caused some problems.

Change-Id: I10610122996a23643812097f5d614861a02826cb

18 months agofix xlfont to correctly manage 3rd parameter when it is called with 4 inputs 98/21698/2
Antoine ELIAS [Thu, 4 Feb 2021 23:03:12 +0000]
fix xlfont to correctly manage 3rd parameter when it is called with 4 inputs

Change-Id: Ieb0f522dd354001dd434984cbe157cac2810ad54

18 months ago* Bug 16596 : [int , sparse] and [int ; sparse] now possible 23/21623/3
Samuel GOUGEON [Thu, 12 Nov 2020 22:36:00 +0000]
* Bug 16596 : [int , sparse] and [int ; sparse] now possible

  http://bugzilla.scilab.org/16596

Change-Id: I7b3bf094aa07b8814acbcf9030e9fca591a6f310

18 months ago[doc] triu & tril => Matrix - shaping section 90/21690/2
Samuel GOUGEON [Wed, 27 Jan 2021 01:28:09 +0000]
[doc] triu & tril => Matrix - shaping section

Change-Id: Ie7f154f3515af2891bcc7f4b2e8685a21bdb6a23

18 months ago* Bug 16629 fixed: interp1() fixed + complex + extended extrapolations 77/21677/6
Samuel GOUGEON [Mon, 18 Jan 2021 06:25:45 +0000]
* Bug 16629 fixed: interp1() fixed + complex + extended extrapolations

  http://bugzilla.scilab.org/16629
  interp1 page fixed & updated (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5217

Change-Id: Iec59c6c2ffa312d6d282c52828b40966bc8871d9

18 months ago== and <> with void implemented 73/21673/5
Samuel GOUGEON [Fri, 8 Jan 2021 22:28:02 +0000]
== and <> with void implemented

  After http://bugzilla.scilab.org/15292 has been fixed.

Change-Id: I842d9924a48c61a29d0399279b62c45b4fb9ce03

18 months ago* Bug 16654 fixed: interp1 was leaking memory 08/21708/2
Antoine ELIAS [Mon, 8 Mar 2021 10:25:36 +0000]
* Bug 16654 fixed: interp1 was leaking memory

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

Change-Id: Iabbb4d15976e97f341ce6291f137743e8bd84f1c

18 months agodebugger fixed when stop an execution running inside pause 07/21707/1
Cedric Delamarre [Mon, 8 Mar 2021 09:10:34 +0000]
debugger fixed when stop an execution running inside pause

Change-Id: I8346915fe6276a96f2a0e0082571c01beecbf2fd

19 months agocallstack generation fixed 06/21706/1
Cedric Delamarre [Wed, 3 Mar 2021 14:48:29 +0000]
callstack generation fixed

Change-Id: I644038d8e694450e10d28bd9cf736f46f9e0f5a7

19 months agoreset error flag after abort an execution 05/21705/1
Cedric Delamarre [Wed, 3 Mar 2021 09:42:13 +0000]
reset error flag after abort an execution

Change-Id: I197de02ca3059e26ac0cfc07a681f5f32bb520e8

19 months agolinux: configure did detect the deprecated javah binary 54/21654/6
Clément DAVID [Tue, 22 Dec 2020 09:14:40 +0000]
linux: configure did detect the deprecated javah binary

Change-Id: I58ede76f05fa1d37d4ed6fd4815a9165964378c5

19 months agoUpdate autotools to the latest. 53/21653/5
Clément DAVID [Tue, 22 Dec 2020 09:13:17 +0000]
Update autotools to the latest.

   - automake (GNU automake) 1.16.1
   - autoconf (GNU Autoconf) 2.69
   - libtool (GNU libtool) 2.4.6 (patched for macOS)

Change-Id: Ib9467aae167eedcd5098f6dd9f6e7d7a99e2f8fb

19 months agobreakpoint add, update, remove method added 04/21704/3
Cedric Delamarre [Mon, 22 Feb 2021 12:33:53 +0000]
breakpoint add, update, remove method added

Change-Id: Id93e04017304c380afa0ad4d3a6c910880340b97

19 months agoHappy new year 2021! Keep safe and healthy. 85/21685/2
Clément DAVID [Thu, 21 Jan 2021 20:37:46 +0000]
Happy new year 2021! Keep safe and healthy.

Change-Id: I766ab90a9457571c95646ab6c29f2315a55c1dd4

19 months ago[atoms] atoms* listings in console 01/21701/2
Samuel GOUGEON [Sat, 6 Feb 2021 21:21:05 +0000]
[atoms] atoms* listings in console

Change-Id: I0fbb088132713dfe0dabec6e6c91da5e2d7befa1

19 months ago* Bug 16622 fixed: inv() now overloadable for hypermat of doubles 64/21664/4
Samuel GOUGEON [Fri, 1 Jan 2021 14:43:09 +0000]
* Bug 16622 fixed: inv() now overloadable for hypermat of doubles

  http://bugzilla.scilab.org/16622

  Test:

  inv(rand(2,2,2))

  should display:
  Function not defined for given argument type(s),
  check arguments or define function %s_inv for overloading.

Change-Id: I81284ea373149add6d6c55f3522c556a24f0c55a

19 months ago[atoms] add http_get as a failsafe downloading method 30/21630/10
mottelet [Fri, 27 Nov 2020 08:36:43 +0000]
[atoms] add http_get as a failsafe downloading method

Under new macOS 11.0 neither curl or wget seem to work when
invoked via unix_w (network entitlement problem). The idea is to
propose http_get as a failsafe method for all platforms.

Change-Id: Ibdc9c9eb9f8e0c1bc334003bb68cf42f220494b5

19 months ago* Bug 13985 fixed: lists are nicely displayed 45/21645/7
Samuel GOUGEON [Sat, 12 Dec 2020 22:38:15 +0000]
* Bug 13985 fixed: lists are nicely displayed

  http://bugzilla.scilab.org/13985

  + Unit tests about display are gathered in [console]
  + Some .dia.ref about lists are removed

Change-Id: I1c3bc505b7fc2aa165de0774abd66642d520a900

19 months ago* Bug 16357 fixed - Xcos context no longer handled exec() 29/21429/6
Clement David [Tue, 3 Mar 2020 10:00:19 +0000]
* Bug 16357 fixed - Xcos context no longer handled exec()

  http://bugzilla.scilab.org/16357

Change-Id: Ia43e42c24b187c7e2ad2efb969c3cfd73f78eff8

19 months ago[sparse] insertion with negativ or null index fixed 75/21675/5
Cedric Delamarre [Mon, 11 Jan 2021 12:54:40 +0000]
[sparse] insertion with negativ or null index fixed

  * a=spzeros(3,3);a(0) = 1

Change-Id: I0f075a7a22c6e83a67e0b514ea9f17e597134715

19 months ago* Bug 16644 fixed: input('Message:') wrong mprintf error message 02/21702/3
Samuel GOUGEON [Thu, 11 Feb 2021 17:23:22 +0000]
* Bug 16644 fixed: input('Message:') wrong mprintf error message

  http://bugzilla.scilab.org/16644

  Interactive test:
--> input("Message: ")
Message: "100" euros
x="100" euros
        ^~~~~^
Error: syntax error, unexpected identifier, expecting end of file

Message:
 ans  =
    []

Change-Id: I674e52444efcd54347c1028570c5f070dd52adad

19 months agodemo_gui() fixed for some Linux (w/o copyfile) 58/21658/2
Samuel GOUGEON [Wed, 23 Dec 2020 18:58:46 +0000]
demo_gui() fixed for some Linux (w/o copyfile)

  http://mailinglists.scilab.org/Scilab-users-file-permission-and-demo-gui-tp4041207.html

Change-Id: Ic7736b379025e345a2947916937230286f688706

20 months ago[dynamic_link] prevent reconfigure for same compilation flags 00/21600/5
mottelet [Mon, 19 Oct 2020 08:36:42 +0000]
[dynamic_link] prevent reconfigure for same compilation flags

Change-Id: I47b49b67fe964b8cb2763bd50fcd09a62162069d

20 months ago* Bug 16623 fixed: now rand(2,2,2)^2 triggers the %s_p_s overload 84/21684/2
mottelet [Thu, 21 Jan 2021 18:35:47 +0000]
* Bug 16623 fixed: now rand(2,2,2)^2 triggers the %s_p_s overload

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

Change-Id: I73013af673a644025b56c5422fea304e4aea8fe0

20 months ago* Bug 9221: %chars constant added (selected sets of unicode symbols) 65/21665/4
Samuel GOUGEON [Fri, 1 Jan 2021 17:27:51 +0000]
* Bug 9221: %chars constant added (selected sets of unicode symbols)

  http://bugzilla.scilab.org/9221

  %chars proposed page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5210

Change-Id: I52b18632faddfc11ad131a7cdae7314d18253edb

21 months agoDisabling the [parallel] module 61/21661/2
Samuel GOUGEON [Wed, 30 Dec 2020 02:53:04 +0000]
Disabling the [parallel] module

    http://bugzilla.scilab.org/14486

    What do you want to do with this module?
At least, its help pages must no longer appear in the helpbrowser,
    since its functions are removed.

    As far as i have checked, no cross-references pointing to the
parallel pages remain in the help.

Change-Id: I1f69c62915183a161b447ac1cd78e730a80711ba

21 months ago* Bug 16407 fixed: now Fec rendering is correct 80/21480/7
Stéphane Mottelet [Tue, 2 Jun 2020 14:10:50 +0000]
* Bug 16407 fixed: now Fec rendering is correct

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

Change-Id: Id910084c9538dc0ccfb1f039d58fb8e30f8d33a4

21 months ago* Bug 16559 fixed: size(A,'*') was 0 for A = speye(2^16,2^16) 02/21602/7
mottelet [Tue, 20 Oct 2020 12:19:02 +0000]
* Bug 16559 fixed: size(A,'*') was 0 for A = speye(2^16,2^16)

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

The patch also improves the speed of colon extraction A(:,...,:)
and A(:) when A is sparse.

Change-Id: If7cde827079d6d4d16fb66859f8a6aed592289f1

21 months ago* Bug 7117 fixed: now findobj() can search within given object 11/21511/9
Stéphane MOTTELET [Wed, 15 May 2019 16:13:19 +0000]
* Bug 7117 fixed: now findobj() can search within given object

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

help page: http://bugzilla.scilab.org/attachment.cgi?id=5153

Change-Id: I1c8c1e4b95b6b36686bdf1de7de5920ec3f2b0c6

21 months agoFix typo produces -> produced 55/21655/3
Ghislain Antony Vaillant [Tue, 20 Oct 2020 14:33:20 +0000]
Fix typo produces -> produced

Change-Id: I41cca430e7e2d865b68d15b2844878b5608b5e2f

21 months agoextraction on implicit list fixed. 03/21603/5
Cedric Delamarre [Thu, 22 Oct 2020 12:23:14 +0000]
extraction on implicit list fixed.

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

   test_run("ast", ["bug_16396" "bug_16141" "extract"])

Change-Id: I2c63e1c27f93727dba4eeb24a625ee384a91a44d

21 months agodebugger: reset requested pause flag when abort 39/21639/1
Cedric Delamarre [Thu, 10 Dec 2020 12:27:12 +0000]
debugger: reset requested pause flag when abort

Change-Id: I22b897c2fd3322976fae70b1041dafbc86052529

21 months agoadd C interface on static_runner new function 38/21638/1
Antoine ELIAS [Wed, 9 Dec 2020 11:29:00 +0000]
add C interface on static_runner new function

Change-Id: I30f85a1ebe4849da62f50aadfdaadc6be9967136

21 months agodebugger: manual pause added 35/21635/2
Cedric Delamarre [Mon, 7 Dec 2020 13:34:21 +0000]
debugger: manual pause added

Change-Id: I7a37610d260d1911abf4f4da6744d462a60d7f12

22 months agoallow breakpoints in graphic callbacks bis 32/21632/1
Cedric Delamarre [Wed, 2 Dec 2020 15:26:26 +0000]
allow breakpoints in graphic callbacks bis

Change-Id: I943fbf644dc83a97122e75d436a56afb6a2178a1

22 months agoallow breapoints in graphic callbacks 28/21628/1
Cedric Delamarre [Tue, 24 Nov 2020 15:59:02 +0000]
allow breapoints in graphic callbacks

Change-Id: Iaa635fd2b73e3d8b8170f30570a67fbe4225ff44

22 months agodebugger fixed, where entry have not always a file name. 25/21625/2
Cedric Delamarre [Wed, 18 Nov 2020 13:38:23 +0000]
debugger fixed, where entry have not always a file name.

Change-Id: I1abef250955919c0eebcea28f374665952d760ae

22 months agocallstack fixed, wrong file listed 26/21626/2
Cedric Delamarre [Fri, 20 Nov 2020 11:39:59 +0000]
callstack fixed, wrong file listed

Change-Id: I833d19cbfcee9db7dc25254120f92a2d905cd0d3

22 months agoBreakpoints condition 21/21621/2
Cedric Delamarre [Tue, 10 Nov 2020 11:05:11 +0000]
Breakpoints condition

  * mute bp condition execution
  * add bo condition error
  * bp stop on condition changes:
     - Dont stop if the bp condition is valid and the result is false
     - stop if the bp condition is valid and the result true
     - stop if the bp condition exection return an error

Change-Id: Ia61868ad7c7978f31d5aa91ab3ac66d1340e052d

22 months agoreset debugger aborted flag 20/21620/1
Cedric Delamarre [Tue, 3 Nov 2020 16:25:18 +0000]
reset debugger aborted flag

Change-Id: I302e76e8d66342fdb13a12f03a3dc15d6333af95

23 months agomacr2tree, tree2code: matrix cell exp. 06/21606/3
Cedric Delamarre [Fri, 23 Oct 2020 09:25:11 +0000]
macr2tree, tree2code: matrix cell exp.

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

  test_run functions bug_16397  // for both

  this commit manage only cell creation using {}.

Change-Id: If7577584e60855267834fe1e75a701a7bbaf61ad

23 months agoinsertion in container with ref > 1 fixed 01/21601/4
Cedric Delamarre [Mon, 19 Oct 2020 14:54:36 +0000]
insertion in container with ref > 1 fixed

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

  test_run ast insert mode_nwni_profiling
  test_run ast bug_16556 mode_nwni_profiling

Change-Id: Iae642d598b558d4ebc1afab1c526798cff58cc3c

23 months ago* Bug 16508: csvTextScan did not handle well complex data. 64/21564/5
Adeline CARNIS [Fri, 31 Jul 2020 13:21:58 +0000]
* Bug 16508: csvTextScan did not handle well complex data.

An invalid read had also been fixed for some tests. All spreadsheet
tests pass without any ASAN issue.

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

Change-Id: I2db157ce71852d914f984460ec0049e697e132d1

23 months ago* Bug 16362 fixed: now sparse([]) can be concatenated 18/21518/3
mottelet [Wed, 1 Jul 2020 14:12:34 +0000]
* Bug 16362 fixed: now sparse([]) can be concatenated

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

Change-Id: Iac41cef877b114d9b6c24d344c0e09f4fa58acfd

23 months ago* Bug 16488 fixed: [,;] of (bool,double) with sparse 26/21526/7
Samuel GOUGEON [Sat, 4 Jul 2020 00:16:19 +0000]
* Bug 16488 fixed: [,;] of (bool,double) with sparse

  http://bugzilla.scilab.org/16488

  This is required for setdiff() https://codereview.scilab.org/21426

Change-Id: Ie128bad4691bae0f87cf0196fbd7b1631e3f218e

23 months agoimprove a little bit the bool2s speed. 99/21599/1
Cedric Delamarre [Thu, 15 Oct 2020 15:32:05 +0000]
improve a little bit the bool2s speed.

    b = rand(1000,1000)<0.5;
    tic; for i = 1:100, b*1; end, toc()
    tic; for i = 1:100, bool2s(b); end, toc()
    tic; for i = 1:100, b.*1; end, toc()

   this is linked to https://codereview.scilab.org/#/c/21526/

Change-Id: I520764ef62ad70dcfd68804877e32f831a512beb

23 months agocoverage: various bug fixes and simpler usage 97/21597/3
Clément DAVID [Thu, 15 Oct 2020 12:12:04 +0000]
coverage: various bug fixes and simpler usage

Change-Id: Idec51de34280de0d3f3fb6124324750f20999384

23 months agogsort_multilevel: special degenerate case fixed 00/21500/3
Samuel GOUGEON [Sun, 14 Jun 2020 13:09:29 +0000]
gsort_multilevel: special degenerate case fixed

  test_run elementary_functions gsort*

Change-Id: I317be9d294fa6f2e62e5406760e0eadcf7e04419

23 months ago[gui] move objects => 2D view only (after 4ee6c47) 24/21424/2
Samuel GOUGEON [Fri, 28 Feb 2020 23:41:16 +0000]
[gui] move objects => 2D view only (after 4ee6c47)

Change-Id: I2baff28b03a3703f2a6018625d9a319ba7b5dd7a

23 months ago* Bug 16484: remove mlist(["st"..],..) from Scilab 17/21517/7
Samuel GOUGEON [Tue, 30 Jun 2020 22:46:39 +0000]
* Bug 16484: remove mlist(["st"..],..) from Scilab

  http://bugzilla.scilab.org/16484

Change-Id: I4de80fd073fe6d0fa481c77b31c5b8145cbe58c3

23 months ago[doc] csvRead() csvWrite() pages improved 42/21542/6
Samuel GOUGEON [Tue, 21 Jul 2020 17:39:55 +0000]
[doc] csvRead() csvWrite() pages improved

  * http://bugzilla.scilab.org/13417 :
      csvRead(..,range): How to range up to the last row/column
  * csvRead: comments is a column, not a m-by-n matrix.
  * csvRead: + complex numbers are supported.
  * csvRead: http://bugzilla.scilab.org/13624 :
      regexpcomments better explained. In the example, the comment was
      misleading ("!//!" detect all lines with "//" in any location in
      the line, not necessarilly at the beginning).
     + ulink added (to nice PHP general PCRE documentation).
  * csvRead(): parasitic extra anonymous <refsection> removed in examples.

  * csvWrite(): comments are actually header (to match csvRead() terminology)

Change-Id: I56b1101a37097bd9a2733c8f7da9f0a198da2195

23 months ago* Bug 14435 fixed: better error reporting in extract overloads 86/21586/11
mottelet [Wed, 7 Oct 2020 10:14:55 +0000]
* Bug 14435 fixed: better error reporting in extract overloads

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

When you overload extraction on a MList or a TList, error reporting
should be handled by the overload, this is not the case:

t=tlist(["user","x"],0);
function varargout = %user_e(i,x)
  if or(i==["a" "b"])
    mprintf("Extract field %s\n",i);
   else
    error(msprintf("Error: field %s is undefined !\n\n",i));
   end
end

--> t.a
Extract field a

--> t.z
at line     5 of function %user_e

Undefined operation for the given operands.
check or define function %l_e for overloading.

I don't see the error message of the overload, it has been
superseeded. Moreover, it is incorrect (we are not overloading an
operator).

With the proposed patch we have:

--> t.z
at line     5 of function %user_e

Error: field z is undefined !

--> t("z")
at line     5 of function %user_e

Error: field z is undefined !

Change-Id: Idc8fa19579c38093019a97e8542f10ed4782ed8f

23 months ago* Bug 16553 fixed: unique(['' '']) returned ['' ''] 95/21595/3
Samuel GOUGEON [Mon, 12 Oct 2020 20:43:22 +0000]
* Bug 16553 fixed: unique(['' '']) returned ['' '']

  http://bugzilla.scilab.org/16553

Change-Id: Id169c71b32384c2e04c9738c696018065fb5032f

23 months ago[doc] string pages improved 59/21559/15
Samuel GOUGEON [Wed, 29 Jul 2020 18:45:02 +0000]
[doc] string pages improved

Change-Id: I0d0cfa86f200761177d5d1ed25f6655cbccdd346

23 months ago[m2sci] update nonreg tests 90/21590/2
Samuel GOUGEON [Fri, 9 Oct 2020 23:34:05 +0000]
[m2sci] update nonreg tests

Change-Id: I55011f386ce5cb7e68dfe857bfe204c8565a52d2

23 months agoScicos: fix crash on invalid extract 93/21593/2
Clément DAVID [Tue, 6 Oct 2020 09:22:14 +0000]
Scicos: fix crash on invalid extract

Change-Id: Ibec2afc3426fc4c555d765a9eaaf993064932147

23 months ago* Bug 16551 fixed: num2cell(['' '']) returned {} 89/21589/3
Samuel GOUGEON [Fri, 9 Oct 2020 22:15:51 +0000]
* Bug 16551 fixed: num2cell(['' '']) returned {}

  http://bugzilla.scilab.org/16551

Change-Id: I962f6e29bbfc1e8fbd61decb94b29a5851aa9818

23 months ago* Bug 15954 fixed: mfile2sci(): No mode(0);ieee(1); header anymore 91/21591/3
Samuel GOUGEON [Sat, 10 Oct 2020 15:51:46 +0000]
* Bug 15954 fixed: mfile2sci(): No mode(0);ieee(1); header anymore

  http://bugzilla.scilab.org/15954

Change-Id: I015472413ec5aba1b702d33c33eaf79aad2e5c59

23 months agocallstack fixed again 88/21588/2
Cedric Delamarre [Thu, 8 Oct 2020 16:18:24 +0000]
callstack fixed again

  * propagate the locations until Overload::call to be able to
    set the good one in the call stack.

Change-Id: I9cfa6ecf2f175a947a5496713b8249c1ddd97867

23 months agocallstack fixed 87/21587/2
Cedric Delamarre [Wed, 7 Oct 2020 14:16:36 +0000]
callstack fixed

Change-Id: If9b2abce5c8c6960fa29640781c792bc5d911197

23 months ago[]("field") crash fixed after https://codereview.scilab.org/#/c/21148/ 84/21584/3
Cedric Delamarre [Tue, 6 Oct 2020 08:48:15 +0000]
[]("field") crash fixed after https://codereview.scilab.org/#/c/21148/

    * ast leaks fixed
      test_run("ast", ["krondivide", "bug_15420", "bug_15630", "bug_15715"], "mode_nwni_profiling")

Change-Id: I4eb0f2eef8490bec9a3ae04a06d097c1119b6a82

23 months agoextraction fixed, [].field crashes Scilab 83/21583/2
Cedric Delamarre [Mon, 5 Oct 2020 14:20:42 +0000]
extraction fixed, [].field crashes Scilab

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

Change-Id: If0c32aa3a842a941255051cef9b171f635462607

2 years ago* Bug 16549 fixed: simple script crashed Scilab in GUI mode 82/21582/8
mottelet [Thu, 1 Oct 2020 10:13:51 +0000]
* Bug 16549 fixed: simple script crashed Scilab in GUI mode

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

This patch fixes the problem and reconsiders the processing
of carriage returns in Scilab output. Only the last occurence was
considered in https://codereview.scilab.org/#/c/21166/

Now the output is exactly the same in GUI and CLI mode:

--> mprintf("%s\n123456\rabc\rZ",getscilabmode())
STD
Zbc456

--> mprintf("%s\n123456\rabc\rZ",getscilabmode())
NW
Zbc456

Moreover, one line counter display is now supported in all modes:

for i=1:10000; mprintf("%05d\r",i);end

Change-Id: I82f05d115afc2911466b52230cd667dee3397db2

2 years ago[bug_16512] dot division fixed when the rigth hand side is null. 65/21565/3
Cedric Delamarre [Fri, 31 Jul 2020 14:16:41 +0000]
[bug_16512] dot division fixed when the rigth hand side is null.

Change-Id: Ia10a54264b1937a8428ae8b8661f922fdc4bb91d