5 years agowindows hooks : now nw mode is in wscilex, no longer in scilex 54/15454/1
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

5 years agofix return in while/for expression 53/15453/1
Antoine ELIAS [Mon, 3 Nov 2014 09:02:04 +0000]
fix return in while/for expression

Change-Id: I6c4816e1b6f08f63f6fddbb3547e51f398cebdf1

5 years agonon_reg test of module double moved in ast 49/15449/2
Cedric Delamarre [Fri, 31 Oct 2014 11:18:46 +0000]
non_reg test of module double moved in ast

Change-Id: I053800e10c58476c60af9e074081e8ccd44bb243

5 years agoallow macrolib.function 46/15446/2
Antoine ELIAS [Thu, 30 Oct 2014 13:54:23 +0000]
allow macrolib.function

Change-Id: I84eae61272d38285f14e1bf8c993dfc748890291

5 years agotypes::Dollar can been added to a table of values 12/15412/6
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

5 years agofix bug 2003 test 42/15442/2
Anais AUBERT [Thu, 30 Oct 2014 10:59:15 +0000]
fix bug 2003 test

Change-Id: I9d966e55e761d659bf5eafe254ca18f7017d3c10

5 years agoisScalar moved in GenericType. 25/15325/4
Cedric Delamarre [Mon, 6 Oct 2014 15:18:58 +0000]
isScalar moved in GenericType.

Change-Id: I7974b9a34af2a74675e7aab5d34196caf61d1475

5 years agogsort fixed, positions must be sorted. 47/15447/2
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

5 years agosubtraction between two sparses fixed 43/15443/3
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

5 years agowho 40/15440/5
Cedric Delamarre [Wed, 29 Oct 2014 15:24:59 +0000]
who

Change-Id: I24fe1039637e62916819234727a698d6159a0cde

5 years agoludel 41/15441/6
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

5 years agoluget 38/15438/7
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

5 years agolusolve 09/15409/7
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

5 years agoXcos MVC: use shared_ptr on the Model 16/15416/6
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

5 years agoleak in cell fixed and insertion in 10% allocated. 35/15435/4
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

5 years ago[](:) = 1 fixed 33/15433/2
Cedric Delamarre [Tue, 28 Oct 2014 12:50:15 +0000]
[](:) = 1 fixed

Change-Id: I55b19b2c56929288e7d5f57b591ac0796c37cd52

5 years agodotPower with polynom and insertion a poly in constant fixed. 32/15432/1
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

5 years agoinsertion implicitList in callExp/cellExp fixed. 25/15425/7
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

5 years agolength test updated with sparse. 56/15356/3
Cedric Delamarre [Thu, 9 Oct 2014 11:53:03 +0000]
length test updated with sparse.

Change-Id: I3890da3d22cf830eb2a3c74b3964a6f98d07b3a7

5 years agofix the number of data returned by a function when it is encapsulated 46/14946/7
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

5 years agoremove useless Increase/DecreaseRef 10/15410/2
Cedric Delamarre [Thu, 23 Oct 2014 14:41:48 +0000]
remove useless Increase/DecreaseRef

Change-Id: Ib52c508f6ab35bace7aa7c5e235702ea77b5b89b

5 years agooperator & with boolean fixed 19/15419/2
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

5 years agocumprod fixed 22/15422/3
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

5 years agocumsum fixed 23/15423/2
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

5 years agoAST Serialization : 20/15420/1
Antoine ELIAS [Fri, 24 Oct 2014 13:24:11 +0000]
AST Serialization :
 - remove execution flag.
 - add option to remove location.

Change-Id: Ic88925e3c5c9ad62bed3cdf7173fa09da1699344

5 years agoexec must print file content by default 18/15418/1
Antoine ELIAS [Fri, 24 Oct 2014 09:54:20 +0000]
exec must print file content by default

Change-Id: Ibed2d6aaa0c42600af4a0830805f6e765f0b148a

5 years agofix display of nan value 15/15415/1
Antoine ELIAS [Fri, 24 Oct 2014 09:31:59 +0000]
fix display of nan value

Change-Id: I6191b91c3aa983f03849bb9d77b465d260da6a60

5 years agofix shellmode calls with more than one parameter 14/15414/1
Antoine ELIAS [Fri, 24 Oct 2014 09:09:40 +0000]
fix shellmode calls with more than one parameter

