3 years agoMerge remote-tracking branch 'origin/master' into jit 73/17573/2 jit
Antoine ELIAS [Mon, 14 Dec 2015 14:47:25 +0000]
Merge remote-tracking branch 'origin/master' into jit

Conflicts:
scilab/Makefile.in
scilab/configure
scilab/modules/ast/Makefile.am
scilab/modules/ast/Makefile.in
scilab/modules/ast/ast.vcxproj
scilab/modules/ast/ast.vcxproj.filters
scilab/modules/ast/includes/types/double.hxx
scilab/modules/ast/includes/types/int.hxx
scilab/modules/ast/src/cpp/ast/run_CallExp.hpp
scilab/modules/ast/src/cpp/ast/runvisitor.cpp
scilab/modules/functions/Makefile.am

Change-Id: Ib3b47ed4f7e38e870012f1e5e0ac4966d415076d

3 years agoAnalysis: Add DollarInfo, VarPromotion, and move var clone at the right place when... 72/17572/2
Calixte DENIZET [Mon, 14 Dec 2015 13:17:56 +0000]
Analysis: Add DollarInfo, VarPromotion, and move var clone at the right place when it occured in a loop

Change-Id: Ie1449ef530f9369f3076d3b6cac2a1193126fffb

3 years agoXcos: load/save should preserve UID values 64/17564/2
Clément DAVID [Thu, 10 Dec 2015 05:45:07 +0000]
Xcos: load/save should preserve UID values

Change-Id: Ib0deb52dc244cb915f7813aa8d28ea12b96e660d

3 years agoXcos: ZCOS should not store the time 63/17563/2
Clément DAVID [Wed, 9 Dec 2015 15:32:22 +0000]
Xcos: ZCOS should not store the time

Change-Id: I9da0a198a1924ce6f0d414b9500c3760958069d4

3 years agoXcos: put ANNOTATION at the end on sortAndFill 62/17562/2
Clément DAVID [Thu, 10 Dec 2015 06:28:12 +0000]
Xcos: put ANNOTATION at the end on sortAndFill

On saved files, the objects are sorted per kind. It is much more easier to
get the blocks first while debugging content. As the sorting is only
performed on the enum value, moving it will perform the job.

On the Xcos GUI and as the ANNOTATION will be decoded after the block, they
will appears "on top" of the BLOCK and LINK objects which is expected.

Change-Id: I966d4229e79f44021c416334c0105b30f894a7cb

3 years agoXcos load: do not duplicate children 56/17556/3
Clément DAVID [Wed, 9 Dec 2015 10:13:13 +0000]
Xcos load: do not duplicate children

Change-Id: I169e431de5e1cad290f31203512e7a72bb53ae84

3 years agoXcos GUI: update the Tab title on save 55/17555/3
Clément DAVID [Wed, 9 Dec 2015 10:23:35 +0000]
Xcos GUI: update the Tab title on save

Change-Id: Id49fc6e63e503feffc53411c309025a7eb5b3fbe

3 years agoXcos GUI: implement "Region to Superblock" 50/17550/4
Clément DAVID [Tue, 8 Dec 2015 15:35:01 +0000]
Xcos GUI: implement "Region to Superblock"

Change-Id: I4dbd52ade5f4f945c11d82baeaf481f2e8cc9a4f

3 years agoScicos: fix the "" + [] and 1 + [] 47/17547/4
Clément DAVID [Mon, 7 Dec 2015 12:33:07 +0000]
Scicos: fix the "" + [] and 1 + []

Change-Id: Ifa4e6b58fac424d79f7b95555f50d0bf8e3b549a

3 years agoNew C API for Scilab gateways (once again ...) 25/17425/23
Antoine ELIAS [Tue, 3 Nov 2015 22:55:30 +0000]
New C API for Scilab gateways (once again ...)

2 modes:
  - "safe" version, good for development phase
  - "unsafe" version, remove checks in API for better performance and nice
    crashes

Standard calls use "safe" version, to use "unsafe" version
define __API_SCILAB_UNSAFE__ before include of "api_scilab.h"

Done:
  - common, double, string, int, struct, cell, polynomial,
    boolean, (_/t/m)list, graphic handle, optional.
  - update dynamic_link gateway builder to link the new interface
  - add overload and call function capability.
  - add somes tests in api_scilab
  - add some help pages ( double, string, interger, struct, boolean, poly,
    cell, list, tlist, mlist, pointer )
    .
