5 years agocomparison equal and no equal 13/15913/14
Sylvain GENIN [Thu, 5 Feb 2015 13:27:24 +0000]
comparison equal and no equal

test_run("ast","comparisonequal",["no_check_error_output" ]);
test_run("ast","comparisonnonequal",["no_check_error_output" ]);

Change-Id: I0db55a4eb86a1982332a2ddc9aa45f937fe972ac

5 years agoFix function working on a side-effect of Scilab 5. 77/15977/2
Vincent COUVERT [Thu, 19 Feb 2015 11:26:18 +0000]
Fix function working on a side-effect of Scilab 5.

To test:
test_run("optimization", "bug_8777");
test_run("optimization", "neldermead_rosensuzuki");

Now test_run("optimization") must be OK in YaSp branch.

Change-Id: Id8416a0b6ff5fea1055c0bc810fb9baae8e79318

5 years agoRemove wrong undocumented syntax used here in deff(). 81/15981/2
Vincent COUVERT [Thu, 19 Feb 2015 13:42:30 +0000]
Remove wrong undocumented syntax used here in deff().

Change-Id: I6dc4b4c103869e1dfec4b3fc87164d4550e4a962
Test: test_run differential_equations intc

5 years ago * Replace derivative by numderivative. 01/15901/10
Anais AUBERT [Tue, 3 Feb 2015 12:43:26 +0000]
 * Replace derivative by numderivative.
 * Use fixed step in tests when numderivative is used to replace derivative.
 * Tests based on derivative duplicated to have test cases based on variable step.
 * Management of 'optionals' parameters for "ar" in optim().
 * Fix wrong test about output arguments number in optim().

To test:
test_run("optimization", "bug_12702");
test_run("optimization", "bug_13243");
test_run("optimization", "bug_4083");
test_run("optimization", "bug_9208");
test_run("optimization", "bug_9690");
test_run("helptools", "bug_5222");
test_run("fileio", "getURL");

Change-Id: I24f4b13c9297e22a368cf02dd026482e88824df3

5 years agomemleak in mgetl fixed. 79/15979/2
Cedric Delamarre [Thu, 19 Feb 2015 13:37:59 +0000]
memleak in mgetl fixed.

Change-Id: Ia0b96b7cd9324813ec83470aa4dd333bbc4954ab

5 years ago* numdiff removed. Please use numderivative instead. 78/15978/1
Vincent COUVERT [Thu, 19 Feb 2015 13:07:26 +0000]
* numdiff removed. Please use numderivative instead.
 ==> See https://codereview.scilab.org/#/c/15903/
* derivative removed. Please use numderivative instead.
 ==> See https://codereview.scilab.org/#/c/14629/

Changes updated + remaining files removed.

Change-Id: Iec21e406fecd22297f87ad5bc3b49c335064a212

5 years agoremoved numdiff 03/15903/2
Anais AUBERT [Tue, 3 Feb 2015 13:41:20 +0000]
removed numdiff

Change-Id: Ieb233b74f41cc56c318650ccd3e6e4c316b7e1c0

5 years agoregenerated bug 7181 ref 76/15976/2
Anais AUBERT [Thu, 19 Feb 2015 10:30:49 +0000]
regenerated bug 7181 ref

Change-Id: I4cfd47f3055cf5a69bffa26c78ee17a46dc3cd4d

5 years agofix exists error message 75/15975/2
Anais AUBERT [Thu, 19 Feb 2015 09:56:51 +0000]
fix exists error message

test_run("core","bug_3296",["no_check_error_output" ]);

Change-Id: Ib212b5197244879a4f97e9ca0c90b637cdb20008

5 years agompi module plugged. 74/15974/5
Cedric Delamarre [Wed, 18 Feb 2015 16:20:55 +0000]
mpi module plugged.

Change-Id: Ic3e2daeaa95e5892905ef3f45f4fecb47d2d64c7

5 years agoXcos MVC: use std::unordered_map for object model 37/15937/2
Clément DAVID [Wed, 11 Feb 2015 16:22:22 +0000]
Xcos MVC: use std::unordered_map for object model

Model::getObject is far more called than object creation ; an hashmap
implementation reduce the execution time.

Change-Id: Ia12454693e98d85d928cebf8195f4e62ecfd965a

