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

5 years agoUpgrade autotools to the latest version 93/16793/2
Clément DAVID [Mon, 6 Jul 2015 11:52:15 +0000]
Upgrade autotools to the latest version

libtool-2.4.2
autoconf-2.69
automake-1.15

Change-Id: I35a3905325e274d9d7e0035ea5871b370b35c3be

5 years agothreads management fixed 30/17030/4
Cedric Delamarre [Wed, 12 Aug 2015 14:48:59 +0000]
threads management fixed

* dead lock fixed
* debug print updated
* more comments added
* useless lock removed

copy/past the exemple of uicontrol_properties help page.

Change-Id: Ib3f96ba2114aa2bc80cfaba32d9ad99eb9061623

5 years ago*Bug #13872 fixed - The indices returned by unique were wrong. Non regression test... 34/17034/1
Adeline CARNIS [Thu, 13 Aug 2015 13:21:07 +0000]
*Bug #13872 fixed - The indices returned by unique were wrong. Non regression test added.

Change-Id: I156240b683f78f12416fbfb382d942c27052839a

5 years agochanges updated about forgotten bug closed 31/17031/1
Cedric Delamarre [Wed, 12 Aug 2015 15:20:12 +0000]
changes updated about forgotten bug closed

Change-Id: I8372a904d342e78d268e6d39b7246311745ae412

5 years ago* Bug #14025 fixed - head_comments did not take into account compiled functions. 27/17027/2
Charlotte HECQUET [Wed, 12 Aug 2015 09:36:15 +0000]
* Bug #14025 fixed - head_comments did not take into account compiled functions.

Change-Id: Ic21b0ff60bcb120aa845d4275a2df577371284f1

5 years ago* Bug #13709 fixed - the returned position by unique function was sometimes wrong. 26/17026/2
Adeline CARNIS [Wed, 12 Aug 2015 09:26:04 +0000]
* Bug #13709 fixed - the returned position by unique function was sometimes wrong.

Change-Id: I14e6df5a5e05686c986a873166461a072358b8bc

5 years agoHelp couldnt be displayed when loading several modules 14/17014/2
Abdoulaye DIOP [Mon, 10 Aug 2015 11:51:00 +0000]
Help couldnt be displayed when loading several modules

 To reproduce this bug, exec several loaders in the scilab.start file, and try to use the help function

Change-Id: Id3ca2b0ff5ab2374e200328f33e460c36fe1e471

5 years agoReimann demo: add callback_type property of play, pause and quit buttons. 21/17021/3
Adeline CARNIS [Tue, 11 Aug 2015 15:35:28 +0000]
Reimann demo: add callback_type property of play, pause and quit buttons.
This proprety is set at 10.
To test: Demo > Graphics > Animation > Reimann

Change-Id: I7d72ece87512452fde96da3162a072f6bd4e5523

5 years agoReplace 12 by 10 in levitron demo. 24/17024/2
Adeline CARNIS [Wed, 12 Aug 2015 07:26:08 +0000]
Replace 12 by 10 in levitron demo.

Change-Id: I8c642dc1367354a3884c64290ce2b4888984ce0c

5 years agoImprove description of callback_type property in uicontrol_properties help page. 19/17019/3
Charlotte HECQUET [Tue, 11 Aug 2015 13:22:17 +0000]
Improve description of callback_type property in uicontrol_properties help page.

Change-Id: I1801d891df8bdd2df8040e7daca098742f388a5b

5 years ago[elementary_functions] fix argument check in log1p from < 0 to <= -1 20/17020/3
John GLIKSBERG [Tue, 11 Aug 2015 14:02:21 +0000]
[elementary_functions] fix argument check in log1p from < 0 to <= -1

Change-Id: I1b837a6265c1cade5158d023e1d7682605405aa3

5 years agofort function does not exist in version 6. A gateway has been created. 17/17017/2
Adeline CARNIS [Mon, 10 Aug 2015 15:39:40 +0000]
fort function does not exist in version 6. A gateway has been created.

Change-Id: I73e2b469ae0f2972137f00f20d5bf992267cf39f

5 years agobug_14049 test added. 16/17016/3
Cedric Delamarre [Mon, 10 Aug 2015 12:39:36 +0000]
bug_14049 test added.

test_run io bug_14049

Change-Id: If957e22d6348fb78038089285f841b54ed9a2662

