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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

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

Change-Id: I15c9c94104374b945216de3aac12d0f2936f2f8b

2 years 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

2 years 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

2 years 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

2 years 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

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

Change-Id: I6ed976276eb1c26eb3360d6e97dd36bc23bf8111

2 years 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

2 years 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

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

Change-Id: I018739cdbad191de790232a7168138698155f8f3

2 years agofix test in completion (#2848) 30/20730/2
Antoine ELIAS [Wed, 23 Jan 2019 16:27:30 +0000]
fix test in completion (#2848)

Change-Id: Ifb1864ee1037bcb4bd3ed68f231bf823dbabf42f

2 years agoAddressSanitizer: fix crash on completeLine 48/20748/3
Clément DAVID [Mon, 28 Jan 2019 13:35:58 +0000]
AddressSanitizer: fix crash on completeLine

An invalid access has been introduced at 66eff04a, the
findMatchingPrefixSuffix function should always return a positive or
zero length.

Change-Id: Ic8ceadae82e809c679e7c6d8c5aed803b4fc6315

2 years agoXcos: "Region to superblock" fixed 34/20734/4
Clement DAVID [Thu, 24 Jan 2019 16:22:56 +0000]
Xcos: "Region to superblock" fixed

The action suffered from several regression since 6.0.0 and most of the 5.5.2
features were not useable anymore. As this feature is implemented in Java, it
pushes changes to the Model through the Controller without taking into account
Adapters' partial information. These information were then non conformant to the
underlying Model and introduced some flaw at I/O blocks allocation time (from
scicos_new / adapters calls), update (from Controller/Model calls), link
reconnection (from Controller/Model calls) and simulation (from adapters calls).

Change-Id: Ib568e1365dfe9d48a6e8fa9fc7e20fdabe6e518d

2 years ago* Bug #15472 fixed - mdelete('test') worked like mdelete('test.*') under Windows 43/19843/5
Adeline CARNIS [Mon, 12 Mar 2018 15:20:30 +0000]
* Bug #15472 fixed - mdelete('test') worked like mdelete('test.*') under Windows

Change-Id: Idf64b0a3b24187f92f70221598b1992e4d98b18e

2 years agofix tests getURL [fileio], macrovar/2654/4608/7163 in [functions] 37/20737/2
Samuel GOUGEON [Thu, 24 Jan 2019 23:48:44 +0000]
fix tests getURL [fileio], macrovar/2654/4608/7163 in [functions]

Change-Id: I26314e1a373d7f29c880e1d7d3ce5162809e3d01

2 years agoxmlGetValues: fix after a9b33b1 36/20736/3
Antoine ELIAS [Thu, 24 Jan 2019 17:18:06 +0000]
xmlGetValues: fix after a9b33b1

Change-Id: I71efa0de924bcd3752e2d63bf4242d019b41ab5b

2 years agoAddressSanitizer: fix some issues at first usage 33/20733/2
Clément DAVID [Fri, 18 Jan 2019 14:24:56 +0000]
AddressSanitizer: fix some issues at first usage

 * Console completion is almost always use on debug
 * UI does not display without the Uimenu fix

Change-Id: Idf6d3406ea0648db3e1595a112dda35fb79a15e3

2 years ago* Bug 15433 fixed: getPreferencesValue() => xmlGetValues() in [xml] 17/19817/4
Samuel GOUGEON [Thu, 1 Mar 2018 00:42:45 +0000]
* Bug 15433 fixed: getPreferencesValue() => xmlGetValues() in [xml]

  http://bugzilla.scilab.org/15433

Change-Id: I450a412a03df311c0695a570af48aa4189f09e7f

2 years agofix regression from %r_i_r shown in rational.tst 31/20731/2
Samuel GOUGEON [Wed, 23 Jan 2019 17:15:00 +0000]
fix regression from %r_i_r shown in rational.tst

  + dead code cleaned

Change-Id: Iced6c8bcb7247f3ac24aee66ba84cdd652995f3c

2 years ago[overloading, cacsd] fix regressions after 639afd36 21/20721/4
Stéphane Mottelet [Mon, 21 Jan 2019 09:47:37 +0000]
[overloading, cacsd] fix regressions after 639afd36

overloading macros where giving wrong results when
comparing rlist(1,0) with %inf or poly(%inf,'x','coeff')

Change-Id: Ice3915bb191763ce6ee2ef05acc40dde089c161a

2 years ago* Bug 15884 fixed: bode() layout improved 34/20634/5
Samuel GOUGEON [Sat, 24 Nov 2018 00:34:44 +0000]
* Bug 15884 fixed: bode() layout improved

  http://bugzilla.scilab.org/15884

  Comparison without/with this patch (rendering scale 1:1):
     http://bugzilla.scilab.org/attachment.cgi?id=4849

Change-Id: Ida1a668ca93b8ca546583f7b45927af38f62d575

2 years agotoolbox skeleton fixed about _d() and dgettext() 22/20722/5
Cedric Delamarre [Tue, 22 Jan 2019 14:36:24 +0000]
toolbox skeleton fixed about _d() and dgettext()

Change-Id: I5ceebc830dbac3536f1403cb62a4d15d38d73311

2 years agolocalization: update POT and dispatch PO files 28/20728/1
Clement DAVID [Wed, 23 Jan 2019 11:19:21 +0000]
localization: update POT and dispatch PO files

Change-Id: I2f4ed4bac8223672b7dec142d4e01e560c93c019

2 years ago* Bug 15922 fixed: rcond([]) returned [] => %inf 75/20675/4
Samuel GOUGEON [Thu, 3 Jan 2019 22:48:34 +0000]
* Bug 15922 fixed: rcond([]) returned [] => %inf

  http://bugzilla.scilab.org/15922

Change-Id: I5facf8e4a04acb62910533ecf0017ce03ba4dd2a

2 years ago* Bug 6777 fixed: gcf().anti_aliasing was poorly documented 58/20658/3
Samuel GOUGEON [Sat, 15 Dec 2018 01:23:45 +0000]
* Bug 6777 fixed: gcf().anti_aliasing was poorly documented

  http://bugzilla.scilab.org/6777
  anti_aliasing page: http://bugzilla.scilab.org/attachment.cgi?id=4860

Change-Id: Id70bd962f0c8441e57a4083ac4d58d3236157370

2 years ago* Bug 15873 fixed: sprand() yielded wrong density 12/20612/5
Samuel GOUGEON [Sat, 10 Nov 2018 20:32:29 +0000]
* Bug 15873 fixed: sprand() yielded wrong density

   http://bugzilla.scilab.org/15873

   Actual density relative accuracy more than 100 times better.
   Processing time slightly smaller (~ -20%)

   test_run sparse // passes, except spisp (as without this patch)

Change-Id: I1c303f272bf3e247660da2cf4f401860cbcd49bb

2 years ago* Bug 15898 fixed: edit() with user-defined | alias of macro 54/20654/4
Samuel GOUGEON [Sun, 9 Dec 2018 04:14:24 +0000]
* Bug 15898 fixed: edit() with user-defined | alias of macro

  http://bugzilla.scilab.org/15898

  edit() help pages are already in the [scinotes] module.
  edit() had not yet any unit tests.

Change-Id: Ib92c656e2b9fd9e0fd67c174281336defbb8c977

2 years ago* Bug 15899 fixed: tree2code(,%T) now indents with Scinotes prefs 53/20653/3
Samuel GOUGEON [Sun, 9 Dec 2018 02:27:09 +0000]
* Bug 15899 fixed: tree2code(,%T) now indents with Scinotes prefs

  http://bugzilla.scilab.org/15899

Change-Id: I0ce62d91f98ec54540b8d02339bce35716eca6e9

2 years ago* Bug 15891 fixed: [doc] matrix-wise trigo pages => subsection 47/20647/4
Samuel GOUGEON [Thu, 29 Nov 2018 02:02:39 +0000]
* Bug 15891 fixed: [doc] matrix-wise trigo pages => subsection

  http://bugzilla.scilab.org/15891

Change-Id: Idbd763c54f1c3657e3cb248a2c3e2347641b3a02

2 years ago[doc] comparisons page improved 41/20641/4
Samuel GOUGEON [Mon, 26 Nov 2018 19:42:53 +0000]
[doc] comparisons page improved

Change-Id: I12e56b35b79acf4b37abd4b03f58ce037b0ad019

2 years ago[doc] cat() page improved 40/20640/4
Samuel GOUGEON [Mon, 26 Nov 2018 03:58:58 +0000]
[doc] cat() page improved

Change-Id: I4518c23803e740bf45c872f0c57da9025adb306b

2 years ago* Bug 15830 fixed: linspace() was not reliable with encoded integers 79/20579/8
Samuel GOUGEON [Mon, 22 Oct 2018 23:45:45 +0000]
* Bug 15830 fixed: linspace() was not reliable with encoded integers

  http://bugzilla.scilab.org/15830

Change-Id: I55f61bcc62b5d1819a5c0c28099847395ffe0637

2 years ago* Bug 15403 fixed: bar(..,'stacked') missed y=0 40/20540/9
Samuel GOUGEON [Sun, 7 Oct 2018 03:24:20 +0000]
* Bug 15403 fixed: bar(..,'stacked') missed y=0

  http://bugzilla.scilab.org/15403

  + other bugs fixed about syntaxes

 All tests refering to bar() pass:
test_run graphics bug_4106 show_error
test_run graphics bug_7080 show_error
test_run graphics bug_12615 show_error
test_run graphics bug_13579 show_error
test_run graphics bar_stacked show_error
test_run graphics barhomogenize show_error // already fails before this patch. Updated for this patch

Change-Id: Ia00f4051a0a50eb4d61b784424f2f6dc29d61b41

2 years agotest_run("polynomials", "polelm") failed 16/20616/3
Adeline CARNIS [Tue, 13 Nov 2018 14:05:53 +0000]
test_run("polynomials", "polelm") failed

Change-Id: Idb20a4f38cced8544a45d75f07a0dc35fda2c7fa