5 years agoScicos macros: fix script2var now that macrovar is working 98/16698/4
Paul Bignier [Wed, 17 Jun 2015 12:25:25 +0000]
Scicos macros: fix script2var now that macrovar is working

 * The testing is ensured by all scicos tests running non-void context diagrams

Change-Id: Iabb98fd5c93f280e6ca57eacb14166134a4853f4

5 years agoScicos_blocks: deprecate func_block 56/16756/3
Paul Bignier [Thu, 2 Jul 2015 08:33:43 +0000]
Scicos_blocks: deprecate func_block

 * It was problematic because it put a macro in the 'sim' property
 * This block isn't in the palettes and isn't a sub-block of another block

Change-Id: I6c017c3e5257062109518ae1742ad848905ffb9f

5 years agoread function fixed 62/16762/3
Cedric Delamarre [Thu, 2 Jul 2015 12:50:51 +0000]
read function fixed

* test updated, the format cannot accept constant string
* function fortran pototype fixed about length of input string
* move out of loop some allocation/delete
* file opened must be closed when error occured

test_run io read

Change-Id: I9bed20a1f414fd9aaace80e8c719bb772bedb054

5 years agoMerge remote-tracking branch 'origin/master' into YaSp 61/16761/1
Vincent COUVERT [Thu, 2 Jul 2015 09:34:25 +0000]
Merge remote-tracking branch 'origin/master' into YaSp


Change-Id: I04943f088b436f2a642a7164e361f92021e1d528

5 years agobring back error checking removed by https://codereview.scilab.org/#/c/16673/ 60/16760/1
Vincent COUVERT [Thu, 2 Jul 2015 09:28:58 +0000]
bring back error checking removed by https://codereview.scilab.org/#/c/16673/

Change-Id: I72a9a2065aedf700c16d0ff5f8c4549df17565d5

5 years agoMerge remote-tracking branch 'origin/master' into YaSp 59/16759/1
Vincent COUVERT [Thu, 2 Jul 2015 09:21:32 +0000]
Merge remote-tracking branch 'origin/master' into YaSp


Change-Id: Ibfa0e2d39a96d7929c22a6354976e542fd955085

5 years agoAdd missing revhistory part 58/16758/1
Vincent COUVERT [Thu, 2 Jul 2015 09:03:02 +0000]
Add missing revhistory part

Change-Id: I6056420bd06f06bd988214e094f1798cead05ac9

5 years agoAdded parulacolormap 22/16422/7
Juergen KOCH [Tue, 28 Apr 2015 07:30:33 +0000]
Added parulacolormap

Change-Id: I1d8c1d893fc5e3f03ec027d2f90164f7051f6ca5

5 years agominor changes in Polyline.java 78/16678/2
Juergen KOCH [Thu, 11 Jun 2015 15:43:42 +0000]
minor changes in Polyline.java

Change-Id: I36b41977e0743336ffaa6035452e2c996aa62548

5 years agoscatterScanVargin and ScatterSetPolyline moved to scatter3 99/16699/2
Juergen KOCH [Wed, 17 Jun 2015 14:46:36 +0000]
scatterScanVargin and ScatterSetPolyline moved to scatter3

Change-Id: I5ab85de4381060a3746a6f90750fe9cedc586d3d

