23 months ago* Bug 16005 fixed [doc]: intdec() example was biased & not robust 11/20911/2
Samuel GOUGEON [Fri, 29 Mar 2019 17:52:16 +0000]
* Bug 16005 fixed [doc]: intdec() example was biased & not robust

  http://bugzilla.scilab.org/16005

Change-Id: I4ce1a11ce6f0d78e0c9fa10766c58d04c440c141

2 years agoCommand history: Save in file before each execution to avoid to lose it in case of... 71/20871/2
Antoine ELIAS [Thu, 21 Feb 2019 16:05:32 +0000]
Command history: Save in file before each execution to avoid to lose it in case of crash

Change-Id: I66b67a97ac0ec8ab30e3c7aa14a6e6f2ca68729b

2 years agoEditVar: allow to change "ans" value 70/20870/3
Antoine ELIAS [Thu, 21 Feb 2019 10:56:49 +0000]
EditVar: allow to change "ans" value

Change-Id: I305b4cd2e204fd8c4960e62b85ec98854010515c

2 years agoMerge remote-tracking branch 'origin/6.0' 56/20856/2
Antoine ELIAS [Fri, 15 Feb 2019 13:26:38 +0000]
Merge remote-tracking branch 'origin/6.0'

Change-Id: I9a6de62734cbcb06c9cc038158849013c937439a

2 years ago[doc] pt_BR: Missing Xcos chapters + wrong entries 51/20851/2 6.0.2
Samuel GOUGEON [Thu, 14 Feb 2019 07:44:49 +0000]
[doc] pt_BR: Missing Xcos chapters + wrong entries

Change-Id: I2e0e6d80205e605bd6e2f1374a2634a1e395c445

2 years agoXcos: relink on parameters update (with undo/redo) 49/20849/2
Clement DAVID [Wed, 13 Feb 2019 22:07:27 +0000]
Xcos: relink on parameters update (with undo/redo)

As usual, using cell level API discard Model change propagation and kill
undo/redo operation.

Change-Id: Ibbab5a22a6dfc322322b4bf171243248fed73d3f

2 years agoXcos: discard style update on interfacefunction change 52/20852/2
Clement DAVID [Thu, 14 Feb 2019 08:13:46 +0000]
Xcos: discard style update on interfacefunction change

On update, style is already updated so there is no real need apart from
manual/debug testing within Xcos. This style update introduce style
reset while (on Scilab Thread) setting an interface function on a block
(trigger a notification passed to the EDT) *and* setting the style. On
the next EDT execution, the style will be discarded !

Change-Id: Ia0fbc352b5137e32ae4ab5eae9d2a3a4b9be5c62

2 years ago[doc] colorbar() page overhauled 50/20850/4
Samuel GOUGEON [Thu, 14 Feb 2019 05:44:12 +0000]
[doc] colorbar() page overhauled

  http://bugzilla.scilab.org/4808 (already in CHANGES)
  Page in PDF: http://bugzilla.scilab.org/attachment.cgi?id=4892

  Follow-up of https://codereview.scilab.org/20549

Change-Id: I71e2e9bd1ff93b5ea5a4273db95bd1ad35881d4a

2 years agoupdate CHANGES and homepage before the release 27/20827/23
Clément DAVID [Mon, 11 Feb 2019 14:17:21 +0000]
update CHANGES and homepage before the release

Change-Id: If4fc5037c6501bfe7f1754dade7e238b4a071b8e

2 years agolocalization: update POT and dispatch PO files 30/20830/37
Samuel GOUGEON [Sat, 9 Feb 2019 19:45:48 +0000]
localization: update POT and dispatch PO files

 Patch set 1 = Launchpad import from https://codereview.scilab.org/20728
       + CR inputs before the revert https://codereview.scilab.org/20829

 Patch set 9: All mismatching formats fixed (~400), except 46 exceptions
              in ja & zh due to different order from en to translations:
             Example:
             sparse - ja_JP : mismatching formats at line #512
               %s: Wrong number of input arguments: %d to %d expected.\n
               %1$s: 入力引数で不正な数: %3$d への %2$d を想定します.\n

  "fuzzy" tags:
   * Reviewed: fr (Patch Set 11), pt (PS 14), es (PS15)
   * Reviewed & partially cleared:
       PS19: cacsd, elementary_functions, graphics
       PS22: ast, boolean, data_structures, matio, sparse
       PS24: core, graphic_export, gui
       PS25: umfpack, xcos
       PS26: randlib, scicos, scinotes
       PS27: string, polynomials
       PS29: atoms, io
       PS30: signal_processing, ui_data
       PS31: overloading, special_functions
       PS32: compatibilty_functions, forgotten entries

  Timestamp set to 2019-02-12 for all .po files (even not unchanged ones)
                   2019-02-12 for graphics.pot

Change-Id: I2490120d890d07f90152e9a4e39bd0110f783a51

