2 years agoMerge 6.0 into master 80/20380/2
Clément DAVID [Mon, 30 Jul 2018 16:48:30 +0000]
Merge 6.0 into master

Change-Id: Iba764091ba95c7a3a501edd6821c86c069d8f2dc

2 years ago* Bug 15457 fixed: CONVERT & TrigFun blocks icons were static 41/19841/4
Samuel GOUGEON [Sun, 11 Mar 2018 01:23:23 +0000]
* Bug 15457 fixed: CONVERT & TrigFun blocks icons were static

  http://bugzilla.scilab.org/15457

  + Both icons are now square, to be pivotable

Change-Id: I40a636c2b9295ebf49a67d1fd9d828cdcfe4cd5c

2 years ago* bug #6737 fixed: mouse events were not correctly reported. 92/19892/4
Clément DAVID [Fri, 16 Mar 2018 08:56:13 +0000]
* bug #6737 fixed: mouse events were not correctly reported.

Change-Id: I2ff8cbdbda81d8ab1e90a684e1211b9e1ed2296c

2 years ago* Bug #15187 fixed - Super block diagram title (on the window bar) was not set. 89/19889/3
Clément DAVID [Thu, 15 Mar 2018 17:31:28 +0000]
* Bug #15187 fixed - Super block diagram title (on the window bar) was not set.

Change-Id: I524eec7d4787dc8c1cd953b3f0095e0430cdf2bb

2 years agoConsole: fix a regression introduced by 3d583cb7 81/20381/1
Clément DAVID [Mon, 30 Jul 2018 14:23:22 +0000]
Console: fix a regression introduced by 3d583cb7

Change-Id: I48c2bb096aa3885ce9149072896b619180dd106c

2 years ago* Bug 15557 fixed: mtlb_std(1:10) yielded an error 85/19985/3
Samuel GOUGEON [Mon, 30 Apr 2018 13:50:20 +0000]
* Bug 15557 fixed: mtlb_std(1:10) yielded an error

 http://bugzilla.scilab.org/15557

Change-Id: I0c206f8e03469370f362f7212e1dab06895d6093

2 years ago* Bug #14564 fixed - fieldnames failed for empty structs, tlists & mlists 93/19993/2
Paul Bignier [Wed, 2 May 2018 10:30:36 +0000]
* Bug #14564 fixed - fieldnames failed for empty structs, tlists & mlists

Change-Id: Ied1afe7639ab31715f47cab27b3c69ca1acad338

2 years ago* Bug 14522 fixed: or(%nan) returned %F 98/19998/3
Samuel GOUGEON [Thu, 3 May 2018 12:14:18 +0000]
* Bug 14522 fixed: or(%nan) returned %F

  http://bugzilla.scilab.org/14522

Change-Id: Ifb12fc239d7b33640847a48f95db5ceaf60f915d

2 years ago* Bug 15454 fixed: misc. typos all over the code 07/20007/4
Julien PUYDT [Fri, 4 May 2018 18:52:07 +0000]
* Bug 15454 fixed: misc. typos all over the code

  http://bugzilla.scilab.org/15454

  an other => another
  formated => formatted
  occured  => occurred
  setted   => set
  beetween => between
  retrive  => retrieved
  minimun  => minimum

Change-Id: I47a68986fabf82cbd79acc59a1ca0220ac66625f

2 years agoRevert "* Bug 15451 fixed: lucene 4.10 can be used in Debian" 78/20378/2
Cédric DELAMARRE [Mon, 30 Jul 2018 10:06:00 +0000]
Revert "* Bug 15451 fixed: lucene 4.10 can be used in Debian"

This reverts commit 47c92a7c81adcc417c9412f4e420bfb9210cf63d.

Change-Id: Iaafba788478e9485c8d378b70809318da5358adb

2 years ago* Bugs 4216 6304 8391 8767 9539 10918 11228 12275 13306 13936 fixed: +NRT 50/19950/6
Samuel GOUGEON [Thu, 12 Apr 2018 22:06:55 +0000]
* Bugs 4216 6304 8391 8767 9539 10918 11228 12275 13306 13936 fixed: +NRT

  http://bugzilla.scilab.org/4216 (no CHANGES entry (5.1))
  http://bugzilla.scilab.org/6304 (no CHANGES entry (5.2))
  http://bugzilla.scilab.org/8767
  http://bugzilla.scilab.org/8391 (no CHANGES entry (5.3.3))
  http://bugzilla.scilab.org/9539
  http://bugzilla.scilab.org/10918
  http://bugzilla.scilab.org/11228
  http://bugzilla.scilab.org/12275
  http://bugzilla.scilab.org/13306
  http://bugzilla.scilab.org/13936

Change-Id: Icb34b6891a1d56de08c3856209689ec830f2ff5f

2 years ago* Bug 15451 fixed: lucene 4.10 can be used in Debian 16/20016/4
Julien PUYDT [Fri, 4 May 2018 21:30:39 +0000]
* Bug 15451 fixed: lucene 4.10 can be used in Debian

 http://bugzilla.scilab.org/15451

 Patch pushed.

Change-Id: I9f49d3a2bf9f882fe58f571d7acbcd74cc0a5773

