5 years agoFix get for colors property: 01/16501/3
Vincent COUVERT [Wed, 20 May 2015 15:15:53 +0000]
Fix get for colors property:
plot2d(1:10,1:10);
e=gce();
e.children

Change-Id: I6b2704035f374e895a1697f6f5a8bccdc5d94647

5 years agoif the variable does not exist then an error message to indicate this 05/16505/2
Sylvain GENIN [Mon, 25 May 2015 13:51:46 +0000]
if the variable does not exist then an error message to indicate this

test_run("io","bug_11997",["no_check_error_output" ]);

Change-Id: I8e434ebe943dab0ee7781f0ebde56a9d8f60d047

5 years ago%_sodload can recover the struct and cell data 76/16376/3
Sylvain GENIN [Wed, 15 Apr 2015 15:29:51 +0000]
%_sodload can recover the struct and cell data

Change-Id: I1203508b82fd8fb8a64693eafee6d582d692c35d

5 years ago%_save can recover the struct and cell data 75/16375/3
Sylvain GENIN [Wed, 15 Apr 2015 15:11:23 +0000]
%_save can recover the struct and cell data

Change-Id: I7fe8491dc7e3a7898733342a160b2b86ff8fd226

5 years agoLexer: slightly improve double conversion 98/15098/2
Calixte DENIZET [Mon, 25 Aug 2014 15:06:00 +0000]
Lexer: slightly improve double conversion

Change-Id: I3698a9df25d50a99ef29a3aba3b6ec93f8b4cdf5

5 years agoLexer: slightly improve strings & comments lexing 00/15100/2
Calixte DENIZET [Tue, 26 Aug 2014 09:46:34 +0000]
Lexer: slightly improve strings & comments lexing

Change-Id: Ie9402e291fac2eba545c4b011923b843d54b0a64

5 years agodon't see a UserType as a GenericType. 00/16500/1
Cedric Delamarre [Wed, 20 May 2015 14:58:22 +0000]
don't see a UserType as a GenericType.

Change-Id: I9e29bfcad377041e6713504329e4166568b42397

5 years agofix putInPreviousScope on libraries 98/16498/1
Antoine ELIAS [Wed, 20 May 2015 13:52:39 +0000]
fix putInPreviousScope on libraries

Change-Id: I986c737e90b212c3912314ecadc23972f630cdf5

5 years agoInstallation 94/16494/1
Vincent COUVERT [Wed, 20 May 2015 09:55:47 +0000]
Installation
============

* Under Windows, MKL packages are now included in Scilab installer and no more
  downloaded while installing Scilab.

See https://codereview.scilab.org/16436

Change-Id: Iad7b0682382ec2516866b9819eaa8f5438fa663d

5 years agoinstall: deploy MKL libraries from Scilab setup package (no download) 36/16436/5
Simon Marchetto [Tue, 12 May 2015 15:30:06 +0000]
install: deploy MKL libraries from Scilab setup package (no download)

Change-Id: I5276a69e9107b8fa2014b34fd1402bbecc2a741f

5 years agouse shortcut visitor in whileexp condition evaluation 93/16493/4
Antoine ELIAS [Wed, 20 May 2015 08:30:15 +0000]
use shortcut visitor in whileexp condition evaluation

Change-Id: I384038dcc77ff55307199740ce6bf15af9fd6c2b

5 years agolibrary removed from current scope. 90/16490/1
Cedric Delamarre [Tue, 19 May 2015 15:54:07 +0000]
library removed from current scope.

Change-Id: I76d5827d36d588e0f74887db83b5011232f70d57

5 years agoScicos: fix getscicoslabel 89/16489/1
Paul Bignier [Tue, 19 May 2015 15:11:08 +0000]
Scicos: fix getscicoslabel

 * Was missed in https://codereview.scilab.org/#/c/16483/ The test now passes again

Change-Id: I1552ee121eab0d845716f65d1d64b0bcc69f1831

5 years agoXcos: proper detection and handling of IFTHEL_f and ESELECT_f blocks 68/16468/4
Paul Bignier [Tue, 12 May 2015 10:40:52 +0000]
Xcos: proper detection and handling of IFTHEL_f and ESELECT_f blocks

 * These blocks are treated separately from the others because they have negative simulation function numbers (-1 and -2),