2 years ago[doc] ISO-8859 => UTF-8 reencoding and tagging 47/20847/3
Samuel GOUGEON [Tue, 12 Feb 2019 22:23:23 +0000]
[doc] ISO-8859 => UTF-8 reencoding and tagging

Change-Id: I0967b9c5ce5cbdd171c461157fc8467de6785613

2 years agodynamic link demo fixed 42/20842/4
Cedric Delamarre [Tue, 12 Feb 2019 15:09:38 +0000]
dynamic link demo fixed

  demos -> dynamic link -> c++ function using standard library

Change-Id: If7661d30b178cf4c3fc87b9f5c40fe4babd51a98

2 years agooptimization: navet and seros demos fixed 44/20844/4
Cedric Delamarre [Tue, 12 Feb 2019 16:43:29 +0000]
optimization: navet and seros demos fixed

  optimization and simulation -> ICSE -> spaceship landing trajectory

Change-Id: I46ace7c772e92c04afc12e2a6893da1fddf1d62d

2 years agomacOS: fix some crash while using gfortran from homebrew or other brand 46/20846/7
Clément DAVID [Tue, 12 Feb 2019 17:11:12 +0000]
macOS: fix some crash while using gfortran from homebrew or other brand

http://bugzilla.scilab.org/show_bug.cgi?id=13697
http://bugzilla.scilab.org/show_bug.cgi?id=13852
http://bugzilla.scilab.org/show_bug.cgi?id=13857

Change-Id: Ib7684024b76effb4d128aecfe5dff4ada291b752

2 years ago[doc] tree2code updated 45/20845/2
Samuel GOUGEON [Tue, 12 Feb 2019 16:59:04 +0000]
[doc] tree2code updated

Change-Id: Idf821aaa6284cc25076147c9e67ab7c304dc07d0

2 years ago[doc] pt_BR ISO8859 (badly rendered) => UTF8 (fixed) 41/20841/4
Samuel GOUGEON [Tue, 12 Feb 2019 14:56:57 +0000]
[doc] pt_BR ISO8859 (badly rendered) => UTF8 (fixed)

  Just a start.
  More than 800 remaining files tagged ISO-8859.
  ~50 % of them are badly rendered in web and java browsers.

Change-Id: Ie17006a87f6e8038c32e94cf14f6870fda485c3d

2 years ago[doc] AFFICH_m: comput function updated 43/20843/2
Samuel GOUGEON [Tue, 12 Feb 2019 15:28:21 +0000]
[doc] AFFICH_m: comput function updated

Change-Id: Ide35eed783c82de1120812e58e4fafd04f0ed890

2 years agoupdate fr_FR/dae.xml 40/20840/2
Adeline CARNIS [Tue, 12 Feb 2019 14:56:03 +0000]
update fr_FR/dae.xml

Change-Id: I981aeb259a496c954616c17844c0976c7c1d4bd7

2 years agobrowservar: fix crash after loading libs 39/20839/2
Clement DAVID [Tue, 12 Feb 2019 13:39:30 +0000]
browservar: fix crash after loading libs

Change-Id: Ia55c2ac5c6e2d379d286fa8a3a2ced338a1a5bde

2 years agoNewsfeed: use async DNS resolution and News fetch 37/20837/5
Clement DAVID [Tue, 12 Feb 2019 10:27:31 +0000]
Newsfeed: use async DNS resolution and News fetch

On laggy DNS resolution, Scilab had a laggy startup. This commit
delegate the openConnection and News fetching to a SwingWorker thread
which will free the EDT (main Scilab UI) to do its rendering job.

Change-Id: Ibae3db48abcfa3083e0ab2bd0ae8f1573d6da650

2 years ago[randlib] update messages in grand 38/20838/2
Adeline CARNIS [Tue, 12 Feb 2019 10:42:25 +0000]
[randlib] update messages in grand

Change-Id: Ia0903baa51cd638f3e3d4d72d55c485c94d91865

2 years agovarargout is now list() by default 36/20836/3
Samuel GOUGEON [Tue, 12 Feb 2019 05:20:20 +0000]
varargout is now list() by default

  http://bugzilla.scilab.org/1805

  CHANGES updated @ https://codereview.scilab.org/20827

Change-Id: I206c350371f7c91d43c5d7d1de40454da148f364

2 years agoupdate version to 6.0.2 32/20832/4
Antoine ELIAS [Mon, 11 Feb 2019 13:42:54 +0000]
update version to 6.0.2

Change-Id: I8b6f8f24ab8d38395bbd0e698e4cd2bfc961d3cf

2 years agolinux: fix desktop startup 34/20834/3
Clément DAVID [Mon, 11 Feb 2019 21:35:40 +0000]
linux: fix desktop startup

Change-Id: I348faf679ba4efd9c89cd1076ae0039811ff6755

2 years agomerge origin/6.0 into master 35/20835/1
Clément DAVID [Mon, 11 Feb 2019 22:09:04 +0000]
merge origin/6.0 into master

Change-Id: I61aa867c78a95fc3265eade726c4e9c7fd2c21d0