5 years agoFix Mac OS X compilation after: 73/15973/1
Vincent COUVERT [Wed, 18 Feb 2015 16:29:19 +0000]
Fix Mac OS X compilation after:
https://codereview.scilab.org/#/c/15966/
https://codereview.scilab.org/#/c/15962/

test_run("output_stream","bug_2969");
x = uint32(170 * 256 * 256 * 256);
sprintf('%8x',x)
test_run("output_stream","bug_1540");

Change-Id: Ie360f4d64ef3d10f143e57c360aabc5e8f08c2b4

5 years agofix lines(0,0) 69/15969/3
Anais AUBERT [Wed, 18 Feb 2015 14:15:24 +0000]
fix lines(0,0)

Change-Id: I7499bedf7437a1fbe50544f90fce8ddc78b1fd6a

5 years agoregenerated output_stream ref files 70/15970/2
Anais AUBERT [Wed, 18 Feb 2015 15:13:45 +0000]
regenerated output_stream ref files

Change-Id: I74fe0ec4c822c827a515a4ad995736398b0a2d88

5 years agoregenerated bug 3070 test ref file 60/15060/3
Anais AUBERT [Thu, 21 Aug 2014 13:39:08 +0000]
regenerated bug 3070 test ref file

Change-Id: Ia7145b9274ab7d85bcc7d25e17e5588a9db80eeb

5 years agooptim gateway corrected. 72/15972/2
Cedric Delamarre [Wed, 18 Feb 2015 15:34:37 +0000]
optim gateway corrected.

Change-Id: Id96f6bd31a1fcf3c83dd40b7eaa3bc455c758866

5 years agoFix graphics data files: 24/15824/4
Anais AUBERT [Thu, 15 Jan 2015 12:53:46 +0000]
Fix graphics data files:
 - *.dat regenerated in Scialb 5.5.1
 - bug_13114_1.sod regenerated in Scilab 5.4.1 using save("bug_13114_1.sod", "h")
 - bug_13114_1.sod regenerated in Scialb 5.5.1

Change-Id: I1f2d7cec86ec75135e40bcf9e829ae520e8149cf

5 years agoregenerated bug 8874 ref 68/15968/1
Anais AUBERT [Wed, 18 Feb 2015 13:15:13 +0000]
regenerated bug 8874 ref

Change-Id: Iaa8058ad46fb30a94d1772000e86a299324e76d5

5 years agosetfield fixed 67/15967/2
Cedric Delamarre [Wed, 18 Feb 2015 12:47:16 +0000]
setfield fixed

Change-Id: Ia5e2b58ad4c83571f90d43cb0ccb9eb81ed5c7ce

5 years agofix bug 8874 test 64/15964/2
Anais AUBERT [Wed, 18 Feb 2015 08:49:38 +0000]
fix bug 8874 test

Change-Id: Ic68b9db52f043b245147de93f9a906593470df16

5 years agofix hexadecimal display with sprintf 66/15966/1
Anais AUBERT [Wed, 18 Feb 2015 12:46:40 +0000]
fix hexadecimal display with sprintf

test_run("output_stream","bug_2969",["no_check_error_output" "short_summary" ]);

x = uint32(170 * 256 * 256 * 256);
sprintf('%8x',x)

Change-Id: I05281a792e7a091f699ed1d9700640503dd59860

5 years agofix windows compilation and some warnings 65/15965/1
Antoine ELIAS [Wed, 18 Feb 2015 08:49:57 +0000]
fix windows compilation and some warnings

Change-Id: I0ed1fa58c90d0a8245b7ab73894654462aa02c18

5 years agofix printf of nan and inf 62/15962/3
Anais AUBERT [Tue, 17 Feb 2015 10:26:13 +0000]
fix printf of nan and inf

test_run("output_stream","bug_1540",["no_check_error_output" ]);

Change-Id: I8b80c7fbcf8998c027d8d288c4788a01e57e3c71

5 years agofix windows compilation after ffcd8e2e #2 61/15961/2
Clément DAVID [Tue, 17 Feb 2015 10:22:16 +0000]
fix windows compilation after ffcd8e2e #2

Rational:
 includes/ should only contain file used in others modules
 src/cpp/ contains files used by gateways and business logic

Change-Id: If22d34d40de86edcd8cf34cbe3eb7f5acd5dcbe5

5 years agofix windows compilation after ffcd8e2e 59/15959/1
Clément DAVID [Tue, 17 Feb 2015 09:05:00 +0000]
fix windows compilation after ffcd8e2e

