5 years agofix root error after spec error and toString on poly with coef < %eps 42/16042/1
Antoine ELIAS [Wed, 25 Feb 2015 16:06:32 +0000]
fix root error after spec error and toString on poly with coef < %eps

Change-Id: Id1ec9da5a5da747b42fe036a501f0609b7085ccf

5 years agoupdated bug 10867 test 28/16028/2
Anais AUBERT [Wed, 25 Feb 2015 08:28:34 +0000]
updated bug 10867 test

Change-Id: I0bd4e1ea8a559d51f47f2e55d01e7b920c6833d4

5 years agoupdated bug 10241 test 27/16027/2
Anais AUBERT [Wed, 25 Feb 2015 08:23:39 +0000]
updated bug 10241 test

Change-Id: I0cd30eda0163cb5d3f7bb140c0cf3de143feac23

5 years agofix msprintf test 32/16032/2
Anais AUBERT [Wed, 25 Feb 2015 10:29:31 +0000]
fix msprintf test

Change-Id: I23ff0f6ab1a1993399f370854ab9fb12f4ea67fc

5 years agoCell extraction fixed. 35/16035/2
Cedric Delamarre [Wed, 25 Feb 2015 10:38:56 +0000]
Cell extraction fixed.

Change-Id: Ia925d18ee938b5c1d71b549b80dd044222aa0f63

5 years agoMerge remote-tracking branch 'origin/master' into YaSp 34/16034/1
Vincent COUVERT [Wed, 25 Feb 2015 10:37:29 +0000]
Merge remote-tracking branch 'origin/master' into YaSp

Conflicts:
scilab/modules/scicos_blocks/src/c/fromws_c.c

Change-Id: I49029461b8927bf9f2343ca6c6950179b8c90958

5 years agoMerge remote-tracking branch 'origin/5.5' 33/16033/1
Vincent COUVERT [Wed, 25 Feb 2015 10:34:24 +0000]
Merge remote-tracking branch 'origin/5.5'

Change-Id: I80184904aface4a6091fbbbd7f333bf40ea03a0f

5 years agoScirenderer: use JOGL 2.2.X API (fix bug 13586) 95/15395/4
Clément DAVID [Fri, 17 Oct 2014 07:10:05 +0000]
Scirenderer: use JOGL 2.2.X API (fix bug 13586)

Change-Id: Ifa2222190af6c5047f5b61b3a7b273ca4c10d4b6

5 years agoprotect rhs against removal [a,b] = (b,a) 31/16031/1
Antoine ELIAS [Wed, 25 Feb 2015 08:45:01 +0000]
protect rhs against removal [a,b] = (b,a)

Change-Id: I7c62f4e434a07586fd19bb9eff7e9ca2f9e6e9b5

5 years agoFix mlist/list comparison overloading after https://codereview.scilab.org/#/c/15913/ 17/16017/2
Vincent COUVERT [Tue, 24 Feb 2015 08:27:20 +0000]
Fix mlist/list comparison overloading after https://codereview.scilab.org/#/c/15913/

Change-Id: I2c41578aed396504b8a69c918d8fdfb0b5b75f1d

5 years agoString: free the string data instead of delete[] 26/16026/1
Clément DAVID [Tue, 24 Feb 2015 16:07:36 +0000]
String: free the string data instead of delete[]

Most of the String methods use C-like API (wcsdup, to_wide_string))
which allocate the data using malloc. The memory have to be freed using
free.

Change-Id: Ic6adba530d01faaa650709d9c2dfaca9d6c22855

5 years agoFix Windows compilation after https://codereview.scilab.org/#/c/15991/ 25/16025/1
Vincent COUVERT [Tue, 24 Feb 2015 15:41:43 +0000]
Fix Windows compilation after https://codereview.scilab.org/#/c/15991/

Change-Id: Id84ce22a47742fe4e2c28769cac383ef174de11b

5 years agofix congrad_list test 22/16022/2
Anais AUBERT [Tue, 24 Feb 2015 11:04:14 +0000]
fix congrad_list test

Change-Id: I7a11c3dc0886908553f700dea08869a75663cfe3

5 years agoregenerated dae ref 21/16021/2
Anais AUBERT [Tue, 24 Feb 2015 10:39:11 +0000]
regenerated dae ref

Change-Id: I35fcc6474972de5fb9dac6eb5c349a509b235c28

