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

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