5 years agoXcos gateways: rewrite sci_Xcos to Scilab 6 API 88/17188/3
Paul Bignier [Tue, 9 Jun 2015 07:35:46 +0000]
Xcos gateways: rewrite sci_Xcos to Scilab 6 API

 * Allowed to pass Scicos objects (UserType) to xcos()

Change-Id: I1ccda0d7b2ab8e1a23ec9ad2483ebbec30d257e5

5 years agolimit windows.h inclusion to avoid definition of macros min/max 90/17190/1
Antoine ELIAS [Thu, 10 Sep 2015 15:21:28 +0000]
limit windows.h inclusion to avoid definition of macros min/max

Change-Id: Ib3b3ca7d15582846d0fdee6553ce366cddef65dc

5 years agoAnalysis: forgot file 83/17183/2
Calixte DENIZET [Wed, 9 Sep 2015 12:09:54 +0000]
Analysis: forgot file

Change-Id: I372ea0b11cd50caf2d10496700bd257f777e50c2

5 years agoAnalysis: move code 81/17181/3
Calixte DENIZET [Wed, 9 Sep 2015 08:47:08 +0000]
Analysis: move code

Change-Id: I61bdcf24633f4a30c5245ed5286f35c4cb6c4042

5 years agoDecrease dependency level with ast modules 78/17178/3
Calixte DENIZET [Tue, 8 Sep 2015 16:59:52 +0000]
Decrease dependency level with ast modules

Change-Id: I5957dfdc72073d421ae268499ab5423bf03f2865

5 years agoLinux compilation fixed 80/17180/1
Cedric Delamarre [Tue, 8 Sep 2015 17:45:50 +0000]
Linux compilation fixed

Change-Id: I9f1128e56f91b146f3d1dfaed140739a424917f3

5 years agobug 13890 : fix macro getd, avoid use of stack order 75/17175/2
Antoine ELIAS [Tue, 8 Sep 2015 15:00:12 +0000]
bug 13890 : fix macro getd, avoid use of stack order

Change-Id: I63085fb9b76433e8e336b5947662d425806f2a5a

5 years agoAnalysis: fix bugs & add a loop analyzer 72/17172/2
Calixte DENIZET [Tue, 8 Sep 2015 11:51:14 +0000]
Analysis: fix bugs & add a loop analyzer

Change-Id: Iefe5e7075e8c1013fec3372d9b38475db0224073

5 years agocumprod(%i+%s) crashed Scilab. 55/17155/3
Adeline CARNIS [Thu, 3 Sep 2015 12:14:56 +0000]
cumprod(%i+%s) crashed Scilab.

Change-Id: I686c94716393db2a4e61902747b2711957cc6cf6

5 years agore-enable test_run for Atoms modules 65/17165/8
John GLIKSBERG [Fri, 4 Sep 2015 16:14:19 +0000]
re-enable test_run for Atoms modules

Change-Id: Ib45fa328f87fb8e4578411a12754124e55e8d830

5 years agoapi_scilab: printError must free msgs but not error number 68/17168/2
Antoine ELIAS [Mon, 7 Sep 2015 10:14:43 +0000]
api_scilab: printError must free msgs but not error number

test_run arnoldi eigs

Change-Id: I323293fc82d955f64a55e5415bb2dd83909f4e26

5 years agoAnalysis: try to restore it ! 69/17169/1
Calixte DENIZET [Wed, 29 Jul 2015 13:20:27 +0000]
Analysis: try to restore it !

Change-Id: I1576c2464d84ea457b5e05840dd275f710ba25b0

5 years agofix umf_luget test to be consistent 66/17166/2
Antoine ELIAS [Mon, 7 Sep 2015 07:37:43 +0000]
fix umf_luget test to be consistent

Change-Id: Iea4f914d8a7f950df0822158de101c217ca338c6

5 years ago* Bug #14038 fixed - Encoded integers were no longer accepted for list extraction. 53/17153/4
Charlotte HECQUET [Wed, 2 Sep 2015 14:14:53 +0000]
* Bug #14038 fixed - Encoded integers were no longer accepted for list extraction.

Change-Id: Id2c3af749258a548597071222fb8e4c10deb6672