5 years agoXcos: replace obsolete str2code, _str2code, code2str and _code2str with ascii 41/15941/5
Paul Bignier [Wed, 11 Feb 2015 13:59:59 +0000]
Xcos: replace obsolete str2code, _str2code, code2str and _code2str with ascii

 * Stored length(ascii(.)) to fix non-ascii strings
 * Replace in interface and simulation functions

Change-Id: I376e47c780946ec5b53956e86c4f06610c9f6c1f

5 years agofix polynom from comparison[eq,ne] and add test on the handle & polynom 18/16018/1
Sylvain GENIN [Tue, 24 Feb 2015 08:56:16 +0000]
fix polynom from comparison[eq,ne] and add test on the handle  & polynom

Change-Id: Ifefa2822dde14270856382e45273e03f0a754af0

5 years agocomparison_[eq,ne] add scalardhandle 12/16012/3
Sylvain GENIN [Mon, 23 Feb 2015 15:26:34 +0000]
comparison_[eq,ne] add scalardhandle

Change-Id: I42d7a0ed0da37e7472e0b3258f226bad2b130432

5 years agoFix CellExp::clone() after https://codereview.scilab.org/#/c/15991/. 14/16014/1
Antoine ELIAS [Mon, 23 Feb 2015 16:14:18 +0000]
Fix CellExp::clone() after https://codereview.scilab.org/#/c/15991/.

Change-Id: I08702bd7245ac7c2d09e1935813361bee0ca3d1e

5 years ago* Bug #13752 fixed - The 'Supported compilers' page is outdated 11/16011/2
Simon Marchetto [Mon, 23 Feb 2015 15:23:38 +0000]
* Bug #13752 fixed - The 'Supported compilers' page is outdated

Change-Id: I8f291a7ee6b247d4e169f296088a3adcd5eeea85

5 years agofix 'some' memory leaks @startup 91/15991/9
Antoine ELIAS [Fri, 20 Feb 2015 10:15:55 +0000]
fix 'some' memory leaks @startup

fix memory leaks @startup in nwni mode (scilex on Windows) and buildmacros on both platforms.

Change-Id: Ib444faa06bf92c6184f4bd0d19d853dd3ac3be73

5 years agoMerge remote-tracking branch 'origin/master' into YaSp 10/16010/1
Vincent COUVERT [Mon, 23 Feb 2015 15:12:30 +0000]
Merge remote-tracking branch 'origin/master' into YaSp

Conflicts:
scilab/configure
scilab/modules/differential_equations/sci_gateway/fortran/sci_f_dasrt.f
scilab/modules/graphics/Makefile.am
scilab/modules/graphics/Makefile.in
scilab/modules/graphics/includes/gw_graphics.h
scilab/modules/graphics/sci_gateway/c/gw_graphics.c
scilab/modules/graphics/sci_gateway/c/sci_relocate_handle.c

Change-Id: Icf745dea7331c54762be7afc8a436447d0b08e72

5 years agoXcos macros: replace unhandled 'doc' property with handled 'model.uid' 60/15960/3
Paul Bignier [Tue, 17 Feb 2015 09:02:54 +0000]
Xcos macros: replace unhandled 'doc' property with handled 'model.uid'

Change-Id: I218ecc5407d3b0b66835e6b54a08788086b629f3

5 years agoMerge remote-tracking branch 'origin/5.5' 08/16008/1
Vincent COUVERT [Mon, 23 Feb 2015 14:28:45 +0000]
Merge remote-tracking branch 'origin/5.5'

Change-Id: If8651784067ffb37b44971da1d0266800f72066f

5 years agorelocate_handle removed. 09/15909/4
Anais AUBERT [Wed, 4 Feb 2015 15:01:26 +0000]
relocate_handle removed.

Change-Id: I2211b166a460335adc3bb02c9ea56d53086c142c

5 years agowindows daskr execution fixed. 07/16007/2
Cedric Delamarre [Fri, 20 Feb 2015 09:28:42 +0000]
windows daskr execution fixed.

 test_run("differential_equations","daskr",["no_check_error_output" ]);

Change-Id: Id3f01b0973aecc7e918e1c5dbce7ea8821bd4537

5 years agodasrt error message fixed. 06/16006/1
Cedric Delamarre [Thu, 19 Feb 2015 17:19:27 +0000]
dasrt error message fixed.

Change-Id: If78af786a5be776d5793c91c5bc186014aef875a