Not done yet:
  - sparse.
  - lot of tests in both mode.
  - help pages ( sparse )
  - add some helpers on configvariable for exemple ( getMode,
    getScilabMode, getOS, getWarningMode, getSCI, getTMPDIR, getSCIHOME, ...
    )

Change-Id: I15b9912842326b41353bd002b8876cf7246a4884

3 years agoTest corrections on module for operation+ and operation- with empty matrix 61/17561/7
Pierre-Aime Agnel [Thu, 10 Dec 2015 17:44:29 +0000]
Test corrections on module for operation+ and operation- with empty matrix

action_binding to polynomials
grep for WARNING_EMPTY_OPS on test files to remove warning("off") once the
warning on operation+ and operation- are removed from scilab
without core

Change-Id: I8df147f450e8c173a5c0fb96f8d551d318cb3d77

3 years agoBug 14193 fixed: Problem with matrix defined in a matrix of structs 60/17560/1
Calixte DENIZET [Thu, 10 Dec 2015 13:40:10 +0000]
Bug 14193 fixed: Problem with matrix defined in a matrix of structs

Change-Id: I6e7b99cdcc646df832b07afc1b9889957b61201a

3 years agotypo fix 54/17554/1
Antoine ELIAS [Wed, 9 Dec 2015 13:32:35 +0000]
typo fix

Change-Id: I2b30402aa5fc73f002d8d7877e18d807e424648e

3 years agoXcos save: generate uniques but predictables UIDs 49/17549/3
Clément DAVID [Tue, 8 Dec 2015 09:14:03 +0000]
Xcos save: generate uniques but predictables UIDs

This commit allow reproductible edit / save cycles without dummy
modification. This allow the use of a VCS to track modification.

Change-Id: I5edb08038e3b08cb7e996e14a9d65d4195d4166e

3 years agoXcos GUI: implement SuperBlock masks 40/17540/2
Clément DAVID [Fri, 4 Dec 2015 08:36:39 +0000]
Xcos GUI: implement SuperBlock masks

Change-Id: I3c488624aadc2ca4c4767d6abfe4a8938c080082

3 years agoreturn(x) without assignation is not a correct expression 53/17553/2
Antoine ELIAS [Wed, 9 Dec 2015 10:07:54 +0000]
return(x) without assignation is not a correct expression

Change-Id: I05a52b7b029bd916bc4788c0f9d203323c4fefa3

3 years agofixed the internal commit hook to work on Mac also. 52/17552/3
Francois Granade [Tue, 8 Dec 2015 18:31:20 +0000]
fixed the internal commit hook to work on Mac also.

mktemp takes different argument on Linux and Darwin (BSD)

Change-Id: I341532fae8331d9f37ea769bfa6a03eb5e8b61fc

3 years agoFix for bug 14290: never set java.awt.headless to true on Mac 51/17551/1
Francois Granade [Tue, 8 Dec 2015 18:23:49 +0000]
Fix for bug 14290: never set java.awt.headless to true on Mac

Change-Id: If20cd6ef45a51d57148233b72022a389616fabb1

3 years agoXcos GUI: implement modelica initialization 43/17543/3
Clément DAVID [Fri, 4 Dec 2015 08:52:27 +0000]
Xcos GUI: implement modelica initialization

Change-Id: I50b7c12801850f70e1d5ad51e79097e297668726

3 years agoXcos GUI: cleanup Java code 96/17496/4
Paul Bignier [Tue, 24 Nov 2015 15:28:45 +0000]
Xcos GUI: cleanup Java code

 * Also fixed a typo in the jni file
 * Used JavaContoller's lookup_view instead of Controller's look_for_view in ContextUpdate.java

Change-Id: I5a8ab25e884a10503c0ec41c305b8fec1f6797fa

3 years agoXcos MVC: update tests and log DEBUG_LEVEL 16/17516/2
Paul Bignier [Mon, 30 Nov 2015 16:10:21 +0000]
Xcos MVC: update tests and log DEBUG_LEVEL

 * Added DESCRIPTION and DEBUG_LEVEL properties to the tests ref files

Change-Id: Idd2ec469c25ec137a5a4cfb9bbec8dd73e32f130

3 years agoXcos MVC: restore message printing 07/17507/4
Paul Bignier [Fri, 27 Nov 2015 16:15:12 +0000]
Xcos MVC: restore message printing

 * Locking the model only when consulting/editing it
 * https://codereview.scilab.org/#/c/17500 introduced regression (run Scicos tests)

Change-Id: Ib95aae0e7266a24004ffbe0d9db518e660296e93

