5 years agoexec : management of macro and macrofile. 55/11555/8
Cedric Delamarre [Wed, 22 May 2013 07:52:57 +0000]
exec : management of macro and macrofile.

Change-Id: Ia440a19553312f9a658dd0f2d2992abc971fb492

5 years agofix bug_6690: up date random permutations 80/15580/8
Sylvain GENIN [Fri, 21 Nov 2014 16:40:17 +0000]
fix bug_6690: up date random permutations

test_run("randlib","bug_6690",["no_check_error_output" ]);

Change-Id: Id6cc7bd5dc180e89f2b500e09bd0e59da9b8ceff

5 years agodisplay refs only in debug. 02/15602/1
Cedric Delamarre [Thu, 27 Nov 2014 14:10:51 +0000]
display refs only in debug.

Change-Id: I9f74ca43a07b73d0c78d753ba9c308f4ba33d691

5 years agoupdated bug 11996 test 90/15490/2
Anais AUBERT [Thu, 6 Nov 2014 08:40:44 +0000]
updated bug 11996 test

Change-Id: I8622f451e8c01a59347af43144283ef550fb6acf

5 years agoXcos MVC: allow empty matrix in 'equations' 73/15573/3
Paul Bignier [Thu, 20 Nov 2014 13:52:12 +0000]
Xcos MVC: allow empty matrix in 'equations'

 --> loadXcosLibs();
 --> exec("SCI/test/xcos/Boost_Converter.cosf", -1);
 --> exec("SCI/test/xcos/Colpitts_Oscillator.cosf", -1);
 --> exec("SCI/test/xcos/DC_DC_Buck_Converter.cosf", -1);
 --> exec("SCI/test/xcos/Switched_capacitor_integrator.cosf", -1);

Change-Id: I7cafaff1bc6239df4b87d43646b5aec486e7bfe2

5 years agoXcos MVC: properly handle implicit links, extend 'equations' 70/15570/4
Paul Bignier [Thu, 20 Nov 2014 13:22:41 +0000]
Xcos MVC: properly handle implicit links, extend 'equations'

 * Properly separate implicit ports from explicit ones
 * When linking to an already linked port, just disconnect the link that was connected to it
 * Allow real matrices in parameters values field of 'equations' property

Change-Id: I255354b36d3eb23871a61dd043649de5873c8f85

5 years agoXcos MVC: fix for 'opar' and 'odstate' properties 41/15541/7
Paul Bignier [Tue, 18 Nov 2014 10:39:33 +0000]
Xcos MVC: fix for 'opar' and 'odstate' properties

 * Copied only parts of integers. Now using buffers to fully fill the storage integers

 --> loadXcosLibs();
 --> exec("SCI/test/xcos/SRFLIPFLOP_en_US.cosf", -1);

Change-Id: I4f93fc34583dbc34024771e5cb2af24c0e44d290

5 years agoXcos MVC: allow passing mlists to 'objs' 56/15556/4
Paul Bignier [Wed, 19 Nov 2014 11:01:15 +0000]
Xcos MVC: allow passing mlists to 'objs'

 * 'objs' can now receive Annotations as mlists
 * This way, all objects of LV.cosf are properly deleted
 * For Text blocks, allow 'orig', 'sz' and 'exprs' to be defined either in row or column vectors

Change-Id: I4a3ed77ba4210034fc6f350e5b2f4a902c6e42b2

5 years agoXcos MVC: fixes to load LV.cosf 52/15552/4
Paul Bignier [Tue, 18 Nov 2014 16:03:22 +0000]
Xcos MVC: fixes to load LV.cosf

 * Allow 'orig', 'sz' and 'exprs' properties to be defined either in row or column vectors
 * Allow the last 'tol' parameter to be missing (defaults to 0)
 * Ignore the superfluous 'in_implicit' and 'out_implicit' parameters

 --> loadXcosLibs();
 --> exec("SCI/test/xcos/LV.cosf",-1)

Change-Id: Ifa276e546f5420479f495f513a5f318b5e93f814

5 years agoXcos MVC tests: regenerate to satisfy display 74/15574/2
Paul Bignier [Thu, 20 Nov 2014 14:19:18 +0000]
Xcos MVC tests: regenerate to satisfy display

Change-Id: Id57264c74f1c3d3f91f91931976b153e15de25fc

5 years agowindows : fix installation with module fftw 72/15572/2
Antoine ELIAS [Thu, 20 Nov 2014 13:55:20 +0000]
windows : fix installation with module fftw