5 years agoFix help compilation (was broken since https://codereview.scilab.org/#/c/16319/) 57/16757/1
Vincent COUVERT [Thu, 2 Jul 2015 08:37:50 +0000]
Fix help compilation (was broken since https://codereview.scilab.org/#/c/16319/)

Change-Id: Id2fb69bda8dc4ac0f235ce6d392f3e6a782761bd

5 years agoscatter with extended polyline properties mark_size, mark_foreground, mark_background 73/16673/4
Juergen KOCH [Thu, 11 Jun 2015 12:25:22 +0000]
scatter with extended polyline properties mark_size, mark_foreground, mark_background

Change-Id: I266373e8d3b0cd99f8eead0be674e46f52b9146f

5 years agoManage vectors of colors in name2rgb. 77/16677/6
Juergen KOCH [Thu, 11 Jun 2015 14:38:00 +0000]
Manage vectors of colors in name2rgb.

Change-Id: Ia395ff9b35c01c0cdc111d80d39f90e9110078d3

5 years agoFix tests (old ref contained on error) 52/16752/1
Vincent COUVERT [Wed, 1 Jul 2015 09:56:34 +0000]
Fix tests (old ref contained on error)

Change-Id: I6b686c50850edafdfa34a4c159a3849bbd35de25

5 years agoNgonGeneralData: numColors renamed to numColorValues 40/16740/2
Juergen KOCH [Mon, 29 Jun 2015 13:19:43 +0000]
NgonGeneralData: numColors renamed to numColorValues

Change-Id: I0df19bf6c9bf922e34e8b899d4de02b8e96dae9e

5 years agoAnalysis: just use one 'safe' tag 50/16750/2
Calixte DENIZET [Wed, 1 Jul 2015 08:22:31 +0000]
Analysis: just use one 'safe' tag

Change-Id: Idf9416ae2788ce6845c2da3005befcfb419a3072

5 years agoFix thread problem when %onprompt is defined, can cause crashes & dead-locks. 48/16748/2
Vincent COUVERT [Tue, 30 Jun 2015 15:16:35 +0000]
Fix thread problem when %onprompt is defined, can cause crashes & dead-locks.

Change-Id: I3acc57cd16811a159c444d295cfe144d5e099fe6

5 years agobug_3831 updated 45/16745/3
Cedric Delamarre [Tue, 30 Jun 2015 08:10:16 +0000]
bug_3831 updated

ascii(0) is an end of string '\0'

Change-Id: Iff1f956f0c3aadba9c25b36167b56d34026c2c03

5 years agoFix path for installed header after https://codereview.scilab.org/#/c/16743/ 47/16747/1
Vincent COUVERT [Tue, 30 Jun 2015 09:35:10 +0000]
Fix path for installed header after https://codereview.scilab.org/#/c/16743/

Change-Id: Iec540c8bf950747fdbdb33876d0dae1ca9bf8d4a

5 years agoAnalysis: fix few bugs 43/16743/3
Calixte DENIZET [Mon, 29 Jun 2015 14:16:30 +0000]
Analysis: fix few bugs

Change-Id: I2115cbdbb356e28fd1e8c68f120272eb90afb6f1

5 years agofix windows compilation after https://codereview.scilab.org/#/c/16742 and clean delet... 44/16744/2
Antoine ELIAS [Mon, 29 Jun 2015 16:10:03 +0000]
fix windows compilation after https://codereview.scilab.org/#/c/16742 and clean delete some unused files in fileio

Change-Id: Ib38a983528ef8040230f7e09021d0b1b36dd6d78

5 years agoexec and execstr fixed and updated 42/16742/2
Cedric Delamarre [Mon, 29 Jun 2015 13:42:22 +0000]
exec and execstr fixed and updated

* line number fixed when error occured in string executed by execstr.

* exec and execstr uses a seqexp to execute scripts.
test_run functions exec
test_run functions execstr

Change-Id: Ib55f1b5c1ef3e66385033c676445b459c0c1e46b

5 years agoNo more embed Eigen in Windows binary versions (no more needed after https://coderevi... 37/16737/2
Vincent COUVERT [Mon, 29 Jun 2015 12:12:21 +0000]
No more embed Eigen in Windows binary versions (no more needed after https://codereview.scilab.org/#/c/16588/)

Change-Id: I305744b48c402e949cf18053638e3b95dad4b12a

5 years agoThere are no more .cosf files in this directory (latest one removed by https://codere... 35/16735/1
Vincent COUVERT [Mon, 29 Jun 2015 07:24:23 +0000]
There are no more .cosf files in this directory (latest one removed by https://codereview.scilab.org/#/c/16734/)

Change-Id: Ia72c68e52c771b2b039ca9b915ffdccc310b0943

5 years agoXcos MVC: read-only undocumented 'modelID' field 82/16182/2
Clément DAVID [Mon, 2 Mar 2015 09:19:23 +0000]
Xcos MVC: read-only undocumented 'modelID' field

This field can be used while debugging and in cooperation with scicos_log("TRACE").

Change-Id: I9a47b4a971818e29883907517d36eff3e9b8d687

5 years agodynamic_link: remove the Eigen dependency for external modules 29/16729/5
Clément DAVID [Thu, 25 Jun 2015 14:48:06 +0000]
dynamic_link: remove the Eigen dependency for external modules

Change-Id: Ib8756e8293dc2701d5fbfc464c8f91fe8bd1efbb

5 years agoScicos: remove useless file 34/16734/2
Paul Bignier [Fri, 26 Jun 2015 11:44:16 +0000]
Scicos: remove useless file

 * It is already present in scicos/palettes/Sinks.cosf, as a large Superblock, and it is not used anywhere

Change-Id: If182a71cd5eb762db28624732fbee663664ac71a

5 years agotypes::Dollar removed 26/16726/6
Cedric Delamarre [Thu, 25 Jun 2015 10:20:27 +0000]
types::Dollar removed

Change-Id: Icdce5c5c65edbff310bd0f4c6cdd764e322e6600

5 years agoref file of bug_9344 and bug_9600 regenerate about call stack displaying 28/16728/4
Cedric Delamarre [Thu, 25 Jun 2015 14:26:20 +0000]
ref file of bug_9344 and bug_9600 regenerate about call stack displaying

Change-Id: I84cf62660b476429716bd85bb9659fc01bbb6c13

5 years agooperator == fixed in Cell 32/16732/2
Cedric Delamarre [Fri, 26 Jun 2015 09:30:08 +0000]
operator == fixed in Cell

Change-Id: Ibec7f5f693f3cd54297ef216bced4483c5ff2756

5 years agofix browsevar manager update 12/16512/7
Anais AUBERT [Tue, 26 May 2015 14:51:07 +0000]
fix browsevar manager update

Change-Id: I706dbd4bf21180a758a7f8d961dd7957d2c1b3c5

5 years agoread data in the tlist whit polynom $ 13/16513/5
Sylvain GENIN [Wed, 27 May 2015 06:44:09 +0000]
read data in the tlist whit polynom $

 A=[1 2;3 4];
 test=tlist(["test","chp1","chp2"], A, A);
 test($+1-1)== A
 test($+1-2)== A
 test($+1-3)== ["test","chp1","chp2"]

Change-Id: I23a389d0885638cee622d87ce77a31705baa32a4

5 years agoScicos gateways: fix for getscicosvars 27/16727/1
Paul Bignier [Thu, 25 Jun 2015 13:02:58 +0000]
Scicos gateways: fix for getscicosvars

 * The gateway attempted to retrieve getSize() of a nullptr (is scicosim is not running, no state is saved)

Change-Id: I0c00ff9f730c4139f6c51c14670b0c6a7edb33a9

5 years agoScicos macros: add Scicos objects comparison 07/16707/6
Paul Bignier [Fri, 19 Jun 2015 08:17:27 +0000]
Scicos macros: add Scicos objects comparison

 * Scilab 5 could compare Scicos objects (mlists), but YaSp needs specific comparison for each object (userType)

Change-Id: I680299a36fe20a0dfda8db84b1d6fea4d68a9b95

5 years agoXcos MVC: allow passing mlists as Superblocks' subdiagrams 16/16716/3
Paul Bignier [Fri, 19 Jun 2015 14:37:57 +0000]
Xcos MVC: allow passing mlists as Superblocks' subdiagrams

 * Loosened the constraint on the input mlist so it is possible to omit properties

Change-Id: I2d7691f8b3ccb83c21af9b37bea28a5c8702cfd7

5 years agoXcos MVC: fix default 'exprs' 14/16714/2
Paul Bignier [Fri, 19 Jun 2015 13:04:25 +0000]
Xcos MVC: fix default 'exprs'

 * https://codereview.scilab.org/#/c/16680 forgot to modify 'exprs' default value after changing its encoding

Change-Id: I0a877da463f7b2516bbc72948e2df12a9378ddc2

5 years agogetfieldsdictionary : add the marker of end table 64/16364/4
Sylvain GENIN [Tue, 14 Apr 2015 09:01:39 +0000]
getfieldsdictionary : add the marker of end table

a.b = 2
a.bb = 3
a.c = 4
a.cc = 42

M=mlist(['V','name','value'],['a','b';'c' 'd'],[1 2;3 4]);

// segfault on Windows

Change-Id: I4fc78b84c836b07db7a3c07c008416d32eb221a9

5 years agoFix Mac OS X string conversion (re-use 5.5 branch version) to make macros (de)seraliz... 25/16725/2
Vincent COUVERT [Wed, 24 Jun 2015 12:44:17 +0000]
Fix Mac OS X string conversion (re-use 5.5 branch version) to make macros (de)seralization work after https://codereview.scilab.org/#/c/16614/

Change-Id: Ia486d7a4060182610097fc23914609e11ca54000

5 years ago* Manage nested functions in macr2tree/tree2code. 22/16722/4
Vincent COUVERT [Tue, 23 Jun 2015 08:24:36 +0000]
* Manage nested functions in macr2tree/tree2code.
* Update tests since fun2string has been removed.
* Better management of "rc" and "cc" operations.
test_run functions bug_731
test_run m2sci bug_1124
test_run m2sci bug_683
test_run m2sci bug_943

Change-Id: Ie87f4c4dca4d3cd2f25f5a6a38abf53d58deb253

5 years agoerror stack management and displaying 91/16691/6
Cedric Delamarre [Mon, 15 Jun 2015 12:45:47 +0000]
error stack management and displaying

  * print of error in Scierror and catches removed
  * print done only in the catch of runner
  * new call stack displaying
  * file name stored in types::Macro

Change-Id: I89c26ff915bf0fb3bb2cf038475e236b36c5b61d

5 years agoFix Mac OS X compilation 21/16721/2
Vincent COUVERT [Mon, 22 Jun 2015 11:50:11 +0000]
Fix Mac OS X compilation

Change-Id: Ib6ba908b00c1841fdb8988b0b1004420e68fd6e7

5 years agobug_8232 : drop a file in scilab console fixed. 25/16625/2
Cedric Delamarre [Thu, 11 Jun 2015 07:44:49 +0000]
bug_8232 : drop a file in scilab console fixed.

Change-Id: I30e5c1f82e05af2c5450b669e6eed92190695df5

5 years agoRemove test based on removed function fun2string 20/16720/1
Vincent COUVERT [Mon, 22 Jun 2015 08:43:36 +0000]
Remove test based on removed function fun2string

Change-Id: Ie99a4365b39dee235f45a738139a38911adc038c

5 years agoMinor modifications in tests: 19/16719/2
Vincent COUVERT [Mon, 22 Jun 2015 08:19:09 +0000]
Minor modifications in tests:
 - parser differences between 5/6 versions
 - minor differences on macr2tree output
test_run m2sci bug_1003
test_run m2sci bug_1004
test_run m2sci bug_1082
test_run m2sci bug_1123
test_run m2sci bug_1636
test_run m2sci bug_800
test_run m2sci bug_924

Change-Id: I0e57954d855272080c43bf093c5aa716a16e6eee

5 years agoBug 13807 fixed: Invalid margins when the visibility of figure was to off 10/16710/1
Calixte DENIZET [Wed, 3 Jun 2015 14:19:47 +0000]
Bug 13807 fixed: Invalid margins when the visibility of figure was to off

Change-Id: I6994d707392321fb9665fc5afded923d2bc4c545

5 years agoreduce Eigen headers visibility 88/16588/4
Antoine ELIAS [Thu, 4 Jun 2015 09:26:14 +0000]
reduce Eigen headers visibility

Change-Id: If6bb508198c680c9685fe7fff02f7c318994f101

5 years agoReplace macr2lst by macr2tree in head_comments. 27/16627/2
Vincent COUVERT [Thu, 11 Jun 2015 08:15:58 +0000]
Replace macr2lst by macr2tree in head_comments.
test_run functions bug_2987
test_run functions bug_13093

Change-Id: Iceecd6a2ec9f8616d0564736980c3c30f98b2dff

5 years agoXcos MVC: use var2vec/vec2var encoding for 'exprs' 80/16680/4
Paul Bignier [Fri, 12 Jun 2015 11:34:23 +0000]
Xcos MVC: use var2vec/vec2var encoding for 'exprs'

Change-Id: If0cbc70f6c5de963e8581894b325aa9cf5f80ff6

5 years agofixed bug_10121 : pass the file in hdf5 75/16675/3
Sylvain GENIN [Thu, 11 Jun 2015 14:01:11 +0000]
fixed bug_10121 : pass the file in hdf5

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

Change-Id: I15cfd21ea1ff07707c822ef24b0c63a7382399f9

5 years agofixed: save push button of the plot 70/16670/2
Sylvain GENIN [Thu, 11 Jun 2015 10:26:40 +0000]
fixed:  save push button of the plot

Change-Id: I76f728f4cc1ff4ccfe7a798beb830ee2e1f3756b

5 years ago* Bug #13901 fixed - lines() was not updated when resizing Scilab console. 97/16697/2
Vincent COUVERT [Wed, 17 Jun 2015 12:27:13 +0000]
* Bug #13901 fixed - lines() was not updated when resizing Scilab console.

Change-Id: I3ae4cb469ac05ce9e491e0165f0c178b2a71e2e2

5 years agoScicos src: fix sublist and substruct reading in vec2var 79/16679/5
Paul Bignier [Fri, 12 Jun 2015 09:42:36 +0000]
Scicos src: fix sublist and substruct reading in vec2var

Change-Id: I75a62c6eafda7ec3a8a0f31b7dd4217f587947f6

5 years ago* Bug #13932 fixed - macrovar was broken in YaSp branch. 93/16693/4
Vincent COUVERT [Tue, 16 Jun 2015 13:26:48 +0000]
* Bug #13932 fixed - macrovar was broken in YaSp branch.
Tests added in macrovar.tst: test_run functions macrovar

Change-Id: I6e8e81d87874745d04162a861f8e24f351a697ce

5 years agogetVarNameFromPosition: he can read the name of the Callable 92/16692/4
Sylvain GENIN [Tue, 16 Jun 2015 08:57:23 +0000]
getVarNameFromPosition: he can read the name of the Callable

fixed : test_run("graphics","bug_10298",["no_check_error_output" ]);

Change-Id: I7b4c76b54c7cd7d0a98b62669d2c4a6dc25f0604

5 years agoXcos tests: regenerate .dia.ref files and fix minor .tst 06/16706/3
Paul Bignier [Fri, 19 Jun 2015 07:38:11 +0000]
Xcos tests: regenerate .dia.ref files and fix minor .tst

 * Adapt to YaSp new display and redefine messagebox to avoid popups when necessary

Change-Id: I7e8fefe0200485c481f439574ea92003ef09c4bd

5 years agoXcos tests: fix bug_8397 because of new funptr() and replaced disp(mprintf) by disp... 04/16704/5
Paul Bignier [Thu, 18 Jun 2015 14:08:38 +0000]
Xcos tests: fix bug_8397 because of new funptr() and replaced disp(mprintf) by disp(msprintf)

 * funptr doesn't return indexes anymore, so needed a new way to save & restore messagebox()
 * The mprintf fix notably concerns error_reporting_nw.tst, but 'try catch' is still failing so can't validate the test yet
mprintf directly prints in the console, so it makes no sense to add a disp to it!

Change-Id: I8d8c8bb30fab0ba92889117d41af657c59660a22

5 years agoRemove dead code in core module + references to these files in other modules 05/16705/3
Vincent COUVERT [Thu, 18 Jun 2015 15:20:46 +0000]
Remove dead code in core module + references to these files in other modules

Change-Id: I9d7f04d16dd5595680d4fc3c2e14b296e9fcd558

5 years agoScicos tests: fix scicos.tst to load Scicos libs correctly 02/16702/2
Paul Bignier [Thu, 18 Jun 2015 10:16:34 +0000]
Scicos tests: fix scicos.tst to load Scicos libs correctly

Change-Id: I5beef1fd3c4c45aeac2225a8bdea48f68afcc9af

5 years agoScicos gateways: fix for sci_scicosim 00/16700/1
Paul Bignier [Wed, 17 Jun 2015 15:06:52 +0000]
Scicos gateways: fix for sci_scicosim

https://codereview.scilab.org/#/c/16682/ correctly casted opar & outtb, but the pointer size failed under linux

Change-Id: I408339143fe637e9375021e07817cbeb2a2cc67f

5 years agoexec and ecestr fixed about parsing error. 94/16694/3
Cedric Delamarre [Wed, 17 Jun 2015 09:42:51 +0000]
exec and ecestr fixed about parsing error.

f=mopen(TMPDIR+"/test", "w");
mfprintf(1, "funtion test()\nend");

[err, num] = lasterror()
exec(TMPDIR+"/test", "errcatch")
[err, num] = lasterror()

execstr("funtion test(),end")
[err, num] = lasterror()
execstr("funtion test(),end", "errcatch")
[err, num] = lasterror()

Change-Id: Icba7c9df3738e030f6e30666a598ac9c534f6b54

5 years agofix bug 414 14/16114/3
Anais AUBERT [Mon, 9 Mar 2015 10:11:09 +0000]
fix bug 414

Change-Id: Ifad18db764d49e965c0e91801c5fbe484216b97b

5 years agoXcos tests: fix computational_functions, cumsum, error_reporting_nw, model2blk, bug_1... 82/16682/2
Paul Bignier [Wed, 3 Jun 2015 07:51:10 +0000]
Xcos tests: fix computational_functions, cumsum, error_reporting_nw, model2blk, bug_12998 and bug_8235

Fixed tests:
 * computational_functions: "two dots spacing" doesn't work in YaSp
 * cumsum: had trouble when 'opar' contained complex values
 * error_reporting_nw: fixed deliberate wrong 'ipar' in an inner input/output Superblock block yielding an error
by arbitrarily replacing the wrong value with the maximum possible value (like in Scilab 5)
 * model2blk: squaring with Scilab 5's createblklist
 * bug_12998: inserting an empty diagram in 'block.model.rpar' failed
 * bug_8235: modified script2var logic to not use the stack at all anymore, because it changed a lot between Scilab 5 and 6

In progress / missing in YaSp:
 * bug_9478: in ModelAdapter, allowed 'dep_ut' to be a row OR column vector, but test doesn't pass yet because of export_to_hdf5
 * DEBUG_SCICOS: made a big leap forward, but cannot test yet because YaSp doesn't allow saving functions in files yet!
 * scicos_diagram: need fieldnames(scs_m) to work.
So far I am able to return ["props" "objs "version" "contrib"] but not with "diagram" at the beginning.
How should it be detected by sci_fieldnames.cpp? By hardcoding it? By including "DiagramAdapter.hxx" to call get getSharedTypeStr()?

 * Regenerated bug_13396, fromws_c, fromws_tows_c and post_xcos_simulate ref files

Change-Id: I3f830e679878f09024ab04982cab8ac7976d0646

5 years agoRevert "Xcos tests: fix computational_functions, cumsum, error_reporting_nw, model2bl... 81/16681/1
Clément DAVID [Fri, 12 Jun 2015 17:37:47 +0000]
Revert "Xcos tests: fix computational_functions, cumsum, error_reporting_nw, model2blk, bug_12998 and bug_8235"

This reverts commit f9b656ddca889130350fffecf2043d28f4401fa4 as it broke
the Windows build.

Change-Id: Ic9c2920f999f9e85fa9b59c40eb10e1ac70444cc

5 years agoXcos tests: fix computational_functions, cumsum, error_reporting_nw, model2blk, bug_1... 83/16583/6
Paul Bignier [Wed, 3 Jun 2015 07:51:10 +0000]
Xcos tests: fix computational_functions, cumsum, error_reporting_nw, model2blk, bug_12998 and bug_8235

Fixed tests:
 * computational_functions: "two dots spacing" doesn't work in YaSp
 * cumsum: had trouble when 'opar' contained complex values
 * error_reporting_nw: fixed deliberate wrong 'ipar' in an inner input/output Superblock block yielding an error
by arbitrarily replacing the wrong value with the maximum possible value (like in Scilab 5)
 * model2blk: squaring with Scilab 5's createblklist
 * bug_12998: inserting an empty diagram in 'block.model.rpar' failed
 * bug_8235: modified script2var logic to not use the stack at all anymore, because it changed a lot between Scilab 5 and 6

In progress / missing in YaSp:
 * bug_9478: in ModelAdapter, allowed 'dep_ut' to be a row OR column vector, but test doesn't pass yet because of export_to_hdf5
 * DEBUG_SCICOS: made a big leap forward, but cannot test yet because YaSp doesn't allow saving functions in files yet!
 * scicos_diagram: need fieldnames(scs_m) to work.
So far I am able to return ["props" "objs "version" "contrib"] but not with "diagram" at the beginning.
How should it be detected by sci_fieldnames.cpp? By hardcoding it? By including "DiagramAdapter.hxx" to call get getSharedTypeStr()?

 * Regenerated bug_13396, fromws_c, fromws_tows_c and post_xcos_simulate ref files

Change-Id: Ib6636788b72506ae22f68457728e1ef869a3e12a

5 years agoXcos tests: allow CONSTRAINT2_c, EXTRACT, LOOKUP2D, MPBLOCK, MCLOCK_f, ENDBLK and... 75/16575/4
Paul Bignier [Tue, 2 Jun 2015 08:01:55 +0000]
Xcos tests: allow CONSTRAINT2_c, EXTRACT, LOOKUP2D, MPBLOCK, MCLOCK_f, ENDBLK and FROMWSB blocks to pass 'define' and 'set'

 * blocks_set.tst tests those blocks (makes a "define" and a "set" on all blocks)

Change-Id: I790a1a24a36fe7e98af366514e529e5fcb0a2a8a

5 years agoXcos MVC: fix for Deleted blocks 74/16574/4
Paul Bignier [Fri, 29 May 2015 14:22:35 +0000]
Xcos MVC: fix for Deleted blocks

 * The modification in ModelAdapter.cpp echoes with DiagramAdapter.cpp L 209, setting the ID at 0ll
 * %model_p didn't even mind the Deleted...
 * This is tested by blocks_set.tst when calling GEN_SQR.sci which involves Deleted blocks

Change-Id: I63cbddc4536a4fde1f347e3a27bd1700e8c0817b

5 years agoXcos MVC: allow column vectors for all properties 23/16623/3
Paul Bignier [Thu, 11 Jun 2015 06:55:55 +0000]
Xcos MVC: allow column vectors for all properties

 * 'thick', 'ct', 'state', 'dstate', 'nzcross', 'nmode' and 'context' only allowed row vectors. Allow column vectors for backward compatibility.
They are always stored and returned as row vectors anyway!

Change-Id: Ibcef4c2db4a05d14197214e97a6791744819ad1e

5 years agoXcos blocks: make scifunc_block_m work 28/16428/5
Paul Bignier [Thu, 30 Apr 2015 09:59:48 +0000]
Xcos blocks: make scifunc_block_m work

 * "Inverted pendulum" demo contains that block

Change-Id: Ifea2c72b6de1a1068a41c387ae5a262aea677e3b

5 years agoScicos tests: embark LV.cosf in the binary to test its loading 24/16624/2
Paul Bignier [Thu, 11 Jun 2015 07:40:52 +0000]
Scicos tests: embark LV.cosf in the binary to test its loading

Change-Id: I250451819155a75f2aa80462e9e3a4871e211471

5 years agoFix heterogenous string 22/16622/1
Vincent COUVERT [Wed, 10 Jun 2015 14:42:18 +0000]
Fix heterogenous string

Change-Id: I97a27a6b59c795e7ca6870c75ee86102a7af52c5

5 years agoUpdate ref for Linux 21/16621/1
Vincent COUVERT [Wed, 10 Jun 2015 11:53:39 +0000]
Update ref for Linux

Change-Id: If6011537d50cfed6c1017ae424a30978842d1fe1

5 years ago * Update Windows ref for atomsShow.tst 20/16620/1
Vincent COUVERT [Wed, 10 Jun 2015 07:42:01 +0000]
 * Update Windows ref for atomsShow.tst
 * Impose English for atomsUpdate.tst

Change-Id: Icc84d46611745e6452e197db099aba9a2f508cf0

5 years agoScicos sources: fix model2blk 28/16528/5
Paul Bignier [Fri, 29 May 2015 09:10:06 +0000]
Scicos sources: fix model2blk

 * 'inptr' does the same memset as 'outptr'
 * 'ipar' (properly) uses 'nipar' instead of 'nrpar', which was for 'rpar'
 * Tested by "xcos/tests/unit_tests/blocks_link.tst" (used to segfault out),
although the test is excrutiatingly slow

Change-Id: I518f0f43bcbf310e7e73e82862013c6c4cc5e35f

5 years agoFix build of help for toolbox_skeleton: 17/16617/3
Vincent COUVERT [Tue, 9 Jun 2015 11:24:25 +0000]
Fix build of help for toolbox_skeleton:
 * Activate build in builder.sce
 * Activate load in toolbox_skeleton.start
 * Manage files with BOM in parser (files created by Java for images generation contain a BOM).
 * Use mprintf instead of disp for better print.
To test:
test_run modules_manager toolbox_skeleton
test_run modules_manager bug_9339

Change-Id: Ib36872455ea50f42b5c1725d06f3422c056ab9ef

5 years agoUpdate package after (de)serialization modifications (https://codereview.scilab.org... 19/16619/1
Vincent COUVERT [Tue, 9 Jun 2015 12:16:34 +0000]
Update package after (de)serialization modifications (https://codereview.scilab.org/16614)

Change-Id: I537c546c9b93f3f01b626743f0c2bc68e567fd44

5 years agotake care of ref before deleting singlepoly in polynoms 18/16618/1
Antoine ELIAS [Tue, 9 Jun 2015 11:27:28 +0000]
take care of ref before deleting singlepoly in polynoms

Change-Id: I4f8cee1106f297067d66f4dc91baa59496408c83

5 years agoChangelog: add a Syntax clarification section 09/16609/2
Clément DAVID [Mon, 8 Jun 2015 10:22:40 +0000]
Changelog: add a Syntax clarification section

Change-Id: I57b7664f0a9b742ea2b250219fb00ec8774dd0ea

5 years agoserialize and deserialize wchar_t as char for compatibility between linux and windows 14/16614/2
Antoine ELIAS [Tue, 9 Jun 2015 07:32:13 +0000]
serialize and deserialize wchar_t as char for compatibility between linux and windows

Change-Id: I2188aaeb634121f66509ecada08c1fdba2be0ea7

5 years agoFix call to clear to avoid to clear macros libraries 13/16613/2
Vincent COUVERT [Mon, 8 Jun 2015 15:27:48 +0000]
Fix call to clear to avoid to clear macros libraries

Change-Id: Ie509d31bb83b39953ee68408cfc6b01e3e868098

5 years agoXcos interactive tests: typo fixes and .cosf extension fixed 07/16607/2
Paul Bignier [Mon, 8 Jun 2015 09:42:19 +0000]
Xcos interactive tests: typo fixes and .cosf extension fixed

 * Note: not all tests can be validated yet because of stuff still missing in YaSp
(palette-related java features, export_to_hdf5, scifunc_bock_m, etc)

Change-Id: I59ec85c7f550f96d37fe309a0a30a2db4781d873

5 years ago* Bug #13289 fixed - Using non-integer indexes for mlists made Scilab crash. 08/16608/1
Vincent COUVERT [Mon, 8 Jun 2015 10:12:47 +0000]
* Bug #13289 fixed - Using non-integer indexes for mlists made Scilab crash.

Change-Id: I35f68d39a080240cc0dbcff5abca2d8e68b52564

5 years ago* Bug #13838 fixed - Sparse and complex substraction made Scilab crash. 06/16606/1
Vincent COUVERT [Mon, 8 Jun 2015 09:31:27 +0000]
* Bug #13838 fixed - Sparse and complex substraction made Scilab crash.

Change-Id: I00f22d118eb447cc3ce62ddd6eacadbaf9df8b36

5 years agomemory leak fixed in svd gateway. 02/16602/3
Cedric Delamarre [Fri, 5 Jun 2015 14:48:47 +0000]
memory leak fixed in svd gateway.

Change-Id: I04502180f09845d6a5951c0fdbdb74936d6fa27e

5 years agoreset first field since opts is declared static in calling function 99/16599/4
Sylvain GENIN [Fri, 5 Jun 2015 12:25:03 +0000]
reset first field since opts is declared static in calling function

fixed : test_run("graphics","fec",["no_check_error_output" ]);

Change-Id: I7801668d5423f30eeb50db37d221ce41fc45c86b

5 years agoAll unit_tests now pass for ATOMS: 00/16600/1
Vincent COUVERT [Fri, 5 Jun 2015 13:27:47 +0000]
All unit_tests now pass for ATOMS:
 * New scenes created for Scilab 6 (to be updated for others OS than Linux64)
 * New test toolboxes available on http://atoms.scilab.org/
 * Toolbox 7 updated in GIT
 * Sources of testing toolboxes available on http://forge.scilab.org/index.php/p/atoms-tests/

Change-Id: Ie2a1297f69636c98be00802b1057fec9f56ffa05

5 years agoUpdate ref for Scilab 6 91/16591/2
Vincent COUVERT [Thu, 4 Jun 2015 15:07:20 +0000]
Update ref for Scilab 6

Change-Id: Ic25bcb3b0207e63b0463475df6a145864be787b5

5 years agoTests updated after new dedicated scene created: 90/16590/2
Vincent COUVERT [Thu, 4 Jun 2015 15:03:19 +0000]
Tests updated after new dedicated scene created:
test_run atoms atomsAutoloadAdd
test_run atoms atomsAutoloadDel
test_run atoms atomsRemoveList
test_run atoms atomsShow

Change-Id: I4bda3e414a3cbbc85c88c950d3eedd29ddb08500

5 years agoincrease user_data reference on gdf copy 89/16589/1
Antoine ELIAS [Thu, 4 Jun 2015 12:00:32 +0000]
increase user_data reference on gdf copy

Change-Id: Id2ec16ab46121697543c9b2f18c15d004fd1459a

5 years agoadd load and save for polyline properties colors and sizes 87/16487/2
Juergen KOCH [Tue, 19 May 2015 12:37:11 +0000]
add load and save for polyline properties colors and sizes

Change-Id: I9986af2beb1ef7a097cb7121af51897e8d9a6c5e

5 years agoPolyline markers with different sizes added. 63/16463/2
Juergen KOCH [Thu, 7 May 2015 12:28:38 +0000]
Polyline markers with different sizes added.

Change-Id: I77a4a89b818a0750628a166227593e7266c0cd42

5 years agoAdded scatter and scatter3 33/16433/2
Juergen KOCH [Thu, 30 Apr 2015 12:48:51 +0000]
Added scatter and scatter3

Change-Id: I09a11411c6c760f1b7bc42f731909b7d80d2c303

5 years agoadded sizes property to Polyline object 02/16402/2
Juergen KOCH [Thu, 23 Apr 2015 14:48:36 +0000]
added sizes property to Polyline object

Change-Id: Ifc02273911832292e945e9357d81279b50c61988

5 years agofix save/load calls in graphic tests: 54/16554/3
Anais AUBERT [Mon, 1 Jun 2015 12:39:59 +0000]
fix save/load calls in graphic tests:

Change-Id: I469542d3e6b8d54bd8810944eae92fd2fe6796e9

5 years agofix ast message when insert in handle 31/16531/5
Anais AUBERT [Fri, 29 May 2015 16:01:18 +0000]
fix ast message when insert in handle

Change-Id: Ieec70092386225be565decfeacce6102b3730539

5 years agofix exit 66/16566/5
Anais AUBERT [Mon, 1 Jun 2015 15:13:25 +0000]
fix exit

Change-Id: Ifb165a422fd15c1ed5eeb0a3a9f53c6d75729b68

5 years agoMerge remote-tracking branch 'origin/master' into YaSp 72/16572/1
Vincent COUVERT [Tue, 2 Jun 2015 08:33:59 +0000]
Merge remote-tracking branch 'origin/master' into YaSp


Change-Id: I82b54e5c917e07e8637b561ddec9949fd0bcb038

5 years agoMerge remote-tracking branch 'origin/5.5' 71/16571/1
Vincent COUVERT [Tue, 2 Jun 2015 07:58:06 +0000]
Merge remote-tracking branch 'origin/5.5'

Change-Id: I229c7b1c948afb34dd944f0380c2dc25bd72c67b

5 years agocheckstyle - removing RedundantThrows 70/16570/1
Marcos CARDINOT [Mon, 25 May 2015 18:12:11 +0000]
checkstyle - removing RedundantThrows

Removed on the release 6.2

Change-Id: I2e8f009da14146c7f5ed101606a69bcb15a0c374
(cherry picked from commit 713adeae49eb5a95c83877c32e3a5264d9a65f2e)

5 years agocheckstyle - removing DoubleCheckedLocking 69/16569/1
Marcos CARDINOT [Mon, 25 May 2015 18:10:01 +0000]
checkstyle - removing DoubleCheckedLocking

Removed on the release 5.6

Change-Id: I3ce1c86ea417e644410a477ae2ba050c5011ed63
(cherry picked from commit 700de8be8a0339c94f9fca767fda17e08e63f4a9)

5 years agofix windows compilation 68/16568/1
Antoine ELIAS [Tue, 2 Jun 2015 07:52:25 +0000]
fix windows compilation

Change-Id: I1d88dbdcb7db388d15220a78faeb712775a8d989