2 years agofix macro with varargin called without argument 41/19541/1
Antoine ELIAS [Thu, 23 Nov 2017 09:32:45 +0000]
fix macro with varargin called without argument

regression after 582b293631764895f8546e3ea713f2e06ed50054

Change-Id: I04c8a5753291b723e5284ebff7f2454ce6466599

2 years ago* Bug 11251 (+NR test): execstr could kill the variables stack 13/19513/3
Samuel GOUGEON [Wed, 25 Oct 2017 20:56:02 +0000]
* Bug 11251 (+NR test): execstr could kill the variables stack

  http://bugzilla.scilab.org/11251

Change-Id: I0193c4b6f9bff44594b3321885bc5362606e8f05

2 years ago* Bug 13277 (+NR test): execstr('clear') did not clear anything 12/19512/3
Samuel GOUGEON [Wed, 25 Oct 2017 20:26:23 +0000]
* Bug 13277 (+NR test): execstr('clear') did not clear anything

  http://bugzilla.scilab.org/13277

Change-Id: I7e9e60b3c34faaa4dc0e10b305bb694cc134944c

2 years agocall: fix allocation and check with string argument 19/19519/2
Antoine ELIAS [Fri, 27 Oct 2017 15:42:21 +0000]
call: fix allocation and check with string argument

Change-Id: I46401c21ebd149b6d6ee9e1114c473b72401db91

2 years agorewrite macro arguments management 17/19517/5
Antoine ELIAS [Thu, 26 Oct 2017 14:30:37 +0000]
rewrite macro arguments management

Change-Id: Iab1aba330eeaee9b2cc5f0928c97ab243f8cc9e0

2 years agoXcos: fix metamodel issues 25/19525/2
Clément DAVID [Tue, 7 Nov 2017 10:16:44 +0000]
Xcos: fix metamodel issues

Change-Id: I06596e044cef88018091d993446f70f4dc51b32c

2 years ago* Bug 15215 fixed: Wrong concatenation of empty strings 28/19428/3
Antoine ELIAS [Mon, 25 Sep 2017 13:04:47 +0000]
* Bug 15215 fixed: Wrong concatenation of empty strings

Change-Id: If23ad726408df324b6a7705e6a3501a58d705396

2 years agoBug fix #15302: Wrong load() calling sequence can crash Scilab 83/19483/2
Antoine ELIAS [Fri, 13 Oct 2017 09:15:56 +0000]
Bug fix #15302: Wrong load() calling sequence can crash Scilab

Change-Id: I28a0142fd50b7ee9ad53bce310e44c43a0d84395

2 years agoatoms GUI: fix error when visiting subcategories 32/19532/3
Samuel GOUGEON [Sun, 12 Nov 2017 14:54:06 +0000]
atoms GUI: fix error when visiting subcategories

 *--> atomsGui
 * Go to "Data analysis" => "Statistics - *"

 at line    83 of function atomsGetLeftListboxElts ( SCI\modules\atoms\macros\atoms_internals\atomsGetLeftListboxElts.sci line 104 )
 at line    26 of function cbAtomsGui              ( SCI\modules\atoms\macros\atoms_gui\cbAtomsGui.sci line 40 )
 ':': Wrong type for argument 3: Real scalar expected.

Change-Id: I4593f7e742a54dd858276a92136b882955c7828f

2 years agohelp pages: misc. typos + indent + small improvements 64/19464/20
Samuel GOUGEON [Sat, 7 Oct 2017 20:43:17 +0000]
help pages: misc. typos + indent + small improvements

 * datatip_properties: improving the order of properties; adding
   .detached_position; updating the history.
 * polyline_properties: adding/describing .datatip_display_mode.
   Updating the history.
 * typeof: adding typeof defined and used by Xcos
 * uigetfile, uiputfile, uigetfont: unfolding synopses. + infos about
   multiple masks. Typos and indentation.
 * xstring: synopses unfolded. See also improved.
 * makecell: See also improved
 * zeros: repmat(0, sizes) trick added
 * ones: repmat(1, sizes) trick added

Change-Id: Icb88fdcc3b9b967245c96e07db44223c21111d3b

2 years agopolynomials: fix lcm() regression after add4ffc0 and 8fdb54 31/19531/2
Clément DAVID [Fri, 10 Nov 2017 12:55:45 +0000]
polynomials: fix lcm() regression after add4ffc0 and 8fdb54

Change-Id: I2bead561d51e737a44189d75bdad61d9006adf48

2 years agoScicos: speedup model transformation 30/19330/14
Clément DAVID [Tue, 11 Jul 2017 14:27:09 +0000]
Scicos: speedup model transformation

 1. Use the C++ model::BaseObject* API for most of the getObjectProperties
and setObjectProperties is an O(1) model property access.
 2. Only install XcosView on block update
 3. Use binary_search Adapter property lookup
     1. std::find is slower
     2. std::unordered_map / std::hash requires a complete type

Change-Id: Iaa2ad470919be725a0ad719da680be3b9a809a2c

2 years ago* Bug 13014 refixed - Genetic_algorithms: update 'Efficiency' inner variable 26/19526/1
Paul Bignier [Wed, 8 Nov 2017 15:49:36 +0000]
* Bug 13014 refixed - Genetic_algorithms: update 'Efficiency' inner variable

 * Originally fixed by https://codereview.scilab.org/#/c/13003
 * https://codereview.scilab.org/#/c/14585 canceled the fix!

