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

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

Change-Id: I644038d8e694450e10d28bd9cf736f46f9e0f5a7

18 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

20 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

21 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

22 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

22 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

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

2 years agotostring fixed with format(2) 56/21456/4
Cedric Delamarre [Wed, 15 Apr 2020 16:00:05 +0000]
tostring fixed with format(2)

    test_run core format

    // the display of 1.1 cash Scilab
    format(2)
    1.1

Change-Id: I8379bb44c1ed50cada1687e662ed907eafe2f5d4

2 years ago* Bug 6765: xdel() is obsolete. Replaced with close() 34/21534/4
Samuel GOUGEON [Sun, 12 Jul 2020 18:48:08 +0000]
* Bug 6765: xdel() is obsolete. Replaced with close()

  http://bugzilla.scilab.org/6765

Change-Id: I77c55bd8d83f23356828b77f95f76b184ce62ce6

2 years agoBug #12418 fixed again: using bvode() with continuation led to an error 38/21538/4
Clément DAVID [Fri, 17 Jul 2020 13:12:06 +0000]
Bug #12418 fixed again: using bvode() with continuation led to an error

Change-Id: I0f3d19064db99e052a8273bfc233bee3b439f2de

2 years agothe link in setfield help page (pt_BR section) has been updated 75/21575/2
Adeline CARNIS [Fri, 14 Aug 2020 10:52:12 +0000]
the link in setfield help page (pt_BR section) has been updated

Change-Id: I1c1eb578971b9aa9a5470ee722fdf1e7e7ae2a1f

2 years ago[ast] fix hypermatrix display after 232df831 79/21579/3
mottelet [Wed, 26 Aug 2020 07:46:23 +0000]
[ast] fix hypermatrix display after 232df831

Change-Id: I436600dba53ab853a96fdb87775dce18ffc4d901

2 years ago[fileio] get_absolute_file_path() with no input arg 25/21525/15
mottelet [Fri, 3 Jul 2020 11:20:00 +0000]
[fileio] get_absolute_file_path() with no input arg

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

Change-Id: I2de7aa994a52fb16ad773d45402be289ed90acb4

2 years agoCHANGES updated 77/21577/1
Adeline CARNIS [Mon, 17 Aug 2020 12:50:58 +0000]
CHANGES updated

Change-Id: I44e49b12682240eef44f0de2d6c2df173daae9df

2 years ago* Bugs 15163 16496 fixed [doc]: getdate() page rewritten 52/21552/5
Samuel GOUGEON [Sun, 26 Jul 2020 21:52:53 +0000]
* Bugs 15163 16496 fixed [doc]: getdate() page rewritten

  http://bugzilla.scilab.org/15163
  http://bugzilla.scilab.org/16496
  Rewritten page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5163

  * FIXED:
    - vectorization of getdate(x) was not documented
    - getdate(x) accept fractional seconds, not only integers. Then
      getdate(x)(10) are fractional seconds, not milliseconds.
    - getdate("s") does NOT take leap seconds into account. Proof added in examples.
    - D = getdate() time referential was not documented.
    - getdate("s"): "UTC (Unix Time Convention)" was puzzling, instead of POSIX.
    - The influence of the computer's time zone on getdate(..) results was unclear.
    - The influence of the computer's DST offset on getdate(..) results was undocumented.
  * Short description explicited and clarified.
  * dateTime format: presentation improved, more compact.
  * Examples added.
  * See also: + calendar, clock, datenum

Change-Id: I8b63a87d462b285086a1bff258888ae6cc6624d5

2 years ago* Bug 14488 fixed: plot2d frameflag=9 restored & clarified 69/21569/6
Samuel GOUGEON [Wed, 5 Aug 2020 15:55:59 +0000]
* Bug 14488 fixed: plot2d frameflag=9 restored & clarified

  http://bugzilla.scilab.org/14488

Change-Id: I515d9df67e14c756e3a2d572285281933942c696

2 years ago* Bug 16517 fixed: getdate('s') ignored the fractional part 53/21553/5
Samuel GOUGEON [Mon, 27 Jul 2020 03:15:07 +0000]
* Bug 16517 fixed: getdate('s') ignored the fractional part

  http://bugzilla.scilab.org/16517

Change-Id: I047070bb8181574350950c2a9d061e6984b2cdba

2 years ago* Bug 16525 fixed: soundsec() set obsolete 68/21568/3
Samuel GOUGEON [Tue, 4 Aug 2020 20:57:16 +0000]
* Bug 16525 fixed: soundsec() set obsolete

  http://bugzilla.scilab.org/16525

Change-Id: I8815d864bc1750ef0825c59feb0dcf11b7fa7feb