5 years agofixe bug_4339: regenerates the dia file 92/15992/3
Sylvain GENIN [Fri, 20 Feb 2015 13:19:02 +0000]
fixe bug_4339: regenerates the dia file

test_run("fileio","bug_4339",["no_check_error_output" ]);

Change-Id: I74749c6e694f2050c878a4ee350fe973ff545cb2

5 years agofixe bug_4734: regenerates the dia file 98/15998/4
Sylvain GENIN [Fri, 20 Feb 2015 16:09:50 +0000]
fixe bug_4734: regenerates the dia file

test_run("fileio","bug_4734",["no_check_error_output" ]);

Change-Id: I98abffdae1a6c8051a9b3a6a6065d782446dbd66

5 years agoremoved load_old_file test 05/16005/2
Anais AUBERT [Mon, 23 Feb 2015 10:59:38 +0000]
removed load_old_file test

Change-Id: I0351b025e34ea523790c22015661192ea9f74326

5 years agoregenerated contour ref 04/16004/3
Anais AUBERT [Mon, 23 Feb 2015 10:56:06 +0000]
regenerated contour ref

Change-Id: I094c2d6c1ff09a4f310e58fb32cf26e93b5b51bd

5 years agofixe (function, macro, struct, [T,M]List) == and <> Empty 02/16002/4
Sylvain GENIN [Mon, 23 Feb 2015 10:12:15 +0000]
fixe (function, macro, struct, [T,M]List) == and <> Empty

add new test from comparison(non)equal

fixe struct == and <> struct

Change-Id: If587d3062c10caafa469264282f70df58b044e11

5 years agoXcos MVC: test extraction reference number 07/15907/5
Paul Bignier [Tue, 3 Feb 2015 16:18:41 +0000]
Xcos MVC: test extraction reference number

 * Extracting an item from a diagram and modifying it should not modify the diagram
but clone and modify the exctracted item

Change-Id: I884e908424ee5a75c7dfd416b7bb471489e0a2c4

5 years agoXcos MVC: improve ID assignation 97/15997/3
Clément DAVID [Fri, 20 Feb 2015 14:09:47 +0000]
Xcos MVC: improve ID assignation

Thanks to calixte, the algorithm will not lookup for the first 2**64
objects.

Change-Id: I1a08d597717c07dd3288f3c7610ce5465aef6d5a

5 years agoXcos MVC: reference counter instead of shared_ptr 17/15917/6
Clément DAVID [Wed, 4 Feb 2015 10:48:31 +0000]
Xcos MVC: reference counter instead of shared_ptr

shared_ptr can not be used on the Java side, instead of using 2
reference counting scheme (for composition and for multi-view) the
previous shared_ptr usage has been moved to the reference counting.

The API just allow any view to referenceObject which increment the
deleteObject number of calls needed to free the object.

This commit also fix memory leaks by :

 * Allowing a cloneObject without deep copy of children.
 * Implementing DiagramAdapter cloning the right way (cloning children
   only once).
 * Re-using properties accessor on copy-constructors

Change-Id: I0c7d509bd7944c9044371ea2ae1b49900413071b

5 years agoleak on list fixed. 93/15993/1
Cedric Delamarre [Fri, 20 Feb 2015 13:38:13 +0000]
leak on list fixed.

Change-Id: I686f36a5eb23739718c80bc276841815c40bfea8

5 years agocorrection equation in sci_daskr 38/15938/11
Sylvain GENIN [Thu, 12 Feb 2015 08:31:03 +0000]
correction equation in sci_daskr

test_run differential_equations daskr

Change-Id: Ie4bd0feadfb44f3a646123866d6430588efbf8c2

5 years agofix comparison two string : [a;b] == [c a b] 85/15985/1
Sylvain GENIN [Thu, 19 Feb 2015 16:24:56 +0000]
fix comparison two string : [a;b] == [c a b]

Change-Id: Ib52fb7cbbce88d815f0f521c68c674440dc55585

5 years agocomparison equal and no equal 13/15913/14
Sylvain GENIN [Thu, 5 Feb 2015 13:27:24 +0000]
comparison equal and no equal

test_run("ast","comparisonequal",["no_check_error_output" ]);
test_run("ast","comparisonnonequal",["no_check_error_output" ]);

Change-Id: I0db55a4eb86a1982332a2ddc9aa45f937fe972ac

5 years agoFix function working on a side-effect of Scilab 5. 77/15977/2
Vincent COUVERT [Thu, 19 Feb 2015 11:26:18 +0000]
Fix function working on a side-effect of Scilab 5.