5 years ago* Bug #13907 fixed - avoids the gray background on the right panel of the palette... 64/17164/2
Marcos CARDINOT [Sun, 23 Aug 2015 08:46:11 +0000]
* Bug #13907 fixed - avoids the gray background on the right panel of the palette Browser

This patch modifies the FlowLayout in order to always fill up the whole panel.

Change-Id: I628455516073b78ea10e1d3c0422a49da0fc03d9

5 years agocopy of axes must create a new axes 56/17156/3
Antoine ELIAS [Thu, 3 Sep 2015 15:44:28 +0000]
copy of axes must create a new axes

Change-Id: I270f4b7f5ba1560edc47474b1159b5a4cf37289a

5 years agoLexer: transfer error to parser 54/17154/3
Calixte DENIZET [Wed, 2 Sep 2015 14:35:22 +0000]
Lexer: transfer error to parser

put in file :
function t1
  t="test'
endfunction

then exec file, the 2nd error about "unexpected end of line" must not appear.

Change-Id: I2d5a3b3af65ddc2d8b7be23612b066baf2e06a7f

5 years ago* Bug #14107 fixed - lstcat of a string and a list did not produce consistent results. 36/17136/3
Charlotte HECQUET [Mon, 31 Aug 2015 06:47:18 +0000]
* Bug #14107 fixed - lstcat of a string and a list did not produce consistent results.

Change-Id: Ibdfe6281913bb546a308cc0f26dc299225872695

5 years agoScicos startup: force the load of scicos_scicoslib at startup 59/17159/2
Clément DAVID [Fri, 4 Sep 2015 08:17:29 +0000]
Scicos startup: force the load of scicos_scicoslib at startup

Change-Id: I86d4e55a745a258215b4618ad4b855fdd296c5c1

5 years ago* Bug #13942 fixed - tree is not resized when expanded/collapsed 60/17160/2
Marcos CARDINOT [Wed, 29 Jul 2015 18:22:00 +0000]
* Bug #13942 fixed - tree is not resized when expanded/collapsed

- implements a tree expand listener

Change-Id: I4e89374eefbe0f0cc15007a6886d001b2f57f5e1

5 years agoRemove useless rules and warnings at bison execution. 52/17152/2
Cedric Delamarre [Wed, 2 Sep 2015 12:11:59 +0000]
Remove useless rules and warnings at bison execution.

Change-Id: I51b8412db12a5dad21379261c84d7c7dcb77482c

5 years agoLexer: fix memleaks 50/17150/2
Calixte DENIZET [Wed, 2 Sep 2015 10:17:46 +0000]
Lexer: fix memleaks

Change-Id: I119b33bf74e4e162911a6f2ace2caabccf0ad3bb

5 years agoParser: remove memleaks on parsing errors 35/17135/4
Calixte DENIZET [Sun, 30 Aug 2015 13:54:09 +0000]
Parser: remove memleaks on parsing errors

Change-Id: I9c7224407a11d07c840693229ce8d8db8c8cc00d

5 years agofix api_scilab memleaks 45/17145/3
Antoine ELIAS [Tue, 1 Sep 2015 14:09:07 +0000]
fix api_scilab memleaks

Change-Id: I989c2d3ecfab0264c63e5919a9239a9e7448374f

5 years agoScicos, Xcos: fix some Coverity issues 44/17144/1
Clément DAVID [Tue, 1 Sep 2015 12:08:43 +0000]
Scicos, Xcos: fix some Coverity issues

Change-Id: I00554a23d9c839a7f095d71481b9e9ef16f0de9e

5 years agofree string after use in localization module 34/17134/2
Antoine ELIAS [Fri, 28 Aug 2015 14:16:14 +0000]
free string after use in localization module

Change-Id: Iacf984e4196a1a4124f80d7a090ec58668801b9d

5 years ago* Bug #14082 fixed - m=1; m()=1; made Scilab crash. 40/17140/3
Charlotte HECQUET [Mon, 31 Aug 2015 09:42:17 +0000]
* Bug #14082 fixed - m=1; m()=1; made Scilab crash.

Change-Id: Icfdc18ec79e51ca7d58caacbd0d8227322329cae

5 years agotest_run fixed about variable LANG and profiling. 41/17141/2
Cedric Delamarre [Mon, 31 Aug 2015 10:33:57 +0000]
test_run fixed about variable LANG and profiling.

