4 years ago* Bug #14304 fixed - find(x, nmax) returned []. Non regression test added. 28/17728/2
Adeline CARNIS [Wed, 27 Jan 2016 13:59:58 +0000]
* Bug #14304 fixed - find(x, nmax) returned []. Non regression test added.

Change-Id: I01cfee130036bf865f77805149f5ffd69ce0e5cb

4 years agoXcos tests: fix after cad91838 30/17730/2
Clément DAVID [Wed, 27 Jan 2016 14:40:43 +0000]
Xcos tests: fix after cad91838

Change-Id: Ie74dd7f2deee2e5fd58f2d0ba5f5d27abd573e07

4 years agoXcos: report a user visible error when the interface function is not callable 29/17729/2
Clément DAVID [Tue, 26 Jan 2016 16:15:10 +0000]
Xcos: report a user visible error when the interface function is not callable

Change-Id: I776102fd5fe03dce40b1dbc7115596a157668185

4 years agoXcos block: fix for the interface function. 21/17721/2
Vladislav TRUBKIN [Thu, 17 Apr 2014 12:08:52 +0000]
Xcos block: fix for the interface function.

Change-Id: Iba7e11e37ab6bdb297b8b4c80683ae364f110ddc

4 years ago* Bug #14247 fixed - sqrt did not work on hypermatrices. Non regression test added. 31/17731/2
Adeline CARNIS [Wed, 27 Jan 2016 14:43:20 +0000]
* Bug #14247 fixed - sqrt did not work on hypermatrices. Non regression test added.

Change-Id: Ia622ab88abf15d2613937afcd7c67a545349529f

4 years agoFixed the build following license changes 39/17739/1
Francois Granade [Thu, 28 Jan 2016 07:29:34 +0000]
Fixed the build following license changes

Change-Id: Ifa6addf09b5df72d5576664aad2b9f1255962216

4 years agoGPL + CeCILL Header change 34/17734/5
Pierre-Aime Agnel [Wed, 27 Jan 2016 09:54:09 +0000]
GPL + CeCILL Header change

including COPYING file and other license files
Command below show non processed files
find . -type f -exec grep --files-without-match "=== LICENSE_END ===" {} /dev/null \; | xargs grep -li "cecill"

Change-Id: I0ce11528800e320d496ce18df15ed9e9042e958e

4 years ago* Bug #14316 fixed - Operation scalar^matrix was identical to scalar.^matrix instead... 90/17690/5
Pierre-Aimé Agnel [Wed, 13 Jan 2016 15:39:43 +0000]
* Bug #14316 fixed - Operation scalar^matrix was identical to scalar.^matrix instead of being expm( log(scalar) * matrix )

Change-Id: Ie497c0effe3559eec686cb3b8edc9ea93fd15d1d

4 years agochange order of tasks during scilab stop 12/17712/4
Antoine ELIAS [Fri, 22 Jan 2016 15:29:59 +0000]
change order of tasks during scilab stop

 -> exec scilab.quit.
 -> exec modules.quit.
 -> close scopes (macros and gateways).
 -> unload dynamic libraries.

Change-Id: I1f9946b70e81ada38741606d8fccd6cb7b1f6438

4 years agoWindows installer: add missing lib files in scicos_blocks 23/17723/1
Antoine ELIAS [Tue, 26 Jan 2016 17:18:07 +0000]
Windows installer: add missing lib files in scicos_blocks

Change-Id: Idbe3c6d11ca0ce0692260aa8910784a818a5cb90

4 years agoImproved test_run to fail when a test generates an error on create_ref or no_check_ref 01/17701/4
Pierre-Aime Agnel [Tue, 19 Jan 2016 15:35:26 +0000]
Improved test_run to fail when a test generates an error on create_ref or no_check_ref

Change-Id: I64dc914e6e46148ce83c6683466a517dd71f9f27

4 years ago[Atoms] interactiv tests updated. 96/17696/3
Cedric Delamarre [Fri, 15 Jan 2016 17:14:45 +0000]
[Atoms] interactiv tests updated.

Change-Id: I00336d91bf4bc3c14e0a949abb7b4745327d4c5b

4 years agoUpdate localization 18/17718/1
Clément DAVID [Mon, 25 Jan 2016 14:06:26 +0000]
Update localization