To test:
test_run("optimization", "bug_8777");
test_run("optimization", "neldermead_rosensuzuki");

Now test_run("optimization") must be OK in YaSp branch.

Change-Id: Id8416a0b6ff5fea1055c0bc810fb9baae8e79318

5 years agoForce repaint on children dynamic deletion. 83/15983/1
Bruno JOFRET [Thu, 19 Feb 2015 14:28:46 +0000]
Force repaint on children dynamic deletion.

Change-Id: Id999f06bc84f24d4e15c381d542c51a0687e0e9d

5 years agoRemove wrong undocumented syntax used here in deff(). 81/15981/2
Vincent COUVERT [Thu, 19 Feb 2015 13:42:30 +0000]
Remove wrong undocumented syntax used here in deff().

Change-Id: I6dc4b4c103869e1dfec4b3fc87164d4550e4a962
Test: test_run differential_equations intc

5 years ago * Replace derivative by numderivative. 01/15901/10
Anais AUBERT [Tue, 3 Feb 2015 12:43:26 +0000]
 * Replace derivative by numderivative.
 * Use fixed step in tests when numderivative is used to replace derivative.
 * Tests based on derivative duplicated to have test cases based on variable step.
 * Management of 'optionals' parameters for "ar" in optim().
 * Fix wrong test about output arguments number in optim().

To test:
test_run("optimization", "bug_12702");
test_run("optimization", "bug_13243");
test_run("optimization", "bug_4083");
test_run("optimization", "bug_9208");
test_run("optimization", "bug_9690");
test_run("helptools", "bug_5222");
test_run("fileio", "getURL");

Change-Id: I24f4b13c9297e22a368cf02dd026482e88824df3

5 years agomemleak in mgetl fixed. 79/15979/2
Cedric Delamarre [Thu, 19 Feb 2015 13:37:59 +0000]
memleak in mgetl fixed.

Change-Id: Ia0b96b7cd9324813ec83470aa4dd333bbc4954ab

5 years ago* numdiff removed. Please use numderivative instead. 78/15978/1
Vincent COUVERT [Thu, 19 Feb 2015 13:07:26 +0000]
* numdiff removed. Please use numderivative instead.
 ==> See https://codereview.scilab.org/#/c/15903/
* derivative removed. Please use numderivative instead.
 ==> See https://codereview.scilab.org/#/c/14629/

Changes updated + remaining files removed.

Change-Id: Iec21e406fecd22297f87ad5bc3b49c335064a212

5 years agoremoved numdiff 03/15903/2
Anais AUBERT [Tue, 3 Feb 2015 13:41:20 +0000]
removed numdiff

Change-Id: Ieb233b74f41cc56c318650ccd3e6e4c316b7e1c0

5 years agoregenerated bug 7181 ref 76/15976/2
Anais AUBERT [Thu, 19 Feb 2015 10:30:49 +0000]
regenerated bug 7181 ref

Change-Id: I4cfd47f3055cf5a69bffa26c78ee17a46dc3cd4d

5 years agofix exists error message 75/15975/2
Anais AUBERT [Thu, 19 Feb 2015 09:56:51 +0000]
fix exists error message

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

Change-Id: Ib212b5197244879a4f97e9ca0c90b637cdb20008

5 years agompi module plugged. 74/15974/5
Cedric Delamarre [Wed, 18 Feb 2015 16:20:55 +0000]
mpi module plugged.

Change-Id: Ic3e2daeaa95e5892905ef3f45f4fecb47d2d64c7

5 years agoXcos MVC: use std::unordered_map for object model 37/15937/2
Clément DAVID [Wed, 11 Feb 2015 16:22:22 +0000]
Xcos MVC: use std::unordered_map for object model

Model::getObject is far more called than object creation ; an hashmap
implementation reduce the execution time.

Change-Id: Ia12454693e98d85d928cebf8195f4e62ecfd965a

5 years agoFix Mac OS X compilation after: 73/15973/1
Vincent COUVERT [Wed, 18 Feb 2015 16:29:19 +0000]
Fix Mac OS X compilation after:
https://codereview.scilab.org/#/c/15966/
https://codereview.scilab.org/#/c/15962/

test_run("output_stream","bug_2969");
x = uint32(170 * 256 * 256 * 256);
sprintf('%8x',x)
test_run("output_stream","bug_1540");

Change-Id: Ie360f4d64ef3d10f143e57c360aabc5e8f08c2b4