2 years ago* Bug 15453 fixed: Scilab's compilation needed HOME to be writable 11/20011/5
Julien PUYDT [Fri, 4 May 2018 20:16:01 +0000]
* Bug 15453 fixed: Scilab's compilation needed HOME to be writable

  http://bugzilla.scilab.org/15453

  Patch pushed.

Change-Id: Ide9439200458d5b59d4934c6681f48f48ce7df63

2 years ago* Bug 15450 fixed: compilation: support to ppc64le added 15/20015/3
Gilles Filippini [Fri, 4 May 2018 21:19:46 +0000]
* Bug 15450 fixed: compilation: support to ppc64le added

  http://bugzilla.scilab.org/15450

  Patch pushed.

Change-Id: I9955128c565865589408fd5d0b8f1c8c802ba6d9

2 years ago* Bugs 6434 13522 fixed : + NRT 24/20024/4
Samuel GOUGEON [Thu, 10 May 2018 23:47:27 +0000]
* Bugs 6434 13522 fixed : + NRT

  http://bugzilla.scilab.org/6434  : Calls libname.Macro() were OK only with 1 argin
  http://bugzilla.scilab.org/13522 : savematfile failed with numerical hypermat

Change-Id: I9b4e9ed4c53f00c4a41cbfd742d3875abaedf2b8

2 years agoLinux: update to automake 1.15.1 77/20377/1
Clément DAVID [Mon, 30 Jul 2018 08:05:22 +0000]
Linux: update to automake 1.15.1

Change-Id: I60a639b659117f561e2c3075826df7157027c9ff

2 years agoCoverityFix-CID:1351083 Unread field should be static 68/20268/3
Nimish Kapoor [Mon, 16 Jul 2018 08:38:17 +0000]
CoverityFix-CID:1351083 Unread field should be static

This class contains an instance final field that is initialized to a
compile-time static value.

Change-Id: Id1f0626cefa082ff4c495b1b30d9b995b45ad629

2 years agoupdate iss files and Makefiles after 65d09c1 40/20340/6
Antoine ELIAS [Fri, 27 Jul 2018 14:14:04 +0000]
update iss files and Makefiles after 65d09c1

Change-Id: I4d481fe764dfc613af7affdb3c9832aa09ce15cd

2 years agoCoverityFix-CID:1369055,1350854,1350842,1350843 Dubious method used 55/20155/4
Nimish Kapoor [Mon, 11 Jun 2018 13:45:19 +0000]
CoverityFix-CID:1369055,1350854,1350842,1350843 Dubious method used

Dm: Reliance on default encoding (DM_DEFAULT_ENCODING)

Found a call to a method which will perform a byte to String
(or String to byte) conversion, and will assume that the default
platform encoding is suitable. This will cause the application
behaviour to vary between platforms. Use an alternative API and
specify a charset name or Charset object explicitly.

Change-Id: Ic884e4855ba5766617ee1f998e8b3d130ead99b7

2 years agoCoverityFix-CID:1351033 Bad use of return value 51/20151/3
Nimish Kapoor [Fri, 8 Jun 2018 18:26:39 +0000]
CoverityFix-CID:1351033 Bad use of return value

Change-Id: Ie9d01184e4cb01c3790db21a4545caba661f3d13

2 years agoCoverityFix-CID:1350672 Dropped or ignored exception 48/20148/3
Nimish Kapoor [Fri, 8 Jun 2018 11:26:04 +0000]
CoverityFix-CID:1350672 Dropped or ignored exception

Change-Id: Ib32ce3071305a96d643b8c3a7ab3103330740c06

2 years agoCoverityFix-CID:1351060 Inner class could be made static 02/20102/3
Nimish Kapoor [Tue, 5 Jun 2018 18:17:30 +0000]
CoverityFix-CID:1351060 Inner class could be made static

This class is an inner class, but does not use its embedded reference
to the object which created it.

Change-Id: Ic7b15553e5b384cd37afe7813ef87f71bf7cb03d

2 years agoCoverityFix-CID:1350546 Resource leak on an exceptional path 59/20259/5
Nimish Kapoor [Wed, 11 Jul 2018 18:40:15 +0000]
CoverityFix-CID:1350546 Resource leak on an exceptional path

Change-Id: I0fcefd3e46c5dc9c7e9c3387c941f1d88dbddfed

2 years agoCoverityFix-CID:1350924 Unsynchronized Lazy Initialization 52/20252/3
Nimish Kapoor [Wed, 11 Jul 2018 16:31:44 +0000]
CoverityFix-CID:1350924 Unsynchronized Lazy Initialization

Change-Id: I7cea95cae2822a6d3a873d6c873261ab88487006

2 years agoCoverityFix-CID:1351130 Inefficient Map Iterator 85/20285/2
Nimish Kapoor [Tue, 17 Jul 2018 17:58:00 +0000]
CoverityFix-CID:1351130 Inefficient Map Iterator

Change-Id: I2e6b9388a55938797438222ce9203ce0b7b35391

2 years agoOld dynamic gateways xml removed 39/20339/2
Cedric Delamarre [Fri, 27 Jul 2018 12:42:51 +0000]
Old dynamic gateways xml removed

Change-Id: I3250ed5d17793fa0f559c84b17ba3839e1bc269a

