[Scilab-Dev] eval() => evstr()

2013-01-20 Thread Samuel Gougeon
Hello, eval() is being tagged as obsolete at https://codereview.scilab.org/#/c/10237/ evstr() is claimed to be the proper replacement. Removing this -- almost -- duplicate is rather a good new. However, here is a case supported by eval() and not by evstr(): eval("plot2d()") // does the plot a

[Scilab-Dev] Execute callback in main_menubar.xml

2013-02-24 Thread Samuel Gougeon
Hello, The "File =>Execute" command from the console is defined in SCI\modules\gui\etc\main_menubar.xml Instead of running an exec(file) command, i would like to take mode() into account, and run exec(file, mode()) instead. Then, puzzingly, mode() is always equal to -1: Line#9, set ...then

Re: [Scilab-Dev] Scilab/SCIAO

2013-03-08 Thread Samuel Gougeon
Hello Luis, Yes indeed, it is a very interesting module. There is no optics devices in Modelica/Coselica, so it would be a very useful complementary part to Coselica in Xcos. I started to upgrade SCIAO last summer 2012 on my side. But the module must be completely revisited, since Scilab 5.4 (an

Re: [Scilab-Dev] searching for unique data within tlist of similar matrices

2013-03-15 Thread Samuel Gougeon
Hello, Le 26/02/2013 02:23, LETGODINU a écrit : Say I had a tlist called A that consists of matrix set in the form ["ai","bi","ci","di","ei","fi","gi"] and "ai" and "bi" as a pair are unique, i.e. in no matrices pairs are "ai" and "bi" equal and in no matrices pairs are "a1" = "a2" while "b1" =

Re: [Scilab-Dev] SEP 88: New functions to get remote files

2013-03-23 Thread Samuel Gougeon
Hello Sylvestre, Le 24/01/2013 18:14, Sylvestre Ledru a écrit : Hello, The attachment describes the SEP #88, targeting Scilab 5.5.0. The goal of this SEP is to propose the introduction of three new functions: * getURLcontent - Return the content of an URL (HTTP, HTTPS, FTP...) Profiles: filena

Re: [Scilab-Dev] xrpoly: drawing of many polygons of the same type

2013-03-29 Thread Samuel Gougeon
Hi Stanislav, Le 20/03/2013 13:55, Stanislav a écrit : SEP_088_xrpoly.odt This vectoriation is a good idea! I agree that implementing it in the same function as for only one polygon is much preferable, w.r.t. coding a specific xrpolys(

Re: [Scilab-Dev] xrpoly: drawing of many polygons of the same type

2013-03-31 Thread Samuel Gougeon
Hi Stanislav, Le 31/03/2013 11:12, Станислав a écrit : 30.03.2013 08:14, Samuel Gougeon пишет: This vectoriation is a good idea! I agree that implementing it in the same function as for only one

Re: [Scilab-Dev] Documentation system: notification about changes of the original help page

2013-05-12 Thread Samuel Gougeon
Le 11/05/2013 16:11, Stanislav a écrit : Hi. I have written a function which makes a list of all help pages. This list has 5972 files. I wonder if it is correct. Is there a file with full list of help pages (in all languages) or a program (function, script) which makes this list? I want to check

[Scilab-Dev] SEP#96 : cross()

2013-05-12 Thread Samuel Gougeon
Hello, The cross() function was wished by http://bugzilla.scilab.org/9941. It is being designed at https://codereview.scilab.org/#/c/11469/ through the Scilab Enhancement Proposal SEP#96 https://codereview.scilab.org/cat/11469%2C2%2CSEP/SEP_096_cross.odt It's a good new! Despite this SEP has not

[Scilab-Dev] SEP 95: issquare()

2013-05-12 Thread Samuel Gougeon
undreds of subscribers, other inputs would be welcome. Designing Scilab should be the matter of all present and forthcoming users. Regards Samuel Gougeon ___ dev mailing list dev@lists.scilab.org http://lists.scilab.org/mailman/listinfo/dev

[Scilab-Dev] SEP #95 : ismatrix(), isrow(), iscolumn(), IsAScalar()

2013-05-12 Thread Samuel Gougeon
// %F iscolumn(%pi) // %T iscolumn([1,1]) // %F iscolumn([1;1]) // %T iscolumn(rand(2,3)) // %F iscolumn(rand(1,1,3)) // %F iscolumn(rand(3,1,1)) // %T Comments of any forthcoming user would be very appreciable. Hope to read them soon, Regards Sa

Re: [Scilab-Dev] SEP #95 : ismatrix(), isrow(), iscolumn(), IsAScalar()

2013-05-18 Thread Samuel Gougeon
In addition, the suggested implementations work also for arrays of structures or/ and cell(), with unchanged answers. Tests are provided here-below for structures. Other remarks have been posted on bugzilla: http://bugzilla.scilab.org/show_bug.cgi?id=10456#c4 Samuel Gougeon

[Scilab-Dev] links: from XML to HTML | jar...

2013-08-13 Thread Samuel Gougeon
Hello, In order to point to a Scilab function in a help page, i have found several syntaxes for setting an hyperlink. Example: splin splin splin What are the differences between them? Which one is the most proper one, noticeably with respect to publication of help pages of external modules (

Re: [Scilab-Dev] links: from XML to HTML | jar...

2013-08-13 Thread Samuel Gougeon
More tests show that when type="scilab" is omitted, compilation of a xml source out of the Scilab tree skips the link: nothing is printed, even in simple text! while splin works as well as splin Out of Scilab, the link is not set, but at least "splin" is printed in simple text. Hope this

Re: [Scilab-Dev] SEP 88: New functions to get remote files

2013-09-07 Thread Samuel Gougeon
Le 24/03/2013 00:13, Markus Valtin a écrit : Am Samstag, 23. März 2013, 13:58:09 schrieb Samuel Gougeon: ... _Present embarassing limitations w.r.t. curl features_: The most frustrating one is that these functions allow only queries in GET method. The POST method is not available, whereas curl

Re: [Scilab-Dev] Scilab 5.4.1 Help Browser

2013-10-01 Thread Samuel Gougeon
of/in modules. Best regards Samuel Gougeon ___ dev mailing list dev@lists.scilab.org http://lists.scilab.org/mailman/listinfo/dev

Re: [Scilab-Dev] patch for JAVA_HOME

2013-12-05 Thread Samuel Gougeon
Le 05/12/2013 03:12, Ricardo Fabbri a écrit : has this patch been incorporated? Following the CodeReview link: yes, on Sep 4 11:36 AM ;) ___ dev mailing list dev@lists.scilab.org http://lists.scilab.org/mailman/listinfo/dev

Re: [Scilab-Dev] Release of Scilab 5.5.0.

2014-04-12 Thread Samuel Gougeon
Le 11/04/2014 17:45, Jean-Pierre Dussault a écrit : Le 2014-04-11 08:59, Scilab Communications a écrit : Dear Scilab Users, Scilab Enterprises is glad to announce the release of Scilab 5.5.0. Thank you! is there an easy and automatic way to reinstall all the toolboxes from a previous ver

Re: [Scilab-Dev] [SEP] Function for implicit plotting

2015-02-14 Thread Samuel Gougeon
Hello Pierre-Aimé, Yes, this feature would be great! Why creating a new function instead of implementing the new feature inside the existing plot()? Inserting a function or a string as argin#1 would be new, with no ambiguity and back-compatibility issue when parsing the arguments list. If stick

Re: [Scilab-Dev] Question about sparse(ij,v,mn) internals

2015-05-11 Thread Samuel Gougeon
Hello Stéphane, Le 11/05/2015 15:03, Stéphane Mottelet a écrit : Hello Scilab devs/masters, For performance purposes, i need to implement a function which is missing to Scilab, allowing to set at once all non-zero terms of a sparse matrix. Some other languages have this feature, e.g. Julia a

Re: [Scilab-Dev] Question about sparse(ij,v,mn) internals

2015-05-12 Thread Samuel Gougeon
Le 12/05/2015 08:34, Stéphane Mottelet a écrit : .../... Le 11/05/2015 21:16, Samuel Gougeon a écrit : .../... I may miss something: how do you specify the position of terms to be set with the v content? Is A already set, and you just want to replace its nz terms? Is .nzval the "lis

Re: [Scilab-Dev] Question about sparse(ij,v,mn) internals

2015-05-12 Thread Samuel Gougeon
Le 12/05/2015 10:14, Samuel Gougeon a écrit : Le 12/05/2015 08:34, Stéphane Mottelet a écrit : .../... Le 11/05/2015 21:16, Samuel Gougeon a écrit : .../... I may miss something: how do you specify the position of terms to be set with the v content? Is A already set, and you just want to

Re: [Scilab-Dev] Question about sparse(ij,v,mn) internals

2015-05-12 Thread Samuel Gougeon
Le 12/05/2015 11:09, Stéphane Mottelet a écrit : Le 12/05/2015 10:30, Samuel Gougeon a écrit : OK. So, unless i misunderstand you, this syntax is used only to update values at their current positions, not to set new positions or modify ones. exactly ! Stephane, Could you report your wish

Re: [Scilab-Dev] Question about sparse(ij,v,mn) internals

2015-05-12 Thread Samuel Gougeon
Le 12/05/2015 11:56, Samuel Gougeon a écrit : Le 12/05/2015 11:09, Stéphane Mottelet a écrit : Le 12/05/2015 10:30, Samuel Gougeon a écrit : OK. So, unless i misunderstand you, this syntax is used only to update values at their current positions, not to set new positions or modify ones

[Scilab-Dev] save(..) with internal timestamp? MD5 varying with unchanged content to be saved.

2015-06-09 Thread Samuel Gougeon
Hi, I have N figures. I would like to re-export only those that were modified in the meanwhile. Indeed, exporting with xs2### is rather time-consuming, in such a way that i am looking for a short-circuit. The way that i imagined is the following, for a figure of handle f : 1) f is saved in fi

[Scilab-Dev] freeing the "@" symbol?

2015-06-09 Thread Samuel Gougeon
Hi, The symbols documentation page states that For historical reasons, different symbols may represent the same operator: { as the same meaning as [ } as the same meaning as ] @ as the same meaning as ~ ` as the same meaning as < It is highly recommended not to use these features because th

Re: [Scilab-Dev] save(..) with internal timestamp? MD5 varying with unchanged content to be saved.

2015-06-12 Thread Samuel Gougeon
Hi, Le 10/06/2015 09:55, antoine.monmayrant+sci...@laas.fr a écrit : .../... Not really, it is a hdf5 issue, not a scilab one: http://stackoverflow.com/questions/16019656/hdf5-file-h5py-with-version-control-hash-changes-on-every-save Antoine Thanks Antoine. This very clear reference made m

Re: [Scilab-Dev] save(..) with internal timestamp? MD5 varying with unchanged content to be saved.

2015-06-13 Thread Samuel Gougeon
Le 13/06/2015 08:57, Samuel Gougeon a écrit : Thanks Antoine. This very clear reference made me posting on bugzilla to have a similar save() option disabling HDF5 version control when needed: http://bugzilla.scilab.org/13941 h5open() proposes several drivers: http://help.scilab.org/docs

Re: [Scilab-Dev] Functions with long names, compatibility between scilab 6 and 5.x

2015-07-10 Thread Samuel Gougeon
Hello, Le 10/07/2015 10:06, cont...@pierre-vuillemin.fr a écrit : .../... - more important: the long names of my functions are an issue with the stable version. In particular, "genlib" generated binary files with full names, and the "names" file contains also the full names of my functions.

Re: [Scilab-Dev] Functions with long names, compatibility between scilab 6 and 5.x

2015-07-15 Thread Samuel Gougeon
Hi Pierre, Le 15/07/2015 09:37, cont...@pierre-vuillemin.fr a écrit : .../... but this_is_a_very_very_long_function_name() is unknown. . You are right! When i did successfully the trial before posting to answer you, i used clear this_is_a_very_very_long_function_name before using lib, because

[Scilab-Dev] lib() unavailable on YaSp?

2015-07-15 Thread Samuel Gougeon
Hello S/E, lib() looks to be unknown in Scilab 6 (2015-07-12): -->dir ans = f3.bin f3.sci lib names -->lib(".") lib: is not a valid module file. Indeed, the gateway.xml where lib was formerly declared in 5.5.2 does not (yet?) include lib. Is it on purpose and definitive, or is it to come?

Re: [Scilab-Dev] lib() unavailable on YaSp?

2015-07-15 Thread Samuel Gougeon
Le 15/07/2015 12:31, Samuel Gougeon a écrit : Hello S/E, lib() looks to be unknown in Scilab 6 (2015-07-12): -->dir ans = f3.bin f3.sci lib names -->lib(".") lib: is not a valid module file. Actually, lib() well exists, but is bugged: the first character of the given p

Re: [Scilab-Dev] lib() unavailable on YaSp?

2015-07-15 Thread Samuel Gougeon
Hello Antoine, Thanks for your fast answer: Le 15/07/2015 13:24, Antoine ELIAS a écrit : It seems that you try to open a lib file build with Scilab 5 ( 24th first bytes with lot of 0x28 "(" ) use genlib("libname", "sci_files_path") to build lib and bin files to Scilab 6 And call lib("your_p

Re: [Scilab-Dev] lib() unavailable on YaSp?

2015-07-15 Thread Samuel Gougeon
Le 15/07/2015 13:24, Antoine ELIAS a écrit : .../... Scilab 6, no more create "names" file. New "lib" file ( xml format, it is readable ) contains all needed information. . Why not renaming it lib.xml? 1) This would better show its format, and -- overall -- 2) this would allow to distribute mod

Re: [Scilab-Dev] lib() unavailable on YaSp?

2015-07-15 Thread Samuel Gougeon
Le 15/07/2015 14:35, Samuel Gougeon a écrit : Le 15/07/2015 13:24, Antoine ELIAS a écrit : .../... Scilab 6, no more create "names" file. New "lib" file ( xml format, it is readable ) contains all needed information. . Why not renaming it lib.xml? 1) This would better

Re: [Scilab-Dev] lib() unavailable on YaSp?

2015-07-15 Thread Samuel Gougeon
Le 15/07/2015 14:53, Samuel Gougeon a écrit : .../... OK: a module may provide both lib files, and in its startup file, test the Scilab version and copy the right lib file in its ~\macros\ directory. But this is quite tricky. From now (5.5) and until Scilab 6.1, genlib() could generate both

[Scilab-Dev] Extraction from structures: %st_e() still used?

2015-08-22 Thread Samuel Gougeon
Hello, I wanted to test a modification in extractions from structures. First, i added a pause (ordisp("%st_e called") ) just after the function s = %st_e(varargin) prototype in order to test whether %st_e() is actually called. But it does nothing. The pause is not met! %st_e() looks no longer t

Re: [Scilab-Dev] Overloading operator "="

2015-08-27 Thread Samuel Gougeon
Hello, Le 25/08/2015 14:41, Pierre Vuillemin a écrit : .../... And a side question : can anyone create a project on the scilab forge? You may have a look there: http://forge.scilab.org/index.php/help/#q-newproject ___ dev mailing list dev@lists.scila

Re: [Scilab-Dev] Input requested on a few behaviors for Scilab 6...

2015-10-01 Thread Samuel Gougeon
< 0 => return [], even if start, step or stop is/are inf/-inf d) = iv): if start > end && step > 0 => return [], even if start, step or stop is/are inf/-inf e) if neither |start| nor |stop| are inf, && |step|==inf =&

Re: [Scilab-Dev] Input requested on a few behaviors for Scilab 6...

2015-10-01 Thread Samuel Gougeon
Le 01/10/2015 22:06, Samuel Gougeon a écrit : .../... 3. Clarify "a:b:c" ranges when one of a, b or c is infinite (%inf) or Not a Number (%nan); or when b is 0. .../.. What about this alternative?: By decreasing priority (read "else" at the end of each line): a) if sto

Re: [Scilab-Dev] Input requested on a few behaviors for Scilab 6...

2015-10-01 Thread Samuel Gougeon
Le 01/10/2015 22:20, Samuel Gougeon a écrit : .../... a) if stop is %nan => error b) if start or step is %nan => returns %nan . could be split into b1) if start is %nan => return %nan b2) if step is %nan => return start: the first element is well defined and could be returned

Re: [Scilab-Dev] Input requested on a few behaviors for Scilab 6...

2015-10-01 Thread Samuel Gougeon
case is met, for all releases 6.x.y < 6.2 Without warnings, many bugs hard to detect and fix would appear. Samuel Gougeon ___ dev mailing list dev@lists.scilab.org http://lists.scilab.org/mailman/listinfo/dev

Re: [Scilab-Dev] Input requested on a few behaviors for Scilab 6...

2015-10-01 Thread Samuel Gougeon
Forgotten case step==0 is reintroduced: .../... a) if stop is %nan => error b) if start or step is %nan => returns %nan could be split into b1) if start is %nan => return %nan b2) if step is %nan => return start: the first element is well defined and could be returned. c) = iii): if star

Re: [Scilab-Dev] Input requested on a few behaviors for Scilab 6...

2015-10-01 Thread Samuel Gougeon
Le 01/10/2015 18:37, François Granade a écrit : .../... 2. Make operations with the empty matrix more consistent --- In particular, change: 1 + [] to return [] in 6.0, instead of 1 in 5.5.2; and same for 1 - []. This would be more consistent with other operations ( 1*[], 1.^[] ...).

Re: [Scilab-Dev] Release Scilab 6.0.0 alpha 2

2015-12-01 Thread Samuel Gougeon
Hi, You may try to copy/paste SCI\.atoms, SCI\config, SCIHOME\.atoms and SCIHOME\config directories from 5.5.2 to 6.0. The original SCI\.atoms may first be renamed SCI\.atoms0 before processing. And then run atomsGui() as usually. HTH Samuel Gougeon Le 01/12/2015 22:35, Jean-Pierre Dussault a

Re: [Scilab-Dev] Improvement sugested

2016-01-26 Thread Samuel Gougeon
Hello, Le 18/06/2013 21:45, Jojolebestof a écrit : Hi, First, Good job for Scilab/Xcos/Modelica... I would like to sugest several improvements: - A system of Scilab auto-update (5.4.0 to 5.4.1 to ... but not 5.5.0) Why? for the user experience more easy and better - I do not understand

Re: [Scilab-Dev] SEP #40: Cell Arrays

2016-02-18 Thread Samuel Gougeon
syntax must be removed. Keeping it only for that is meaningless: --> typeof(c{:}) ans = list + A new *cell2list()* converter should rather be implemented. Hoping that this will convince you to remove the {} complicated addressing and the related data wrapping, Best regards Samuel Gougeon ___ dev mailing list dev@lists.scilab.org http://lists.scilab.org/mailman/listinfo/dev

Re: [Scilab-Dev] SEP #40: Cell Arrays

2016-02-18 Thread Samuel Gougeon
Le 18/02/2016 18:45, Samuel Gougeon a écrit : o Then, Scilab 6: c(5) = {"abcd"} will insert a true elementary cell as the c(1,3) c's component, not the string "abcd". This is a straightforward and very clear syntax. What is in RHS paramete

Re: [Scilab-Dev] SEP #40: Cell Arrays

2016-02-19 Thread Samuel Gougeon
Le 18/02/2016 18:45, Samuel Gougeon a écrit : *.../... The SEP does not present **_insertion and extraction of multiple components_ in a once*. * After still *c = { %pi %i %t ; %z "abc" list(1,%s)}, *the current implementation is the following: o *multiple insertio

[Scilab-Dev] : non-standard scilab implementation for the documentation <= Re: Update of the online documentation

2016-02-23 Thread Samuel Gougeon
at is internal to the page, instead of the reference to an external page : Option wb ... "wb" will show a link /Option wb/ that when ones click on it will go to the section of the page where the term "wb" appears. That's all. HTH Samuel Gougeon _

[Scilab-Dev] Coverage ? <= Re: Release Scilab 6.0.0 alpha 2

2016-02-28 Thread Samuel Gougeon
nderstand is that S/E needs to tell that it needs our feedback. I guess that we are expected to believe it. For the moment nothing really tell us that it needs more than telling it. But this can change. Thanks, and regards. Samuel Gougeon One of your 10 industrial downloaders/month Title: Scilab&#

[Scilab-Dev] Doc: and considerations. Missing resolved page_id#item_id addresses

2016-03-08 Thread Samuel Gougeon
Hi Clément, Le 04/03/2016 12:48, Clément David a écrit : Hi Samuel, Le mardi 23 février 2016 à 21:19 +0100, Samuel Gougeon a écrit : So, just to remember: just use like the tag, with providing a reference that is internal to the page, instead of the reference to an external page : Option

[Scilab-Dev] strcat([],"")~=[]+"" ? <= Re: A+[]

2016-03-08 Thread Samuel Gougeon
) or strcat([], "anything") now to return [] instead of ""*. What's your opinion about this? Moreover, most of string functions processing [] *already* return [] : *convstr([]) => [], string([]) => [], etc*. If the behavior of strcat([]) is changed, this should not

Re: [Scilab-Dev] SEP #40: Cell Arrays

2016-03-08 Thread Samuel Gougeon
Hello, Le 18/02/2016 20:41, Eric Dubois a écrit : Hello I am inclined to share Samuel point of view: this is a compliocation than could be avoided. But I cannot resist noting that the annoucement is 6 years older than the announcement of the weapon of mass destruction that consist in chang

[Scilab-Dev] oldEmptyBehaviour and warning("stop") on []+-

2016-03-08 Thread Samuel Gougeon
Sorry for the badly unretitled previous message. May i end it with a suggestion: Le 09/03/2016 01:18, Samuel Gougeon a écrit : Hello, Le 18/02/2016 20:41, Eric Dubois a écrit : Hello I am inclined to share Samuel point of view: this is a compliocation than could be avoided. But I cannot

[Scilab-Dev] warning("stop") or warning("trace") ?

2016-03-09 Thread Samuel Gougeon
Hi, Le 09/03/2016 01:18, Samuel Gougeon a écrit : * warning("stop"): i agree that, in order to update all contents and to be sure that results are reliable and not polluted by unpredictable "[]+-" side effects, this warning mode will have to be always activ

Re: [Scilab-Dev] strcat([],"")~=[]+"" ? <= Re: A+[]

2016-03-09 Thread Samuel Gougeon
Le 09/03/2016 20:18, Serge Steer a écrit : Up to Scilab 5.5.2, we had strcat([],"anything") == "" // as well as [] + "anything" == "" The fact that both expressions give the same result is correct, since they mean exactly the same operation. Not exactly the same meaning strcat(strarray,"anythin

[Scilab-Dev] Tuning CodeReview email notifications ?

2016-03-11 Thread Samuel Gougeon
Hello Scilab Team, Is there a way for a registered user of the Scilab Gerrit CodeReview to tune the content of notifications received by email? I tried through my Preferences, but they do not propose any option about this topic. For my part, * i am not sure that getting the full list of rev

Re: [Scilab-Dev] Tuning CodeReview email notifications ?

2016-03-11 Thread Samuel Gougeon
Simplifications of rationals ... This would really highlight the notified operation. Samuel Le 11/03/2016 21:24, Samuel Gougeon a écrit : Hello Scilab Team, Is there a way for a registered user of the Scilab Gerrit CodeReview to tune the content of notifications received by email? I tried through my

[Scilab-Dev] Graphics: curve edition: identifying the curve with set()/gce() ?

2016-03-11 Thread Samuel Gougeon
Hello Scilab Team, Curve edition is a quite new feature: clicking on a curve allows to select it before either interactively editing its points (move, delete, insert), or moving the whole curve. But from outside, * is it possible to know which curve is currently/has been lastly interactiv

Re: [Scilab-Dev] Graphics: curve edition: identifying the curve with set()/gce() ?

2016-03-11 Thread Samuel Gougeon
Le 11/03/2016 23:42, Samuel Gougeon a écrit : .../... is it possible to know which curve is currently/has been lastly interactively selected? * is there a way with a Scilab instruction to set the curve we want to edit data? For moving it, ged(..) can be used: OK . Actually, the

Re: [Scilab-Dev] Graphics: curve edition: identifying the curve with set()/gce() ?

2016-03-14 Thread Samuel Gougeon
the length). However, it may still miss important things... Any confirmation would be welcome. Regards Samuel Le vendredi 11 mars 2016 à 23:42 +0100, Samuel Gougeon a écrit : Hello Scilab Team, Curve edition is a quite new feature: clicking on a curve allows to select it before eithe

Re: [Scilab-Dev] Graphics: curve edition: identifying the curve with set()/gce() ?

2016-03-14 Thread Samuel Gougeon
Le 14/03/2016 15:59, Samuel Gougeon a écrit : Hello Clément, Le 14/03/2016 11:10, Clément David a écrit : Hello Samuel, If I understand correctly, it might be sufficient to set `gce` on when a graphical object is selected (not edited but just selected), no ? * Driving the focus for the

Re: [Scilab-Dev] Scilab index type should be generalized

2016-03-23 Thread Samuel Gougeon
Hello Stéphane, Le 23/03/2016 10:05, Stéphane Mottelet a écrit : .../... This means that Scilab handles 1:10 as any other vector of scrambled/duplicate indices without seeing that all the components are contiguous in memory. In fact, this behavior is a major bottleneck, as illustrated in the

[Scilab-Dev] ui tables: a review of helpful features

2016-03-24 Thread Samuel Gougeon
iling list, as well as on the discussion page opened with the wiki page. Best regards Samuel Gougeon https://help.scilab.org/docs/5.5.2/en_US/uicontrol.html ___ dev mailing list dev@lists.scilab.org http://lists.scilab.org/mailman/listinfo/dev

Re: [Scilab-Dev] [oldEmptyBehaviour()] displaying a warning message in both Scilab 5 and Scilab 6 behavior

2016-04-07 Thread Samuel Gougeon
Hello, Le 07/04/2016 10:16, Clément David a écrit : Hello (again) Scilab devs, TLDR: I don't want to re-open the []+"" behavior change flame-war but just to remove a warning on working Scilab 6 code and ask you about the merge timing. After the []+"" behavior change, the oldEmptyBehav

Re: [Scilab-Dev] [warning()] Extending management mode for a specific message

2016-04-07 Thread Samuel Gougeon
Hello (again), Thanks Clément for putting the discussion in the even more public domain :) If i may abstract, *there are 3 distinct topics*: 1. become able to identify each warning() with an id, and then become able to switch it "on" or "off" in a specific targeted way. 2. become able to de

Re: [Scilab-Dev] [warning()] Extending management mode for a specific message

2016-04-08 Thread Samuel Gougeon
Hello Clément, Le 08/04/2016 11:13, Clément David a écrit : Hello Samuel and good in depth analysis, To summarize : Le vendredi 08 avril 2016 à 01:11 +0200, Samuel Gougeon a écrit : Now, i may understand from your proposal that you don't want to go on this way. You might want to defin

Re: [Scilab-Dev] Coverage ? <= Re: Release Scilab 6.0.0 alpha 2

2016-04-08 Thread Samuel Gougeon
Hi again, Le 29/02/2016 08:16, Clément David a écrit : Hi Samuel, .../... The dev@ ML is in fact the right place to discuss new features or how to improve things. On the "coverage" feature especially it has been mainly developed by calixte as a tool to validate its analysis pass (not as a we

[Scilab-Dev] [a, b, c] = list(%pi, %i, %t, "Text")(:) anomaly

2016-04-11 Thread Samuel Gougeon
Hello Scilab Team, I am wondering about the following: L = list(%pi, %i, %t, "Text"); // Then [a, b, c] = L(:) // works, while [a, b, c] = list(%pi, %i, %t, "Text")(:) // doesn't: --> [a, b, c] = list(%pi, %i, %t, "Text")(:) list: Wrong number of output argument(s): 1 expected. Is it the e

[Scilab-Dev] and(%nan) ==%T

2016-04-12 Thread Samuel Gougeon
Hello, I am wondering about the following answers: --> s = %nan; --> or(s) ans = F --> and(s) ans = T With this last answer, we have a case such that although all entries are false -- otherwiseor() would answer %T--, and()applied to them is True. Is there a reason for that, or is it

[Scilab-Dev] or(%nan) ==%F ?

2016-04-12 Thread Samuel Gougeon
Le 12/04/2016 13:36, Samuel Gougeon a écrit : Hello, I am wondering about the following answers: --> s = %nan; --> or(s) ans = F --> and(s) ans = T With this last answer, we have a case such that although all entries are false -- otherwiseor() would answer %T--, and()applie

Re: [Scilab-Dev] or(%nan) ==%F ?

2016-04-13 Thread Samuel Gougeon
Le 12/04/2016 13:59, Samuel Gougeon a écrit : .../... The title of my post was and(%nan)==%T, while the strange thing is rather that or(%nan)==%F. Indeed, s being a real with unknown value, prob(s==0)/prob(s~=0) = 0, in such a way that or(%nan) should rather be %T No comment that could

[Scilab-Dev] uiwait()

2016-04-13 Thread Samuel Gougeon
Hello Scilab devs, uiwait() is a builtin used once and only in the function datatipCreatePopupMenu(). Apparently, it is used to wait for an answer from the user/Context menu before returning. Can this function be used for other uicontrols? I mean: it would be useful to be able to turn modal s

Re: [Scilab-Dev] uiwait()

2016-04-13 Thread Samuel Gougeon
Le 13/04/2016 20:43, Samuel Gougeon a écrit : Hello Scilab devs, uiwait() is a builtin used once and only in the function datatipCreatePopupMenu(). Apparently, it is used to wait for an answer from the user/Context menu before returning. Can this function be used for other uicontrols? I

[Scilab-Dev] slint() : remarks and suggestions

2016-04-19 Thread Samuel Gougeon
ust by splitting the /axes_properties/ page in 40 distinct pages, with one property per page, do we have a chance on review to be accepted and merged? This way of doing is shocking. By the way, i have searched these 40 pages on GIT/master to propose merging them (in a table, even more suitable than in a variablelist), but i did not find them. Quite strange. Hoping to read other comments soon. BR Samuel Gougeon ___ dev mailing list dev@lists.scilab.org http://lists.scilab.org/mailman/listinfo/dev

Re: [Scilab-Dev] slint() : remarks and suggestions

2016-04-19 Thread Samuel Gougeon
Le 19/04/2016 13:09, Samuel Gougeon a écrit : 1. .../... Calling Sequence slint(files [, conf, out]) slint(files [, out]) out = slint(files [, conf], print) Arguments files a matrix of strings, the .sci files or the directories to analyze

Re: [Scilab-Dev] slint() : remarks and suggestions

2016-04-25 Thread Samuel Gougeon
Hello, Here are some additional remarks about the "conf" configuration file, and the file of results: Le 19/04/2016 13:09, Samuel Gougeon a écrit : .../... * Presently, slint() does not allow o to *provide a **Scilab version against which the Scilab co

Re: [Scilab-Dev] Regarding tooltps in uitable

2016-06-02 Thread Samuel Gougeon
Hello, Thanks Rishubh for your proposal. Le 02/06/2016 15:56, Clément David a écrit : Hi Rish, I guess the simpler proposal is the better, from a user point of view : 1) "no value" : no tooltip is displayed Simply use the empty matrix scilab symbol [] for empty or none representation. ```

Re: [Scilab-Dev] Regarding tooltps in uitable

2016-06-02 Thread Samuel Gougeon
hankyou for inputs, I have blogged my results :http://batcode17.blogspot.in/2016/06/tooltips.html Please suggest if its upto the expectation or what modifications should I make. Thanking You Rishubh On Thursday, 2 June 2016 11:58 PM, Samuel Gougeon wrote: Hello, Thanks Rishubh for your p

Re: [Scilab-Dev] Regarding tooltps in uitable

2016-06-05 Thread Samuel Gougeon
Hello, Le 05/06/2016 09:31, Rishubh Jain a écrit : Hello, Thank You for your inputs. 1) I have updated my code and now I accept both types of input. ut.tooltipstring = ["a","","c","d"] and ut.tooltipstring = "[a,b,c,d]" The first one if the user want to input variables(string type) and al

Re: [Scilab-Dev] Regarding tooltps in uitable

2016-06-05 Thread Samuel Gougeon
Le 05/06/2016 16:03, Rishubh Jain a écrit : .../... Case 2: table_variable.tooltipstring="[a,b,c,d]"; 1-> How this will be used? This will be useful when all the elements passed in the tooltipString are strings and not variables. table_variable.toolt

Re: [Scilab-Dev] Regarding tooltps in uitable

2016-06-06 Thread Samuel Gougeon
Le 06/06/2016 02:39, Rishubh Jain a écrit : I don't use ",",";","[","]" as separators > table_variable.tooltipstring="[a,b,c,d,e,f,g,h,i,k]"; ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ | - | | not separat

[Scilab-Dev] codecheck() / slint() : semicolons at EOL... is not a rule.

2016-06-08 Thread Samuel Gougeon
ule should be removed from the set of defined ones, even if following it is not mandatory. Simply because it is not a rule /at all/, even for code styling. On the opposite, avoiding every useless symbol is a part of code styling, in such a way that the rule could be inverted: "/Check that

[Scilab-Dev] systmat() in module polynomial ? Loading rules

2016-06-09 Thread Samuel Gougeon
Hello all, I was wondering why the systmat() macro is located in the polynomials module instead of in the CACSD one, since systmat() is about CACSD. systmat() uses the built-in poly(), part() and eye(). Should poly(), part() and eye() be loaded before loading systmat.bin? I was convinced that n

Re: [Scilab-Dev] Switch to use Markdown for CHANGES

2016-06-10 Thread Samuel Gougeon
Hello Clément, Le 09/06/2016 19:08, Clément David a écrit : Dear Scilab contributors, For the (near to be released) beta-2, I updated the CHANGES files to use the Markdown format [1]. The idea is to be able to generate some document (html and pdf) from it in a semi-automatic way. Another poin

Re: [Scilab-Dev] Switch to use Markdown for CHANGES

2016-06-12 Thread Samuel Gougeon
Le 09/06/2016 19:08, Clément David a écrit : .../... It is currently not clear to me if we should add an empty line between each `*` Finely tuning the separation of elements is better and easy in the CSS with li { padding-top: 1mm; } Hence the compact lists of bugs are much nicer. The

Re: [Scilab-Dev] Regarding tooltps in uitable

2016-06-17 Thread Samuel Gougeon
The follow-up of this thread is there on the GSOC mailing list: http://mailinglists.scilab.org/Gsoc-Scilab-UI-Elements-tt4033780.html SG Le 09/06/2016 21:01, Rishubh Jain a écrit : Hi, I have uploaded a raw version of helper page https://codereview.scilab.org/#/c/18231/, I wanted some suggesti

[Scilab-Dev] Updating SCI/modules/helptools/etc/images_md5.txt

2016-06-18 Thread Samuel Gougeon
Hello Scilab Team, In order to ease completing contributions: When we add, remove or change an image generated in an help page, how then the registry SCI/modules/helptools/etc/images_md5.txt should be updated? Thanks Samuel ___ dev mailing list dev

[Scilab-Dev] CACSD help pages: many english copies in fr_FR, ja_JP, pt_BR and ru_RU directories..?

2016-06-19 Thread Samuel Gougeon
Hello Scilab Team, In the recent commit https://codereview.scilab.org/#/c/18190, hundreds of copies of CACSD XML files in english were made as is in fr_FR, ja_JP, pt_BR and ru_RU directories when translated pages were missing. This is very unusual. Is it on purpose? Regards Samuel __

[Scilab-Dev] SEP: histplot() and histc() upgrade

2016-06-20 Thread Samuel Gougeon
ade> will be the only up-to-date version. Any comments and suggestions are welcome and expected on this dev@ list. Best regards Samuel Gougeon SEP_2016_histplot_histc_upgrade_Wiki_1.pdf Description: Adobe PDF document ___ dev mailing li

Re: [Scilab-Dev] Data Points of Plot

2016-06-29 Thread Samuel Gougeon
Le 29/06/2016 15:48, adhitya a écrit : Hi, Consider the following example: x=[0:0.5:2*%pi]'; plot(sin(x)) The above plots the sine graph for each value in x with a corresponding value of y. My question is: Is it possible to get the main data points of the graph, before or just after it has be

[Scilab-Dev] CodeReview : switching between review Side-by-side / Unified diff does not work

2016-06-30 Thread Samuel Gougeon
Dear contributors and devs, In the CodeReview, once i switched to the Side-by-side review mode, switching back is impossible for me. It is very uncomfortable. I tried through my Preferences : despite an Error 500 code when i /Save changes/ to "Side-by-side", the new mode appears OK in the pref

Re: [Scilab-Dev] CodeReview : switching between review Side-by-side / Unified diff does not work

2016-06-30 Thread Samuel Gougeon
Le 30/06/2016 14:24, Samuel Gougeon a écrit : Dear contributors and devs, In the CodeReview, once i switched to the Side-by-side review mode, switching back is impossible for me. Sorry, it is just the opposite: i have switched once to the/Unified diff/ mode, and it's impossible to come

Re: [Scilab-Dev] CodeReview : switching between review Side-by-side / Unified diff does not work

2016-07-02 Thread Samuel Gougeon
Thank you Clément for your answer. Deleting the CodeReview cookie did not fixed the issue. But deleting cached pages from the browse history and restarting the browser fixed it. Samuel Le 30/06/2016 19:35, Clément David a écrit : Hello Samuel, I noticed some issue on the diff and some failu

Re: [Scilab-Dev] SEP: histplot() and histc() upgrade

2016-07-02 Thread Samuel Gougeon
Thank you for your attention. I will then implement features as presented. Best regards Samuel Gougeon Le 20/06/2016 21:20, Samuel Gougeon a écrit : Dear scilabers, Please find attached the initial version of a Scilab Enhancement Proposal (SEP) for *histplot()* and *histc()* existing

Re: [Scilab-Dev] Updating SCI/modules/helptools/etc/images_md5.txt

2016-08-03 Thread Samuel Gougeon
ss we have to better take care of multiple languages. Thanks for asking for clarification :), -- Clément Le samedi 18 juin 2016 à 21:38 +0200, Samuel Gougeon a écrit : Hello Scilab Team, In order to ease completing contributions: When we add, remove or change an image generated in an help page, h

[Scilab-Dev] vector^scalar allowed again in Scilab 6?

2016-08-05 Thread Samuel Gougeon
Hello, The warning message about the vector^scalar operation yielded in Scilab 5.5 has been removed from Scilab 6.0, as if this operation would become again allowed instead of becoming actually forbidden: Scilab 5: -->x = 1:3 x = 1.2.3. -->x^2 ! Warning: Syntax "vector ^ sc

Re: [Scilab-Dev] vector^scalar allowed again in Scilab 6?

2016-08-10 Thread Samuel Gougeon
Hello Pierre-Aimé, Le 10/08/2016 17:56, Pierre-Aimé Agnel a écrit : Hello, It was changed at resolution of http://bugzilla.scilab.org/show_bug.cgi?id=14316 I am not sure though whether enforcing the 'vector ^ scalar' error should be reintroduced. My 2-cents: there are many operations that

[Scilab-Dev] debug: remanent breakpoints

2016-08-17 Thread Samuel Gougeon
Hello the Scilab Team, I would like to point a special behavior of the new debugger. It looks a bit strange (and may be unhandy) to me, but after all it could be on purpose: When * we define some breakpoints in a function, * then we quit the debugger, * then we modify the function -- addin

  1   2   3   >