Change-Id: Ia0325ddf445cbfd83a83bd7cd169ac9e6eed288a

5 years agoXcos MVC: use var2vec and vec2var to encode and decode 'opar' and 'odstate' fields 33/15933/13
Paul Bignier [Tue, 10 Feb 2015 15:40:42 +0000]
Xcos MVC: use var2vec and vec2var to encode and decode 'opar' and 'odstate' fields

 * Moved var2vec and vec2var code to Scicos sources
   In the process, they now take an std::vector<double>, to reduce copies
 * Fixed vec2var for complex data
 * Fixed their default values to match var2vec's empty list

Change-Id: I714210ad87e27bcddf045bb3ff0bb5ff4d08a93d

5 years agoXcos : allow scicosim to call functions and macros 83/15883/8
Antoine ELIAS [Thu, 29 Jan 2015 13:49:11 +0000]
Xcos : allow scicosim to call functions and macros

Change-Id: I341a750a6604b7c9eddd4c16fd82cb79c21cd57f

5 years agomove some methode from arrayof.hxx to arrayof.cpp 55/15955/5
Cedric Delamarre [Fri, 13 Feb 2015 16:35:55 +0000]
move some methode from arrayof.hxx to arrayof.cpp

Change-Id: I86c5cc2f9e4b27c26ef34a5cd7e2a9c60e06a170

5 years agoread and write, know the strings 58/15958/2
Sylvain GENIN [Mon, 16 Feb 2015 09:42:10 +0000]
read and write, know the strings

Change-Id: Ie18fafccadf22d982308455a55253f0adf657d58

5 years agoScicos gateways: minor fixes 72/15872/4
Paul Bignier [Wed, 28 Jan 2015 10:59:34 +0000]
Scicos gateways: minor fixes

Change-Id: Ieb357e4683a2e78675176799d4a05746f034e1ad

5 years agoXcos: pass simulation 82/15682/34
Paul Bignier [Tue, 9 Dec 2014 16:23:50 +0000]
Xcos: pass simulation

 * Rewrite sci_curblock, il_state.c, il_sim.c, and sci_scicosim to C++
 * Adapt scicos.c and import.c to work with the new Scilab API

Change-Id: I4c19beb44cfb103601f5bc42c0f148487d4c0493

5 years agoregenerated ss2tf ref 56/15956/1
Anais AUBERT [Mon, 16 Feb 2015 08:31:46 +0000]
regenerated ss2tf ref

Change-Id: I8b75d636aa3cfb6dd11d37a32d3c662f6844f0f5

5 years agofix ss2tf test 51/15951/3
Anais AUBERT [Fri, 13 Feb 2015 14:49:35 +0000]
fix ss2tf test

Change-Id: I7cfd8e1823dc6c580baa05f522df343fb564e23e

5 years agoadd missing dia.ref in m2sci 47/15947/3
Anais AUBERT [Fri, 13 Feb 2015 13:24:11 +0000]
add missing dia.ref in m2sci

Change-Id: I7117813708743a87650bb185d28288988ae52321

5 years agoadd more m2sci dia.ref 44/15944/2
Anais AUBERT [Fri, 13 Feb 2015 11:26:26 +0000]
add more m2sci dia.ref

Change-Id: If7d129d66a9c28b2ca97c3169f1ae0f4035d5009

5 years agoadd m2sci dia.ref 43/15943/2
Anais AUBERT [Fri, 13 Feb 2015 10:37:27 +0000]
add m2sci dia.ref

Change-Id: I4e6507f8821c599b423eb38963604646f50b8df9

5 years agoUpdate error message in test after https://codereview.scilab.org/#/c/15953/ 54/15954/1
Vincent COUVERT [Fri, 13 Feb 2015 15:42:00 +0000]
Update error message in test after https://codereview.scilab.org/#/c/15953/

Change-Id: Iabb6c1eb409ab701b9d1cb48ca03e3b0ac5f6614

5 years agobug_10830 fixed 53/15953/1
Cedric Delamarre [Fri, 13 Feb 2015 15:16:54 +0000]
bug_10830 fixed

Change-Id: I7c58931750e62a56802f15265fd9d0c608349550

5 years agoRevert "bug_10830 fixed" 52/15952/2
Cédric DELAMARRE [Fri, 13 Feb 2015 15:11:15 +0000]
Revert "bug_10830 fixed"

