4 years agoRename HDF5 functions: 33/16833/3
Antoine ELIAS [Thu, 9 Jul 2015 15:08:59 +0000]
Rename HDF5 functions:

export_to_hdf5 -> hdf5_save
import_from_hdf5 -> hdf5_load
is_hdf5_file -> hdf5_is_file
listvar_in_hdf5 -> hdf5_listvar

Mapping:

load -> hdf5_load
save -> hdf5_save
listvarinfile -> hdf5_listvar

Change-Id: I353625922471ac29583dea9cd3bc1737792e11b8

4 years agohdf5 load process 22/16822/5
Antoine ELIAS [Wed, 8 Jul 2015 12:07:27 +0000]
hdf5 load process

change in loading process
before was:
 -> load
 -> %_sodload
 -> import_hdf5_file
 -> post process in %_sodload

now is, for version < 3 :
 -> load ( mapped on import_from_hdf5_v1/v2 )
 -> %_sodload for post processing

and for version == 3:
 -> load ( mapped on import_from_hdf5_v3 )

%_sodload will be called only for hdf5 file version < 3 (before scilab 6)

Change-Id: Ie3efc4bcf499d7372111008bed55ddef09cbf036

4 years agoFix Mac OS X compilation using clang 30/16830/1
Vincent COUVERT [Thu, 9 Jul 2015 13:06:17 +0000]
Fix Mac OS X compilation using clang

Change-Id: I8978f578dbe962d6b1fe5476235c389b7c1f1f7e

4 years agoFix test after https://codereview.scilab.org/#/c/16820/ (export_to_hdf5 no more retur... 26/16826/2
Vincent COUVERT [Thu, 9 Jul 2015 09:31:04 +0000]
Fix test after https://codereview.scilab.org/#/c/16820/ (export_to_hdf5 no more returns a boolean value)

Change-Id: Ie9f4cf671c5fd25aaa404fb6788346ed11ac8e94

4 years agocall stack error fixed about negativ line. 28/16828/2
Cedric Delamarre [Thu, 9 Jul 2015 11:45:35 +0000]
call stack error fixed about negativ line.

remove file : modules/scicos/macros/scicos_scicos/%diagram_load.sci
then make macros,
then execute in scilab :

loadXcosLibs();
a = scicos_diagram();
save TMPDIR/diagram.sod a;
clear a;
load TMPDIR/diagram.sod

Change-Id: I3f839e2cc76aef63b929b407341a5c0c1915e022

4 years agoFix Windows binary versions after https://codereview.scilab.org/#/c/16810/ 29/16829/1
Vincent COUVERT [Thu, 9 Jul 2015 13:03:47 +0000]
Fix Windows binary versions after https://codereview.scilab.org/#/c/16810/

Change-Id: Ic6a9e1fc2d133b61c444ed6d66267f308ab20216

4 years ago[cleanup] stackxxx.h removed 10/16810/9
Cedric Delamarre [Tue, 7 Jul 2015 10:30:17 +0000]
[cleanup] stackxxx.h removed

Change-Id: Ia407f936341650657831248fd30db3f0b08104a8

4 years agoFix Mac OS X + gcc 4.8.2 compilation after https://codereview.scilab.org/#/c/16811/ 23/16823/1
Vincent COUVERT [Wed, 8 Jul 2015 14:52:32 +0000]
Fix Mac OS X + gcc 4.8.2 compilation after https://codereview.scilab.org/#/c/16811/

Change-Id: I389285869f7aca786b2a299562fe8fe993c08f62