Change-Id: Id1e1e47a5eaf3435b44af22bae3e14a99eab0f7a

5 years agoactive fftw module 71/15571/2
Antoine ELIAS [Thu, 20 Nov 2014 12:58:03 +0000]
active fftw module

Change-Id: Ibd5f020b458ba5365873597e925e94657546cfdd

5 years agoAST: preserve symbol destruction order across runs 51/15551/2
Clément DAVID [Tue, 18 Nov 2014 15:37:34 +0000]
AST: preserve symbol destruction order across runs

Before this modification, display on scicos tests are not reproductible
as we log destruction order. Preserving the insertion / deletion order
let the user expect the same behavior on each run.

Change-Id: I3da6338675a68f733574b674844f00a8b53d50b2

5 years agoadd isRelease and isDebug macros, ilib_compile take care of scilab compilation mode 67/15567/2
Antoine ELIAS [Thu, 20 Nov 2014 10:29:59 +0000]
add isRelease and isDebug macros, ilib_compile take care of scilab compilation mode

Change-Id: I31a5894375fa57c208c499320f01cc03f9762807

5 years agofix mpi compilation ( not working but compile ) 68/15568/2
Antoine ELIAS [Thu, 20 Nov 2014 12:13:25 +0000]
fix mpi compilation ( not working but compile )

Change-Id: I9e736c11c887c292d66c8d8f6df35d648da5f205

5 years agoUserType print. 08/15508/10
Cedric Delamarre [Mon, 10 Nov 2014 09:45:09 +0000]
UserType print.

test_run("ast","newtype","no_check_error_output");

Change-Id: I4a0a3d3e79d54336133952cc1a1b289d1a533aac

5 years agocomp removed from YaSp. 50/11550/3
Cedric Delamarre [Mon, 20 May 2013 14:06:06 +0000]
comp removed from YaSp.

Change-Id: Iad3fd1473e673401a829c28910d943069b02de21

5 years agofix string test : 59/15559/4
Antoine ELIAS [Fri, 14 Nov 2014 12:55:56 +0000]
fix string test :

 - string(:)
 - string(1:$)
 - ascii("...") must return positive values
 - change tests on macr2tree in not fixed
 - length(sparse) -> return size(sparse, "*")

Change-Id: I6e4b30f5b4ac98658130d01ee0bd16bc47bb08f6

5 years agoFix include paths 64/15564/2
Vincent COUVERT [Wed, 19 Nov 2014 16:05:06 +0000]
Fix include paths

Change-Id: Ia2713fd83ea9a64edff2a4a4eed092803d5e89ad

5 years agofix ldivision with inf and nan 63/15563/4
Anais AUBERT [Wed, 19 Nov 2014 15:55:42 +0000]
fix ldivision with inf and nan

test_run("linear_algebra","bug_2523",["no_check_error_output" ]);

Change-Id: I6cfc8b9338216100731ddbedabcdae357f67169b

5 years agodotDivide scalar complex by matrix fixed. 62/15562/2
Cedric Delamarre [Wed, 19 Nov 2014 15:30:50 +0000]
dotDivide scalar complex by matrix fixed.

// should return a matrix 3x2
2*%i ./ rand(3,2)

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

Change-Id: I724e439cb8f013f894383d05147b0ae9bfda494e

5 years agoclear : test and function fixed 61/15561/2
Cedric Delamarre [Wed, 19 Nov 2014 15:03:32 +0000]
clear : test and function fixed

Change-Id: Id23b2dac88f2f6caff5982f36a8e0c6118043464

5 years agoright divide Poly/Double fixed. 60/15560/3
Cedric Delamarre [Wed, 19 Nov 2014 13:29:39 +0000]
right divide Poly/Double fixed.

[%s %s] / [1 2; 3 4]

Change-Id: I957280be650908b19747496039504d4dba4b521b

5 years agocatch error in OpExp to DecreaseRef. 58/15558/2
Cedric Delamarre [Wed, 19 Nov 2014 11:20:11 +0000]
catch error in OpExp to DecreaseRef.

Change-Id: I57bb91826ab9757a51e323f4fad70d8d77ef15c4

5 years agolusolve : bad error message. 54/15554/5
Anais AUBERT [Wed, 19 Nov 2014 09:00:38 +0000]
lusolve : bad error message.

//error must be displayed
non_zeros=[1,2,3,4,5];
rows_cols=[1,1;2,2;3,3;4,4;5,5];
sp=sparse(rows_cols,non_zeros);
[h,rk]=lufact(sp);
x=lusolve(h,[1;1;1;1])