This reverts commit 09aa9e8d473d480c6d1f9959f38be133775d65da.

Change-Id: I412e3fdd904c9529546f0a3623e944b94adcb3dc

5 years agofixe : polynomials : bug_12679 49/15949/3
Sylvain GENIN [Fri, 13 Feb 2015 14:09:26 +0000]
fixe : polynomials : bug_12679

clear parasit value
test_run("polynomials","bug_12679",["no_check_error_output" ]);

Change-Id: I0fba98a189b25bd63ef5730d8a25a263f5528bc4

5 years agoThis file was removed by https://codereview.scilab.org/#/c/9008/ 50/15950/1
Vincent COUVERT [Fri, 13 Feb 2015 14:11:30 +0000]
This file was removed by https://codereview.scilab.org/#/c/9008/

Change-Id: Ic9eeeac7f98d6fb1d88359cf66b1359eef4b67b7

5 years agobug_10830 fixed 48/15948/2
Cedric Delamarre [Fri, 13 Feb 2015 13:39:03 +0000]
bug_10830 fixed

test_run data_structures bug_10830

Change-Id: I04ea2cfa6cff26b2ded18ee927c0501349cd2874

5 years agostruct gateway fixed. 42/15942/1
Cedric Delamarre [Fri, 13 Feb 2015 09:41:48 +0000]
struct gateway fixed.

Change-Id: Ib948357566cb8b5b3062c86ff0a5e0c8babeabf9

5 years agofftw module plugged. 08/9008/11
Cedric Delamarre [Fri, 14 Sep 2012 09:10:20 +0000]
fftw module plugged.

Change-Id: I8712b76397e8a2b9dc734fb5f9b20a22d35563f8

5 years agoTest if file exists before trying to load it (to avoid messages in stderr). 32/15932/1
Vincent COUVERT [Tue, 10 Feb 2015 14:57:05 +0000]
Test if file exists before trying to load it (to avoid messages in stderr).

Update SCI/modules/m2sci/tests/nonreg_tests/bug_683.tst for Scilab 6 (test case for load modification).

To test:
test_run m2sci bug_683
exec SCI/modules/development_tools/tests/nonreg_tests/bug_5149.tst

Change-Id: Icdabca942ec031c82cad8b25373dbcf814a6c85c

5 years agoFirst macr2tree implementation based on AST. 14/15914/8
Antoine ELIAS [Thu, 5 Feb 2015 13:43:48 +0000]
First macr2tree implementation based on AST.

Change-Id: I0ffa8c95ede341cb0767f05a08c4d6ada8f80e5d

5 years agoFix MEX files link. 20/15920/7
Vincent COUVERT [Fri, 6 Feb 2015 15:22:30 +0000]
Fix MEX files link.
Update tests to use assert_* functions.
Regenerate refs (contained many useless blank lines).

To test: test_run("mexlib", ["mexCall" "mexEvalString" "mexPrintf" "mexPutFull" "mexPutVariable" "mexWarnMsgTxt" "mxAddField" "mxArrayToString" "mxCalcSingleSubscript" "mxCheckTypes" "mxCreateCell" "mxCreateCharMatrixFromStrings" "mxCreateDouble" ...
   "mxCreateLogicalArray" "mxCreateLogicalMatrix" "mxCreateLogicalScalar" "mxCreateNumericArray" "mxCreateString" "mxCreateStruct" "mxDuplicateArray" "mxGetChars" "mxGetClassID" "mxGetClassName" "mxGetDimensions" "mxGetElementSize" "mxGetEps" ...
   "mxGetField" "mxGetFieldByNumber" "mxGetFieldNameByNumber" "mxGetInf" "mxGetLogicals" "mxGetNaN" "mxGetNumberOfDimensions" "mxGetNumberOfElements" "mxGetNumberOfFields" "mxGetScalar" "mxGetSetData" "mxGetSetImagData" "mxGetSetMN" "mxGetSetPri" "mxGetString"  ...
   "mxIsClass" "mxIsComplex" "mxIsEmpty" "mxIsFinite" "mxIsInf" "mxIsLogicalScalar" "mxIsNaN" "mxMalloc" "mxSetCell" "mxSetDimensions" "mxSetField" "mxSetFieldByNumber" "bug_614"])

Change-Id: I83453e01b3d0487ee324796fc6db90dce339b2ed