4 years agofix find with 2 args after https://codereview.scilab.org/#/c/17216/ 44/17544/3
Antoine ELIAS [Fri, 4 Dec 2015 12:37:45 +0000]
fix find with 2 args after https://codereview.scilab.org/#/c/17216/

Change-Id: Ie94e400e4fe2db3c4f3401f734a3b51b7d33753b

4 years agobug 13918: Unmanaged operations on hypermatrix did not call overload functions. 78/17478/2
Antoine ELIAS [Thu, 19 Nov 2015 18:37:13 +0000]
bug 13918: Unmanaged operations on hypermatrix did not call overload functions.

Change-Id: Iedcdf178b749d0663228a476867aa2546d201dc1

4 years agoEmpty matrices operation: added a warning to + and - operations 15/17515/9
Pierre-Aime Agnel [Mon, 30 Nov 2015 15:52:07 +0000]
Empty matrices operation: added a warning to + and - operations

Added a warning flag to stop execution and thus retrieve the lines where warning occurred

Change-Id: Ied0b82272758e756d842abca4834246f8a9e0495

4 years agodebugger: 75/17475/2
Antoine ELIAS [Thu, 19 Nov 2015 11:18:21 +0000]
debugger:

- avoid add duplicate breakpoints.
- if disp command failed, error is correctly displayed in console.
- update help pages.

Change-Id: I58e37f2d06c4da830d7da5df7b26ab09b5831741

4 years ago* Bug #14219 fixed - As bug #14203, improve some error messages, some help pages... 24/17424/2
Charlotte HECQUET [Tue, 3 Nov 2015 15:47:12 +0000]
* Bug #14219 fixed - As bug #14203, improve some error messages, some help pages and some comments.

Change-Id: I75d7251c729cd0a295625ff9a2af398e2c439981

4 years agoGit: ignore NetBeans IDE generated project 17/17517/3
Clément DAVID [Mon, 30 Nov 2015 16:33:33 +0000]
Git: ignore NetBeans IDE generated project

Change-Id: I843d3f980e7ae2e22ca3cfe4cab648a217536d07

4 years agoXcos GUI: validate the context after edit 41/17541/3
Clément DAVID [Fri, 4 Dec 2015 08:59:21 +0000]
Xcos GUI: validate the context after edit

Change-Id: Ia3787251ab46f9b81a8fa1311c0aa3f6f8121b50

4 years agoXcos GUI: snap split blocks on the grid 42/17542/2
Clément DAVID [Fri, 4 Dec 2015 09:52:35 +0000]
Xcos GUI: snap split blocks on the grid

Change-Id: Ib67c58d4da2f4cc953b7ab15f881ced1050a6fc3

4 years ago* Bug #14228 fixed - Setting rotation_angles property to a matrix of any size did... 48/17448/2
Charlotte HECQUET [Thu, 12 Nov 2015 15:55:55 +0000]
* Bug #14228 fixed - Setting rotation_angles property to a matrix of any size did not return error message.

Change-Id: I2d0b64ff019ae099e8cb0f9d2cddb148bf0e45b7

4 years agoXcos GUI: fix some graphic artefact 39/17539/2
Clément DAVID [Thu, 3 Dec 2015 16:47:35 +0000]
Xcos GUI: fix some graphic artefact

 * Handle ANNOTATION value on loading
 * Implement a convertion for custom exprs (used in block labels)

Change-Id: If7e15b326a61740b032d2c438b9cf417408af3b4

4 years ago* Bug #14043 fixed - Examples of api Scilab help pages had to be updated (pvApiCtx... 20/17420/2
Charlotte HECQUET [Mon, 2 Nov 2015 14:18:45 +0000]
* Bug #14043 fixed - Examples of api Scilab help pages had to be updated (pvApiCtx in gateway prototypes).

Change-Id: I9b6dec63d7258d633a7b2f3bc4d5a1c80fcd5c65

4 years agoXcos: de-duplicate ports on loading and DnD 13/17513/6
Clément DAVID [Mon, 30 Nov 2015 10:27:05 +0000]
Xcos: de-duplicate ports on loading and DnD

To avoid duplication of ports we have to implement JGraphX `removeFromParent`
method. This method will be used to remove before add any XcosCell.

Change-Id: I12cd37971f7c67112d705aff59415a19a5328767

4 years agoXcos GUI: restore some graphical helpers 33/17533/2
Clément DAVID [Wed, 2 Dec 2015 16:50:08 +0000]
Xcos GUI: restore some graphical helpers

 * restore the "*" visual on modification
 * render the exprs accordingly to "displayedLabel"

Change-Id: I7edbf72d848494b23eaad93ee7c5afeee749467a