Change-Id: I1a4e9f0d76c6190198ad4c5dc0376dced101a632

2 years ago[bug_15301] ImplicitList fixed when contain a function call which return nothing 82/19482/6
Cedric Delamarre [Thu, 12 Oct 2017 15:00:28 +0000]
[bug_15301] ImplicitList fixed when contain a function call which return nothing

  test_run ast bug_15301
  test_run ast bug_15301 mode_nwni_profiling

Change-Id: Iaccb56e0c77b483a85c13c7d1d201e81a5ae9fad

2 years ago[elementary_functions] memory leak fixed 24/19524/2
Cedric Delamarre [Tue, 31 Oct 2017 14:46:38 +0000]
[elementary_functions] memory leak fixed

test_run("elementary_functions", ["iscolumn", "isempty", "ismatrix", "isrow", "isscalar", "issquare", "members", "bug_7649"])
test_run("elementary_functions", ["iscolumn", "isempty", "ismatrix", "isrow", "isscalar", "issquare", "members", "bug_7649"], "mode_nwni_profiling")

Change-Id: I7fbf45fefbe614a3657a2be74ad44c74ae8c4da2

2 years ago* Bug 15058 fixed: gcd and lcm result could be puzzingly <0 20/19520/5
Samuel GOUGEON [Sun, 29 Oct 2017 21:32:00 +0000]
* Bug 15058 fixed: gcd and lcm result could be puzzingly <0

  http://bugzilla.scilab.org/15058

Change-Id: I7c72b4bdeb89c6bc80b6789eaf814f147307edec

2 years agoOperation with null operand crashs Scilab 06/19506/4
Antoine ELIAS [Tue, 24 Oct 2017 16:50:03 +0000]
Operation with null operand crashs Scilab

Change-Id: Iac7acc1cfd65fcb21754e106ddcf07df6872e214

2 years agofix double free in shortcut operators 18/19518/2
Antoine ELIAS [Fri, 27 Oct 2017 14:21:10 +0000]
fix double free in shortcut operators

if []|[] then
end

if 1&[] then
end

to check :

SCILAB_VALGRIND_OPT="--tool=memcheck --leak-check=yes" ./bin/scilab-cli -profiling -quit -e "if []|[] then,end" 2> profil.out

SCILAB_VALGRIND_OPT="--tool=memcheck --leak-check=yes" ./bin/scilab-cli -profiling -quit -e "if 1&[] then, end" 2> profil.out

Change-Id: Ie4d1314961ade88d11d7772d4bd1d1b7a5375b89

2 years agoscilab.bat must forward error status to caller 11/19511/3
Antoine ELIAS [Wed, 25 Oct 2017 14:04:33 +0000]
scilab.bat must forward error status to caller

Change-Id: I25b2eb5287d0d83df05f43bba35f5800749836c2

2 years agofix scilab crashs when varargin is used with named arguments 10/19510/3
Antoine ELIAS [Wed, 25 Oct 2017 14:00:16 +0000]
fix scilab crashs when varargin is used with named arguments

function foo(a,b, varargin)
endfunction

foo(b = 2, a = 1, 3)

Change-Id: Id4eadb07aeac8f1f4c9fab4b8177bd246e978bad

2 years agoFix bin/scilab after 8e3469b31 16/19516/1
Paul Bignier [Thu, 26 Oct 2017 08:14:21 +0000]
Fix bin/scilab after 8e3469b31

 * Some macOS versions funneled into the error case

Change-Id: Id1b73f5bc2957c1b30a6510e590eccfa01234c7e

2 years ago* Bug 7657: lstsize() is set obsolete, replaced with size() 08/19508/4
Samuel GOUGEON [Tue, 24 Oct 2017 20:25:25 +0000]
* Bug 7657: lstsize() is set obsolete, replaced with size()

  http://bugzilla.scilab.org/7657

Change-Id: Ib918e824d81e25375bd9a3ee101c93e6c18f72a2

2 years ago[strsubstr] Leak fixed when used with regexp 09/19509/2
Cedric Delamarre [Wed, 25 Oct 2017 08:32:55 +0000]
[strsubstr] Leak fixed when used with regexp

Change-Id: Ie3dec1f222d4a5238034c685f20fb4b059179f6d

2 years agomanage relative path in -scihome option 05/19505/3
Antoine ELIAS [Tue, 24 Oct 2017 15:24:57 +0000]
manage relative path in -scihome option

Change-Id: Ic13e448c8598548d68194fad3883ddb1667ef7d2

2 years agoConfigure for MacOS: enable High Sierra (10.13) 44/19444/5
Paul Bignier [Mon, 2 Oct 2017 19:08:33 +0000]
Configure for MacOS: enable High Sierra (10.13)

 * Replaced "Mac OS X" with "macOS" (which it is since Sierra)
 * Forced 10.13 to use its own dependencies

Change-Id: Ic80dd5e342450c1c6f12fe6a5a8ab231aa13e0c0

2 years agoFix MacOS clang 4.6.1 compilation 38/19438/3
Paul Bignier [Sat, 30 Sep 2017 20:18:49 +0000]
Fix MacOS clang 4.6.1 compilation

 * Already fixed in master branch
 * 'clang --version' displays 9.0.0 but 'clang -dumpversion' is 4.6.1

Change-Id: I6b3929dd43a83987a5ca0e17032c31c5998e7a79

