4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

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

Change-Id: I3c1412ff51a23e1f14f2110a99d02cf993695b37

4 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

4 years agomissplaced Lock fixed 39/16939/3
Cedric Delamarre [Thu, 30 Jul 2015 14:43:33 +0000]
missplaced Lock fixed

get the test case of bug 12722, then click in the window and press some keys.

Change-Id: I0833d68f1effe1cb2bb0a461f7113b953d54e3d4

4 years agodouble free in select case fixed 36/16936/3
Cedric Delamarre [Thu, 30 Jul 2015 09:51:09 +0000]
double free in select case fixed

a=12;
select a
case 12
a=14
end

Change-Id: I8af5b4c4151ca1af30dba7c4eb2046e014d83286

4 years agoStoreCommand fixed and avoid Spurious Wakeups. 38/16938/5
Cedric Delamarre [Thu, 30 Jul 2015 11:47:05 +0000]
StoreCommand fixed and avoid Spurious Wakeups.

start Scilab with gui and click on cross to close it.
process never exit.

Change-Id: I960414ba2203c21dadee7d3452fb7f8c1f73f03d

4 years agoNo more force English at startup. 41/16941/1
Vincent COUVERT [Thu, 30 Jul 2015 15:19:08 +0000]
No more force English at startup.

Partial revert of https://codereview.scilab.org/#/c/16915/ & https://codereview.scilab.org/#/c/16912/

Change-Id: I02eba0f57bbae18d66b903635e09da1f02bba392

4 years agoset up changelog for 6.0.0 alpha-2 35/16935/2
Francois Granade [Thu, 30 Jul 2015 09:14:32 +0000]
set up changelog for 6.0.0 alpha-2

Change-Id: I56fb5a85648b67f40b1cf4482685593a1e8bd6f6

4 years ago[demo] image.dat updated with new save 31/16931/2 6.0.0-alpha-1
Cedric Delamarre [Wed, 29 Jul 2015 16:00:02 +0000]
[demo] image.dat updated with new save

Change-Id: Ib0e3fca37f697af318c980d3f04de9112bd607c4

4 years agofix storing of userdata address on 64 bits version 32/16932/2
Antoine ELIAS [Wed, 29 Jul 2015 18:13:13 +0000]
fix storing of userdata address on 64 bits version

Change-Id: I43b6db0d431818945276f41173c1a12feaa04947

4 years agoadd a ';' between end dans next command to help parser 26/16926/2
Antoine ELIAS [Wed, 29 Jul 2015 12:59:42 +0000]
add a ';' between end dans next command to help parser

bug reported : http://bugzilla.scilab.org/show_bug.cgi?id=14014

Change-Id: I598708c0d79380f0b0a81beea7bc36ed78dc8940

4 years agoRevert "insertion of [] in struct may used to delete entire row or col. fix some... 25/16925/2
Antoine ELIAS [Wed, 29 Jul 2015 12:38:31 +0000]
Revert "insertion of [] in struct may used to delete entire row or col. fix some overloading tests"

This reverts commit 6bede4a5476297c4028368d269e35155bc4903e9.

Change-Id: Ifc2b5170d32ff947572e8049bb5d0b9ee6ef55f9

4 years agoclose scilab with cross must close the process. 24/16924/1
Cedric Delamarre [Wed, 29 Jul 2015 09:58:05 +0000]
close scilab with cross must close the process.

Change-Id: If88493977f0d289e7e30e9e50ca16aec60f0551f

4 years agolinux compilation fixed 23/16923/1
Cedric Delamarre [Wed, 29 Jul 2015 09:38:47 +0000]
linux compilation fixed

Change-Id: I0c17ed6461ca3b03c3df307b903e1877a9e02884

4 years agoFix a typo 22/16922/1
Vincent COUVERT [Wed, 29 Jul 2015 09:32:58 +0000]
Fix a typo

Change-Id: Ic2f07b6b57c90e2e5d0911c9e0e6d5bebb42dd43

4 years agomodule preferences plugged 14/16914/3
Cedric Delamarre [Tue, 28 Jul 2015 15:04:37 +0000]
module preferences plugged

Change-Id: Ib591895037b72513d1f7e7448e4c19834653d681

4 years agoRemoved references to deprecated/removed functions 21/16921/1
Vincent COUVERT [Wed, 29 Jul 2015 09:26:33 +0000]
Removed references to deprecated/removed functions

Change-Id: I573a1eb429e8ad6f65a6fe83db5a9f915b46537e

4 years agoReview + translation before release 20/16920/4
Vincent COUVERT [Wed, 29 Jul 2015 08:37:05 +0000]
Review + translation before release