5 years agofix lines(0,0) 69/15969/3
Anais AUBERT [Wed, 18 Feb 2015 14:15:24 +0000]
fix lines(0,0)

Change-Id: I7499bedf7437a1fbe50544f90fce8ddc78b1fd6a

5 years agoregenerated output_stream ref files 70/15970/2
Anais AUBERT [Wed, 18 Feb 2015 15:13:45 +0000]
regenerated output_stream ref files

Change-Id: I74fe0ec4c822c827a515a4ad995736398b0a2d88

5 years agoregenerated bug 3070 test ref file 60/15060/3
Anais AUBERT [Thu, 21 Aug 2014 13:39:08 +0000]
regenerated bug 3070 test ref file

Change-Id: Ia7145b9274ab7d85bcc7d25e17e5588a9db80eeb

5 years agooptim gateway corrected. 72/15972/2
Cedric Delamarre [Wed, 18 Feb 2015 15:34:37 +0000]
optim gateway corrected.

Change-Id: Id96f6bd31a1fcf3c83dd40b7eaa3bc455c758866

5 years agoFix graphics data files: 24/15824/4
Anais AUBERT [Thu, 15 Jan 2015 12:53:46 +0000]
Fix graphics data files:
 - *.dat regenerated in Scialb 5.5.1
 - bug_13114_1.sod regenerated in Scilab 5.4.1 using save("bug_13114_1.sod", "h")
 - bug_13114_1.sod regenerated in Scialb 5.5.1

Change-Id: I1f2d7cec86ec75135e40bcf9e829ae520e8149cf

5 years agoregenerated bug 8874 ref 68/15968/1
Anais AUBERT [Wed, 18 Feb 2015 13:15:13 +0000]
regenerated bug 8874 ref

Change-Id: Iaa8058ad46fb30a94d1772000e86a299324e76d5

5 years agosetfield fixed 67/15967/2
Cedric Delamarre [Wed, 18 Feb 2015 12:47:16 +0000]
setfield fixed

Change-Id: Ia5e2b58ad4c83571f90d43cb0ccb9eb81ed5c7ce

5 years agofix bug 8874 test 64/15964/2
Anais AUBERT [Wed, 18 Feb 2015 08:49:38 +0000]
fix bug 8874 test

Change-Id: Ic68b9db52f043b245147de93f9a906593470df16

5 years agofix hexadecimal display with sprintf 66/15966/1
Anais AUBERT [Wed, 18 Feb 2015 12:46:40 +0000]
fix hexadecimal display with sprintf

test_run("output_stream","bug_2969",["no_check_error_output" "short_summary" ]);

x = uint32(170 * 256 * 256 * 256);
sprintf('%8x',x)

Change-Id: I05281a792e7a091f699ed1d9700640503dd59860

5 years agofix windows compilation and some warnings 65/15965/1
Antoine ELIAS [Wed, 18 Feb 2015 08:49:57 +0000]
fix windows compilation and some warnings

Change-Id: I0ed1fa58c90d0a8245b7ab73894654462aa02c18

5 years agofix printf of nan and inf 62/15962/3
Anais AUBERT [Tue, 17 Feb 2015 10:26:13 +0000]
fix printf of nan and inf

test_run("output_stream","bug_1540",["no_check_error_output" ]);

Change-Id: I8b80c7fbcf8998c027d8d288c4788a01e57e3c71

5 years agofix windows compilation after ffcd8e2e #2 61/15961/2
Clément DAVID [Tue, 17 Feb 2015 10:22:16 +0000]
fix windows compilation after ffcd8e2e #2

Rational:
 includes/ should only contain file used in others modules
 src/cpp/ contains files used by gateways and business logic

Change-Id: If22d34d40de86edcd8cf34cbe3eb7f5acd5dcbe5

5 years agofix windows compilation after ffcd8e2e 59/15959/1
Clément DAVID [Tue, 17 Feb 2015 09:05:00 +0000]
fix windows compilation after ffcd8e2e

Change-Id: Ia0325ddf445cbfd83a83bd7cd169ac9e6eed288a

5 years agoXcos MVC: use var2vec and vec2var to encode and decode 'opar' and 'odstate' fields 33/15933/13
Paul Bignier [Tue, 10 Feb 2015 15:40:42 +0000]
Xcos MVC: use var2vec and vec2var to encode and decode 'opar' and 'odstate' fields

 * Moved var2vec and vec2var code to Scicos sources
   In the process, they now take an std::vector<double>, to reduce copies
 * Fixed vec2var for complex data
 * Fixed their default values to match var2vec's empty list