2 years ago[m2sci] generate sci_int64.sci sci_uint64.sci 32/20032/3
Samuel GOUGEON [Sun, 20 May 2018 12:44:06 +0000]
[m2sci] generate sci_int64.sci sci_uint64.sci

 Comes after https://codereview.scilab.org/#/c/19911/
             that added mtlb_int64() & mtlb_uint64()

Change-Id: I337139c0410d49d1c74324c573457e1b9bacbcc3

2 years agomtlb_mode() was not properly removed 36/20036/5
Samuel GOUGEON [Mon, 21 May 2018 14:45:31 +0000]
mtlb_mode() was not properly removed

  * sci_mtlb_mode.c: There is no other occurrence of intmtlbmode in Scilab
  * Remaining occurences of "mtlb_mode" in pages of mtlb_a, mtlb_s,
    minus, and plus, are processed in a separate commit:
    https://codereview.scilab.org/20038

Change-Id: I2cd18ee40409324bcf29575c10d1f0205fdefc80

2 years agoCoverityFix-CID:1351128,1351129 Inefficient Map Iterator 84/20284/3
Nimish Kapoor [Tue, 17 Jul 2018 17:24:11 +0000]
CoverityFix-CID:1351128,1351129 Inefficient Map Iterator

This method accesses the value of a Map entry, using a key that was retrieved
from a keySet iterator. It is more efficient to use an iterator on the
entrySet of the map, to avoid the Map.get(key) lookup.

Change-Id: Ic298af21f0c4e9b953316ade55e8319193cff73a

2 years agoCoverityFix-CID:1350670 Dropped or ignored exception 46/20146/4
Nimish Kapoor [Fri, 8 Jun 2018 07:26:15 +0000]
CoverityFix-CID:1350670 Dropped or ignored exception

Change-Id: I56e5d2dc01883484a09a133cc7b2624a9b047416

2 years agoCoverityFix-CID:1350664 Dropped or ignored exception 41/20141/2
Nimish Kapoor [Fri, 8 Jun 2018 06:38:38 +0000]
CoverityFix-CID:1350664 Dropped or ignored exception

Change-Id: Id174a59ba7a2a42522d55dd021bfe283e264bb6b

2 years agoCoverityFix-CID:1350671 Dropped or ignored exception 47/20147/3
Nimish Kapoor [Fri, 8 Jun 2018 07:38:34 +0000]
CoverityFix-CID:1350671 Dropped or ignored exception

Change-Id: Iadc72d4c9d45e4d40a9552f82f6aedd392aab05e

2 years agoCoverityFix-CID:1350665 Dropped or ignored exception 42/20142/2
Nimish Kapoor [Fri, 8 Jun 2018 06:48:26 +0000]
CoverityFix-CID:1350665 Dropped or ignored exception

Change-Id: Ic7c7acce83bea1a906984e7541e2868e86b4442d

2 years agoCoverityFix-CID:1350662 Dropped or ignored exception 40/20140/2
Nimish Kapoor [Fri, 8 Jun 2018 06:10:43 +0000]
CoverityFix-CID:1350662 Dropped or ignored exception

Change-Id: I2b5bc542d0ac1733d07f5f4bf2bd032fbfdea4b5

2 years agoCoverityFix-CID:1350945 Questionable use of reference 22/20222/4
Nimish Kapoor [Fri, 6 Jul 2018 08:03:32 +0000]
CoverityFix-CID:1350945 Questionable use of reference

Change-Id: I166eb69c801fd917e7954b4e3b766e73afd9b43f

2 years agoscilab_macros.txt update 37/20037/5
Samuel GOUGEON [Mon, 21 May 2018 16:44:47 +0000]
scilab_macros.txt update

  after https://codereview.scilab.org/19911
        https://codereview.scilab.org/19931
        https://codereview.scilab.org/19816
        https://codereview.scilab.org/19778
        https://codereview.scilab.org/19726
        https://codereview.scilab.org/19704

Change-Id: Ic3f7ac78c85d93df6290d69e4b9087964911b9a0

2 years agoCoverityFix-CID:1377310 Uninitialized scalar field 76/20076/2
Nimish Kapoor [Wed, 30 May 2018 09:58:53 +0000]
CoverityFix-CID:1377310 Uninitialized scalar field

Change-Id: I55419735149e54809d2d65732441720eb159da10

2 years agofix windows crash after #b9e819c 38/20338/2
Antoine ELIAS [Fri, 27 Jul 2018 09:45:38 +0000]
fix windows crash after #b9e819c

//command that crash
rho = 1:0.2:4

Change-Id: I8b1259ffba7acb90ee89944884be6ee2a3a90798

2 years agoCoverityFix-CID:1360852 Test for floating point equality 77/20277/3
Nimish Kapoor [Mon, 16 Jul 2018 18:50:41 +0000]
CoverityFix-CID:1360852 Test for floating point equality

Change-Id: I9a246f8670fe72af2093789ec185184f0cec2eae

2 years ago* Bug 12147 fixed: mfile2sci() failed for function/{end} 31/20031/6
Samuel GOUGEON [Fri, 18 May 2018 23:58:27 +0000]
* Bug 12147 fixed: mfile2sci() failed for function/{end}

  http://bugzilla.scilab.org/12147

  Requires to merge https://codereview.scilab.org/20030  first

  All tests from test_run m2sci []  successful before the fix are
  still successful after the fix.