Change-Id: I8abfb8271aba9bb2eed51e76245a57079e1512d2

5 years agoupdate windows installer files and add information in load error message 11/15411/1
Antoine ELIAS [Thu, 23 Oct 2014 15:02:53 +0000]
update windows installer files and add information in load error message

Change-Id: I374e268b2582cb3be95b64079b5c5e502eed40b5

5 years agofix mem leak in insert of empty indexes 01/15401/7
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

5 years agolufact 02/15402/7
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

5 years agoLinux compile with debug flags fixed. 99/15399/2
Cedric Delamarre [Mon, 20 Oct 2014 08:07:52 +0000]
Linux compile with debug flags fixed.

Change-Id: I3052779f8559fc7b87564ac1dc58f6682c911de6

5 years agotry to fix sci_load 22/15322/11
Vladislav TRUBKIN [Mon, 6 Oct 2014 14:17:09 +0000]
try to fix sci_load

Change-Id: Ic0ca3e3dcd86167ab752e3a82b9c2e0b9f0881ab

5 years agoinsertion in a matrix of handle fixed. 87/15387/3
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

5 years agofileio: Fix memory leak on mopen/mclose 64/15364/3
Clément DAVID [Wed, 8 Oct 2014 13:28:02 +0000]
fileio: Fix memory leak on mopen/mclose

Change-Id: I98e471c851c4f13b5e37d8fa4ccc1f332e5d661f

5 years agoFix some warnings 79/15379/2
Clément DAVID [Wed, 15 Oct 2014 08:35:05 +0000]
Fix some warnings

Change-Id: I708b1c53956015ab8155c68ae7594f31495c3d0c

5 years agofix call killMe on InternalType object instead of delete 93/15393/5
Antoine ELIAS [Thu, 16 Oct 2014 14:33:31 +0000]
fix call killMe on InternalType object instead of delete

Change-Id: Iefe5c85aae5e4fab5f77e79d2fc0e0c559d196b5

5 years agoadd flag to avoid mem leak trace in start and quit process 92/15392/3
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

5 years agomerge ast/system_env interface on Configvariable in one file, configvariable_interface 91/15391/4
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

5 years agoScilab cleanup: terminate Java dependent modules before stopping the JVM 90/15390/1
Clément DAVID [Thu, 16 Oct 2014 13:18:14 +0000]
Scilab cleanup: terminate Java dependent modules before stopping the JVM

Change-Id: I364d497356866275657dbba409e977e3ab773a86

5 years agoXcos MVC: enlarge properties acceptations for backward compatibility 71/15371/4
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

5 years agodisable mem leak trace as default behavior 86/15386/1
Antoine ELIAS [Wed, 15 Oct 2014 15:30:44 +0000]
disable mem leak trace as default behavior

Change-Id: Idf6c35996475e0e2ff4c8f8290d38148b9838b1c

5 years agofix memleak displayed by Inspector::displayMemleak() 75/15375/3
Cedric Delamarre [Tue, 14 Oct 2014 13:47:46 +0000]
fix memleak displayed by Inspector::displayMemleak()

Change-Id: I82ad24be10bf6e1648cda7273fb0fb65cdd8dad6

5 years agoDisplay types' memleak at Scilab exit 65/15365/5
Clément DAVID [Thu, 9 Oct 2014 11:36:15 +0000]
Display types' memleak at Scilab exit

Change-Id: Ic34f065516873b5dca2d98d1f4287a9a7f8b0fcb

5 years agobetter to detect non-WIN64 instead of WIN32 81/15381/1
Antoine ELIAS [Wed, 15 Oct 2014 09:12:44 +0000]
better to detect non-WIN64 instead of WIN32

Change-Id: Ia6d4e618c69af06064cae8ef4461b701de05f0f6

5 years agofix windows 32 bits Intel compiler error about va_copy declaration 77/15377/1
Antoine ELIAS [Tue, 14 Oct 2014 15:13:37 +0000]
fix windows 32 bits Intel compiler error about va_copy declaration

Change-Id: Ia9aed57e63fe4e043d06b0e713db2f8140fdec51

5 years agofix bug #9158 : zeros(2**32) returned empty matrix 77/15277/10
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

