5 years agoupdate matrix insert and insertNew with : 90/16090/2
Antoine ELIAS [Wed, 4 Mar 2015 11:06:34 +0000]
update matrix insert and insertNew with :

Change-Id: I5abfd24f48a4b87f720b01197923b47792e585d2

5 years agoMerge remote-tracking branch 'origin/master' into YaSp 94/16094/1
Vincent COUVERT [Wed, 4 Mar 2015 14:09:20 +0000]
Merge remote-tracking branch 'origin/master' into YaSp

Change-Id: I281855fd0307e4819efe70bf33c4520812c05ba7

5 years agoMerge remote-tracking branch 'origin/5.5' 93/16093/1
Vincent COUVERT [Wed, 4 Mar 2015 14:02:56 +0000]
Merge remote-tracking branch 'origin/5.5'

Change-Id: I56e4ea876d370c1c19a2351b38b8106fb0a457eb

5 years ago* Bug #12842 fixed - Scilab could not be launched on some platforms (ATOMS internal... 43/15843/3
Vincent COUVERT [Wed, 21 Jan 2015 15:28:30 +0000]
* Bug #12842 fixed - Scilab could not be launched on some platforms (ATOMS internal library loading problem).

Change-Id: I50fe9dd9c8da0dc8ad3d5b32326b730a2b758526

5 years agoUse relative paths instead of full path to avoid too long commands 82/16082/3
Vincent COUVERT [Wed, 4 Mar 2015 10:13:22 +0000]
Use relative paths instead of full path to avoid too long commands

Change-Id: I44faa99001d8bdba35f6df77767a7474da42cdf5

5 years agoAdd missing files in Windows binary version 81/16081/2
Vincent COUVERT [Wed, 4 Mar 2015 08:54:14 +0000]
Add missing files in Windows binary version

Change-Id: If3fb49aeac8252eb42b1ef2e721433646858c6bc

5 years agoRemove bad characters at the end of the file 92/16092/2
Vincent COUVERT [Mon, 2 Mar 2015 10:04:53 +0000]
Remove bad characters at the end of the file

Change-Id: I78eb22a0ac84922ef1948ba0c279df7801ac8b4f
(cherry picked from commit d38216f142556c9339b7971ca6b307193dc38d51)

5 years ago* Bug #13772 fixed - Xcos GUI was not locked while setting parameters. 91/16091/1
Clément DAVID [Wed, 4 Mar 2015 13:03:21 +0000]
* Bug #13772 fixed - Xcos GUI was not locked while setting parameters.

Change-Id: I05ca084a1690a55e7d52574c522b5dbb5b2cf100

5 years agoUse relative paths instead of full path to avoid too long commands 84/16084/2
Vincent COUVERT [Wed, 4 Mar 2015 10:13:22 +0000]
Use relative paths instead of full path to avoid too long commands

Change-Id: I44faa99001d8bdba35f6df77767a7474da42cdf5

5 years agoAdd missing files in Windows binary version 83/16083/1
Vincent COUVERT [Wed, 4 Mar 2015 08:54:14 +0000]
Add missing files in Windows binary version

Change-Id: If3fb49aeac8252eb42b1ef2e721433646858c6bc

5 years agofix insertion in list with overloading 77/16077/1
Antoine ELIAS [Tue, 3 Mar 2015 12:39:39 +0000]
fix insertion in list with overloading

Change-Id: I9a3703bb533cf63740aee17f6a4dd8eaa7abda58