Change-Id: I714210ad87e27bcddf045bb3ff0bb5ff4d08a93d

5 years agoXcos : allow scicosim to call functions and macros 83/15883/8
Antoine ELIAS [Thu, 29 Jan 2015 13:49:11 +0000]
Xcos : allow scicosim to call functions and macros

Change-Id: I341a750a6604b7c9eddd4c16fd82cb79c21cd57f

5 years agomove some methode from arrayof.hxx to arrayof.cpp 55/15955/5
Cedric Delamarre [Fri, 13 Feb 2015 16:35:55 +0000]
move some methode from arrayof.hxx to arrayof.cpp

Change-Id: I86c5cc2f9e4b27c26ef34a5cd7e2a9c60e06a170

5 years agoread and write, know the strings 58/15958/2
Sylvain GENIN [Mon, 16 Feb 2015 09:42:10 +0000]
read and write, know the strings

Change-Id: Ie18fafccadf22d982308455a55253f0adf657d58

5 years agoScicos gateways: minor fixes 72/15872/4
Paul Bignier [Wed, 28 Jan 2015 10:59:34 +0000]
Scicos gateways: minor fixes

Change-Id: Ieb357e4683a2e78675176799d4a05746f034e1ad

5 years agoXcos: pass simulation 82/15682/34
Paul Bignier [Tue, 9 Dec 2014 16:23:50 +0000]
Xcos: pass simulation

 * Rewrite sci_curblock, il_state.c, il_sim.c, and sci_scicosim to C++
 * Adapt scicos.c and import.c to work with the new Scilab API

Change-Id: I4c19beb44cfb103601f5bc42c0f148487d4c0493

5 years agoregenerated ss2tf ref 56/15956/1
Anais AUBERT [Mon, 16 Feb 2015 08:31:46 +0000]
regenerated ss2tf ref

Change-Id: I8b75d636aa3cfb6dd11d37a32d3c662f6844f0f5

5 years agofix ss2tf test 51/15951/3
Anais AUBERT [Fri, 13 Feb 2015 14:49:35 +0000]
fix ss2tf test

Change-Id: I7cfd8e1823dc6c580baa05f522df343fb564e23e

5 years agoadd missing dia.ref in m2sci 47/15947/3
Anais AUBERT [Fri, 13 Feb 2015 13:24:11 +0000]
add missing dia.ref in m2sci

Change-Id: I7117813708743a87650bb185d28288988ae52321

5 years agoadd more m2sci dia.ref 44/15944/2
Anais AUBERT [Fri, 13 Feb 2015 11:26:26 +0000]
add more m2sci dia.ref

Change-Id: If7d129d66a9c28b2ca97c3169f1ae0f4035d5009

5 years agoadd m2sci dia.ref 43/15943/2
Anais AUBERT [Fri, 13 Feb 2015 10:37:27 +0000]
add m2sci dia.ref

Change-Id: I4e6507f8821c599b423eb38963604646f50b8df9

5 years agoUpdate error message in test after https://codereview.scilab.org/#/c/15953/ 54/15954/1
Vincent COUVERT [Fri, 13 Feb 2015 15:42:00 +0000]
Update error message in test after https://codereview.scilab.org/#/c/15953/

Change-Id: Iabb6c1eb409ab701b9d1cb48ca03e3b0ac5f6614

5 years agobug_10830 fixed 53/15953/1
Cedric Delamarre [Fri, 13 Feb 2015 15:16:54 +0000]
bug_10830 fixed

Change-Id: I7c58931750e62a56802f15265fd9d0c608349550

5 years agoRevert "bug_10830 fixed" 52/15952/2
Cédric DELAMARRE [Fri, 13 Feb 2015 15:11:15 +0000]
Revert "bug_10830 fixed"

This reverts commit 09aa9e8d473d480c6d1f9959f38be133775d65da.

Change-Id: I412e3fdd904c9529546f0a3623e944b94adcb3dc

5 years agofixe : polynomials : bug_12679 49/15949/3
Sylvain GENIN [Fri, 13 Feb 2015 14:09:26 +0000]
fixe : polynomials : bug_12679

clear parasit value
test_run("polynomials","bug_12679",["no_check_error_output" ]);

Change-Id: I0fba98a189b25bd63ef5730d8a25a263f5528bc4