Change-Id: I7218419ffcf2f1ba40c7b4ca8009402ce92e0408

4 years agoAdd the newsfeed files to the build 15/17715/1
Francois Granade [Sun, 24 Jan 2016 18:20:56 +0000]
Add the newsfeed files to the build

Change-Id: I9622682223c1e3d556db0eda4b67c3b5ed4cec0f

4 years agoAllow building on 10.11 El Capitan 13/17713/2
Francois Granade [Sat, 23 Jan 2016 13:45:19 +0000]
Allow building on 10.11 El Capitan

Change-Id: I6dc80d58914d5ca5569243d71ed14b59eb5fc098

4 years agoHelp ja_JP: fix duplicated xml:id after f26e5021 11/17711/2
Clément DAVID [Fri, 22 Jan 2016 11:30:42 +0000]
Help ja_JP: fix duplicated xml:id after f26e5021

Change-Id: I0f4e097ba3b73c5944f89eb04fc7d5c022cba69d

4 years agodead lock fixed when the parser fails to open file 09/17709/2
Cedric Delamarre [Thu, 21 Jan 2016 17:47:31 +0000]
dead lock fixed when the parser fails to open file

Change-Id: Ib3a9aef35d914ecb413797a821cf05f3922267ee

4 years agodo not change legacy API prototype ! 10/17710/1
Antoine ELIAS [Fri, 22 Jan 2016 10:56:39 +0000]
do not change legacy API prototype !

Change-Id: I69ceb433bee1b79d9681110ab9bfa9f8f2a9992d

4 years agocall_scilab need good information about library path on Windows 04/17704/3
Antoine ELIAS [Wed, 20 Jan 2016 12:59:37 +0000]
call_scilab need good information about library path on Windows

Change-Id: I784902698380fa5347134ddb4191639bbd31caf0

4 years agoFixed merge mistake in previous commit 08/17708/1
Francois Granade [Thu, 21 Jan 2016 17:16:38 +0000]
Fixed merge mistake in previous commit

we don't support MacOS <= 10.8.3 anymore

Change-Id: I7736cee10b0ec594465c97411f27e94935acf5d7

4 years agoBetter startup script for MacOS 10.10 and 10.11 - don't tell the user it won't work... 07/17707/1
Francois Granade [Thu, 21 Jan 2016 11:26:12 +0000]
Better startup script for MacOS 10.10 and 10.11 - don't tell the user it won't work when it will

Change-Id: Ifb86b0d52d217a66a5f8b12e855181b55925bb69

4 years agoCompile: remove the non-standard malloc.h include 06/17706/1
Clément DAVID [Thu, 21 Jan 2016 08:52:12 +0000]
Compile: remove the non-standard malloc.h include

Change-Id: If98e863947cb18f6f44637dfe78b4ad3c40b0de9

4 years agoXcos help: fix duplicated id errors 05/17705/1
Clément DAVID [Wed, 20 Jan 2016 21:02:40 +0000]
Xcos help: fix duplicated id errors

Change-Id: Ief5ee2197501e5fb29b623fbad56dd90c32ff65a

4 years agof2c project fixed after https://codereview.scilab.org/#/c/17661/ 99/17699/1
Cedric Delamarre [Tue, 19 Jan 2016 10:24:23 +0000]
f2c project fixed after https://codereview.scilab.org/#/c/17661/

Change-Id: Id98cba9d77c12d5ffce1306c638d0a1c7cc54955

4 years agolinux compilation fixed 98/17698/1
Cedric Delamarre [Tue, 19 Jan 2016 09:03:47 +0000]
linux compilation fixed

Change-Id: I65945e24def25bbb5add2f8f6fd75fcf0724c342

4 years agonewsfeed: new URL, item content, status bar 97/17697/2
Simon Marchetto [Mon, 18 Jan 2016 17:41:31 +0000]
newsfeed: new URL, item content, status bar

Change-Id: Ia84392d724906c3fa0de300a89b4f206d9e000c0

4 years agonewfeed: remove debug code 93/17693/2
Simon Marchetto [Thu, 14 Jan 2016 16:09:23 +0000]
newfeed: remove debug code

Change-Id: Ie6510130ce2448de5863f68824dbd77e0411acad