meaning their actual simulation function is defined in scicos.c (see synchro_nev())

 * Commit https://codereview.scilab.org/#/c/15883/ removes the possibility of easily detecting these 2 blocks,
so 'funtyp' needs to be altered when a magic value is found

 * Demos "Simple demo" and "Discrete controller" serve as tests for this commit,
because they use a "freq_div" superblock which has an "IFTHEL_f" inside

 * Used magic values for the simulation function numbers to clarify them

Change-Id: I0d7a7c3a48f4ab18e0ac123422635ac2599e3b80

5 years agoset_data_property "data" fixed, pvData used to know the real type. 88/16488/2
Cedric Delamarre [Tue, 19 May 2015 12:42:42 +0000]
set_data_property "data" fixed, pvData used to know the real type.

plot3d(zeros(299,299));
e=gce();
e.data.z = e.data.z;

Change-Id: Ib353b2de22ec951a7c84510a68ccbeb668e20aa7

5 years agoFix heterogenuous string 86/16486/1
Vincent COUVERT [Tue, 19 May 2015 12:03:16 +0000]
Fix heterogenuous string

Change-Id: I41975ea315436efb6bd9851af91264191c887aa0

5 years agofix bug on cell extraction 85/16485/1
Antoine ELIAS [Tue, 19 May 2015 11:56:43 +0000]
fix bug on cell extraction

Change-Id: I2b5b98181d772043ef5309178809eefd6bc2b5ad

5 years agoplot3d fixed after https://codereview.scilab.org/#/c/16264/ 82/16482/3
Cedric Delamarre [Tue, 19 May 2015 08:55:24 +0000]
plot3d fixed after https://codereview.scilab.org/#/c/16264/

// should not return an error
plot3d(zeros(299,299))

Change-Id: Ifce97599d808697e66cbecf4073e24072233a535

5 years agofix Windows compilation after scicos commits 83/16483/1
Antoine ELIAS [Tue, 19 May 2015 09:16:23 +0000]
fix Windows compilation after scicos commits

Change-Id: I7bacf910b9ee76c27ec2eced241120215b20f997

5 years agoFix invalid read / write detected by valgrind 80/16480/2
Clément DAVID [Mon, 18 May 2015 18:34:20 +0000]
Fix invalid read / write detected by valgrind

Change-Id: I6a073cf728882c74ee0e09606d64f2210a62d0b9

5 years agoFix Linux compilation after https://codereview.scilab.org/#/c/16214/ 81/16481/1
Vincent COUVERT [Tue, 19 May 2015 07:35:54 +0000]
Fix Linux compilation after https://codereview.scilab.org/#/c/16214/

Change-Id: I8225ee5ceb5811f6463aa535872dbac27266f593

5 years agoScicos: var2vec now encode without copy 79/16479/2
Clément DAVID [Tue, 14 Apr 2015 15:15:25 +0000]
Scicos: var2vec now encode without copy

Change-Id: I311c38d141bf53445af69ab6953519a48f09af15

5 years agoXcos blocks: rewrite fromws_c to C++ 14/16214/9
Paul Bignier [Fri, 20 Mar 2015 10:30:47 +0000]
Xcos blocks: rewrite fromws_c to C++

 * Kept all the "fromws_c" names (instead of renaming to _cpp for backward compatibility)
 * Tests already present xcos/tests/unit_tests/fromws_c.tst & fromws_tows_c.tst, but cannot run yet because of importXcosDiagram()

Change-Id: I752d557106bd5c0a38da702d627a1c4a271f88da

5 years agoXcos MVC: fix includes 72/16172/6
Paul Bignier [Wed, 18 Mar 2015 12:45:00 +0000]
Xcos MVC: fix includes

 * Added "utilities.hxx" to all files using 'ScicosID'
 * Added "charEncoding.h" to all files calling 'wide_string_to_UTF8'
 * Also fixed a compilation warning in scicos_log.cpp (unsigned int comparison with 0)

Change-Id: I86e8850eb9d5176f2c4554f7988a4510eec3796e

5 years agoXcos : rewrite sciblk2 to C++ 11/16111/9
Paul Bignier [Fri, 6 Mar 2015 09:53:21 +0000]
Xcos : rewrite sciblk2 to C++

Change-Id: If3d8f877e36a5d07ae24b1f8b0f3f48ebed89c9d

5 years agoXcos gateways: rewrite getscicosvars to C++ 93/16193/8
Paul Bignier [Thu, 19 Mar 2015 10:53:56 +0000]
Xcos gateways: rewrite getscicosvars to C++