5 years ago* Revert modification about functions returning [] (specific use of PutLhsVar() from... 75/16075/2
Vincent COUVERT [Tue, 3 Mar 2015 10:18:51 +0000]
* Revert modification about functions returning [] (specific use of PutLhsVar() from https://codereview.scilab.org/#/c/15934/.
* Fix external_objects function based on this specific case.

To test:
test_run umfpack
test_run external_objects_java

Change-Id: I18b3e0c6c23b722ee033a264b0c423833f278d0c

5 years agoextract on [] must check bad index before return [] 76/16076/2
Antoine ELIAS [Tue, 3 Mar 2015 10:48:37 +0000]
extract on [] must check bad index before return []

Change-Id: I3682633d0ba44af68a4b2f2f11fd306a67f577bc

5 years agoXcos gateways: rewrite sci_set_blockerror to C++ 90/15990/5
Paul Bignier [Fri, 20 Feb 2015 10:14:25 +0000]
Xcos gateways: rewrite sci_set_blockerror to C++

Change-Id: Ifb0ab0cb61df65cc4910f84d0ca5c42ab10afd21

5 years agoAdd missing file in Windows installer 74/16074/2
Vincent COUVERT [Mon, 2 Mar 2015 22:06:17 +0000]
Add missing file in Windows installer

Change-Id: Ie9194dee3d468d4f3043bfbeed12bda1dce1f761

5 years agocheck index of extraction/insertion are not negative or complex 73/16073/2
Antoine ELIAS [Mon, 2 Mar 2015 15:57:56 +0000]
check index of extraction/insertion are not negative or complex

Change-Id: I80ad7e8a5588f516e96eef37383bf64ad0910f69

5 years agomatode test fixed. #2 72/16072/1
Cedric Delamarre [Mon, 2 Mar 2015 16:06:13 +0000]
matode test fixed. #2

https://codereview.scilab.org/#/c/16071/

// This test fails only (some times) on Linux
// and in debug mode on Windows

test_run differential_equations matode

Change-Id: Ia9d43b0e3ff230a7cac47c244cc9f88375d6b15d

5 years agomatode test fixed. 71/16071/2
Cedric Delamarre [Mon, 2 Mar 2015 15:52:43 +0000]
matode test fixed.

Change-Id: Id946c260fa4f9e41fb3d9453ade7a0ce3c2ce4c7

5 years agoRe-plug external_objects + external_objects_java. 34/15934/6
Vincent COUVERT [Wed, 11 Feb 2015 09:39:27 +0000]
Re-plug external_objects + external_objects_java.

Change-Id: I56e171419c07baae1164abbacff64716a65ea5c8

5 years agoThis module is not yet activated ==> .bin not available 70/16070/1
Vincent COUVERT [Mon, 2 Mar 2015 14:53:28 +0000]
This module is not yet activated ==> .bin not available

Change-Id: Ib75ebb00aa77a464f83c8f62c0632cb3c9132c0f

5 years agoThis function has been removed (https://codereview.scilab.org/#/c/14629/) 69/16069/1
Vincent COUVERT [Mon, 2 Mar 2015 14:41:38 +0000]
This function has been removed (https://codereview.scilab.org/#/c/14629/)

Change-Id: I2155c45e53c06c6faca22ea4c3fd29db164f9bd6

5 years agofix windows installer, .bin files are missing, macrofile check opened file before... 67/16067/1
Antoine ELIAS [Mon, 2 Mar 2015 13:07:10 +0000]
fix windows installer, .bin files are missing, macrofile check opened file before use it

Change-Id: Id0e310497f0b19b88034718b7a48364c608965ae

5 years agoRemove bad characters at the end of the file 66/16066/1
Vincent COUVERT [Mon, 2 Mar 2015 10:04:53 +0000]
Remove bad characters at the end of the file

Change-Id: I78eb22a0ac84922ef1948ba0c279df7801ac8b4f

5 years agobug_6390 fixed 62/16062/3
Cedric Delamarre [Fri, 27 Feb 2015 15:43:28 +0000]
bug_6390 fixed

Change-Id: Icf3dd516b2a4748e08c705994b3f192831e36f87

5 years agoFix .dia.ref after wrong commit https://codereview.scilab.org/#/c/15484/ 61/16061/2
Vincent COUVERT [Fri, 27 Feb 2015 15:37:29 +0000]
Fix .dia.ref after wrong commit https://codereview.scilab.org/#/c/15484/

Change-Id: Ia883cd4189d21e464cf9b4de7f7e6ba11a51e96a

5 years agoXcos gateways: rewrite sci_phase_simulation to C++ 88/15988/4
Paul Bignier [Fri, 20 Feb 2015 09:48:50 +0000]
Xcos gateways: rewrite sci_phase_simulation to C++

Change-Id: Idd8820c61ca178d7db125120fc263f34c47b243f

5 years agoXcos gateways: rewrite sci_scicos_debug & sci_scicos_debug_count to C++ 82/15982/8
Paul Bignier [Thu, 19 Feb 2015 13:24:53 +0000]
Xcos gateways: rewrite sci_scicos_debug & sci_scicos_debug_count to C++

Change-Id: I07448f1b5c43c2a8c9c42b499e130af32b4fe774

5 years agofixe test write on the error number 57/16057/2
Sylvain GENIN [Fri, 27 Feb 2015 10:47:22 +0000]
fixe test write on the error number

Change-Id: I610bc464ee544a3881de11938f4855daef074a37

5 years agoMerge remote-tracking branch 'origin/master' into YaSp 56/16056/1
Vincent COUVERT [Fri, 27 Feb 2015 10:45:29 +0000]
Merge remote-tracking branch 'origin/master' into YaSp

Conflicts:
scilab/modules/functions/sci_gateway/c/sci_exec.c

Change-Id: Id3ccdea604c53a76c4110ed19b26e556e6904a10

5 years agoMerge remote-tracking branch 'origin/5.5' 55/16055/1
Vincent COUVERT [Fri, 27 Feb 2015 10:41:08 +0000]
Merge remote-tracking branch 'origin/5.5'

Change-Id: Ib4ef2af9b0c9a551fb90312a7b8216773ba08ede

5 years agoUpdate localization templates 54/16054/1
Vincent COUVERT [Fri, 27 Feb 2015 10:40:08 +0000]
Update localization templates

Change-Id: Ied886dbd240a4ed2a2315fad483139626aba1d05

5 years agoexec fixed about errcatch and mode argument. 36/16036/4
Cedric Delamarre [Wed, 25 Feb 2015 13:13:25 +0000]
exec fixed about errcatch and mode argument.

test_run differential_equations bug_10565

Change-Id: I6d96e08f197236fb20adc4283305d91d5bc0cb63

5 years agoFieldExp fixed about overload error. 53/16053/3
Cedric Delamarre [Fri, 27 Feb 2015 10:24:44 +0000]
FieldExp fixed about overload error.

tl = tlist("test");
tl.f

tl = tlist("typeMoreThan8Char");
tl.f

Change-Id: Id0c164bcc4f9379bda999f854a51e622ba9d4290

5 years agoremoved chart 09/16009/8
Anais AUBERT [Mon, 23 Feb 2015 14:46:12 +0000]
removed chart

Change-Id: Ia03540f18401a5317510c7db53be13db3f179e5c

5 years agobug_8462 updated about error number. 51/16051/2
Cedric Delamarre [Fri, 27 Feb 2015 09:07:19 +0000]
bug_8462 updated about error number.

Change-Id: I623c6fbcda2e72c97a0e4f13b43ec537d7ad4416

5 years agodifferential_equations error management. 50/16050/5
Cedric Delamarre [Thu, 26 Feb 2015 16:30:02 +0000]
differential_equations error management.

test_run differential_equations bug_2396
test_run differential_equations bug_13512

Change-Id: I55f7c929cfbe2c92b837cf38f46d555d6527209a

5 years agofix bug bug_13119 : testing the first value if is positive 84/15984/4
Sylvain GENIN [Thu, 19 Feb 2015 15:36:05 +0000]
fix bug bug_13119 : testing the first value if is positive

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

Change-Id: I7e07765f9a27c96d8f716d4755aee172e3c4b0f8

5 years agoregenerates the dia files for integrating the warning message 89/15989/4
Sylvain GENIN [Fri, 20 Feb 2015 10:06:38 +0000]
regenerates the dia files for integrating the warning message

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

Change-Id: Idedd38f7354a0065131d8e7af7a641c526a79434

5 years agoXcos MVC: fix deletion modification after aa31b0364c 44/16044/2
Clément DAVID [Thu, 26 Feb 2015 06:58:04 +0000]
Xcos MVC: fix deletion modification after aa31b0364c

Change-Id: I7df11714516ac0f41eb3988505780c8234a1c809

5 years agobug_12418 reopened 15/16015/3
Cedric Delamarre [Mon, 23 Feb 2015 16:54:31 +0000]
bug_12418 reopened

https://codereview.scilab.org/#/c/10945/

Change-Id: I0b3eaddc11eb2a3be1ae3187e918320d08394771

5 years agoio: writing string displayed all the internal buffer 40/16040/3
Clément DAVID [Mon, 23 Feb 2015 10:01:52 +0000]
io: writing string displayed all the internal buffer

fix the whereami output

Change-Id: Iac45c9eb5986de3bd4435538c15d534b57958cb9

5 years agoPolynomials multiplication & addition fixed by copying Scilab 5.X algorithm. 48/16048/5
Vincent COUVERT [Thu, 26 Feb 2015 13:32:30 +0000]
Polynomials multiplication & addition fixed by copying Scilab 5.X algorithm.
To test: test_run("polynomials", "bug_12679");

Revert "fixe : polynomials : bug_12679"
This reverts commit 9fa5a0bde7255d26dbddbabc6a50478a64fec825.

Change-Id: I5a4fffd58000e62994b357720bf4e354c977629f

5 years agofix windows compilation and projects 47/16047/1
Antoine ELIAS [Thu, 26 Feb 2015 10:37:34 +0000]
fix windows compilation and projects

Change-Id: I5797b7500502fa2e74ec18f44ba1d7f91dfbc42b

5 years agofix windows compilation after fb042313 46/16046/1
Clément DAVID [Thu, 26 Feb 2015 10:12:11 +0000]
fix windows compilation after fb042313

Change-Id: I452c89af26a0138a07816a4d912d08604639863d

5 years agofix Mismatched free() / delete / delete [] 45/16045/1
Clément DAVID [Thu, 26 Feb 2015 08:54:40 +0000]
fix Mismatched free() / delete / delete []

Change-Id: I9d8bb5641a415eea8f46690d646468ee578a2142

5 years agoXcos gateways: rewrite sci_end_scicosim to C++ 00/16000/6
Paul Bignier [Mon, 23 Feb 2015 09:14:35 +0000]
Xcos gateways: rewrite sci_end_scicosim to C++

 * Fixed some sci_scicosim.cpp symbols

Change-Id: I5fcc5f15ed8a0a80e27edd2ff06ceb5ff3a7bbe6

5 years agoXcos gateways: rewrite sci_haltscicos to C++ 95/15995/4
Paul Bignier [Fri, 20 Feb 2015 14:17:46 +0000]
Xcos gateways: rewrite sci_haltscicos to C++

Change-Id: I6c94b6724b2e6ee842fd21f16ab428890a42434e

5 years agoXcos gateways: rewrite sci_scicos_time to C++ 94/15994/4
Paul Bignier [Fri, 20 Feb 2015 13:51:30 +0000]
Xcos gateways: rewrite sci_scicos_time to C++

Change-Id: I48bfe882a88d90d09e62333e0612769d814a3a9e

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 ago* Bug #12788 fixed - All graphics were displayed in red on some platforms. 38/16038/1
Vincent COUVERT [Wed, 25 Feb 2015 13:46:21 +0000]
* Bug #12788 fixed - All graphics were displayed in red on some platforms.

Fixed by JoGL update: https://codereview.scilab.org/#/c/15395/

Change-Id: Ib411a9d6b2ccef879fcd3f06e456df96e3871d7f

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