4 years agobug 14255 fix memory leak in fftw 71/17571/2
Calixte DENIZET [Fri, 11 Dec 2015 15:36:11 +0000]
bug 14255 fix memory leak in fftw

Change-Id: Ie5b2f9fd405eb4f61c56d3a823cb47c17ba05982

4 years agofix 14249: ctrl-c can be used to stop writing control expression 59/17559/2
Antoine ELIAS [Thu, 10 Dec 2015 10:39:23 +0000]
fix 14249: ctrl-c can be used to stop writing control expression

Change-Id: Iaed3cdd25020fb9987690fbf61a2e1ef6ec762c6

4 years agofix some dynamic_link tests 54/17654/2
Antoine ELIAS [Fri, 8 Jan 2016 14:29:21 +0000]
fix some dynamic_link tests

Change-Id: I4657d992096b8eb0c2fd5720cb1e91c6a8b8cfaa

4 years agofix string module tests 57/17657/3
Antoine ELIAS [Sun, 10 Jan 2016 09:52:18 +0000]
fix string module tests

Change-Id: I507494bb3599c1e4e0a7bc579e80e6984a627105

4 years agofix sparse module tests 60/17660/3
Antoine ELIAS [Mon, 11 Jan 2016 15:59:01 +0000]
fix sparse module tests

Change-Id: Ie96a4152c0cc771aacf1891931853dd3b3e860ad

4 years agosfinit, bfinit, blkfc1, blkct, inpnv, symfct implemented 61/17661/2
Sylvain GENIN [Mon, 16 Mar 2015 08:19:30 +0000]
sfinit, bfinit, blkfc1, blkct, inpnv, symfct implemented

fix bug 6401 :
test_run("sparse","bug_6401",["no_check_error_output" ]);

Change-Id: I66f908720815bba64d0afe1e8578b2b256b981a5

4 years ago[bug_14245] parser fixed about field and call 58/17558/8
Cedric Delamarre [Wed, 9 Dec 2015 17:40:03 +0000]
[bug_14245] parser fixed about field and call

// error must be "undefined variable a"
a(1).b(2)(1:3)
a(1).b

test_run ast bug_14245

Change-Id: Iea193efe723ab87ec5b332b4e943a2ed448de3b7

4 years agoparser rules print added for debug (and a few indentations) 57/17557/8
Cedric Delamarre [Wed, 9 Dec 2015 16:04:25 +0000]
parser rules print added for debug (and a few indentations)

Change-Id: I9c3274261d1cd1ab2347d88f0337c13e1d8246fb

4 years agoForbid creation of sparse matrix with sparse(hm) 03/17603/2
Pierre-Aime Agnel [Wed, 30 Dec 2015 13:42:46 +0000]
Forbid creation of sparse matrix with sparse(hm)

Change-Id: Ia8e28cf9e21d8c96b22d4557b88ce9c6e2e0a6cd

4 years agoFixed tests in module io 56/17656/3
Pierre-Aime Agnel [Fri, 8 Jan 2016 16:59:15 +0000]
Fixed tests in module io

Change-Id: I01c8ec7caf8bce20584c856dcc55a44c911a1f8a

4 years agoatoms modules tests fixed 94/17694/2
Cedric Delamarre [Thu, 14 Jan 2016 16:37:56 +0000]
atoms modules tests fixed

  * warning about operation and empty matrix
  * toolbox version updated

test_run atoms

Change-Id: I8ba5863df57aa1ce5f7adad0618ea17faed674e3

4 years agomacro compilation fixed 91/17691/6
Cedric Delamarre [Thu, 14 Jan 2016 12:43:52 +0000]
macro compilation fixed

Change-Id: I68eaac572e00e4dce3b1470db81ab0d58edb28e1

4 years agoScilab news feed 87/17387/6
Simon Marchetto [Thu, 14 Jan 2016 15:47:45 +0000]
Scilab news feed
- 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: I34d306655d153f29a6159af9951adb3ca396788d

4 years agoScicos: fix do_version before simulation 36/17636/2
Clément DAVID [Tue, 5 Jan 2016 15:00:35 +0000]
Scicos: fix do_version before simulation

Change-Id: I3560d3cabff0135bb80babf8132ec26015fee33c

4 years agoScicos: enforce override and final specifiers 35/17635/2
Clément DAVID [Tue, 5 Jan 2016 15:01:25 +0000]
Scicos: enforce override and final specifiers