5 years agorename scicos enum values to avoid occultation by windows defines 68/15368/1
Antoine ELIAS [Mon, 13 Oct 2014 09:21:16 +0000]
rename scicos enum values to avoid occultation by windows defines

Change-Id: Ib74acd35254b07eac5ba061b72f42fddda16a95f

5 years agoXcos MVC: remove useless 'static' and add 'const' qualifiers 54/15354/5
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

5 years agoXcos MVC: implement 'odstate' and 'opar' for real, complex, all Scilab integer types... 52/15352/8
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

5 years agoXcos MVC: Allow Link addition before Block addition (to diagram) 26/15326/6
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

5 years agoXcos MVC: Fix linking model update and handle boolean 'firing' 18/15318/6
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

5 years agofix linux compilation 66/15366/2
Antoine ELIAS [Fri, 10 Oct 2014 13:57:14 +0000]
fix linux compilation

Change-Id: Id7d6795cf588bde52b21b47c5103418320130b79

5 years agofirst ast optimization, constant opexp, constant matrixexp 70/15270/10
Antoine ELIAS [Wed, 24 Sep 2014 09:51:37 +0000]
first ast optimization, constant opexp, constant matrixexp

Change-Id: Ie5effb84b9628d9b5778016b581e52620041e60f

5 years agoAST : Exp's children are store in a vector 49/15249/8
Antoine ELIAS [Fri, 19 Sep 2014 07:47:25 +0000]
AST : Exp's children are store in a vector

Change-Id: I04533ef2fe1a0266bf36e96d74de55c3aefd5690

5 years agoVS2013 migration 62/15362/3
Antoine ELIAS [Fri, 10 Oct 2014 09:05:31 +0000]
VS2013 migration

Change-Id: I9e6b9aac3417fe5432f2b869361751584537f2a3

5 years agographics: renamed some overloads. 60/15360/2
Vladislav TRUBKIN [Thu, 9 Oct 2014 14:55:08 +0000]
graphics: renamed some overloads.

Change-Id: I44c396ab2f6f0521bb3504821c4ce1f4c7c1833e

5 years agoregenerated bug 7766 test ref 10/15310/3
Anais AUBERT [Thu, 2 Oct 2014 13:35:58 +0000]
regenerated bug 7766 test ref

Change-Id: Ib99068480a1ee230e069435da747a7a39baf23a8

5 years agofix test_run_32bits for linux32 63/15263/5
Anais AUBERT [Mon, 22 Sep 2014 14:28:09 +0000]
fix test_run_32bits for linux32

Change-Id: Ia13cc6ef61dafe345e0775aff4f3f2e3b8c5004e

5 years agoregenerated bug 1823 test ref 83/15283/2
Anais AUBERT [Fri, 26 Sep 2014 14:06:44 +0000]
regenerated bug 1823 test ref

Change-Id: I4fa2370128123acf8d64b7e22bc3a4984083636c

5 years agoimport hypermatrix fixed again... 59/15359/3
Cedric Delamarre [Thu, 9 Oct 2014 14:44:52 +0000]
import hypermatrix fixed again...

    * after commit https://codereview.scilab.org/#/c/15240/

test_run("hdf5", "exportImportHdf5","no_check_error_output")

Change-Id: I129b7e82b6342021026a028910ba45ade60ef05d

5 years agofix bug 2098 test 21/15321/2
Anais AUBERT [Mon, 6 Oct 2014 13:35:44 +0000]
fix bug 2098 test

Change-Id: Ib4a8cfb79b348d121224a83b2f156e01e50ce7d9

5 years agohdf5: added the unit test for export/import of data. 18/15218/17
Vladislav TRUBKIN [Fri, 12 Sep 2014 15:28:04 +0000]
hdf5: added the unit test for export/import of data.

Change-Id: I891261c9cb1c94df005d1ee91a5a536eae7f9cc0

5 years agoremove mvvacov 56/15056/5
Anais AUBERT [Thu, 21 Aug 2014 10:21:58 +0000]
remove mvvacov

Change-Id: I4eee46dbd4bd901b582aeb2ad3580f5ada728740

5 years agoList extraction fixed. 49/15349/5
Cedric Delamarre [Wed, 8 Oct 2014 08:28:26 +0000]
List extraction fixed.