Change-Id: I553699308f3a36c2adf7047e299ebb55885ede60

2 years ago* Bug 15590 fixed: pdiv pmodulo modulo code and pages improved 64/20064/9
Samuel GOUGEON [Sat, 26 May 2018 23:02:19 +0000]
* Bug 15590 fixed: pdiv pmodulo modulo code and pages improved

  http://bugzilla.scilab.org/15590

  * pdiv() modulo() pmodulo() extended to hypermatrices of polynomials
  * pdiv() code simplified
  * modulo() and pmodulo() code simplified (hypermats are no longer mlist)
  * The modulo() pages
     - had mistakes (about the sign of the result): fixed
     - did not describe the polynomial case
    pt and ru versions were not up-to-date after 2013 improvements.
  * pdiv page:
    - example improved
    - missing header (fr) added

Change-Id: I8c23a68d8ad3a7740960fc6ca9a9921ff5982185

2 years agoCoverityFix-CID:1350633 Useless Call 05/19305/4
Nimish Kapoor [Fri, 23 Jun 2017 14:51:29 +0000]
CoverityFix-CID:1350633 Useless Call

Change-Id: I8c709a126e70e273d8aab918aa113644475be843

2 years agoCoverityFix-CID:1350521 Dereference null return value 12/20112/4
Nimish Kapoor [Wed, 6 Jun 2018 06:38:10 +0000]
CoverityFix-CID:1350521 Dereference null return value

Change-Id: Ic85d1769cd60870bc2fe931022c206e1e469772f

2 years agoxload() fixed 25/20125/7
Samuel GOUGEON [Wed, 6 Jun 2018 18:44:26 +0000]
xload() fixed

 Bugs fixed:
 * When merging the loaded figure into an existing figure, the children
   of the source figure were not merged in the right order:
   Bug reported @
   http://mailinglists.scilab.org/Scilab-users-Legends-of-saved-SciLab-graphs-slip-away-tp4038074p4038077.html
 * Loading in an empty existing scf() abusively imposed the properties
   of the target blank figure
 * targetFig.children($) was abusively deleted when the targetFigure
   is not initially blank (from scf()).

 Unit tests created.

Change-Id: Ia86ddceff4b8414743f85dd1b8e6f663de0dda4b

2 years ago[doc] ineqality comparisons with [] now return [] 34/20034/3
Samuel GOUGEON [Sun, 20 May 2018 15:24:27 +0000]
[doc] ineqality comparisons with [] now return []

  * In "help empty",
    - the following informations were wrong and are fixed
       cond([]) = 1
       rcond([]) = 1
    - informations about inv([]), det([]), cond([]), rcond([]), rank([])
      are moved to the dedicated pages.
    - See also improved (more relevant and complete).
    - History updated (and copied in non en_US pages)
  * cond([]) will be documented in a separate commit when
    http://bugzilla.scilab.org/15579 will be fixed (or stated).
  * det([]) will be documented apart. It changed in Scilab 6.
  * less.xml: History updated.

Change-Id: Iba49ba270fd1cae4a5f4b1263424f57ad19a5b0a

2 years ago* Bug 15578 : mfile2sci() corrupted for function..//comment & m2scideclare() 39/20039/4
Samuel GOUGEON [Tue, 22 May 2018 19:28:14 +0000]
* Bug 15578 : mfile2sci() corrupted for function..//comment & m2scideclare()

  http://bugzilla.scilab.org/15578

  (very likely) Requires merging https://codereview.scilab.org/20030 first
  (bugs are pilled up)

  Fixes
     test_run m2sci bug_942 show_error  // case 1
     test_run m2sci bug_973 show_error  // case 3

  The case 2) will be fixed later

Change-Id: Icdf829967b7c17bf72804606e336955ae7938641

2 years agoCoverityFix-CID:1351134 Inefficient Map Iterator 86/20286/2
Nimish Kapoor [Tue, 17 Jul 2018 18:38:34 +0000]
CoverityFix-CID:1351134 Inefficient Map Iterator

Change-Id: Ie362ef24b986e2bd4c21064197e182cc7cc8820c

2 years agohelp deff: Examples & See also improved. History for 6.0 added. 40/20040/3
Samuel GOUGEON [Tue, 22 May 2018 21:03:23 +0000]
help deff: Examples & See also improved. History for 6.0 added.

Change-Id: I031316aaa4c47ce214a662a4937518ac71e1f363

2 years ago* Bug 15583 fixed: color(["red" "red"]) yielded a puzzling error message 42/20042/4
Samuel GOUGEON [Wed, 23 May 2018 00:04:56 +0000]
* Bug 15583 fixed: color(["red" "red"]) yielded a puzzling error message

  http://bugzilla.scilab.org/15583

Change-Id: I50e570a0575d0463dd5e71e92a7a00e44b0b7866

2 years agoCoverityFix-CID:1350774 Dead local store 05/20305/4
Nimish Kapoor [Sun, 22 Jul 2018 09:39:24 +0000]
CoverityFix-CID:1350774 Dead local store