// a test with ENGLISH IMPOSED inside.
test_run ast library mode_nwni_profiling

Change-Id: Ied5063da2300d3eaa597efda1a35106858904fc7

5 years agoinvalid read and memleak fixed 42/17142/2
Cedric Delamarre [Mon, 31 Aug 2015 10:36:07 +0000]
invalid read and memleak fixed

Change-Id: Iac2914d6f5cfbc1df7c68d4944623d4adc1d68aa

5 years agodata_structure: memleak while accessing a field 37/17137/1
Clément DAVID [Mon, 31 Aug 2015 08:13:53 +0000]
data_structure: memleak while accessing a field

Change-Id: Ic04d5d29f3d6af733ef557aa10ace7d7029d6dfa

5 years agoStartup: do not check glxinfo on "nwni" 29/17129/2
Clément DAVID [Fri, 28 Aug 2015 08:39:34 +0000]
Startup: do not check glxinfo on "nwni"

This will speed up the Scilab startup under an heavy-loaded system.

Change-Id: Ieed3191bddce79c802d61f64a3e1427d5a450c12

5 years agoCLI SHELL MODE missing 33/17133/2
Cedric Delamarre [Fri, 28 Aug 2015 14:18:05 +0000]
CLI SHELL MODE missing

Change-Id: Ic0d12fdfac9d15c990d9eb89730bceaf59cd1e9c

5 years agocommons: always free returned C-style strings 31/17131/2
Clément DAVID [Fri, 28 Aug 2015 13:45:24 +0000]
commons: always free returned C-style strings

Change-Id: If7960720a3110baadd11efdb9064f6203d79f703

5 years agofix ref count in symbol::Libraries 28/17128/4
Antoine ELIAS [Fri, 28 Aug 2015 10:46:32 +0000]
fix ref count in symbol::Libraries

Change-Id: Ie9055491150d9e7e3ad289cb0f35b018a52ac053

5 years agomfprintf: implicit loop over column vectors now prints a new line after each iteratio... 70/17070/3
John GLIKSBERG [Wed, 19 Aug 2015 09:36:21 +0000]
mfprintf: implicit loop over column vectors now prints a new line after each iteration (like mprintf, etc)

Change-Id: I49b341884350e211fc55533c7107dd7f23fd8cc8

5 years agoreplug csvIsnum on isnum 08/17108/2
Antoine ELIAS [Tue, 25 Aug 2015 15:08:52 +0000]
replug csvIsnum on isnum

Change-Id: Iba8b469a9ab8d387514a712cd10c09d95262e631

5 years agofix development_tools tests 05/17105/3
Antoine ELIAS [Tue, 25 Aug 2015 13:50:02 +0000]
fix development_tools tests

Change-Id: I2fadd628ea37660f635f20fc6d515c6de6d9c696

5 years agofix non close file after call of exec 30/17130/2
Cedric Delamarre [Fri, 28 Aug 2015 12:31:03 +0000]
fix non close file after call of exec

Change-Id: I62bc9d8fd39746b002642de59dd4ceae3c069929

5 years ago* Bug #14023 fixed - It was not possible to concatenate cells. 27/17127/2
Charlotte HECQUET [Fri, 28 Aug 2015 08:47:33 +0000]
* Bug #14023 fixed - It was not possible to concatenate cells.

Change-Id: Ib66fd783b022bdd569c311bd8a256480d06bc9ec

5 years agoadd "CLI SHELL MODE" in all tests that do not have : 21/17121/7
Antoine ELIAS [Thu, 27 Aug 2015 09:53:54 +0000]
add "CLI SHELL MODE" in all tests that do not have :
 - "XCOS TEST"
 - "CLI SHELL MODE"
 - "JVM NOT MANDATORY"
 - "TEST WITH GRAPHIC"
 - "INTERACTIVE TEST"

use "mode_nwni" or "mode_nwni_profiling" in test_run will skipped tests without "CLI SHELL MODE".

+ fix some refs

command to update script :

sed -i "1i// <-- CLI SHELL MODE -->" $(grep -L "<-- XCOS TEST -->" $(grep -L "<-- CLI SHELL MODE -->" $(grep -L "<-- JVM NOT MANDATORY -->" $(grep -L "<-- TEST WITH GRAPHIC -->" $(find . -name *.tst)))))