Change-Id: Ibbf70e330649b31476a31ff6f3fdc6efc05ec119

5 years agoreset error when new prompt occurs. 55/15555/2
Cedric Delamarre [Wed, 19 Nov 2014 09:53:08 +0000]
reset error when new prompt occurs.

Change-Id: Ica50d45cc0fa5b1abc8232d26fed77d53498e377

5 years agoWindows compilation fixed after merge. 50/15550/2
Cedric Delamarre [Tue, 18 Nov 2014 15:43:04 +0000]
Windows compilation fixed after merge.

Change-Id: I9b462f8de50ce77d3dbdacb53d241c0188988bed

5 years agocorr('fft', ...) 21/15521/8
Anais AUBERT [Thu, 13 Nov 2014 13:08:57 +0000]
corr('fft', ...)

deff('[y]=xmacro(se,ist)','y=sin(ist:(ist+se-1))');
x=xmacro(100,1);
[cc1,mm1]=corr(x,2^3);
[cc,mm]=corr('fft',xmacro,100,2^3)
[cc2,mm2]=corr('fft','corexx',100,2^3)

deff('[y]=ymacro(se,ist)','y=cos(ist:(ist+se-1))');
y=ymacro(100,1);
[cc1,mm1]=corr(x,y,2^3);
[cc,mm]=corr('fft',xmacro,ymacro,100,2^3)
[cc2,mm2]=corr('fft','corexx','corexy',100,2^3)

Change-Id: I455cdaf3e9359603800fcdc80cfb87604f5516dc

5 years agoXcos MVC tests: replace display check by assert_checkequal 07/15507/6
Paul Bignier [Fri, 7 Nov 2014 16:44:00 +0000]
Xcos MVC tests: replace display check by assert_checkequal

 * Controlled the order of deletion of the model objets in the last 'clear' instruction
 * SuperBlock.tst still unstable due to SUPER_f.sci implicitly clearing 'in' and 'out' in an uncontrolled order

Change-Id: Ic34d6514ee4361abb2396d74108ea77a08e91427

5 years agoregenerated umfpack test ref 35/15535/4
Anais AUBERT [Mon, 17 Nov 2014 10:17:00 +0000]
regenerated umfpack test ref

Change-Id: I54e59b466e2b5bf27567c2c4a2c90a076ddd9bd0

5 years agoXcos MVC: standardize C++ code 40/15540/3
Clément DAVID [Mon, 17 Nov 2014 15:24:47 +0000]
Xcos MVC: standardize C++ code

 * use m_ prefix for class' members
 * use static members for Singletons
 * use 'const' modifiers for constants

Change-Id: I7b6035f043950836476c2bf1191aa0e5cf80fe0e

5 years agoregenerated bug 8101 test ref 33/15533/4
Anais AUBERT [Mon, 17 Nov 2014 08:23:07 +0000]
regenerated bug 8101 test ref

Change-Id: I6f2b9e1e70d79737ea9cf046619cc478b485a870

5 years agoloadhdf5data_v1 test fixed. 37/15537/3
Cedric Delamarre [Mon, 17 Nov 2014 12:42:06 +0000]
loadhdf5data_v1 test fixed.

test_run("hdf5","loadhdf5data_v1",["no_check_error_output" ]);

Change-Id: Ib0e579660bf8bf4db27baa78f170bc6bd4f846b4

5 years agodisplay fixed when error occured in toString. 36/15536/3
Cedric Delamarre [Mon, 17 Nov 2014 10:56:51 +0000]
display fixed when error occured in toString.

a = h5open(TMPDIR + "/x.sod");
disp(a)
disp(a,a)
list("e", 12, a, %s)

h5close(a);
disp(a)
disp(a,a)
list("e", 12, a, %s)

test_run("hdf5","h5close",["no_check_error_output" ]);
test_run("hdf5","h5ln",["no_check_error_output" ]);

Change-Id: I042f123b73d6b20d587d199e328ce1ea07c8398e

5 years agostring and diplay in exponant mode fixed. 42/15542/3
Cedric Delamarre [Tue, 18 Nov 2014 12:26:31 +0000]
string and diplay in exponant mode fixed.

test_run("simulated_annealing","optim_sa",["no_check_error_output" ]);
test_run("string", "string", "no_check_error_output");

Change-Id: I917bdd71f040017ad44269ebcec047dd1a1ad0b9

5 years agoFix ref after merge 46/15546/1
Vincent COUVERT [Tue, 18 Nov 2014 14:06:53 +0000]
Fix ref after merge