Change-Id: I1885f5d5691c1a0d85891c6a327bf5461026eaba

4 years agorevnumber switched from 5.6.0 to 6.0.0 19/16919/1
Vincent COUVERT [Wed, 29 Jul 2015 08:06:06 +0000]
revnumber switched from 5.6.0 to 6.0.0

Change-Id: I4cd7a44f703fcc8d248fb9c2ae6ee115fa1e0e13

4 years agoFix path to css + remove file from Makefile 17/16917/1
Vincent COUVERT [Wed, 29 Jul 2015 07:40:46 +0000]
Fix path to css + remove file from Makefile

Change-Id: I95856ab06590d9a7ba588a816ed517db0ad03f59

4 years agoEnglish help home page and CHANGELOG for alpha release. Missing the help home page... 16/16916/2
Francois Granade [Wed, 29 Jul 2015 00:02:22 +0000]
English help home page and CHANGELOG for alpha release. Missing the help home page in French

Change-Id: I3822bc9233b8ec2558c5321fadf6e97cd7ae3d52

4 years agolocalization fixed under linux 15/16915/2
Cedric Delamarre [Tue, 28 Jul 2015 15:25:31 +0000]
localization fixed under linux

Change-Id: I940aa2ed270e957b12a3b0a20a836817d6a79e86

4 years agochange variable declaration to f2c solution 07/16907/2
Antoine ELIAS [Tue, 28 Jul 2015 09:08:05 +0000]
change variable declaration to f2c solution

Change-Id: I44bf099b745aaaf77dbef1a605c30ae336f9b23f

4 years agoConsole: fix print issue in term after segfault and print the stack in this case 09/16909/3
Calixte DENIZET [Tue, 28 Jul 2015 09:56:43 +0000]
Console: fix print issue in term after segfault and print the stack in this case

Change-Id: Ia1db001bab6125fdfe2a720b2b8f85edb34d169d

4 years agoadd a space to prompt 11/16911/3
Antoine ELIAS [Tue, 28 Jul 2015 10:41:15 +0000]
add a space to prompt

Change-Id: I267654d6c0ad1aa50dd2a22b55bdbb2ed4a916db

4 years agoadd welcome alpha message and force localization in en_US 12/16912/2
Antoine ELIAS [Tue, 28 Jul 2015 11:53:47 +0000]
add welcome alpha message and force localization in en_US

Change-Id: I633ff7facfdeb5d1103a155b76396d96537b392a

4 years agoinsertion of [] in struct may used to delete entire row or col. 06/16906/2
Antoine ELIAS [Mon, 27 Jul 2015 16:17:18 +0000]
insertion of [] in struct may used to delete entire row or col.
fix some overloading tests

test_run overloading bug_7042
test_run overloading bug_2267

Change-Id: I2cbdc9fc6ab8cc1d693c665172436f750e455553

4 years agoupdate sparse test reference 04/16904/1
Antoine ELIAS [Mon, 27 Jul 2015 15:46:54 +0000]
update sparse test reference

Change-Id: Icf536624c1b0d4bae412599f4bd642a65097f8d6

4 years agoFix DYLD_LIBRARY_PATH for Mac OS X binaries 03/16903/2
Vincent COUVERT [Mon, 27 Jul 2015 14:26:08 +0000]
Fix DYLD_LIBRARY_PATH for Mac OS X binaries

Change-Id: Iee5529242a4ce9cd0d5e86a4e199aefc5e10939d

4 years agomgetl does not try to read file as UTF-16 in binary mode 01/16901/2
Antoine ELIAS [Mon, 27 Jul 2015 14:00:04 +0000]
mgetl does not try to read file as UTF-16 in binary mode

Change-Id: I06fe5f9ba811ab1355df03722b463d008c098e13

4 years agosparse comparison 00/16900/2
Antoine ELIAS [Mon, 27 Jul 2015 13:03:46 +0000]
sparse comparison

Change-Id: Ia73734697baa94232d8bc08e93c2cebe2dc22b27

