6 years agoinsert in struct corrected. 18/15118/3
Cedric Delamarre [Thu, 28 Aug 2014 09:55:44 +0000]
insert in struct corrected.

a("b")(2) = 12
a(3)("b")(2)=13

test_run ast insert

Change-Id: Ib56a320de05e7e2581b714e11de42eeded04e62d

6 years agoreforge dot multiplication 49/15049/5
Antoine ELIAS [Tue, 19 Aug 2014 10:40:26 +0000]
reforge dot multiplication

Change-Id: I1386d392a50e5e95754b18ae9bba05792e8717ad

6 years agoMake compilation fail on grammar shift/reduce or reduce/reduce conflict 37/15037/2
Bruno JOFRET [Mon, 18 Aug 2014 07:58:47 +0000]
Make compilation fail on grammar shift/reduce or reduce/reduce conflict

Change-Id: Ic077160d5f3c4da69bb1456aa9616f8b26c9ca52

6 years agoFix complex display 13/15113/2
Bruno JOFRET [Thu, 28 Aug 2014 08:49:29 +0000]
Fix complex display

Change-Id: I7b1caed2f483ab93d8b52d09ea456319a3280579

6 years agoSWIG Makefiles: add per Makefile.am SWIG_OPTIONS to ease customization 22/15122/2
Bruno JOFRET [Thu, 28 Aug 2014 13:59:12 +0000]
SWIG Makefiles: add per Makefile.am SWIG_OPTIONS to ease customization

Change-Id: Ie499d10eab49fd430df73705a807065bf4763283

6 years agoXcos MVC: slight corrections 14/15114/4
Paul Bignier [Thu, 28 Aug 2014 09:11:41 +0000]
Xcos MVC: slight corrections

Change-Id: Iacebdeef3b8523c3eda776da6ad81eb89e99f84d

6 years agoXcos MVC: fix MList header 20/15120/2
Paul Bignier [Thu, 28 Aug 2014 13:44:09 +0000]
Xcos MVC: fix MList header

'header' was not used.

Change-Id: I8b52a0991d03b18e2300ed591317bc03384d2f07

6 years agoXcos MVC: manage scicos_graphics and scicos_models as MList 11/15111/4
Clément DAVID [Wed, 27 Aug 2014 07:48:26 +0000]
Xcos MVC: manage scicos_graphics and scicos_models as MList

Ports' Datatypes are now [1 1 1]] by default, to prevent null sizes.

Using mlist avoid a model::Block merge at graphics or model assignation.
This commit also fix default value of some ports' properties.

Change-Id: I7767ef2e745ea0b10ff1ec4e09e5a946320f5832

6 years agoFix warning message 06/15106/1
Vincent COUVERT [Wed, 27 Aug 2014 08:30:48 +0000]
Fix warning message

Change-Id: I724613d52d5678b003d4176cd444ea15a261ff71

6 years agoXcos MVC: minor typo fix & unneeded dependency removal 89/15089/3
Paul Bignier [Mon, 25 Aug 2014 08:28:28 +0000]
Xcos MVC: minor typo fix & unneeded dependency removal

Change-Id: I7d4e3de80f99923f7634b74d681f89a4b578ab0c

6 years agoXcos MVC: implement from / to 19/15019/5
Paul Bignier [Mon, 11 Aug 2014 06:42:02 +0000]
Xcos MVC: implement from / to

Also, fixed 'interface_function' and 'datatype' properties.

Matched default parameters with macros.

Change-Id: I6887ed9bc17efd6bf545302d90c65eb8aa3ae5de

6 years agoXcos MVC: implement xx / yy / id / thick / ct 04/15004/9
Paul Bignier [Thu, 7 Aug 2014 08:40:05 +0000]
Xcos MVC: implement xx / yy / id / thick / ct

In the model, split ct into 'color' and 'kind'.

Also, fixed 'set' action for 'in', 'in2' and 'intyp' properties.

Change-Id: Id892eadcaef7020e4355292a66e7324344965fa6