Change-Id: I15a5b6c2bf7f9e23f160ec6f797b128d63dcc105

5 years agoboolean display fixed 26/17126/1
Cedric Delamarre [Fri, 28 Aug 2015 08:23:46 +0000]
boolean display fixed

test_run core display

Change-Id: Ife9027011bae4e5f5957a6b6172aaa27cb78a3ab

5 years agoinsertion fixed when error occured. 24/17124/2
Cedric Delamarre [Thu, 27 Aug 2015 16:41:36 +0000]
insertion fixed when error occured.

// "a" must not exist after error
a{} = 1
clear a;

a.b() = 1

Change-Id: I92f679f5f42b9012ec6ed84bcbd6a225bf5e6db8

5 years agoAST tests: extract graphics dependant tests 02/17102/2
Clément DAVID [Tue, 25 Aug 2015 13:01:21 +0000]
AST tests: extract graphics dependant tests

Change-Id: If9de00ca5b9b6031b0d159326fcb5b4b8ee9fc61

5 years ago* Bug #14093 fixed - atanh returns NaN for values with an absolute value greater... 72/17072/3
Cedric Delamarre [Thu, 20 Aug 2015 08:18:41 +0000]
* Bug #14093 fixed - atanh returns NaN for values with an absolute value greater than 1

test_run elementary_functions bug_14093

Change-Id: I8d78ffdf02b65be0a7ff0104371abd4ab555e67a

5 years agodisp(macro) fixed 20/17120/2
Cedric Delamarre [Thu, 27 Aug 2015 09:27:49 +0000]
disp(macro) fixed

function test()
end

disp(test)

test2 = test
disp(test2)

Change-Id: I1c6bcc83a3fb4f75b5a802759ea191a751270b72

5 years agoc{} (with c a cell) make Scilab crashe. 22/17122/3
Charlotte HECQUET [Thu, 27 Aug 2015 13:46:40 +0000]
c{} (with c a cell) make Scilab crashe.

Change-Id: Ic09a11e48e54e09c76f475900372534d6b250444

5 years agoPASS test_run('scicos', [], 'mode_nwni') 23/17123/1
Clément DAVID [Thu, 27 Aug 2015 13:50:03 +0000]
PASS test_run('scicos', [], 'mode_nwni')

 * add TEST WITH GRAPHIC when needed
 * create needed dia.ref

Change-Id: Ib6db69469302dcc2c891cdd35d13f43d7de4a609

5 years agoScilab crashes with: c{}=1 (with c is a cell). 17/17117/3
Charlotte HECQUET [Thu, 27 Aug 2015 08:50:00 +0000]
Scilab crashes with: c{}=1 (with c is a cell).

Change-Id: Ib739d85d5846fcd391b50eaea662a4fb24481299

5 years agomemory leaks in hdf5 module 14/17114/4
Cedric Delamarre [Wed, 26 Aug 2015 16:31:03 +0000]
memory leaks in hdf5 module

test_run hdf5
test_run("hdf5",[],"mode_nwni_profiling")

Change-Id: Iab19db68723227debf623a61b946075ac6b530dd

5 years ago* Bug #14057 fixed - grand(m,n) returned a wrong error and grand(m,n,p) called %s_gra... 81/17081/3
Adeline CARNIS [Fri, 21 Aug 2015 12:49:00 +0000]
* Bug #14057 fixed - grand(m,n) returned a wrong error and grand(m,n,p) called %s_grand function instead of returning an error.

Change-Id: Ic2bba07166184cb39cc9bcf0a4c63a4d8d9df2f4

5 years agocallOnPrompt use StoreCommand 13/17113/2
Antoine ELIAS [Wed, 26 Aug 2015 10:45:10 +0000]
callOnPrompt use StoreCommand

Change-Id: Iceae62f7c82a6650b025562b47780d2848355260

5 years agoUpdate cell help page. 94/17094/3
Charlotte HECQUET [Mon, 24 Aug 2015 09:56:06 +0000]
Update cell help page.

Change-Id: I216658c37b85b5c9b47e544ed51898cc6ba46725

5 years agoUpdate functions and help pages with new cell format. 11/17111/4
Charlotte HECQUET [Wed, 26 Aug 2015 09:15:36 +0000]
Update functions and help pages with new cell format.