2 years agolinux: fix static libgfortran / libstdc++ check 33/20833/1
Clément DAVID [Mon, 11 Feb 2019 16:48:10 +0000]
linux: fix static libgfortran / libstdc++ check

Change-Id: I9cef4b323c7bf0ee77dc40b8a285151aa22e4f98

2 years agoupdate some tests 31/20831/2
Antoine ELIAS [Sun, 10 Feb 2019 08:45:43 +0000]
update some tests

Change-Id: Iecd65b557744ecaaa194df6fde4eb192b7579df7

2 years agoUpdate tests header: 4012 (del) 4084 4807 6558 8046 15746 04/20804/5
Samuel GOUGEON [Wed, 6 Feb 2019 00:46:47 +0000]
Update tests header: 4012 (del) 4084 4807 6558 8046 15746

 4012: the session header is now the date
       http://bugzilla.scilab.org/4012

Change-Id: Ied605b1c7a6f6a55c4d68361f0157fbe3a158bc1

2 years agoRevert "localization: update POT and dispatch PO files" 29/20829/2
Antoine ELIAS [Sat, 9 Feb 2019 14:40:18 +0000]
Revert "localization: update POT and dispatch PO files"

This reverts commit a1174d8713f73e5ad92cbc2f6ac61cdf9917e9b7.

Change-Id: I2bd37ba7b16a0021927de0caf2ff0c80ae4c7597

2 years agoread: fix wrong length propagation 28/20828/2
Antoine ELIAS [Fri, 8 Feb 2019 22:01:45 +0000]
read: fix wrong length propagation

Change-Id: Ie343a830318f837c208d26a3117c6a6e78848937

2 years ago[development_tools] update bug_10119.tst 23/20823/4
Samuel GOUGEON [Fri, 8 Feb 2019 02:46:34 +0000]
[development_tools] update bug_10119.tst

Change-Id: Ibbd17e5a4e5e8835b3cf8bbd101304092f5f6d79

2 years ago[gui] update some tests 05/20805/5
Samuel GOUGEON [Wed, 6 Feb 2019 01:25:31 +0000]
[gui] update some tests

Change-Id: Iaf72a7f82f7570c5c3ec98f9e971ab5a03cc78d7

2 years agointeractive test tag removed 84/20784/3
Cedric Delamarre [Mon, 4 Feb 2019 16:08:38 +0000]
interactive test tag removed

Change-Id: I92281c84fc72c23b101e438db53f5b9f29161a24

2 years ago[MPI] warning compilation and tests fixed 17/20817/2
Cedric Delamarre [Thu, 7 Feb 2019 11:00:48 +0000]
[MPI] warning compilation and tests fixed

Change-Id: I59a571adeadf734a5a00a9193454fadf73069069

2 years ago* Bug 15259: complementary fix 98/20798/4
Samuel GOUGEON [Tue, 5 Feb 2019 18:22:27 +0000]
* Bug 15259: complementary fix

  http://bugzilla.scilab.org/15259

Change-Id: If5fc5d96f018f8ef29d296c260c91fde2ab8e511

2 years agoScicos: fix SIGSEGV and memleaks after 62afc99d 21/20821/2
Clément DAVID [Thu, 7 Feb 2019 16:52:29 +0000]
Scicos: fix SIGSEGV and memleaks after 62afc99d

Change-Id: I43a7368253e5cd46ee16bce227b6321234f46f74

2 years agoXcos: fix defaultButton on setup dialog 25/20825/2
Clement DAVID [Fri, 8 Feb 2019 07:04:02 +0000]
Xcos: fix defaultButton on setup dialog

Change-Id: Ia767d750c264ba7c33c130b22d9c0a4936b4fed4

2 years agoXcos: fix crash on block parameter change #2 24/20824/2
Clement DAVID [Fri, 8 Feb 2019 06:34:54 +0000]
Xcos: fix crash on block parameter change #2

After eca8e3d, on windows x64 Release build, Xcos keep crashing on block
update listener. Wrapping the (uid, kind) object into an owned
ScicosObjectOwner Java object will delegate the
referenceObject/deleteObject to the Java GC and will discard Java
statements reordering (thus the crash).

Change-Id: I979a324788265e32b60e75ad1ca60836d8e581aa

2 years ago[m2sci][doc] + subsection internals 89/20789/2
Samuel GOUGEON [Tue, 5 Feb 2019 02:55:29 +0000]
[m2sci][doc] + subsection internals

Change-Id: Ie7f83a1804adc4887ad316357b18178713d3e669

2 years ago[m2sci] fix ~ all .dia.ref diff. & bug_682 925 1003 1082 1124 2341 2395 86/20786/11
Samuel GOUGEON [Mon, 4 Feb 2019 17:30:32 +0000]
[m2sci] fix ~ all .dia.ref diff. & bug_682 925 1003 1082 1124 2341 2395

 https://codereview.scilab.org/20041 was wrongly canceled by
 https://codereview.scilab.org/20525

 Reopened: 699, 750, 853, 859, 946, 979, 1149, 1262, 1662, 2428