6 years agoregenerated bug 10519 test ref 62/15062/2
Anais AUBERT [Thu, 21 Aug 2014 15:28:09 +0000]
regenerated bug 10519 test ref

Change-Id: Ia347ff3b0b5ef5d63ad3f714d34ec580e0135cb4

6 years agoregenerated bug 1990 test ref file 63/15063/2
Anais AUBERT [Fri, 22 Aug 2014 07:16:36 +0000]
regenerated bug 1990 test ref file

Change-Id: I3487c2b3ee035e96ca58be16cedcaadcf027a796

6 years agofix bug 7594 test 68/15068/2
Anais AUBERT [Fri, 22 Aug 2014 08:48:27 +0000]
fix bug 7594 test

Change-Id: I641ac36c3018645dd86e0f88a81e1f63bb368b7e

6 years agofix bug 8051 test 69/15069/2
Anais AUBERT [Fri, 22 Aug 2014 08:52:32 +0000]
fix bug 8051 test

Change-Id: I6e8d1bf3d773457fa83f52367b9da8f57bebda3d

6 years agofix bug J test 70/15070/2
Anais AUBERT [Fri, 22 Aug 2014 08:56:42 +0000]
fix bug J test

Change-Id: I4a9cae942cc71b465d5de3ad0df8f38bd82a434f

6 years agofix bug 7231 test 72/15072/3
Anais AUBERT [Fri, 22 Aug 2014 10:02:03 +0000]
fix bug 7231 test

Change-Id: I8c49d1decfdf6ec3800c6d35b36ca2c0950ec5f5

6 years agoRegenerated some references because 'stacksize' is obsolete function. 76/15076/2
Vladislav TRUBKIN [Fri, 22 Aug 2014 12:39:31 +0000]
Regenerated some references because 'stacksize' is obsolete function.

Change-Id: I0445a1aea5752912cb03e34ef7b222f09678d56c

6 years agobug 13243 test was using derivative 77/15077/2
Anais AUBERT [Fri, 22 Aug 2014 12:54:11 +0000]
bug 13243 test was using derivative

Change-Id: I35b61d2141d06e333cada5f1c967cddd6ecb4f48

6 years agobug 4083 used deleted functions 79/15079/2
Anais AUBERT [Fri, 22 Aug 2014 13:06:32 +0000]
bug 4083 used deleted functions

Change-Id: Iede2b6ccaf9464f77ae3ea7ecbf3ec7a1c14ce4b

6 years agorefactor subtraction operation 40/15040/4
Antoine ELIAS [Wed, 13 Aug 2014 07:40:52 +0000]
refactor subtraction operation

Change-Id: Ic511da82b2a8df14e86e04045948fc8343a5ddc2

6 years agorefactor unary minus operation 26/15026/6
Antoine ELIAS [Tue, 12 Aug 2014 13:42:18 +0000]
refactor unary minus operation

Change-Id: Ide96a8ddc6eefefd24f333874a5f66cb59eeeaac

6 years agospec returns error if input matrix is not square 61/15061/2
Anais AUBERT [Thu, 21 Aug 2014 15:23:31 +0000]
spec returns error if input matrix is not square

Change-Id: Iaad280026cd05b3ecd230152ca7d6c4f1b5a3a02

6 years agoFix \n use in localized message, cause parse error in callback execution 48/15048/1
Bruno JOFRET [Wed, 20 Aug 2014 13:27:04 +0000]
Fix \n use in localized message, cause parse error in callback execution

Change-Id: I217dde29cae2e313e5f49152bc025243c00f30e7

6 years agogetoptional must return api_scilab type instead of apic++ type, improve optional... 44/15044/1
Antoine ELIAS [Tue, 19 Aug 2014 10:37:51 +0000]
getoptional must return api_scilab type instead of apic++ type, improve optional management

Change-Id: I58a436965434dddeb3675f02f47e6416680112f6

6 years agoFixed getters of opt arguments. 36/15036/1
Vladislav TRUBKIN [Thu, 14 Aug 2014 15:00:01 +0000]
Fixed getters of opt arguments.