Change-Id: I99a8dc056bdd0075a3d95dcab3972d37ec5a318e

5 years agoXcos : rewrite model2blk, callblk and sciblk4 with C++ api 16/16016/20
Antoine ELIAS [Tue, 17 Feb 2015 17:58:15 +0000]
Xcos : rewrite model2blk, callblk and sciblk4 with C++ api

Change-Id: Idbe298eb6def71203792c9d96192320208de05fe

5 years agohasInvokeOption added in UserType to allow the use of optional input arguments. 78/16478/1
Cedric Delamarre [Mon, 18 May 2015 12:34:00 +0000]
hasInvokeOption added in UserType to allow the use of optional input arguments.

Change-Id: Ib2f70b865c86a82fcf585c52bfcd1c900b04d7b8

5 years agoScicos: enable Structs for var2var and vec2var 39/16339/5
Paul Bignier [Wed, 8 Apr 2015 11:46:39 +0000]
Scicos: enable Structs for var2var and vec2var

 * Also enable them in the models (ModelAdapter.cpp)

Change-Id: I3f8180c0d575499c60487f99e3e87b3b28124873

5 years agoRemove obsolete check_mac (inner function) 41/16241/3
Paul Bignier [Wed, 25 Mar 2015 13:21:43 +0000]
Remove obsolete check_mac (inner function)

 * deff() now identifies syntax errors, so testing them with check_mac isn't needed anymore
 * Used by EXPRESSION block:
  --> loadXcosLibs();
  --> exec("SCI/test/xcos/EXPRESSION_en_US.cosf", -1);
  --> cpr=scicos_simulate(scs_m);

Change-Id: I55c943497d370c26c79e68581bd853ef5fdb246b

5 years agoXlist integrated in another Xlist need to be copied to perform an affectation 70/16470/3
Sylvain GENIN [Tue, 12 May 2015 13:45:47 +0000]
Xlist integrated in another Xlist need to be copied to perform  an affectation

example :
 value = mlist(["test", "NAMES", "VALUES", "DATE"], ...
    "a", ...
    ones(2,2), ...
    ones(2,2));

    data=tlist(["test", "DATA", "PT"], ones(4,1), value);

    test = data;
    data.PT.NAMES = "b" ;
    data.PT.NAMES
    test.PT.NAMES

Change-Id: Ia7c7b1bf1f5747f73300808a1833333ccc1f1b60

5 years agoTests deactivated because make test_run fail (parsing issue): will be fixed later. 77/16477/1
Vincent COUVERT [Wed, 13 May 2015 13:38:19 +0000]
Tests deactivated because make test_run fail (parsing issue): will be fixed later.

Change-Id: Ifa9fafed9e36d5305c3db5ff19924dff694c4db9