Change-Id: Ic97d7b32dce62afe5f67b27b0bbd78b73cf9a7a2

5 years agoMerge remote-tracking branch 'origin/master' into YaSp 45/15545/1
Vincent COUVERT [Tue, 18 Nov 2014 13:56:42 +0000]
Merge remote-tracking branch 'origin/master' into YaSp

Conflicts:
scilab/modules/mpi/macros/MPIPi.sci
scilab/tools/innosetup/files.iss

Change-Id: Ia11a00d1b615b9f6fafb3c7cb66bd7c1a5a3acde

5 years agoMerge remote-tracking branch 'origin/5.5' 44/15544/1
Vincent COUVERT [Tue, 18 Nov 2014 13:50:07 +0000]
Merge remote-tracking branch 'origin/5.5'

Change-Id: I917bdd71f040017ad44269ebcdc047dd2a1ad0b9

5 years agoXcos MVC: fix 'equations' properties on "empty" list 34/15534/3
Paul Bignier [Mon, 17 Nov 2014 09:04:07 +0000]
Xcos MVC: fix 'equations' properties on "empty" list

Instruction 'modelica()' returns a list of empty fields,
'equations' properties failed with that list.

Change-Id: Ibd3059fc1a6c7517d62276a211839927b7f94e01

5 years agoXcos MVC: deprecate all Adapters' toString (use overload) 26/15426/8
Paul Bignier [Fri, 24 Oct 2014 15:23:51 +0000]
Xcos MVC: deprecate all Adapters' toString (use overload)

 * No overload was defined for Annotations and Links
 * Scicos objects' fields can now be retrieved thanks to "getfield(1, object)"
 * dia.ref has been re-generated accordingly to the changes

Change-Id: I47d12d22fa9f1d8788d9a622c0c8247bd61bbadc

5 years agosparse concatenation fixed. 29/15529/3
Cedric Delamarre [Fri, 14 Nov 2014 13:30:00 +0000]
sparse concatenation fixed.

test_run("ast","sparse",["no_check_error_output" ]);

Change-Id: Ia092c67c449020444a809915d9bd9cdbc0c19d65

5 years agofix conjgrad_list : the .dia file is regenerate 31/15531/1
Sylvain GENIN [Fri, 14 Nov 2014 15:51:56 +0000]
fix conjgrad_list : the .dia file is regenerate

Change-Id: Icf6f63ffea2e718ba43368abc254fe3429adc2a8

5 years agoManage call on %T without SimpleVar 28/15528/2
Bruno JOFRET [Fri, 14 Nov 2014 13:01:07 +0000]
Manage call on %T without SimpleVar

Change-Id: I413b0fc7f263300d083020f648389eb826c57aa9

5 years agofix bug_3747: error about string function with Types::Function to parameter 10/15510/3
Sylvain GENIN [Mon, 10 Nov 2014 14:19:29 +0000]
fix bug_3747: error about string function with Types::Function to parameter

test_run("string","bug_3747",["no_check_error_output" ]);

Change-Id: If75ad10098871f0cebf8466375b1d9c8ac808678

5 years agofix bug 7236: delete space of expression under test 7236 17/15517/2
Sylvain GENIN [Wed, 12 Nov 2014 09:53:53 +0000]
fix bug 7236: delete space of expression under test 7236

Change-Id: I65827da940319776be5500062d039f22f35f7a1b

5 years agofix library path 27/15527/2
Antoine ELIAS [Fri, 14 Nov 2014 09:56:37 +0000]
fix library path

Change-Id: Ib254a147e4755035d1fcb7ce81972ddbcc9bb78e

5 years agoFix Scilab compilation without fftw 26/15526/3
Vincent COUVERT [Fri, 14 Nov 2014 09:30:31 +0000]
Fix Scilab compilation without fftw

Change-Id: I0da88809d450dd90664bc54b227df988f837e12e

5 years agoFix .dia.ref after https://codereview.scilab.org/#/c/15524/ 25/15525/1
Vincent COUVERT [Fri, 14 Nov 2014 08:48:49 +0000]
Fix .dia.ref after https://codereview.scilab.org/#/c/15524/

Change-Id: I9145d3ea44c0a3180f019ef78f40ac7a2f0243b7

5 years agoupdate completion test 24/15524/4
Antoine ELIAS [Thu, 13 Nov 2014 14:44:58 +0000]
update completion test

Change-Id: I80f07d0cc0b5bc7c8bae185a2914565016bb2d8b