'Vector3d textPosition' defined at line 102 is used nowhere else, neither in
this class nor in any other derived class.

Change-Id: Ie54fef2854d1f326c9bb0a941feb5f24be5e737b

2 years ago* Bug 15586 fixed: tree2code() corrupted the function prototype 46/20046/6
Samuel GOUGEON [Wed, 23 May 2018 16:28:16 +0000]
* Bug 15586 fixed: tree2code() corrupted the function prototype

  http://bugzilla.scilab.org/15586

Change-Id: I275972e32284a7d472a841a663350e9214d2bddd

2 years ago0*ones(..) => zeros(..) code cleaning + code style 62/20062/5
Samuel GOUGEON [Fri, 25 May 2018 22:33:31 +0000]
0*ones(..) => zeros(..) code cleaning + code style

Change-Id: I8bdda14ee69ed0d880af7d687a9c012da6cc0f5e

2 years ago* Bug 15589 fixed: inv() could fail for complex polynomials 63/20063/3
Samuel GOUGEON [Sat, 26 May 2018 00:22:14 +0000]
* Bug 15589 fixed: inv() could fail for complex polynomials

  http://bugzilla.scilab.org/15589

Change-Id: Iad075aeb52f61b873ce23fb8f6cad259b3f805d5

2 years agoCoverityFix-CID:1350756,1350757,1350758,1350759,1350760 Dead local store 35/20335/4
Nimish Kapoor [Wed, 25 Jul 2018 17:35:00 +0000]
CoverityFix-CID:1350756,1350757,1350758,1350759,1350760 Dead local store

Change-Id: Ia7c70e06eb7459bfa12d20ab25081d9d2ed3c839

2 years agoCoverityFix-CID:1350693 Dead local store 18/20318/4
Nimish Kapoor [Tue, 24 Jul 2018 18:03:02 +0000]
CoverityFix-CID:1350693 Dead local store

'String[] messageOffOn' defined at line 58 is used nowhere else, neither in
this class nor in any other derived class.

Change-Id: I59cfaae48a28d13faf83ed779e509720448ca317

2 years agoCoverityFix-CID:1350692 Dead local store 17/20317/3
Nimish Kapoor [Tue, 24 Jul 2018 17:47:10 +0000]
CoverityFix-CID:1350692 Dead local store

'String[] messageOffOn' defined at line 58 is used nowhere else, neither in
this class nor in any other derived class.

Change-Id: I78c956177be1e53006bf936a8b14f63e77343267

2 years ago* Bug 15594 fixed: bool2s() page moved toward the 'boolean' one 67/20067/3
Samuel GOUGEON [Sun, 27 May 2018 22:45:34 +0000]
* Bug 15594 fixed: bool2s() page moved toward the 'boolean' one

  http://bugzilla.scilab.org/15594

Change-Id: I44ce63eeb09c11c9c9e2c451420c8e838a1b1c8c

2 years agoCoverityFix-CID:1350694 Dead local store 19/20319/3
Nimish Kapoor [Tue, 24 Jul 2018 18:24:41 +0000]
CoverityFix-CID:1350694 Dead local store

'String[] messageOffOn' defined at line 60 is used nowhere else, neither in
this class nor in any other derived class.

Change-Id: Ia3060535a67d7773c8e59d7105749a16c76c6753

2 years agoCoverityFix-CID:1350752,1350753,1350754,1350755 Dead local store 34/20334/3
Nimish Kapoor [Wed, 25 Jul 2018 17:29:45 +0000]
CoverityFix-CID:1350752,1350753,1350754,1350755 Dead local store

Change-Id: I852b8f8980762075577dec58721da951e2ca7261

2 years agoCoverityFix-CID:1350748,1350749,1350750,1350751 Dead local store 33/20333/3
Nimish Kapoor [Wed, 25 Jul 2018 17:24:32 +0000]
CoverityFix-CID:1350748,1350749,1350750,1350751 Dead local store

Change-Id: Ie2838769dcd59ea8b4e7c7504281fa2334db4d4b

2 years agoCoverityFix-CID:1350747 Dead local store 32/20332/2
Nimish Kapoor [Wed, 25 Jul 2018 17:17:04 +0000]
CoverityFix-CID:1350747 Dead local store

Change-Id: Id2276113d510673015eaa926c5d872811f87deb8

2 years agoCoverityFix-CID:1350743,1350744,1350745,1350746 Dead local store 31/20331/3
Nimish Kapoor [Wed, 25 Jul 2018 17:09:34 +0000]
CoverityFix-CID:1350743,1350744,1350745,1350746 Dead local store

Change-Id: I9f6431f1c5fec336dfd2e0825a565b4ada834785

2 years agoCoverityFix-CID:1350740,1350741 Dead local store 29/20329/5
Nimish Kapoor [Wed, 25 Jul 2018 16:45:30 +0000]
CoverityFix-CID:1350740,1350741 Dead local store

Change-Id: I578997ae29057ef8cecd343778c9549154e6283f

2 years agoCoverityFix-CID:1350742 Dead local store 30/20330/4
Nimish Kapoor [Wed, 25 Jul 2018 17:05:44 +0000]
CoverityFix-CID:1350742 Dead local store

Change-Id: I5c7087518652a9fa7f08167d5a20cb36047bc1d8

