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
Anais AUBERT [Fri, 31 Oct 2014 15:02:22 +0000]
fix and test
Change-Id: Ic94dd2bda3bf4b3d1a946971b1a80235661d185b
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
Cedric Delamarre [Fri, 24 Oct 2014 14:27:13 +0000]
sinc test updated
Change-Id: I0a44da5d8a758f5cce919b3305693cf389c06698
Antoine ELIAS [Wed, 5 Nov 2014 12:58:57 +0000]
fix return of getDimsFromArguments in elem_func module
Change-Id: I2185a61c0c3e0f7092d65802447cd670584b17e0
Vincent COUVERT [Wed, 5 Nov 2014 12:58:21 +0000]
JVM is not mandatory for these tests
Change-Id: I8443129026dffccbc1020271540da16724bb3329
Vincent COUVERT [Wed, 5 Nov 2014 12:48:17 +0000]
JVM is not mandatory for these tests
Change-Id: I35040f48e67cec56edbf22ca35e6cea3389d9a9b
Antoine ELIAS [Wed, 5 Nov 2014 12:25:23 +0000]
fix index order for string sort
Change-Id: I9fc4f225c8d65e23a3d08ab6c4bfec42aa0af22a
Antoine ELIAS [Wed, 5 Nov 2014 10:10:10 +0000]
update test of bug_10168
Change-Id: Ib7eb27985f8ca9c5331ba721bcdff5dd8276a933
Vincent COUVERT [Wed, 5 Nov 2014 09:26:18 +0000]
These tests do not require JVM
Change-Id: I9d83b9494f561daa4506029ee70dec357a2a4609
Antoine ELIAS [Wed, 5 Nov 2014 09:58:40 +0000]
fix bug in eye()
Change-Id: I23aff5f7ae650327cd5407c5113c76a977ca3100
Antoine ELIAS [Wed, 5 Nov 2014 09:14:55 +0000]
change bug_13358 to interactive test
Change-Id: I0266bc5625c34f45d81b5df0b43096ddb803ade5
Antoine ELIAS [Tue, 4 Nov 2014 14:24:26 +0000]
fix reshape to remove last dimensions at 1 for dims > 2
Change-Id: Ie72de95009751dba5dcd9b68bf25abe1e06b055a
Antoine ELIAS [Tue, 4 Nov 2014 13:26:04 +0000]
fix dotdivide opeation to show "divide by zero" messages
Change-Id: I9879a75dbcb48a008220e0c48de246e485fc057e
Vincent COUVERT [Tue, 4 Nov 2014 13:35:07 +0000]
Merge remote-tracking branch 'origin/master' into YaSp
Conflicts:
scilab/configure
scilab/modules/core/src/fortran/inisci.f
scilab/modules/javasci/Makefile.in
scilab/modules/polynomials/sci_gateway/fortran/sci_f_bezout.f
Change-Id: I67f2e75a70e0c2a48b325f3b817f0a1581dbaedd
Vincent COUVERT [Tue, 4 Nov 2014 13:32:48 +0000]
Merge remote-tracking branch 'origin/5.5'
Conflicts:
scilab/configure
Change-Id: Ief160371c4ff8843faf74162524f0bee912658dd
Cedric Delamarre [Tue, 4 Nov 2014 11:27:34 +0000]
Interative test fixed for Linux.
exec SCI/modules/api_scilab/tests/nonreg_tests/bug_12426.tst
Change-Id: I434661dddb621ff2f6c30246aa22af14107a5569
Cedric Delamarre [Tue, 4 Nov 2014 13:14:12 +0000]
api_scilab : check_matrix_dimension diary updated.
Change-Id: Ib46741f62312aaade3f6ec9bb93165f30cb0cd77
Antoine ELIAS [Tue, 4 Nov 2014 09:29:30 +0000]
fix overload in dsearch function and overload for all call with more than 2 parameters
Change-Id: Ifae91f4e24cfa04daae236da6c159a2bb0848ee5
Vincent COUVERT [Mon, 3 Nov 2014 13:51:04 +0000]
Fix error message
Change-Id: I453ebd3b26991e7d7dde755ae234f3a64ae2b28b
Antoine ELIAS [Tue, 28 Oct 2014 11:00:28 +0000]
use common function to manage input arguments in eye, ones, zeros
Change-Id: I5fd04209f3020ffab53ed3344014ccaa418cdcc7
Sylvain GENIN [Thu, 30 Oct 2014 11:22:34 +0000]
sparse-bool : add isTrue function
a = sparse([%t, %t])
if a then
%t
end
Change-Id: I3ce2fc9944653ebb8461efbb858bfcec2f948441
Sylvain GENIN [Wed, 29 Oct 2014 09:42:42 +0000]
display of sparse bool
dense=[%F, %F, %T];
sp=sparse(dense)
Change-Id: I4c647a7297c4da543952e12523f483ca7239d09a
Anais AUBERT [Mon, 3 Nov 2014 13:04:39 +0000]
bugs 3880 and 4943 fixed again
Change-Id: If82c7e0162e9a10db274f72f3bdf40c06b390235
Anais AUBERT [Mon, 3 Nov 2014 12:57:27 +0000]
bug 568 fixed again
Change-Id: I4ca078cb0ca8d38cfce26d1c8f18633e66c74b6d
Sylvain GENIN [Tue, 28 Oct 2014 17:01:24 +0000]
test the access to the sparse and bool-sparse
dense=[0., 1];
sp=sparse(dense);
sp(0)
sp(0,0)
sp(1,0)
sp(0,1)
dense=[%F, %F, %T];
sp=sparse(dense);
sp(0)
sp(0,0)
sp(1,0)
sp(0,1)
Change-Id: Ib489e54aa7ca78ea20be48824da710daac6d2898
Anais AUBERT [Mon, 3 Nov 2014 12:39:46 +0000]
strtod no more ignoring tabs
test_run("string","bug_13524",["no_check_error_output" ]);
Change-Id: Ied14ac1e660460046c383943aa2456ab513eb918
Anais AUBERT [Tue, 14 Oct 2014 14:10:02 +0000]
updated bug 2812 test : no more truncation in variables name
Change-Id: I364f06b64289bc5bb0e9c4ca73693e47fa8aea1e
Anais AUBERT [Tue, 14 Oct 2014 08:33:55 +0000]
fix bug 568 test
Change-Id: Ib6f75049b44cf2feb65731fe25aba31beb6aefa2
Anais AUBERT [Tue, 14 Oct 2014 10:31:45 +0000]
fix bug 120 test
Change-Id: I39e20bf82ed1e50752cc2d3f1477e8d5a397a3ac
Anais AUBERT [Wed, 15 Oct 2014 08:40:39 +0000]
fix bug 3880 test
Change-Id: If8e99fe9d02e9960eb4c590fd7ded9489bc293e0
Anais AUBERT [Mon, 3 Nov 2014 09:34:40 +0000]
fix bug 4943 test
Change-Id: I7b3437a7acfcff2ee4880c652b57db3f7c7c33ca
Anais AUBERT [Mon, 3 Nov 2014 09:37:58 +0000]
fix bug 6901 test
Change-Id: Ic0ef72bd9034471a531b12cfa44b337496f1cc5a
Antoine ELIAS [Mon, 3 Nov 2014 09:13:32 +0000]
windows hooks : now nw mode is in wscilex, no longer in scilex
Change-Id: I4560aad7f6b8e33e55249ad6125037be92a70fcf
Antoine ELIAS [Mon, 3 Nov 2014 09:02:04 +0000]
fix return in while/for expression
Change-Id: I6c4816e1b6f08f63f6fddbb3547e51f398cebdf1
Cedric Delamarre [Fri, 31 Oct 2014 11:18:46 +0000]
non_reg test of module double moved in ast
Change-Id: I053800e10c58476c60af9e074081e8ccd44bb243
Antoine ELIAS [Thu, 30 Oct 2014 13:54:23 +0000]
allow macrolib.function
Change-Id: I84eae61272d38285f14e1bf8c993dfc748890291
Sylvain GENIN [Thu, 23 Oct 2014 15:17:20 +0000]
types::Dollar can been added to a table of values
b = [$ 2]
b = [2 $]
https://codereview.scilab.org/15412
Change-Id: If8f57631cc7e041bbb015ed979dc7e6ffb2a24ce
Anais AUBERT [Thu, 30 Oct 2014 10:59:15 +0000]
fix bug 2003 test
Change-Id: I9d966e55e761d659bf5eafe254ca18f7017d3c10
Cedric Delamarre [Mon, 6 Oct 2014 15:18:58 +0000]
isScalar moved in GenericType.
Change-Id: I7974b9a34af2a74675e7aab5d34196caf61d1475
Cedric Delamarre [Thu, 30 Oct 2014 15:21:40 +0000]
gsort fixed, positions must be sorted.
test_run elementary_functions members
x = [6 5 4 3 2 1 0 2 9 2 0 8 3 1 2 6 1 4]';
[x1,k] = gsort(x,"g","d")
Change-Id: I1675873d9a6bc89a0c8828ca5fc30d99d8442d82
Cedric Delamarre [Thu, 30 Oct 2014 10:58:38 +0000]
subtraction between two sparses fixed
a=rand(5,2)*rand(2,5);A=sparse(a);
[hand,rk]=lufact(A);[P,L,U,Q]=luget(hand);
full(L), P*L*U*Q-A
sparse([1 2 3]) - sparse([1 2 1])
Change-Id: I9d9fe831bfcddd7cc05bbdf8e7f87bb80d6c5904
Cedric Delamarre [Wed, 29 Oct 2014 15:24:59 +0000]
who
Change-Id: I24fe1039637e62916819234727a698d6159a0cde
Anais AUBERT [Thu, 30 Oct 2014 10:02:49 +0000]
ludel
a=rand(5,5);b=rand(5,1);A=sparse(a);
[h,rk]=lufact(A);
ludel(h)
h
Change-Id: I8fbf720d6c96598c2bc8230f268573e6ba59f92f
Anais AUBERT [Wed, 29 Oct 2014 09:01:50 +0000]
luget
a=rand(5,2)*rand(2,5);A=sparse(a);
[hand,rk]=lufact(A);[P,L,U,Q]=luget(hand);
full(L), P*L*U*Q-A
Change-Id: Ifb223340fb736de6e6866f69d977dc6e48a0bf3a
Anais AUBERT [Thu, 23 Oct 2014 14:36:55 +0000]
lusolve
non_zeros=[1,2,3,4];rows_cols=[1,1;2,2;3,3;4,4];
sp=sparse(rows_cols,non_zeros);
[h,rk]=lufact(sp);x=lusolve(h,[1;1;1;1])
non_zeros=[1,2,3,4];rows_cols=[1,1;2,2;3,3;4,4];
sp=sparse(rows_cols,non_zeros);
x=lusolve(sp,-ones(4,1))
Change-Id: I3641f702eb3b2b7df1e7bbbaab2d142dba562221
Clément DAVID [Fri, 24 Oct 2014 09:36:39 +0000]
Xcos MVC: use shared_ptr on the Model
Model object pointers can be retrieve by any C++ View through
Model::getObject. To track the associated memory and avoid double
delete (on the View then the Model), shared_ptr is used.
Note: this pointer access is not mapped to Java Views so these views
are just allowed to createObject / deleteObject using ScicosID.
Change-Id: Ifbab7d1bfda28105c3680bd28f52c9e35faf1824
Simon Marchetto [Wed, 29 Oct 2014 10:27:50 +0000]
call_scilab: fix error "TMPDIR not defined" in fortran example
Change-Id: I5546673d36daed10ea921ddb5c067bb4580b16f5
Cedric Delamarre [Tue, 28 Oct 2014 13:55:21 +0000]
leak in cell fixed and insertion in 10% allocated.
%_iconvert(5,1);
a = matrix(1:100, 50, 2);
a(51,2) = 5;
a(52,2) = 6;
a($+2,2) = 7;
a($+2,:) = [8 9];
Change-Id: I41bd8c54fa9587fc261532cc891f14ad10453320
Simon Marchetto [Tue, 28 Oct 2014 13:56:39 +0000]
call_scilab: fix access violation in fortran example
Change-Id: I11e27d6dea9fba23470801ab8ca77225638b0d5f
Cedric Delamarre [Tue, 28 Oct 2014 12:50:15 +0000]
[](:) = 1 fixed
Change-Id: I55b19b2c56929288e7d5f57b591ac0796c37cd52
Cedric Delamarre [Tue, 28 Oct 2014 11:02:49 +0000]
dotPower with polynom and insertion a poly in constant fixed.
x = matrix(1:24, [3 2 4]);
inv_coeff([x(:,:,1) x(:,:,2) x(:,:,3) x(:,:,4) [0;1;2]], 2)
a=[1 2 3]
a(1) = %s
Change-Id: I68fbbed6864fcfb9685f783e0a113805381f67bb
Cedric Delamarre [Mon, 27 Oct 2014 09:13:21 +0000]
insertion implicitList in callExp/cellExp fixed.
test_run elementary_functions find
A=[];A(2,3,2) = 0;A(:)=1:12;
ml = mlist(["toto", "f1"], 14);
a.b = ml;
a.b(2) = 12; // leek after overload error
c{:} = 1:12
st.b(2).c = ml;
st.b(2).c(2) = 12; // leek after overload error
Change-Id: I61992aa9300301a7d544963382867021b896ee39
Cedric Delamarre [Thu, 9 Oct 2014 11:53:03 +0000]
length test updated with sparse.
Change-Id: I3890da3d22cf830eb2a3c74b3964a6f98d07b3a7
Sylvain GENIN [Thu, 24 Jul 2014 09:33:53 +0000]
fix the number of data returned by a function when it is encapsulated
example:
[a,b] = (3 , int32(5))
[a,b] = (3 , (int32(5), 2)) // error
[a,b,c] = (3 , (int32(5), 2))
Change-Id: I4a3ca20dabdd36a65b7025b371b954dd55833cbc
Cedric Delamarre [Thu, 23 Oct 2014 14:41:48 +0000]
remove useless Increase/DecreaseRef
Change-Id: Ib52c508f6ab35bace7aa7c5e235702ea77b5b89b
Cedric Delamarre [Fri, 24 Oct 2014 12:36:30 +0000]
operator & with boolean fixed
%t & []
[] & [%t %f]
3 & []
[] & [1 12]
test_run elementary_functions acoth
Change-Id: I91b28fadd1386781304921893413496dc87b4ea3
Cedric Delamarre [Fri, 24 Oct 2014 13:39:46 +0000]
cumprod fixed
s=%s;p=[s s+1;s^2 0];
cumprod(p)
test_run elementary_functions cumprod
Change-Id: I6cca22869d767073f0f2dd9646456ea208032f5d
Cedric Delamarre [Fri, 24 Oct 2014 14:06:14 +0000]
cumsum fixed
s=%s;p=[s s+1;s^2 0];
cumsum(p)
test_run elementary_functions cumsum
Change-Id: I16a810e51bd267d74fcfac527dbe800db25111a6
Antoine ELIAS [Fri, 24 Oct 2014 13:24:11 +0000]
AST Serialization :
- remove execution flag.
- add option to remove location.
Change-Id: Ic88925e3c5c9ad62bed3cdf7173fa09da1699344
Antoine ELIAS [Fri, 24 Oct 2014 09:54:20 +0000]
exec must print file content by default
Change-Id: Ibed2d6aaa0c42600af4a0830805f6e765f0b148a
Antoine ELIAS [Fri, 24 Oct 2014 09:31:59 +0000]
fix display of nan value
Change-Id: I6191b91c3aa983f03849bb9d77b465d260da6a60
Antoine ELIAS [Fri, 24 Oct 2014 09:09:40 +0000]
fix shellmode calls with more than one parameter
Change-Id: I8abfb8271aba9bb2eed51e76245a57079e1512d2
Antoine ELIAS [Thu, 23 Oct 2014 15:02:53 +0000]
update windows installer files and add information in load error message
Change-Id: I374e268b2582cb3be95b64079b5c5e502eed40b5
Bruno JOFRET [Thu, 23 Oct 2014 13:07:20 +0000]
Disable ScrollableFrame should also disable children
Change-Id: I475edfbe22187fb8982e944cc1ec207d25fdb5a0
Bruno JOFRET [Mon, 13 Oct 2014 08:56:16 +0000]
Enable event_handler on Frame component
Change-Id: I1361573553ee9120bbd3576ec82661d993045116
Bruno JOFRET [Wed, 22 Oct 2014 14:50:45 +0000]
Delete children in scrollable frame
Change-Id: I9f8163acfb6eaa4a6e8807a63fec217173370a5f
Simon Marchetto [Wed, 15 Oct 2014 12:40:48 +0000]
call_scilab: fix compilation fortran example
Change-Id: Iccc54ef1feca281a5169eb80c30335aecfbdc528
Antoine ELIAS [Mon, 20 Oct 2014 08:52:51 +0000]
fix mem leak in insert of empty indexes
a = [1 2;3 4]
a(a == a) = []
a.b(2).name = "NAME"
st.a = "toto";
s.a = [];
s.a(1) = st;
clear st;
st.a(2).b = 10;
st.a(5).b = 10;
Change-Id: Iff6d9ec7c640d0d078241b46cfd4e8bd76ef0b1f
Paul Bignier [Fri, 17 Oct 2014 13:24:48 +0000]
* Bug #13511 invalid - passing doubles to lcm, gcd and bezout work
* For lcm and gcd, a double argument is treated as if it was an int32, as described in the help
* For bezout, it is treated as a null degree polynomial.
Change-Id: I3052eacfcd3d64580ce2b9d5004907bdf7b502bf
Paul Bignier [Fri, 17 Oct 2014 13:23:44 +0000]
Revert "*Bug #13511 fixed - Polynomials: lcm with large values"
This reverts commit
e2a62b0dfaa19cc4d0b8df6ed20a23425157c045.
Change-Id: I41b650eab0086d6ac7a6f53eef57c601d9c4bc1c
Anais AUBERT [Mon, 20 Oct 2014 12:39:04 +0000]
lufact
a=rand(5,5);b=rand(5,1);A=sparse(a);
[h,rk]=lufact(A);
Change-Id: Ie7b23f0c3d60ff2b9db56ce8ea8a97ca59475c0b
Vincent COUVERT [Mon, 20 Oct 2014 14:55:17 +0000]
Update test with recent compiler update + MKL
Change-Id: Iddec5b2bef91730de9f5cb8fb59684b28964df4c
Bruno JOFRET [Fri, 17 Oct 2014 10:01:43 +0000]
Fix make install trouble mixing localization and scirenderer
Change-Id: I5caafb49a374bafd37c6780f261d301adc0d5c26
Bruno JOFRET [Mon, 20 Oct 2014 08:49:57 +0000]
MacOSX 10.10 Yosemite support.
Change-Id: I6d9007d4d207c048764cdc72a884fa510ae70571
Cedric Delamarre [Mon, 20 Oct 2014 08:07:52 +0000]
Linux compile with debug flags fixed.
Change-Id: I3052779f8559fc7b87564ac1dc58f6682c911de6
Vladislav TRUBKIN [Mon, 6 Oct 2014 14:17:09 +0000]
try to fix sci_load
Change-Id: Ic0ca3e3dcd86167ab752e3a82b9c2e0b9f0881ab
Cedric Delamarre [Thu, 16 Oct 2014 11:48:21 +0000]
insertion in a matrix of handle fixed.
f = gcf();
h = [];
h($+1) = f
h($+1) = f
h($+1) = f
Change-Id: Ie10761ec8a9a9e7921f872758c92ec97f23cc9fe
Clément DAVID [Wed, 8 Oct 2014 13:28:02 +0000]
fileio: Fix memory leak on mopen/mclose
Change-Id: I98e471c851c4f13b5e37d8fa4ccc1f332e5d661f
Clément DAVID [Wed, 15 Oct 2014 08:35:05 +0000]
Fix some warnings
Change-Id: I708b1c53956015ab8155c68ae7594f31495c3d0c
Antoine ELIAS [Thu, 16 Oct 2014 14:33:31 +0000]
fix call killMe on InternalType object instead of delete
Change-Id: Iefe5c85aae5e4fab5f77e79d2fc0e0c559d196b5
Antoine ELIAS [Thu, 16 Oct 2014 14:32:33 +0000]
add flag to avoid mem leak trace in start and quit process
Change-Id: I5ec69c111238796397314f7ceecefe6d86d2878c
Antoine ELIAS [Thu, 16 Oct 2014 14:25:23 +0000]
merge ast/system_env interface on Configvariable in one file, configvariable_interface
Change-Id: I24ddb010236fb00e70bae02068fb45b55ceb4619
Clément DAVID [Thu, 16 Oct 2014 13:18:14 +0000]
Scilab cleanup: terminate Java dependent modules before stopping the JVM
Change-Id: I364d497356866275657dbba409e977e3ab773a86
Paul Bignier [Tue, 14 Oct 2014 07:55:56 +0000]
Xcos MVC: enlarge properties acceptations for backward compatibility
* 'exprs' now accepts List type, althought it doesn't store anything
* 'dstate' now accepts empty Strings
* 'ipar' now accepts List type, not saving anything either
* 'opar' and 'odstate' now accept Bool type, saving and returning it properly
--> loadXcosLibs();
--> exec("SCI/test/xcos/bug_9386.cosf")
--> exec("SCI/test/xcos/Temperature_Controller.cosf")
--> exec("SCI/test/xcos/SELF_SWITCH_on_off_Example.cosf")
* Reworked the naming of ModelAdapter properties for clarity
* Fixed a warning in ports_management
Change-Id: Idb98b7fc971f2292886fac731d6f9c54dac268b5
Antoine ELIAS [Wed, 15 Oct 2014 15:30:44 +0000]
disable mem leak trace as default behavior
Change-Id: Idf6c35996475e0e2ff4c8f8290d38148b9838b1c
Cedric Delamarre [Tue, 14 Oct 2014 13:47:46 +0000]
fix memleak displayed by Inspector::displayMemleak()
Change-Id: I82ad24be10bf6e1648cda7273fb0fb65cdd8dad6
Clément DAVID [Thu, 9 Oct 2014 11:36:15 +0000]
Display types' memleak at Scilab exit
Change-Id: Ic34f065516873b5dca2d98d1f4287a9a7f8b0fcb
Antoine ELIAS [Wed, 15 Oct 2014 09:12:44 +0000]
better to detect non-WIN64 instead of WIN32
Change-Id: Ia6d4e618c69af06064cae8ef4461b701de05f0f6
Antoine ELIAS [Tue, 14 Oct 2014 15:13:37 +0000]
fix windows 32 bits Intel compiler error about va_copy declaration
Change-Id: Ia9aed57e63fe4e043d06b0e713db2f8140fdec51
Anais AUBERT [Thu, 25 Sep 2014 09:05:27 +0000]
fix bug #9158 : zeros(2**32) returned empty matrix
a=zeros(2^33)
a=zeros(2^33, 1);
a=1;
a($+
2147483647) = 12;
zeros(2^16, 2^16);
Change-Id: I91ad8ebfe9056ad9c1ac56e9b8eb630094721dba
Antoine ELIAS [Mon, 13 Oct 2014 09:21:16 +0000]
rename scicos enum values to avoid occultation by windows defines
Change-Id: Ib74acd35254b07eac5ba061b72f42fddda16a95f
Paul Bignier [Thu, 9 Oct 2014 09:39:37 +0000]
Xcos MVC: remove useless 'static' and add 'const' qualifiers
* Functions were already in anonymous namespace, no need for 'static'
Change-Id: I4278b9c371a8c1a74dbcdb87be434ec7f4fa3752
Paul Bignier [Wed, 8 Oct 2014 15:31:37 +0000]
Xcos MVC: implement 'odstate' and 'opar' for real, complex, all Scilab integer types and string
* Allowed these properties to be empty matrices, for compatibility
Change-Id: Icc3afa62ad25fabe986d2490e288fc565248d430
Paul Bignier [Tue, 7 Oct 2014 08:40:50 +0000]
Xcos MVC: Allow Link addition before Block addition (to diagram)
* Now linking at model-level after the additions of all the elements,
so scicos_diagram(blk1, lnk, blk2) works
* Added fields to DiagramAdapter to get the Links that are defined in the diagram,
but whose Blocks they point to have not been added to the Diagram yet
* Added the possibility to define Link info only in the Adapter
(needed by Diagram Link getter)
* In setLinkEnd(), keep all the elements of 'children' instead of removing the ones that are not Blocks,
because the 'from' and 'to' values are indexes of the whole elements list
* Added a Diagram cloning method to save the Linking info
* By default (if size(from)=2 or size(to)=2), 'from' designates an output and 'to' an input
Change-Id: I77b2b7ecc2eb0bc5338cfc610e29d812dc9e2892
Paul Bignier [Mon, 6 Oct 2014 09:46:03 +0000]
Xcos MVC: Fix linking model update and handle boolean 'firing'
* If the model cannot be updated, then the Adapter keeps the new values,
for future use
* Do the 'from' and 'to' fields values check early so the Adapters are not updated with junk
Change-Id: Ic6daab6bfb47fe5edc5051b5b76ffaab1206ec0b
Antoine ELIAS [Fri, 10 Oct 2014 13:57:14 +0000]
fix linux compilation
Change-Id: Id7d6795cf588bde52b21b47c5103418320130b79
Antoine ELIAS [Wed, 24 Sep 2014 09:51:37 +0000]
first ast optimization, constant opexp, constant matrixexp
Change-Id: Ie5effb84b9628d9b5778016b581e52620041e60f
Antoine ELIAS [Fri, 19 Sep 2014 07:47:25 +0000]
AST : Exp's children are store in a vector
Change-Id: I04533ef2fe1a0266bf36e96d74de55c3aefd5690
Antoine ELIAS [Fri, 10 Oct 2014 09:05:31 +0000]
VS2013 migration
Change-Id: I9e6b9aac3417fe5432f2b869361751584537f2a3