5 years agoadd globals variables in completion list 23/15523/4
Antoine ELIAS [Thu, 13 Nov 2014 14:42:03 +0000]
add globals variables in completion list

Change-Id: Ib52ee04f84944b5f1bc80601e2ca7ac324e7e0b1

5 years agoreplug fftw module 22/15522/3
Antoine ELIAS [Thu, 13 Nov 2014 14:40:29 +0000]
replug fftw module

Change-Id: Ibfc55a56ed62df900601a43a0f2a06b23d4ba6ab

5 years agofix ascii : convert unicode to utf-8 99/15499/4
Sylvain GENIN [Fri, 7 Nov 2014 10:00:29 +0000]
fix ascii :  convert unicode to utf-8

test_run("string","ascii");

Change-Id: I0446e27709a058b675923cc9f9bc43c15958a9d3

5 years agoast : fix insert and library tests 19/15519/2
Antoine ELIAS [Thu, 13 Nov 2014 10:20:45 +0000]
ast : fix insert and library tests

Change-Id: Ic653416b8f9f3c7a2f4ea23c5c3a2dc637479036

5 years agoWindows installer : add mpi option in installer 18/15518/1
Antoine ELIAS [Wed, 12 Nov 2014 11:23:44 +0000]
Windows installer : add mpi option in installer

Change-Id: Idb2fb3881765dcb418fd3adad0790a308d469ea1

5 years agovariable print, disp and string fixed. 16/15516/4
Cedric Delamarre [Mon, 10 Nov 2014 16:51:06 +0000]
variable print, disp and string fixed.

test_run("api_scilab","bug_11046",["no_check_error_output" ]);
test_run("string","blanks",["no_check_error_output" ]);

Change-Id: I228770c70b583c216af18727a233102a61a3140f

5 years agoerror compilation under windows, patch for LinkAdapter 15/15515/6
Sylvain GENIN [Mon, 10 Nov 2014 16:21:37 +0000]
error compilation under windows, patch for LinkAdapter

Change-Id: Icb0c3734e6a90988d86a0d7a8fbc1cb3980c8da0

5 years agoXcos MVC: add a test and use unnamed functions parameters 04/15404/6
Paul Bignier [Tue, 21 Oct 2014 09:48:25 +0000]
Xcos MVC: add a test and use unnamed functions parameters

Change-Id: Ib49b7da4b48570da6c0446a763daff71ada5dbd0

5 years agoXcos MVC: 'exprs' now allow Modelica tlists 82/15382/5
Paul Bignier [Wed, 15 Oct 2014 13:08:13 +0000]
Xcos MVC: 'exprs' now allow Modelica tlists

--> loadXcosLibs();
--> exec("SCI/test/xcos/Platform.cosf")

Change-Id: Idb6f56f6df7b03117d63c726ba9e82d61aacf1be

5 years agoXcos MVC: implement 'equations' 67/15367/10
Paul Bignier [Fri, 10 Oct 2014 14:20:02 +0000]
Xcos MVC: implement 'equations'

 * For the moment it can only contain scalar reals in 'parameters' value.
   To extend that, the information would require to be saved in the view (Adapters) instead of the model.

Change-Id: Iac3fa05cfd7054b28d932daa04e153a1b106e4c5

5 years agoRevert "fix bug 13421 test" 14/15514/1
Vincent COUVERT [Mon, 10 Nov 2014 15:39:25 +0000]
Revert "fix bug 13421 test"

This reverts commit f2f22aa322a782141060bc176bfc327631e4e975.

Does not fix the test

Change-Id: I17afbe70139c48ad4de17b3522cae2a3fe36e27e

5 years agofix bug 13421 test 13/15513/1
Anais AUBERT [Wed, 5 Nov 2014 09:57:16 +0000]
fix bug 13421 test

Change-Id: I0c5c00936e6bdd5734c8b674d1206bbbf4c95d47
(cherry picked from commit 5b04d52300ea3648f75b6425e8513b64b4b1e1e3)

5 years agoRevert "fix blank : there have more than one resultat display" 11/15511/2
Vincent COUVERT [Mon, 10 Nov 2014 14:41:33 +0000]
Revert "fix blank :  there have more than one resultat display"

This reverts commit 7060be13796ee010583589e387c95453a421021c.

Makes test_run("api_scilab", "bug_11046") fail.

Change-Id: I00ce0b86412153204537fc278f8edfd78ba51942

