Clément David [Thu, 15 Jul 2021 13:50:48 +0000]
Merge remote-tracking branch 'origin/6.1'
Change-Id: I5d26fc380a28efe0bb6d0096fe9684b274b55bfe
mottelet [Tue, 25 May 2021 09:49:46 +0000]
* Bug 16601 fixed: libmatio >= 1.5.18 was not supported
http://bugzilla.scilab.org/show_bug.cgi?id=16601
Change-Id: I1630a353a0ac46681334ebd1512b71eea4935cb6
mottelet [Wed, 19 May 2021 14:11:21 +0000]
ac_aux_files includes compile script depending on autotools version
Change-Id: Icde0c1202e7c2833d5a140bd898cca0315feefab
mottelet [Thu, 27 May 2021 14:27:32 +0000]
[core] make getversion() aware of arm64 architecture
"arm64" has been selected as it is more widespread than the Linux-only
"aarch64" name. Only time will tell if this choice was good.
This commit also flatten the #ifdef/#endif architecture selection and
clarify the possible arches on Windows or macOS/Linux.
Change-Id: I207f7e80de89404d732207fcd9bcb688bf1545c3
Antoine ELIAS [Tue, 1 Jun 2021 09:00:47 +0000]
display destination path and welcome page in windows install in all cases (reinstallation)
Change-Id: I0590e2e6069b043d4dcf8f02629db86efcfac470
Samuel GOUGEON [Tue, 4 May 2021 18:12:07 +0000]
* Bugs 16438 16685: asciimat(text) fixed + various lengths + UTF8
asciimat() proposed page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5266
http://bugzilla.scilab.org/16438 :
Support to strings of distinct lengths added.
Support to strings including UTF8 extended characters added.
http://bugzilla.scilab.org/16685 :
asciimat(['ab';'';'ab']) result was wrongly shaped.
asciimat(['a';'';'b']) yielded an error.
asciimat(stringHypermat) squeezed dim#2 of the result and so
did not cope with Matlab/Octave's behavior.
test_run string asciimat
test_run string bug_14976
test_run statistics histc
To keep track of its files changes, asciimat() will be moved in [m2sci] only later.
In addition, an option could be implemented later, to make asciimat(text)
fully working in an elementwise way (as first proposed @
https://codereview.scilab.org/21566 )
Change-Id: I3183fc3d05491066816034802e8f09645261d76e
Cedric Delamarre [Wed, 26 May 2021 09:32:24 +0000]
dotdiv fixed
* restore overload for dotdiv between eye() and int
* template fixed for linux
See also http://bugzilla.scilab.org/show_bug.cgi?id=16667
Change-Id: Ie4f12cde19a9d6711e7233ef4cc3c1f2a17a04f7
Antoine ELIAS [Wed, 26 May 2021 07:51:39 +0000]
add function to get scilab version as string and revision
Change-Id: Ide9b3758286db1876116050aa21a816a9e68f064
Samuel GOUGEON [Mon, 10 May 2021 17:59:21 +0000]
* Bug 16664 fixed: diag(spzeros(2,2)) warned for Operation - []
http://bugzilla.scilab.org/16664
Test:
diag(spzeros(2,2))
// Must return without warning
--> diag(spzeros(2,2))
ans =
( 2, 1)zero sparse matrix
Change-Id: I3a55d6d2108b19e5f1cbadfcaaf46856760b20f8
Clément DAVID [Tue, 18 May 2021 07:53:15 +0000]
* Bug 15330 fixed: spec.tst was crashing on Linux
https://bugzilla.scilab.org/show_bug.cgi?id=15330
After lapack source code read, zgeev.f need rwork storage for detecting
its work sizes. Other memory leaks have also been fixed in this commit.
Change-Id: I8c90ce927caea264def831a484ab7a2173c3a46a
Samuel GOUGEON [Mon, 10 May 2021 17:44:51 +0000]
[xcos] OpAmp icon was too big
No need to have it so big and most often resize it:
https://help.scilab.org/docs/6.1.0/en_US/OpAmp.html
Change-Id: I09f6ea635e8c29e5231d8a52e2cc00fc3e1f2852
Cedric Delamarre [Mon, 17 May 2021 09:05:57 +0000]
move test file after
c296e494a846
Change-Id: I4a1cf09d00d5fa7d0061c0d3ae2de31bb62f4243
mottelet [Wed, 5 May 2021 16:44:36 +0000]
* Bug 16540 fixed: implemented snapToTicks spinner property
http://bugzilla.scilab.org/show_bug.cgi?id=16540
Change-Id: I352368987e084556bd9d8ab90c485abf3adf6896
Samuel GOUGEON [Mon, 3 May 2021 03:48:41 +0000]
* Bug 16683 fixed [m2sci] fix & improvements
http://bugzilla.scilab.org/16683
1) Extend the set of supported (Scilab) internal data types, without which
some bugs can't be fixed, and improving or extending supported conversions
won't be possible:
a) Missing vtype=Function added, with property Macro|Builtin|?
b) Missing vtype=Polynomial added, with property Real|Complex|?
c) Missing properties (in addition to Unknown) added, for existing vtypes:
Int: : "int8", "int16", "int32", "int64", "uint8", "uint16", "uint32", "uint64"
Handle: "Figure", "Axes".
String: String, Char (to distinguish "string" from 'char' (Matlab>2018).
Octave has only char). This is required before implementing the
parsing of "strings" in concurrence to to 'chars'.
Boolean:
- The default property is now Boolean instead of Real (was misleading).
- New property value: Sparse. (Currently, Sparse boolean are not supported).
d) Void: Removed. this vtype defined in m2sci() was used nowhere in the whole m2sci.
BTW, not sure that there is a single way in Matlab/Octave to get a void element.
e) Type(), m2sci() and m2scideclare() upgraded accordingly, to manage
all new vtypes and properties.
2) Funcall(): the LHS argin is now optional (default = list(), to which it had often be set.
For some known function names frequently used in sci_funs conversion functions,
it is automatically initialized accordingly.
3) Operation(): the out argout is now optional, with default = list().
4) Conversions TO FIX:
a) `a=1, b=2` was converted into `a = 1b = 2`, yielding a syntax error.
b) `['abc';'def']` : the result's property is now Char instead of Unknown.
c) The concatenation result now reflects concatenation precedence rules to set its
vtype and property. There were formerly set to the type of the last operand.
d) Function handles `@fun` were converted into a char 'fun'
instead of into a function-handle object.
ishandle(@sin) was converted into type("sin")==9 instead of type(sin)==9: Fixed.
e) `full(Boolean)` was returning `full(bool2s(Boolean))`, instead of the same.
`full(BooleanSparse)` conversion was yielding an error in convert2double:
Sparse boolean were never supported.
`full(String)` was returning `mtlb_full(String)` instead of the same.
f) `mtlb_full()` is removed. It was useless.
g) `sparse([true false])` conversion was yielding a `convert2double` error,
instead of `sparse([%t,%f])`.
h) `isa('logical')` was ignoring sparse booleans.
`isa('function_handle')` was ignoring builtins.
i) `isvector(Hypermat)` conversion was wrong (making isvector(rand(1,2,3)) returning %T).
j) `isreal` conversion was wrongly using eps=0: isreal(complex(1,0))
returns false with Matlab/Octave.
k) `[1 2]==1` result was having property=Real, instead of Boolean.
m) `Cste(["abc" "de" ; "fg" "hij"])` was initializing dims=list(2,10) instead of list(2,5).
n) `rem(a,b)` conversion was using a formula instead of `modulo(a,b)`.
5) Conversions IMPROVED:
a) 2*3*4*5 and 2*3/4 was converted into ((2*3)*4)*5 and (2*3)/4,
instead of staying unchanged.
b) `a = true || false` was converted into `a = %t;if ~%t then a = %f;end`,
instead of staying the same.
c) `a = true && false` was converted into `a = %f;if %t then a = %f;end;`,
instead of staying the same.
d) `a = 1; b = 2` was converted into `a = 1;b = 2` without space separating instructions.
e) `for..,end;` was terminated with a parasitic ";" sticking to `end` (instruction2code).
6) Conversions COMPLETED:
a) isa(x, 'integer') and isa(x, 'float') were not converted.
b) isreal() was not implemented for Sparse, Boolean Sparse, Handle, Struct,
Cell, and Function types.
7) MISC TO FIX:
a) In case of missing sci_function, the whole database of existing
Matlab functions (and related toolboxes) was loaded through
mtlbtoolfun() each time that such a case is met.
This was slow (1.12s x n).
Now the database is loaded only once, at the first need, and then
stored as global for direct access. New timing: (0.3ms x n).
b) Codes for ||, and && operators were missing in sciparam()
8) Documentation
a) m2scideclare() can be very helpful to check the vtype/property/size of a variable,
for instance in tests. This was deserving to be documented.
b) The table of vtypes is now in the Type() page, instead of the m2scideclare one.
In addition, the list of supported properties is now given in
the same table, for each vtype.
c) Operation(): the fields of the result were not explicitly named.
9) Conversions ADDED: deal(), gca(), gcf(), iscolumn(), isrow(), ismatrix()
10) Code style improved.
Change-Id: Ic1b24442780a2c94e500bd6b2d31b587dab0f9e5
Cedric Delamarre [Thu, 29 Apr 2021 14:01:06 +0000]
allow unsafe string for ocaml 8.06 and more
Change-Id: I211bdd07053f11bf8b3889e2b34e9d370f7d1f3d
Samuel GOUGEON [Thu, 29 Apr 2021 19:26:59 +0000]
%chars: missing gamma. More chars. %chars in scinotes
Change-Id: Ibcacb5d5313602c390ec3e25146976d79e2f3b3b
Clément DAVID [Thu, 29 Apr 2021 15:03:27 +0000]
core: remove getwd alias for getcwd
Needed to pass configure and make on Fedora 34. It also update
previously modified files with the correct automake version.
Change-Id: Ie29b1acc7e85ed6c054c13a1ee2188a5149b6b07
Samuel GOUGEON [Thu, 22 Apr 2021 18:17:13 +0000]
* Bug 16677 fixed: offline, atomsInstall() was flashing the console
http://bugzilla.scilab.org/16677
// Interactive test:
om = atomsGetConfig("offline");
atomsSetConfig offline True
atomsInstall(WSCI+"\modules\atoms\tests\unit_tests\toolbox_7V6_1.0-1.bin.zip", "user");
// The installation must succeed without flashing the console
atomsRemove toolbox_7V6
atomsSetConfig("offline", om);
Change-Id: I68e68673bc1919790062aa5fed345ca86698760d
Samuel GOUGEON [Sun, 18 Apr 2021 14:44:52 +0000]
[doc][equadif + polynomials] Unfold synopses + fix + improvements
+ some <screen> added
+ examples code style improved
+ non en_US sometimes desynchronized: fixed
+ some erroneous or missing required info added:
detr() is first applicable to rationals, not only to polynomials.
determ() is NOT restricted to real polynomials.
polfact() is restricted to real polynomials.
roots(): default="f" not "e"
sfact() accepts only square matrices.
+ some missing headers added (in fr versions)
Change-Id: Ia7713236af0734dc800f7f6ba7c29dbbe141962e
Samuel GOUGEON [Fri, 23 Apr 2021 19:14:19 +0000]
%p_s_r, %r_s_p, %r_a_p, %r_x_p: simplify duplicate codes
Change-Id: I7a3b6ad7a113a88ba23da3fe8e978618f178b14f
Samuel GOUGEON [Tue, 27 Apr 2021 08:59:27 +0000]
Fix %r_simp() about preliminary cleaning
Discussion @ http://mailinglists.scilab.org/Scilab-users-Strange-behaviour-of-prod-on-rationals-tt4040527.html
1) clean(n) and clean(d) formerly introduced (by me) are not correct
because they implicitly apply some default absolute threshold.
Such an absolute threshold is not relevant and even erroneous.
Indeed, a numerator with all coefficients very small like
1e-100 + 1e-110*%z *can* be meaningful. By the way, in a rational,
(1e-100 + 1e-110*%z)/%z and (1+1e-10*%z)/(1e100*%z) are equivalent.
So if clean() is used, it should be so with a 0 absolute threshold.
2) Now for the considered aim, here clean(n,0,reltol) would be useless:
At least one non-zero coefficient will always survive to it,
with no way to yield a constant null polynomial.
This is why these clean() must be removed.
This does not cancel the fix against the bug 13893, but makes the fix stricter.
If we want to go forward about simplification with some relevant cleaning,
this should be done *when operating* (+,-,.*,./) rationals, while
operands are still known, *not after* based only on the result.
Indeed, cleaning needs to be based on the order of magnitude of
*operands coefficients*, compared to the result ones.
On this respect, https://codereview.scilab.org/21742 is a good preliminary
that could avoid later implementing N times the same improvements.
Change-Id: I6fef298bc41b6dd1da45dac3aeaa80dda0b798ef
Samuel GOUGEON [Fri, 16 Apr 2021 20:58:09 +0000]
[doc][core] Unfold synopses (end, after d9e34a)
+ other small fix or improvements
Change-Id: I32aeab85504634bbfa2c96772fa078490815d797
Samuel GOUGEON [Fri, 13 Nov 2020 00:53:21 +0000]
* Bug 16592 fixed: | and & between complex and boolean or []
http://bugzilla.scilab.org/16592
Change-Id: I6e40de20fcaa68e293c3a36837bca1fa85eaf81b
Stéphane MOTTELET [Wed, 21 Apr 2021 12:56:27 +0000]
Revert "* Bug 16633: now Listbox callback can be triggered by item click"
There are redundant callbacks, which are unavoidable.
This reverts commit
bea89839ef0b59f42eb320f5da8f45c6a97435ef.
Change-Id: I5bc1d93407c6f382d2c686df4df462355c5b19c0
Samuel GOUGEON [Mon, 12 Apr 2021 14:45:51 +0000]
move unwrap() => [signal_processing]
together with detrend() and so. Its most relevant place.
Change-Id: Ib96eb5f6337f857bf6b558c5d5c864dc10285150
Samuel GOUGEON [Fri, 11 Dec 2020 14:43:54 +0000]
* Bug 14567 fixed [Scinotes]: Restore the TODO feature
http://bugzilla.scilab.org/14567
http://bugzilla.scilab.org/14567#c8
Built after
removal: https://codereview.scilab.org/#/c/18147
1st trial: https://codereview.scilab.org/18422
Not tested
Change-Id: I51188dcbed1106f6e62d3f43db54afcefd97c248
mottelet [Tue, 27 Apr 2021 13:18:02 +0000]
[core] leave file open when calling hash with file argument
Change-Id: I482dafe7e076a1a33c457b04e6146cc4b758f61f
Samuel GOUGEON [Fri, 16 Apr 2021 21:38:22 +0000]
* Bug 16284 fixed: typename() updated for Scilab 6 (11 'm', 'mc'=>'function')
http://bugzilla.scilab.org/16284
Change-Id: Ie1b66431b1487ccaaaa9cb066abc73b14426e40a
Clément David [Tue, 27 Apr 2021 10:53:56 +0000]
core: set SCI_VERSION_REVISION and SCI_VERSION_TIMESTAMP with default values
Change-Id: I471aa52e051995778701fc83fdd82c5bafca09de
Samuel GOUGEON [Thu, 22 Apr 2021 17:41:08 +0000]
* Bug 16679 fixed: get_function_path('acosh') yielded an error
http://bugzilla.scilab.org/16679
Change-Id: Ife5e2e8bffbe19a406112171ce73ea2639a1114f
Clément David [Tue, 6 Apr 2021 09:14:28 +0000]
elementary_functions: fix rand() with a single key letter after
02f1f9cd
Change-Id: I7a57b563875025b366cc5c96df93706356b155a3
Clément David [Mon, 12 Apr 2021 14:48:08 +0000]
sparse: make tests pass
Change-Id: I6cea469b850c8f1e8bbb8ba4c236fe74b8cee457
Clément David [Tue, 16 Mar 2021 13:14:35 +0000]
Bug #8761 fixed: Xcos masked superblocks had invalid names
Change-Id: I82c5d0481c832dbdeb4bf53eae95833050351687
Clément DAVID [Tue, 22 Dec 2020 11:04:46 +0000]
Linux build: fix doc building with javac 11
Change-Id: I19b42fc1e045c159a15a494ff3415a5a763ed9e7
Clément DAVID [Mon, 14 Dec 2020 14:26:15 +0000]
Update jflex to 1.8.2
This might be done on a minor release as:
* the library has no runtime.
* it is API/lang compatible
Change-Id: I19c62d0b75046bd36922f23815d1343b547acf14
Clément DAVID [Mon, 5 Oct 2020 15:45:47 +0000]
Xcos: fix opar integers encoding issues
Change-Id: I375d1c270a09a63ec5a6ca8225e8ea670ddf3380
Samuel GOUGEON [Mon, 12 Apr 2021 13:01:32 +0000]
[doc] gettext printf_conversion mprintf msprintf mfprintf pages updated & fixed
* update for numbered placeholders "%n$"
* update for boolean input
* printf_conversion fixed for many issues (see changes), and a lot improved.
I think that when processing the bug http://bugzilla.scilab.org/5511 10 years ago,
the uploaded XML were not the right ones: there were so many issues left...
(or i was more lazy :-/ )
Bundled PDF: http://bugzilla.scilab.org/attachment.cgi?id=5260
Change-Id: I755f6fa53140e3a357a55188d16ff36288c1fc8f
Cedric Delamarre [Thu, 8 Apr 2021 11:42:43 +0000]
* Bug 16661 fixed: now spzeros and sparse yield correct error messages
Messages about dimensions limitations are not explicit, see
https://bugzilla.scilab.org/show_bug.cgi?id=16661 . It also:
* restores big sparse features after
5b1796f8
* change error to warning when creating a sparse of size > INT_MAX
Change-Id: I750ba1a5b2ba4e2d36876df75fb81fa80e63cfa3
Samuel GOUGEON [Sat, 9 Jan 2021 01:01:10 +0000]
* Bug 16627: importgui => uiSpreadsheet. Internals => private. [fileio] => [ui_data]
http://bugzilla.scilab.org/16627
Change-Id: Ied3bec6e52cd343fa3f64d22d0a2824027057aec
Samuel GOUGEON [Fri, 2 Apr 2021 21:01:07 +0000]
* Bug 16665 fixed: help('echo') can redirect to help('mode') on preferences
http://bugzilla.scilab.org/16665
Interactive test:
// Preference unchecked (default):
help echo // => list of possible matching pages displayed on the left
preferences
// General/Documentation : check "Redirect Matlab terms to closest Scilab equivalent"
// validate and quit
help echo // => display the mode() page
help cot // => display the cotg() page. etc
Change-Id: I5129c130592fefb99180eb44d8abe245a00db7c0
Samuel GOUGEON [Thu, 20 Feb 2020 18:44:57 +0000]
* Bug 15481 fixed: scatter() & scatter3d()
http://bugzilla.scilab.org/15481
Moved from master @ https://codereview.scilab.org/21373
A short list of fixed issues:
USAGES
* scatter() nor scatter3d() could display a single data point (reported bug).
* The type of X, Y, Z was not checked, leading to weird error messages.
* X, Y (and Z) should have had the same shape, while only the same
length is actually required.
* The properties names were case-sensitive.
* Colors could not be scaled to data < %eps.
* Colors could not be specified by their #RRGGBB code nor their index.
* The handle of polylines was returned even when not requested.
* The example cleared the current figure instead of the current axes.
INTERNAL
a) Warnings were generated, instead of errors.
b) Warnings messages were not standard.
c) Warning messages were not localized.
d) The same colorIndex name was used to name a function and
a regular variable.
DOCUMENTATION
* The thickness option is for all markers. It was not indicated.
* Examples:
scatter():
. 2 clouds of points : images did not match the code
(negative coord impossible from rand())
. First spiral: the image did not match with the example code:
The code does not vary the size of dots.
scatter3d(): last example:
. p refered to nothing.
. color() was called with RGB in [0,1] instead of in [0,255] => dark
* UNIT TESTS: More than 50+50 tests added.
* FEATURES ADDED:
+ colors identified with "#RRGGBB" or indices
+ options "smallOnTop" and "datatips"
(documented only for scatter())
Change-Id: Id26797f8e713d7e3078031c8fc4d1db7c529606c
Cedric Delamarre [Thu, 8 Apr 2021 09:53:58 +0000]
Sparse: insertion in complex sparse fixed and leak fixed
Mat = sprand(1000, 1000, 0.01) + %i * sprand(1000, 1000, 0.01);
ind = [1 2 3];
Mat(ind, ind) = 0;
test_run ast sparse
test_run ast sparse mode_nwni_profiling
Change-Id: Iff07fdfa695fd35cb4e1c168bcabec038bd28c2a
Samuel GOUGEON [Sat, 24 Oct 2020 17:11:46 +0000]
[doc][m2sci_equivalents] A bit of cleaning and update
* many misc. fixes/updates (noticeably after Scilab 5=>6)
* delete all pages that tell nothing more than
Matlab Scilab
theFun theFun
* deactivate non-runnable <programlisting>
* explicits more list of compared syntaxes
After merging [m2sci_equivalent] separate module into [m2sci],
This is a second step to improve m2sci documentation.
Next one could be to merge corresponding m2sci_equivalent and
mtlb_# pairs of pages.
Change-Id: I0677117d98108982d354f2be6d8aa1175bdb2aba
Clément David [Fri, 2 Apr 2021 14:13:06 +0000]
[graphics] Axe default x|y|zlabels & title font sizes better tuned
Discussed @ http://mailinglists.scilab.org/Scilab-users-Default-x-y-z-labels-and-title-font-size-2-tp4041291p4041292.html
Change-Id: I60ad48f5461716a0e5f49c65b5c69e110465b2b4
mottelet [Thu, 12 Mar 2020 16:09:27 +0000]
[graphics] better logarithmic plots
Change-Id: I1356ffe8fa3b9503bd80959ad4495ec31430cfbe
mottelet [Fri, 2 Apr 2021 08:40:01 +0000]
Update CHANGES.md after
92f54c2a and
556b75cc
Change-Id: I2e7a78e0cb57a5c52e9b840583cafe0144207394
Samuel GOUGEON [Thu, 1 Apr 2021 20:55:34 +0000]
[doc] mv ru_RU/library.xml into [core] after 23e5595
Change-Id: I81297967a1af7446eb360db09991844b2c82e6eb
Samuel GOUGEON [Fri, 2 Apr 2021 06:50:06 +0000]
[doc] restore (and update) en_US plot.xml after f88f57f
after https://codereview.scilab.org/#/c/21609
Change-Id: Ibebbd246bcb2be2a9f2f36a36223c9d86f523b41
mottelet [Tue, 7 Jul 2020 08:30:17 +0000]
[core] allow scilab to use more secure hash functions
http://bugzilla.scilab.org/show_bug.cgi?id=4648
Introducing hash() function, see proposed help page at
http://bugzilla.scilab.org/attachment.cgi?id=5157
Change-Id: I825a4361ae81530e1257f1d9187c76ceee285729
mottelet [Wed, 20 Jan 2021 16:21:53 +0000]
* Bug 10964 fixed: now Scinotes can execute the current file in NW mode
http://bugzilla.scilab.org/show_bug.cgi?id=10964
This patch also allows the evaluation of a selection.
Change-Id: I14c3b519ec58ed9cd22c713f990a8ce6c2179f01
Samuel GOUGEON [Sun, 28 Aug 2016 04:31:48 +0000]
* Bug #14397 fixed - mgeti did not read u-int64 > 2^52
http://bugzilla.scilab.org/14397
Change-Id: I4115f4564df90a5cbf408b8e1a3b1667ee981be3
mottelet [Fri, 5 Feb 2021 14:23:04 +0000]
[fileio] allow mopen and mclose to handle multiple files
It would allow
files = listfiles("*.sce");
hash(mopen(files),"sha256")
if https://codereview.scilab.org/#/c/21697/ is merged, as hash() already
handles arrays of file descriptors.
Change-Id: I03e0224f66446f893336ccbe7569e01e460da119
Samuel GOUGEON [Fri, 7 Aug 2020 20:33:40 +0000]
* Bug 16529 fixed: deff() upgraded: output arg added, one-string def, etc
http://bugzilla.scilab.org/16529
New deff() page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5175
Change-Id: I37cff6f15eeb1730137e2ce21aaf63ee3a8dba5b
Samuel GOUGEON [Sat, 12 Dec 2020 17:31:16 +0000]
* Bug 16614 fixed: replot() could fail out of gcf()
http://bugzilla.scilab.org/16614
Change-Id: I960d9caf12880ce8e3c1c7942dfd213d9c39b2fb
Samuel GOUGEON [Sat, 28 Nov 2020 20:11:54 +0000]
[doc] pathsep() page improved
http://mailinglists.scilab.org/Scilab-users-pathsep-returns-under-linux-tt4041125.html
Change-Id: Ide8a623a73106bed78ed7d51d6f8f60a2fbde3d4
Samuel GOUGEON [Sat, 19 Dec 2020 15:20:32 +0000]
Default Java Heap increased to 512 MB
http://mailinglists.scilab.org/Scilab-users-Increasing-Scilab-default-Java-heap-memory-to-512-MB-tp4041162.html
Change-Id: I2e68dad445c829ddbf7b818b64fa02611940a05e
Samuel GOUGEON [Thu, 7 Jan 2021 21:00:53 +0000]
* Bug 16305 fixed: unwrap() failed unfolding straight segments
http://bugzilla.scilab.org/16305
Change-Id: I8015da57839530a120190869663d6e35d87ed2e9
Samuel GOUGEON [Thu, 22 Oct 2020 16:59:12 +0000]
* Bug 16288 fixed: wavread(): misleading error message
http://bugzilla.scilab.org/16288
Change-Id: Iae5a716065a68444dc27e1ea18085847c6af9f52
Samuel GOUGEON [Thu, 22 Oct 2020 17:25:22 +0000]
* Bug 16561 fixed: histplot(-10:0.2:10, 6) warning & error removed
http://bugzilla.scilab.org/16561
Change-Id: Ia6d282bf0ef450d2c52f8380b4a792f1da13f08a
Samuel GOUGEON [Tue, 26 Jan 2021 18:01:15 +0000]
* Bug 16634 fixed: wrong scilab -h for -l option / Linux
http://bugzilla.scilab.org/16634
Change-Id: I94c2149a85aab84f49f7e5206183b218a406ffda
Samuel GOUGEON [Thu, 30 Jul 2020 21:51:08 +0000]
[doc] misc fix & improvements
* insertion, extraction: Main <variablelist> replaced with <refsect3>
No content changed (the diff is far bad)
* gsort: rank of "" when sorting text
* polyline_properties: image of line styles fixed
* cumsum: + warning: sparse density => 100%: http://bugzilla.scilab.org/8100
+ completing http://bugzilla.scilab.org/14297 for cumsum
+ <latex alt=".."> added and other improvements
* mtlb_sparse: no longer exists: http://bugzilla.scilab.org/14477
* symbols: ** deprecated equivalent of ^:http://bugzilla.scilab.org/16568
* xsave: remark @ http://mailinglists.scilab.org/Scilab-users-xsave-or-save-tt4041024.html
* replot(): note added: gca() stays the same.
* example_run: description of moduleNames improved (for external modules)
This documents the change https://codereview.scilab.org/8698
* percent: wrong overload name fixed in example. See also improved.
SCI/modules/overloading/macros/README no longer exists.
* bode: example #3 plot: avoid extra tight x limit
Change-Id: Ia8a083ba7f80f7e91bf4f2e75ef92c0a74121486
Samuel GOUGEON [Tue, 2 Feb 2021 03:20:27 +0000]
* Bug 16639 fixed: atomsInstall & atomsRemove now update Toolboxes menu
http://bugzilla.scilab.org/16639
Test: see the How-to-reproduce
Change-Id: Id06f9d0c45e73c0f33a3e528d90eba12b05c4c20
mottelet [Fri, 5 Feb 2021 14:57:51 +0000]
[graphics] update S(f)grayplot after
c296e494
Change-Id: If87c73df6a0496f4f045be8502cab1891e7a719b
Cedric Delamarre [Wed, 31 Mar 2021 14:12:08 +0000]
debugger: deadlock in the java EDT due to the debug mode fixed
f=figure("closerequestfcn","disp(""closing""); close(gcf()); disp(""close done !"")");
debug
click on the close button of the figure
the EDT is waiting for the execution of the closerequestfcn
because storing a command in debug mode pause the thread.
When the main thread of Scilab execute close, the close function
wants to add something in the EDT which is paused.
Change-Id: I0996465dd9f9965e3ef05c845260c533aded6348
Samuel GOUGEON [Sun, 31 Jan 2021 01:06:44 +0000]
* Bug 16638 fixed: getcolor() rendering debugged
http://bugzilla.scilab.org/16638
Page illustrated: http://bugzilla.scilab.org/attachment.cgi?id=5226
Change-Id: I4235ec23407d3df5b87ac61f35e32f3d345c4fc7
Samuel GOUGEON [Sun, 31 Jan 2021 01:27:11 +0000]
[doc] uigetcolor() and colormap pages illustrated
Change-Id: If9f789ef94a51a330254a9172176783bb123f613
Samuel GOUGEON [Wed, 27 Jan 2021 22:05:08 +0000]
* Bug 16636 fixed: det(sparse) now actually implemented
http://bugzilla.scilab.org/16636
det() page overhauled: http://bugzilla.scilab.org/attachment.cgi?id=5223
Change-Id: I4da698b36746b1989a788c683147e407144373d6
mottelet [Mon, 18 Jan 2021 10:32:01 +0000]
* Bug 16631 fixed now readonly handle properties are reported as such
Change-Id: I55c9d0740f088fb91f06ea672b9732dec017eda0
mottelet [Tue, 19 Jan 2021 15:56:45 +0000]
* Bug 16632 fixed: now scilab starts with unsupported locale on macOS
http://bugzilla.scilab.org/show_bug.cgi?id=16632
Change-Id: Iaa378f254c3ec0bd807d50f152242c1cb53021ca
mottelet [Thu, 21 Jan 2021 07:48:37 +0000]
* Bug 16633: now Listbox callback can be triggered by item click
https://bugzilla.scilab.org/show_bug.cgi?id=16633
Movie: https://bugzilla.scilab.org/attachment.cgi?id=5219
Change-Id: Ia54de8cb31f21628b47d6e6a5514b13dafccb325
Samuel GOUGEON [Sat, 20 Jun 2020 21:17:42 +0000]
[doc] replace MathML with LaTeX (continue)
Change-Id: I0f1e697b17717699fda0e042b99852e028fcb63c
Samuel GOUGEON [Sun, 3 Jan 2021 23:28:57 +0000]
* Bug 16626 fixed: == and <> between libraries restored
http://bugzilla.scilab.org/16626
Change-Id: If355c53584c4def06158ce43a42ccf5db539716e
Antoine ELIAS [Fri, 26 Mar 2021 13:38:21 +0000]
create java user configuration at first start even in MW mode
Change-Id: I287f5410c43628751bd2eb6b8868458e8d2d4507
Cedric Delamarre [Fri, 26 Mar 2021 12:57:41 +0000]
debugger: error in try/catch and errcatch fixed
* the debugger must not stop when there is an error
with exec/execstr(..., errcatch) and in a try catch exp.
execstr("cos(""e"")", "errcatch")
try, 1+list(); catch, disp("error catched !"); end
Change-Id: I8c447a26bc0bd89e51562cf24e3c2c9e93eabff5
Antoine ELIAS [Fri, 26 Mar 2021 10:13:37 +0000]
reduce depth search to find figure during closing
Change-Id: I9baebc842b7e1780e4c579d74eb035332608baea
Cedric Delamarre [Fri, 26 Mar 2021 10:09:07 +0000]
debugger: callstack generation fixed with execstr
Change-Id: I8a658a696131b69410508a43d6faa92e877d76cb
Samuel GOUGEON [Tue, 27 Oct 2020 00:16:21 +0000]
* Bug 16573 fixed: mfile2sci: sci_axis is now reliable
http://bugzilla.scilab.org/16573
test_run m2sci AXIS enable_lt
Requires merging https://codereview.scilab.org/21614
(uses "Colon" defined in m2sci()).
Change-Id: I423387a6c92bafdc42e7108b0920586d77073fc0
Samuel GOUGEON [Sat, 2 Jan 2021 18:21:36 +0000]
* Bug 14098 [doc]: genlib() and library pages updated for Scilab 6
http://bugzilla.scilab.org/14098
Proposed updates (PDF):
genlib: http://bugzilla.scilab.org/attachment.cgi?id=5212
library: http://bugzilla.scilab.org/attachment.cgi?id=5213
Change-Id: I00d89dd42ccb08314b92806a1d225ff6cd7ecd7c
Samuel GOUGEON [Sat, 2 Jan 2021 23:18:03 +0000]
* Bug 16624 fixed: fullfile() ignored forced final filesep
http://bugzilla.scilab.org/16624
Change-Id: I691b90aa574478020b3c14c8054e634289e92955
Samuel GOUGEON [Fri, 1 Jan 2021 18:30:30 +0000]
[doc] power() improved page
en_US PDF: http://bugzilla.scilab.org/attachment.cgi?id=5211
Change-Id: I31f2963d5b8967cb27215a19670df1cb503e6ce8
Samuel GOUGEON [Thu, 24 Dec 2020 00:05:16 +0000]
* Bug 16620 fixed: polyint() introduced
http://bugzilla.scilab.org/16620
polyint page (en_US PDF): http://bugzilla.scilab.org/attachment.cgi?id=5204
Change-Id: I4d8c0e7d754886bf2900796ee2113f44311725c8
Samuel GOUGEON [Mon, 28 Dec 2020 00:46:54 +0000]
* Bug 11888 fixed [doc]: struct() page overhauled for struct arrays
http://bugzilla.scilab.org/11888
struct() page overhaulded (en_US PDF): http://bugzilla.scilab.org/attachment.cgi?id=5205
Change-Id: Ib0231567e6184a98e2e339f0bfffa41bff580068
Samuel GOUGEON [Tue, 22 Dec 2020 22:29:44 +0000]
* Bug 16618: close() extended to help xcos browsevar editvar
http://bugzilla.scilab.org/16618
close() en_US page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5202
Change-Id: I26fe9057c3cd64ee53225d3a2127ccba856e80d5
Samuel GOUGEON [Mon, 21 Dec 2020 23:09:00 +0000]
* Bug 16617 fixed: gamma() extended to incomplete cases
http://bugzilla.scilab.org/16617
gamma page (en_US PDF): http://bugzilla.scilab.org/attachment.cgi?id=5200
Change-Id: Ied34fae9a75f0bdc5cea60906bdba586feb7365f
Samuel GOUGEON [Mon, 14 Dec 2020 17:22:27 +0000]
nchoosek(4,2) displayed nothing
Change-Id: I83f55c7a34cd871dd3737502395130c8f28d9787
Samuel GOUGEON [Sun, 13 Dec 2020 02:52:32 +0000]
* Bug 16565: edit(user_defined_func) corrupted the original code
http://bugzilla.scilab.org/16565
http://bugzilla.scilab.org/16576
This somewhat improves the code, but fixes completely none of these reports:
There are some remaining issues.
Change-Id: If1d24383269c336bacc2bb540d34027baf9305e6
Samuel GOUGEON [Fri, 11 Dec 2020 19:52:21 +0000]
* Bug 16613 fixed: .*. and kron extended to booleans
http://bugzilla.scilab.org/16613
https://codereview.scilab.org/21641 might be required first
Change-Id: Ic34454d9d61704d443df3d3c5418aa885781bcbc
Samuel GOUGEON [Fri, 11 Dec 2020 16:03:41 +0000]
* Bug 16612 fixed: kron() now maps .*. for sparse numeric
http://bugzilla.scilab.org/16612
Change-Id: Ifd5ccd88157d9f5852661129760811e602da5e6c
Samuel GOUGEON [Mon, 7 Dec 2020 21:42:13 +0000]
* Bug 16608 fixed: union() extended to boolean and to sparse matrices
http://bugzilla.scilab.org/16608
union page updated (en_US PDF): http://bugzilla.scilab.org/attachment.cgi?id=5194
Change-Id: Id977654abc74264513c987253bb0e9bb1164be87
Samuel GOUGEON [Sat, 5 Dec 2020 15:47:01 +0000]
* Bug 13855 fixed [doc]: pause() page updated & improved
http://bugzilla.scilab.org/13855
New en_US page: http://bugzilla.scilab.org/attachment.cgi?id=5192 (PDF)
Change-Id: Ib7e11d938ba9629edc54df4cff2bfd331e9f3745
Samuel GOUGEON [Sun, 6 Dec 2020 00:38:39 +0000]
* Bug 15841 fixed: intersect() now accepts sparse
http://bugzilla.scilab.org/15841
Updated page: (en_US PDF)
Change-Id: I6d9db4a5dd49c3a28f39de2c3510166d87d4e7f9
Samuel GOUGEON [Mon, 2 Mar 2020 18:37:55 +0000]
* Bugs 16340 16451 fixed: setdiff('','') & 'c'|'r' with strings. + booleans + sparse
http://bugzilla.scilab.org/16340
http://bugzilla.scilab.org/16451 : extension to booleans
http://bugzilla.scilab.org/15868 : extension to sparse matrices
Change-Id: I6299184cf25918c3afadc1082c479af27994a882
mottelet [Tue, 23 Mar 2021 09:41:17 +0000]
* Bug 11600 fixed: now rand() parses its inputs as it should
http://bugzilla.scilab.org/show_bug.cgi?id=11600
Change-Id: I8f26c2f6caf1056de183f37ece4fb27350be754b
Samuel GOUGEON [Thu, 12 Nov 2020 01:53:10 +0000]
%b|s_#_s|b() overloads moved => [overloading]
All these overloads have been tested to get their actual status:
* The following are now no longer called (hard-coded):
%b_a_b(+), %b_s_b(-), %b_x_b(.*) => removed
* All other comitted ones are still called. They are used now for more
than 10 years in a transparent way by all users. So they can be
considered as native, no longer only for compatibility reasons.
=> proposal to move them in [overloading]:
- Only when s is complex:
%b_a_s(+), %b_s_s(-), %b_d_s(./), %b_x_s(.*),
%s_a_b, %s_s_b, %s_d_b(./), %s_x_b(.*)
- When s is real or complex:
%b_c_s([,]), %b_f_s([;]), %b_l_s, %b_p_s(^), %b_r_s, %b_l_b(\)
%s_c_b([,]), %s_f_b([;]), %s_l_b(\), %s_p_b(^), %s_r_b(/), %b_r_b(/)
%b_l_b and %b_r_b could be moved to [boolean] instead of [overloading],
but they would then be alone in booleanlib.
Change-Id: I31ee365958c075e136a3a7b2ef184cee4acdd761
Samuel GOUGEON [Tue, 27 Oct 2020 02:02:42 +0000]
[m2sci] Conversions of box() grid() cla() improved
test_run m2sci BOX enable_lt
test_run m2sci CLA enable_lt
test_run m2sci GRID enable_lt
subplot: not actually implemented
Change-Id: Icbb5c2d19f8f607225e6dba66977ee3ba81904b4
Samuel GOUGEON [Mon, 2 Nov 2020 21:14:18 +0000]
[m2sci] kernel misc. fixes & improvements
* %..operatio => %..operation fixed: ttypes are no longer limited to 8 chars
* sciparam: after https://codereview.scilab.org/21606
new codes for cells concatenations with braces.
* Function, Builtin : New predefined constants, required for instance
to distinguish nargin(@cos) from nargin('cos')
Not defined anywhere else in [m2sci].
* Colon : New predefined Variable (to ease definitions of
insertions and extraction with ":").
Not defined anywhere else in [m2sci].
* Help pages: various improvements, noticeably: examples added.
Change-Id: I60e74c2c6980980650023ae8bd6bc49ea4247891
Stéphane MOTTELET [Tue, 13 Oct 2020 11:28:06 +0000]
Revert
f56158b2 "[doc] string pages improved" for specific files where
the term "text" was abusively used instead of "string".
Change-Id: I85d764fcd6250815acdef55bbcf7432c8a7a04e4
Samuel GOUGEON [Wed, 28 Oct 2020 03:43:19 +0000]
[m2sci] kernel code reorganization: clarify dependencies & ease code browsing
test_run("m2sci",[],"enable_lt") // (no new failing tests)
No code content changed.
* changevarname() never called => DELETED
old2newinstr() called only only in changevarname() => DELETED
* Minor functions called within a single other one are transfered as
private functions:
("A=>B" means "A() called only in B(), and so transfered into B.sci")
get_unknown => in getvar2sci
default_trad => in funcall2sci
mtlbtoolfun => default_trad => funcall2sci
transformtree => mfile2sci
multi_fun_file => mfile2sci
infer2txt => m2sci
translateorder => translatepath
variablesearch => lst_funcall
funcallsearch => lst_funcall
get_unknown => getvar2sci
equal2sci => instruction2sci
clause2sci => instruction2sci
updatevarslist => (equal2sci, clause2sci) => instruction2sci
i_notation => m2sci_syntax
replace_brackets => syntax_m2sci
replace_end_dollar => syntax_m2sci
* Bigger functions called in a single one: left apart as public
+ dependency info added in their heading comment
m2sci: called only in mfile2sci()
lst_funcall: called only in translatepath()
sci_m2scideclare: called only in expression2sci()
funcall2sci: called only in expression2sci()
mtlbtoolfun: called only in default_trad()
Change-Id: Ic444781ac118902253ee88386ffb195073acf3f4
Samuel GOUGEON [Tue, 27 Oct 2020 23:06:44 +0000]
* Bugs 16567 16586 fixed: mfile2sci() supports block %{..%}. Appended comments improved"
http://bugzilla.scilab.org/16567
http://bugzilla.scilab.org/16586
test_run m2sci bug_16586
test_run m2sci COMMENTS_syntax enable_lt
Change-Id: Ia6df17cee2a2ec668b70f93ac1c78d3402ad0d9d
Samuel GOUGEON [Mon, 26 Oct 2020 00:53:06 +0000]
* Bug 16552 [m2sci]: cd, dir, dos, exist, ferror, +ismac, ispc, isunix, return
http://bugzilla.scilab.org/16552
test_run m2sci CD enable_lt
test_run m2sci DIR enable_lt // fails for another generic reason
test_run m2sci DOS enable_lt
test_run m2sci FERROR enable_lt
test_run m2sci ISPC enable_lt
test_run m2sci ISUNIX enable_lt
test_run m2sci ISMAC enable_lt
test_run m2sci EXIST enable_lt
test_run m2sci RETURN enable_lt
test_run m2sci END_index_syntax enable_lt
Change-Id: I3b16b269eb12ce91ecf6ef4a141e1ed51a9ebb6f