Change-Id: I3a2ce5b3a08baf39acad771a5bb1f27547c78454

5 years agoiscell() help pages updated. 95/17095/3
Charlotte HECQUET [Mon, 24 Aug 2015 10:07:24 +0000]
iscell() help pages updated.

Change-Id: Ic401fb91da202c73a1be083ea18f7391871bb29c

5 years agoUpdate cellstr, num2cell and cell2mat (+ help pages). 98/17098/3
Charlotte HECQUET [Mon, 24 Aug 2015 12:08:10 +0000]
Update cellstr, num2cell and cell2mat (+ help pages).

Change-Id: I08d3e1ad879ca707aa87aa2b6c9211c5dbd70dd8

5 years agomore information added to error message in macro call 18/17118/5
Cedric Delamarre [Thu, 27 Aug 2015 09:05:46 +0000]
more information added to error message in macro call

function [a,b,c]=foo()
  a=1
  // b=1
  c=1
endfunction

[x,y,z]=foo()

Change-Id: I7fcafa94be3fc59929d2ebcee999ef97eb0ef296

5 years agotest_run flag JVM NOT MANDATORY become deprecated 12/17112/4
Antoine ELIAS [Wed, 26 Aug 2015 09:49:20 +0000]
test_run flag JVM NOT MANDATORY become deprecated

Change-Id: Ifecc2375f969cf4ac7bd3f002c97c578cbb60462

5 years agofix mexlib mexEvalString test 04/17104/2
Antoine ELIAS [Tue, 25 Aug 2015 13:24:18 +0000]
fix mexlib mexEvalString test

Change-Id: Ib1b63e8099c3218345cb661f908de8bc7cfc61b6