4 years agofix windows installer generation 36/17536/1
Antoine ELIAS [Thu, 3 Dec 2015 13:42:39 +0000]
fix windows installer generation

Change-Id: I19cc3416e6a4d01edc7eb1fb7bd6ed14e1d5d62b

4 years agoDoc: handle anchor tag and check for doubloons 24/17524/3
Calixte DENIZET [Wed, 2 Dec 2015 11:22:48 +0000]
Doc: handle anchor tag and check for doubloons

Change-Id: I3f58482e2f4373557bfab32f4e97344dc8eea9c4

4 years agoXcos help: fix some duplicated id 25/17525/3
Clément DAVID [Wed, 2 Dec 2015 11:30:39 +0000]
Xcos help: fix some duplicated id

Change-Id: I491735caef844f2bb238cd49c376f5438aa51539

4 years agoXcos: link Port as well as Link 32/17532/1
Paul Bignier [Wed, 2 Dec 2015 16:33:52 +0000]
Xcos: link Port as well as Link

 * tree_show(scs_m) showed only zeroes in Block.graphics.pin, pout, pein & peout

Change-Id: Ic543adfc8906efb7db44e2358031e7ec439a1dda

4 years agoXcos load: in mixed diagram case only decode the children once 31/17531/1
Clément DAVID [Wed, 2 Dec 2015 16:21:50 +0000]
Xcos load: in mixed diagram case only decode the children once

Change-Id: Ie83f13b4c818ad63b5c5f00639f5dbc14170cc7f

4 years agoXcos writer: add the ordering attributes on the ports 28/17528/2
Clément DAVID [Wed, 2 Dec 2015 13:06:01 +0000]
Xcos writer: add the ordering attributes on the ports

Change-Id: Ic5a77ac502289eeec5dda6e5013d95f20301a3eb

4 years agoXcos: fix the tree_show calls 27/17527/1
Clément DAVID [Mon, 30 Nov 2015 17:22:49 +0000]
Xcos: fix the tree_show calls

This commit also re-introduce the tree_show(`scs_m`) browser view as the
MVC browser is not ready yet.

Change-Id: If351ce5c105f943a7da1b4e790fb0555dc8309d3

4 years agoLinux desktop: update appdata for gnome-software 26/17526/1
Clément DAVID [Wed, 2 Dec 2015 07:16:59 +0000]
Linux desktop: update appdata for gnome-software

Change-Id: Ie7f2f99c7f0788b7adc618da1219a0b483fe5148

4 years agoupdate classpath following update of thirdparty 18/17518/1
Antoine ELIAS [Tue, 1 Dec 2015 15:02:11 +0000]
update classpath following update of thirdparty

Change-Id: Icf97c6c024aff68539b765263367d92d362c837d

4 years ago* Apache xmlgraphics stack upgraded to the latest versions : 81/17281/3
Clément DAVID [Mon, 5 Oct 2015 08:12:39 +0000]
* Apache xmlgraphics stack upgraded to the latest versions :

  - xmlgraphics-commons 2.0.1
  - Batik 1.8
  - FOP 2.0

Change-Id: I29c091f9f779823a5a6a0a45869532bd7ca33359

4 years agoXcos java tests: update them for Xcos6 60/17360/3
Clément DAVID [Wed, 21 Oct 2015 08:42:57 +0000]
Xcos java tests: update them for Xcos6

Change-Id: Ia462d9e02dc4e196321650c2f8fc3ac871eeac97

4 years agoXcos help: re-generate images 12/17512/3
Clément DAVID [Mon, 30 Nov 2015 08:33:43 +0000]
Xcos help: re-generate images

Change-Id: Ide07ca70a88d303aeb8e641a4b1da71376db2ec7

4 years agoXcos: reduce the lag at the first DnD 09/17509/4
Clément DAVID [Fri, 27 Nov 2015 17:25:16 +0000]
Xcos: reduce the lag at the first DnD

The first DnD of a block is laggy as the Java classloader have to load
Batik and most the Java2D stack while Dragging. We can limit this effect by
rendering a dummy style on a worker thread at Xcos startup.

Change-Id: I5037526a176960e602598242188cca53caebe8f0

4 years agoXcos: restore diagrams rendering on help pages 08/17508/3
Clément DAVID [Fri, 27 Nov 2015 16:21:30 +0000]
Xcos: restore diagrams rendering on help pages

Change-Id: I7ec7cddf2f4952bd87800fd26c1a4be6a23bd180