5 years ago<para> was missing in scilab.xml help pages after https://codereview.scilab.org/... 10/17010/1
Charlotte HECQUET [Mon, 10 Aug 2015 07:39:02 +0000]
<para> was missing in scilab.xml help pages after https://codereview.scilab.org/#/c/16957/

Change-Id: I07325f2e84193bcc88e15565ed8a5378034337de

5 years agothe use of thread in optimisation, differential_equations and signal_processing removed 08/17008/2
Cedric Delamarre [Fri, 7 Aug 2015 12:48:25 +0000]
the use of thread in optimisation, differential_equations and signal_processing removed

test_run optimization

Change-Id: Iddfc33063aaaba0e187d2a5da800aa56e64e8544

5 years agoupdate h5rm and h5flush tests to clean previous file 07/17007/1
Antoine ELIAS [Fri, 7 Aug 2015 10:38:55 +0000]
update h5rm and h5flush tests to clean previous file

Change-Id: I57439099990e46e9b41d6ea3cc8f8eb00722dca4

5 years agocompilation fixed after https://codereview.scilab.org/#/c/16956/ 06/17006/1
Cedric Delamarre [Fri, 7 Aug 2015 10:04:12 +0000]
compilation fixed after https://codereview.scilab.org/#/c/16956/

Change-Id: Ifb34705fcb83a33f9d5a9b5cfe7fa989435d4e23

5 years agocommand priority management 04/17004/4
Cedric Delamarre [Thu, 6 Aug 2015 13:14:01 +0000]
command priority management

* Set command from gui (help, clc, resume, pause, abort) as prioritary command.
* Documentation updated about callback_type 0, 2, 10, 12.
* menu control => abort fixed

Change-Id: I19c0ffa03910eb8869e8d825f4439d3280d79288

5 years agouninitialized variable 99/16999/3
Cedric Delamarre [Wed, 5 Aug 2015 16:43:36 +0000]
uninitialized variable

test_run graphics bug_14042

Change-Id: I053ff087d06c1238fca79219807c96248ec53ccb

5 years agoflag to force scilab exit after -e or -f execution added. 57/16957/4
Cedric Delamarre [Mon, 3 Aug 2015 10:22:48 +0000]
flag to force scilab exit after -e or -f execution added.

Change-Id: I76434aee1238715ed40c66353a785511d4c8113f

5 years agosident gateway fixed and "bad lhs" error modified. 56/16956/3
Cedric Delamarre [Mon, 3 Aug 2015 14:34:30 +0000]
sident gateway fixed and "bad lhs" error modified.

test_run cacsd bug_14006
test_run string bug_7282

Change-Id: I21e4888f645d8ff61cdbd8ab4eb6b522ff1720bb

5 years agogenlib can return 4 arguments 05/17005/1
Antoine ELIAS [Fri, 7 Aug 2015 08:22:34 +0000]
genlib can return 4 arguments

my_function = ["function test()";"foo()";"endfunction"];
my_function2 = ["function test2()";"foo(";"endfunction"];
my_file     = TMPDIR+"/test.sci";
my_file2     = TMPDIR+"/test2.sci";

mkdir(my_dir);

mputl(my_function,my_file);
mputl(my_function2,my_file2);

[a,b,c,d] = genlib("test", TMPDIR,%T)

Change-Id: I099a80e2ef52aa8c1010d34931ba89903b109625

5 years agoexception fixed about lasterror 96/16996/2
Cedric Delamarre [Wed, 5 Aug 2015 14:56:57 +0000]
exception fixed about lasterror

test_run development_tools|assert

Change-Id: Ic6db5a8291a034b1552e4069dd93143303de7cf3

5 years ago[bug_14020] mscanf fixed about empty data. 58/16958/2
Cedric Delamarre [Mon, 3 Aug 2015 08:45:08 +0000]
[bug_14020] mscanf fixed about empty data.

 input call mscanf and they have to return an empty string
 when nothing is entered instead of an empty matrix.

Change-Id: I13cc2bea99fff08927f1eeef8a24b0fb56ac26ac

5 years agoThreads management modified to execute all scilab script in the main thread. 94/16994/5
Cedric Delamarre [Wed, 5 Aug 2015 13:50:09 +0000]
Threads management modified to execute all scilab script in the main thread.

Change-Id: If546fb624ac93005df24a1c22050d3e01cf396f8

5 years agorename branch to master 95/16995/1
Antoine ELIAS [Wed, 5 Aug 2015 14:38:48 +0000]
rename branch to master

Remove reference to YaSp