5 years agoXcos MVC: Avoid leaking memory and pass the tests 27/15427/23
Clément DAVID [Wed, 29 Oct 2014 16:37:23 +0000]
Xcos MVC: Avoid leaking memory and pass the tests

 * Fixed empty 'context' and '*_implicit' properties returning empty string (of size 0)
 * Fixed empty Port signal not returning '0'
 * Use Link constructors to propagate connections on model modification
 * Delete ports on blocks deletion
 * Implement clone() as a copy constructor call
 * All tests pass on valgrind

Change-Id: Ie2a45462c9feb9194dba99f8d47b150b0e5f926c

5 years agofix blank : there have more than one resultat display 06/15506/4
Sylvain GENIN [Fri, 7 Nov 2014 15:58:36 +0000]
fix blank :  there have more than one resultat display

test_run("string","blanks",["no_check_error_output" ]);

Change-Id: I41c0f5f61c16d92f6f9327727046270527324f8f

5 years agoReplace MALLOC.h by sci_malloc.h 05/15505/2
Vincent COUVERT [Fri, 7 Nov 2014 15:53:05 +0000]
Replace MALLOC.h by sci_malloc.h

Only completion.tst is FAILED in completion module now.

Change-Id: I38e91b4f8a8da716401d31a2eff8b85299a42406

5 years agofix tostring for the macro 50/14950/11
Sylvain GENIN [Fri, 25 Jul 2014 13:33:40 +0000]
fix tostring for the macro

mymatrix=[ 94  0   0   0    0   28  0   0   32  0
0   59  13  5    0   0   0   10  0   0
0   13  72  34   2   0   0   0   0   65
0   5   34  114  0   0   0   0   0   55
0   0   2   0    70  0   28  32  12  0
28  0   0   0    0   87  20  0   33  0
0   0   0   0    28  20  71  39  0   0
0   10  0   0    32  0   39  46  8   0
32  0   0   0    12  33  0   8   82  11
0   0   65  55   0   0   0   0   11  100];
b = [154.
87.
186.
208.
144.
168.
158.
135.
178.
231.];
function y=Atimesx(x,mymatrix)
    y=mymatrix*x
endfunction
Alist = list(Atimesx,mymatrix)

function myfunc()
endfunction

list(cos, acosh, myfunc)

Change-Id: Ie02690fab3bf55af9597bd41a96d75c05d46f6eb

5 years agofix bug 13421 test 75/15475/2
Anais AUBERT [Wed, 5 Nov 2014 09:57:16 +0000]
fix bug 13421 test

Change-Id: I0c5c00936e6bdd5734c8b674d1206bbbf4c95d47

5 years agoleek in bug_8688 fixed. 03/15503/2
Cedric Delamarre [Fri, 7 Nov 2014 15:10:02 +0000]
leek in bug_8688 fixed.

Change-Id: I0b5288a3094bc760a901ae05749a34dc09eb9915

5 years agoapi_scilab : big_9708 fixed. 02/15502/2
Cedric Delamarre [Fri, 7 Nov 2014 14:46:52 +0000]
api_scilab : big_9708 fixed.

Change-Id: I5ee797f3d381bb78d8598db304e4449c7c86dc9c

5 years agoapi_scilab : variable name check in createNamed functions. 00/15500/2
Cedric Delamarre [Fri, 7 Nov 2014 13:49:48 +0000]
api_scilab : variable name check in createNamed functions.

test_run("api_scilab","bug_9707",["no_check_error_output" ]);

Change-Id: I77db4d72060ebda625d220a07e3dfef8100133a8

5 years agoFix dynamic link in Linux binary versions: 01/15501/1
Vincent COUVERT [Fri, 7 Nov 2014 14:44:40 +0000]
Fix dynamic link in Linux binary versions:
 - Eigen detection with prerequirements are used
 - Missing file in installation.

Change-Id: I8894a88603793d7ca27fa9ea6b1d849b95147818

5 years agofix bug_7666.tst : comparisons made on the same types 92/15492/3
Sylvain GENIN [Thu, 6 Nov 2014 16:12:39 +0000]
fix bug_7666.tst : comparisons made on the same types

test_run("boolean","bug_7666",["no_check_error_output" "short_summary" ]);

Change-Id: I46e09a39d09efbbb953a17fe64647813ddca6bf9

5 years agofix dbphi and phasemag for hm 88/15488/3
Anais AUBERT [Wed, 5 Nov 2014 13:58:06 +0000]
fix dbphi and phasemag for hm

Change-Id: Id2cb5a484781a2632eed6c06a9e6135c44382994