4 years agoXcos GUI: enable Compile action 11/17511/3
Paul Bignier [Mon, 30 Nov 2015 10:04:32 +0000]
Xcos GUI: enable Compile action

Change-Id: I21e4e2e51381cc3b17f42f126429219a0b4ef45a

4 years agoXcos files load: reduce the callstack and be backward compatible 01/17501/4
Clément DAVID [Thu, 26 Nov 2015 11:32:43 +0000]
Xcos files load: reduce the callstack and be backward compatible

All ".xcos" files (from 5.2.0 to 5.5.2) should load without producing any error.

Change-Id: I959c85e0cde43aaf210c4c9c6b964d33d6ed8a08

4 years agoHelp: fix the build after a9d9f4a46c2e299261cf8caa1e002a13a0cd2b04 10/17510/1
Clément DAVID [Fri, 27 Nov 2015 17:32:59 +0000]
Help: fix the build after a9d9f4a46c2e299261cf8caa1e002a13a0cd2b04

Change-Id: Ib9c83554c65050a98a8d834451deb91a4f02c52d

4 years ago* Bug #13298 fixed - Static analysis bugs detected by PVS-Studio fixed 95/17495/3
Paul Bignier [Tue, 24 Nov 2015 14:59:29 +0000]
* Bug #13298 fixed - Static analysis bugs detected by PVS-Studio fixed

Change-Id: I8dc4dbcb9c0b26b2e4934377f7149f6214504a75

4 years agoBetter help for (sg)et[default]language functions 91/17491/2
Francois Granade [Tue, 24 Nov 2015 10:06:53 +0000]
Better help for (sg)et[default]language functions

Change-Id: Ifcaf077c26c517cf3f9fe03e3b6ec6e77c0ac745

4 years ago[bug_14041] genlib fixed about locked file by another program 76/17476/2
Cedric Delamarre [Thu, 19 Nov 2015 14:16:39 +0000]
[bug_14041] genlib fixed about locked file by another program

Change-Id: I763305e651871ed197309bdd98ab591711b629df

4 years agoConfigure: fix the arpack third-party detection 02/17502/3
Clément DAVID [Thu, 26 Nov 2015 16:41:30 +0000]
Configure: fix the arpack third-party detection

This commit only modify the way ARPACK is detected when using the
Prerequirements svn repository.

Change-Id: Ib3adaaf2f4b4f5e1cb50959c86fb3254a9faa460

4 years agoXcos MVC: use std::atomic to be thread safe 00/17500/2
Clément DAVID [Mon, 23 Nov 2015 13:36:25 +0000]
Xcos MVC: use std::atomic to be thread safe

Xcos use both the Scilab execution thread, the EDT and the Finalizer Thread
to create / access / delete MVC objects. This commit manage this thread
safety using spin-locks implemented as std::atomic_flag (fast on the more
common threadsafe case).

Change-Id: Ic6ea51276de2a38e1530de6f08d138d4a04047e0

4 years agoXcos GUI: avoid a ClassCastException when something goes wrong 99/17499/2
Clément DAVID [Mon, 23 Nov 2015 08:54:59 +0000]
Xcos GUI: avoid a ClassCastException when something goes wrong

Change-Id: Id43d719dcb80e64f4bdb885cb97d477c2f7315f8

4 years agoerror displaying. 86/17186/4
Cedric Delamarre [Wed, 9 Sep 2015 16:00:36 +0000]
error displaying.

Change-Id: Ie78118ef40b4ad5767651ff83c37d8722ff00ccb

4 years agoScicos gateways: fix memory leaks 90/17490/2
Paul Bignier [Tue, 24 Nov 2015 08:20:34 +0000]
Scicos gateways: fix memory leaks

 * Detected by Coverity (CID 1321064 & 1321065)

Change-Id: I61ca53c37c6b577ca5158240d164feaccfc79501

4 years ago* Bug #14178 fixed - tcl/tk unavailability on MacOS is now documented. 77/17477/2
Charlotte HECQUET [Thu, 19 Nov 2015 15:08:47 +0000]
* Bug #14178 fixed - tcl/tk unavailability on MacOS is now documented.

Change-Id: If8ee95fd9708df3b993e86a938a43500c98b08ac

4 years agobug 13986: setdefaultlanguage does not set value correctly in Windows registry 88/17488/3
Antoine ELIAS [Fri, 20 Nov 2015 15:51:33 +0000]
bug 13986: setdefaultlanguage does not set value correctly in Windows registry

Change-Id: Ifd52bd85e9fa92dd551c690748300b3fc64f9059