Change-Id: I7243db64748820ce79efaa291ad4855671ff9b85

2 years agoScicos tests: add scicos_simulate/sciblk2/sciblk4 memleak tests 06/20806/6
Clément DAVID [Wed, 6 Feb 2019 07:13:26 +0000]
Scicos tests: add scicos_simulate/sciblk2/sciblk4 memleak tests

Change-Id: Ia76d76463b681c8827eac725cf6eaf950ac6cdb9

2 years agoXcos: fix memleak on MVC objects after 238f0650 96/20796/7
Clément DAVID [Fri, 1 Feb 2019 17:17:35 +0000]
Xcos: fix memleak on MVC objects after 238f0650

Change-Id: I750dde7f03da59b0fdf8e74f3bb4421e577a33d2

2 years agoScicos: fix programmation typo that invalidate some behaviors 19/20819/3
Clément DAVID [Thu, 7 Feb 2019 09:45:24 +0000]
Scicos: fix programmation typo that invalidate some behaviors

These two change have been detected while investigating the tests ; on
clone, there should not be any FAILED reported by the LoggerView. If a
FAILED is reported it means that the clone might not be completed
successfully and the FAILED property had not been set correctly.

Change-Id: I622f7ee0f6bdc1e8ce78d76aea4155d83ddb4ec9

2 years ago[demo_tools] not fixed tag removed 10/20810/2
Cedric Delamarre [Wed, 6 Feb 2019 14:29:13 +0000]
[demo_tools] not fixed tag removed

Change-Id: I9064025ee4fa9082bd4da5881dd8040e5f754ec7

2 years ago[string] fix tests 14/20814/2
Stéphane MOTTELET [Wed, 6 Feb 2019 19:22:52 +0000]
[string] fix tests

Change-Id: I9a99a9fda361dc38824d34ca4fa1e2c2ef8a4d4f

2 years ago[optimization] fix tests 15/20815/7
Stéphane MOTTELET [Tue, 5 Feb 2019 23:48:02 +0000]
[optimization] fix tests

optimbase_log was failing because default access mode is binary after

https://codereview.scilab.org/#/c/20688/

for all platforms, as written in the doc since at least 5.5.2

Change-Id: Ibf581ddd467ae9fa6f48740318deb1fbfb16635d

2 years ago[doc] _LaTeX_..png cleaning after https://codereview.scilab.org/20745 02/20802/3
Samuel GOUGEON [Tue, 5 Feb 2019 23:49:40 +0000]
[doc] _LaTeX_..png cleaning after https://codereview.scilab.org/20745

Change-Id: I22cab23d42cf7772141f648e67c2606f585608b5

2 years ago[matio] fix tests. 18/20818/1
Adeline CARNIS [Thu, 7 Feb 2019 13:43:17 +0000]
[matio] fix tests.

test_run matio bug_4926
test_run matio bug_13522

Change-Id: Ia7140d2a1ca75b8a5532fe6d8527aa21e990b13f

2 years ago[differential_equations] fix tests 16/20816/1
Adeline CARNIS [Thu, 7 Feb 2019 10:14:26 +0000]
[differential_equations] fix tests

test_run differential_equations bug_13512

Change-Id: I2b9c617754bd26b4955ceba54e9ef458dae0f369

2 years ago[development_tools] test_run_level.xml file updated to pass test_run_level_1.tst 99/20799/2
Adeline CARNIS [Tue, 5 Feb 2019 20:44:24 +0000]
[development_tools] test_run_level.xml file updated to pass test_run_level_1.tst

test_run development_tools test_run_level_1

Change-Id: Ifd3d3743f1430dddc27d80174d59907c7f9e49cb

2 years ago[ast] remove display of trailing zeros after 79f8f21c 01/20801/3
Stéphane MOTTELET [Tue, 5 Feb 2019 23:48:02 +0000]
[ast] remove display of trailing zeros after 79f8f21c

Because after 79f8f21c the display of 0:0.1:0.5 is now

--> 0:0.1:0.5
 ans  =

   0.   0.1   0.2   0.3000000   0.4   0.5

i.e. very informative but uselessly disturbing

Change-Id: Ib122829a4c732661df39d3c5f022a42add11da77

2 years agoScicos: fix some memleaks on simulation run 11/20811/2
Clément DAVID [Wed, 6 Feb 2019 11:10:25 +0000]
Scicos: fix some memleaks on simulation run

Change-Id: I22bdee3daf7a359e86fac65ba527143d1c5cc453

2 years agoXcos: fix crash on block parameter change 13/20813/2
Clement DAVID [Wed, 6 Feb 2019 14:07:03 +0000]
Xcos: fix crash on block parameter change

On windows x64, there was a crash on block update listener as the object
has been deleted *before* being referenced for Java-side action. This
"fix" discard most of the Property dispatch on EDT which relax our
Controller refer/unref sections.

Note: this is only a workaround some weird Java GC things, our reference
owning seems correct.

Change-Id: I88233cc396d17e01960816ab937e8b96cf1cb88c