2 years agoCoverityFix-CID:1350729,1350730,1350731,1350732,1350733,1350734,1350735, 28/20328/3
Nimish Kapoor [Wed, 25 Jul 2018 16:32:50 +0000]
CoverityFix-CID:1350729,1350730,1350731,1350732,1350733,1350734,1350735,
1350736,1350737,1350738,1350739 Dead local store

Change-Id: I42b1a048824e985fc03df8b43c265c91ba797168

2 years agoCoverityFix-CID:1350726,1350727,1350728 Dead local store 27/20327/3
Nimish Kapoor [Wed, 25 Jul 2018 16:19:43 +0000]
CoverityFix-CID:1350726,1350727,1350728 Dead local store

Change-Id: I0c74ddeac5c420e7976e3b4a47fe428a0a657148

2 years agoCoverityFix-CID:1350719 Dead local store 25/20325/4
Nimish Kapoor [Wed, 25 Jul 2018 16:05:18 +0000]
CoverityFix-CID:1350719 Dead local store

Change-Id: If766b8c9062555b6ff34dd387486cee6eda44d10

2 years agoCoverityFix-CID:1350720,1350721,1350722,1350723,1350725 Dead local store 26/20326/2
Nimish Kapoor [Wed, 25 Jul 2018 16:12:39 +0000]
CoverityFix-CID:1350720,1350721,1350722,1350723,1350725 Dead local store

Change-Id: I7fd3c1f916349a36f3012d46f9a7e893c35b290d

2 years ago* Bug 12618 fixed: mfile2sci() failed on 'a=1i // ab' 45/20045/4
Samuel GOUGEON [Wed, 23 May 2018 16:13:57 +0000]
* Bug 12618 fixed: mfile2sci() failed on 'a=1i // ab'

  http://bugzilla.scilab.org/12618

Change-Id: I5c28942be7e021af1919f74cb5d944d3e5a9cfe7

2 years agoCoverityFix-CID:1350715,1350716,1350717 Dead local store 23/20323/3
Nimish Kapoor [Wed, 25 Jul 2018 15:57:37 +0000]
CoverityFix-CID:1350715,1350716,1350717 Dead local store

Change-Id: I30d6b1abf3885c6c8a27540fb72b666b78610f4b

2 years agoCoverityFix-CID:1350701,1350702,1350703,1350705,1350706,1350707,1350708,1350709,13507... 22/20322/3
Nimish Kapoor [Wed, 25 Jul 2018 15:48:24 +0000]
CoverityFix-CID:1350701,1350702,1350703,1350705,1350706,1350707,1350708,1350709,1350710,1350711,1350712,1350713,1350714 Dead local store

Change-Id: I17779088f688ad1665b122fcf20a98d805e2a2c1

2 years agoCoverityFix-CID:1350696,1350697,1350698,1350699,1350700 Dead local store 21/20321/5
Nimish Kapoor [Wed, 25 Jul 2018 15:27:44 +0000]
CoverityFix-CID:1350696,1350697,1350698,1350699,1350700 Dead local store

Change-Id: I63a7778452364b5e3d785d2daf2ce20474ad0ae5

2 years agoDemos CACSD => Flat systems =>* were blinking 92/20092/3
Samuel GOUGEON [Thu, 31 May 2018 16:43:11 +0000]
Demos CACSD => Flat systems =>* were blinking

Change-Id: I17a83546b376d77dd627431219b79219ec5b545b

2 years agoScicos: speedup model transformation #2 48/19348/24
Clément DAVID [Mon, 4 Jun 2018 13:41:15 +0000]
Scicos: speedup model transformation #2

1. Remove 2 model lookup by using a map of ID to (initial, cloned) on
   deepClone.
2. Reduce deep cloning on scicos_flat()
3. Do not clone scs_m.objs non modified objects on insertionCall
4. Relax allocation / deallocation pressure on Adapters partial information

Preserving smart-linking information on the scilab side will end up having more temporary data stored and reseted ; move the smart-linking at allocation time.

Change-Id: Ib7f81e2ce49674ed010f26871b93a1f580b7499b

2 years ago[doc] Data structures/types subsection created 68/20068/2
Samuel GOUGEON [Mon, 28 May 2018 00:00:50 +0000]
[doc] Data structures/types subsection created

Change-Id: Ia2e0e134587778dbdc32456897f62795c224bb75

2 years agoa few old save(., var) calls fixed 71/20071/4
Samuel GOUGEON [Mon, 28 May 2018 11:12:49 +0000]
a few old save(., var) calls fixed

Change-Id: I8d543af1c61d1dda0ef06d8eff045879918a29e7

2 years agoScicos: add some tests for user-defined functions 83/20283/7
Clément DAVID [Tue, 17 Jul 2018 16:05:32 +0000]
Scicos: add some tests for user-defined functions

 1. simplest unit tests for sciblk2 sciblk4
 2. benchmarks to evaluate impl. cost for each Scilab API and compare
    them against the evaluate_expr reference.

Change-Id: Ifc25273c4f650787a8a812bbf6041f398c394db1

2 years agoDocked demo_gui() resized the Desktop 51/20051/5
Samuel GOUGEON [Thu, 24 May 2018 20:29:40 +0000]
Docked demo_gui() resized the Desktop

 After https://codereview.scilab.org/19812
 Avoids cherry-picking https://codereview.scilab.org/19816