5 years agoScicos gateways: rewrite sci_var2vec and sci_vec2var to C++ 88/15888/14
Paul Bignier [Fri, 30 Jan 2015 13:41:28 +0000]
Scicos gateways: rewrite sci_var2vec and sci_vec2var to C++

 * Reuse 'opar' and 'odstate' encoding format

Change-Id: Ie01419f6f45a555e309d76c8b3ad8812d883f582

5 years agoFinalize JVM module for Scilab 6. 04/15904/4
Vincent COUVERT [Tue, 3 Feb 2015 14:18:49 +0000]
Finalize JVM module for Scilab 6.

To test: test_run jvm

Change-Id: I3da5d6f925c9b5e4c5d3cf282443cfbb8cf59ea3

5 years agofix mgetl messages 08/15908/2
Anais AUBERT [Wed, 4 Feb 2015 13:35:28 +0000]
fix mgetl messages

test_run("fileio","bug_3427",["no_check_error_output" ]);

Change-Id: Ieed64a1de23397482a0b9237928d94c3156023e1

5 years agoString: fix evstr base case 26/15926/2
Paul Bignier [Tue, 10 Feb 2015 07:54:51 +0000]
String: fix evstr base case

 * evstr("") failed because YaSp fails to evaluate '[;]' (parser error)

Change-Id: Ie8c02571df5e80e9a46fd06bf0bc74dfcd495d4e

5 years agoFix structure field deletion by inserting null(). 27/15927/1
Vincent COUVERT [Tue, 10 Feb 2015 08:44:28 +0000]
Fix structure field deletion by inserting null().

To test: test_run data_structures struct

Change-Id: I0d51831893a3ea3d38960254203426c630fc4b75

5 years agoReset return flag while running ForExp 22/15922/4
Vincent COUVERT [Mon, 9 Feb 2015 14:09:45 +0000]
Reset return flag while running ForExp

Change-Id: I2ee8407159d9e51c087705a7e0ccd3acba300e71

5 years agofix linux compilation 23/15923/1
Anais AUBERT [Mon, 9 Feb 2015 14:21:14 +0000]
fix linux compilation

Change-Id: Iab90453dcd602488c3532ada5135c57900299bcc

5 years agofixe loadmatfile : 67/15867/9
Sylvain GENIN [Mon, 26 Jan 2015 14:17:37 +0000]
fixe loadmatfile :
test_run("matio","loadmatfile",["no_check_error_output" ]);

pass of c to cpp for

CreateHyperMatrixVariable
CreateStructVariable
CreateCellVariable

add new file".mat" in loadmatfile for testing the struct with sparse

fixe cell empty

Change-Id: I892389310741a030b41b95ae040c21e793f6a03c

5 years agofix '$ / x' waiting refactor of operations 16/15916/2
Antoine ELIAS [Thu, 5 Feb 2015 13:56:00 +0000]
fix '$ / x' waiting refactor of operations

Change-Id: Iddcf3f19946cbd9af956b4c7af6cbd4cb79c7b56

5 years agoAvoid the last extraction when insertion in a FieldExp. 19/15919/2
Cedric Delamarre [Fri, 6 Feb 2015 09:26:00 +0000]
Avoid the last extraction when insertion in a FieldExp.

test_run ast insert

Change-Id: Iffae84a509a326f81cee23ed439b0d62e7276d05

5 years agoXcos MVC: fix valgrind detected invalid access 81/15881/5
Clément DAVID [Thu, 29 Jan 2015 11:14:48 +0000]
Xcos MVC: fix valgrind detected invalid access

 * Rewrite the opar / odstate encoding
 * fix new[] / delete mismatch

Change-Id: I4e2de62fec7bce3b0e1a0d02ce07be47b10ee4cc

5 years agofix sprintf to take care of %% 06/15906/2
Antoine ELIAS [Tue, 3 Feb 2015 14:34:13 +0000]
fix sprintf to take care of %%

Change-Id: I84e3171303e6289444b6bcdfb9096290133bbc9d

5 years agofix scinotes tests 05/15905/1
Anais AUBERT [Tue, 3 Feb 2015 14:21:26 +0000]
fix scinotes tests

Change-Id: Icff3b211dca54269501b69ddadb4b8acc542aae5

5 years agoadd function libraryinfo and librarieslist 00/15900/4
Antoine ELIAS [Tue, 3 Feb 2015 08:22:25 +0000]
add function libraryinfo and librarieslist