5 years agoThis file was removed by https://codereview.scilab.org/#/c/9008/ 50/15950/1
Vincent COUVERT [Fri, 13 Feb 2015 14:11:30 +0000]
This file was removed by https://codereview.scilab.org/#/c/9008/

Change-Id: Ic9eeeac7f98d6fb1d88359cf66b1359eef4b67b7

5 years agobug_10830 fixed 48/15948/2
Cedric Delamarre [Fri, 13 Feb 2015 13:39:03 +0000]
bug_10830 fixed

test_run data_structures bug_10830

Change-Id: I04ea2cfa6cff26b2ded18ee927c0501349cd2874

5 years agoFix NPE on units conversion. 46/15946/1
Bruno JOFRET [Wed, 11 Feb 2015 16:02:17 +0000]
Fix NPE on units conversion.

Change-Id: Ica368930b821cd6f879949973bd0350b119a2e1f

5 years agostruct gateway fixed. 42/15942/1
Cedric Delamarre [Fri, 13 Feb 2015 09:41:48 +0000]
struct gateway fixed.

Change-Id: Ib948357566cb8b5b3062c86ff0a5e0c8babeabf9

5 years agofftw module plugged. 08/9008/11
Cedric Delamarre [Fri, 14 Sep 2012 09:10:20 +0000]
fftw module plugged.

Change-Id: I8712b76397e8a2b9dc734fb5f9b20a22d35563f8

5 years agoTest if file exists before trying to load it (to avoid messages in stderr). 32/15932/1
Vincent COUVERT [Tue, 10 Feb 2015 14:57:05 +0000]
Test if file exists before trying to load it (to avoid messages in stderr).

Update SCI/modules/m2sci/tests/nonreg_tests/bug_683.tst for Scilab 6 (test case for load modification).

To test:
test_run m2sci bug_683
exec SCI/modules/development_tools/tests/nonreg_tests/bug_5149.tst

Change-Id: Icdabca942ec031c82cad8b25373dbcf814a6c85c

5 years agoBug 13742 fixed: Figure was not well printed when there is a xstring with latex 31/15931/1
Calixte DENIZET [Tue, 10 Feb 2015 14:18:58 +0000]
Bug 13742 fixed: Figure was not well printed when there is a xstring with latex

Change-Id: Ibbb90a308e32a84d17500efda3c1aa04149cb9d3

5 years agoBug 13741 fixed: Impossible to print an invisible figure under Windows 30/15930/1
Calixte DENIZET [Tue, 10 Feb 2015 14:16:20 +0000]
Bug 13741 fixed: Impossible to print an invisible figure under Windows

Change-Id: I5b73506df6cc3fde4898cdc83b30e15bcc250258

5 years agoFirst macr2tree implementation based on AST. 14/15914/8
Antoine ELIAS [Thu, 5 Feb 2015 13:43:48 +0000]
First macr2tree implementation based on AST.

Change-Id: I0ffa8c95ede341cb0767f05a08c4d6ada8f80e5d

5 years agoFix MEX files link. 20/15920/7
Vincent COUVERT [Fri, 6 Feb 2015 15:22:30 +0000]
Fix MEX files link.
Update tests to use assert_* functions.
Regenerate refs (contained many useless blank lines).

To test: test_run("mexlib", ["mexCall" "mexEvalString" "mexPrintf" "mexPutFull" "mexPutVariable" "mexWarnMsgTxt" "mxAddField" "mxArrayToString" "mxCalcSingleSubscript" "mxCheckTypes" "mxCreateCell" "mxCreateCharMatrixFromStrings" "mxCreateDouble" ...
   "mxCreateLogicalArray" "mxCreateLogicalMatrix" "mxCreateLogicalScalar" "mxCreateNumericArray" "mxCreateString" "mxCreateStruct" "mxDuplicateArray" "mxGetChars" "mxGetClassID" "mxGetClassName" "mxGetDimensions" "mxGetElementSize" "mxGetEps" ...
   "mxGetField" "mxGetFieldByNumber" "mxGetFieldNameByNumber" "mxGetInf" "mxGetLogicals" "mxGetNaN" "mxGetNumberOfDimensions" "mxGetNumberOfElements" "mxGetNumberOfFields" "mxGetScalar" "mxGetSetData" "mxGetSetImagData" "mxGetSetMN" "mxGetSetPri" "mxGetString"  ...
   "mxIsClass" "mxIsComplex" "mxIsEmpty" "mxIsFinite" "mxIsInf" "mxIsLogicalScalar" "mxIsNaN" "mxMalloc" "mxSetCell" "mxSetDimensions" "mxSetField" "mxSetFieldByNumber" "bug_614"])