4 years agoHDF5 improvement 20/16820/6
Antoine ELIAS [Wed, 8 Jul 2015 09:31:50 +0000]
HDF5 improvement

 * Add hdf5_file_version function

 * Add management of usertype (save via new save function in usertype or overload / load via overload)
{t/m}list can be saved and loaded with Undefined fields -> bug 9621

 * Add save overload for scicos UserType (from https://codereview.scilab.org/#/c/16765/)
 * Add load overload for scicos UserType

Change-Id: I686356f590ad7e80610fde08f7e1b3b6557192b7

4 years agoThese files no more exist after https://codereview.scilab.org/#/c/16814/ 16/16816/1
Vincent COUVERT [Wed, 8 Jul 2015 06:40:11 +0000]
These files no more exist after https://codereview.scilab.org/#/c/16814/

Change-Id: Idd5f4293705bf1f9cfb3d9fa5767d4ad4584ce68

4 years agoAdd non-regression test for bug #10773 (no changes item added since never released) 15/16815/1
Vincent COUVERT [Tue, 7 Jul 2015 15:21:41 +0000]
Add non-regression test for bug #10773 (no changes item added since never released)

Change-Id: I5e53948b542161b49b801183da13ed465be1da1f

4 years agoupdate windows solution and remove functions vcxproj 14/16814/2
Antoine ELIAS [Tue, 7 Jul 2015 14:55:18 +0000]
update windows solution and remove functions vcxproj

Change-Id: I311c4b2eb8c9aee87c37e2b217d5f0dd9f4aa718

4 years agodisplay can be wrong : 11/16811/3
Antoine ELIAS [Tue, 7 Jul 2015 11:59:32 +0000]
display can be wrong :

16278*12286
 ans  =

    1.1000D+08

Change-Id: I26e547124b7607be11275d389ce215dd0829a0d3

4 years ago* Bug #13941 fixed - Internal timestamps of HDF5 files prevented having a fixed 13/16813/1
Vincent COUVERT [Tue, 7 Jul 2015 13:58:40 +0000]
* Bug #13941 fixed - Internal timestamps of HDF5 files prevented having a fixed
                     hash for an unvarying set of saved objects.

This bug was fixed by https://codereview.scilab.org/#/c/16676/.

Ref file added for binary_bit-for-bit.tst (missing in previous commit).

Change-Id: Iee58b8f91190482127dc982a5fe34b00dd9ec9e9

4 years agorewrite import and export HDF5 gateways in c++ 76/16676/17
Antoine ELIAS [Thu, 21 May 2015 15:02:23 +0000]
rewrite import and export HDF5 gateways in c++

Change-Id: I8d7ff7f45730d4c23d65ebbb83b3c6cb37612f8a

4 years agomprintf : fix trouble with non use arguments 12/16812/3
Antoine ELIAS [Tue, 7 Jul 2015 12:18:50 +0000]
mprintf : fix trouble with non use arguments

Change-Id: Iec810f925c4f78e4b98744e5cd0e1e820c4058b5

4 years agoMerge CHANGES_SAS in CHANGES_6.0.X 07/16807/1
Vincent COUVERT [Tue, 7 Jul 2015 09:00:16 +0000]
Merge CHANGES_SAS in CHANGES_6.0.X

Change-Id: Ide2f259bc06980534b938446273ab7392cf8812b

4 years ago* extract_help_examples removed. (Undocumented and baed on old help format). 06/16806/1
Vincent COUVERT [Tue, 7 Jul 2015 08:16:01 +0000]
* extract_help_examples removed. (Undocumented and baed on old help format).

Change-Id: Ie0449384ae79e8b39b9aa2e5bbd900882bc231c5

4 years ago[cleanup] all gw_... .c removed 97/16797/5
Cedric Delamarre [Mon, 6 Jul 2015 13:08:52 +0000]
[cleanup] all gw_... .c removed

Change-Id: Iabcadf2b4b59e1af7117be2d259c054ab4159c92

4 years agoFix a typo in previous commit 02/16802/1
Vincent COUVERT [Mon, 6 Jul 2015 14:20:29 +0000]
Fix a typo in previous commit

Change-Id: I9fc02c4689bc5e3809befce16ca8c67f8f880961

4 years agoData structures 01/16801/1
Vincent COUVERT [Mon, 6 Jul 2015 14:16:30 +0000]
Data structures
================

* cells and structs are not native types, hence improving performances.

* structs field names are now ordered alphabaticaly:
   - display uses this new order,
   - fieldnames function returns a sorted vector of strings.

Change-Id: I9a907c0340e67018782e5dddcd5cdb2133827799

4 years ago* msprintf no more returns an error message when there are too many input argument... 00/16800/1
Vincent COUVERT [Mon, 6 Jul 2015 13:35:39 +0000]
* msprintf no more returns an error message when there are too many input argument (more values that format needs).

Change-Id: I7778d15916663fb02eb9b7408359d357d5569659

4 years agoFix ref after https://codereview.scilab.org/#/c/16763/ 99/16799/1
Vincent COUVERT [Mon, 6 Jul 2015 13:30:58 +0000]
Fix ref after https://codereview.scilab.org/#/c/16763/

Change-Id: Idba25e91f75f34c7c6a5b7453ae8dc5d33178278

4 years agoReplace fun2string by tree2code(macr2tree()) after fun2string removal (https://codere... 98/16798/1
Vincent COUVERT [Mon, 6 Jul 2015 13:10:24 +0000]
Replace fun2string by tree2code(macr2tree()) after fun2string removal (https://codereview.scilab.org/#/c/16795/).
Test: test_run core bug_8531

Change-Id: I70fde009b552172e0f12cde8f69e6b20ec65de93

4 years ago* while/else control instruction is no more supported. 96/16796/1
Vincent COUVERT [Mon, 6 Jul 2015 12:51:24 +0000]
* while/else control instruction is no more supported.

Change-Id: I77e8ed60d90ef4607285e7d8295f106f7105245c

4 years ago* fun2string removed. 95/16795/1
Vincent COUVERT [Mon, 6 Jul 2015 12:26:23 +0000]
* fun2string removed.

Change-Id: I643a6dfebc6571e1bac92d6a2d1f9a04d3fa3258

4 years ago* macr2lst removed. 94/16794/1
Vincent COUVERT [Mon, 6 Jul 2015 12:11:04 +0000]
* macr2lst removed.

Change-Id: I06cf5b60c1de81b7b2005bdfe9133a912a5a9839

4 years ago* -mem option removed (used to set stacksize at startup). 92/16792/1
Vincent COUVERT [Mon, 6 Jul 2015 11:43:02 +0000]
* -mem option removed (used to set stacksize at startup).

Change-Id: I85f29ecbd0b762c0890ad4e937fb36a74a05ddf0

4 years ago* stacksize removed. 91/16791/3
Vincent COUVERT [Mon, 6 Jul 2015 10:23:11 +0000]
* stacksize removed.

Change-Id: I6ff5ff935ea07967fb4c6c8a42055956baa80485

4 years agowindows : update ast vcxproj 90/16790/2
Antoine ELIAS [Mon, 6 Jul 2015 09:52:40 +0000]
windows : update ast vcxproj

Change-Id: I3e63adf9049bacd6db0857e344b2d653e97b33b3

4 years agoImprove performance on structs 85/16785/2
Calixte DENIZET [Sat, 4 Jul 2015 13:44:37 +0000]
Improve performance on structs
s=struct();
tic();for i=1:10000,s(string(i))=i;end;toc()
tic();for i=1:10000,s(string(i))=i;end;toc()
x=0;tic();for i=1:10000,x=x+getfield(i+2,s);end;toc()

Change-Id: I95aab823a48b981b0e97e816e8ad638a3609457b

4 years agocode2str & str2code removed. 89/16789/1
Vincent COUVERT [Mon, 6 Jul 2015 09:10:49 +0000]
code2str & str2code removed.

Change-Id: I8892a6f3db3bfcece63a94bcd5bb3c4bb01eb4ec

4 years agobug 13972 : use of wildcard '*' in printf expressions was not managed 84/16784/5
Antoine ELIAS [Fri, 3 Jul 2015 14:48:49 +0000]
bug 13972 : use of wildcard '*' in printf expressions was not managed

Change-Id: Ief3777eb9983969dd5762844f0732655f6ed2f74

4 years agogrand fixed about setsd mode 87/16787/2
Cedric Delamarre [Mon, 6 Jul 2015 07:45:15 +0000]
grand fixed about setsd mode

Change-Id: I19326c80f5c81e128c8f75dda8369eeb319cf2a7

4 years agoFix Linux compilation after https://codereview.scilab.org/#/c/16782/ 86/16786/1
Vincent COUVERT [Mon, 6 Jul 2015 07:54:52 +0000]
Fix Linux compilation after https://codereview.scilab.org/#/c/16782/

Change-Id: Iaaf33fcfc3973b00e6f5fbe996fe358c2f5ce2ab

4 years agovstk_, stack_ and showstack_ removed 82/16782/4
Cedric Delamarre [Fri, 3 Jul 2015 14:25:51 +0000]
vstk_, stack_ and showstack_ removed

Change-Id: I2d16c631fe29ba4b785026be3e419d561c7e0142

4 years agointersci_ removed 78/16778/4
Cedric Delamarre [Fri, 3 Jul 2015 12:18:18 +0000]
intersci_ removed

Change-Id: Idb54d73af0b0bf26fb4c06618e23dbc5b09d2e8d

4 years agoAnalysis: workaround for C++11 bug with Intel compiler 83/16783/1
Calixte DENIZET [Fri, 3 Jul 2015 14:39:56 +0000]
Analysis: workaround for C++11 bug with Intel compiler

Change-Id: I774c99b845f341d0642097bdc882b5df0969f932

4 years agoFixes for genlib function: 63/16763/3
Vincent COUVERT [Thu, 2 Jul 2015 13:31:51 +0000]
Fixes for genlib function:
 - Display errors messages in case of error
 - Manage default value for path (2nd input argument)
 - Display parser error
 - Stop compilation on error
Tests:
test_run functions bug_12593
test_run functions bug_9059
test_run functions bug_7779

Change-Id: Ifc645cab87cc94925268694fac89dc251d016bf7

4 years agoRemove references to old removed intersci module 77/16777/1
Vincent COUVERT [Fri, 3 Jul 2015 11:53:46 +0000]
Remove references to old removed intersci module

Change-Id: Ie3f7887322176cd3f81f3ce34cbc088a45b7605d

4 years ago* gstacksize removed. 75/16775/2
Vincent COUVERT [Fri, 3 Jul 2015 10:11:29 +0000]
* gstacksize removed.

Change-Id: Ie28e0d5db57c43671906f9f172df18486193cfe7

4 years agowrite function fixed 73/16773/5
Cedric Delamarre [Fri, 3 Jul 2015 08:46:39 +0000]
write function fixed

* test updated about Windows/Linux diff
* function fortran fixed about buffer displayed
* file opened must be closed when error occured

test_run io write

Change-Id: I83390fb680ba8b45eff1efdcfcd67ff38775545c

4 years ago* getvariablesonstack removed. 64/16764/2
Vincent COUVERT [Thu, 2 Jul 2015 13:56:39 +0000]
* getvariablesonstack removed.

Change-Id: I2ede53c26a767c37bfe2595cb6149727832ccfbf

4 years agoMerge remote-tracking branch 'origin/master' into YaSp 72/16772/1
Vincent COUVERT [Fri, 3 Jul 2015 08:35:44 +0000]
Merge remote-tracking branch 'origin/master' into YaSp

Change-Id: Iecc91599ef254f0bb07c98069640299ce7c650ac

4 years agoMerge remote-tracking branch 'origin/5.5' 71/16771/1
Vincent COUVERT [Fri, 3 Jul 2015 08:31:39 +0000]
Merge remote-tracking branch 'origin/5.5'

Change-Id: I2b0118b704748131e154ceb15e37145f585e04bc

4 years agoRemove Mac OS X 10.5 parts (Scilab 5.5.2 was already compiled with --with-min-macosx... 70/16770/1
Vincent COUVERT [Fri, 3 Jul 2015 08:29:26 +0000]
Remove Mac OS X 10.5 parts (Scilab 5.5.2 was already compiled with --with-min-macosx-version=10.6)

Change-Id: Id9cbbfb4b4d4e7421c2e3b90666494e901cb4cc9

4 years agoUpdate localization templates 69/16769/1
Vincent COUVERT [Fri, 3 Jul 2015 08:14:59 +0000]
Update localization templates

Change-Id: I6949d999c5bc5759fb5ac6bb82743dbc4a8763bf

4 years ago* Bug #8990 fixed - A zoom_auto feature was missing on the plot toolbar. 74/16674/4
Clément DAVID [Thu, 11 Jun 2015 13:08:56 +0000]
* Bug #8990 fixed - A zoom_auto feature was missing on the plot toolbar.

This commit implement a zoom_auto (similar to zoom_rect) that handle
both zoom_box and data_bounds to try to make visible all the objects on
the current figure.

Change-Id: I28e69850be1d57b2d20d7bb759299ad84eec62d2

4 years agoScicos blocks: try to clarify a^u and u^a blocks 11/16611/2
Clément DAVID [Mon, 8 Jun 2015 12:45:51 +0000]
Scicos blocks: try to clarify a^u and u^a blocks

Change-Id: I08f4cfa2b52abb02374dd3caf4394e93ca77f660

4 years ago* Bug #13925 fixed - SciNotes used the wrong paired bracket highlight style. 10/16610/2
Clément DAVID [Mon, 8 Jun 2015 10:13:51 +0000]
* Bug #13925 fixed - SciNotes used the wrong paired bracket highlight style.

Change-Id: I20cde5344a0b022969638cbc210a3f4c4464e1ad

4 years agoXcos MVC: log adapters errors using the LoggerView 46/15846/5
Clément DAVID [Tue, 20 Jan 2015 16:44:34 +0000]
Xcos MVC: log adapters errors using the LoggerView

This commit will display more readable error message while trying to
assign invalid values on the MVC Adapters.

Change-Id: I9e02a02ffeba53a50f73e0e237e6252629b73a28

4 years agoInput argument cloned in sci_freq.cpp. 68/16768/5
Adeline CARNIS [Thu, 2 Jul 2015 15:02:35 +0000]
Input argument cloned in sci_freq.cpp.

test_run('cacsd', 'freqplots')

Change-Id: I60d25a9a60e280dc9e937cc21f30fe90c24716d4

4 years agoXcos MVC: allow to pass Links as mlists 30/16730/2
Paul Bignier [Thu, 25 Jun 2015 15:15:23 +0000]
Xcos MVC: allow to pass Links as mlists

Change-Id: I66bb2af625f132d34fd68d978a7d4e33ce7bf8ec

4 years agoMerge remote-tracking branch 'origin/master' into YaSp 67/16767/1
Vincent COUVERT [Thu, 2 Jul 2015 14:45:26 +0000]
Merge remote-tracking branch 'origin/master' into YaSp

Conflicts:
scilab/modules/graphics/src/c/getHandleProperty/get_mark_background_property.c
scilab/modules/graphics/src/c/getHandleProperty/get_mark_foreground_property.c
scilab/modules/graphics/src/c/getHandleProperty/get_mark_size_property.c

Change-Id: I3fc26719ceb1ac1671cb986b9a7bc10a853503e3

4 years agoBetter fix for https://codereview.scilab.org/#/c/16760/ 66/16766/1
Vincent COUVERT [Thu, 2 Jul 2015 14:38:12 +0000]
Better fix for https://codereview.scilab.org/#/c/16760/
Test: test_run fileio bug_4339

Change-Id: Iff4ae6fa2326f72d66c2092c3bb6206009ac0fb3

4 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

4 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

4 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

4 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

Conflicts:
scilab/modules/graphics/src/c/getHandleProperty/get_mark_background_property.c
scilab/modules/graphics/src/c/getHandleProperty/get_mark_foreground_property.c
scilab/modules/graphics/src/c/getHandleProperty/get_mark_size_property.c

Change-Id: I04943f088b436f2a642a7164e361f92021e1d528

4 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

4 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

Conflicts:
scilab/modules/graphics/graphics.vcxproj
scilab/modules/graphics/graphics.vcxproj.filters
scilab/modules/graphics/src/c/getHandleProperty/getHandleProperty.h
scilab/modules/graphics/src/c/getHandleProperty/get_colors_property.c
scilab/modules/graphics/src/c/getHandleProperty/get_mark_background_property.c
scilab/modules/graphics/src/c/getHandleProperty/get_mark_foreground_property.c
scilab/modules/graphics/src/c/getHandleProperty/get_mark_size_property.c
scilab/modules/graphics/src/c/getHandleProperty/setHandleProperty.h
scilab/modules/graphics/src/c/getHandleProperty/set_colors_property.c

Change-Id: Ibfa0e2d39a96d7929c22a6354976e542fd955085

4 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

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

Change-Id: I1d8c1d893fc5e3f03ec027d2f90164f7051f6ca5

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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.
execstr(["a=1;";"a(3)"])

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

Change-Id: Ib55f1b5c1ef3e66385033c676445b459c0c1e46b

4 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

4 years agoWrong localization for help pages for Java from Scilab 36/16736/1
Stanislav KROTER [Mon, 29 Jun 2015 12:01:11 +0000]
Wrong localization for help pages for Java from Scilab

Change-Id: Ia41924e387b380bcb3461393962db009bbf04d51

4 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

4 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

4 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

4 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

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

Change-Id: Icdce5c5c65edbff310bd0f4c6cdd764e322e6600

4 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

4 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

4 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

4 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"]
 test($+1-4)
 test($+2-1)

Change-Id: I23a389d0885638cee622d87ce77a31705baa32a4

4 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

4 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

4 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

4 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

4 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
a.{tabulation}
M.{tabulation}

Change-Id: I4fc78b84c836b07db7a3c07c008416d32eb221a9

4 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

4 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:
test_run functions bug_731
test_run m2sci bug_1124
test_run m2sci bug_683
test_run m2sci bug_943

Change-Id: Ie87f4c4dca4d3cd2f25f5a6a38abf53d58deb253

4 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

4 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

4 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

4 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

4 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
Tests:
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