2 years agoast: fix memleak on null() assign 12/20812/2
Clément DAVID [Wed, 6 Feb 2019 11:11:10 +0000]
ast: fix memleak on null() assign

Change-Id: I2c31d387131c1c4f19fa5cfd67ecf3cdd9afeccb

2 years ago* Bug 15817 fixed: now ascii(c) with c>=128 does not crash on OSX 97/20797/4
Stéphane Mottelet [Mon, 22 Oct 2018 17:09:46 +0000]
* Bug 15817 fixed: now ascii(c) with c>=128 does not crash on OSX

http://bugzilla.scilab.org/show_bug.cgi?id=15817

Finally, we only patch to_wide_string() to use iconv as Linux
and keep a specific wide_string_to_UTF8() for OSX.

Problems which lead to revert https://codereview.scilab.org/#/c/20775/
do not occur with this smarter patch. Tests have been made with a
standalone packaged application launched from the Finder, under
Sierra, High Sierra and Mojave.

Change-Id: I091d74adb04e78fc36e7b8e35964799924518dec

2 years ago[localization] fix typo in bug_15951.tst 03/20803/2
Stéphane MOTTELET [Wed, 6 Feb 2019 00:39:46 +0000]
[localization] fix typo in bug_15951.tst

Change-Id: I5f34797510863b43e203b75be1865d2f60b8435a

2 years agoScicos: fix ASAN issue on solver error reporting 76/20776/4
Clément DAVID [Fri, 1 Feb 2019 13:47:17 +0000]
Scicos: fix ASAN issue on solver error reporting

`block_error` is used to report a bug on a specific block and was setup
to a valid memory address at `callf()` before executing the block.
However the `Coserror()` is also called on solver error (between two
callf) and should not write on a previous `block_error`.

Change-Id: I4981f80abbdd32f0fd8f34fcacd8a7a5249a8b4e

2 years agopause dia.ref removed 09/20809/2
Cedric Delamarre [Wed, 6 Feb 2019 09:06:44 +0000]
pause dia.ref removed

Change-Id: Ida48e340d4bd826c0bdc5818ad79d240f0cd4b7c

2 years agospreadsheet: fix memleak on csvTextScan 08/20808/1
Clément DAVID [Wed, 6 Feb 2019 08:14:51 +0000]
spreadsheet: fix memleak on csvTextScan

Change-Id: Iae10f260463c0a92010c48cf1f20b283f75c76c7

2 years ago[development_tools] example_run test and help files have been updated 95/20795/2
Adeline CARNIS [Tue, 5 Feb 2019 15:29:50 +0000]
[development_tools] example_run test and help files have been updated

Change-Id: I05692ff731c92b6a2c0a6f0592716adf5f314a36

2 years ago[bug_7919] not yet fixed 91/20791/2
Cedric Delamarre [Tue, 5 Feb 2019 09:46:47 +0000]
[bug_7919] not yet fixed

  http://bugzilla.scilab.org/show_bug.cgi?id=15639#c12

Change-Id: Ie173c7becc0b8d6ca6d06d92211375e2428110a7

2 years agoRemove basic_functions_7 in basic functions section because it is moved in Stems... 94/20794/2
Adeline CARNIS [Tue, 5 Feb 2019 15:26:06 +0000]
Remove basic_functions_7 in basic functions section because it is moved in Stems bars histograms section

Change-Id: I240621a4721ca512c26cb83f5cc1dc2ed301b0dc

2 years ago* Bug 15951 fixed: now locale encoding is detected under OSX 87/20787/5
Stéphane MOTTELET [Mon, 4 Feb 2019 22:58:06 +0000]
* Bug 15951 fixed: now locale encoding is detected under OSX

https://bugzilla.scilab.org/show_bug.cgi?id=15951

Many unit and NR tests were failing under OSX when Scilab launched
from its icon.

Change-Id: I7d4e6adfc4575a814f30a7c2c3bed2ddd1837ec5

2 years agoAllow scilab to start under OSX Mojave (10.14) 93/20793/3
Paul Bignier [Sat, 29 Sep 2018 08:55:05 +0000]
Allow scilab to start under OSX Mojave (10.14)

Change-Id: I4ec8400d635da39e2a091aa1e3c15fb4f0baca01

2 years agoupdate windows splashscreen 90/20790/2
Antoine ELIAS [Tue, 5 Feb 2019 09:44:49 +0000]
update windows splashscreen

Change-Id: I6a34e132c14c2320511560ed0a32f8496a22690a

2 years ago[dynamic_link] improve custom build env. detection under Linux and OSX 92/20792/4
Stéphane Mottelet [Tue, 5 Feb 2019 13:00:07 +0000]
[dynamic_link] improve custom build env. detection under Linux and OSX

Makefile.orig bundled in modules/dynamic_link/src/scripts is sometimes
irrelevant, particularly for fortran compiler brand/location which can
vary a lot, especially under OSX, where Fortran examples in ilib_build
help page systematically fail.
The first time ilib_gen_Make_unix is called, the proposed patch allows
to generate once for all a Makefile.orig in SCHIHOME, dedicated to the
local user build environment.