Change-Id: I18b46b94dfcf6f9d94d6d164fed1bea073fb3d33

4 years agoremove useless filesep in genlib 55/17655/2
Cedric Delamarre [Fri, 8 Jan 2016 14:58:07 +0000]
remove useless filesep in genlib

test_run functions bug_12593

Change-Id: Id70e6efcd688b8dd395b91bfcd0ae855a38bba92

4 years agowarning about redefining function fixed 50/17650/3
Cedric Delamarre [Thu, 7 Jan 2016 15:51:27 +0000]
warning about redefining function fixed

test_run ast bug_13919
test_run functions bug_1469

a=1;
function a(), end

Change-Id: Icfb02480fb83e18fbb6d3ba9f9cd56048eb2c9b1

4 years agoavoid the use of api_scilab isScalar with intel compiler 53/17653/2
Cedric Delamarre [Fri, 8 Jan 2016 13:46:08 +0000]
avoid the use of api_scilab isScalar with intel compiler

Change-Id: Ifb86bddf7d4b915399d02152c5cc7bd91647fe9d

4 years agomemleak fixed in SeqExp about ifstream 52/17652/3
Cedric Delamarre [Thu, 7 Jan 2016 16:53:52 +0000]
memleak fixed in SeqExp about ifstream

test_run("ast",[],"mode_nwni_profiling")

Change-Id: I34634f3632e31b76e3d586ba8461a880a3ec866e

4 years agoexecstr fixed about parser error 48/17648/3
Cedric Delamarre [Thu, 7 Jan 2016 12:00:05 +0000]
execstr fixed about parser error

Change-Id: I1692b6e5ca43593a15924d39aaac33b0bef859d6

4 years agoimplicitlist test fixed about localization. 47/17647/2
Cedric Delamarre [Thu, 7 Jan 2016 11:27:11 +0000]
implicitlist test fixed about localization.

Change-Id: I9492e7304cc31e5293cde4a77a375b2682eeda1b

4 years agolocation fixed with unary minus in a matrix expression. 49/17649/2
Cedric Delamarre [Thu, 7 Jan 2016 15:19:10 +0000]
location fixed with unary minus in a matrix expression.

test_run ast displaycomplex

put in a file a matrix like :
[1 2 3;
4 5 6;
7 8 -9]

exec("file", 1)

Change-Id: Ibbefed71c65c740179d2e77c385590d63ead87ad

4 years ago* Bug #14313 fixed - Parser did not create a column separator after spaces and '... 51/17651/5
Pierre-Aime Agnel [Thu, 7 Jan 2016 16:21:51 +0000]
* Bug #14313 fixed - Parser did not create a column separator after spaces and '...' at the end of line

Change-Id: I184af053472254beb7cb39a2392e954b27b420eb

4 years agoXcos load: load mixed diagrams with modelica blocks 38/17638/2
Clément DAVID [Wed, 6 Jan 2016 12:52:02 +0000]
Xcos load: load mixed diagrams with modelica blocks

Change-Id: I7b17c5b27755b5db0678bac3578326e8fa630851

4 years agofix det for singular matrices 91/17191/9
John GLIKSBERG [Thu, 10 Sep 2015 15:29:01 +0000]
fix det for singular matrices

Change-Id: If4c3fb532fbe718a51128ba1b19b065636087841

4 years agoLocalization : update the translated strings 86/17586/2
Clément DAVID [Thu, 17 Dec 2015 09:13:26 +0000]
Localization : update the translated strings

Change-Id: Iacbe0839af1a62bd47f6e85f9e220d57847af3bb

4 years agoJava types: swig update after f26e5021 37/17637/4
Clément DAVID [Wed, 6 Jan 2016 09:29:35 +0000]
Java types: swig update after f26e5021

Change-Id: Icb5207ab59af73102f56b2383971fc4801e040c5

4 years ago[bug_14096] msscanf fixed about the %s switch to %ls 46/17546/2
Cedric Delamarre [Fri, 4 Dec 2015 16:49:20 +0000]
[bug_14096] msscanf fixed about the %s switch to %ls

Change-Id: Iffd12f36aebc9b4188dc20d331881109496ea757

4 years agoupdate mode management 70/17470/6
Antoine ELIAS [Wed, 18 Nov 2015 14:29:27 +0000]
update mode management

