2 years ago[data_structures] fix bug_11227 test. 44/19544/2
Adeline CARNIS [Thu, 23 Nov 2017 14:36:31 +0000]
[data_structures] fix bug_11227 test.

test_run data_structures bug_11227

Change-Id: Icd0c7b3587454f14a32b0e3fb52c830a4704b5cc

2 years ago[core] fix bug_10279 test 43/19543/2
Adeline CARNIS [Thu, 23 Nov 2017 14:16:53 +0000]
[core] fix bug_10279 test

test_run core bug_10279

Change-Id: I46416bf115e4edc4e91a169cedf3235bdc9f9dc4

2 years ago[cacsd] fix nyquist test 42/19542/2
Adeline CARNIS [Thu, 23 Nov 2017 14:00:15 +0000]
[cacsd] fix nyquist test

Change-Id: Ie3855f20d871861a9cd07289b1518a89296f2b13

2 years ago[string] fix bug_8536 test. 50/19550/4
Adeline CARNIS [Mon, 27 Nov 2017 14:52:25 +0000]
[string] fix bug_8536 test.

test_run string bug_8356

Change-Id: I0517857e52b95b228ebac4bd4eea217942a67a6d

2 years ago* Bug 12586 fixed: getting XML comments with xmlXPath was not documented 70/19570/3
Samuel GOUGEON [Sun, 3 Dec 2017 14:25:30 +0000]
* Bug 12586 fixed: getting XML comments with xmlXPath was not documented

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

Change-Id: I956c91a9ef6b1eb915b63d29ab802748c7c8e8c7

2 years ago* Bug 15337 fixed: mistake in l_p definition in norm() page 82/19582/5
Samuel GOUGEON [Tue, 5 Dec 2017 21:14:44 +0000]
* Bug 15337 fixed: mistake in l_p definition in norm() page

  http://bugzilla.scilab.org/15337

Change-Id: I5ea6856fe971477833df1b293fc285b2e6ea68c2

2 years agoFix help generation after 9d8061795fdbc 76/19576/1
Paul Bignier [Mon, 4 Dec 2017 15:23:42 +0000]
Fix help generation after 9d8061795fdbc

Change-Id: Iba93035a1e06e51e0275e2a3de8ce81993925963

2 years ago* Bug #14490 fixed - plot2d crashed when leg parameter was a vector. 29/19529/2
Adeline CARNIS [Fri, 10 Nov 2017 09:40:17 +0000]
* Bug #14490 fixed - plot2d crashed when leg parameter was a vector.

Change-Id: Iaff804916d807ba74be793ee2539378f0f1c5967

3 years agolcm([-25 30]) yielded an error after fixing #15058 69/19569/2
Samuel GOUGEON [Sat, 2 Dec 2017 17:22:20 +0000]
lcm([-25 30]) yielded an error after fixing #15058

 * after https://codereview.scilab.org/19520
 * detected when using the Lycée module

Change-Id: Ia4f9f9d0a74a8ab158b76b675fb6b0e694e1ffbf

3 years ago* Bug 15306 fixed: || help page was not up to date 58/19558/2
Samuel GOUGEON [Tue, 28 Nov 2017 19:43:58 +0000]
* Bug 15306 fixed: || help page was not up to date

 http://bugzilla.scilab.org/15306

Change-Id: Ifb31d1afddf16d6cafe63e7af72e4bce9e0666de

3 years agomaco call: avoid declare variable if 'slot' is already used by a named argument 48/19548/1
Antoine ELIAS [Fri, 24 Nov 2017 11:26:05 +0000]
maco call: avoid declare variable if 'slot' is already used by a named argument

Change-Id: I832c650a7cba61aa05edddd0d9b2b2e03be695c7

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

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

Change-Id: I173fe1da5222cf26028aa95dbac85806a2e7c953

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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