5 years agoisnum function finds %i which is at the beginning of imaginary part 77/15477/6
Sylvain GENIN [Wed, 5 Nov 2014 10:06:52 +0000]
isnum function finds %i which is at the beginning of imaginary part

test_run("string","bug_4401",["no_check_error_output" ]);

Change-Id: I823f84bae5d2e121bc4492cf537c0f26e0aeb043

5 years agoadd exp and epsilon from stringToDoubleW function 72/15472/8
Sylvain GENIN [Tue, 4 Nov 2014 16:06:24 +0000]
add exp and epsilon from stringToDoubleW function

isnum("%e")
isnum("%eps")
isnum("+%eps")
isnum("-%eps")

test_run("string","bug_4401",["no_check_error_output" ]);

Change-Id: I1581d7894156fa9a376c5d7fa118509d2abece10

5 years agoapi_scilab : bug_11538 fixed. 97/15497/2
Cedric Delamarre [Fri, 7 Nov 2014 10:07:50 +0000]
api_scilab : bug_11538 fixed.

test_run("api_scilab","bug_11538",["no_check_error_output" ]);

Change-Id: Ib71056d7e7910d03ae0ece81d0441ba8c9e6f4ce

5 years agoupdate c gateway of api_scilab test for YaSp 95/15495/4
Cedric Delamarre [Fri, 7 Nov 2014 08:43:55 +0000]
update c gateway of api_scilab test for YaSp

test_run("api_scilab","bug_12426",["no_check_error_output" ]);
test_run("api_scilab","bug_7409",["no_check_error_output" ]);

Change-Id: Ib14ab1df599197b6fee6c6d740aab153c630a1da

5 years agoapi_scilab : deleteNamedVariable fixed. 94/15494/3
Cedric Delamarre [Thu, 6 Nov 2014 16:47:05 +0000]
api_scilab : deleteNamedVariable fixed.

test_run("api_scilab","deleteNamedVariable",["no_check_error_output" ]);

Change-Id: I40370af02de5b1b1cb58b6aae245643fd3238c43

5 years agosome diary of api_scilab test updated. 93/15493/2
Cedric Delamarre [Thu, 6 Nov 2014 16:24:34 +0000]
some diary of api_scilab test updated.

test_run("api_scilab","booleanSparseExample",["no_check_error_output" ]);
test_run("api_scilab","list_createlist_api",["no_check_error_output" ]);
test_run("api_scilab","read_write_bsparse_api",["no_check_error_output" ]);
test_run("api_scilab","sparseExample",["no_check_error_output" ]);

Change-Id: I76feeec246eaaaab662b11cde58fe4cce759adb9

5 years agoapi_hypermat removed and hdf5 exit fixed. 91/15491/5
Cedric Delamarre [Thu, 6 Nov 2014 09:23:50 +0000]
api_hypermat removed and hdf5 exit fixed.

a = h5open(TMPDIR + "/tutu.sod")
exit

a = h5open(TMPDIR + "/test.sod")
x=matrix(1:8,2,2,2)
i=int32(x);

h5write(a, "x", x)
h5write(a, "i", i)
a("/x").data
a("/i").data

Change-Id: I8e38f22e9f8f0de85e151845b66a4ca83a2ffa76

5 years agomanagement of --std=c++11 for toolboxes. 62/15462/5
Cedric Delamarre [Tue, 4 Nov 2014 09:16:54 +0000]
management of --std=c++11 for toolboxes.

test_run api_scilab

Change-Id: I9984008c6b0eed5453628be387ac5150f1c17f25

5 years agoXcos MVC: let LoggerView log the object kind. 51/15451/5
Clément DAVID [Fri, 31 Oct 2014 13:18:19 +0000]
Xcos MVC: let LoggerView log the object kind.

Change-Id: Id10f7a0ac3b4d33677993078b1e94847ea44da9e

5 years agoupdate dotdivide test after eye() fix 89/15489/1
Antoine ELIAS [Wed, 5 Nov 2014 15:46:18 +0000]
update dotdivide test after eye() fix

Change-Id: I12ac5229e780003a3a9497ed1630cabec1aa0bc5

5 years agofix sparse addition 48/15348/3
Anais AUBERT [Wed, 8 Oct 2014 07:56:46 +0000]
fix sparse addition

sprand(1, 1, 0.01) + sprand(1, 1, 0.01) * %i

Change-Id: Ib72bc017a303a040e316600bece0457bde272575