Change-Id: Iacf54106f3578d574fed0a04a661d06abd0f9943

2 years agoDemo fac3d: rendering improved 93/20093/3
Samuel GOUGEON [Thu, 31 May 2018 17:45:50 +0000]
Demo fac3d: rendering improved

Change-Id: I66b5fac6ef07154bc94e528e9b558e83a2e24933

2 years ago* Bug 13632 fixed: savematfile() page fixed and improved 94/20094/4
Samuel GOUGEON [Thu, 31 May 2018 20:11:00 +0000]
* Bug 13632 fixed: savematfile() page fixed and improved

  http://bugzilla.scilab.org/13632

Change-Id: Ife20082a8920be1529324bd22a538d6326568634

2 years ago* Bug 8017 fixed: atomsInstall() failed for version w/o packaging subversion 53/20153/3
Samuel GOUGEON [Mon, 11 Jun 2018 10:53:38 +0000]
* Bug 8017 fixed: atomsInstall() failed for version w/o packaging subversion

  http://bugzilla.scilab.org/8017

  It is hard to build a robust NRTest, because the expected
  error message depends on the OS and Scilab running version.

Change-Id: I3318305ddd72f4668b3834ee575f31657fb72d99

2 years ago* Bug 15593 fixed: grand() page moved to the rand() section 66/20066/3
Samuel GOUGEON [Sun, 27 May 2018 21:42:00 +0000]
* Bug 15593 fixed: grand() page moved to the rand() section

  http://bugzilla.scilab.org/15593

Change-Id: I9b7a552ac145d69bd66ede5a3cb8bbaeb30cc172

2 years ago* Bug 15601 fixed: tbx_generate_pofile() KO with space-in-path | no XML 96/20096/3
Samuel GOUGEON [Sat, 2 Jun 2018 01:40:33 +0000]
* Bug 15601 fixed: tbx_generate_pofile() KO with space-in-path | no XML

  http://bugzilla.scilab.org/15601

  test_run modules_manager bug_15601

Change-Id: I548883eea9e750f4bae4c032f4fb2e23f4762fb0

2 years agoCoverityFix-CID:1350718 Dead local store 24/20324/2
Nimish Kapoor [Wed, 25 Jul 2018 16:02:00 +0000]
CoverityFix-CID:1350718 Dead local store

Change-Id: I48c68b6e702d66370a59b9fbfd4cd86fbb62e51a

2 years ago* Bug 14510 fixed: atomsLoad() help example was bad 54/20154/3
Samuel GOUGEON [Mon, 11 Jun 2018 12:12:34 +0000]
* Bug 14510 fixed: atomsLoad() help example was bad

  http://bugzilla.scilab.org/14510

Change-Id: I682cd89dbab5c2b18e4b2974c18bc8e2760c86e1

2 years ago* Bug 11435 fixed: blackhole demo had to be checked 58/20158/3
Samuel GOUGEON [Mon, 11 Jun 2018 23:23:23 +0000]
* Bug 11435 fixed: blackhole demo had to be checked

  http://bugzilla.scilab.org/11435

Change-Id: I11123d4ceb7505cd31c09b45dd0486d257d55686

2 years ago* Bug 7641 fixed: int8(1):uint8(4) was not parsed as int8(1):1:uint8(4) 54/19954/4
Samuel GOUGEON [Sun, 15 Apr 2018 14:30:14 +0000]
* Bug 7641 fixed: int8(1):uint8(4) was not parsed as int8(1):1:uint8(4)
 - fix trouble in deserialization of implicitlist ( always implicit step )

  http://bugzilla.scilab.org/7641

  The test passes when executed with exec(), but strangely yields a
  "recursion limit" error for i=1,j=2 (int8:int16) with
  test_run integer bug_7641 show_error

Change-Id: I74a21fa1c1c6b01da1ba147789c06d6bc17cfb4e

2 years agoCoverityFix-CID:1350691 Dead local store 16/20316/1
Nimish Kapoor [Tue, 24 Jul 2018 17:32:26 +0000]
CoverityFix-CID:1350691 Dead local store

If we go with the present logic we are trying to pass 'row' to function and
and then increasing its value after it  which is useless so we use only 'row'
instead of 'row++'. But if the intention was to pass pre incremented value
then '++row or row+1' should have been used.

Change-Id: I9ff2534dac7443c614b805a852816696438bf14d

2 years ago* Bug 15617 fixed: evstr() list check + error msgs 80/20180/4
Samuel GOUGEON [Sat, 23 Jun 2018 00:40:15 +0000]
* Bug 15617 fixed: evstr() list check + error msgs

  http://bugzilla.scilab.org/15617

Change-Id: I993289e353b7128be5f95fcd7dd7c12221e61ca4

2 years ago[doc] varn, poly: varname > 4 & with UTF8 now supported 56/19956/7
Samuel GOUGEON [Sun, 15 Apr 2018 22:11:46 +0000]
[doc] varn, poly: varname > 4 & with UTF8 now supported

 * help poly: mostly rewritten.
     fr retranslated from scratch
     ja,pt,ru: too many changes => to be retranslated from scratch

 * help varn: improved & updated