Change-Id: Ice12edf6b2f4a7152d84ae017bd738fce1396f94

4 years agoxcos: first pass at changelog for Scilab 6.0.0 beta 1 42/17642/1
Francois Granade [Wed, 6 Jan 2016 14:55:28 +0000]
xcos: first pass at changelog for Scilab 6.0.0 beta 1

Change-Id: I83258045f1960d5c6eaf7833a923857e5cea5b84

4 years agoast: fix a warning on almost all types 40/17640/1
Clément DAVID [Wed, 6 Jan 2016 12:57:48 +0000]
ast: fix a warning on almost all types

Change-Id: I9449df2b8050a710c2f7bcd1a98f4259f80cc510

4 years agoUpdate the pkg-config file 46/17446/2
Clément DAVID [Tue, 10 Nov 2015 15:30:01 +0000]
Update the pkg-config file

Using call_scilab might be easier using pkg-config. We auto-magically setup
the produced binary rpath.

    gcc -o foo.o -c foo.c $(pkg-config --cflags scilab)
    gcc -o foo foo.o $(pkg-config --libs scilab)

Change-Id: Ic5dfef30334f7a779060015c8b82d2751c366ddd

4 years agoui: bug #14299: use stricter 6.0 syntax for menu scripts 31/17631/1
Francois Granade [Wed, 6 Jan 2016 08:55:58 +0000]
ui: bug #14299: use stricter 6.0 syntax for menu scripts

Change-Id: I0b3ee52fcb42b59d783460898af5ac0dd39718b0

4 years ago./configure --enable-debug FLAGS cleanup 26/17626/2
Clément DAVID [Tue, 5 Jan 2016 15:17:10 +0000]
./configure --enable-debug FLAGS cleanup

The '-Wall -Wextra' will set common global warnings.

Change-Id: I48039e7d24be3c797fe748abef5724eab972494b

4 years agoScicos: minor cleanup to re-use existing lock/unlock methods 17/17617/2
Clément DAVID [Mon, 4 Jan 2016 17:40:55 +0000]
Scicos: minor cleanup to re-use existing lock/unlock methods

Change-Id: Icfc343a87071f5e376c814f43e5525d90051b841

4 years agothe return of call 98/17598/4
Antoine ELIAS [Mon, 28 Dec 2015 09:12:57 +0000]
the return of call

Change-Id: I12f3c031df56f32bb7ce87ec98731f35d15a64c6

4 years agomake api easier to use 99/17599/3
Antoine ELIAS [Mon, 28 Dec 2015 14:48:38 +0000]
make api easier to use

Change-Id: I904b749fb0883cdb9b8f8d6cf4837360649a253c

4 years agoXcos load: re-implement ordering for mix-saved XCOS / ZCOS files 16/17616/1
Clément DAVID [Mon, 4 Jan 2016 17:40:05 +0000]
Xcos load: re-implement ordering for mix-saved XCOS / ZCOS files

Change-Id: If6a2ebf63eb8f68dfed06325f6751f06c6ad350c

4 years agoged and object editor unavailabilities on MacOS is now documented. 97/17497/4
Charlotte HECQUET [Wed, 25 Nov 2015 14:16:47 +0000]
ged and object editor unavailabilities on MacOS is now documented.

Change-Id: Ie22266d0cf0cee05f4f27d9e8c9195a6be076bc6

4 years agoHappy new year 2016 08/17608/2
Clément DAVID [Mon, 4 Jan 2016 08:19:59 +0000]
Happy new year 2016

Change-Id: I393f1a7b0ed38a3eae2a1bb8cb7c4fd9f483733e

4 years agoIndentation hooks: allow XMLINDENT and ASTYLE pre-set 95/17595/4
Clément DAVID [Fri, 18 Dec 2015 13:43:44 +0000]
Indentation hooks: allow XMLINDENT and ASTYLE pre-set

To disable the indentation hooks for only a specific commit, you can now
use :
 $ XMLINDENT=/bin/true git commit
or
 $ ASTYLE=/bin/true git commit

Change-Id: If09f32336fece63de1e473bbbb19b7e450a92ed5

4 years ago./configure --without-jdk PASS 82/17582/3
Clément DAVID [Tue, 15 Dec 2015 16:28:00 +0000]
./configure --without-jdk PASS