Change-Id: I6b56bbbf7a26c7f6c59c13eb2636e001cfe1d668

6 years agoFixed an ImplicitList for optional arguments. 31/15031/2
Vladislav TRUBKIN [Thu, 14 Aug 2014 10:09:21 +0000]
Fixed an ImplicitList for optional arguments.

Change-Id: Idda8ad34e0a6aff8d08f8c0541724a226c058bd4

6 years agofixed a position in tmpOut, taking into account the optional arguments. 34/15034/1
Vladislav TRUBKIN [Thu, 14 Aug 2014 13:49:09 +0000]
fixed a position in tmpOut, taking into account the optional arguments.

Change-Id: I98392c055ec43abf4b44ad80785de3d22804ae4a

6 years agoFixed the names of datatip functions. 24/15024/3
Vladislav TRUBKIN [Mon, 11 Aug 2014 15:52:13 +0000]
Fixed the names of datatip functions.
*sci_datatip_set_interp should check from zero to one output
argument.

Change-Id: Idbcc8729e5139e41e2148b5b2e3ff60202195a35

6 years agoImplicitList creation corrected. 10/15010/4
Cedric Delamarre [Thu, 7 Aug 2014 16:10:03 +0000]
ImplicitList creation corrected.

test_run ast implicitlist

Change-Id: Ia97e43e8708a4010ad54aa8af5f3d5d37656202f

6 years agoexpHistory corrected 78/14978/2
Cedric Delamarre [Tue, 5 Aug 2014 11:29:33 +0000]
expHistory corrected

a(1,3).b = 12

Change-Id: Ie829c2fa81a59f28cde83c1c7027544c33411585

6 years agofix uicontrol constraints 27/15027/5
Anais AUBERT [Wed, 13 Aug 2014 10:24:37 +0000]
fix uicontrol constraints

Change-Id: I47be66087051585f1954ebf4d53f12149615dbe4

6 years agotake care of old limitation to 24 characters during forge of overloading function... 28/15028/1
Antoine ELIAS [Wed, 13 Aug 2014 12:32:51 +0000]
take care of old limitation to 24 characters during forge of overloading function name

Change-Id: Ib4cd4ef2487270f4aa8a49af5a7da7ed995591d1

6 years agoSugar syntax for try/catch block 25/15025/1
Bruno JOFRET [Tue, 12 Aug 2014 07:11:29 +0000]
Sugar syntax for try/catch block

Change-Id: If46f10b98b3f45ce6f144601d8d924cbd7a8132b

6 years agoChange POW associativity to be right 18/15018/2
Bruno JOFRET [Fri, 8 Aug 2014 16:00:50 +0000]
Change POW associativity to be right

Change-Id: Ib931c76c77f4fecceba8df3b4ca13cf1cc4d7c43

6 years agoXcos MVC: implement fields setters 11/15011/6
Clément DAVID [Thu, 7 Aug 2014 16:25:36 +0000]
Xcos MVC: implement fields setters

 * Implement types::User<> insertion through overloading
 * Add scicos_setfield which works like setfield for Xcos adapters
 * Update scicos %*_i_*.sci to simply call setfield as usual
 * Add some tests to scicos_new

Change-Id: If11f1e8a0155e37c77da6a62f2dd858be4a88c1b

6 years agoXcos MVC: fix header licences 07/15007/2
Paul Bignier [Thu, 7 Aug 2014 15:28:21 +0000]
Xcos MVC: fix header licences

Change-Id: Ic0afc28812469b98a5468290ed80ee8a5d354227

6 years agoXcos MVC: fix some unneeded dependencies 06/15006/2
Paul Bignier [Thu, 7 Aug 2014 14:56:16 +0000]
Xcos MVC: fix some unneeded dependencies

Change-Id: Ib2a5c82d92b0963840c262d1b36a3a96b3f1ed58

6 years agorename to avoid windows name conflict 12/15012/2
Bruno JOFRET [Fri, 8 Aug 2014 09:43:21 +0000]
rename to avoid windows name conflict