5 years agoRevert modification pushed by error (https://codereview.scilab.org/#/c/15725/), inden... 76/16476/1
Vincent COUVERT [Wed, 13 May 2015 12:55:51 +0000]
Revert modification pushed by error (https://codereview.scilab.org/#/c/15725/), indent of Scilab files deactivated :(

Change-Id: I5799eae30824b28035f93f5923b133b880e68f0c

5 years agoTests deactivated because make test_run fail (parsing issue): will be fixed later. 75/16475/1
Vincent COUVERT [Wed, 13 May 2015 12:53:23 +0000]
Tests deactivated because make test_run fail (parsing issue): will be fixed later.

Change-Id: I6e73d00169bc5d9f44348f67ad37a16085b13c81

5 years agoGet this test back (removed by error when merging 'double' mondule into 'ast') 73/16473/2
Vincent COUVERT [Wed, 13 May 2015 11:27:45 +0000]
Get this test back (removed by error when merging 'double' mondule into 'ast')

Change-Id: I68b3ff8639138a58ba8c0acb03adffac541e1cbc

5 years agomacr2tree now works in YaSp branch 72/16472/1
Vincent COUVERT [Wed, 13 May 2015 11:20:11 +0000]
macr2tree now works in YaSp branch

Change-Id: I64f1abc520a25d35f5199c9a42b483bf0750f46a

5 years agoSynchronize tests with 5.5 branch 71/16471/1
Vincent COUVERT [Wed, 13 May 2015 11:19:29 +0000]
Synchronize tests with 5.5 branch

Change-Id: I3d2fa0a192efe8dd7d8528e983da12276ab82afe

5 years agoRevert "Manage load of deps for external_objects_java." 65/16465/3
Vincent COUVERT [Thu, 7 May 2015 13:32:39 +0000]
Revert "Manage load of deps for external_objects_java."
Already done in Java code.

This reverts commit 306d1549e04e3b01970e931223fc80c37285ff61.

Change-Id: Id9bbfba600fb1426203346189f3c5132a497423b

5 years agoMove part related to mtlb_mode from listinsertion.tst to mtlb_mode.tst (set as not... 64/16464/1
Vincent COUVERT [Thu, 7 May 2015 12:34:47 +0000]
Move part related to mtlb_mode from listinsertion.tst to mtlb_mode.tst (set as not fixed for the moment).

Test:
test_run data_structures listinsertion

Change-Id: I829febc7b73d03ddead3860e410f399c06cbd5ca

5 years ago * Revert bug_5607.tst removal (https://codereview.scilab.org/#/c/11676/) 62/16462/1
Vincent COUVERT [Thu, 7 May 2015 11:32:30 +0000]
 * Revert bug_5607.tst removal (https://codereview.scilab.org/#/c/11676/)
 * Set tests as NOT FIXED until mtlb_mode is implemented.

Change-Id: I1de3f9f9738f6680735cc59144ce41b6a65c4eed

5 years agoChange error number 144 ==> 999 61/16461/1
Vincent COUVERT [Thu, 7 May 2015 10:45:48 +0000]
Change error number 144 ==> 999

Change-Id: Ib4d8b16a6c6e4cf55453639f2d112f2e78b88520
Test: test_run integer bug_623

5 years agoManage load of deps for external_objects_java. 60/16460/1
Vincent COUVERT [Thu, 7 May 2015 10:10:21 +0000]
Manage load of deps for external_objects_java.

Change-Id: Ib683ae8f84991b30b1959950c8f59df327c0bfc1

5 years agofix bug 4675 test 54/16454/2
Anais AUBERT [Wed, 6 May 2015 15:39:42 +0000]
fix bug 4675 test

Change-Id: If5d6dd1e603e63f6d45d6e3414318d276da11495

5 years agoRemoved tests using fun2string (removed function). 25/15725/6
Anais AUBERT [Mon, 22 Dec 2014 10:03:56 +0000]
Removed tests using fun2string (removed function).

Change-Id: Iaed8834538883fe519b220966c6d6f2a3ca21861

5 years agoMerge remote-tracking branch 'origin/master' into YaSp 58/16458/1
Vincent COUVERT [Thu, 7 May 2015 09:05:01 +0000]
Merge remote-tracking branch 'origin/master' into YaSp

Conflicts:
scilab/modules/differential_equations/sci_gateway/fortran/sci_f_odedc.f
scilab/modules/differential_equations/tests/unit_tests/intg.dia.ref
scilab/modules/graphics/Makefile.am
scilab/modules/graphics/Makefile.in
scilab/modules/graphics/src/c/getHandleProperty/getHandleProperty.h
scilab/modules/mpi/Makefile.am
scilab/modules/mpi/Makefile.in
scilab/modules/overloading/macros/%hm_sum.sci
scilab/modules/scicos/sci_gateway/c/sci_data2sig.c

Change-Id: Ie2ec359732388de39d230cb2fe01f2e659c6bc26

5 years agofix bug 4834 test 49/16449/2
Anais AUBERT [Wed, 6 May 2015 08:26:41 +0000]
fix bug 4834 test

Change-Id: I136f6ead8ea4fdfe6bcdf55000a7788e164d5965

5 years agoMerge remote-tracking branch 'origin/5.5' 56/16456/1
Vincent COUVERT [Thu, 7 May 2015 08:06:03 +0000]
Merge remote-tracking branch 'origin/5.5'

Change-Id: I1ff3668b0dc4b4bbb7a4cdb8e6995c3f9269914d

5 years agoUpdate the javadoc comments to "JEP 172: DocLint" 48/16448/2
Clément DAVID [Wed, 6 May 2015 06:43:13 +0000]
Update the javadoc comments to "JEP 172: DocLint"

Accordingly to the Javadoc team, the <br /> tag is not a valid HTML tag
and it will generate an error at javadoc build with a recent JDK.

Change-Id: Iae8fa8f2ea80a6da5938a0f5a70bb164d8da38a2

5 years agoTypo fixes 50/16450/3
Paul Bignier [Wed, 6 May 2015 09:30:49 +0000]
Typo fixes

Change-Id: Ie6fab54f97f1e645c1e9bc7c63e53f9a7eb0716f

5 years agoFix a typo in fftw.start 55/16455/3
François GRANADE [Thu, 7 May 2015 07:20:07 +0000]
Fix a typo in fftw.start

Change-Id: I4c95ba1d828d8045bb715809e383241d24e08dcc

5 years agodlwGetSdkPath : error was not clear after a winqueryreg fail. 52/16452/2
Cedric Delamarre [Wed, 6 May 2015 14:50:34 +0000]
dlwGetSdkPath : error was not clear after a winqueryreg fail.

Change-Id: Ib22727aad9f41cce93abdfdf89d9770a9c669f90

5 years agofix detection of 1:$ in insertion 51/16451/1
Antoine ELIAS [Wed, 6 May 2015 11:54:05 +0000]
fix detection of 1:$ in insertion

Change-Id: I529625aa126cb37e80d408ac1fc4dbdb6a3db618

5 years agofix trouble after https://codereview.scilab.org/#/c/16442 45/16445/3
Antoine ELIAS [Tue, 5 May 2015 15:39:58 +0000]
fix trouble after https://codereview.scilab.org/#/c/16442

Change-Id: I9dbd16c07644fbc05536f9846a6acc83933eb094

5 years ago./configure --enable-debug-java should compile with full debug info 46/16446/1
Clément DAVID [Wed, 6 May 2015 06:28:03 +0000]
./configure --enable-debug-java should compile with full debug info

Change-Id: I10502ed4fca2aef91dfc8dd451e90793a5b35e62

5 years agofix xclick 30/16430/3
Anais AUBERT [Thu, 30 Apr 2015 10:32:03 +0000]
fix xclick

getcolor()
//clic on a color or close cross, it should not segfault

Change-Id: Id776d6ffa0b1982963b2c3fbab35040bc238f223

5 years agoallow one output argument with fileparts 44/16444/3
Charlotte HECQUET [Tue, 5 May 2015 14:11:40 +0000]
allow one output argument with fileparts

[path,fname,extension]=fileparts('SCI/etc/scilab.start')
[path,fname]=fileparts('SCI/etc/scilab.start')
path=fileparts('SCI/etc/scilab.start')

Change-Id: Ied183704222af83194cc7fd51799670cd30e2268

5 years agofix double free in spec function 43/16443/1
Antoine ELIAS [Tue, 5 May 2015 11:51:42 +0000]
fix double free in spec function

test_run("linear_algebra","bug_3652")

Change-Id: I1f67fa8e7daacf459c98001a4776169915701f39

5 years agoImprove performance for loop and insertion 42/16442/3
Antoine ELIAS [Wed, 29 Apr 2015 09:27:30 +0000]
Improve performance for loop and insertion

Change-Id: I963599a21312ef536ca6cebfecde9debd57b04d2

5 years agosavematfile allows double of any dimension 25/16425/4
Vincent COUVERT [Thu, 30 Apr 2015 08:59:27 +0000]
savematfile allows double of any dimension

This reverts commit 8c1591d740cc9b84c5431158c4aea620060f608b.

Change-Id: Ib0a161642b4f3feaac9488caee69de4d879e2b86

5 years agoGetStructVariable : now manage multiple element structs. 40/16440/3
Sylvain GENIN [Mon, 4 May 2015 15:16:13 +0000]
GetStructVariable : now manage multiple element structs.
Test: test_run("matio","bug_9354");

Change-Id: I51549604f1653bae4b7b4dcd277946d22ecdbd01

5 years agoGetCharVariable: better management of array of strings. 39/16439/4
Sylvain GENIN [Mon, 4 May 2015 13:50:30 +0000]
GetCharVariable: better management of array of strings.
Test: test_run matio bug_7862

Change-Id: I2d46fdf04c1200f179a816c14e7f7fcc44ec0ba2

5 years agoGetInteger: 38/16438/3
Sylvain GENIN [Mon, 4 May 2015 13:42:48 +0000]
GetInteger:
 - missing break for one switch
 - unsigned integers were saved as signed.

Test: test_run matio savematfile

Change-Id: I6cad343539c6018f78b847ee22e3a1fa5afffa8e

5 years agotest_649 : add tag <-- ENGLISH IMPOSED --> 41/16441/2
Sylvain GENIN [Tue, 5 May 2015 08:03:24 +0000]
test_649 : add tag <-- ENGLISH IMPOSED -->

Change-Id: Id470898ce3f55b75d8368e480ed23c0848a78989

5 years agoTyping error correction in clf.xml 37/16437/1
Juergen KOCH [Tue, 28 Apr 2015 07:30:33 +0000]
Typing error correction in clf.xml

Change-Id: I7078d108e8adb02c9fdc5f24ce53dd755e2f10e7

5 years agoAvoid the use of macro min/max for Windows compilation. 35/16435/3
Cedric Delamarre [Thu, 30 Apr 2015 13:25:04 +0000]
Avoid the use of macro min/max for Windows compilation.

Change-Id: I13e749f072d0ea3a268ba248f47796393eef50ec

5 years agoFix double-free after https://codereview.scilab.org/#/c/16391/ 34/16434/1
Vincent COUVERT [Thu, 30 Apr 2015 12:52:02 +0000]
Fix double-free after https://codereview.scilab.org/#/c/16391/
Test: test_run ast insert

Change-Id: I2ab4929ad666c6e6a7d59e1e7633f874122e116a

5 years agoWindows install fixed : wrong operations path 31/16431/2
Cedric Delamarre [Thu, 30 Apr 2015 11:56:10 +0000]
Windows install fixed : wrong operations path

Change-Id: I83fff0f7f2c568cb30679cbd55c0de77337673c2

5 years agoFix xpolys after https://codereview.scilab.org/#/c/16390/ (nbRow ... 32/16432/2
Vincent COUVERT [Thu, 30 Apr 2015 12:35:07 +0000]
Fix xpolys after https://codereview.scilab.org/#/c/16390/ (nbRow & nbCol were no more set).
Test:
test_run graphic_objects xpoly
test_run differential_equations bug_10565

Change-Id: Id182683791687bf9b11f7ec053ce51d604000ba1

5 years agoWindows install fixed : includes missing 29/16429/2
Cedric Delamarre [Thu, 30 Apr 2015 10:04:48 +0000]
Windows install fixed : includes missing

Change-Id: I02f7f76bbb64af72db6764b368722b4bb8b7f5c5

5 years ago* Bug #13829 fixed - mean and sum functions returned wrong results for hypermatrices. 27/16427/1
Samuel GOUGEON [Thu, 30 Apr 2015 09:31:03 +0000]
* Bug #13829 fixed - mean and sum functions returned wrong results for hypermatrices.

Change-Id: I1af531e81306fc2a61b290fb6e3a2c614ac456dd

5 years agoRevert "savematfile allows double of any dimension" 24/16424/2
Vincent COUVERT [Thu, 30 Apr 2015 08:59:09 +0000]
Revert "savematfile allows double of any dimension"

This reverts commit 57409d4c06eac6ed1f3f5822dbed55a8db7cc83c.

Change-Id: Iac90678d0c18273c612b34146c95f149e6429523

5 years agoManage overloaded functions in where. 18/16418/2
Vincent COUVERT [Wed, 29 Apr 2015 12:37:47 +0000]
Manage overloaded functions in where.

To test: test_run("graphics","bug_2043")

Change-Id: Iedd6db08a547cc954b07856f55cdd4a17b48c9a8

5 years agosavematfile now allows to save ND-arrays of doubles. 21/16421/1
Vincent COUVERT [Wed, 29 Apr 2015 15:22:50 +0000]
savematfile now allows to save ND-arrays of doubles.

Change-Id: Ibbe0ae225644ebe35fe55c3d40dfe5d3c5b5c082
Test: test_run("compatibility_functions","bug_649");

5 years agoMissing global variable declaration in mtlb_eval. 34/16334/4
Sylvain GENIN [Wed, 8 Apr 2015 08:31:58 +0000]
Missing global variable declaration in mtlb_eval.
Worked in Scilab 5.X because of a scoping bug.

Test: test_run("compatibility_functions","bug_4603");

Change-Id: I51672596c6b4307e40c2cb49a087430e2ffa7562

5 years agofunction GetCellVariable and GetStructVariable splitted avoid multiple 48/16348/11
Sylvain GENIN [Thu, 9 Apr 2015 15:23:28 +0000]
function GetCellVariable and GetStructVariable splitted avoid multiple
code with function GetMatlabVariable

Change-Id: I88aef92f19f6c39d993b68c656c7c693e57ebfaf

5 years agosavematfile allows double of any dimension 60/16360/5
Sylvain GENIN [Mon, 13 Apr 2015 12:23:51 +0000]
savematfile allows double of any dimension

test_run("compatibility_functions","bug_577",["no_check_error_output" ]);

link : https://codereview.scilab.org/#/c/16348/

Change-Id: I100be552268b0f88b8a314c6fe52feb6b6a16f11

5 years agorewrite GetSparseVariable to c++ 46/16346/9
Sylvain GENIN [Thu, 9 Apr 2015 12:46:33 +0000]
rewrite GetSparseVariable to c++

Change-Id: Iaa8bcb88dc0d06d4a04e231ebcd6842524f8736c

5 years agoGetCharVariable rewriten to cpp 43/16343/10
Sylvain GENIN [Thu, 9 Apr 2015 08:38:46 +0000]
GetCharVariable rewriten to cpp

Change-Id: I0d1a7cc824fa06c9585e41b6c3ad665b922ad04e

5 years agoallow multidimensions in GetIntegerVariable 42/16342/10
Sylvain GENIN [Wed, 8 Apr 2015 15:17:52 +0000]
allow multidimensions in GetIntegerVariable

Change-Id: I377345eff79a55609d9a1368883409cb7fda0cb3

5 years agogetDoubleVariable translated to cpp and option matfile_version for ConvertSciVarToMat... 41/16341/6
Sylvain GENIN [Wed, 8 Apr 2015 14:30:33 +0000]
getDoubleVariable translated to cpp and option matfile_version for ConvertSciVarToMatVar added

Change-Id: I832b136fd424af4c4a0b54d35d56d6c8596954ba

5 years agomanagememnt of empty command 38/16338/3
Cedric Delamarre [Wed, 8 Apr 2015 11:55:41 +0000]
managememnt of empty command

loadXcosLibs(); tree_show(scicos_diagram())

then double click on tree, nothing must occur.

Change-Id: I754e5d4741376284c83340851f687a3dd6e4e775

5 years agoinsertion in cell 52/16352/5
Cedric Delamarre [Fri, 10 Apr 2015 11:58:33 +0000]
insertion in cell

a{2} = 1
a(2) = 128

Change-Id: I61c2d745a88f21485e4c9b327207c51ba908b97a

5 years agofor no display the zeros in a polynom 88/16388/3
Sylvain GENIN [Tue, 21 Apr 2015 12:38:04 +0000]
for no display the zeros in a polynom

z=poly(0,"z")

Change-Id: Ie436129fcb9e5f61a091cda35f3cc27a4d68113b

5 years agofix xset doc about wpos parameters 20/16420/2
Anais AUBERT [Wed, 29 Apr 2015 13:00:24 +0000]
fix xset doc about wpos parameters

Change-Id: I469ab24aeea8022180c7499e8f889d0c681f264b

5 years agofix xset(wdim,...) 19/16419/3
Anais AUBERT [Wed, 29 Apr 2015 12:57:22 +0000]
fix xset(wdim,...)

test_run("graphics","bug_711",["no_check_error_output" ]);

Change-Id: If3b25365e6ef228c3c8e7cb2a3ba40e22470ec9b

5 years agofix bug 9464 : predef(0) no more available in yasp 96/16396/2
Anais AUBERT [Wed, 22 Apr 2015 10:11:14 +0000]
fix bug 9464 : predef(0) no more available in yasp

test_run("graphics","bug_9464",["no_check_error_output" ]);

Change-Id: I32f18625c537cf4b30033e8b9c7c6501d664c88a

5 years agoDifferential_equations tests: fix warnings and wrong quotes 17/16417/1
Paul Bignier [Mon, 27 Apr 2015 13:21:35 +0000]
Differential_equations tests: fix warnings and wrong quotes

Change-Id: I4affa73b2b65b7955a1b84e2b88632f2f2c5a79c

5 years agosomes modifications about UserType 15/16415/1
Cedric Delamarre [Tue, 28 Apr 2015 13:36:25 +0000]
somes modifications about UserType

Change-Id: I43d836cdf2b98ea35d4d0e84e6c9023bea930433

5 years agoScicos: only call CVDense() when necessary 13/16413/1
Paul Bignier [Mon, 27 Apr 2015 15:21:35 +0000]
Scicos: only call CVDense() when necessary

Change-Id: I439f6f3d8fe36832cbbb3614163345bb790da83e

5 years agoOptimization tests: fix warning 12/16412/1
Paul Bignier [Mon, 27 Apr 2015 15:01:12 +0000]
Optimization tests: fix warning

Change-Id: I00f8e81ac97755b6a14f2d070087ba06c0619da7

5 years agoScicos macros: do not use protected 'dst' name 11/16411/1
Paul Bignier [Mon, 27 Apr 2015 14:08:38 +0000]
Scicos macros: do not use protected 'dst' name

 * Using 'dst' generated warnings in some tests

Change-Id: Ideb64c9fd71af460e96042ae68bde3f15fda690a

5 years agoHDF5 fixed about non initialization of static member 77/16377/2
Cedric Delamarre [Wed, 15 Apr 2015 15:51:44 +0000]
HDF5 fixed about non initialization of static member

We can not be sure that the static member "nameToType"
will be initilize before the call of static methode "initMap".

Change-Id: I6b5f0fdeb24fb8dc3a8a5c282350d71bcd27c482

5 years agoFix double free after https://codereview.scilab.org/#/c/16391/ 01/16401/1
Vincent COUVERT [Wed, 22 Apr 2015 14:29:50 +0000]
Fix double free after https://codereview.scilab.org/#/c/16391/

Change-Id: Ib5a3bf360ab07e0018d8b9317f66a257281d18ef

5 years agoenable visual leak detector in all projects ( on windows and debug mode only ) 91/16391/3
Antoine ELIAS [Wed, 22 Apr 2015 07:20:57 +0000]
enable visual leak detector in all projects ( on windows and debug mode only )
fix ast, elementary_functions, string tests memory leaks.

to use it :
 - install Visual Leak Detector ( https://vld.codeplex.com/releases )
 - add path in Visual Studio Configuration ( https://vld.codeplex.com/wikipage?title=Using%20Visual%20Leak%20Detector&referringTitle=Documentation )
 - add preprocessor flag DEBUG_VLD in Property Manager Configuration of Visual Studio.
 - Rebuild and play !

Change-Id: Icc6d7449a3e8f4f11dcb752f75805e5ba5fa5f3f

5 years ago[graphics] set data property 'data' fixed with Matplot 90/16390/3
Cedric Delamarre [Tue, 21 Apr 2015 13:03:05 +0000]
[graphics] set data property 'data' fixed with Matplot

Matplot(rand(10,10)*10)
e=gce();
e.data = rand(10,10) * 20;
e.data = rand(10,10) * 30;

Change-Id: I6bd627248c3cbb12369cccd39da6196d81f7a303

5 years agoIntel compiler on Linux 68/16368/4
Cedric Delamarre [Tue, 14 Apr 2015 10:18:37 +0000]
Intel compiler on Linux

Change-Id: Ic9247da37721b1280128faa3c7713ddc2880fb85

5 years agoUserType fixed about pure virtual methode 92/16392/2
Cedric Delamarre [Wed, 22 Apr 2015 08:07:59 +0000]
UserType fixed about pure virtual methode

Compilation error occured when a class inherit of UserType and do not overload toString methode.

Change-Id: I34440a2bc20dc2e7f3506e6cb97edfec2cc93303

5 years agoIntel compiler on Linux 00/16400/1
Cedric Delamarre [Tue, 14 Apr 2015 10:18:37 +0000]
Intel compiler on Linux

Change-Id: Ic9247da37721b1280128faa3c7713ddc2880fb85

5 years ago[MPI] definition of DEBUG removed from Makefile. 67/16367/2
Cedric Delamarre [Tue, 14 Apr 2015 10:17:40 +0000]
[MPI] definition of DEBUG removed from Makefile.

Change-Id: Id10342dd54779695cb1802ef23ba95ce82cac098

5 years agoBackport https://codereview.scilab.org/#/c/16367/ to 5.5 branch 99/16399/1
Vincent COUVERT [Wed, 22 Apr 2015 13:43:26 +0000]
Backport https://codereview.scilab.org/#/c/16367/ to 5.5 branch

Change-Id: I0d57cd41bc47b0750b959cf18be2fe61dd1a6d77