5 years agoMacOS X: fix runtime library loading ('function proposed to the engine is the wrong... 16/17116/1
Francois GRANADE [Wed, 26 Aug 2015 19:48:52 +0000]
MacOS X: fix runtime library loading ('function proposed to the engine is the wrong one.') after libtools upgrade in fc90b8cc - patched again

Change-Id: Ia8149a5de513980adc21bf0559eb5bd24ee1b4fb

5 years agoTypo in message 15/17115/1
Francois GRANADE [Wed, 26 Aug 2015 09:43:20 +0000]
Typo in message

Change-Id: I787180480cee3309d9cc081b613b517a13251cc4

5 years agoMacOS X: fix .dylib detection after fc90b8cc 09/17109/3
Clément DAVID [Tue, 25 Aug 2015 15:43:14 +0000]
MacOS X: fix .dylib detection after fc90b8cc

Change-Id: Iedc53a6d1b8af5f36cc07dac33eecf94b4bdeb95

5 years agoexecstr fixed about third argument. 03/17103/2
Cedric Delamarre [Tue, 25 Aug 2015 13:14:02 +0000]
execstr fixed about third argument.

execstr("a=1;a(3)","errcatch","m")

Change-Id: Ia7c6a2770fff378af83d940b91eb8c3bee96541d

5 years agoexception fixed when insertion call an overload. 96/17096/3
Cedric Delamarre [Mon, 24 Aug 2015 10:37:09 +0000]
exception fixed when insertion call an overload.

a=1;
a(1,1)="d"

test_run ast insert

Change-Id: I140859830c8a0af34d6ad47d5aaa958f1ac0bb15

5 years agoAST: fix mismatched use of malloc/new/new[] versus free/delete/delete[] 06/17106/2
Clément DAVID [Tue, 25 Aug 2015 13:54:09 +0000]
AST: fix mismatched use of malloc/new/new[] versus free/delete/delete[]

Change-Id: Idd835ec34bd87d4bb26ff778cdaa7f66573d2be1

5 years agoast, elementary_functions, string, fileio, output_stream memory leaks 00/17100/2
Antoine ELIAS [Mon, 17 Aug 2015 13:58:47 +0000]
ast, elementary_functions, string, fileio, output_stream memory leaks

Change-Id: I03c514074aad77ad5971adb75352bed98b378932

5 years agoadd a class to store dlamch constant 97/17097/5
Antoine ELIAS [Mon, 10 Aug 2015 10:31:05 +0000]
add a class to store dlamch constant

Change-Id: I25f1a19aa701f9c4460aa1a0aca58ef4879dc567

5 years agotest_run: add an "mode_nwni_profiling" parameter 85/17085/4
Clément DAVID [Fri, 21 Aug 2015 16:35:13 +0000]
test_run: add an "mode_nwni_profiling" parameter

test_run ast eq
test_run('ast', 'eq', 'mode_nwni_profiling')

Change-Id: If6f070b7156844205450f0916fb14298597d18c8

5 years agoast memory leaks 99/17099/3
Antoine ELIAS [Mon, 10 Aug 2015 10:33:19 +0000]
ast memory leaks

Change-Id: I468d734f7b13a3ec093861c83a116e478fe8c2ef

5 years agomatplot color fixed 84/17084/3
Cedric Delamarre [Fri, 21 Aug 2015 14:51:38 +0000]
matplot color fixed

Change-Id: I4767ce543dac70b0079a80b83bd3d78326597568

5 years agoWindows compilation fixed. 92/17092/2
Cedric Delamarre [Mon, 24 Aug 2015 08:05:35 +0000]
Windows compilation fixed.

Change-Id: I3bcd75c6825c83a1ef7093014a16dafa71f3fc99

5 years agounintialize value fixed and std::atomic used in Runner 75/17075/2
Cedric Delamarre [Thu, 20 Aug 2015 15:29:41 +0000]
unintialize value fixed and std::atomic used in Runner

Change-Id: I84c35ac62b7c662eb0fa04e8f282a292d3425248

5 years agoXcos log: avoid ambiguous definition 82/17082/1
Clément DAVID [Fri, 21 Aug 2015 13:37:43 +0000]
Xcos log: avoid ambiguous definition

Change-Id: I03b2c628a776f42eae9fa0a17552a63025f77736

5 years ago* Bug #14095 fixed - Scilab crashed when a .fig file was loaded with loadmatfile... 80/17080/2
Charlotte HECQUET [Fri, 21 Aug 2015 12:22:17 +0000]
* Bug #14095 fixed - Scilab crashed when a .fig file was loaded with loadmatfile function.

Change-Id: Iaf40d04029779ca656b188261d3f2d590fecf5f9

5 years agoXcos JNI: add getObjectProperty(..., bool) 02/17002/3
Clément DAVID [Fri, 21 Aug 2015 06:14:34 +0000]
Xcos JNI: add getObjectProperty(..., bool)

* The bool accessor was not mapped to the Xcos Controller

Change-Id: If8d29736d185567f28735b49a9d11fba53b78fba

5 years agoXcos MVC: add a default explorer view 00/17000/4
Clément DAVID [Thu, 20 Aug 2015 14:32:34 +0000]
Xcos MVC: add a default explorer view

Implement a Treeshow-like Java view. This also check that everything is
fine while implementing a view with a state in the Event Dispatch
Thread.

Synchronization on Model object creation / deletion should be managed
and a reference have to be stored on the Java side for all used object.
Any access on Controller::getProperty / Controller::setProperty with
invalid uid will return an error status that is passed through the
caller.

As the C -> Java calls are slow, the view is installed on demand. A huge
diagram can be loaded in seconds and the view retrieve data and track
all changes reducing performance once installed.

Change-Id: I79b474aa81db5eb365e2b755e757ccf4bebb0a68

5 years agoXcos scopes: fix the error reporting on NWNI mode 74/17074/2
Clément DAVID [Thu, 20 Aug 2015 09:49:49 +0000]
Xcos scopes: fix the error reporting on NWNI mode

an NWNI simulation with a scope crashed without reporting a
comprehensive issue.

Change-Id: Ic5c739dc720f5a32675e4cd777839b3891f24019

5 years ago* Bug #14040 fixed - graphic property setting fails when using array of handles 73/17073/2
Cedric Delamarre [Thu, 20 Aug 2015 09:07:30 +0000]
* Bug #14040 fixed - graphic property setting fails when using array of handles

test_run graphics bug_14040

Change-Id: I53bff92be35a2362a967ae667ecaba40baa71fa9

5 years ago* Bug #13944 fixed - The menu "Toolboxes" was missing. 71/17071/2
Samuel Gougeon [Wed, 19 Aug 2015 15:13:37 +0000]
* Bug #13944 fixed - The menu "Toolboxes" was missing.

Change-Id: I2d7c6fd5d2d266311439f836feade20b8b5b412c

5 years agoCompilation: upgrade swig generated files to swig-3.0.7 53/17053/3
Clément DAVID [Tue, 18 Aug 2015 09:28:38 +0000]
Compilation: upgrade swig generated files to swig-3.0.7

Change-Id: Icdf009b631a4fba1363f7076bc8311a94172fd38

5 years agorestoring the Toolboxes menu for not autoloaded contrib/ toolboxes. http://bugzilla... 66/17066/4
Samuel Gougeon [Wed, 19 Aug 2015 07:34:08 +0000]
restoring the Toolboxes menu for not autoloaded contrib/ toolboxes. bugzilla.scilab.org/show_bug.cgi?id=13944

Change-Id: If984e2ac3d107c831b1eff060fd84a694037b675

5 years ago* Bug #14058 fixed - Scilab crashed with 'file("close", file())' instruction 36/17036/4
Charlotte HECQUET [Fri, 14 Aug 2015 14:15:04 +0000]
* Bug #14058 fixed - Scilab crashed with 'file("close", file())' instruction

Change-Id: I509d448162250dd36a75a048af62a35b473c5b02

5 years agoXcos MVC: fix default 'wpar' property 65/17065/1
Paul Bignier [Wed, 8 Jul 2015 08:02:07 +0000]
Xcos MVC: fix default 'wpar' property

 * Gave its old default to 'wpar', for backward compatibility (for scicos_diagram.tst to pass)

Change-Id: Iab278e3189cdf8ad7d12718f9acd4fd65b29d6c4

5 years agoTypes: fix fieldnames for Scicos objects 64/17064/1
Paul Bignier [Wed, 8 Jul 2015 07:48:21 +0000]
Types: fix fieldnames for Scicos objects

Change-Id: Ie6673295fd5aac362ca7346fc65a20aa3ff7171d

5 years agoTypo fix: varaible -> variable 63/17063/1
Paul Bignier [Tue, 28 Jul 2015 10:35:00 +0000]
Typo fix: varaible -> variable

Change-Id: I9194730134baae5c164b4b5ad950a83e283b02c1

5 years agoScicos tests: fix getfield to mind Annotations and Links 62/17062/1
Paul Bignier [Tue, 7 Jul 2015 10:26:10 +0000]
Scicos tests: fix getfield to mind Annotations and Links

Change-Id: I31cd6ef1e3bdf5c4f163eb3ae6d9573edf60869e

5 years agoXcos MVC: allow to pass the properties in any order 56/17056/2
Paul Bignier [Fri, 3 Jul 2015 09:32:16 +0000]
Xcos MVC: allow to pass the properties in any order

 * Also allowed to passed "fake" properties, that don't belong to the Adapter.
Nothing is done in that case

Change-Id: I4804872a4b38d42cc8f132fb6c0f496cfbaa5fff

5 years agomclose("all") showed a warning when it was executed in scinotes. 35/17035/2
Charlotte HECQUET [Fri, 14 Aug 2015 09:15:37 +0000]
mclose("all") showed a warning when it was executed in scinotes.

test_run functions exec

Change-Id: I546eb195b2823bfa7552609e1c036ca768b7000c

5 years ago* Bug #14036 fixed - tag and user_data properties were not displayed and not document... 33/17033/2
Charlotte HECQUET [Thu, 13 Aug 2015 09:16:12 +0000]
* Bug #14036 fixed - tag and user_data properties were not displayed and not documented for light entity.

Change-Id: Ie038ddea65aa87b81b28cf86b32cf158ff43796b

5 years ago* Bug #13843 fixed - Scilab crashed when polarplot and plot2d were called with wrong... 28/17028/3
Charlotte HECQUET [Wed, 12 Aug 2015 13:53:17 +0000]
* Bug #13843 fixed - Scilab crashed when polarplot and plot2d were called with wrong strf value.

Change-Id: I1984e256bc3eba20ef72bfde07eb2c7674981f78

5 years ago* Bug #13750 fixed - Calling ss2ss function with flag = 2 returned an error. 43/17043/2
Adeline CARNIS [Mon, 17 Aug 2015 13:33:16 +0000]
* Bug #13750 fixed - Calling ss2ss function with flag = 2 returned an error.

Change-Id: I1b26deb55c87f835d9121046435fd8d9b27b1b6a

5 years ago* Bug #13780 fixed - size with two input and output arguments must return an error. 32/17032/3
Adeline CARNIS [Wed, 12 Aug 2015 15:38:47 +0000]
* Bug #13780 fixed - size with two input and output arguments must return an error.

Change-Id: I2c590e4535926c0eca2bd55831970c55f8bdcbe0

5 years agoremoved useless copy of input arguments when allocating output matrix of double 54/17054/2
John GLIKSBERG [Tue, 18 Aug 2015 10:34:52 +0000]
removed useless copy of input arguments when allocating output matrix of double

Change-Id: Ie60ca6926154d821718d9b9c91440e2e986d91e4

5 years agoConfigure: fix --enable-build-swig option 52/17052/1
Clément DAVID [Tue, 18 Aug 2015 08:46:35 +0000]
Configure: fix --enable-build-swig option

Seems to be merge issue.

Change-Id: I3d6ce65743b5b11152852e8462051cb6847a5c3c

5 years agofix some gcc 4.9 valid warnings 45/17045/2
Clément DAVID [Wed, 28 Jan 2015 16:23:26 +0000]
fix some gcc 4.9 valid warnings

Scilab types used an int size whereas some natives functions return a
size_t. static_cast<int> is needed.

`for(iterator i = begin(), end = cases->end(); i != end; ++i)` will
disable optimizations as the end variable is not `const` thus might be
modified in the loop.

Change-Id: I828c95342c4e804e54dc7c0424a084d9708141cd

5 years agoXcos gateways: fix 'opar' in model2blk() and pass blocks_link 50/17050/1
Paul Bignier [Tue, 21 Jul 2015 08:23:38 +0000]
Xcos gateways: fix 'opar' in model2blk() and pass blocks_link

 * sci_model2blk.cpp forgot to set 'oparsz' values

Change-Id: I7b590cbb242d4e0df6ad6f5669360bede9680522

5 years agoXcos tests: pass blocks_set 49/17049/1
Paul Bignier [Tue, 21 Jul 2015 07:24:03 +0000]
Xcos tests: pass blocks_set

 * https://codereview.scilab.org/#/c/16756 forgot to deprecate func_block in blocks_set.tst

 * In YaSp, save() supports string arguments

Change-Id: I4319d5c69cbfc88824d095bd22b9fe571c15b5e1

5 years agoScicos_blocks macros: fix SELF_SWITCH for Xcos 6 48/17048/1
Paul Bignier [Mon, 20 Jul 2015 15:27:33 +0000]
Scicos_blocks macros: fix SELF_SWITCH for Xcos 6

 * Fixed trying to link to an object that doesn't exist yet in the diagram by 'pin', 'pout', 'pein' & 'peout'
If you want to do that, use 'model' instead of 'graphics'
It was not necessary anyway because the links do it...

Change-Id: I2e012825fe12d63208d539d40986555fb85e9f94

5 years agomscanf in a callback fixed 44/17044/3
Cedric Delamarre [Mon, 17 Aug 2015 15:46:41 +0000]
mscanf in a callback fixed

function demo_1()
    my_handle = scf(100001);
    plot(1:10)
    if is_handle_valid(my_handle) then
        mprintf("Press Return to continue");
        mscanf("%c");
    end
    plot(1:20)
endfunction

f = figure();
h = uicontrol(f, "style", "pushbutton", "string", "Lancer demo", "position", [20 20 100 50], "callback", "demo_1()");

Change-Id: Ia20ae93a63b971c433146b653b35813f8d1324ab

5 years agoScicos_blocks macros: replace obsolete macr2lst 47/17047/1
Paul Bignier [Thu, 9 Jul 2015 15:32:39 +0000]
Scicos_blocks macros: replace obsolete macr2lst

 * In YaSp, macr2lst is replaced by macr2tree

 * Tested by blocks_set.tst

Change-Id: I16398ce65c7be26c1e74b62df7468bf4926a1ab2

5 years agoXcos MVC: minor fix 46/17046/1
Paul Bignier [Wed, 22 Jul 2015 14:17:10 +0000]
Xcos MVC: minor fix

 * Only call constructor instead of constructor + copy constructor

Change-Id: I895b9a45057be0140ee188d3b5b1ff523ba28953