test_run functions get_function_path
test_run functions libraryinfo.encoding
test_run functions bug_10391
test_run functions bug_4608
test_run functions bug_7619
test_run functions bug_7952
test_run helptools bug_5486

Tests in Scinotes: CopyAsHTML, bug_5707, ...

Change-Id: I7727799de722de6f55224a17f553698d543396c3

5 years agofix bug 5588 98/15898/2
Anais AUBERT [Mon, 2 Feb 2015 15:27:16 +0000]
fix bug 5588

Change-Id: Ib67f29e7823ab349ee462a593c84ad505e4ef92d

5 years agofix bug 480 97/15897/2
Anais AUBERT [Mon, 2 Feb 2015 15:15:36 +0000]
fix bug 480

Change-Id: I964d80265d2135cbab634c10d3dcf8d09f238f2a

5 years agoupdate whereis to return several libraries names 99/15899/1
Antoine ELIAS [Mon, 2 Feb 2015 16:04:03 +0000]
update whereis to return several libraries names

Change-Id: I6b80a98a8fb9e3342a280adedaa3177fc0f3af00

5 years agofix bad performance with sparse() function 94/15894/5
Antoine ELIAS [Mon, 2 Feb 2015 09:10:48 +0000]
fix bad performance with sparse() function
and fix umfpack tests

Change-Id: I605475cffeb9defbfdaed6719914a79f6794d032

5 years agoFix ref for Mac OS X after update of .tst 96/15896/1
Vincent COUVERT [Mon, 2 Feb 2015 10:56:39 +0000]
Fix ref for Mac OS X after update of .tst

Change-Id: Ied7189c6af336056d8ab1dfa75cba124550c6358

5 years agoDisplay changed between 5.X and 6.X (%s ==> %lg) 95/15895/1
Vincent COUVERT [Mon, 2 Feb 2015 10:37:16 +0000]
Display changed between 5.X and 6.X (%s ==> %lg)

Change-Id: I4b623a048048782a4557b98ae47c9d857a4c79d6

5 years ago'hidden' macros from lib are visible only in main macro 85/15885/7
Antoine ELIAS [Thu, 29 Jan 2015 16:20:37 +0000]
'hidden' macros from lib are visible only in main macro

Change-Id: Ifd233d237dc99606bbc8532d7876d01e22ff4d04

5 years agoremoved bug 8279 77/15777/4
Anais AUBERT [Fri, 9 Jan 2015 13:08:48 +0000]
removed bug 8279

Change-Id: Ic388bfaefec7aeb9bd4c4488fe32f1d94baa125f

5 years agooptim fixed again 70/15870/3
Anais AUBERT [Tue, 27 Jan 2015 13:49:36 +0000]
optim fixed again

Change-Id: Ib8cde85f52b91ea359eef2b3c88180aaf2f48308

5 years agoSome modifications about time and error messages ignored (used for Jenkins) 92/15892/1
Vincent COUVERT [Fri, 30 Jan 2015 15:30:24 +0000]
Some modifications about time and error messages ignored (used for Jenkins)

Change-Id: I81d2ba305c639fd69253884fbedffa66e4d4fc5f

5 years agoFix wcsdup definition against misc versions of GLIBC 89/15889/1
Vincent COUVERT [Fri, 30 Jan 2015 15:00:24 +0000]
Fix wcsdup definition against misc versions of GLIBC

Change-Id: Ibad5a7424b85909ea49c89c8ef0f7fd0b2038895

5 years agoAdapt include path for Eigen to new prerequirements structure 86/15886/1
Vincent COUVERT [Fri, 30 Jan 2015 09:09:14 +0000]
Adapt include path for Eigen to new prerequirements structure

Change-Id: I1ff9f86c4568752d486fad718743764e838e48fe

5 years agoRevert "Fix wcsdup definition against misc versions of GLIBC" 84/15884/2
Vincent COUVERT [Thu, 29 Jan 2015 14:01:04 +0000]
Revert "Fix wcsdup definition against misc versions of GLIBC"

This reverts commit 0d1eb56cd377a3665e4f5c2a809d7575a5db77ec.

Does not fix the issue.

Change-Id: Idb70c94e637907ba6e7d69e51e1b03c0c875eea1

5 years agoXcos MVC : fix trouble with MSVC copy constructor 77/15877/4
Antoine ELIAS [Wed, 28 Jan 2015 14:57:57 +0000]
Xcos MVC : fix trouble with MSVC copy constructor