Saxon was previously checked to build the PDF documentation. This commit
disable it by default if the without jdk option is explicitly set.

Change-Id: I95b8d83a090d56e122dc9917a1ead6adca4c4847

4 years agoast types::subtraction used to call overload on eye() - sparse([1 2; 3 4]) operations 00/17600/3
Pierre-Aime Agnel [Mon, 28 Dec 2015 14:55:01 +0000]
ast types::subtraction used to call overload on eye() - sparse([1 2; 3 4]) operations

Corrected dia.ref to take into account empty operations with operation-
Changed set(x, y, value) to set(x, y, value, false) and finalize on
sparse matrices (from commit https://codereview.scilab.org/#/c/17282/11)

Change-Id: Ie103b6f010868cb437d0d4e00fc8b5e68f8fab4b

4 years agoXcos: fix the DSUPER preference over SUPER_f 96/17596/2
Clément DAVID [Fri, 18 Dec 2015 14:03:02 +0000]
Xcos: fix the DSUPER preference over SUPER_f

Change-Id: I16cd8013fd2f73e66d70947024d676ba0b0be4a9

4 years agoHelp: fix the duplicated IDs 94/17594/2
Clément DAVID [Fri, 18 Dec 2015 13:23:53 +0000]
Help: fix the duplicated IDs

Change-Id: I49be43a22b9f82aeecb09ddf6e76dcd24dec0e42

4 years agoScicos: fix some C++ warnings 93/17593/1
Clément DAVID [Fri, 18 Dec 2015 08:06:43 +0000]
Scicos: fix some C++ warnings

Change-Id: If44448f80c14b0aa3bedaea48c2024778573afa3

4 years agoWindows compilation fixed 92/17592/2
Cedric Delamarre [Thu, 17 Dec 2015 16:51:05 +0000]
Windows compilation fixed

Change-Id: Ia0d1a2486ebf7195f91e65c1b886f1e37adcec54

4 years agoXcos GUI: cleanup Java code 91/17591/2
Paul Bignier [Thu, 17 Dec 2015 15:29:43 +0000]
Xcos GUI: cleanup Java code

Change-Id: I7111b75b3e95024eb8199fbd17b7c10f88b083a5

4 years agoTest corrections on modules for operation+ and operation- with empty matrix 80/17580/4
Pierre-Aime Agnel [Tue, 15 Dec 2015 14:44:56 +0000]
Test corrections on modules for operation+ and operation- with empty matrix

module preferences to module xml

without modules xcos, scicos and scicos block

Change-Id: Ic8392f0e53aecc8bb42d05b266dc1b4d29c243f1

4 years agoXcos GUI: define our own GraphModel 90/17590/1
Clément DAVID [Thu, 17 Dec 2015 14:23:12 +0000]
Xcos GUI: define our own GraphModel

On Scilab 5.5 the ID creation were performed on cells but moving it to the
model is much more easier to manage on load / reload.

Change-Id: Ieb22e4543ec76eaa0b815107d22a4cd846c6f98a

4 years agoXcos: fix port orientation 89/17589/1
Clément DAVID [Wed, 16 Dec 2015 17:17:03 +0000]
Xcos: fix port orientation

Change-Id: I7ef471cdb0011cf22f61f988fcbcb6aee2a26a56

4 years agoXCOS and ZCOS format : cleanup the format 88/17588/1
Clément DAVID [Tue, 15 Dec 2015 18:38:16 +0000]
XCOS and ZCOS format : cleanup the format

 * Store valid matrices content
 * Share code for ZipEntry setup for all ZCOS Entries
 * Avoid storing '\n' on the XML as they will be discarded on reload

Change-Id: I18dbb58bbb5e3040862028866207392f88c3b303

4 years agoXcos MVC: check parentBlock before parentDiagram 87/17587/1
Paul Bignier [Thu, 17 Dec 2015 09:18:15 +0000]
Xcos MVC: check parentBlock before parentDiagram

 * All objects reference the root diagram, but superblocks elements reference their parentBlock

Change-Id: Ib2c99d92ed58a6e85986f191da38753746df886f

4 years agoLocalization: update POT and fix some PO 85/17585/1
Clément DAVID [Thu, 17 Dec 2015 08:34:49 +0000]
Localization: update POT and fix some PO

Change-Id: I6ed0298ec7ef2cca04af51289a49105765c33cf0

4 years agoXcos MVC: fix diagram cloning 48/17548/7
Paul Bignier [Mon, 7 Dec 2015 16:03:39 +0000]
Xcos MVC: fix diagram cloning

 * Generate the adapters chain when it is absent
 * Mainly used by Xcos GUI's Compile & Start actions, so simple simulations now pass! (Superblocks don't work yet)
 * Scicos tests: only Deep_cloning was really affected (only place where a Diagram was cloned at model-level)

