4 years agoMerge remote-tracking branch 'origin/master' into newsfeed 21/17521/1 newsfeed
Antoine ELIAS [Tue, 1 Dec 2015 15:21:42 +0000]
Merge remote-tracking branch 'origin/master' into newsfeed

Change-Id: I94aa03482db14ef1c81d1e51f957ba3bf6c36a4e

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 agoupdate version name to newsfeed 04/17504/1
Antoine ELIAS [Fri, 27 Nov 2015 13:55:19 +0000]
update version name to newsfeed

Change-Id: I484256ebb87d0b54bfde0b95595a0bdb059f04e0

4 years agoScilab news feed -- re-committed into its own branch, to make specific builds.
Simon Marchetto [Fri, 30 Oct 2015 16:46:37 +0000]
Scilab news feed -- re-committed into its own branch, to make specific builds.

- integrated in GUI as flexdock panel
- displays RSS feed from scilab.org (configurable)
- displays one news at a time
- use HTML (JEditorPane/HtmlEditorKit) for display
- previous/next buttons
- possibility to change news automatically (time interval configurable).
- uses an external CSS stylesheet (ui_data/etc/newsfeed.css or SCIHOME/newsfeed.css)
- manages link opening in an external browser
- application & user settings in ui_data/etc/newsfeed.xml and SCIHOME/newsfeed.xml

Change-Id: I6cffceb77e0f0d7f6aed2cbece9c4ac2ea57d605

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

4 years ago* Bug #14232 fixed - Typo fixes 27/17427/2
Paul Bignier [Wed, 4 Nov 2015 09:11:20 +0000]
* Bug #14232 fixed - Typo fixes

Change-Id: Ic7e098c3246d667ea0b0ff146fae93048bbe7dae

4 years agoThe initial mode value of ieee function is setted to 2. 02/17202/4
Adeline CARNIS [Mon, 14 Sep 2015 07:11:53 +0000]
The initial mode value of ieee function is setted to 2.

Change-Id: Ie3c727863f7bb986e8678aaf9e729a30112c00bc

4 years agoJava types: implement hashCode() 14/17414/8
Clément DAVID [Thu, 29 Oct 2015 16:19:35 +0000]
Java types: implement hashCode()

Change-Id: I3ae1c697b004331929828da231fbd6b132000730

4 years agobug_14204: fix swap of error messages in dec2base 42/17342/3
Antoine ELIAS [Mon, 19 Oct 2015 14:53:26 +0000]
bug_14204: fix swap of error messages in dec2base

Change-Id: Ice980d880897cb0373cf10fb927ed021b5ca052e

4 years agoScicos: getting the objs content crashed 26/17426/4
Paul Bignier [Tue, 3 Nov 2015 13:49:24 +0000]
Scicos: getting the objs content crashed

Change-Id: I582b7d4a812cd867f5d9302644500c34af77b300

4 years agoadd coverage in Windows installer 33/17433/2
Antoine ELIAS [Fri, 6 Nov 2015 11:06:48 +0000]
add coverage in Windows installer

Change-Id: I2ed8e398edc2079be03a5b1a782385e6d6c84c10

4 years agoDo not default to static linking for libstdc++ 93/17393/2
Clément DAVID [Mon, 26 Oct 2015 08:16:26 +0000]
Do not default to static linking for libstdc++

1. dlopen-ed C++ library might not work
2. People using older libstdc++ / glibc can easily preload a backported
   version at Scilab startup
3. The compilation chain now targets an old glibc / libstdc++ (RHEL 5)

In depth, rationale :
http://www.trilithium.com/johan/2005/06/static-libstdc/

Change-Id: I22b15d791e945a04879dc6f4737310f2849e960e

4 years agoremove cnes configuration files from Windows installer 32/17432/2
Antoine ELIAS [Thu, 5 Nov 2015 15:58:41 +0000]
remove cnes configuration files from Windows installer

Change-Id: I6eb54093933fdf0d3cb32e22509b66dab8545169

4 years agoSlint: avoid crash when destination file can't be created 15/17415/2
Calixte DENIZET [Fri, 30 Oct 2015 09:14:19 +0000]
Slint: avoid crash when destination file can't be created

Change-Id: I32d12ab4332e0aee3b181fb742f56ba1b1229cc1

4 years agoCov: instrument correctly case exp 07/17407/2
Calixte DENIZET [Wed, 28 Oct 2015 11:56:18 +0000]
Cov: instrument correctly case exp

Change-Id: I4f6928e124fc14fe76bf91a620d71fa0ac21182a

4 years agoSLint: remove all CNES code 31/17431/2
Calixte DENIZET [Thu, 5 Nov 2015 11:24:11 +0000]
SLint: remove all CNES code

Change-Id: I57a4f9869f0703424e4a7e1b1aa949182dcf8732

4 years agoextract with ImplicitList fixed 12/17412/3
Cedric Delamarre [Thu, 29 Oct 2015 15:15:55 +0000]
extract with ImplicitList fixed

test_run ast implicitlist