lst = list("test", 1, 5)
lst(4)
lst = tlist("test", 1, 5)
lst(4)

tl=tlist(["test", "f1" "f2"])
tl("f1")
tl.f1
tl.f3
tl("f3")
tl.f2 = 12

Change-Id: Ie3bebd6ea58defa3faf856669533308086d5fdb0

5 years agodouble free fixed 58/15358/2
Cedric Delamarre [Thu, 9 Oct 2014 13:16:25 +0000]
double free fixed

test_run hdf5

Change-Id: I03b632f3ca6bc4534304386797a1843acef7fb23

5 years agohdf5: fix for initialisation/finalisation. 47/15347/4
Vladislav TRUBKIN [Tue, 7 Oct 2014 15:41:21 +0000]
hdf5: fix for initialisation/finalisation.

Change-Id: I49664b7fbf57d9a3d271804549b3c14d40727ca5

5 years agofix bool.*bool 21/15221/4
Anais AUBERT [Mon, 15 Sep 2014 10:27:58 +0000]
fix bool.*bool

test_run("elementary_functions","cross",["no_check_error_output" ]);
Change-Id: Idafbcfa1cd90dd881916a23fe95782753c96dd80

5 years agoList display fixed. 46/15346/6
Cedric Delamarre [Tue, 7 Oct 2014 14:37:38 +0000]
List display fixed.

tl = tlist(["test", "f1", "f2"], 12, 15)
l = list(478, tl, "string")
list(l)

function %test_p(a), disp("test"), endfunction
l

lsslist('lss','A','B','C','X0','dt')

Change-Id: I41e6a27a46a1ab585af483e81baa5fc39b50ae94

5 years agoMerge remote-tracking branch 'origin/master' into YaSp 51/15351/1
Vincent COUVERT [Wed, 8 Oct 2014 14:29:20 +0000]
Merge remote-tracking branch 'origin/master' into YaSp

Conflicts:
scilab/modules/helptools/src/BuildChm/BuildChm.vcxproj

Change-Id: I2cbc29c80eeeda2c654bf59842fe6510dfd32752

5 years agoMerge remote-tracking branch 'origin/5.5' 50/15350/1
Vincent COUVERT [Wed, 8 Oct 2014 13:57:00 +0000]
Merge remote-tracking branch 'origin/5.5'

Change-Id: I43406e55b306bd5878f10c869939b35031a3503d

5 years ago[Obsolete] milk_drop 34/15334/4
Bruno JOFRET [Tue, 7 Oct 2014 12:15:31 +0000]
[Obsolete] milk_drop

Change-Id: I6b2811747df602c3d5f91d76d7ad726c1be31bbc

5 years ago[Obsolete] IsAScalar 33/15333/4
Bruno JOFRET [Tue, 7 Oct 2014 12:13:12 +0000]
[Obsolete] IsAScalar

Change-Id: I765229dd69dffd2e6aabe12c8c83f3387f21da25

5 years ago[Obsolete] mfft 32/15332/4
Bruno JOFRET [Tue, 7 Oct 2014 12:10:14 +0000]
[Obsolete] mfft

Change-Id: I57f8da6a534b83e54f582d773c889c7fa7cf274b

5 years ago[Obsolete] %asn 31/15331/5
Bruno JOFRET [Tue, 7 Oct 2014 12:08:48 +0000]
[Obsolete] %asn

Change-Id: I04fe91d9a5288fe08793f36246bc31877b305cb8

5 years ago[Obsolete] jmat 30/15330/3
Bruno JOFRET [Tue, 7 Oct 2014 12:02:52 +0000]
[Obsolete] jmat

Change-Id: Ia9c4e32a07ef72a17c9d798f12b6c76f3d3d131f

5 years ago[Obsolete] xmltochm 29/15329/3
Bruno JOFRET [Tue, 7 Oct 2014 12:01:20 +0000]
[Obsolete] xmltochm

Change-Id: I9fa7c321c3831bd24d6557cbc018abaa8ae45c65

5 years agoFix memory leak at startup / exit 28/15328/2
Clément DAVID [Mon, 6 Oct 2014 12:58:45 +0000]
Fix memory leak at startup / exit

'bin/scilab -nwni -ns -profiling' do not leak memory anymore.

Change-Id: I26e218c567f7efb8613921b0a0eadc1159b0631c