2 years ago* Bug 14718 fixed [doc]: user() was still documented 73/21573/3
Samuel GOUGEON [Mon, 10 Aug 2020 15:41:20 +0000]
* Bug 14718 fixed [doc]: user() was still documented

  http://bugzilla.scilab.org/14718

  No other occurrence of [^_]user\s*[(<]  found in any SCI/modules
   .sci .sce .tst .xml files

Change-Id: I8d5f9dffdb16b98b26c936fa229b668ea0f75019

2 years agoatomsRepositoryAdd: fix unmatching msprintf() args 74/21574/1
Samuel GOUGEON [Tue, 11 Aug 2020 13:24:55 +0000]
atomsRepositoryAdd: fix unmatching msprintf() args

Change-Id: I1efbc0a7e2f4880119313496512c064c62b4c953

2 years ago[elementary_functions] fix some nonreg tests 44/21544/4
Samuel GOUGEON [Thu, 23 Jul 2020 01:30:18 +0000]
[elementary_functions] fix some nonreg tests

  bug_13515 requires merging https://codereview.scilab.org/21545

Change-Id: I1325f89b90b6e9b460b7e0a8f5ea506d19933c1b

2 years ago* Bug 13762 fixed [doc]: ifft 1/n normalization missed in TeX 58/21558/6
Samuel GOUGEON [Tue, 28 Jul 2020 19:40:10 +0000]
* Bug 13762 fixed [doc]: ifft 1/n normalization missed in TeX

  http://bugzilla.scilab.org/13762
  Overhauled fft page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5164
  +
  * Synopsis unfolded & clarified
  * "selection" argument explicitly renamed "directions"
  * "option" argument
     - explicitly renamed "symmetry"
 - completely described in Arguments, instead of shared in Arguments & Description
  * Very nested lists replaced with <refsect3>
  * LaTeX: alt=".." added for text-rendering.
  * Some code indentation fixed.

Change-Id: Ib04e5ab1a8f7977b64f6885ac90df4d967780607

2 years ago[graphics] ensure cross-platform 120fps in pong demo 23/21523/2
mottelet [Fri, 3 Jul 2020 08:57:24 +0000]
[graphics] ensure cross-platform 120fps in pong demo

Change-Id: I163b90c4ffb97b1dc3ff9c9212c1e860fa1231cc

2 years ago* Bug 12719 fixed: now A(%s) raises an invalid index error 21/21521/4
mottelet [Thu, 2 Jul 2020 09:44:10 +0000]
* Bug 12719 fixed: now A(%s) raises an invalid index error

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

Change-Id: If67e74911d449584fbb67854fc975cf9408c3254

2 years ago* Bug 16151 fixed: now isequal(1:$, 2:$) returns %F 20/21520/3
mottelet [Thu, 2 Jul 2020 08:30:12 +0000]
* Bug 16151 fixed: now isequal(1:$, 2:$) returns %F

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

Change-Id: I3c9018a226316afeaec95411a0970a9dc873a0a8

2 years ago* Bug 16498 fixed: now remove all rows/cols of Sparsebool yields empty sparse 35/21535/2
mottelet [Mon, 13 Jul 2020 08:39:50 +0000]
* Bug 16498 fixed: now remove all rows/cols of Sparsebool yields empty sparse

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

Change-Id: Ie23b17da65fbef23d5d44e37bb0c235107872098

2 years ago* Bug 16474 fixed: imult(%z) crashed Scilab (6.0 regression) 33/21533/2
mottelet [Fri, 10 Jul 2020 12:00:26 +0000]
* Bug 16474 fixed: imult(%z) crashed Scilab (6.0 regression)

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

Change-Id: Iaade4566e28e1ef77fff23a3a5315ada2bb0ba21

2 years ago* Bug 16522 fixed: bitget(x,pos) and bitset(..) with pos as encoded integer 45/21545/5
Samuel GOUGEON [Thu, 23 Jul 2020 01:37:54 +0000]
* Bug 16522 fixed: bitget(x,pos) and bitset(..) with pos as encoded integer

  http://bugzilla.scilab.org/16522

Change-Id: I93039b4399ff215c081e8a2c59b1996c696df850

2 years agohelptools: fix memleak after c8073d50 31/21531/4
Clément DAVID [Wed, 8 Jul 2020 19:27:37 +0000]
helptools: fix memleak after c8073d50

This commit reuse the HelpBrowser tab by switching its current help page to a
new language and %helps global variable content. The memleak was due to load the
same jar files on a different HelpSet. This is fixed by defining a specific
ClassLoader for HelpSets.

Change-Id: Ied9dbe05b86bba88ae972788ee6605403f9087ad