Change-Id: I0cdea9075519d1db06058d5d90f79bc0d46baf4f

5 years agoScilabException management and bug fixed 59/16959/2
Cedric Delamarre [Mon, 27 Jul 2015 15:43:56 +0000]
ScilabException management and bug fixed

    * ScilabError and ScilabMessage removed
    * InternalError added
    * mlist print fixed when an error occured :
test_run data_structures list

Change-Id: Ie39647a3b606198d0e7ae87e68be0addea9a7eca

5 years agoast: serialization, get string size after converstion to take care of multibyte chars 60/16960/1
Antoine ELIAS [Mon, 3 Aug 2015 12:13:38 +0000]
ast: serialization, get string size after converstion to take care of multibyte chars

function test_string()
    disp("chaîne avec des caractères spéciaux");
endfunction

Change-Id: I47328be07fe4b54b278d1536c575f8bad4e3e339

5 years agoMerge remote-tracking branch 'origin/YaSp' 53/16953/1
Antoine ELIAS [Mon, 3 Aug 2015 13:13:53 +0000]
Merge remote-tracking branch 'origin/YaSp'

Conflicts:
scilab/CHANGES_5.6.X

Change-Id: Id915fe8b5050104c1ddb9c21247da7f5d91cd5e1

5 years agofake commit to diverge from origin/YaSp 52/16952/1
Antoine ELIAS [Mon, 3 Aug 2015 13:11:02 +0000]
fake commit to diverge from origin/YaSp

Change-Id: I0e123a9581b8b35087aded86935e3cf10aa0fd9e

5 years agomissing Lock on parseur added. 46/16946/2
Cedric Delamarre [Fri, 31 Jul 2015 14:48:59 +0000]
missing Lock on parseur added.

Change-Id: Ibedce4c81d18effaf9e30cbe7179d9de116d5b14

5 years agoLock to manage interruptible threads added. 47/16947/2
Cedric Delamarre [Fri, 31 Jul 2015 15:51:53 +0000]
Lock to manage interruptible threads added.

Change-Id: I24ba52cd38cf391c4098089eb516d1631851ad31

5 years agoDifferential_equations: fix ode gateway to match Scilab 5 33/16933/2
Paul Bignier [Thu, 30 Jul 2015 08:08:21 +0000]
Differential_equations: fix ode gateway to match Scilab 5

 * When using root-find feature, Scilab 5 returned [] in case no root was found
 * Tested by Demos->Simulation->ODE->Chemical_process_(Stiff)

Change-Id: I69089f2d1d335d65f37471c77c9cf3da5e01abdd

5 years agoinsertion in hypermat fixed 45/16945/2
Cedric Delamarre [Thu, 30 Jul 2015 16:13:14 +0000]
insertion in hypermat fixed

a(1,1,2)=12;
a(2,1,1)=14

Change-Id: I0f1da15de4a3f5d9f5deacfdc49bd4a241a0d06e

5 years agoUse same ref under Linux and Mac OS X 43/16943/1
Vincent COUVERT [Thu, 30 Jul 2015 15:40:45 +0000]
Use same ref under Linux and Mac OS X

Change-Id: I201a46a10f25d028f7f55fac7b028046a5032bd4

5 years agoFix test after https://codereview.scilab.org/#/c/16911/ 42/16942/2
Vincent COUVERT [Thu, 30 Jul 2015 15:37:03 +0000]
Fix test after https://codereview.scilab.org/#/c/16911/

Change-Id: I3b1454a195822d1354aadd8a697ac1175232a1c9

5 years agoLevitron demo updated. Stop and Reinit callback must be priority. Set callback_type... 29/16929/2
Adeline CARNIS [Wed, 29 Jul 2015 15:06:41 +0000]
Levitron demo updated. Stop and Reinit callback must be priority. Set callback_type property to 12.

Change-Id: I99c8f5ee6b45747089ec72b673ea08efae5d346c

5 years agoHistory: restore it 37/16937/2
Calixte DENIZET [Thu, 30 Jul 2015 10:45:04 +0000]
History: restore it

Change-Id: I3c1412ff51a23e1f14f2110a99d02cf993695b37

5 years agodisplay of exec fixed. 40/16940/2
Cedric Delamarre [Thu, 30 Jul 2015 15:15:04 +0000]
display of exec fixed.

function testExec()
    c = 1
    b = 2
endfunction
exec(testExec, "errcatch", -1);

Change-Id: I9b67f425668ea6acc201d8f65fac08a605d2f915