17 months 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

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

Change-Id: Idf821aaa6284cc25076147c9e67ab7c304dc07d0

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

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

Change-Id: Iecd65b557744ecaaa194df6fde4eb192b7579df7

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

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

Change-Id: I92281c84fc72c23b101e438db53f5b9f29161a24

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

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

Change-Id: I9a99a9fda361dc38824d34ca4fa1e2c2ef8a4d4f

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

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

Change-Id: Ida48e340d4bd826c0bdc5818ad79d240f0cd4b7c

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

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

Change-Id: I6a34e132c14c2320511560ed0a32f8496a22690a

17 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

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

Change-Id: I985784999f18a1d10828794b3a19255d15c28237

18 months 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

18 months 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

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

Change-Id: Iaa54a77a654edde81974a5ee07f888678c0ed5d4

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months 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

18 months ago* Bugs 15937,15938 fixed: repaired TMPDIR + fullpath() under OSX 39/20739/5
Stéphane Mottelet [Fri, 25 Jan 2019 10:39:51 +0000]
* Bugs 15937,15938 fixed: repaired TMPDIR + fullpath() under OSX

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

Change-Id: I3587d67c362c5b95defd6b536aa8d3d2d9249351

18 months ago[io] missing ref files for OSX in write unit test 46/20746/2
Stéphane Mottelet [Mon, 28 Jan 2019 10:20:02 +0000]
[io] missing ref files for OSX in write unit test

Change-Id: Ibd7f5e17bd9922aac8d72e02068f3470159255a0

18 months ago[io] fix bug_14041.tst, bug_5368.tst 47/20747/4
Stéphane Mottelet [Mon, 28 Jan 2019 10:49:03 +0000]
[io] fix bug_14041.tst, bug_5368.tst

bug_14041.tst: Path and library names were inverted
bug_5368.tst: missing "/" to start comment

Change-Id: I0913612d87b885d489be9d1bfd7d5de39094bc34

18 months ago[io] update tests 60/20760/3
Samuel GOUGEON [Tue, 29 Jan 2019 19:01:11 +0000]
[io] update tests

  / win7 64 bits
  * saveload.tst now passes
  * 3666: regression from 6.0.0. Reopening: http://bugzilla.scilab.org/3666
  * 5513 now fails: reopened: http://bugzilla.scilab.org/5513
  * 12305: should be in [graphic_export]

Change-Id: Ibede7bd15c1a3f11371b54509f305e24a442b236

18 months ago[output_stream] update tests 62/20762/3
Samuel GOUGEON [Tue, 29 Jan 2019 22:17:43 +0000]
[output_stream] update tests

Change-Id: I88763dedd65702d6299d75defe2e7067594ed446

18 months ago[overloading] update tests 61/20761/3
Samuel GOUGEON [Tue, 29 Jan 2019 20:38:01 +0000]
[overloading] update tests

Change-Id: I15c9c94104374b945216de3aac12d0f2936f2f8b

18 months ago[graphic_export] fix bug_2547.tst 63/20763/3
Samuel GOUGEON [Wed, 30 Jan 2019 00:06:59 +0000]
[graphic_export] fix bug_2547.tst

Change-Id: Ic997ee3b6102934d8837489bef754e267d178712

18 months agofix tests in ast (#15746, #15850 & #9344) 29/20729/4
Antoine ELIAS [Wed, 23 Jan 2019 15:29:34 +0000]
fix tests in ast (#15746, #15850 & #9344)

Change-Id: Ia5aec8a400d32c69374741fa8eafb2d8e4efd667

18 months agomgetl: fix trouble with long file and LF on Windows 58/20758/7
Antoine ELIAS [Tue, 29 Jan 2019 08:14:24 +0000]
mgetl: fix trouble with long file and LF on Windows

tests = [...
    "bug_10056"
    "bug_13119"
    "bug_14156"
    "bug_15018"
    "bug_2059"
    "bug_2610"
    "bug_2636"
    "bug_3427"
    "bug_3700"
    "bug_6449"
    "bug_6451"
    "bug_6452"
    "bug_7840"
    "bug_8006"
    "bug_9570"
    "getURL"
    "mfprintf"
    "mgetl"
    "mopen.encoding"
    "mputl"
    "mputstr"];

test_run("fileio", tests)

Change-Id: Ifa48f3d8f37646edb0e2b32ed813a37389e2dadc

18 months agofix hdf5 warning after [a,b] = listvarinfile(...) 49/20749/2
Antoine ELIAS [Mon, 28 Jan 2019 08:00:30 +0000]
fix hdf5 warning after [a,b] = listvarinfile(...)

Change-Id: I75ceb48f18d580b6cc3be4f7595907d6600dd079

18 months agomacr2tree test fixed 59/20759/4
Cedric Delamarre [Tue, 29 Jan 2019 14:41:10 +0000]
macr2tree test fixed

Change-Id: I6ed976276eb1c26eb3360d6e97dd36bc23bf8111

18 months ago[spreadsheet] fix bug_12085.tst for OSX 57/20757/3
Stéphane Mottelet [Tue, 29 Jan 2019 10:58:07 +0000]
[spreadsheet] fix bug_12085.tst for OSX

Under OSX end of line in text files is ascii(10)

Change-Id: I03c2d06d190911f2d4f3ed862ebfba4ffb9e6d8c

18 months ago[sound] fix sound() macro under OSX 56/20756/3
Stéphane Mottelet [Tue, 29 Jan 2019 10:30:05 +0000]
[sound] fix sound() macro under OSX

test_run sound bug_1609 was failing because of missing OS switch

Change-Id: I1d0391b61fee8dfa50d5e318dafca1e04d9fecc2

18 months agocompletion: fix tests 55/20755/2
Clément DAVID [Mon, 28 Jan 2019 22:16:59 +0000]
completion: fix tests

Change-Id: I018739cdbad191de790232a7168138698155f8f3