4 years ago* Bug #14181 fixed - Calling intg (or integrate) in a function that is being integrat... 94/17494/2
Paul Bignier [Tue, 24 Nov 2015 11:09:59 +0000]
* Bug #14181 fixed - Calling intg (or integrate) in a function that is being integrated failed

Change-Id: I6bb36e96191527e460ca5aa722e41bf9001c9b55

4 years agowarning about redefinition of macro must be show only on same scope 89/17489/8
Antoine ELIAS [Mon, 23 Nov 2015 13:57:04 +0000]
warning about redefinition of macro must be show only on same scope

function foo(), deff("g","");foo2();endfunction
function foo2(),deff("g","j");endfunction
foo() //must not show warning

Change-Id: Ifc92944b27c8bfe6d35f83999a9b0cf4ad84a0e7

4 years agoXcos refactoring: move link classes 87/17487/1
Clément DAVID [Fri, 20 Nov 2015 16:57:22 +0000]
Xcos refactoring: move link classes

There is only one class per kind of link ; moving them all to the same
package helps browsing the source code.

Change-Id: Ic677aac0f0160dfccd1d04efd192d35af4a09e3b

4 years agoXcos GUI: fix create a link from another link 86/17486/1
Clément DAVID [Fri, 20 Nov 2015 16:51:36 +0000]
Xcos GUI: fix create a link from another link

The `linkKlass.newInstance()` method is not visible anymore on Xcos 6. We
have to create an MVC ID and then pass it to the constructor.

Change-Id: I1a0b07e63bb2cea4d2238a408cb346ed8742763d

4 years agoXcos decoding: manage mixed xcos files 85/17485/1
Clément DAVID [Fri, 20 Nov 2015 14:28:08 +0000]
Xcos decoding: manage mixed xcos files

Some Xcos / Zcos files store partially decoded sub-diagrams. This commit
manage such sub-diagrams contained into such a sub-diagrams.

After this conversion, the saved xcos / zcos files will contain
a complete XML representation.

Change-Id: Ia7dc4168405c8716c73c52461272b02c3117589d

4 years agoXcos vec2var: fix String and TList / MList 84/17484/1
Clément DAVID [Fri, 20 Nov 2015 13:54:10 +0000]
Xcos vec2var: fix String and TList / MList

 * String encoding was invalid, the offsets were wrongly encoded
 * TList / MList had wrong size (header should be included)

Change-Id: I748949848302e2f34c8c91d0c88a886a236d0626

4 years agoXcos writer: fix an issue on List decoding 83/17483/1
Clément DAVID [Fri, 20 Nov 2015 08:31:22 +0000]
Xcos writer: fix an issue on List decoding

Change-Id: I094b0b836534aae380df58650fd4c0ffbae76936

4 years agoXcos I/O: decode more properties and store them 81/17481/1
Clément DAVID [Wed, 18 Nov 2015 17:29:12 +0000]
Xcos I/O: decode more properties and store them

 * manage SuperBlock with an rpar MList (mixed schema)
 * add some properties
 * use the same ordering properties between handlers and writers
 * write the version comment at the beginning

Change-Id: I0ce3415039bb6331884fc9f3fdb2136ac51802d4

4 years agoXcos writers: fix ScilabString encoding 80/17480/1
Clément DAVID [Wed, 18 Nov 2015 16:55:09 +0000]
Xcos writers: fix ScilabString encoding

Change-Id: I1509fe9f9e3319a008f5adbe5e527e400b9412a5

4 years agoXcos writers: sort the children 79/17479/1
Clément DAVID [Wed, 18 Nov 2015 11:04:12 +0000]
Xcos writers: sort the children

Sort the children preserving their relative order to preserve the order of
the scs_m accross multiple load and save operations.

Change-Id: I33b209718c8ad90fb69f9cecdc6ecb7a649e22b3

4 years agoXcos writers: indent ".xcos" files 69/17469/2
Clément DAVID [Wed, 18 Nov 2015 09:55:13 +0000]
Xcos writers: indent ".xcos" files

Change-Id: Ife0a0230dc7bb28fd2bd339fdb7155a9429b16b3

4 years agoXcos writers: add the "defaultParent" to the XML 68/17468/2
Clément DAVID [Wed, 18 Nov 2015 09:19:49 +0000]
Xcos writers: add the "defaultParent" to the XML

Change-Id: Ib0ba685e20918ffd3215fff097845f5ab9e01672

4 years agoXcos decode: load list on xcos files 67/17467/2
Clément DAVID [Wed, 18 Nov 2015 09:13:36 +0000]
Xcos decode: load list on xcos files