4 years agoRemove old Mac OS X ignored error and replace it by new one (usefull when testing... 02/16902/2
Vincent COUVERT [Mon, 27 Jul 2015 14:01:18 +0000]
Remove old Mac OS X ignored error and replace it by new one (usefull when testing Scilab using ssh connection)

Change-Id: I5971fc78c6845801511df8ce06bed118377bb743

4 years agoFix DYLD_LIBRARY_PATH for Mac OS X binaries 99/16899/2
Vincent COUVERT [Mon, 27 Jul 2015 11:14:43 +0000]
Fix DYLD_LIBRARY_PATH for Mac OS X binaries

Change-Id: Iaa367a28b1d809ce1d65d577ca57d97d1268ea9b

4 years ago[cleanup] symbolic functions references removed. 69/16869/5
Cedric Delamarre [Tue, 21 Jul 2015 13:56:00 +0000]
[cleanup] symbolic functions references removed.

Change-Id: I549320ffe2c48ca943184771057977fff7eaa203

4 years ago[cleanup] references of old functions removed. 68/16868/3
Cedric Delamarre [Tue, 21 Jul 2015 11:58:49 +0000]
[cleanup] references of old functions removed.

Change-Id: I09501900453c3169eab6636b56ea6e830617e6d1

4 years agoextract : a(-1) must return a error 98/16898/2
Antoine ELIAS [Mon, 27 Jul 2015 09:09:52 +0000]
extract : a(-1) must return a error

Change-Id: I89d5491f7b0d1ab51173b2ea2e62e4e5c6fc4c9e

4 years agoupdate CHANGES_6.0.X 96/16896/3
Antoine ELIAS [Mon, 27 Jul 2015 09:03:19 +0000]
update CHANGES_6.0.X

Change-Id: I7470944c84ecc4cefff0d52207ee04d2efda0bc7

4 years agoJRE 8 embedded in Mac OS X binary versions 97/16897/2
Vincent COUVERT [Mon, 27 Jul 2015 09:07:30 +0000]
JRE 8 embedded in Mac OS X binary versions

Change-Id: Icafcbfa027e45f92e474bc74d7192bfa5bf1b836

4 years agoexec("file"); must be eq at exec("file", 0) 90/16890/2
Antoine ELIAS [Fri, 24 Jul 2015 07:53:55 +0000]
exec("file"); must be eq at exec("file", 0)

Change-Id: Ie00446b21246fc5f49488c893ba48566196c6c71

4 years ago * Merge CHANGES_5.5.X (5.5.2->5.5.3) into CHANGES_6.0.X 94/16894/3
Vincent COUVERT [Mon, 27 Jul 2015 07:35:43 +0000]
 * Merge CHANGES_5.5.X (5.5.2->5.5.3) into CHANGES_6.0.X
 * Merge CHANGES_5.6.X into CHANGES_6.0.X

Change-Id: I28c174b7fd3bdc684fac44796be45b12eeeccd97

4 years agofix test_run after https://codereview.scilab.org/#/c/16893/ 95/16895/1
Antoine ELIAS [Mon, 27 Jul 2015 08:18:37 +0000]
fix test_run after https://codereview.scilab.org/#/c/16893/

The check of extraction from empty variable ( [], {} or struct() )
must be done in extract function and not in checkIndexesArguments
to avoid disturbing insertion behaviour on empty variable.

Change-Id: I237a2f98f11fb27146b0773165c70ac5549cb558

4 years agofix trouble after extract improvements 93/16893/2
Antoine ELIAS [Fri, 24 Jul 2015 14:12:18 +0000]
fix trouble after extract improvements

test_run ast extractEmpty

Change-Id: I01c5c0e3754f6b8277c083cecfb2719d716cd46f

4 years agodo not dereference iterator returned by end(). 70/16870/2
Antoine ELIAS [Tue, 21 Jul 2015 15:46:32 +0000]
do not dereference iterator returned by end().

Change-Id: I430eaf7f6a797b78dbb6f4c8cac9f8376e4857d1

4 years agoAdapt Mac OS X JVM startup now we have switched to JDK 8 92/16892/1
Vincent COUVERT [Fri, 24 Jul 2015 14:40:47 +0000]
Adapt Mac OS X JVM startup now we have switched to JDK 8

Change-Id: I288c806118340ad65886d18acbcb5abced84d4fe

4 years agopoly returned a complex polynom instead to real polynom. 76/16876/3
Adeline CARNIS [Wed, 22 Jul 2015 13:09:44 +0000]
poly returned a complex polynom instead to real polynom.

Change-Id: I90b8b775266d033c7718bc453b1c05284a13817c

4 years agoimprove extract 89/16889/1
Antoine ELIAS [Tue, 19 May 2015 16:14:04 +0000]
improve extract

Change-Id: Ia98df043135bc5246da4214a2c55e905a90b9b17

4 years agoParser: fix problem with ~ when used as a path element 87/16887/2
Calixte DENIZET [Thu, 23 Jul 2015 13:43:47 +0000]
Parser: fix problem with ~ when used as a path element
cd ~
cd ~/

Change-Id: Iece34817d639ba0331d50a281f15b9c426b212a7

4 years agoJDK8 : update the detected JAVA_HOME 88/16888/1
Clément DAVID [Thu, 23 Jul 2015 13:47:13 +0000]
JDK8 : update the detected JAVA_HOME

 * prefer jdk8 then fallback to the defaults
 * handle Oracle JDK8 then cross-distro paths

Change-Id: I4004ea46c1c37a3ea297c36eff91877d528a490b

4 years agocall stack error and try catch fixed 75/16875/2
Cedric Delamarre [Wed, 22 Jul 2015 11:59:59 +0000]
call stack error and try catch fixed

function toto()
test()
endfunction

function test()
a=1;
a(3)
end

try
toto()
catch
disp("error catched")
end

// call stack must not be displayed
cos()

Change-Id: I330481494c605b9102b370e9851156742f5daa28

4 years agonon displayed error messages fixed 74/16874/3
Cedric Delamarre [Wed, 22 Jul 2015 10:27:48 +0000]
non displayed error messages fixed

a = h5open(TMPDIR + "/test.h5", "a");
a.toto

Change-Id: I517a510e0f7d4401c75696ba2c8872d8296d8077

4 years agoForce JRE 8 at startup for Mac OS X version 86/16886/1
Vincent COUVERT [Thu, 23 Jul 2015 13:11:29 +0000]
Force JRE 8 at startup for Mac OS X version

Change-Id: I19015ddd50ab89a0d53df4c5d495d42405bbfaaf

4 years agocall_scilab plugged. 36/16336/10
Cedric Delamarre [Wed, 8 Apr 2015 09:50:03 +0000]
call_scilab plugged.

Change-Id: I308dfa334ca52f90ea4901147559523805bb0917

4 years agoUse /lib64 by default to avoid a warning on Fedora with both /lib and /lib64 84/16884/2
Clément DAVID [Thu, 23 Jul 2015 09:47:26 +0000]
Use /lib64 by default to avoid a warning on Fedora with both /lib and /lib64

Change-Id: I02ae6780ee18473285b16c76b27860e1f7688d1d

4 years agoCompilation : rename splitpath to allow the use of Link-Time Optimization 82/16882/3
Clément DAVID [Thu, 23 Jul 2015 08:41:50 +0000]
Compilation : rename splitpath to allow the use of Link-Time Optimization

Change-Id: Ic5843b3eda49f4cac0e8e091cb23bec8561f1054

4 years agoXcos: remove the previously used stubs 81/16881/4
Clément DAVID [Thu, 23 Jul 2015 08:40:47 +0000]
Xcos: remove the previously used stubs

Change-Id: I91cac8551abd8314011ed11f591bf3dec9794f6c

4 years agoSwitch to ecj 4.4.2 (for compatibility with Java 8) 85/16885/2
Vincent COUVERT [Thu, 23 Jul 2015 11:44:40 +0000]
Switch to ecj 4.4.2 (for compatibility with Java 8)

Change-Id: I331ba74432bf229e11ca8660f345337cf23c5645

4 years agofix isRelease and isDebug, do not take of position of 'release' in [a,b] = getversion... 80/16880/2
Antoine ELIAS [Thu, 23 Jul 2015 07:43:44 +0000]
fix isRelease and isDebug, do not take of position of 'release' in [a,b] = getversion() returns

Change-Id: I7d8dd49c2ed60133acc473beaf9bcd0379a945ad

4 years agofix ltitr buffer overflow 83/16883/3
Antoine ELIAS [Thu, 23 Jul 2015 09:34:41 +0000]
fix ltitr buffer overflow

exec SCI/modules/signal_processing/tests/unit_tests/filter.tst

Change-Id: I2e61fdaa40a433967189211511269d38b0486a20

4 years agoMigrate to JDK 1.8 65/16865/6
Vincent COUVERT [Tue, 21 Jul 2015 08:43:31 +0000]
Migrate to JDK 1.8

* JDK no more embedded in prerequirements (must be installed on compiling machine)
* Move scirenderer to the shared build system

Change-Id: I6e2f54bba6c05faee9afa224799afe70a7be34e3

4 years agofix comparison between sparse and sparse or sparsebool and sparsebool ( intel compile... 78/16878/3
Antoine ELIAS [Wed, 22 Jul 2015 16:22:04 +0000]
fix comparison between sparse and sparse or sparsebool and sparsebool ( intel compiler trouble, again ... )

sparse(1) == sparse(1)
sparse(1) == sparse(ones(5,5))
sparse(ones(5,5)) == sparse(1)
sparse(ones(5,5)) == sparse(ones(5,5))

test_run ast comparisonequal
test_run ast comparisonnonequal

Change-Id: I4d0d0c4ce182d8bf94f3ccddca5d2137fce10e76