Change-Id: I1b8bc02b37d3be074c34a4eda161022b04da7125

6 years agoXcos MVC: add insert / extract fo scicos_new.tst 98/14998/2
Clément DAVID [Thu, 7 Aug 2014 09:54:10 +0000]
Xcos MVC: add insert / extract fo scicos_new.tst

Change-Id: If6c0ee2d10b10dd769c3f1b1406d57743423c4d6

6 years agofix prod.tst 77/14977/9
Sylvain GENIN [Tue, 5 Aug 2014 10:45:55 +0000]
fix prod.tst

i=uint8([1 10;254 9]);
typeof(prod(i, 3, "native"))//uint8
typeof(prod(i, 3))//uint8
typeof(prod(i))//uint8
typeof(prod(i, 3, "double"))//double

test_run("elementary_functions","prod",["no_check_error_output" ]);

Change-Id: I7ab61e8ce6df113d57a9a07c9e2db4f41d092e27

6 years agoListExp can manage explicit/implicit step 05/15005/1
Bruno JOFRET [Thu, 7 Aug 2014 14:31:46 +0000]
ListExp can manage explicit/implicit step

Change-Id: I11ee53690f4d2a77fbb31f0c126404345ed62d63

6 years agoFix grammar conflict : remove duplicate rule / manage empty function call arguments 72/14872/3
Bruno JOFRET [Wed, 16 Jul 2014 13:16:53 +0000]
Fix grammar conflict : remove duplicate rule / manage empty function call arguments

Change-Id: Ib8ee898c512ccf61c0b7d80bcd1466558d492f7d

6 years agorefactoring polynom. 47/14847/22
Cedric Delamarre [Thu, 10 Jul 2014 17:11:56 +0000]
refactoring polynom.

// bug_12679 doesn't work because of round in multiplication
// two last commit in dependencies are mandatory
test_run("polynomials",[],["no_check_error_output"]);

Change-Id: I62c056d117e9fbdb0fed9d1ff6446f3725684ac3

6 years agomem leak fixed when fill matrix with null item. 55/14955/8
Cedric Delamarre [Fri, 25 Jul 2014 15:25:21 +0000]
mem leak fixed when fill matrix with null item.

Change-Id: I0d9f927bba776b0d077a32edf704a5cd0c223d7b

6 years agoXcos cosf load test 94/14994/1
Bruno JOFRET [Thu, 7 Aug 2014 06:42:15 +0000]
Xcos cosf load test

Change-Id: I497fadad644a86da934f41db204e55f43bba519c

6 years agoXcos MVC: fix namespace comment 91/14991/2
Paul Bignier [Wed, 6 Aug 2014 14:50:58 +0000]
Xcos MVC: fix namespace comment

Change-Id: I83b04d53b2c8aef6f6a28e03fa221790657a43ab

6 years agoXcos MVC: implement rpar / ipar / uid 73/14973/4
Paul Bignier [Mon, 4 Aug 2014 13:56:53 +0000]
Xcos MVC: implement rpar / ipar / uid

Also, laid the groundwork for the 'opar' and 'equations' properties.

Change-Id: I4257d54c72a1c8c634910eff07ddc8894927c3a8

6 years agoXcos MVC: implement firing / dep_ut / label / nzcross / nmode 69/14969/8
Paul Bignier [Fri, 1 Aug 2014 13:42:59 +0000]
Xcos MVC: implement firing / dep_ut / label / nzcross / nmode

Change-Id: I195dc8cb4ce43bb2ae867f3bb41c942f1e3aa458

6 years agoFix comment management within matrix declaration 90/14990/1
Bruno JOFRET [Wed, 6 Aug 2014 13:32:53 +0000]
Fix comment management within matrix declaration

Change-Id: I80e13e1c5b6703298628afeb844aa1a976d2ec8b

6 years agoXcos MVC: fix link issue on loadScicos 86/14986/2
Clément DAVID [Wed, 6 Aug 2014 10:07:55 +0000]
Xcos MVC: fix link issue on loadScicos