Change-Id: I420c5d0a9e20fc88402dec3693bd38d96c62e1e0

4 years agoXcos import: returns errors on error 66/17466/2
Clément DAVID [Wed, 18 Nov 2015 09:13:01 +0000]
Xcos import: returns errors on error

Change-Id: I38203f8c330de6b77abca61fcb7aaad5aac8348e

4 years agoXcos: save and load the DEBUG_LEVEL 65/17465/2
Clément DAVID [Tue, 17 Nov 2015 10:45:28 +0000]
Xcos: save and load the DEBUG_LEVEL

This property is now part of a diagram thus it should be saved as any other
property.

Change-Id: I88f830c3cc021526e0b67933a974061acb05c464

4 years agoXcos: launch a simulation 59/17459/3
Clément DAVID [Tue, 17 Nov 2015 08:02:05 +0000]
Xcos: launch a simulation

This commit also manage :
 * `scicos_new("0x2")` for Scilab calls from Java using a Java long
 * DEBUG_LEVEL as a model property

Change-Id: I1226b6ac0fd530304bfcca785ce5ee15f823386b

4 years agoUMFPACK: fix some memory leak on normal case 60/17460/2
Clément DAVID [Tue, 17 Nov 2015 09:14:57 +0000]
UMFPACK: fix some memory leak on normal case

Change-Id: I789b0bdeb1de9556a828b105e6ea5ac18b662fef

4 years agosegfault fixed when bad SCI environment variable is setted when using call_scilab. 47/17447/3
Cedric Delamarre [Thu, 12 Nov 2015 10:31:42 +0000]
segfault fixed when bad SCI environment variable is setted when using call_scilab.

Change-Id: I7af8b9587f4c354a148a947245702d6715ec3f07

4 years ago[bug_14253] Insertion in a struct contained in a list fixed. 64/17464/3
Cedric Delamarre [Wed, 18 Nov 2015 08:51:59 +0000]
[bug_14253] Insertion in a struct contained in a list fixed.

Change-Id: I4ac4ceb9bafc679c82a22163bbb84c38012ce982

4 years agobug 13990: Windows installer does not ship all localization files 73/17473/2
Antoine ELIAS [Wed, 18 Nov 2015 22:42:44 +0000]
bug 13990: Windows installer does not ship all localization files

Change-Id: I8bb7dad8baceca96dfcecd8dc0fb7d9e40be7bcc

4 years ago* Bug #14251 fixed - `spec` leaked some memory. 61/17461/2
Clément DAVID [Tue, 17 Nov 2015 09:47:23 +0000]
* Bug #14251 fixed - `spec` leaked some memory.

Change-Id: If59366cf3ed9c64782d1b87d63fb8798eb28e2cf

4 years agoXcos MVC: fix 'style' for Annotations 62/17462/4
Paul Bignier [Tue, 17 Nov 2015 16:20:30 +0000]
Xcos MVC: fix 'style' for Annotations

 * Treat Annotations like blocks so fill their 'gui' property (still nothing saved in the model though).

Change-Id: Iaa7714cc05fc3fe4dbc88c49ee030096e4b22eec

4 years agoBug 14257: Fixed English spelling in messages and in comments 50/17450/4
Yuri Chornoivan [Thu, 12 Nov 2015 20:11:33 +0000]
Bug 14257: Fixed English spelling in messages and in comments

Change-Id: I66f6bb2e1912fae98dbb90dcd6e4559cadd5816d

4 years agoBetter error message when error during doc generation 29/17429/5
Francois Granade [Wed, 4 Nov 2015 10:22:12 +0000]
Better error message when error during doc generation

Change-Id: I03c98a27d5298d36511bf5b7752a14f7f11f0c51

4 years agoConfigure: reuse the same Java class to check #2 58/17458/1
Clément DAVID [Mon, 16 Nov 2015 10:48:57 +0000]
Configure: reuse the same Java class to check #2

The `find -printf` is not available on Os X, this commit uses only
compatible behavior.

Change-Id: Ic410c9541f6b0714f2854c5f51f21ab9ee103e45

4 years agoConfigure: reuse the same Java class to check 53/17453/3
Clément DAVID [Fri, 13 Nov 2015 08:36:45 +0000]
Configure: reuse the same Java class to check

This avoid the compilation time + execution foreach (java class * classpath
dir). It slightly improves the configure time for JAR dependencies.

On my machine, `time ./configure` returns :
 1m22.301s before
 0m29.333s after

Change-Id: I5ad28debb9d608367b9635f87ad613cded87ccdd