grep --include=Deep_cloning.dia.ref "objectCreated" -r | wc -l #151
grep --include=Deep_cloning.dia.ref "objectDeleted" -r | wc -l #151
grep --include=Diagram_cloning.dia.ref "objectCreated" -r | wc -l #33
grep --include=Diargam_cloning.dia.ref "objectDeleted" -r | wc -l #33

Change-Id: Ib41dce8c02a3851666b73ea89bb21edce9271735

4 years agoapi_scilab include missing after make install 81/17581/2
Cedric Delamarre [Tue, 15 Dec 2015 15:05:34 +0000]
api_scilab include missing after make install

Change-Id: Icbb6e6e7006674db01112ca2c17625f94fb96570

4 years ago[bug_14300] double free fixed 83/17583/2
Cedric Delamarre [Tue, 15 Dec 2015 17:04:41 +0000]
[bug_14300] double free fixed

test_run ast bug_14300
test_run ast bug_14300 mode_nwni_profiling

Change-Id: I87da365586b456224e4b6929b7ac064e54c92e8d

4 years agoXcos file format: fix some issues on read-write 78/17578/2
Clément DAVID [Tue, 15 Dec 2015 05:36:03 +0000]
Xcos file format: fix some issues on read-write

 * a typo on Port labels
 * Store matrices as vectors on the MVC in a scilab way
 * Store the Scilab timestamp as the default time
 * Only set PARENT_BLOCK if needed

Change-Id: Ifa909881466445c2d473d55872f254a1e7623cf7

4 years agoXcos load: restore split position after cad91838 79/17579/1
Clément DAVID [Tue, 15 Dec 2015 09:29:14 +0000]
Xcos load: restore split position after cad91838

Change-Id: I25dbf22adcf17692d9e31962925f0a9f2e23c5da

4 years agofix addition of "a=eye() * %s;a + %s;a" 74/17574/2
Antoine ELIAS [Mon, 14 Dec 2015 16:44:43 +0000]
fix addition of "a=eye() * %s;a + %s;a"

Change-Id: I5f74121b5e535b6f12bb4a03f1f10821dcae8b41

4 years agoXcos: refactoring of constructor-chain 66/17566/2
Clément DAVID [Thu, 10 Dec 2015 15:45:28 +0000]
Xcos: refactoring of constructor-chain

Passing all possible arguments will setObjectProperty only once and at
allocation. It will be far easier to debug and trace things.

Change-Id: I2daeed9cf707c16099c2fbacdf9eb1b73ed079d4

4 years agoXcos: remove the checked FIXME on the code 77/17577/1
Clément DAVID [Fri, 11 Dec 2015 16:03:47 +0000]
Xcos: remove the checked FIXME on the code

Change-Id: Ie1760be2012cdfeaba57508883e6f73c8cd79fdb

4 years agoXcos: load and save all known xcos files 67/17567/2
Clément DAVID [Fri, 11 Dec 2015 10:34:48 +0000]
Xcos: load and save all known xcos files

Change-Id: Ib879e6d3f7d5e126a46ddc44a25f4c6e57e7c5d5

4 years agoUpdate the forgotten copyright headers 65/17565/3
Clément DAVID [Thu, 10 Dec 2015 19:39:01 +0000]
Update the forgotten copyright headers

Change-Id: I792030386a6f5fa12a48a754ecab2a7988659390

4 years agoAttack of the Clones 93/17493/12
Cedric Delamarre [Tue, 24 Nov 2015 11:09:39 +0000]
Attack of the Clones

 * check types ref before modify it
 * use more polymorphism stuff
 * clone return this type instead of InternalType

Change-Id: I1a267a1eabc5b8a40592c7292c37cf7fcdedb072

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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