5 years agofix divide Sparse by Double 36/15436/5
Sylvain GENIN [Tue, 28 Oct 2014 14:51:44 +0000]
fix divide Sparse by Double

test_run("ast","divide",["no_check_error_output" ]);

Change-Id: Ia511d8edacb9d93f39328655e1e313aa2c4a560c

5 years agofix dotpower for the Sparse 28/15428/8
Sylvain GENIN [Mon, 27 Oct 2014 15:49:57 +0000]
fix dotpower for the Sparse

test_run("linear_algebra","bug_10178",["no_check_error_output" ]);
B = [ 5 -2; %i 0];
S = sparse(B);
S.^3
S.^2
S.^0

Change-Id: Ic9a6d700af9b8d8166d4d32576f0c3f26831e322

5 years agofix and test 52/15452/3
Anais AUBERT [Fri, 31 Oct 2014 15:02:22 +0000]
fix and test

Change-Id: Ic94dd2bda3bf4b3d1a946971b1a80235661d185b

5 years agoeye, rand, ones, zeros can manage sparse/boolean sparse as input argument 87/15487/1
Antoine ELIAS [Wed, 5 Nov 2014 13:22:42 +0000]
eye, rand, ones, zeros can manage sparse/boolean sparse as input argument

Change-Id: I586f0b30c81b51d15d75899022f29526d1e81451

5 years agosinc test updated 24/15424/2
Cedric Delamarre [Fri, 24 Oct 2014 14:27:13 +0000]
sinc test updated

Change-Id: I0a44da5d8a758f5cce919b3305693cf389c06698

5 years agofix return of getDimsFromArguments in elem_func module 86/15486/2
Antoine ELIAS [Wed, 5 Nov 2014 12:58:57 +0000]
fix return of getDimsFromArguments in elem_func module

Change-Id: I2185a61c0c3e0f7092d65802447cd670584b17e0

5 years agoJVM is not mandatory for these tests 85/15485/1
Vincent COUVERT [Wed, 5 Nov 2014 12:58:21 +0000]
JVM is not mandatory for these tests

Change-Id: I8443129026dffccbc1020271540da16724bb3329

5 years agoJVM is not mandatory for these tests 84/15484/1
Vincent COUVERT [Wed, 5 Nov 2014 12:48:17 +0000]
JVM is not mandatory for these tests

Change-Id: I35040f48e67cec56edbf22ca35e6cea3389d9a9b

5 years agofix index order for string sort 81/15481/1
Antoine ELIAS [Wed, 5 Nov 2014 12:25:23 +0000]
fix index order for string sort

Change-Id: I9fc4f225c8d65e23a3d08ab6c4bfec42aa0af22a

5 years agofix plot2d_strf test 80/15480/1
Anais AUBERT [Wed, 5 Nov 2014 10:55:23 +0000]
fix plot2d_strf test

Change-Id: Ie440e808cb42e7b6746cfdaf0bea0433f891822b

5 years agoupdate test of bug_10168 78/15478/1
Antoine ELIAS [Wed, 5 Nov 2014 10:10:10 +0000]
update test of bug_10168

Change-Id: Ib7eb27985f8ca9c5331ba721bcdff5dd8276a933

5 years agoThese tests do not require JVM 74/15474/2
Vincent COUVERT [Wed, 5 Nov 2014 09:26:18 +0000]
These tests do not require JVM

Change-Id: I9d83b9494f561daa4506029ee70dec357a2a4609

5 years agofix bug in eye() 76/15476/2
Antoine ELIAS [Wed, 5 Nov 2014 09:58:40 +0000]
fix bug in eye()

Change-Id: I23aff5f7ae650327cd5407c5113c76a977ca3100

5 years agochange bug_13358 to interactive test 73/15473/2
Antoine ELIAS [Wed, 5 Nov 2014 09:14:55 +0000]
change bug_13358 to interactive test

Change-Id: I0266bc5625c34f45d81b5df0b43096ddb803ade5

5 years agofix reshape to remove last dimensions at 1 for dims > 2 71/15471/2
Antoine ELIAS [Tue, 4 Nov 2014 14:24:26 +0000]
fix reshape to remove last dimensions at 1 for dims > 2

Change-Id: Ie72de95009751dba5dcd9b68bf25abe1e06b055a

5 years agofix dotdivide opeation to show "divide by zero" messages 68/15468/3
Antoine ELIAS [Tue, 4 Nov 2014 13:26:04 +0000]
fix dotdivide opeation to show "divide by zero" messages

Change-Id: I9879a75dbcb48a008220e0c48de246e485fc057e