Change-Id: I1720eb13b1ab4e7b11ad24e1c612a56e272fe1da

2 years agoCHANGES.md fixed after https://codereview.scilab.org/#/c/20166/ 15/20315/1
Cedric Delamarre [Tue, 24 Jul 2018 14:26:24 +0000]
CHANGES.md fixed after https://codereview.scilab.org/#/c/20166/

Change-Id: I0314f289c683625be0eab584d4a883d9e1fdd8d8

2 years ago* Bug 15615: datatipToggle() declared obsolete 66/20166/5
Samuel GOUGEON [Tue, 19 Jun 2018 12:38:38 +0000]
* Bug 15615: datatipToggle() declared obsolete

  http://bugzilla.scilab.org/15615

Change-Id: Iaff0d7cbbb4711c84dbb6b3250c24f9a18f6faff

2 years ago* Bug 15552 fixed: line comment after comma in multiline litteral is ok 65/20165/3
Stéphane Mottelet [Mon, 18 Jun 2018 15:40:46 +0000]
* Bug 15552 fixed: line comment after comma in multiline litteral is ok

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

test_run ast bug_15552

Change-Id: I1399d6fa6490876c8498f90cb984a655fc95d64b

2 years ago* Bug 15628: with_tk() declared obsolete 81/20181/4
Samuel GOUGEON [Sat, 23 Jun 2018 10:57:20 +0000]
* Bug 15628: with_tk() declared obsolete

  http://bugzilla.scilab.org/15628

  Not applicable occurrences:
  \scilab\modules\core\includes\getversion.h (1 hit)
      Line 135: BOOL with_tk(void);
  \scilab\modules\core\src\c\getversion.c (2 hits)
      Line 185:         if (with_tk())
      Line 329: BOOL with_tk(void)
  \scilab\modules\core\src\c\getstaticDebugInfo_Windows.c (1 hit)
      Line 133:     if ( with_tk() )

Change-Id: I08196fcc4e32bc36653d497594f4b55e158adecb

2 years ago[doc] fix build of pt_BR after b20c5f45 82/20182/2
Samuel GOUGEON [Sun, 24 Jun 2018 22:51:54 +0000]
[doc] fix build of pt_BR after b20c5f45

Change-Id: I4e0e33f5769d41118ab8c5459ea60921f758c167

2 years ago* Bug 13785 fixed: gettext() was poorly documented 87/20187/3
Samuel GOUGEON [Mon, 25 Jun 2018 21:28:37 +0000]
* Bug 13785 fixed: gettext() was poorly documented

  http://bugzilla.scilab.org/13785

  New proposed PDF page: http://bugzilla.scilab.org/attachment.cgi?id=4745

Change-Id: Ib6de2e141c241a0718e56889a56d8de5a438a909

2 years ago* Bug 15629 fixed: now int(1e20) yields 1e20 89/20189/3
Stéphane MOTTELET [Tue, 26 Jun 2018 09:40:32 +0000]
* Bug 15629 fixed: now int(1e20) yields 1e20

https://github.com/rdbyk/balisc/issues/613
http://bugzilla.scilab.org/show_bug.cgi?id=15629

Change-Id: If31c1ecb39bb5b18cc93fe425485c2974835a560

2 years ago* Bug 15625 fixed: now delip(1,1)==%inf 93/20193/5
Stéphane Mottelet [Tue, 26 Jun 2018 14:13:20 +0000]
* Bug 15625 fixed: now delip(1,1)==%inf

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

Change-Id: I51072a482087fda5c59e6a5a211619a2c24376c0

2 years ago* Bug 15017 fixed: lcm() for int64 uint64 + improved 83/20183/7
Samuel GOUGEON [Sun, 24 Jun 2018 23:46:43 +0000]
* Bug 15017 fixed: lcm() for int64 uint64 + improved

  http://bugzilla.scilab.org/15017

  PDF page: http://bugzilla.scilab.org/attachment.cgi?id=4744

Change-Id: I6470e48488a9e3ce513b2245d18264477e085240

2 years ago[m2sci] misc. fixes: []+-1 warnings, who("get") changed, etc 30/20030/13
Samuel GOUGEON [Fri, 18 May 2018 20:01:50 +0000]
[m2sci] misc. fixes: []+-1 warnings, who("get") changed, etc

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

 Fixes http://bugzilla.scilab.org/show_bug.cgi?id=2340#c2 (multi_fun_file)
       http://bugzilla.scilab.org/show_bug.cgi?id=6974#c2 (multi_fun_file)
       http://bugzilla.scilab.org/show_bug.cgi?id=6974#c5 (lst_funcall)
       http://bugzilla.scilab.org/show_bug.cgi?id=6974#c5 +(mfile_path)

 * The name of a function just defined with deff can no longer be
   retrieved on the top of the stack with who("get")
 * Multiple 'operation +-: warning' fixed
 * TEST:
   * 4 tests fixed: 682, 857, 2341, 2395
   * test 1662 partially fixed and updated
   * test_run m2sci [] : all tests successful before the present commit
     still pass with it. But there are still a bunch of failing tests...

Change-Id: I167142480f2d20522ae4fa2a7fa1cb6af8bc333f