Change-Id: I8bde5570cabbd68db9e3dd5346ef72a73f39d967

6 years agost_deviation with hypermat 58/14958/3
Anais AUBERT [Mon, 28 Jul 2014 13:29:46 +0000]
st_deviation with hypermat

Change-Id: I9a05114d9889382573249c9e84a44466e0fbcf31

6 years agoXcos MVC: implement Adapters methods 79/14979/2
Clément DAVID [Mon, 4 Aug 2014 16:47:06 +0000]
Xcos MVC: implement Adapters methods

 * g=scicos_graphics(); disp(g.orig)
 * use anonymous namespace for struct getter / setter
 * getters are not implemented

Change-Id: I4c75f7d23c466adfa91e0056fcebf957c5f2417d

6 years agostdev for hypermat working 21/14921/7
Anais AUBERT [Tue, 22 Jul 2014 10:35:59 +0000]
stdev for hypermat working

Change-Id: Ib7d96c5dd1df157b27b8a3ca479057c1d373a67d

6 years agoFix Xcos objects display 79/14879/4
Bruno JOFRET [Thu, 17 Jul 2014 07:34:20 +0000]
Fix Xcos objects display

Change-Id: I34271039dc3a9952be2ede0c4554127270706c2f

6 years agoconcatenation corrected and test added. 59/14959/9
Cedric Delamarre [Mon, 28 Jul 2014 15:11:31 +0000]
concatenation corrected and test added.

// concatenation [string ; double] fail because of
// call error(43) in overload %c_f_s
test_run("ast","concatenation","no_check_error_output");

Change-Id: Ia20d7906ad009b6641d32357988e6ac37e99ac80

6 years agoWindows compilation fixed. 74/14974/2
Cedric Delamarre [Mon, 4 Aug 2014 15:03:48 +0000]
Windows compilation fixed.

Change-Id: I5e7ca7f509c5468091d408f6e77c23707ef74766

6 years agoXcos MVC: implement state / dstate / blocktype 65/14965/6
Paul Bignier [Thu, 31 Jul 2014 16:05:20 +0000]
Xcos MVC: implement state / dstate / blocktype

Also, laid the grounds for the odstate property.

Change-Id: I9826ad8d799b8546af109ff91bec882c06294d6c

6 years agofix sci_?gamma and traslate sci_?gamma.c by sci_?gamma.cpp 66/14966/10
Sylvain GENIN [Fri, 1 Aug 2014 08:04:47 +0000]
fix sci_?gamma and traslate sci_?gamma.c by sci_?gamma.cpp

test_run("special_functions","bug_10450",["no_check_error_output" ]);

Change-Id: I512f1d0dc7d2073a058b38a7d645461ffb894fe3

6 years agofix power overload for complex 17/14917/5
Anais AUBERT [Tue, 22 Jul 2014 08:06:52 +0000]
fix power overload for complex

Change-Id: Iddb85948ca33288f0c1faf676bb1ee7ceedff8d8

6 years agosign for hypermat 66/14766/9
Anais AUBERT [Mon, 30 Jun 2014 08:09:14 +0000]
sign for hypermat

sign(rand(3,3,3)*%i + rand(3,3,3))
sign(rand(3,3,3))

Change-Id: Ie9bbff3805ad9bd167819be4b2c217c5a7d4d856

6 years agofix c_a_c test 41/14941/4
Anais AUBERT [Wed, 23 Jul 2014 14:49:29 +0000]
fix c_a_c test

Change-Id: Icfe4564b5f3cd6cae93b13f3feeecf47ea51fd21

6 years agoXcos MVC: handle graphics and model port creation 68/14968/2
Clément DAVID [Fri, 1 Aug 2014 09:10:29 +0000]
Xcos MVC: handle graphics and model port creation

Port can be created on : model.in and graphics.pin setters. This commit
share all logic on port_management.hxx and allow future use. A
templatized implementation has been used to reduce the size of the code.

Change-Id: I6197a8ece013184d489128eb0bacf6db4edaf2bf