Regenerate some tests to validate the empty string modification.

Change-Id: I249ef524d189fc0f2fbe96e351d3d3d6e284d1fd

5 years agoFix ref (double quotes) after https://codereview.scilab.org/#/c/15479/ 79/15879/1
Vincent COUVERT [Wed, 28 Jan 2015 16:17:14 +0000]
Fix ref (double quotes) after https://codereview.scilab.org/#/c/15479/

Change-Id: I23d8252db22c5d0c8551f7551b2f73aa6cf906f0

5 years agoFix ClassLoader after https://codereview.scilab.org/#/c/15868/ 78/15878/1
Vincent COUVERT [Wed, 28 Jan 2015 16:01:37 +0000]
Fix ClassLoader after https://codereview.scilab.org/#/c/15868/

This class can be called directly from EDT when experting graphics from menu File/Export To...

Change-Id: I43c9027908e2e8306fffb819a62f9ada7906df53

5 years agoAdd c interface to manage dyn link function via index 21/15821/9
Antoine ELIAS [Thu, 15 Jan 2015 10:14:08 +0000]
Add c interface to manage dyn link function via index

 * getEntryPointPosition() replaces iislink()
 * getEntryPointFromPosition() replaces GetDynFunc()

Change-Id: Ida466f100180b0bb0b591e9dd1b5ed24dc370d06

5 years agoFix test for list comparison (wrong test validated by error). 76/15876/3
Vincent COUVERT [Wed, 28 Jan 2015 13:00:32 +0000]
Fix test for list comparison (wrong test validated by error).
See: https://codereview.scilab.org/#/c/15666/
To test: test_run ast eq

Change-Id: I5fce7b7302b8a103913f97c8cf86dcc882e92461

5 years agoAdd missing file in binary version. 75/15875/2
Vincent COUVERT [Wed, 28 Jan 2015 12:48:27 +0000]
Add missing file in binary version.
Test: test_run ast newtype

Change-Id: I22100032d86ae2ca25f62ec9401caf7d4fbce7db

5 years agoupdated taucs_chget test 73/15873/2
Anais AUBERT [Wed, 28 Jan 2015 11:10:00 +0000]
updated taucs_chget test

Change-Id: Id0853290fd3de8b81ecd80b7e9b99e8a8032435b

5 years agoFix error number in tests after https://codereview.scilab.org/#/c/15869/ (246 ==... 74/15874/1
Vincent COUVERT [Wed, 28 Jan 2015 12:32:44 +0000]
Fix error number in tests after https://codereview.scilab.org/#/c/15869/ (246 ==> 999)

Change-Id: I7a38854be7238405b09017f29fd629463799802b

5 years agofix ast tests 69/15869/3
Antoine ELIAS [Tue, 27 Jan 2015 10:06:20 +0000]
fix ast tests

Change-Id: Iab65f78b476c827f20551753a4cec933288a8b3f

5 years agofix windows compilation after : https://codereview.scilab.org/#/c/15628/ 71/15871/1
Antoine ELIAS [Tue, 27 Jan 2015 15:23:39 +0000]
fix windows compilation after : https://codereview.scilab.org/#/c/15628/

Change-Id: I938eaa067ddc43ac06c70c7322501cb001a5fc24

5 years agoXcos: pass compilation 28/15628/35
Paul Bignier [Tue, 2 Dec 2014 12:51:57 +0000]
Xcos: pass compilation

 * Rewrite sci_buildouttb sci_ctree2, sci_ctree3, sci_ctree4 and sci_duplicate into C++
 * Give dummy properties to Cpr and State Adapters to be able to use them, returned as TLists
 * Fix script2var to work with YaSp's unordered stack

Change-Id: I7b8ec629242a9d01a317618fbf125b6565b60457

5 years agoXcos MVC: allow integer column vectors in nzcross and nmode 53/15853/2
Paul Bignier [Fri, 23 Jan 2015 09:17:29 +0000]
Xcos MVC: allow integer column vectors in nzcross and nmode

Change-Id: I560a8049b791bebe3f04e337784e84279d60e146

5 years agoXcos MVC: allow hypermatrices in opar and odstate 50/15850/2
Paul Bignier [Thu, 22 Jan 2015 14:41:23 +0000]
Xcos MVC: allow hypermatrices in opar and odstate

 * Updated the encoding to handle multiple dimensions