5 years agoReactivate some parts related to XML export. (Modifications done by comparing with... 37/15237/2
Vincent COUVERT [Thu, 18 Sep 2014 09:24:37 +0000]
Reactivate some parts related to XML export. (Modifications done by comparing with version of this file in 5.5 branch).

Change-Id: I1e88b2529a541887cddc5ba83286a66535811bda

5 years agoSingleStruct clone and fieldExp corrected. 27/15327/3
Cedric Delamarre [Tue, 7 Oct 2014 09:45:56 +0000]
SingleStruct clone and fieldExp corrected.

st.name = "test"
a=st(1).name // ref must be 2
a=st(1).name // ref must stay to 2

Change-Id: If04c085d7ee0d992735550aba0b5f0cda5584cb7

5 years agofix for layout_options. 02/15302/4
Vladislav TRUBKIN [Wed, 1 Oct 2014 15:09:26 +0000]
fix for layout_options.

Change-Id: Id141d7eff02942370204e500102f6f134c7450eb

5 years agoimprove returnexp 23/15323/2
Antoine ELIAS [Mon, 6 Oct 2014 15:01:29 +0000]
improve returnexp

Change-Id: I8187d881d5fae7169592321735ac7fb45b077534

5 years agofix compilation after intX(eye()) 24/15324/1
Anais AUBERT [Mon, 6 Oct 2014 15:09:57 +0000]
fix compilation after intX(eye())

Change-Id: I25e7a266bfaa6078ed89e9424c8823919c11ac26

5 years agointX(eye()) and sparse(eye()) fixed. 15/15215/3
Cedric Delamarre [Fri, 12 Sep 2014 12:59:55 +0000]
intX(eye()) and sparse(eye()) fixed.

Change-Id: I8295a191fb67e4d96dda0381df3bc2220695c168

5 years agoreturnExp fixed. 19/15219/4
Cedric Delamarre [Fri, 12 Sep 2014 16:27:04 +0000]
returnExp fixed.

function test()
return
endfunction

pause
return

pause
// must stay in pause lvl 1
test
return

Change-Id: Iba7d8fb4075660797761d4c822e64fde1a7fb0fa

5 years agofix windows compilation 20/15320/2
Antoine ELIAS [Mon, 6 Oct 2014 13:31:15 +0000]
fix windows compilation

Change-Id: I28f2df9ff0441dd5adc410764d73f1cb3ac1cb95

5 years agosimp corrected. 85/15185/3
Cedric Delamarre [Tue, 9 Sep 2014 12:28:59 +0000]
simp corrected.

// a must be a constant
[a,b]=sim(2*%s^2, 2)
// b must be a constant
[a,b]=sim(2, 2*%s^2)

rl = rlist(%s,2);
tt=[rl rl rl] * %s
typeof(tt.den) // must return "constant"

Change-Id: Id0462f47f516202f2b093145c427292876ac87a6

5 years agoasciimat fixed 01/15301/2
Cedric Delamarre [Wed, 1 Oct 2014 14:59:23 +0000]
asciimat fixed

asciimat([97 98 99 100 101 102 103 104 105])
asciimat([97 98 99; 100 101 102; 103 104 105])

strsplit("a":"x", 1:23) // asciimat used in "a":"x"

Change-Id: I1e6b48b910b1461a7369390962c2655acb19e63b

5 years agoexec a macrofile should not print empty line in the function body. 04/15304/3
Cedric Delamarre [Thu, 2 Oct 2014 10:51:43 +0000]
exec a macrofile should not print empty line in the function body.

// put in file
function test()

disp("test")

disp("test")

endfunction

// then
exec(file)

Change-Id: I2734ce25dafedf2b9e8d8176747d55ea692efdc4

5 years agosome api_list functions rewritten. 99/15199/17
Cedric Delamarre [Wed, 10 Sep 2014 13:17:04 +0000]
some api_list functions rewritten.

*also some fix in api_poly.
Change-Id: Ibff1b5c5b0a3eb8e928075e72086aacd6fe917cc

5 years agoapi_scilab: some functions rewritten in api_sparse. 81/15181/21
Vladislav TRUBKIN [Mon, 8 Sep 2014 17:03:45 +0000]
api_scilab: some functions rewritten in api_sparse.

Change-Id: I0ecc70d96392502ab1e549d5a421e572f8fc093a

5 years agosparse matrix must be row major like Scilab 5. 30/15230/13
Cedric Delamarre [Wed, 17 Sep 2014 07:56:59 +0000]
sparse matrix must be row major like Scilab 5.

Change-Id: I39ecfa0f0684020cc14fe7dd07b4adc2ea04042e

5 years agoXcos MVC: Make 'model' display compliant with Scilab 5.5 and clone Diagram on 'rpar... 71/15271/5
Paul Bignier [Wed, 24 Sep 2014 12:57:09 +0000]
Xcos MVC: Make 'model' display compliant with Scilab 5.5 and clone Diagram on 'rpar' insertion

 * Superblocks' "rpar" can now be displayed
 * When setting a Diagram in 'rpar', clone it
 * Block port modification (for instance graphics.pin) is now well handled (encoded as index instead of value)

Change-Id: I5ec0ed4cd357ab36ad82eb5b5ae7882ef851b67b

5 years agoXcos MVC: link Superblocks external ports with their respective internal "port blocks" 64/15264/9
Paul Bignier [Tue, 23 Sep 2014 07:26:39 +0000]
Xcos MVC: link Superblocks external ports with their respective internal "port blocks"

 * When setting a diagram in 'rpar', use 'port_reference' to link Superblock outer and inner ports
 * Store the Superblock's diagram ID at the start of its children vector
 * Use the loop opportunity to set each Block's 'parent_block' property
 * Also, simplified default dataType definition at port creation time

Change-Id: Id4d694141fa60d6e10e35912693d89f1a352b10e

5 years agoXcos MVC: fix default blocktype and only allow linking to Blocks 51/15251/8
Paul Bignier [Fri, 19 Sep 2014 08:15:26 +0000]
Xcos MVC: fix default blocktype and only allow linking to Blocks

 * ' --> loadXcosLibs(); scicos_block(); ' now only reads NO_CHANGES
 * Cannot link a Link with an Annotation or a Link anymore (it crashed anyway)

Change-Id: I104711e0244efdfccf48759188f04ba836f4e27b

5 years agoXcos MVC: list insertion in diagram, 'xx', 'yy' and 'odstate' properties and split... 47/15247/10
Paul Bignier [Thu, 18 Sep 2014 14:58:41 +0000]
Xcos MVC: list insertion in diagram, 'xx', 'yy' and 'odstate' properties and split blocks

 * can now augment or reduce 'xx' and 'yy' fields
 * odstate is now allowed to be an empty matrix (but still returns an empty list
 * Link split blocks can be connected to either implicit or explicit blocks,
so their 'from' and 'to' related properties don't matter
 * A link now stores 'from' and 'to' in its Adapter until it is added to an actual Diagram. Only then does it update the model
 * LinkAdapter new defines its own cloner, to transfer the data saved in the Adapter (not only the model).

--> loadXcosLibs();
--> importScicosDiagram("SCI/test/xcos/samphold.cosf")

Change-Id: I4a2b173cb9cc2aeae8097006f4279a576805b132

5 years agoXcos MVC: allow diagram storage in 'rpar' (used by Superblocks) 32/15232/7
Paul Bignier [Wed, 17 Sep 2014 08:41:51 +0000]
Xcos MVC: allow diagram storage in 'rpar' (used by Superblocks)

 * For compatibility, 'rpar' can now be a row vector
 * Update 'model' display to make Superblocks' 'rpar' fields displayable

Change-Id: I622031aea3deee80ad3c50a9d6eed0c41f573a7f

5 years agofix test_run after merge. 13/15313/2
Cedric Delamarre [Thu, 2 Oct 2014 14:49:30 +0000]
fix test_run after merge.

Change-Id: Ibe107c25f5b32e3e8fab3db090d8a50e43f459aa

5 years agoMerge remote-tracking branch 'origin/master' into YaSp 12/15312/1
Vincent COUVERT [Thu, 2 Oct 2014 14:08:59 +0000]
Merge remote-tracking branch 'origin/master' into YaSp

Conflicts:
scilab/configure
scilab/modules/development_tools/macros/test_run.sci
scilab/modules/helptools/data/pages/homepage-en_US.html
scilab/modules/helptools/data/pages/homepage-fr_FR.html
scilab/modules/integer/src/fortran/i_prod.f
scilab/modules/javasci/Makefile.in

Change-Id: Idd0cc99c0c8e4dca812f9a944e1ab6a63e1e80ca

5 years agoMerge remote-tracking branch 'origin/5.5' 11/15311/1
Vincent COUVERT [Thu, 2 Oct 2014 13:46:40 +0000]
Merge remote-tracking branch 'origin/5.5'

Conflicts:
scilab/configure
scilab/configure.ac
scilab/libs/GetWindowsVersion/GetWindowsVersion.rc
scilab/modules/action_binding/src/c/action_binding.rc
scilab/modules/action_binding/src/noaction_binding/noaction_binding.rc
scilab/modules/api_scilab/src/c/api_scilab.rc
scilab/modules/arnoldi/src/c/arnoldi.rc
scilab/modules/boolean/src/c/boolean.rc
scilab/modules/boolean/src/fortran/boolean_f.rc
scilab/modules/cacsd/src/c/cacsd.rc
scilab/modules/cacsd/src/fortran/cacsd_f.rc
scilab/modules/cacsd/src/slicot/slicot_f/slicot_f.rc
scilab/modules/call_scilab/src/c/call_scilab.rc
scilab/modules/commons/src/c/commons.rc
scilab/modules/commons/src/fortran/commons_f.rc
scilab/modules/completion/src/c/completion.rc
scilab/modules/completion/src/nocompletion/nocompletion.rc
scilab/modules/console/src/c/console.rc
scilab/modules/console/src/noconsole/noconsole.rc
scilab/modules/core/includes/version.h.vc
scilab/modules/data_structures/src/c/data_structures.rc
scilab/modules/data_structures/src/fortran/data_structures_f.rc
scilab/modules/differential_equations/src/c/differential_equations.rc
scilab/modules/differential_equations/src/fortran/differential_equations_f.rc
scilab/modules/double/src/c/double.rc
scilab/modules/double/src/fortran/double_f.rc
scilab/modules/dynamic_link/src/c/dynamic_link.rc
scilab/modules/dynamic_link/src/fortran/dynamic_link_f.rc
scilab/modules/elementary_functions/src/c/elementary_functions.rc
scilab/modules/elementary_functions/src/fortran/eispack/eispack_f.rc
scilab/modules/elementary_functions/src/fortran/elementary_functions_f.rc
scilab/modules/elementary_functions/src/fortran/linpack/linpack_f.rc
scilab/modules/elementary_functions/src/fortran/slatec/slatec_f.rc
scilab/modules/external_objects/external_objects.rc
scilab/modules/external_objects_java/external_objects_java.rc
scilab/modules/fftw/src/c/fftw.rc
scilab/modules/fftw/src/nofftw/nofftw.rc
scilab/modules/fileio/src/c/fileio.rc
scilab/modules/functions/src/c/functions.rc
scilab/modules/functions/src/fortran/functions_f.rc
scilab/modules/graphic_export/graphic_export.rc
scilab/modules/graphic_export/src/nographic_export/nographic_export.rc
scilab/modules/graphics/graphic.rc
scilab/modules/graphics/src/nographics/nographics.rc
scilab/modules/gui/images/icons/aboutscilab.png
scilab/modules/gui/src/c/gui.rc
scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/tab/SwingScilabDockablePanel.java
scilab/modules/gui/src/nogui/nogui.rc
scilab/modules/hdf5/src/c/hdf5.rc
scilab/modules/helptools/data/pages/homepage-en_US.html
scilab/modules/helptools/data/pages/homepage-fr_FR.html
scilab/modules/helptools/etc/SciDocConf.xml.vc
scilab/modules/helptools/src/c/helptools.rc
scilab/modules/history_browser/src/c/history_browser.rc
scilab/modules/history_browser/src/nohistory_browser/nohistory_browser.rc
scilab/modules/history_manager/src/c/history_manager.rc
scilab/modules/integer/src/c/integer.rc
scilab/modules/integer/src/fortran/integer_f.rc
scilab/modules/interpolation/src/c/interpolation.rc
scilab/modules/interpolation/src/fortran/interpolation_f.rc
scilab/modules/intersci/src/lib/intersci.rc
scilab/modules/io/src/c/io.rc
scilab/modules/io/src/fortran/io_f.rc
scilab/modules/javasci/Makefile.in
scilab/modules/javasci/javasci.rc
scilab/modules/jvm/src/c/libjvm.rc
scilab/modules/jvm/src/nojvm/nojvm.rc
scilab/modules/linear_algebra/src/c/linear_algebra.rc
scilab/modules/linear_algebra/src/fortran/linear_algebra_f.rc
scilab/modules/localization/src/localization.rc
scilab/modules/matio/src/c/matio.rc
scilab/modules/matio/src/nomatio/nomatio.rc
scilab/modules/mexlib/src/libmat/libmat.rc
scilab/modules/mexlib/src/libmex/libmex.rc
scilab/modules/mexlib/src/libmx/libmx.rc
scilab/modules/mpi/src/c/mpi.rc
scilab/modules/optimization/src/c/optimization.rc
scilab/modules/optimization/src/fortran/optimization_f.rc
scilab/modules/output_stream/src/c/output_stream.rc
scilab/modules/output_stream/src/fortran/output_stream_f.rc
scilab/modules/parallel/src/c/parallel.rc
scilab/modules/parameters/src/c/parameters.rc
scilab/modules/polynomials/src/c/polynomials.rc
scilab/modules/polynomials/src/fortran/polynomials_f.rc
scilab/modules/preferences/src/c/preferences.rc
scilab/modules/randlib/src/c/randlib.rc
scilab/modules/randlib/src/fortran/randlib_f.rc
scilab/modules/randlib/src/norandlib/norandlib.rc
scilab/modules/renderer/renderer.rc
scilab/modules/renderer/src/norenderer/norenderer.rc
scilab/modules/scicos/src/c/cli/scicos-cli.rc
scilab/modules/scicos/src/c/noscicos/noscicos.rc
scilab/modules/scicos/src/c/scicos.rc
scilab/modules/scicos/src/fortran/scicos_f.rc
scilab/modules/scicos/src/scicos_sundials/scicos_sundials.rc
scilab/modules/scicos_blocks/src/c/cli/scicos_blocks-cli.rc
scilab/modules/scicos_blocks/src/c/scicos_blocks.rc
scilab/modules/scicos_blocks/src/fortran/scicos_blocks_f.rc
scilab/modules/scinotes/src/c/scinotes.rc
scilab/modules/signal_processing/src/c/signal_processing.rc
scilab/modules/signal_processing/src/fortran/signal_processing_f.rc
scilab/modules/sound/src/c/sound.rc
scilab/modules/sound/src/nosound/nosound.rc
scilab/modules/sparse/src/c/sparse.rc
scilab/modules/sparse/src/fortran/sparse_f.rc
scilab/modules/special_functions/src/c/special_functions.rc
scilab/modules/special_functions/src/fortran/special_functions_f.rc
scilab/modules/spreadsheet/src/c/spreadsheet.rc
scilab/modules/spreadsheet/src/nospreadsheet/nospreadsheet.rc
scilab/modules/statistics/src/c/statistics.rc
scilab/modules/statistics/src/dcdflib/dcd_f/dcd_f.rc
scilab/modules/string/src/c/string.rc
scilab/modules/string/src/fortran/string_f.rc
scilab/modules/symbolic/src/c/symbolic.rc
scilab/modules/symbolic/src/fortran/symbolic_f.rc
scilab/modules/tclsci/src/c/tclsci.rc
scilab/modules/time/src/c/time.rc
scilab/modules/ui_data/src/c/ui_data.rc
scilab/modules/ui_data/src/noui_data/noui_data.rc
scilab/modules/umfpack/src/c/umfpack.rc
scilab/modules/umfpack/src/noumfpack/noumfpack.rc
scilab/modules/windows_tools/src/c/CScilex/CScilex.rc
scilab/modules/windows_tools/src/c/WScilex/WScilex.rc
scilab/modules/windows_tools/src/c/scilab_windows/scilab_windows.rc
scilab/modules/windows_tools/src/c/windows_tools.rc
scilab/modules/windows_tools/src/nowindows_tools/nowindows_tools.rc
scilab/modules/xcos/src/c/xcos.rc
scilab/modules/xml/src/c/xml.rc

Change-Id: I1010cc0df0627ef4687c046672b1acaf6ef75307