Samuel GOUGEON [Sat, 23 Mar 2019 14:49:49 +0000]
* Bugs 16011 16299 fixed: colorbar() failed after plot3d2() & graypolarplot()
http://bugzilla.scilab.org/16011
http://bugzilla.scilab.org/16299
Change-Id: I713183aaf5808eb600b87bccae4569c1f95aa2a4
Antoine ELIAS [Tue, 19 Feb 2019 13:07:53 +0000]
update splashscreen to 6.1.0
Change-Id: I3c132c6dbd0976430f224eb930740d75baf8c53f
Cedric Delamarre [Fri, 17 Jan 2020 16:12:47 +0000]
[ast] memory leak fixed on ImplicitList and Cell
test_run ast bug_16089 mode_nwni_profiling
test_run ast bug_16200 mode_nwni_profiling
Change-Id: Iecffea0e7d4b43101acdd2d51e328754d3f30857
Stéphane MOTTELET [Wed, 18 Sep 2019 13:21:08 +0000]
* Bug 16197 fixed: decomplexify result of extraction when applicable
https://bugzilla.scilab.org/show_bug.cgi?id=16197
If after extraction imaginary parts of result are all zero then result
is decomplexified. The patch does not interfer with other features like
--> x=complex(zeros(3,1)) // no extraction here
x =
0.
0.
0.
--> isreal(x)
ans =
F
but it allows the intuive behaviors below:
--> p=poly([1 1 1 1],"x","coeff"); r=roots(p)
r =
1.i
-1.i
-1.
--> isreal(r(3))
ans =
T
Change-Id: Ieed42028fbe36540a549f6f3d3dd7325c370a210
Stéphane MOTTELET [Tue, 20 Aug 2019 07:41:33 +0000]
* Bug 16160 fixed: ppol changed values of third input variable
http://bugzilla.scilab.org/show_bug.cgi?id=16160
Change-Id: Idd4443a5d3b711c4f98072123e892358dbbfb2b9
Stéphane MOTTELET [Wed, 18 Sep 2019 14:21:11 +0000]
* Bug 14746 fixed: display of tiny numbers is repaired
http://bugzilla.scilab.org/show_bug.cgi?id=14746
Change-Id: I5b65fc8401509505e6146308fda991ef7127746b
Stéphane MOTTELET [Thu, 25 Apr 2019 12:06:10 +0000]
* Bug #16051 fixed: now undefined list elements are of Void type
http://bugzilla.scilab.org/show_bug.cgi?id=16051
Change-Id: I19016c7544f4b3bd0c748a27b736fb86eda0a419
Clément DAVID [Fri, 17 Jan 2020 16:17:57 +0000]
linux build: include importgui as a fileio Scilab lib
Change-Id: Ie0a0f482cf235c815e9efc72f2606c328da1b46d
Cedric Delamarre [Fri, 17 Jan 2020 14:15:40 +0000]
[ast] dotdivide and subtraction test fixed
test_run ast dotdivide
test_run ast subtraction
Change-Id: I0fcf6780ed1097b1fffff1a978970ff5db9c54a7
Cedric Delamarre [Fri, 17 Jan 2020 09:58:22 +0000]
fix performance regression after 4466c36
test_run ast bug_16263
tic();d(1:50000)=%s;toc()
r = [0 %i 1/%s] +1 // doesn't crash scilab
Change-Id: Ie5e6f572274a12256d92618936dbf9954536946c
Clement David [Mon, 23 Dec 2019 10:29:06 +0000]
ast: undefined %foo_clear() silently pass
After %foo_clear() introduction on
6ee5c6ff, some tests start failing as
they are using mlist without defining the clear operation. This make
them pass again by avoiding the error report when the overloading is
undefined.
Change-Id: Ia586b4118f4ad1d81c186e88a3eb18ed4ff1d99e
Samuel GOUGEON [Fri, 10 Jan 2020 22:34:37 +0000]
* Bug 7765: champ1() is declared obsolete
http://bugzilla.scilab.org/7765
Change-Id: Ia5d433e0fa84a7e4330616ee0c25c1a9569b2123
Clement David [Tue, 14 Jan 2020 14:16:31 +0000]
ui_data: make editvar() copy-paste of strings work
Change-Id: I7de3ba5bcbab0c902397157bb981802cae814ae3
Antoine ELIAS [Thu, 28 Nov 2019 23:35:17 +0000]
windows: force codepage to 65001 to show superscript characters
Change-Id: I6243bd5c7631f227929489404623d5f04d37872a
Clement David [Fri, 20 Dec 2019 09:52:51 +0000]
load: fix loading macros .bin files
Change-Id: I81ddfa02c49b9cd07508d09211a6bd3c641fd4c5
Clement David [Thu, 12 Dec 2019 10:21:23 +0000]
xcos: load zcos files containing blocks with data matrices
Change-Id: Ib4a95d11824dba6a9114a0e5ad37b1c6ae93c422
Clement David [Mon, 21 Oct 2019 10:40:13 +0000]
api_scilab: workaround Coverity false positive
See Coverity #1350356 #1350357 #1350358 #1350359
Change-Id: Ie52556190267405b8064f35cc14307a407e32b9d
Stéphane Mottelet [Thu, 16 Jan 2020 16:06:26 +0000]
[overloading] fix rational display after
59c15042
Change-Id: If198d83646694f3ea49b995f85ccae08952acc4c
Clément DAVID [Mon, 3 Sep 2018 07:42:00 +0000]
AST: fix some compilation warnings
Change-Id: Ie6002555c382327a3a6e92ea294a82fb2ca1d9fe
Samuel GOUGEON [Fri, 3 Jan 2020 00:43:31 +0000]
* Bug 16293 fixed: demos in console need starting messagebox
http://bugzilla.scilab.org/16293
mode(7) deprecated is replaced with the more compact mode(4)
instead of mode(6), to avoid extra white lines between comments.
Change-Id: I03a41f44cd6603e518d2a27dea3103d9a7af88e1
Clément DAVID [Tue, 25 Jun 2019 12:48:32 +0000]
tests: remove getmemory() usage on tests
To check memory leaks, we should use whole program memory analysis tools
such as VLD (on Windows), ASAN (on Linux/macOS) or Valgrind (on Linux/macOS).
Using `test_run(.., .., "mode_nwni_profiling")` will track the memory
on the selected tests without having gross estimate within them.
Change-Id: Ib05b7dbf028fdb13e0a580bb30573b0cf8990efc
Samuel GOUGEON [Fri, 3 Jan 2020 01:27:07 +0000]
Demos Graphics/complexFuns: Scaling + mesh visibility improved
Change-Id: Ie974d127ca0ad17435d60e01a026dd0373e44400
Antoine ELIAS [Thu, 16 Jan 2020 15:38:45 +0000]
missing ';' in TCL_Command.c
Change-Id: I547e3c6a8c8a020b1ddc263579601c953afcf1bc
Clément DAVID [Mon, 6 May 2019 07:25:32 +0000]
Xcos: fix export all layers of a diagram
Change-Id: Ibc6fe97683d72b2cea7aa6fc06cdfc5e353c6377
Clement DAVID [Fri, 12 Apr 2019 09:53:10 +0000]
Xcos: add "shift ENTER" as Context validator
Change-Id: I8da82f6c955ce32830b6b5faf15985a71967fea7
Clément DAVID [Fri, 5 Apr 2019 07:09:45 +0000]
Scicos blocks: speedup benchmarks/sciblk4.tst by 2
Change-Id: Ia59744025515368563312ab4e25ba9edca1b7458
Clément DAVID [Wed, 6 Mar 2019 13:59:56 +0000]
toolbox_skeleton: fix isdir() typo on loaders
Change-Id: Ib371c3d3188b95255c4640433714bee0000e24c1
Clément DAVID [Mon, 18 Feb 2019 16:40:36 +0000]
Newsfeed: use a custom HTTP User-Agent
Change-Id: I1316680c33b2e6ef287c9e2fd3638bb75a826b3f
Clement DAVID [Mon, 29 Oct 2018 08:02:31 +0000]
Xcos CURVE_c: avoid figure popup on error when edit window mode is off.
Change-Id: Idb19adc793d98a736d85b0053e8d8e34917a4897
Clément DAVID [Fri, 26 Jul 2019 09:25:33 +0000]
ignore vim CCLS config files (used by ALE)
CCLS is a C/C++ language server used by ALE (Linter, Fixer, Completer)
for the C/C++ language.
Change-Id: If0d7bf646ddd03834bdd25de8622ad4f8793c75f
Clément DAVID [Mon, 16 Dec 2019 10:28:22 +0000]
differential_equations: fix bug_3551.tst execution
Change-Id: I888fc19d36a6715ec9483714cf2ab5a29b4dfa83
Clément DAVID [Wed, 24 Jul 2019 13:03:04 +0000]
time: remove xpause() and related dependency
POSIX.1-2008 nanosleep() is used for other functionnalities. This remove
POSIX.1-2001 sleep() and usleep() usage on Scilab codebase.
Change-Id: I60c3a7fc98bf059f9bc177c5f087738dc583e8fb
Cedric Delamarre [Thu, 16 Jan 2020 12:42:55 +0000]
update files for 2020
Change-Id: I5fe8d2be48784ede1466569b87e2c3102daaf3b6
Antoine ELIAS [Fri, 22 Feb 2019 08:21:53 +0000]
* Bug 15974 fixed: msprintf("%d", %nan) does not return Nan
http://bugzilla.scilab.org/15974
Change-Id: I2bc0a66e429d732afb884121ec9a6195d4088a90
Antoine ELIAS [Thu, 16 Jan 2020 11:09:01 +0000]
missing a '&' in a '&&' condition
Change-Id: I18f144f1338ecf84b890044bf64faea3d9e04c54
Clement DAVID [Tue, 7 May 2019 09:57:12 +0000]
spreadsheet: speedup by removing intermediate copies
The passed wchar_t* array should only be copied once before working on
it. During the whole processing, there should be no copy on the common
case (but extra copies might be needed for corner cases). Performance
improvement is also highly related to wchar_t* Scilab string storage.
This commit patch csvTextScan and csvRead functionnalities; please note
that using mgetl and csvTextScan will still need 2 extra copies than
csvRead (1 to store mgetl results and 1 to have mutable buffers during
scanning).
Change-Id: I51f8c4b0e0437bfe4ac69439b739a60262da1cf1
Clément DAVID [Wed, 4 Dec 2019 09:59:41 +0000]
parser: remove a memory leak on /* block comments */
Change-Id: I9e9870eabfd92a295d8576b22337471ff778f17d
Clément DAVID [Wed, 4 Dec 2019 13:55:22 +0000]
ast: fix memleaks detected by ASAN during testing
Change-Id: Ib2d1c31769777209ddcd0abc75e534060f12c389
Stéphane MOTTELET [Fri, 27 Sep 2019 08:45:30 +0000]
* Bug 16200 fixed: concatenation of transposed cells crashed Scilab
http://bugzilla.scilab.org/show_bug.cgi?id=16200
http://bugzilla.scilab.org/show_bug.cgi?id=14686
Change-Id: Ibde739acc4b29772e7eef74ab87b4b5fc091c766
Cedric Delamarre [Mon, 16 Jul 2018 12:14:44 +0000]
[Optimization] leaks fixed
Change-Id: I28c60b78a4158e32bc67468a358d0cb9bb92189c
Samuel GOUGEON [Wed, 15 Jan 2020 22:04:52 +0000]
fileio: fix build after 70859 fileio/macros/importgui added
Change-Id: Ie1a3e6762ea3d4ccff0ce93ff00e7bfec46b72e6
Clement David [Wed, 15 Jan 2020 16:52:48 +0000]
java: fix build after
b82ae59d
Change-Id: I1fde35911a4fca5a4254a29588dfae4d4aca51ff
Clement David [Wed, 15 Jan 2020 10:57:58 +0000]
* Bug 15451 fixed: reduce Lucene API usage
This commit has been checked with lucene 8.4.0 and 5.2.1.
http://bugzilla.scilab.org/15451
Change-Id: I9f49d3a2bf9f882fe58f571d7acbcd74cc0a5773
Stéphane MOTTELET [Wed, 27 Nov 2019 09:18:33 +0000]
* Bug 16260 fixed: overloading nnz() is allowed again.
http://bugzilla.scilab.org/show_bug.cgi?id=16260
Change-Id: Id761d52a169c5482a61d971d646f6667eaafa63a
Stéphane MOTTELET [Mon, 13 Jan 2020 16:24:48 +0000]
* Bug 16089 fixed: x=1:1e10 now raise an error
http://bugzilla.scilab.org/show_bug.cgi?id=16089
Change-Id: Ibdbedb99b7920f8f3348ef61d9b8b2b9f6fbba9a
Stéphane MOTTELET [Tue, 14 Jan 2020 16:11:47 +0000]
* Bug 11852 fixed: now filebrowser updates
https://bugzilla.scilab.org/show_bug.cgi?id=11852
Change-Id: I9d77249c7b2242298dc039a42019164ee6ebd295
Stéphane Mottelet [Fri, 12 Jul 2019 15:41:40 +0000]
[ast] allow _iRetCount == 0 in gateways
http://bugzilla.scilab.org/show_bug.cgi?id=2036
Just an example of what can be done after this patch
* at the macro level (see plot.sci in the patch):
--> plot(1:10,sin(1:10),1:10,cos(1:10))
--> h=plot(1:10,sin(1:10),1:10,cos(1:10))
h =
2 by 1 matrix of handles:
=========================
Polyline
Polyline
--> plot(1:10,sin(1:10),1:10,cos(1:10)).foreground
ans =
33.
2.
zero value of argn(1) is overriden only in relevant cases: e.g. recursive
extraction or use of expression as an argument in another callExp.
* at the gateway level (here old Scilab C API) :
--> plot3d(rand(10,10))
--> h=plot3d(rand(10,10))
h =
Handle of type "Plot3d" with properties:
========================================
parent: Axes
children: []
visible = "on"
surface_mode = "on"
foreground = -1
thickness = 1
mark_mode = "off"
mark_style = 0
mark_size_unit = "tabulated"
mark_size = 0
mark_foreground = -1
mark_background = -2
data.x = [1,2,3,4,5,6,7,8,9,10]
data.y = [1,2,3,4,5,6,7,8,9,10]
data.z matrix 10x10
color_mode = 2
color_flag = 0
hiddencolor = 4
clip_state = "clipgrf"
clip_box = []
ambient_color = [0,0,0]
diffuse_color = [1,1,1]
specular_color = [1,1,1]
use_color_material = "on"
material_shininess = 2
user_data = []
tag = ""
Change-Id: I60f075f8e348fea51ca6ddc2c7985324de5d63f5
Samuel GOUGEON [Sun, 4 Aug 2019 01:52:38 +0000]
* Bug 16164 fixed [doc]: elementary_functions/signal_processing/* pages mislocated
http://bugzilla.scilab.org/16164
The macros of bloc2ss, pen2ea, ssrand, sysconv and trfmod are
already in the right modules (now the same as for their pages).
Change-Id: I1cf27703a0a4a5d92666fd3855984488763dc27e
Clément DAVID [Thu, 5 Dec 2019 13:31:26 +0000]
tests: regenerate dia.ref after some display changes
Change-Id: Ib3dd6e772f648139a2b7adac3623019b8954fec5
Samuel GOUGEON [Sun, 8 Dec 2019 23:22:35 +0000]
* Bug 16026 fixed: atanh() page and m2sci updated
http://bugzilla.scilab.org/16026
Updated page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5031
Change-Id: Icfa1daf8594beed8c5290971179eef485736c2d3
Clément DAVID [Tue, 14 Jan 2020 13:25:09 +0000]
localization: update POT from source code
Change-Id: I2de467c8fdf3c5d010eb416624973ad8ad24e0dc
Antoine ELIAS [Tue, 26 Feb 2019 11:23:56 +0000]
WIP: add gui to easily interface csvRead
Need : https://codereview.scilab.org/#/c/20891/
Change-Id: Id2f54670acc78070af5f2db472c1e07a1b226eed
Stéphane MOTTELET [Mon, 6 Jan 2020 13:20:19 +0000]
[ast] fix string() regression after
97488f67
Change-Id: I3ca07f22c9b922bdbbb467fec3fd16f2714a3364
Samuel GOUGEON [Sat, 21 Dec 2019 22:19:42 +0000]
* Bug 15368 fixed: freson() issues on some cases
http://bugzilla.scilab.org/15368
Change-Id: Ic6385968a3c71aa627fdc68ae237c4424bb95abd
Samuel GOUGEON [Sun, 22 Dec 2019 03:04:33 +0000]
* Bug 10353 fixed [doc]: axes_properties page fixed + improved
http://bugzilla.scilab.org/10353
Help page updated (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5037
Change-Id: I4c34877d58e49fee325ff23fac63f68fed50986c
Antoine ELIAS [Tue, 17 Dec 2019 15:40:59 +0000]
Bug 14985 fixed: scilab crashes if a .bin file is not found
http://bugzilla.scilab.org/14985
Change-Id: Ic3d08e8063c41d50e6be94893139a661fed67927
Samuel GOUGEON [Sun, 22 Dec 2019 18:44:27 +0000]
[doc] ./utilities section created. head_comments() moved
Change-Id: I32dbeb39d5253718b37a30981f259efdb12ecbc7
Stéphane MOTTELET [Thu, 19 Dec 2019 00:07:57 +0000]
* Bug 15394 fixed: now Linux build with hdf5 1.10 is OK
http://bugzilla.scilab.org/show_bug.cgi?id=15394
Change-Id: Icc424b4e2acd01e764a3bd888829cff8fd136a5f
Samuel GOUGEON [Tue, 10 Dec 2019 00:28:46 +0000]
* Bug 8307: list2vec() vec2list() => [data_structures]
http://bugzilla.scilab.org/8307
Change-Id: Iaad20c912ca063feb6ede08db0f9e6a7ab56f62f
Samuel GOUGEON [Wed, 30 Oct 2019 23:28:01 +0000]
* Bug 16227 fixed: WSCI added in environment
http://bugzilla.scilab.org/16227
Change-Id: I6298b52b431cb330c9e3423c42c7a428e51a894d
Clement David [Mon, 16 Dec 2019 16:29:30 +0000]
fix the windows build after 80e821
Change-Id: I230f70ca23f4e1a75d7cc967778d944a789b3891
Antoine ELIAS [Fri, 13 Dec 2019 09:13:43 +0000]
bug 14791: "sleep 1" crashed Scilab
Change-Id: I4f42416f143f8659e2b29bbd5b6d0407419bbf3c
Samuel GOUGEON [Sun, 15 Dec 2019 13:29:03 +0000]
* Bug 15745 fixed: diophant() fixed & improved
http://bugzilla.scilab.org/15745
Updated page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5035
Unit tests added. They may require https://codereview.scilab.org/20995
Change-Id: I0b01d4634bc6c55d1ace415ae78765e1f045fcb2
Samuel GOUGEON [Sat, 1 Jun 2019 04:42:32 +0000]
* Bugs 9529 16104 fixed: assert_checkequal() for lists with void elements
http://bugzilla.scilab.org/9529
http://bugzilla.scilab.org/16104
Are now properly supported:
- Nan and void in compared lists
- Nan in sparse
- implicit lists
- macros
- libraries
- primitives
- graphical handles
- when inputs are arrays or lists of same lengths: the mismatch
message indicates the index of the first mistmatching elements.
Change-Id: I3bac3c5c88bbec181cf17df65e720022d373b384
Stéphane MOTTELET [Tue, 10 Dec 2019 13:29:09 +0000]
[elementary_functions] fix bitstring unit test after
cce20c5c
Before https://codereview.scilab.org/#/c/21008/ bit sign of Nan
string was incorrect.
Change-Id: I16ef07237bbdef442f187e48e2674d9813a9eb40
Stéphane MOTTELET [Tue, 10 Dec 2019 13:24:13 +0000]
[differential_equations] fix ode unitary test afer
55d858ad
Error formula has been fixed in
55d858ad for "rk" solver and resulting
error was bigger than supposed. The test now verifies that relative
error w.r.t. true solution is in the expected default tolerance, for the
three tested solvers, "rk", "rkf" and "fixx".
Change-Id: I55105d38affb0b450c3cb00d809379fe5d47f757
Samuel GOUGEON [Fri, 13 Dec 2019 22:29:09 +0000]
* Bug 15744 fixed: sylm(a,b) failed for deg(a)|deg(b)==0
http://bugzilla.scilab.org/15744
Change-Id: If70c645afecef1141a681eb69ee7cca608e1c59e
Samuel GOUGEON [Sun, 24 Mar 2019 19:08:23 +0000]
* Bugs 7724 13766 fixed [doc]: figure_properties/figure fixed/improved
http://bugzilla.scilab.org/7724 : Minimal figure sizes
http://bugzilla.scilab.org/13766 : At creation, .auto_resize="on"
makes .axes_size driving .figure_size
+ .figure_size & .axes_size warning when the figure is docked
Change-Id: Ia9a05df81de0431336c37952b44a9f59b6dd9e43
Samuel GOUGEON [Sun, 15 Dec 2019 20:44:41 +0000]
* Bugs 10353.1 16210 fixed [doc]: uicontrol.position .units
http://bugzilla.scilab.org/10353
http://bugzilla.scilab.org/16210
+ .string, .value: Description improved for spinner
Change-Id: Ib344d326248237a24de7da8f8a337a822bb2445e
Samuel GOUGEON [Sun, 15 Dec 2019 17:47:53 +0000]
[doc] mv data_structures/types => core/types
Change-Id: I5b43b671b4f258667d074e03a7a1efe428853717
Samuel GOUGEON [Sat, 14 Dec 2019 23:32:48 +0000]
%i_isreal() %i_real() %i_imag() added
This also enables isinf() and isnan() for integers.
Change-Id: I8bc31bcaa8c36cc14d99015003a6fa974311ccec
Samuel GOUGEON [Mon, 25 Nov 2019 01:53:37 +0000]
[doc] misc. typos, small fixes & improvements
* %k: m was wrongly restricted to R+. integral definition was missing.
* bitget: an example simplified
* freson: discrete: <programlisting> did not match <scilab:image>
* optim_sa: alone in its section => moved in ../
* http_upload had a wrong refname
* warning: translated versions were not up-to-date:
http://bugzilla.scilab.org/16265
Change-Id: Idfcbfa995158edb5af780d94a90cb3f91a462e60
Stéphane Mottelet [Tue, 10 Dec 2019 11:10:28 +0000]
[core] fix regressions after
c1f299d7
who_user unit test, bug 1473 NR test: linspace is not anynore a macro.
bug 12913 regression: integer type should be OK for size paramter.
Change-Id: I4be92b3accd76c0b83cdf18571de999b4094642d
Stéphane Mottelet [Thu, 19 Apr 2018 10:07:17 +0000]
* Bug 12999 fixed: now zeros() and ones() can return integers
http://bugzilla.scilab.org/12999
new syntax zeros(n1,..,nd,"type") and zeros(A,"type") are supported
for type in the set {double, boolean, (u)int(8|16|32|64)}
Legacy syntax works as before, i.e. zeros(A) is always a double and
empty matrix is always a double.
Change-Id: I4c3f9bbd42cadd058e6130e8dd4fc9bbfb1eeafa
Stéphane Mottelet [Tue, 10 Dec 2019 10:50:53 +0000]
[core] fix display.tst after
652361d9
Change-Id: I80555fd17b4e699e48d61026e556c3216d26ae6a
Stéphane MOTTELET [Fri, 13 Dec 2019 10:32:38 +0000]
[ast] fix oversized rational and polynomial display after
0000af49
In addition, the dash used for fraction bar has been downgraded to
straight minus sign because of incorrect display of unicode fullwidth
hyphen.
https://www.fileformat.info/info/unicode/char/ff0d/index.htm
with "monospace" font under Windows (although well supported with all
monospaced fonts under Linux and OSX).
This patch also include the fix for
http://bugzilla.scilab.org/show_bug.cgi?id=16158
Change-Id: I1f33edd7d30379a40fcafe8759f80ddfc4e3287b
Samuel GOUGEON [Wed, 11 Dec 2019 02:53:24 +0000]
* Bug 16275 fixed: fsolve(x0,fun,tol) ignored tol
http://bugzilla.scilab.org/16275
Change-Id: I6142d5d977bd5ec43635ac878d877b1f7489b86e
Samuel GOUGEON [Tue, 26 Nov 2019 21:15:39 +0000]
* Bug 16257: blockdiag() introduced
http://bugzilla.scilab.org/16257
PDF page: http://bugzilla.scilab.org/attachment.cgi?id=5028
sysdiag() will be obsoleted after merging this commit
(blockdiag() must first be available)
Change-Id: Ib5886cd71970f63c899ffad585ec9a98e871863b
Stéphane MOTTELET [Tue, 10 Dec 2019 16:22:58 +0000]
[api_scilab] fix bug_12426 failure with Scilab source version
Change-Id: I353a69639006e6a720a8301d76b55a7b6c65fa9d
Clément DAVID [Wed, 9 Jan 2019 10:16:32 +0000]
add a %foo_clear overloading on mlist
This overload will be called at the end of the scope when a variable
will not be accessible anymore for clearing allocated data.
Implementations for External Object and External Object Java are also
provided to avoid being forced to call `jremove`.
Change-Id: I13076e936f9d35a559e12a8668aaaaa6f7a6a8ab
Samuel GOUGEON [Sun, 8 Dec 2019 01:39:56 +0000]
* Bugs 15680 16242 16271 fixed: loadmatfile() improved
http://bugzilla.scilab.org/15680 : "-toStruct" => output struct added
http://bugzilla.scilab.org/16242 : "-octave" supported
http://bugzilla.scilab.org/16271 : Automatic format detection
Help page overhauled (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5030
Change-Id: I1d9864146f4c7b9835576661485d4ae7db17fb8e
Stéphane MOTTELET [Mon, 9 Dec 2019 09:52:51 +0000]
* Bug 16272 fixed: now spzeros(n,m) is spzeros(0,0) when n*m is 0
http://bugzilla.scilab.org/show_bug.cgi?id=16272
Change-Id: Ib13e90e8847d9e5dd7e3c00d2d47f49488904c55
Samuel GOUGEON [Sat, 6 Jul 2019 10:25:37 +0000]
* Bug 16139 fixed: auread() auwrite() kept sound file locked on error
+ The default .au sound file extension was poorly handled.
http://bugzilla.scilab.org/16139
Change-Id: Idbef7f8f689aaa8fd1108ec5f6c9589b6a649bb9
Stéphane MOTTELET [Mon, 26 Aug 2019 15:52:44 +0000]
* Bug 16152 fixed: after s=spzeros(2,3), s([]) returns sparse(0,0)
http://bugzilla.scilab.org/show_bug.cgi?id=16152
Also fixed the same bug with for boolean sparse and improved
display of type and emptyness.
Change-Id: I4cbac3a984cdac981806a69e1078abae74b8c68c
Stéphane MOTTELET [Mon, 9 Dec 2019 14:52:52 +0000]
[ast] fix string(rational) regression after
0000af49
Change-Id: I737bb55e9fd002214d8dc62d2f49512d8fe4b3f0
Stéphane MOTTELET [Wed, 27 Nov 2019 15:59:23 +0000]
[ast] improve display of (complex) polymomials and rationals
--> p=(1+%i+%s)^7
p =
8-8i -56is -(84+84i)s² -140s³ -(70-70i)s⁴ +42is⁵ +(7+7i)s⁶ +s⁷
--> p=1./[%s %s^2; (%s+1+%i)^2 %s^4] + %s+%i
p =
1 +is +s² 1 +is² +s³
───────── ──────────
s s²
-1 -(2-4i)s +(2+3i)s² +s³ 1 +is⁴ +s⁵
───────────────────────── ──────────
2i +(2+2i)s +s² s⁴
Change-Id: If3c4cc35cc7f4e02fe48b5d8f8acd07495501147
Stéphane MOTTELET [Tue, 18 Jun 2019 06:44:30 +0000]
* Bug 5512 fixed: now disp() respects arguments order
http://bugzilla.scilab.org/show_bug.cgi?id=5512
Change-Id: I2e8d3019017fca5b33ac94608a1fe20fe75cc918
Stéphane Mottelet [Tue, 18 Jun 2019 10:41:03 +0000]
[ast] fix reverse order of assignment display
Change-Id: I49832aa06d6549e7b111e7c58c0636912c96ba7f
Stéphane MOTTELET [Wed, 18 Sep 2019 14:41:44 +0000]
[ast] display trailling zeros when significant digit is hidden
This patch activates the display of trailing zeros only when
displaying a scalar, matrix display is unchanged:
--> x=1:0.1:2
x =
1. 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.
--> x(8)
ans =
1.7000000
--> x(8)-1.7
ans =
2.220D-16
Change-Id: I176ac635ddd7b10f9f9e4f57291b594e666bf59e
Stéphane MOTTELET [Wed, 19 Jun 2019 12:58:33 +0000]
* Bug 16118 fixed: now %s <> 1+%s returns %t
http://bugzilla.scilab.org/show_bug.cgi?id=16118
Change-Id: Id58c6e33513584572a6642a97b03f381eab4b4f5
Stéphane MOTTELET [Fri, 29 Nov 2019 08:54:56 +0000]
* Bug 16263 fixed: insertion in complex polynomial is repaired
https://bugzilla.scilab.org/show_bug.cgi?id=16263
This bug was also breaking addition of complex rationals:
https://bugzilla.scilab.org/show_bug.cgi?id=16262
https://bugzilla.scilab.org/show_bug.cgi?id=16261
Change-Id: Ic1daca304a967158a174573792be6968a44a9fe1
Stéphane MOTTELET [Tue, 3 Dec 2019 12:29:26 +0000]
* Bug 16264 fixed: now after empty loop iterator is empty
http://bugzilla.scilab.org/show_bug.cgi?id=16264
Change-Id: I6aa282aa795b85d44aefd722ad24fabad1c0e54a
Clément DAVID [Thu, 21 Nov 2019 08:15:18 +0000]
ast: fix Coverity #1407683 and #1407684
Change-Id: I2b71788ea0037b3924bb2a2b4a75ab9d8b37f9a0
Stéphane MOTTELET [Thu, 21 Nov 2019 09:00:00 +0000]
[ast] fix missing cases after
603f3ba1
-a(...) without fields or whatever on arrayof derived types
-first line display of addColumnString
added a spurious std::endl in mode(1).
Change-Id: I5fe0fe185e97b8458f70a450f0731d7c78945ee4
Stéphane MOTTELET [Fri, 19 Oct 2018 21:48:38 +0000]
[elementary_functions] linspace() c++ gateway gives tremendous speedup
40x speedup for typical sizes:
Scilab 6.0.1:
--> tic;for i=1:100000;linspace(0,2*%pi,1000);end;toc()
ans =
20.667936
Scilab master:
--> tic;for i=1:100000;linspace(0,2*%pi,1000);end;toc()
ans =
0.476891
and linear interpolation between arrays of any dimensions, e.g.
--> linspace(rand(2,2),rand(2,2),5)
ans =
(:,:,1)
0.8782165 0.5608486
0.068374 0.6623569
(:,:,2)
0.84025 0.5567008
0.1009091 0.5547864
(:,:,3)
0.8022836 0.552553
0.1334442 0.4472159
(:,:,4)
0.7643171 0.5484051
0.1659793 0.3396453
(:,:,5)
0.7263507 0.5442573
0.1985144 0.2320748
Change-Id: I81362a2d858f1a465f4becc6ae8a29aea4dbda28
Stéphane MOTTELET [Wed, 18 Sep 2019 10:13:44 +0000]
* Bug 15781 fixed: display of complex matrix was ugly
https://bugzilla.scilab.org/show_bug.cgi?id=15781
This patch strictly adresses the complex display problem.
Alignment is fixed and homegeneity is obtained by always displaying
a real and an imaginary part even when both are zero in all cases:
scalar, vector and matrix.
Change-Id: I1bb92a5387bbd939d998b1ae7e9fc6df46c30528
Stéphane MOTTELET [Thu, 3 Oct 2019 14:58:32 +0000]
[ast] improved polynomial display with unicode superscripts
Example:
--> [(1+%s)^7; 1+%s^12]
ans =
1 +7s +21s² +35s³ +35s⁴ +21s⁵ +7s⁶ +s⁷
1 +s¹²
Change-Id: I122941b9e35eb622ad36718e0e9ee311603bb8ae
Stéphane MOTTELET [Wed, 18 Sep 2019 17:18:03 +0000]
* Bug 16191 fixed: now mode(0) and mode(1) are really compact.
https://bugzilla.scilab.org/show_bug.cgi?id=16191
Change-Id: Ib69a6d17d2da00c64be28fa0ca79b6ba319c0efe
Stéphane MOTTELET [Wed, 2 Oct 2019 10:18:44 +0000]
* Bug 16209 fixed: grand(n,m,exp,1) may freeze Scilab with default generator
http://bugzilla.scilab.org/show_bug.cgi?id=16209
Change-Id: I11bb954a7a70d0d2862dba8dddc42d9dcada2fd0
Stéphane MOTTELET [Mon, 7 Oct 2019 11:39:08 +0000]
* Bug 16208 fixed: 3D string matrix may crash old C-api gateways
http://bugzilla.scilab.org/show_bug.cgi?id=16208
Change-Id: I5de8e746ce2f1976a9b2cb1f5a2bbe8e697ee4f0