6 years agoFix some warnings 67/14967/1
Clément David [Thu, 31 Jul 2014 09:54:10 +0000]
Fix some warnings

Change-Id: Id5740f453c79dcbb92edbceccf4c3695bad7e268

6 years agoXcos MVC: implement model.sim and anticipating on future model properties. 60/14960/8
Paul Bignier [Tue, 29 Jul 2014 09:59:50 +0000]
Xcos MVC: implement model.sim and anticipating on future model properties.

Change-Id: I5abcc4e3ef69118c5f90fcb9a417839e4b0367da

6 years agoXcos MVC: move ports get/set/update in a separate file 61/14961/4
Paul Bignier [Wed, 30 Jul 2014 08:17:43 +0000]
Xcos MVC: move ports get/set/update in a separate file

Change-Id: Ib17f3f2deb7922f059e86f7627ebaae6060d3e06

6 years agofix sum for complex 31/14931/3
Anais AUBERT [Tue, 22 Jul 2014 15:04:30 +0000]
fix sum for complex

Change-Id: I21d71499bddc7dd4199b2261c05ebc89caf7b49a

6 years agofix grand for the size of the output array 38/14938/4
Sylvain GENIN [Wed, 23 Jul 2014 09:37:48 +0000]
fix grand for the size of the output array

a = 0; b = 2*%pi;
// standard deviation of the gaussian noise
sigma = 0.1;
// number of experimental points
m = 200;
xd = linspace(a,b,m)';
grand(xd,"nor",0,sigma)

in : randlib

Change-Id: I592c261ca573bd28167ae6f1c9626fc77527c594

6 years agofix cdfpoi test 28/14928/2
Anais AUBERT [Tue, 22 Jul 2014 12:54:30 +0000]
fix cdfpoi test

Change-Id: I99b6b6069afd57f2790b8cb2170e063c3f42c153

6 years agofix cdfnor test 27/14927/2
Anais AUBERT [Tue, 22 Jul 2014 12:51:53 +0000]
fix cdfnor test

Change-Id: I9776d29f674fd27179ec0c5445eae70f7a17a4f5

6 years agofix cdfgam test 26/14926/2
Anais AUBERT [Tue, 22 Jul 2014 12:46:26 +0000]
fix cdfgam test

Change-Id: Ia07e1361076f8d013517f3750d6b1d5bde86df0f

6 years agoXcos MVC: implement in_style / out_style / in_label / out_label / style 56/14956/8
Paul Bignier [Mon, 28 Jul 2014 07:16:43 +0000]
Xcos MVC: implement in_style / out_style / in_label / out_label / style

Change-Id: Id3558d29487a5c0fe2def25994c0ab61d2692a43

6 years agofix repmat test 99/14899/2
Anais AUBERT [Fri, 18 Jul 2014 10:01:00 +0000]
fix repmat test

Change-Id: I4585d31680401dc719d832f1570c1ccdfd94e743

6 years agofix prod test 95/14895/3
Anais AUBERT [Fri, 18 Jul 2014 08:21:10 +0000]
fix prod test

Change-Id: I32ca31d810a0bb56164e265c6a3d5d4da56f9915

6 years agofix sinc test 97/14897/2
Anais AUBERT [Fri, 18 Jul 2014 09:44:20 +0000]
fix sinc test

Change-Id: I26100b30281186596e6fa67c9637c713b34901ca

6 years agoadd int() for integer 51/14851/4
Anais AUBERT [Fri, 11 Jul 2014 09:25:52 +0000]
add int() for integer

Change-Id: Ica8fd2960e5342e7ef70f07a93eed4adbd0c5154

6 years agofix x.xxDy form in string(double) 35/14835/3
Anais AUBERT [Wed, 9 Jul 2014 13:19:47 +0000]
fix x.xxDy form in string(double)

Change-Id: I01d4fa5f1fa62613ba0eaef052c8713c0651c73f

6 years agofix dispay x.0Dy for polynoms 19/14819/8
Anais AUBERT [Tue, 8 Jul 2014 08:25:26 +0000]
fix dispay x.0Dy for polynoms