2 years ago[mgetl] Conditional jump or move depends on uninitialised value(s) fixed 04/19504/3
Cedric Delamarre [Tue, 24 Oct 2017 09:17:25 +0000]
[mgetl] Conditional jump or move depends on uninitialised value(s) fixed

  test_run fileio mgetl
  test_run fileio mgetl mode_nwni_profiling

Change-Id: I2aad520122102464ecb2a60d71deaabf48111b64

2 years agoupdate version in rc files 03/19503/1
Antoine ELIAS [Tue, 24 Oct 2017 07:12:53 +0000]
update version in rc files

Change-Id: I6a5bd3e2b681f61fc786078811945fe9c7be5b26

2 years agofix duplicate symbol between ast and fileio/scilab_windows 99/19499/3
Antoine ELIAS [Mon, 23 Oct 2017 13:08:15 +0000]
fix duplicate symbol between ast and fileio/scilab_windows

Change-Id: I3e792a92da876586db21990fb55785f6c5bc9b14

2 years agofix linux startup after fcddafe 01/19501/1
Antoine ELIAS [Mon, 23 Oct 2017 14:28:55 +0000]
fix linux startup after fcddafe

Change-Id: I7098cee9591efd408510b23408bcde7a4c772ccc

2 years ago[sum] fix about m argument 88/19488/3
Cedric Delamarre [Wed, 18 Oct 2017 10:35:33 +0000]
[sum] fix about m argument

  test_run elementary_functions sum
  test_run elementary_functions sum mode_nwni_profiling

Change-Id: I11582ed22093a30f8904673b0e86a807ef65c031

2 years agobug fix 14901: WScilex.exe stops immediately when launched from Java 91/19491/6
Antoine ELIAS [Wed, 11 Oct 2017 11:35:53 +0000]
bug fix 14901: WScilex.exe stops immediately when launched from Java

Change-Id: Ica6d7d8262770c8b02f7e44b52c16ff93d5c8d17

2 years ago* Bug 15308 fixed: evstr(['1;2' '3;4']) was not accepted, unlike ['1 2';'3 4'] 98/19498/9
Samuel GOUGEON [Sat, 21 Oct 2017 22:33:18 +0000]
* Bug 15308 fixed: evstr(['1;2' '3;4']) was not accepted, unlike ['1 2';'3 4']

 http://bugzilla.scilab.org/15308
 http://bugzilla.scilab.org/9838 (for comments)

 NEEDED to fix http://bugzilla.scilab.org/9839 (ascii(10))

 * evstr() page basically improved
   - short description now indicates the concatenation
   - syntaxes unfolded
   - description:
      - concatenation effects now indicated
      - constrains on compatible types and sizes of results are now indicated
      - restrictions (no .., =) now indicated for subExpr as well
   - See also: sci2exp added
   - History added

Change-Id: I66efe2350d342ac37267124b41bd08be57113771

2 years agoRevert "* Bugs #9838,9839,10196 fixed: evstr(strarray) 2.3 x faster + more robust... 95/19495/1
Antoine ELIAS [Sat, 21 Oct 2017 19:57:07 +0000]
Revert "* Bugs #9838,9839,10196 fixed: evstr(strarray) 2.3 x faster + more robust against components without output"

This reverts commit d589141941c07759b5341330524fbbf46c790e04.

Change-Id: I87a1d27406522dcc8adbef55c652560aecf4d85f

2 years agoRevert "fix evstr for non sizeable variables ( enull, jnull, jnull, jvoid, ... )" 94/19494/1
Antoine ELIAS [Sat, 21 Oct 2017 19:55:16 +0000]
Revert "fix evstr for non sizeable variables ( enull, jnull, jnull, jvoid, ... )"

This reverts commit 5cac697351da73c5bbf45749e18cfd5be886bcfb.

Change-Id: I326849c136ca68fd9a7d4f3acb39121a47d10e70

2 years ago* Bug 15246 fixed: missing blkslv() + blkslvi() for chsolve() and chfact() 74/19374/6
Samuel GOUGEON [Mon, 14 Aug 2017 18:44:06 +0000]
* Bug 15246 fixed: missing blkslv() + blkslvi() for chsolve() and chfact()

 * http://bugzilla.scilab.org/15246

   blkslvi() builtin has been removed from Scilab 6.0.0 (the only
   occurence out of blkslv() is is in modules\sparse\includes\gw_sparse.h).
   This removal breaks blkslv() and so chsolve() and chfact() public functions.

Change-Id: I55f011c32d0b198c371df863164c4ad7e72f00a3