Change-Id: I36b33895a15e77675116728647c8e7ff2c49b198

2 years ago[windows_tools] bug_3789.tst obsolete removed 88/20788/1
Samuel GOUGEON [Tue, 5 Feb 2019 02:18:37 +0000]
[windows_tools] bug_3789.tst obsolete removed

Change-Id: Iffba92d4d4350e27619d1c79c92f9bbe7e31947f

2 years ago[ast] fix string() and sci2exp() regressions after b9e819c8 44/20744/9
Stéphane MOTTELET [Fri, 25 Jan 2019 23:44:47 +0000]
[ast] fix string() and sci2exp() regressions after b9e819c8

Regression detected by Samuel (test_run string bug_15260).
As a side effect, also fixes ambiguous display of floating
point numbers as pointed out by Samuel, again ;-) a long
time ago @ http://bugzilla.scilab.org/show_bug.cgi?id=2745

For example (default format lenght):

--> 1+%eps
 ans  =

   1.0000000

--> 1+%eps/2
 ans  =

   1.

string() behavior and polynom display remains the same as
before, i.e

--> x=1.00000001
 x  =

   1.0000000

--> string(x)
 ans  =

 1

--> x*(1+%s)
 ans  =

   1 +1s

Change-Id: I4dbcad7091c8de1144b84a4c2b4ec57b1e75e045

2 years agostyle.css: <tr valign=top> for tables w/o borders 16/20716/2
Samuel GOUGEON [Mon, 21 Jan 2019 04:31:55 +0000]
style.css: <tr valign=top> for tables w/o borders

Change-Id: I2c2f8ccc143380c56265a058c4ee667ce5459224

2 years ago[graphics] fix tests (follow-up) 78/20778/4
Samuel GOUGEON [Sat, 2 Feb 2019 01:37:43 +0000]
[graphics] fix tests (follow-up)

Change-Id: I59b4e2fd612499975fcbc480f5698db7c20044ac

2 years ago[graphics] fix barhomogenize.tst & bug_13180.tst (surf) 82/20782/4
Samuel GOUGEON [Mon, 4 Feb 2019 03:42:54 +0000]
[graphics] fix barhomogenize.tst & bug_13180.tst (surf)

 test_run graphics bug_13180 show_error       // surf
 test_run graphics barhomogenize show_error
 test_run graphics bug_13180 show_error

 The margin effect likely appeared when the computation of margins
 was improved in order to fix their partial clipping.

Change-Id: I5094659cf6d02ba08a75f388ffa3b599f62a0266

2 years ago[cacsd] fix demo Graphics => Technical plots => bode 81/20781/2
Samuel GOUGEON [Mon, 4 Feb 2019 03:07:04 +0000]
[cacsd] fix demo Graphics => Technical plots => bode

Change-Id: I85231fce77e726dbe15339ccd2b0a00898cc42ca

2 years ago[doc] misc. fix / improvements 80/20780/14
Samuel GOUGEON [Sun, 3 Feb 2019 00:20:19 +0000]
[doc] misc. fix / improvements

 * sysconv: variablelist and ascii table replaced with true tables
 * ifftshift (fr): "along" missing in param. list => added
 * varn: varn([]) is now []
 * sparse: sparse([],[]) is now  "(0,0) zero sparse matrix"
 * datatip_properties: .text was not described.
    .parent, .visible, .data description improved.
 * flipdim: can be used as well for cells arrays.
 * dirname(): document its obsolescence
 * Xcos blocks pages: tabs, other typos, and small fixes.

Change-Id: I9d9c5bf0b37f0f68490f4414375da557007b00dd

2 years agobin/scilab may fail when path contains spaces. 83/20783/1
Cedric Delamarre [Mon, 4 Feb 2019 11:49:16 +0000]
bin/scilab may fail when path contains spaces.

  following: https://codereview.scilab.org/#/c/20779/
  start scilab -nw/nwni with space in path of pwd

Change-Id: I2f70ccf5b6568c84a62f5668ce959ee5f1d31ac5

2 years agotest -d in bin/scilab may fail when path contains spaces 79/20779/3
Stéphane MOTTELET [Sat, 2 Feb 2019 10:23:30 +0000]
test -d  in bin/scilab may fail when path contains spaces

Cases with other flags have been also updated.

Change-Id: I52b8714cd6240833ba3fcac81ef420668bc2bda5

2 years ago[doc] broken linkend fixed 77/20777/3
Cedric Delamarre [Fri, 1 Feb 2019 14:42:07 +0000]
[doc] broken linkend fixed

Change-Id: Ia9fe8413e84083b45859dff94785a640419d6839

2 years ago[graphics] fix tests 68/20768/7
Stéphane Mottelet [Wed, 30 Jan 2019 16:20:05 +0000]
[graphics] fix tests

Change-Id: I985784999f18a1d10828794b3a19255d15c28237