Change-Id: I26046e47279376bbcf572bc528cf18e8f0a9bbbb

4 years agooperation 'or' fixed 30/17430/1
Cedric Delamarre [Wed, 4 Nov 2015 14:41:14 +0000]
operation 'or' fixed

test_run elementary_functions acosd
test_run elementary_functions asind

Change-Id: Ib622d321744afe4426637926e5c016eeb9bb2449

4 years ago* Bug #14223 fixed - det returned an error when it is used with a singular matrix. 21/17421/2
Adeline CARNIS [Mon, 2 Nov 2015 14:20:01 +0000]
* Bug #14223 fixed - det returned an error when it is used with a singular matrix.

Change-Id: I69172b2c60bced9653955bac5d9d65206acde493

4 years agoXcos model: use vec2var encoding for EQUATIONS 16/17416/3
Clément DAVID [Fri, 30 Oct 2015 15:07:37 +0000]
Xcos model: use vec2var encoding for EQUATIONS

Change-Id: I209dac0c8fa2aa71c3a84e599993dcdd615cf2e9

4 years agoXcos: remove std::nothrow dependency 22/17422/2
Clément DAVID [Mon, 2 Nov 2015 15:08:23 +0000]
Xcos: remove std::nothrow dependency

This usage seems to break static-libstdc++ linkage for a unknown reason.
Remove them to pass the compilation chain.

Change-Id: I007ea82fab2f7b7d934bdb43390cdc0ad88e2105

4 years agofix bug after https://codereview.scilab.org/#/c/17413/ 19/17419/1
Antoine ELIAS [Mon, 2 Nov 2015 10:18:07 +0000]
fix bug after https://codereview.scilab.org/#/c/17413/

Change-Id: I48403d47e1da4a2588c60b2a9cb1fa0d18a35e67

4 years agoa little speed improvement at call of C gateway 13/17413/2
Antoine ELIAS [Thu, 29 Oct 2015 15:36:25 +0000]
a little speed improvement at call of C gateway

Change-Id: I8994e4c81cb82d9848eea136010533066a2b1c85

4 years agoremove types_gw from Windows installer 11/17411/1
Antoine ELIAS [Thu, 29 Oct 2015 14:02:46 +0000]
remove types_gw from Windows installer

Change-Id: Ia94244998a3261e9951352d616b87fd91a3bb592

4 years agocoverage must be link staticly to scilab 10/17410/2
Antoine ELIAS [Thu, 29 Oct 2015 12:58:45 +0000]
coverage must be link staticly to scilab

Change-Id: I1db1bbf911384313b0aae4f8d2098d6375bb0f45

4 years agofix non handled exception if error occurs in scilab.start 09/17409/2
Antoine ELIAS [Thu, 29 Oct 2015 09:23:52 +0000]
fix non handled exception if error occurs in scilab.start

Change-Id: Id491d15fecc4dcf65b1d679f142891e6fb8eeec5

4 years agoadd management of mode(7) 77/17377/5
Antoine ELIAS [Thu, 22 Oct 2015 13:40:04 +0000]
add management of mode(7)

Change-Id: I5abfa67306e755522ed25a836cd603079ab5af03

4 years agoScicos src: vec2var now errors out on empty string/integer matrices 08/17408/1
Paul Bignier [Thu, 29 Oct 2015 08:57:01 +0000]
Scicos src: vec2var now errors out on empty string/integer matrices

 * Empty string or integer matrices don't exist in Scilab, so error out when they are detected

Change-Id: Id32880df6de3e71cf436ce116884166e952c95de

4 years agoXcos MVC: Fixed objects content for compatibility between Scicos and Xcos 19/17119/8
Paul Bignier [Tue, 25 Aug 2015 13:15:55 +0000]
Xcos MVC: Fixed objects content for compatibility between Scicos and Xcos

 * A superblock still contains children information but not the whole diargam anymore: it is regenerated on demand

 * Example to show that all model elements are cleared (here with SuperBlock):
 grep "objectCreated" tests/unit_tests/model/SuperBlock.dia.ref | wc -l
  = 83
 grep "objectDeleted" tests/unit_tests/model/SuperBlock.dia.ref | wc -l
  = 83

Change-Id: I89c82e65d05cc838b0e270b87d9ba90717ae6878

4 years agoupdate "some" def files 24/17324/5
Antoine ELIAS [Wed, 14 Oct 2015 10:31:41 +0000]
update "some" def files

Change-Id: I0856b4f36184cd60aaf5eba7e04db025235dcca9

4 years agore enable < indirection on command line under Windows 99/17399/4
Antoine ELIAS [Tue, 27 Oct 2015 11:24:17 +0000]
re enable < indirection on command line under Windows

bin/scilex -nwni < file.sce &> output.log

Change-Id: Ie1aac79d7561b249e1da94746e21797a3951971c

4 years agomemory leak in arrayof fixed 73/17373/3
Cedric Delamarre [Thu, 22 Oct 2015 12:21:09 +0000]
memory leak in arrayof fixed