[1 1.d-12 1.d-5 2d8 2]
[1 1.d-12 1.d-5 2d8+%s 2*%s]

Change-Id: Ic2b9b4fbb32f918b4a624623a0435ed14699e054

6 years agofix display power for imaginary part 67/14867/4
Sylvain GENIN [Wed, 16 Jul 2014 10:17:53 +0000]
fix display power for imaginary part

s = %s;
p21=%i+0*s;
p22=1+s;
p23=s-1;
p24=-s+%i*s**2;
p2=[p21 p22 p23 p24]

Change-Id: I96e56f47dc9f2f5de8c16a2d966d98853d4807ac

6 years agoRevert "fix [a;b],[a,b] for the boolean" 57/14957/1
Cédric DELAMARRE [Mon, 28 Jul 2014 08:25:35 +0000]
Revert "fix [a;b],[a,b] for the boolean"

This reverts commit a576af8e035f578b141d7601b6e1175073dfa7ce.

Change-Id: Ia640fccaa7ceae38e4838cf69493cc8cfa0c50ea

6 years agofix [a;b],[a,b] for the boolean 47/14947/4
Sylvain GENIN [Thu, 24 Jul 2014 13:21:28 +0000]
fix [a;b],[a,b] for the boolean

Change-Id: I1a81be8638f55b42293d0d339d6499b8f3f6bc37

6 years agoXcos MVC: implement gr_i / id / in_implicit / out_implicit 42/14942/10
Paul Bignier [Wed, 23 Jul 2014 14:57:10 +0000]
Xcos MVC: implement gr_i / id / in_implicit / out_implicit

Change-Id: I1dfdb2449ee2026405c81a1156507d546ce42c11

6 years agoeye gateway corrected. 01/14801/3
Cedric Delamarre [Thu, 3 Jul 2014 14:24:20 +0000]
eye gateway corrected.

eye() // should return eye() * 1

Change-Id: Ib3ae928453d594da474783b9540b4ef730767da9

6 years agocall overload when concatenate something with int or bool 37/14937/2
Cedric Delamarre [Wed, 23 Jul 2014 09:02:40 +0000]
call overload when concatenate something with int or bool

[%nan %t]
[12 int32(14)]

Change-Id: If91c409020b5821b390a4d81affe165417763f40

6 years agobug_205 : usless line removed. 44/14944/1
Cedric Delamarre [Thu, 26 Jun 2014 15:43:40 +0000]
bug_205 : usless line removed.

Change-Id: Iae285bc01e1c2f60e3e725679fe141f0fd2993f8

6 years agocomparison between tlist or mlist corrected 33/14933/4
Cedric Delamarre [Tue, 22 Jul 2014 16:40:34 +0000]
comparison between tlist or mlist corrected

ml = mlist(["typ" "f"], 12);
ml == ml
ml <> ml

function b=%typ_o_typ(a, b)
    b = a.f == b.f;
endfunction
ml == ml
ml <> ml

function b=%typ_n_typ(a,b)
    b = a.f <> b.f;
endfxunction
ml == ml
ml <> ml

Change-Id: I297143a304ed063bce8bc628413067a90bdc1e2e

6 years agofix windows compilation after 70b2f6fc455abd25b9845214904b859ce73c38dd 43/14943/2
Antoine ELIAS [Wed, 23 Jul 2014 15:42:26 +0000]
fix windows compilation after 70b2f6fc455abd25b9845214904b859ce73c38dd

Change-Id: I616a2703869a5657e696f3ed84db07454300a669

6 years agoXcos MVC: implement pin / pout / pein / peout 39/14939/5
Clément DAVID [Wed, 23 Jul 2014 11:12:41 +0000]
Xcos MVC: implement pin / pout / pein / peout

 * Controller uses ctor / dstor to ease future lock / transaction
 * GraphicsAdapter implements complex port management as a sample

Change-Id: Ic9e5d0e320ace0957abb583e6aff0f9304feb31c