4 years agofix bug on s(f)grayplot after https://codereview.scilab.org/#/c/17405/ 41/17441/2
Antoine ELIAS [Mon, 9 Nov 2015 15:07:15 +0000]
fix bug on s(f)grayplot after https://codereview.scilab.org/#/c/17405/

Change-Id: Ic00f0f273183599cf084dbaa6523e38caf8e08c9

4 years agoUpdate localization 40/17440/4
Clément DAVID [Mon, 9 Nov 2015 13:27:27 +0000]
Update localization

The script to dispatch the localization now handle the launchpad tarball
as an argument.

Change-Id: I2d068d160aaee42f50fd8f4ce6f89ed7aa68ca1f

4 years agoFREE(str) when str is NULL crashed Scilab. 43/17443/2
Adeline CARNIS [Tue, 10 Nov 2015 10:11:45 +0000]
FREE(str) when str is NULL crashed Scilab.
To test: Demos > Graphics > 2D and 3D plots > plot2d3

Change-Id: I31b1be349649a8df52979f77ddb66877c251424d

4 years ago[bug_14225] Scilab binary return 1 when an error occured in scilab before exit. Retur... 36/17436/8 6.0.0-alpha-2
Cedric Delamarre [Fri, 6 Nov 2015 16:03:29 +0000]
[bug_14225] Scilab binary return 1 when an error occured in scilab before exit. Return 0 in succesfull case.

./bin/scilab-cli -e "1+1;" -quit;echo $?
./bin/scilab-cli -e "1+1; exit(12)" -quit;echo $?
./bin/scilab-cli -e "error(\"blabla\");" -quit;echo $?
./bin/scilab-cli -e "error(\"blabla\");exit(12)" -quit;echo $?
./bin/scilab-cli -e "try, error(\"blabla\"); catch, disp(lasterror()),end" -quit;echo $?
./bin/scilab-cli -e "try, error(\"blabla\"); catch,disp(lasterror());exit(12), end" -quit;echo $?

test_run core bug_14225

Change-Id: I3af6be334934d42a1c0677db2a8e62e8d63d8eae

4 years agoComplete overview and changelog, including in French 39/17439/4
Francois Granade [Sun, 8 Nov 2015 10:50:36 +0000]
Complete overview and changelog, including in French

Change-Id: Ic531839d07654f55dfd793fda20387b09f30f114

4 years agoBetter names for coverage report 38/17438/2
Francois Granade [Sun, 8 Nov 2015 10:33:19 +0000]
Better names for coverage report

Change-Id: Ic6d74ef5314c559a9707d5941aded0a10b42ccd9

4 years agoupdate changes to bug_12044 37/17437/1
Antoine ELIAS [Sun, 8 Nov 2015 08:24:13 +0000]
update changes to bug_12044

Change-Id: I14a23cb9fe8575a7e4bd9057996a4752f7cf1d6d

4 years agoXcos: save on the GUI and open block settings 23/17423/7
Clément DAVID [Tue, 3 Nov 2015 10:03:27 +0000]
Xcos: save on the GUI and open block settings

Change-Id: Id3468d3d90e5d5f627e8c820bc91f3f934ed70ac

4 years agoXcos MVC: implement XCOS / ZCOS file saving 03/17403/11
Clément DAVID [Fri, 23 Oct 2015 11:58:11 +0000]
Xcos MVC: implement XCOS / ZCOS file saving

 * Add a DESCRIPTION property for blocks' value
 * Handle both binary and textual saving
 * testing is performed manually using xcosDiagramToScilab calls

Change-Id: If60686a54e87d6b127886d38592f93f9b0bd3ed3

4 years agoadd missing Makefile.in after https://codereview.scilab.org/#/c/17366/ 35/17435/2
Cedric Delamarre [Fri, 6 Nov 2015 15:22:07 +0000]
add missing Makefile.in after https://codereview.scilab.org/#/c/17366/

Change-Id: Ia0478a9301a1b55628a8e27c587c1829f4f9738c

4 years agoAdding or substracting the empty matrix now return an empty matrix 05/17405/7
Pierre-Aime Agnel [Tue, 27 Oct 2015 16:48:42 +0000]
Adding or substracting the empty matrix now return an empty matrix

Change-Id: Ib2d41ea4fc44ea3624c849231c01f65aa49bd0c6

4 years agoConfigure: detect Atlas using pkg-config 66/17366/2
Clément DAVID [Mon, 17 Aug 2015 07:47:59 +0000]
Configure: detect Atlas using pkg-config

Change-Id: Ibc050a69a02a902a448bd57df631398ec97728a3