Change-Id: I0c5f421745ea3ef51128d1b9438dd4b28601ff65

4 years agomove gateway about types from module types to core 02/17402/8
Cedric Delamarre [Tue, 27 Oct 2015 14:17:50 +0000]
move gateway about types from module types to core

  * fix scilab built with --wtout-gui flag

Change-Id: Iec72eeb4ebdafb0c51a801d4a7e0c0889dc29c5e

4 years agodouble delete of Library fixed 06/17406/1
Cedric Delamarre [Wed, 28 Oct 2015 11:15:40 +0000]
double delete of Library fixed

./bin/scilab-cli -profiling -e "loadXcosLibs" -quit &> log

test_run ast library
test_run ast library mode_nwni_profiling

Change-Id: I8e2bdafb275c65209588b515c2cc3b65b5aa703f

4 years agoAdd a code coverage tool 92/17392/4
Calixte DENIZET [Sun, 25 Oct 2015 19:00:40 +0000]
Add a code coverage tool

Change-Id: I1fbbef61b54db27deae6f70748ff492bdf463659

4 years agoScicos tests: fix default values and regenerate ref files 04/17404/1
Paul Bignier [Tue, 27 Oct 2015 15:54:12 +0000]
Scicos tests: fix default values and regenerate ref files

 * New property 'UID' and fix default values for 'exprs', 'odstate' & 'opar',
now that var2vec is mapped on sci_types

Change-Id: I1fa895fc06aef456a2be609873a5b37c9a28d4f5

4 years agoLinux compilation fixed with --with-mpi flag 00/17400/2
Cedric Delamarre [Tue, 27 Oct 2015 12:53:22 +0000]
Linux compilation fixed with --with-mpi flag

Change-Id: I8ebfd24fb9b47e7e221ed56a8581caac450d2018

4 years ago* Bug #13931 fixed - handle "aarch64" processor for some Linux distribution. 01/17401/1
Clément DAVID [Tue, 27 Oct 2015 14:04:14 +0000]
* Bug #13931 fixed - handle "aarch64" processor for some Linux distribution.

Thanks to Martin Michlmayr for the patch.

Change-Id: Iae5bc7c8974be4c0c1034b47a43257a7358f355d

4 years agoXcos GUI: convert values only for scicos geometries 98/17398/1
Clément DAVID [Tue, 27 Oct 2015 10:08:01 +0000]
Xcos GUI: convert values only for scicos geometries

Change-Id: If4e8309bcffeccb58a901c8a51ec77a84a708ead

4 years agoXcos GUI: fix ZCOS reading 94/17394/3
Paul Bignier [Tue, 27 Oct 2015 08:17:20 +0000]
Xcos GUI: fix ZCOS reading

 * Some ZCOS files define ports twice, so only read them once.
Don't create a new object in the model but resync them.

// Positioning & sizes need to be fixed but the import passes!
--> xcos(SCI + "/modules/xcos/demos/Simple_Demo.zcos");

Change-Id: Ifc47aec6f83b72df151b79c5019f352ba5f6b900

4 years agoXcos GUI: fixed Annotations loading 88/17388/3
Paul Bignier [Fri, 23 Oct 2015 15:40:15 +0000]
Xcos GUI: fixed Annotations loading

// Does not pass yet but getting closer
--> importXcosDiagram(SCI + "/modules/xcos/demos/Simple_Demo.zcos");

Change-Id: I23dfd5870043ce724a6a0b16061f4a1f0cc4604e

4 years agoSlint: fix bug when mopen/mclose is not in a function's body 95/17395/2
Calixte DENIZET [Tue, 27 Oct 2015 09:28:45 +0000]
Slint: fix bug when mopen/mclose is not in a function's body

Change-Id: Iee1d3985aa5a4000d3010c23fc36053f9e700444

4 years agodlwIsExpress modified to avoid the use of regitry key 96/17396/3
Cedric Delamarre [Tue, 27 Oct 2015 09:40:29 +0000]
dlwIsExpress modified to avoid the use of regitry key

Change-Id: I850321775434e2e706c03283bcf742e8dfe90b0b

4 years agosegfault fixed at Scilab exit 76/17376/3
Cedric Delamarre [Thu, 22 Oct 2015 13:40:05 +0000]
segfault fixed at Scilab exit

Change-Id: Ib68ec6b4a1c6b203956489c7a9d8d51915757677

4 years ago[bug_14187] fscanfMat fixed 78/17378/4
Cedric Delamarre [Thu, 22 Oct 2015 15:09:47 +0000]
[bug_14187] fscanfMat fixed

test_run fileio bug_14187
test_run fileio bug_6428

Change-Id: I339a9d81bcd5bc21c57a33da2eb41a6c724b4013

4 years agobug #14097: genlib does not add end separator 51/17251/3
Antoine ELIAS [Thu, 24 Sep 2015 10:22:50 +0000]
bug #14097: genlib does not add end separator

Change-Id: I1faff14deaacc3eb65ce532df658180730660173