12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

Change-Id: Iaa54a77a654edde81974a5ee07f888678c0ed5d4

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

Change-Id: I15c9c94104374b945216de3aac12d0f2936f2f8b

12 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

12 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

12 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

12 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

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

Change-Id: I6ed976276eb1c26eb3360d6e97dd36bc23bf8111

12 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

12 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

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

Change-Id: I018739cdbad191de790232a7168138698155f8f3

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

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

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

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

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

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

Change-Id: I71efa0de924bcd3752e2d63bf4242d019b41ab5b

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

12 months ago[graphics] Demos: add a 'Technical plots' section 20/20720/2
Samuel GOUGEON [Mon, 21 Jan 2019 09:45:34 +0000]
[graphics] Demos: add a 'Technical plots' section

Change-Id: Ie7e883fc9050a71c5dbd16fe883b74be70462450

13 months ago* Bug 15929 fixed: missing .. in cbAtomsGui() 13/20713/3
Samuel GOUGEON [Fri, 18 Jan 2019 22:12:51 +0000]
* Bug 15929 fixed: missing .. in cbAtomsGui()

  http://bugzilla.scilab.org/15929

  Transient bug => no CHANGES entry

  This is the only case found in all *.sci .sce .tst .dia.ref files
  with /[^.\s]\s*\n\s*\+\s*('|")/m

Change-Id: Ia969baab85bea761d830938591b66f1b522e6b75

13 months ago* Bug 15881 fixed: Demos stems bars histograms gathered 24/20624/4
Samuel GOUGEON [Mon, 19 Nov 2018 05:26:25 +0000]
* Bug 15881 fixed: Demos stems bars histograms gathered

  http://bugzilla.scilab.org/15881

Change-Id: Ib2399037d5387d4662d98be985fae2c0524cbed3

13 months ago* Bug 15800 fixed: elementwise assignments in vector of handles 46/20546/5
Samuel GOUGEON [Wed, 10 Oct 2018 21:24:27 +0000]
* Bug 15800 fixed: elementwise assignments in vector of handles

  http://bugzilla.scilab.org/15800

  These cases will be illustrated in the set() page when improving it
  for http://bugzilla.scilab.org/15414

Change-Id: Id58d81ae4b2075b6827315865ee36382ff970789

13 months ago* Bugs 15748/51/52/55 fixed: min & max hardly worked with sparses 99/20499/10
Samuel GOUGEON [Sun, 16 Sep 2018 18:22:23 +0000]
* Bugs 15748/51/52/55 fixed: min & max hardly worked with sparses

  - http://bugzilla.scilab.org/15748 :
     min(Sparse,"c"|"r") and max(Sparse,"c"|"r") returned vectors of zeros.
  - http://bugzilla.scilab.org/15751 :
     min(sparse([],[])) returns 0 instead of []. Same issue with max()
  - http://bugzilla.scilab.org/15752 :
     min() and max() did not ignore %nan in sparses
  - http://bugzilla.scilab.org/15755 :
     min() and max() did not allow mixing sparse inputs with scalars
  - The second output k was not implemented for sparses.

  Code enabled and simplified a lot:
    * min(A): the code was very complicated
    * min(A,"c") duplicated the code for min(A,"r"), while both cases
      just differ by a transposition.
    * With the new simple and fast implementation, min(row,"r"|"c") and
      min(col,"r"|"c") no longer uses a special processing
    * Processing min(A,B) duplicated the code for min(A,B,C,..)
  Other code improvement:
    * Inputs are now tested to be real.
  Help pages:
    * Syntaxes unfolded
    * Arguments were hardly documented.
    * Examples: There were no example for "c"|"r", nor with sparses
      Examples were not illustrated.
    * See also: strange was missing
    Too many changes => to be retranslated from en_US.

Change-Id: I5e322dc34b0c33067a435029065895c654f57fc8

13 months agobug_4810 fixed, typo in NO CHECK REF 10/20710/1
Cedric Delamarre [Fri, 18 Jan 2019 15:35:27 +0000]
bug_4810 fixed, typo in NO CHECK REF

Change-Id: Iff0c8eb54b94bd6730cb75752aaaf306be543a00

13 months ago* Bugs 15866 & 15867 fixed: setdiff() + 'r'|'c' & integers 07/20607/4
Samuel GOUGEON [Sun, 4 Nov 2018 13:35:18 +0000]
* Bugs 15866 & 15867 fixed: setdiff() + 'r'|'c' & integers

  http://bugzilla.scilab.org/15866
  http://bugzilla.scilab.org/15867

  Page overhauled (PDF): http://bugzilla.scilab.org/attachment.cgi?id=4839
  Too many changes to update non-en_US versions.
  It might be preferable to wait for fixing the additional setdiff bugs
     http://bugzilla.scilab.org/15737 (complex numbers) and
     http://bugzilla.scilab.org/15868 (sparse)
  in some additional commits before retranslating the new up-to-date
  setdiff page.

Change-Id: Ia72e6a634ba7dda2c8bec9e8248310d16b20201b

13 months ago[doc] realtime() page improved 13/20613/3
Samuel GOUGEON [Sun, 11 Nov 2018 01:03:21 +0000]
[doc] realtime() page improved

  http://bugzilla.scilab.org/12545

Change-Id: I61e0daccc4a0eea5d83f9a8483e8317b74386138

13 months ago* Bug 15259 fixed: <latex alt='..'> provides formula as text 08/20608/3
Samuel GOUGEON [Sun, 4 Nov 2018 18:50:48 +0000]
* Bug 15259 fixed: <latex alt='..'> provides formula as text

  http://bugzilla.scilab.org/15259

Change-Id: If8d79ec6839b9a50cc7eb2674ccad9911913874e

13 months ago[doc] move insertion & extraction pages => [elementary_functions] 06/20606/3
Samuel GOUGEON [Fri, 2 Nov 2018 11:44:30 +0000]
[doc] move insertion & extraction pages => [elementary_functions]

 Both pages
  * are not a matter of symbols nor of keywords
  * are elementary operations
  * go together with ind2sub() and sub2ind()

Change-Id: I6e13e67272d0dc2503abf29f9fb7ef96ce6ae40b

13 months ago* Bug #15490 fixed - Error message of grand function was incoherent. 80/20580/2
Adeline CARNIS [Tue, 23 Oct 2018 13:57:13 +0000]
* Bug #15490 fixed - Error message of grand function was incoherent.

http://bugzilla.scilab.org/15490

Change-Id: I9aed2f7c378bdcef6166f876835b46db7ddde7b0

13 months ago[doc] move is<shape> (isvector, etc) in dedicated section 05/20605/3
Samuel GOUGEON [Fri, 2 Nov 2018 11:28:17 +0000]
[doc] move is<shape> (isvector, etc) in dedicated section

  isempty() kept where it is: It is used for all containers, not only arrays.

Change-Id: I133860b44c2dbb612d57ca62edc352451da586fc

13 months ago* Bug 15860 fixed: [,] with cblock had troubles 04/20604/4
Samuel GOUGEON [Wed, 31 Oct 2018 19:47:11 +0000]
* Bug 15860 fixed: [,] with cblock had troubles

  http://bugzilla.scilab.org/15860

  Requirements to merge first:
    https://codereview.scilab.org/20594
    https://codereview.scilab.org/20600

Change-Id: I72b48b6bdecf69357a61a7a94aca29edc7095b96

13 months ago* Bug 15859 fixed: isempty() overloadable for tlists & mlists 03/20603/4
Samuel GOUGEON [Wed, 31 Oct 2018 16:43:10 +0000]
* Bug 15859 fixed: isempty() overloadable for tlists & mlists

  http://bugzilla.scilab.org/15859

Change-Id: Ib7c5dc009b9f39829593ef2f399aa7448031532f

13 months ago* Bug 12345: tree_show() moved [gui] => [data_structures] 01/20601/4
Samuel GOUGEON [Wed, 31 Oct 2018 12:58:52 +0000]
* Bug 12345: tree_show() moved [gui] => [data_structures]

  http://bugzilla.scilab.org/12345

  No tree_show() tests exist (unit, NR).

  Specific functions should preferably be gathered with other
  related ones /in term of usages/ (not of kind)
  (see also PlotSparse(), in [sparse], etc)

Change-Id: Ia6117e7ce96c0579f9c99ef487980483fe30000f

13 months ago[statistics] histc NR + bug_13490 tests fixed 97/20697/3
Samuel GOUGEON [Tue, 15 Jan 2019 00:28:20 +0000]
[statistics] histc NR + bug_13490 tests fixed

  Fix tests after https://codereview.scilab.org/20472

Change-Id: I0586013ff1bb94bb280b30dcdff5e1fe0a7253c1

13 months ago* Bug 15858 fixed: size(cblock) had troubles 00/20600/3
Samuel GOUGEON [Wed, 31 Oct 2018 11:28:15 +0000]
* Bug 15858 fixed: size(cblock) had troubles

  http://bugzilla.scilab.org/15858

Change-Id: I12baa30f499d22336396e30761d94e70726255ba

13 months ago* Bug 15853 fixed: mlist('cblock') endless 'operation+:..' warnings 93/20593/3
Samuel GOUGEON [Tue, 30 Oct 2018 15:38:39 +0000]
* Bug 15853 fixed: mlist('cblock') endless 'operation+:..' warnings

  http://bugzilla.scilab.org/15853

Change-Id: I22ad073ac12def47e662dad1db2796a0497ec73f

13 months agoBug #15284 fixed (again) - SuperBlocks port labels were not working 08/20708/4
Clément DAVID [Fri, 18 Jan 2019 09:33:24 +0000]
Bug #15284 fixed (again) - SuperBlocks port labels were not working

Change-Id: I09c4285929ffb81b0296405aee2529c57eef6f50

13 months agobug 15811: fix Cell::operator== function 67/20567/4
Antoine ELIAS [Fri, 19 Oct 2018 20:07:20 +0000]
bug 15811: fix Cell::operator== function

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

Change-Id: I2e0170ff779fe1924933a9f4ab55c35db90abd9a

13 months agoXcos tests: mvc_memleaks.tst should be cross-platform 51/20551/3
Clément DAVID [Thu, 11 Oct 2018 08:56:55 +0000]
Xcos tests: mvc_memleaks.tst should be cross-platform

Change-Id: I27bb3e2b829716026f8546c4f48ac9ae758fd2f0

13 months ago* Bug 15206 fixed: now Windows default mopen write mode is binary 88/20688/4
Stéphane Mottelet [Thu, 10 Jan 2019 17:24:51 +0000]
* Bug 15206 fixed: now Windows default mopen write mode is binary

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

Although the doc is quite clear about this point:

----
In addition, the following characters can be used to specify the type
of file:
t
 text file.
b
 binary file (default).
---

mopen() code missed the fact that Windows uses by default
text mode with LF <-> CR+LF translation.

Change-Id: I8808aea04683031a629a562cc27c3bc10e3a8016

13 months ago[ast] fix failing NR tests 89/20689/4
Stéphane Mottelet [Fri, 11 Jan 2019 12:57:35 +0000]
[ast] fix failing NR tests

bug_15301.tst had to be updated after update of the error message (CR=?)
bug_15747.tst had to be updated after https://codereview.scilab.org/#/c/20523/

Change-Id: I5d039c425ca411fd25493d0f1408abbefcece934

13 months ago[elementary_functions] fix nearfloat regression after 7a41f82d 90/20690/3
Stéphane Mottelet [Fri, 11 Jan 2019 14:23:13 +0000]
[elementary_functions] fix nearfloat regression after 7a41f82d

Change-Id: Iffadd661184a4d26c172dba4210bcecf41e5b9cf

13 months ago* Bug 14946 fixed: slint() misworked about %s %z and home 05/20705/3
Samuel GOUGEON [Wed, 16 Jan 2019 23:47:30 +0000]
* Bug 14946 fixed: slint() misworked about %s %z and home

Change-Id: I0533dc687db45071148dd318728d1f593f6baceb

13 months ago a+/-(i:step:$) must not shift the step 06/20706/3
Samuel GOUGEON [Tue, 20 Feb 2018 19:47:03 +0000]
 a+/-(i:step:$) must not shift the step

Change-Id: I29f965ea2cc142201ba9717c2c521a749f91bea0

13 months ago* Bug 11933 fixed: sci2exp failed for polynom. in s or z. Page overhauled 07/20707/3
Samuel GOUGEON [Wed, 30 Aug 2017 20:00:28 +0000]
* Bug 11933 fixed: sci2exp failed for polynom. in s or z. Page overhauled

 * http://bugzilla.scilab.org/11933
 * Page overhauled
   1) to document the case of other polynomials (<=> bug 11933.b)
   2) because many important features were misleading or undocumented:
      - Obscure short description (while it's a important function)
      - The doc made thinking that only scalars are supported, while
        vectors, matrices and hypermatrices are so.
      - The support to encoded integers, sparse, structures and cells
        arrays and mlists was undocumented.
      - The support of ascii(10) in strings was undocumented.
      - For containers, the restriction to components supported by
        sci2exp() was undocumented.
      - The impact of format() was not illustrated.
      - The See also section missed string(), evstr(), execstr(),
        pol2str()..
      etc
   Due to heavy changes, the page shall be retranslated from scratch.

Change-Id: I0bb56551c7671485730e30f3d7e4a87638bb53cc

13 months ago[core, differential_equations, elementary_functions] fix failing tests 94/20694/4
Stéphane Mottelet [Mon, 14 Jan 2019 16:31:22 +0000]
[core, differential_equations, elementary_functions] fix failing tests

Change-Id: I30a6449cbb2e3226284fd423ebd10eb75e74173b

13 months ago[core] fix NR tests failing after 50fe1d14 93/20693/3
Stéphane Mottelet [Mon, 14 Jan 2019 15:23:13 +0000]
[core] fix NR tests failing after 50fe1d14

Change-Id: I9f0c5dfa2a2157f2cc514564d6953ad2f638ccfe

13 months ago[fileio] fix failing mkdir unit test 96/20696/3
Stéphane Mottelet [Mon, 14 Jan 2019 17:43:07 +0000]
[fileio] fix failing mkdir unit test

Test was failing due to TMPDIR expansion in error message. Added
assert_checkfalse() in the case where removedir fails (when directories
to remove do not exist).

Change-Id: I6efee8e35a79c55de2dd037720852c78c12d5e5b

13 months ago[elementary_functions] fix imag() unit test after 11f23b83 95/20695/2
Stéphane Mottelet [Mon, 14 Jan 2019 17:00:30 +0000]
[elementary_functions] fix imag() unit test after 11f23b83

Change-Id: I589ce533e2c56b383eaf7eae0fe5652036ecd485