2 years ago[doc] xcos palettes: improved layout of pages 45/20745/7
Samuel GOUGEON [Sun, 27 Jan 2019 19:05:24 +0000]
[doc] xcos palettes: improved layout of pages

 Follow-up of https://codereview.scilab.org/19832

 Images and image_md5.txt to be refreshed.

 (en) pages: missing xml:lang="en_US" attributes added.

 Palette pages:
 * Section "Module: xcos" removed
 * Lists of blocks made automatic with role="see also"
   (except for ja_JP, since there are only few translated pages)

 Blocks pages:
 * Made more compact: extra <para> removed (block icons, contents list,
   computational functions list).
 * Contents: TOC simplified (main item removed; "Palette" entry removed
    (it is in the help path); "Dialog box" entry renamed "Parameters";
    Forgotten "Example" entry sometimes added.
 * Palette section removed (when a single (current) one is pointed).
 * "Dialog box" section renamed "Parameters"
 * Dialog GUI: Positionning improved
     For online pages, the screenshot is now
     flushed on the right, and the variablelist of parameters starts
     flowing on its left, without useless vertical extra space.
     In Javahelp, this floating feature is not supported: the screenshot
     is still alone and centered.
 * Abusive replaceable latex occurrences canceled.
   ex: <latex>I</latex> => <emphasis>I</emphasis>
 * A few erroneous latex formula fixed.
 * See also: made automatic, with the role="see also" tag.

 TODO later (other commits > 6.0.2):
  * Refresh screeshots of localized GUIs
  * Improve cross-references (See also)
  * Presents default properties in a table instead of itemized lists

Change-Id: I15221e8191407e4efbb731925b78c0c727411908

2 years agoRevert "* Bug 15817 fixed: now ascii(c) with c>=128 does not crash on OSX" 75/20775/2
Stéphane MOTTELET [Fri, 1 Feb 2019 07:32:02 +0000]
Revert "* Bug 15817 fixed: now ascii(c) with c>=128 does not crash on OSX"

This reverts commit 241e4cde58b8c2c282f852b05e757cd597c1768f.

This fix causes many issues for the OSX version (locale, completion, and many others).

Change-Id: Ie5253aebf860fabfe48dcb597acdbdcc0ab2958c

2 years ago[dirname] obsolete 72/20772/3
Cedric Delamarre [Thu, 31 Jan 2019 15:25:15 +0000]
[dirname] obsolete

Change-Id: Iaa54a77a654edde81974a5ee07f888678c0ed5d4

2 years agorandlib: add libgfortran dependency 73/20773/2
Clément DAVID [Thu, 31 Jan 2019 15:59:43 +0000]
randlib: add libgfortran dependency

Change-Id: I3b1a413584f2da378f892783b299984593b9403d

2 years agoread() error msg fixed 67/20767/2
Cedric Delamarre [Wed, 30 Jan 2019 13:23:31 +0000]
read() error msg fixed

  from scilab/modules/io/tests/unit_tests/read_interactive.tst

  --> read(5,2,2)
  --> <enter>

Change-Id: Ia1f58d7a8306eb49ff4fbafed9630204c0bd0902

2 years ago[NOT FIXED] tag updated 69/20769/3
Cedric Delamarre [Thu, 31 Jan 2019 10:07:07 +0000]
[NOT FIXED] tag updated

Change-Id: I0fd6ab0c1c76aaee89559a7a6ef9d8cfc3e7f550

2 years ago* Bug 12477 fixed: errors in atomsRemove() were blocking 38/20638/4
Samuel GOUGEON [Sun, 25 Nov 2018 19:58:12 +0000]
* Bug 12477 fixed: errors in atomsRemove() were blocking

  http://bugzilla.scilab.org/12477

Change-Id: Icdb55234b5320f1bddc1ac1f8bb338aae2065a66

2 years ago[spreadsheet] bug_12085 updated 71/20771/2
Adeline CARNIS [Thu, 31 Jan 2019 11:57:30 +0000]
[spreadsheet] bug_12085 updated

Change-Id: I4949ef867ca1662ba97b59eabec54909bd73067f

2 years agoxml: add macros stuff in binaries 70/20770/1
Antoine ELIAS [Thu, 31 Jan 2019 10:15:13 +0000]
xml: add macros stuff in binaries

Change-Id: I8302a4e449aaff943da48a41dd026cde6de39bef

2 years ago[core] trycatch test fixed 35/20735/3
Antoine ELIAS [Thu, 24 Jan 2019 16:56:59 +0000]
[core] trycatch test fixed

Change-Id: I3a35642dd917268d86b6eaea80df82a68c8743ea

2 years agofix test [core] 8086, [localization] 7220, [ui_data] 7629 11244, [spreadsheet] ticket_194 40/20740/6
Samuel GOUGEON [Fri, 25 Jan 2019 15:40:47 +0000]
fix test [core] 8086, [localization] 7220, [ui_data] 7629 11244, [spreadsheet] ticket_194

Change-Id: Ic19389e8bfb4cbb256ab5a77696cfca01b7f39e2

2 years ago[polynomials] fix bug_12679.tst & bug_13511.tst 50/20750/3
Samuel GOUGEON [Mon, 28 Jan 2019 16:24:27 +0000]
[polynomials] fix bug_12679.tst & bug_13511.tst

Change-Id: I9f2fc2b771d0b563626013e554725e1bb4bfae07

2 years ago[statistics] fix bug_7766.tst 51/20751/2
Samuel GOUGEON [Mon, 28 Jan 2019 17:09:32 +0000]
[statistics] fix bug_7766.tst

Change-Id: Ib49571cb4b9169c7a103ebb328c39c4695e0d957

2 years agoXcos tests: fix fromws_c.tst 66/20766/4
Clément DAVID [Tue, 29 Jan 2019 10:39:11 +0000]
Xcos tests: fix fromws_c.tst

Some interpolation methods use (n, n+1) to compute the value at n. There
was some invalid read/write next to the end of the buffer on some
interpolation methods. Having a larger buffer will preserve algorithm
simplicity and fix the issue.

Change-Id: I647a3777c3c2cb4397b0667561ca25c081e12b45

2 years ago[special_functions] fix bug_10450.tst 52/20752/2
Samuel GOUGEON [Mon, 28 Jan 2019 17:50:55 +0000]
[special_functions] fix bug_10450.tst

Change-Id: I1d370116e70260f1f68cfa40cfe8db2816543268

2 years ago[sparse] fix tests of 10271, 15753 54/20754/3
Samuel GOUGEON [Mon, 28 Jan 2019 19:10:03 +0000]
[sparse] fix tests of 10271, 15753

10271: The issue comes from the " around "n".
       Here the purpose is not to test the translation.

Change-Id: I7be937a19d03c6dfc1a37aa397e66ec4a3a75f8c

2 years agoXcos: regen some dia.ref files 65/20765/2
Clément DAVID [Mon, 28 Jan 2019 23:14:46 +0000]
Xcos: regen some dia.ref files

Change-Id: I449789fdfcaa4e163b424a6c5372b103965b6ee8

2 years ago[cacsd] fix some tests: zpk.. 64/20764/2
Samuel GOUGEON [Wed, 30 Jan 2019 01:25:07 +0000]
[cacsd] fix some tests: zpk..

Change-Id: I1806a58ae3a2dcbadebfc0ce6a85f5f4ce4d326a

2 years ago[renderer] reopen bug_6558. Fix mark_color3d 53/20753/3
Samuel GOUGEON [Mon, 28 Jan 2019 18:21:29 +0000]
[renderer] reopen bug_6558. Fix mark_color3d

Change-Id: I854c6c0e43ffc2d6ada27db726a88bf91e7585f8

2 years agoScicos tests: regen dia.ref after fixes 09/20709/7
Clément DAVID [Fri, 25 Jan 2019 14:22:39 +0000]
Scicos tests: regen dia.ref after fixes

Change-Id: Ibc64f55105c572d5035f534152d243ae301934f9

2 years agoScicos tests: fix comparison.tst after 3c59ba21d5f2 42/20742/4
Clement DAVID [Fri, 25 Jan 2019 16:07:53 +0000]
Scicos tests: fix comparison.tst after 3c59ba21d5f2

Change-Id: I9f9841e24b48a7cc0f4f725566a6a8e01f5ddf5f

2 years agofix regression of min(sparseScalar) max(sparseScalar) 32/20732/5
Samuel GOUGEON [Wed, 23 Jan 2019 19:11:09 +0000]
fix regression of min(sparseScalar) max(sparseScalar)

faisait échouer test_run ast dotdivide (en fait assert_checkalmostequal())

Follow-up of https://codereview.scilab.org/#/c/20499/

test_run elementary_functions max
test_run ast dotdivide

Désormais, on peut mélanger des sparse input arrays et scalaires.
Par sécurité, pour max(), les scalaires acceptés en cas de mélange
devaient être <=0 (argumentaire http://bugzilla.scilab.org/15755).
Cette restriction n'est pas compatible avec le seul usage possible
pré-existant : max(sparse(-5), 3, 0..) avec uniquement des scalaires,
mais possiblement > 0.
Dans ce patch, on relache complètement la contrainte "doit être <=0"
(=> BC totale).

Idem pour min()

Change-Id: I962d034c108e1c44a6b540ffe60ade3137f2abb6

2 years agofix tests in [data_structures|integer|sound|string|tclsci|time|xml] 38/20738/8
Samuel GOUGEON [Fri, 25 Jan 2019 01:26:06 +0000]
fix tests in [data_structures|integer|sound|string|tclsci|time|xml]

 4037 = fake: no actual fix. No actual test sample file
 1628 [time]   => made automatic
 7954 [tclsci] => made automatic
 TCL_EvalFile: interactive test made clearer rcould be made automatic)

Change-Id: I95f7d88845da5a3e04fa516d9de28bbdbc7e4ecf