2 years ago* Bug 6911 fixed: help_from_sci dit not support &#969; in heading comments 42/19442/4
Samuel GOUGEON [Mon, 2 Oct 2017 22:17:18 +0000]
* Bug 6911 fixed: help_from_sci dit not support &#969; in heading comments

  http://bugzilla.scilab.org/6911

  In addition,
  * "&" out of HTML entities were not converted into &amp; in the short
    description (and made xmlto#() failing).
  * The indentation of the <variablelist> entries is improved.

Change-Id: I363eaedf82ab5c2b75b8f8ca82dd67b9b43590fc

2 years ago* Bug 6813 (+NR test): makecell() creating a ND hyperarray yielded an error 78/19478/3
Samuel GOUGEON [Tue, 10 Oct 2017 22:00:47 +0000]
* Bug 6813 (+NR test): makecell() creating a ND hyperarray yielded an error

  http://bugzilla.scilab.org/6813

Change-Id: Iddba498648d231b5e98ff072b0f478da4bd37e98

2 years ago* Bug 12792 (+NR Test): save(filename,'kzwxzx') created an empty useless file 75/19475/3
Samuel GOUGEON [Mon, 9 Oct 2017 22:26:01 +0000]
* Bug 12792 (+NR Test): save(filename,'kzwxzx') created an empty useless file

  http://bugzilla.scilab.org/12792

Change-Id: I2c4d71d41f348d376885f4968c8204b876bcfe94

2 years ago* Bug 11767 (+NR test): execstr('A. 1','errcatch') did not catch the error 74/19474/3
Samuel GOUGEON [Mon, 9 Oct 2017 21:44:41 +0000]
* Bug 11767 (+NR test): execstr('A. 1','errcatch') did not catch the error

  http://bugzilla.scilab.org/11767

Change-Id: Ib311868bd00dad102d1e2044612f46077c5989fd

2 years ago* Bug 13979 (+NR test): a variable named longer > 24 could not be cleared 73/19473/3
Samuel GOUGEON [Mon, 9 Oct 2017 21:31:04 +0000]
* Bug 13979 (+NR test): a variable named longer > 24 could not be cleared

  http://bugzilla.scilab.org/13979

Change-Id: I9aa703648c537af69b7eef72afe37d2c683446d0

2 years ago* Bug 14925 (+NR test): jdeff: the method was corrupted after an error call occured 72/19472/3
Samuel GOUGEON [Mon, 9 Oct 2017 20:28:41 +0000]
* Bug 14925 (+NR test): jdeff: the method was corrupted after an error call occured

  http://bugzilla.scilab.org/14925

Change-Id: I98dae0dd3be5c0607a98996c9649cffe6cf55c46

2 years ago* Bug 14703 (+NR test): clear linspace, type(linspace) returned 11 71/19471/3
Samuel GOUGEON [Mon, 9 Oct 2017 20:07:59 +0000]
* Bug 14703 (+NR test): clear linspace, type(linspace) returned 11

  http://bugzilla.scilab.org/14703

Change-Id: I6c610d353298fc4bc5b96dddeea1cf34f8c54213

2 years agoBug fix #14531: Allows SCIHOME to be specified by user (at start-up) 90/19490/3
Antoine ELIAS [Tue, 10 Oct 2017 15:21:37 +0000]
Bug fix #14531: Allows SCIHOME to be specified by user (at start-up)

Change-Id: I1af580c5cb2a036a6e1c7492a139cfb629ccf2a7

2 years agoBug fix #11530 & #11363: Raise (help, scinotes...) windows when iconified 89/19489/3
Antoine ELIAS [Wed, 11 Oct 2017 14:48:01 +0000]
Bug fix #11530 & #11363: Raise (help, scinotes...) windows when iconified

Change-Id: I06418a319caa434f1917d384217d6c1ac6071a0c

2 years agospeedup filter function 77/19477/4
Antoine ELIAS [Tue, 10 Oct 2017 08:11:44 +0000]
speedup filter function

test_run("signal_processing", ["filter", "bug_13346", "bug_4065", "bug_4249", "lev"])

Change-Id: I494eb7dc2fb48539a90cbfeb983ce7c7cb3557ff

2 years agoFix CHANGES.md after ca776f331 86/19486/1
Paul Bignier [Mon, 16 Oct 2017 15:04:59 +0000]
Fix CHANGES.md after ca776f331

Change-Id: I9f28dbb1edfac51e7775180394f9d12ef47da5f9

2 years agoMinor fixes to CHANGES.md 84/19484/5
Paul Bignier [Sat, 14 Oct 2017 09:09:05 +0000]
Minor fixes to CHANGES.md

Change-Id: I781604c11e360a839714ac8e56e2e78ebf94b7cc

2 years agobug 15223 fix: some crashs with call 85/19485/1
Antoine ELIAS [Mon, 16 Oct 2017 08:14:05 +0000]
bug 15223 fix: some crashs with call

Change-Id: I6aa89def0b03926a5b3c7735fc2ce17fe66d9a91

2 years ago[bug_15300] Double free fixed on ArrayListExp 81/19481/2
Cedric Delamarre [Thu, 12 Oct 2017 13:44:20 +0000]
[bug_15300] Double free fixed on ArrayListExp

  test_run ast bug_15300
  test_run ast bug_15300 mode_nwni_profiling

Change-Id: Id5c6a383008e35b07c9ef909bddaeeb11e9d58ae

2 years agofix evstr for non sizeable variables ( enull, jnull, jnull, jvoid, ... ) 51/19451/2
Antoine ELIAS [Fri, 6 Oct 2017 15:54:58 +0000]
fix evstr for non sizeable variables ( enull, jnull, jnull, jvoid, ... )

Change-Id: I4fbe520ed73e23a582d200482458df6f002da721

2 years agofix matrix() with empty struct/cell 66/19466/2
Antoine ELIAS [Sat, 7 Oct 2017 22:16:41 +0000]
fix matrix() with empty struct/cell

Change-Id: I3d1b8e410401629b43f032a1c6dddb949a287e1f

2 years agoBug fix 15261: Wrong default inserted in struct 65/19465/3
Antoine ELIAS [Sat, 7 Oct 2017 22:14:40 +0000]
Bug fix 15261: Wrong default inserted in struct

https://bugzilla.scilab.org/15261

Change-Id: I3e620fe64dbba892c1940ddb6ecf171c0b17a9ca

2 years agomissing include added 70/19470/1
Cedric Delamarre [Mon, 9 Oct 2017 12:38:43 +0000]
missing include added

after https://codereview.scilab.org/#/c/19423/

Change-Id: I92b6bc0bc190714b464bfdfa95ecb64e53e38d4c

2 years ago* Bug 6607 (+NR test): clear S; S(1:2,1:2).a=1; yielded an error 69/19469/3
Samuel GOUGEON [Sun, 8 Oct 2017 18:47:57 +0000]
* Bug 6607 (+NR test): clear S; S(1:2,1:2).a=1; yielded an error

  http://bugzilla.scilab.org/6607

Change-Id: I6c6dbc9adef660666303ae8d2e3efa87935d4f53

2 years ago* Bug 14981 (+NR test): [cell1; cell2] and further cells extractions crash Scilab 67/19467/2
Samuel GOUGEON [Sun, 8 Oct 2017 11:30:50 +0000]
* Bug 14981 (+NR test): [cell1; cell2] and further cells extractions crash Scilab

  http://bugzilla.scilab.org/14981

Change-Id: Ia6e5de80c66fdc9bf0afcc2352f3610cb48a15f4

2 years ago* Bug 15146 fixed - lasterror() crashes Scilab when last error message is empty 69/19269/3
Simon Marchetto [Wed, 4 Oct 2017 16:41:29 +0000]
* Bug 15146 fixed - lasterror() crashes Scilab when last error message is empty

Change-Id: If8121765b4ff849d358091a0ddda0d091c0fbcc8

2 years ago* Bug #15148 fixed - link() doesn't return any error for a wrong flag argument value 70/19270/5
Simon Marchetto [Wed, 4 Oct 2017 16:57:41 +0000]
* Bug #15148 fixed - link() doesn't return any error for a wrong flag argument value

Change-Id: Id48a43ccab8ba7b40c1755b7d8f06c1cc0dc6090

2 years ago* Bug 6608 (+NR test): field and data insertion in an array of struct might fail 61/19461/3
Samuel GOUGEON [Sat, 7 Oct 2017 11:21:23 +0000]
* Bug 6608 (+NR test): field and data insertion in an array of struct might fail

  http://bugzilla.scilab.org/6608

Change-Id: Ic50973962aa040d57f7c72ca3107bc912c96381d

2 years ago* Bug 11196 (+NR test): some recursive extractions from mlists failed 60/19460/3
Samuel GOUGEON [Sat, 7 Oct 2017 10:31:54 +0000]
* Bug 11196 (+NR test): some recursive extractions from mlists failed

  http://bugzilla.scilab.org/11196

Change-Id: I05647dc50a7c7c740109404e512e0f7b428271c6

2 years ago* Bug 8669 (+NR test): some legal insertions in A(*,*,:) might fail 59/19459/3
Samuel GOUGEON [Sat, 7 Oct 2017 10:05:02 +0000]
* Bug 8669 (+NR test): some legal insertions in A(*,*,:) might fail

  http://bugzilla.scilab.org/8669

Change-Id: I3d424a9b9db07e2a244069a7c89b98c46074182f

2 years ago* Bug 5381 (+NR test): with UTF8, m*printf() shortened the output 58/19458/3
Samuel GOUGEON [Fri, 6 Oct 2017 22:47:19 +0000]
* Bug 5381 (+NR test): with UTF8, m*printf() shortened the output

  http://bugzilla.scilab.org/5381

Change-Id: I3263896a55d8f6b9daf8ac337cbc1a9f7cbffb0a

2 years ago* Bug 7652 (+NR test): inserting list("") in a cells array coud be erroneous 56/19456/4
Samuel GOUGEON [Fri, 6 Oct 2017 21:09:57 +0000]
* Bug 7652 (+NR test): inserting list("") in a cells array coud be erroneous

  http://bugzilla.scilab.org/7652

Change-Id: I730adbea724ff82758dcb9695f3b78a1503bb045

2 years ago* Bug 5602 (+NR test): assignment in a list in a cell replaced the whole list 57/19457/3
Samuel GOUGEON [Fri, 6 Oct 2017 22:10:18 +0000]
* Bug 5602 (+NR test): assignment in a list in a cell replaced the whole list

  http://bugzilla.scilab.org/5602

Change-Id: I8b052f94ecb8a1635e1e341e68acdc5977b5bc26

2 years ago* Bug 5611 (+NR test): deleting the row/column of a cells array was impossible 55/19455/3
Samuel GOUGEON [Fri, 6 Oct 2017 20:42:19 +0000]
* Bug 5611 (+NR test): deleting the row/column of a cells array was impossible

  http://bugzilla.scilab.org/5611

Change-Id: Idd2cac16cb6d9b051e5010b9ca517807135cfc7b

2 years ago* Bug 10270 (+NR test): execstr(['v = [int16(1)';']']) needed 2 <enter> 54/19454/3
Samuel GOUGEON [Fri, 6 Oct 2017 20:18:09 +0000]
* Bug 10270 (+NR test): execstr(['v = [int16(1)';']']) needed 2 <enter>

  http://bugzilla.scilab.org/10270

Change-Id: I89b8f599258c0dbc031c8d64232f87358165948f

2 years ago* Bug 8842 (+NR test): clear s; s.a = cos // failed 53/19453/3
Samuel GOUGEON [Fri, 6 Oct 2017 19:49:25 +0000]
* Bug 8842 (+NR test): clear s; s.a = cos  // failed

 http://bugzilla.scilab.org/8842

Change-Id: Ic4003b5b1885fcf8840286789729f5ae5fee42cf

2 years ago* Bug 9297 (+NR test): assigning a mlist to a structure field failed 52/19452/4
Samuel GOUGEON [Fri, 6 Oct 2017 19:33:27 +0000]
* Bug 9297 (+NR test): assigning a mlist to a structure field failed

  http://bugzilla.scilab.org/9297

Change-Id: Ibb0c3ae5ab3db973d0f189a53cde8852a009faff

2 years agomgetl: fix single line without EOL 62/19462/1
Antoine ELIAS [Sat, 7 Oct 2017 15:44:28 +0000]
mgetl: fix single line without EOL

Change-Id: If6301c214b1208dcc3857239454db2100eebccbd

2 years ago* Bug #15034 fixed : Unable to create a structure using mlist. 64/19264/4
Simon Marchetto [Wed, 4 Oct 2017 16:26:49 +0000]
* Bug #15034 fixed : Unable to create a structure using mlist.

Crash fixed. A mlist is returned.

Change-Id: I1c0718107b8cee1a8576f42ac6631b3d673ce503

2 years ago* Bug #15243 fixed - grand() did not check its inputs 40/19440/4
Clément DAVID [Thu, 28 Sep 2017 12:01:15 +0000]
* Bug #15243 fixed - grand() did not check its inputs

Change-Id: I753ccc97aaae007557ea8336219ee71689c624f8

2 years ago* Bug 15183 fixed: ndgrid(x) expected a mandatory argin#2 82/19282/6
Simon Marchetto [Wed, 4 Oct 2017 16:07:29 +0000]
* Bug 15183 fixed: ndgrid(x) expected a mandatory argin#2

  * http://bugzilla.scilab.org/15183
  * ndgrid.xml (ja_JP) actually in english => deleted

Change-Id: I9f44d56f0b29812c9095894dbbaea294ae00593f

2 years ago* Bug 12862 fixed: intsplin(x,y) ignored imag(y) 39/19439/3
Samuel GOUGEON [Mon, 2 Oct 2017 00:16:59 +0000]
* Bug 12862 fixed: intsplin(x,y) ignored imag(y)

 http://bugzilla.scilab.org/12862

Change-Id: I0de699d522caac617b08df27aae2ded417aaed12

2 years agoimprove mgetl performance 34/19434/9
Antoine ELIAS [Thu, 28 Sep 2017 11:43:14 +0000]
improve mgetl performance

Change-Id: I173fe1da5222cf26028aa95dbac85806a2e7c953

2 years ago* Bug 5248 fixed: The graphical entity picker was out of work 47/19447/3
Samuel GOUGEON [Tue, 3 Oct 2017 20:11:57 +0000]
* Bug 5248 fixed: The graphical entity picker was out of work

Change-Id: I56c96a41c71fc8e59a1bbca8890e271db9d3e721

2 years ago* Bugs #9838,9839,10196 fixed: evstr(strarray) 2.3 x faster + more robust against... 33/19033/12
Samuel GOUGEON [Thu, 2 Feb 2017 21:49:35 +0000]
* Bugs #9838,9839,10196 fixed: evstr(strarray) 2.3 x faster + more robust against components without output

 * evstr() code improved:
   - 2.3x faster: bench_mark string bench_evstr
   - more consistent and resilient: when an instruction has a void or
     empty output, the answer is now always the same: a default value
     set accordingly with the type of the overall result.
   - ascii(10) and ascii(13) are now supported in both scalar or array inputs

 * test_run string   passes

 *  evstr("// component without output")  yielded an error:
    http://bugzilla.scilab.org/9838

 * evstr(["%pi" ascii(10) ; "3" "%i"]) yielded an error:
   http://bugzilla.scilab.org/9839
   Support to included ascii(10) and ascii(13) added.

 * http://bugzilla.scilab.org/10196 :
   //a)
   t = ["%pi" "[]" "%eps"]; r = evstr(t);
   "[]" shifted output components by 1 place: r(2) == evstr(t(3))
   // b)
   evstr("whereami()") yielded an error (because whereami() has no output)

Change-Id: I267229dce2a13de204af804409279bea0f477b74

2 years ago* Bug 15089 fixed: getcolor GUI cleared and used the current figure 22/19222/5
Samuel GOUGEON [Wed, 22 Mar 2017 19:38:05 +0000]
* Bug 15089 fixed: getcolor GUI cleared and used the current figure

  http://bugzilla.scilab.org/15089
  - Bug fix
  - speed up the display of the GUI
  - compact color's infos in the status bar to make them readable even
    when the GUI is small
  - fixes a ".."+[]+".." warning when the picked color has no name.

  Was correct when commited @ https://codereview.scilab.org/#/c/18308
  but not taken into account in the final commit.

Change-Id: I7bf5d8c1f684c4c0bdd7a938f9afa41aecc76e79

2 years ago* Bug 12330: mode() was poorly documented. Page overhauled 50/19250/7
Samuel GOUGEON [Sun, 9 Apr 2017 17:36:11 +0000]
* Bug 12330: mode() was poorly documented. Page overhauled

  . http://bugzilla.scilab.org/12330
  . New page rendered in mode.pdf. Please remove it before merging.
  . exec() page will be overhauled in another commit
  . The page will be retranslated from scratch in other commits

Change-Id: Ie860502479588ff12052675a29454982ca2c935a

2 years ago* Bug 15170 fixed: getd() created and returned a parasitic variable k 75/19275/4
Samuel GOUGEON [Fri, 26 May 2017 15:49:01 +0000]
* Bug 15170 fixed: getd() created and returned a parasitic variable k

  http://bugzilla.scilab.org/15170

Change-Id: I69dc38a81ed2990e3ea528231f4b0c0175b57a64

2 years ago* Bug 15184 refixed: inequalities with complex numbers 72/19372/5
Samuel GOUGEON [Mon, 14 Aug 2017 15:14:16 +0000]
* Bug 15184 refixed: inequalities with complex numbers

 * http://bugzilla.scilab.org/15184
 * Followup of https://codereview.scilab.org/#/c/19340/
 * <=, >= and > comparisons were unfixed.
 * Returning %F by default was not convenient: See the rational @
   http://mailinglists.scilab.org/Bug-15184-tp4036857p4036864.html

Change-Id: I45ca915f40f491eb79b2545fb4d1a1848e14bcda

2 years ago* Bug 14883 fixed: whereis returned [] for builtin. Page overhauled for 6.0 99/19399/6
Samuel GOUGEON [Wed, 23 Aug 2017 20:01:18 +0000]
* Bug 14883 fixed: whereis returned [] for builtin. Page overhauled for 6.0

 * http://bugzilla.scilab.org/14883
 * Scilab 6 changes were not yet documented
 * Added in the 6.0.1 section. Is it right? (could be < beta2)
 * Page moved, since, now, libraries AND builtin are covered.
 * Page to be retranslated from scratch (almost rewritten => too many changes)

Change-Id: Iac85a538b4c096be15551ff35b5388f5f18042c2

2 years agohelp names: any length + UTF-8 accepted 19/19419/5
Samuel GOUGEON [Sat, 9 Sep 2017 19:31:31 +0000]
help names: any length + UTF-8 accepted

Change-Id: I4a1c41f18294655a1df45e7346eaa619f5eee620

2 years ago* bug 15269: xgetech() tagged obsolete 21/19421/4
Samuel GOUGEON [Sun, 10 Sep 2017 17:30:41 +0000]
* bug 15269: xgetech() tagged obsolete

  http://bugzilla.scilab.org/15269

Change-Id: I9dbcf9e5bb4ac73aedf5b5b8c8c7e6363ea6f44c

2 years agoBug #15285 fixed: resize_matrix() extended to int64 and uint64 08/19408/3
Samuel GOUGEON [Wed, 30 Aug 2017 15:50:20 +0000]
Bug #15285 fixed: resize_matrix() extended to int64 and uint64

Change-Id: I8ba10d6bb2cabfa7e91dec82b4d2aa241f383ab9

2 years ago http://bugzilla.scilab.org/9519 07/19407/4
Samuel GOUGEON [Sat, 26 Aug 2017 12:34:42 +0000]
  http://bugzilla.scilab.org/9519

  * ".xcos .zcos" filter added: Xcos files are now opened with xcos
    from the console. .zcos files no longer block Scinotes
  * "lib" filter added. Scilab libraries can now be opened.
  * ".scg" filter added. They were filtered with .sce and .sci and opened
    in Scinotes. Graphics files out of the CWD can now be
    browsed and properly loaded from the console.
  * ".tst .dia.ref" filter added.
  * Other types of files are routed to the prefered OS application
    instead of being sent to Scinotes.

Change-Id: Ic5429f5f0086b9162a758fe88c6c867f3451151e

2 years agofplot3d1(): fixes 'operation + []' warnings 39/19339/3
Samuel GOUGEON [Mon, 17 Jul 2017 12:45:38 +0000]
fplot3d1(): fixes 'operation + []' warnings

  // Occurred when no option is used, as with:
  x1=-2:0.1:2; x2=-2:0.1:2;
  deff('z=f(x,y)','z=100*(y-x^2)^2+(1+x)^2');
  clf();
  fplot3d1(x1,x2,f);

Change-Id: I7de277db3e21a1e4f828a02c5f0c6b932bd61a0e

2 years ago* Bug 14544 fixed: scatter and scatter3 canceled upstream drawlater 06/19406/3
Samuel GOUGEON [Fri, 25 Aug 2017 21:22:17 +0000]
* Bug 14544 fixed: scatter and scatter3 canceled upstream drawlater

 http://bugzilla.scilab.org/14544

Change-Id: I8bbdc31b9097bdc425dd1af7aea55d99b9dba78f

2 years ago* Bug 15249 fixed: findobj('toto') yielded an error instead of [] 80/19380/3
Samuel GOUGEON [Wed, 16 Aug 2017 19:19:21 +0000]
* Bug 15249 fixed: findobj('toto') yielded an error instead of []

  http://bugzilla.scilab.org/15249

Change-Id: I6472eb67301c5b7473c54a64188201ffaa9ee980

2 years agoscilab.start: clear main_menubar_cb getPreferencesValue 33/19133/4
Samuel GOUGEON [Sat, 25 Feb 2017 20:57:26 +0000]
scilab.start: clear main_menubar_cb getPreferencesValue

Change-Id: I71c166603b1a5b8eaccf616c9e36748fe09fe9ab

2 years ago* Bug 14532 fixed: test_run failed on non-autoloaded atoms 34/19234/5
Samuel GOUGEON [Tue, 28 Mar 2017 00:59:15 +0000]
* Bug 14532 fixed: test_run failed on non-autoloaded atoms

  http://bugzilla.scilab.org/14532

  Replaces https://codereview.scilab.org/#/c/18176/

  Tested on "apifun":
  atomsInstall apifun
  atomsAutoloadDel apifun
  test_run("apifun",[],"show_error")

Change-Id: I2da90184507e94fe6dce21240a045bd4cff9221b

2 years ago* Bug 15282 fixed: help_from_sci() could set % in xml:id & master_help.xml 43/19443/2
Samuel GOUGEON [Mon, 2 Oct 2017 23:49:49 +0000]
* Bug 15282 fixed: help_from_sci() could set % in xml:id & master_help.xml

  http://bugzilla.scilab.org/15282

Change-Id: I20b0ef05ff659cce1567c4a0a374445d3bdcaccd

2 years ago* Bug 15228 fixed - Graphics: get() error message fixed 27/19427/2
Paul Bignier [Sun, 24 Sep 2017 16:20:21 +0000]
* Bug 15228 fixed - Graphics: get() error message fixed

Change-Id: Id8233f1eacae7c0ddaba36097bea753583d77c7c

2 years agoXcos: fix Chaos_Modelica demo 29/19429/3
Clément DAVID [Mon, 25 Sep 2017 15:55:07 +0000]
Xcos: fix Chaos_Modelica demo

Change-Id: If31a6b617e099a45901db3eb0d830a8271d1af4e

2 years agoXcos help pages: misc. improvements (all but pallettes) 26/19426/4
Samuel GOUGEON [Fri, 22 Sep 2017 20:53:48 +0000]
Xcos help pages: misc. improvements (all but pallettes)

Change-Id: Ibf18707da3e635562cc0b8ff2a30bbe45ba6760c

2 years ago%i_lcm() updated after https://codereview.scilab.org/19180 18/19418/3
Samuel GOUGEON [Sat, 9 Sep 2017 16:01:42 +0000]
%i_lcm() updated after https://codereview.scilab.org/19180

 %i_gcd() is now included in gcd() since I54d731a7a061d7f60cbfda8aa8f8279b39eb924a
 Upgrading lcm() within the same gcd() commit was my first intention.
 After changing my plan, i forgot committing this %i_lcm() update,
 the only occurence using the former %i_gcd().

Change-Id: I75ebdb8d7980e7aa2227395e46c65cfd45fb80c6

2 years ago* Bug 15273 fixed: Wrong documented order of eval_cshep2d 2d derivatives 24/19424/3
Samuel GOUGEON [Mon, 11 Sep 2017 21:12:26 +0000]
* Bug 15273 fixed: Wrong documented order of eval_cshep2d 2d derivatives

  http://bugzilla.scilab.org/15273

Change-Id: Ib25742dd14bd3259ebc18b84ece453ad33f6eb42

2 years ago* bug 14896: Using 'set' with multiple properties 23/19423/7
Antoine ELIAS [Mon, 11 Sep 2017 07:22:31 +0000]
* bug 14896: Using 'set' with multiple properties

Change-Id: I3746fc3fc98c3578e93e52a08d33541dc30c3f22

2 years ago* Bug 15239 fixed: Console .tag & .userdata not displayed nor documented 66/19366/3
Samuel GOUGEON [Thu, 10 Aug 2017 19:56:01 +0000]
* Bug 15239 fixed: Console .tag & .userdata not displayed nor documented

  http://bugzilla.scilab.org/15239

Change-Id: I7f035c366fc50095722ef6273e0e9c3bc69d5b14

2 years ago* Bug 15260 fixed: sci2exp broken for all cells structs and hypermats 12/19412/3
Samuel GOUGEON [Thu, 31 Aug 2017 23:32:22 +0000]
* Bug 15260 fixed: sci2exp broken for all cells structs and hypermats

  http://bugzilla.scilab.org/15260

  This commit fixes the issue for cells, hypermats and simple structs.
  The bug http://bugzilla.scilab.org/15264 must be priorly fixed to fix
  the case of arrays of structures.
  We should not wait for it (there are more than 900 occurences of
  sci2exp() in Scilab .sci files, that are potentially impacted by this
  bug and that wait). A complementary fix will be commited later.

Change-Id: I902727617b022ed6dbb07d854d67bf37af8c1099

2 years ago* Bug 8297 fixed: cat() slowness was crippling. Rewritten 78/19278/3
Samuel GOUGEON [Tue, 6 Jun 2017 00:05:22 +0000]
* Bug 8297 fixed: cat() slowness was crippling. Rewritten

  * http://bugzilla.scilab.org/8297
  * fastens cat() by x300 for stacking (250,250) matrices
              by > x60000 for stacking (500,500) matrices
                              (0.25s instead of 4h), etc.
  * All non reg tests for other former cat() bugs pass:
    test_run elementary_functions bug_4439
    test_run elementary_functions bug_4460
    test_run elementary_functions bug_4751
    test_run elementary_functions bug_13409
  * Unit test extended.

Change-Id: I7f8d547e3f5549c060e0c97f4e4a08bd32a1bc47