Change-Id: I83453e01b3d0487ee324796fc6db90dce339b2ed

5 years agoScicos gateways: rewrite sci_var2vec and sci_vec2var to C++ 88/15888/14
Paul Bignier [Fri, 30 Jan 2015 13:41:28 +0000]
Scicos gateways: rewrite sci_var2vec and sci_vec2var to C++

 * Reuse 'opar' and 'odstate' encoding format

Change-Id: Ie01419f6f45a555e309d76c8b3ad8812d883f582

5 years agoFinalize JVM module for Scilab 6. 04/15904/4
Vincent COUVERT [Tue, 3 Feb 2015 14:18:49 +0000]
Finalize JVM module for Scilab 6.

To test: test_run jvm

Change-Id: I3da5d6f925c9b5e4c5d3cf282443cfbb8cf59ea3

5 years agofix mgetl messages 08/15908/2
Anais AUBERT [Wed, 4 Feb 2015 13:35:28 +0000]
fix mgetl messages

test_run("fileio","bug_3427",["no_check_error_output" ]);

Change-Id: Ieed64a1de23397482a0b9237928d94c3156023e1

5 years agoString: fix evstr base case 26/15926/2
Paul Bignier [Tue, 10 Feb 2015 07:54:51 +0000]
String: fix evstr base case

 * evstr("") failed because YaSp fails to evaluate '[;]' (parser error)

Change-Id: Ie8c02571df5e80e9a46fd06bf0bc74dfcd495d4e

5 years agoFix structure field deletion by inserting null(). 27/15927/1
Vincent COUVERT [Tue, 10 Feb 2015 08:44:28 +0000]
Fix structure field deletion by inserting null().

To test: test_run data_structures struct

Change-Id: I0d51831893a3ea3d38960254203426c630fc4b75

5 years agoReset return flag while running ForExp 22/15922/4
Vincent COUVERT [Mon, 9 Feb 2015 14:09:45 +0000]
Reset return flag while running ForExp

Change-Id: I2ee8407159d9e51c087705a7e0ccd3acba300e71

5 years agofix linux compilation 23/15923/1
Anais AUBERT [Mon, 9 Feb 2015 14:21:14 +0000]
fix linux compilation

Change-Id: Iab90453dcd602488c3532ada5135c57900299bcc

5 years agoBug 13725 fixed: Polyline was not correctly filled with big values 21/15921/3
Calixte DENIZET [Mon, 9 Feb 2015 12:37:48 +0000]
Bug 13725 fixed: Polyline was not correctly filled with big values

Change-Id: I36e283da88f23c911004a9393f5e36cc3438b1fa

5 years agofixe loadmatfile : 67/15867/9
Sylvain GENIN [Mon, 26 Jan 2015 14:17:37 +0000]
fixe loadmatfile :
test_run("matio","loadmatfile",["no_check_error_output" ]);

pass of c to cpp for

CreateHyperMatrixVariable
CreateStructVariable
CreateCellVariable

add new file".mat" in loadmatfile for testing the struct with sparse

fixe cell empty

Change-Id: I892389310741a030b41b95ae040c21e793f6a03c

5 years agofix '$ / x' waiting refactor of operations 16/15916/2
Antoine ELIAS [Thu, 5 Feb 2015 13:56:00 +0000]
fix '$ / x' waiting refactor of operations

Change-Id: Iddcf3f19946cbd9af956b4c7af6cbd4cb79c7b56

5 years agoAvoid the last extraction when insertion in a FieldExp. 19/15919/2
Cedric Delamarre [Fri, 6 Feb 2015 09:26:00 +0000]
Avoid the last extraction when insertion in a FieldExp.

test_run ast insert

Change-Id: Iffae84a509a326f81cee23ed439b0d62e7276d05

5 years agoXcos MVC: fix valgrind detected invalid access 81/15881/5
Clément DAVID [Thu, 29 Jan 2015 11:14:48 +0000]
Xcos MVC: fix valgrind detected invalid access

 * Rewrite the opar / odstate encoding
 * fix new[] / delete mismatch

Change-Id: I4e2de62fec7bce3b0e1a0d02ce07be47b10ee4cc