6 years agodiag rewrote with template. 38/14838/5
Cedric Delamarre [Wed, 9 Jul 2014 14:58:13 +0000]
diag rewrote with template.

Change-Id: I4f808c10d3ffb748157ea6ef3f3f408d431b8776

6 years agomacro == marco corrected. 30/14830/2
Cedric Delamarre [Wed, 9 Jul 2014 10:12:05 +0000]
macro == marco corrected.

function MyMacro()
endfunction

// segfault
function r=MyMacro()
endfunction

Change-Id: Ifcd17901919ad434e2e3adc0ebf26dfcceace6c7

6 years agobad overload of isGenericType function. 24/14824/2
Cedric Delamarre [Tue, 8 Jul 2014 13:45:06 +0000]
bad overload of isGenericType function.

Change-Id: I8019bb53378cfa110e005538ea0aae49f4dcf489

6 years agomacro with opt input arg corrected. 13/14813/3
Cedric Delamarre [Mon, 7 Jul 2014 09:09:41 +0000]
macro with opt input arg corrected.

function toto(varargin)
    disp(varargin)
    disp(a)
endfunction

// "a" must never be defined
toto()
toto(2, a=12)
toto(2, a=12, b=16)

function toto(varargin, u)
    disp(varargin)
    disp(a)
endfunction

toto()
toto(2, a=12)
// Wrong number of input arguments.
toto(2, a=12, b=16)

Change-Id: I06b7c6253ae9e14202d152fb44ef707e464586e8

6 years agonot ~ on sparse and boolean sparse. 61/14761/4
Cedric Delamarre [Fri, 27 Jun 2014 13:58:09 +0000]
not ~ on sparse and boolean sparse.

s=spzeros(3,5);
b=s==1
c=~b
~c
~s

test_run("development_tools","checkequal",["no_check_error_output" ]);

Change-Id: Ib8e0edc64c20166e87ae09e9e3523d770be0ceb9

6 years agoclean_in corrected 20/14920/4
Cedric Delamarre [Tue, 22 Jul 2014 10:13:05 +0000]
clean_in corrected

function n = mynumerator(ml)
    n = ml.num;
end

r=2/%s;
mynumerator(r)
mynumerator(3/%s)

Change-Id: Ifeb943a8c639d70acc96e5e1f82503e19b0b0b31

6 years agodelete of opt arguments corrected. 18/14818/6
Cedric Delamarre [Mon, 7 Jul 2014 15:21:05 +0000]
delete of opt arguments corrected.

Change-Id: Ie7a938fcdf5cbdd70b999a62ef3d72cbecc52f9e

6 years agoput an extraction in context corrected. 16/14916/4
Cedric Delamarre [Mon, 21 Jul 2014 10:36:04 +0000]
put an extraction in context corrected.

ml=mlist(["type" "field"], 15)
ml = ml.field

l = list(1, 2, 3)
l=l(2)

Change-Id: I69f48d4f2d7403288b2d6803ffbee37d09139ac9

6 years agoconcactenation with overload corrected. 96/14896/5
Cedric Delamarre [Fri, 18 Jul 2014 08:28:07 +0000]
concactenation with overload corrected.

function [a, b]=%toto_c_s(f,m)
a=[f("field"), m]
b=12
endfunction

ml=mlist(["toto" "field"], 15)
[ml 2]

[1 1/%s;2/%s 6]

Change-Id: Id88d24457bdeee5006cc2bec383162d5e33b19a5

6 years agofix windows compilation 32/14932/1
Antoine ELIAS [Tue, 22 Jul 2014 15:48:25 +0000]
fix windows compilation

Change-Id: I55bcbb1949cda141659ca815b948b1d9969e046a

6 years agoReplace Min, Max and Abs by std::min, std::max and std::abs 25/14925/2
Calixte DENIZET [Tue, 22 Jul 2014 12:26:31 +0000]
Replace Min, Max and Abs by std::min, std::max and std::abs

Change-Id: Ia9b27668086742fc020cddc408139daa6c02e963