Change-Id: I9effc320235860c0af335185de8d599957e4428e

5 years agoFix PDF/PS export for Scilab 6 (Call ClassLoader in EDT) 68/15868/3
Vincent COUVERT [Mon, 26 Jan 2015 15:12:36 +0000]
Fix PDF/PS export for Scilab 6 (Call ClassLoader in EDT)

Change-Id: I15c71cf4a6d9b7d3b14a02f08c52e70d9ee3671f

5 years agofix some tests errors in optimization module 33/15833/4
Antoine ELIAS [Fri, 16 Jan 2015 09:46:12 +0000]
fix some tests errors in optimization module

Change-Id: Ib0fdaa75595112f2745514b79f57622f6bc31f49

5 years agodouble free fix 64/15864/4
Cedric Delamarre [Mon, 26 Jan 2015 12:10:48 +0000]
double free fix

foo1=tlist(['foo', 'in', 'out'], 1, 1);
foo2=tlist(['foo', 'in', 'out'], 1, 1);
foo3=tlist(['foo', 'in', 'out'], 1, 1);

bllst=list(foo1, foo2, foo3);
connectmat=[2 1 1 1; 3 1 2 1 ; 1 1 2 1];
bllst(connectmat(1,1)).out(1)=10;

Change-Id: I025db031c93f04c2c0dcc196bcd31ac31e06e167

5 years agoapi_scilab: remove useless & wrong check 98/15798/2
Simon Marchetto [Tue, 13 Jan 2015 08:43:35 +0000]
api_scilab: remove useless & wrong check

Change-Id: Icc6871882146c30577999c9f59eb46de59673f99

5 years agoRemove tests based on old save/load syntax. A new test based on new syntax already... 66/15866/1
Vincent COUVERT [Mon, 26 Jan 2015 12:38:36 +0000]
Remove tests based on old save/load syntax. A new test based on new syntax already exists for each one.

Change-Id: I86ecedff19941aa396d09b9e092d0dcf5274b79f

5 years agoregenerated bug 7224 cos file 63/15863/2
Anais AUBERT [Mon, 26 Jan 2015 09:55:42 +0000]
regenerated bug 7224 cos file

Change-Id: I07173bc74f44cebb98d92b527d1d0383d93edace

5 years agoFix test after https://codereview.scilab.org/#/c/15786/: %io variable now exists 62/15862/1
Vincent COUVERT [Mon, 26 Jan 2015 09:46:23 +0000]
Fix test after https://codereview.scilab.org/#/c/15786/: %io variable now exists

Change-Id: I6393aa93e44fea8c65b2c8beda6411323fd5f2a9

5 years agoCreateMatlabVariable : add in the switch the create variable of int64 and uint64 64/15764/4
Sylvain GENIN [Thu, 8 Jan 2015 14:05:27 +0000]
CreateMatlabVariable : add in the switch the create variable of int64 and uint64

Change-Id: I05bde45bf3ba564a08c66dc7c2fdabc88616d903

5 years agofix bug 9285 58/15858/2
Anais AUBERT [Fri, 23 Jan 2015 12:49:12 +0000]
fix bug 9285

Change-Id: I439c0e9b76ae0864b1c72c0e79431002e7dbb03f

5 years agoRemove useless display 61/15861/1
Vincent COUVERT [Fri, 23 Jan 2015 16:00:14 +0000]
Remove useless display

Change-Id: I0414c6fe51a714be9d5ae22254b8e1fae4da0d0b

5 years agoFix error messages + initialization of malloc'd buffer 60/15860/1
Vincent COUVERT [Fri, 23 Jan 2015 15:59:51 +0000]
Fix error messages + initialization of malloc'd buffer

Change-Id: Ib17a6d772a4ca0a9b3707905ebcb36a5038b29f4

5 years agofix bug 9836 59/15859/3
Anais AUBERT [Fri, 23 Jan 2015 14:03:35 +0000]
fix bug 9836

Change-Id: I69cf65d617c51dbfb01f62421080df252c84c065

5 years agoWIP : porting of read/write fortran interface 86/15786/15
Antoine ELIAS [Mon, 12 Jan 2015 09:17:17 +0000]
WIP : porting of read/write fortran interface

Change-Id: I31a2c7bc01d1f325d111762d8fdcd82f4900a571