From sgougeon at free.fr Wed Aug 3 18:22:05 2016 From: sgougeon at free.fr (Samuel Gougeon) Date: Wed, 3 Aug 2016 18:22:05 +0200 Subject: [Scilab-Dev] Updating SCI/modules/helptools/etc/images_md5.txt In-Reply-To: <1466752509.2848.28.camel@scilab-enterprises.com> References: <5765A333.10109@free.fr> <1466752509.2848.28.camel@scilab-enterprises.com> Message-ID: <57A21A2D.7060300@free.fr> Hello Cl?ment, So, as far as i understand, images_md5.txt is updated when the doc is built. As a consequence, there is no need to update it//by hand after changing images in xml files, provided that -- as you indicated it -- all images are the same in all languages or alternately localized="true" is set in the customized tags. And there is no need to commit it with changed xml. Am i right? Regards Samuel Le 24/06/2016 09:15, Cl?ment David a ?crit : > Hello Samuel, hello all, > > `make doc` (or `xmltojar`) should update it. This file is used to have cache on generated images. > Note that it is only valid if all languages are correct ; all the examples across languages should > be the same. If they are different due to translated string, use localized="true". > > Before beta-2 I spend some time fixing the documentation build due to some issues with examples. I > guess 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, how then the registry SCI/modules/helptools/etc/images_md5.txt should be updated? >> >> Thanks >> Samuel >> >> _______________________________________________ >> dev mailing list >> dev at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/dev > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From caioc2bolado at gmail.com Wed Aug 3 22:53:49 2016 From: caioc2bolado at gmail.com (Caio Souza) Date: Wed, 3 Aug 2016 17:53:49 -0300 Subject: [Scilab-Dev] Scilab Crash Message-ID: Hi, I noticed a crash after loading a figure with datatips, delete one of its datatips and closing the graphic window. I'm using ubuntu LTS 14.04 64 bits WIth the following: terminate called after throwing an instance of > 'GiwsException::JniCallMethodException' > what(): Exception when calling Java method : > at > org.scilab.modules.graphic_objects.graphicController.GraphicController.recursiveDeleteChildren(Unknown > Source) > at > org.scilab.modules.graphic_objects.graphicController.GraphicController.recursiveDeleteChildren(Unknown > Source) > at > org.scilab.modules.graphic_objects.graphicController.GraphicController.recursiveDeleteChildren(Unknown > Source) > at > org.scilab.modules.graphic_objects.graphicController.GraphicController.removeRelationShipAndDelete(Unknown > Source) > at > org.scilab.modules.graphic_objects.CallGraphicController.removeRelationShipAndDelete(Unknown > Source) > at > org.scilab.modules.graphic_objects.graphicController.GraphicController.recursiveDeleteChildren(Unknown > Source) > at > org.scilab.modules.graphic_objects.graphicController.GraphicController.recursiveDeleteChildren(Unknown > Source) > at > org.scilab.modules.graphic_objects.graphicController.GraphicController.recursiveDeleteChildren(Unknown > Source) > at > org.scilab.modules.graphic_objects.graphicController.GraphicController.removeRelationShipAndDelete(Unknown > Source) > at > org.scilab.modules.graphic_objects.CallGraphicController.removeRelationShipAndDelete(Unknown > Source) > A fatal error has been detected by Scilab. > Please check your user-defined functions (or external module ones) should > they appear in the stack trace. > Otherwise you can report a bug on http://bugzilla.scilab.org/ with: > * a sample code which reproduces the issue > * the result of [a, b] = getdebuginfo() > * the following information: > [CaioC2:27231] Signal: Aborted (6) > [CaioC2:27231] Signal code: (-6) > > Call stack: > 1: 0x36c37 > (/lib/x86_64-linux-gnu/libc.so.6) > 2: 0x3a028 > (/lib/x86_64-linux-gnu/libc.so.6) > 3: 0x60535 <__gnu_cxx::__verbose_terminate_handler()> > (/usr/lib/x86_64-linux-gnu/libstdc++.so.6) > 4: 0x5e6d6 < > > (/usr/lib/x86_64-linux-gnu/libstdc++.so.6) > 5: 0x5e703 < > > (/usr/lib/x86_64-linux-gnu/libstdc++.so.6) > 6: 0x5e922 < > > (/usr/lib/x86_64-linux-gnu/libstdc++.so.6) > 7: 0x21893 > int)> > (/home/caioc2/scilab/scilab/modules/graphic_objects/.libs/libscigraphic_objects.so.6) > 8: 0x30dee > (/home/caioc2/scilab/scilab/modules/graphics/.libs/libscigraphics.so.6) > 9: 0x3bfea3 > std::allocator >&, > std::unordered_map, > std::allocator >, types::InternalType*, > std::hash > (/home/caioc2/scilab/scilab/modules/ast/.libs/libsciast.so.6) > 10: 0x3b53d8 std::allocator >&, > std::unordered_map, > std::allocator >, types::InternalType*, > std::hash > (/home/caioc2/scilab/scilab/modules/ast/.libs/libsciast.so.6) > 11: 0x1bfeb4 > ::visitprivate(ast::CallExp const&)> > (/home/caioc2/scilab/scilab/modules/ast/.libs/libsciast.so.6) > 12: 0x1ba1ac > ::visitprivate(ast::SeqExp const&)> > (/home/caioc2/scilab/scilab/modules/ast/.libs/libsciast.so.6) > 13: 0x180bc5 > ::visitprivate(ast::IfExp const&)> > (/home/caioc2/scilab/scilab/modules/ast/.libs/libsciast.so.6) > 14: 0x1ba1ac > ::visitprivate(ast::SeqExp const&)> > (/home/caioc2/scilab/scilab/modules/ast/.libs/libsciast.so.6) > 15: 0x1cbf29 > (/home/caioc2/scilab/scilab/modules/.libs/libscilab-cli.so.6) > 16: 0x1c5da2 > (/home/caioc2/scilab/scilab/modules/.libs/libscilab-cli.so.6) > 17: 0x2179
> (/home/caioc2/scilab/scilab/.libs/lt-scilab-bin) > 18: 0x21f45 <__libc_start_main> > (/lib/x86_64-linux-gnu/libc.so.6) > 19: 0x26df < > > (/home/caioc2/scilab/scilab/.libs/lt-scilab-bin) > End of stack Anyone can confirm the issue? Thanks Caio SOUZA -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Fri Aug 5 17:24:03 2016 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 5 Aug 2016 17:24:03 +0200 Subject: [Scilab-Dev] vector^scalar allowed again in Scilab 6? Message-ID: <57A4AF93.7000301@free.fr> 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 ^ scalar" is obsolete. It will be removed in Scilab 6.0. Use "vector .^ scalar" instead. ans = 1. 4. 9. Scilab 6.0.0-b2: --> warning("on") --> x = 1:3 x = 1. 2. 3. --> x^2 ans = 1. 4. 9. Is it on purpose? Is this shortcut restored? -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre-aime.agnel at scilab-enterprises.com Wed Aug 10 17:56:59 2016 From: pierre-aime.agnel at scilab-enterprises.com (=?UTF-8?Q?Pierre-Aim=c3=a9_Agnel?=) Date: Wed, 10 Aug 2016 17:56:59 +0200 Subject: [Scilab-Dev] vector^scalar allowed again in Scilab 6? In-Reply-To: <57A4AF93.7000301@free.fr> References: <57A4AF93.7000301@free.fr> Message-ID: 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 have the same behaviour that their dot-operation counterpart when used with a scalar. I think the operation should remain available, but I can also enforce the obsolescence in the release for 6.0.0. Best regards Le 05/08/2016 ? 17:24, Samuel Gougeon a ?crit : > 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 ^ scalar" is obsolete. It will be removed in > Scilab 6.0. > Use "vector .^ scalar" instead. > ans = > 1. 4. 9. > > Scilab 6.0.0-b2: > --> warning("on") > > --> x = 1:3 > x = > 1. 2. 3. > > --> x^2 > ans = > 1. 4. 9. > > Is it on purpose? Is this shortcut restored? > > > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev -- Pierre-Aim? Agnel R&D Projects Manager Phone: +33.1.80.77.04.67 Mobile: +33.6.82.49.35.23 ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.60 http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Wed Aug 10 20:02:15 2016 From: sgougeon at free.fr (Samuel Gougeon) Date: Wed, 10 Aug 2016 20:02:15 +0200 Subject: [Scilab-Dev] vector^scalar allowed again in Scilab 6? In-Reply-To: References: <57A4AF93.7000301@free.fr> Message-ID: <57AB6C27.9000102@free.fr> 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 > have the same behaviour that their dot-operation counterpart when used > with a scalar. > > I think the operation should remain available, but I can also enforce > the obsolescence in the release for 6.0.0. > Thanks for your answer. I understand that the reversion of the vector^scalar change was done when fixing #14316, but as far as i understand, things are not connected. This reversion was not mandatory to fix #14346. IMO, what was planed for Scilab 6 was great. I know that this syntax vector^scalar instead of vector.^scalar was very widespread. But instead of parsing vector^scalar as vector.^scalar as in Scilab <6 or always yielding an error, why not making Scilab 6 testing whether the overload %s_p_s() (or other%@_p_@() overload according to operands types) exists. Then, users wanting to work with the old equivocal behavior could define deff("r=%s_p_s(a,b)","r=a.^b") in their library (or startup file) instead of changing all their code. Or/and include their own warning in their overload whether they wish to actually upgrade their code. And that's it. Best regards Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre-aime.agnel at scilab-enterprises.com Thu Aug 11 10:27:21 2016 From: pierre-aime.agnel at scilab-enterprises.com (=?UTF-8?Q?Pierre-Aim=c3=a9_Agnel?=) Date: Thu, 11 Aug 2016 10:27:21 +0200 Subject: [Scilab-Dev] vector^scalar allowed again in Scilab 6? In-Reply-To: <57AB6C27.9000102@free.fr> References: <57A4AF93.7000301@free.fr> <57AB6C27.9000102@free.fr> Message-ID: <9a72a94d-5715-178f-2b70-6cc4558a7849@scilab-enterprises.com> Hi Samuel, Le 10/08/2016 ? 20:02, Samuel Gougeon a ?crit : > 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 >> have the same behaviour that their dot-operation counterpart when >> used with a scalar. >> >> I think the operation should remain available, but I can also enforce >> the obsolescence in the release for 6.0.0. >> > > Thanks for your answer. > I understand that the reversion of the vector^scalar change was done > when fixing #14316, > but as far as i understand, things are not connected. This reversion > was not mandatory to fix #14346. > > IMO, what was planed for Scilab 6 was great. > > I know that this syntax vector^scalar instead of vector.^scalar was > very widespread. But instead of parsing vector^scalar as > vector.^scalar as in Scilab <6 or always yielding an error, why not > making Scilab 6 testing whether the overload %s_p_s() (or > other%@_p_@() overload according to operands types) exists. Then, > users wanting to work with the old equivocal behavior could define > deff("r=%s_p_s(a,b)","r=a.^b") in their library (or startup file) > instead of changing all their code. Or/and include their own warning > in their overload whether they wish to actually upgrade their code. > And that's it. > In my humble opinion, this is a great proposal that can benefit everyone, we just have to check the already existing overloads to see if there are any interferences. > Best regards > Samuel > > > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev -- Pierre-Aim? Agnel R&D Projects Manager Phone: +33.1.80.77.04.67 Mobile: +33.6.82.49.35.23 ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.60 http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Wed Aug 17 23:39:23 2016 From: sgougeon at free.fr (Samuel Gougeon) Date: Wed, 17 Aug 2016 23:39:23 +0200 Subject: [Scilab-Dev] debug: remanent breakpoints Message-ID: <57B4D98B.5050306@free.fr> 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 -- adding or removing lines, etc -- * then we exec() the function file to update it * then we reenter the debugger The former breakpoints are then still defined at unchanged line numbers, but, obviously, the contents pointed by these references are no longer the same, since the function content has changed. So, my questions are : * When we quit and reenter the debugger, former breakpoints are still defined. They are remanent from the previous debug session. Is this behavior on purpose? I think it could be so, but then imo it would be worthwhile to document it. Moreover, an debug() launching option or/and a debug() environment variable tuning its behavior could be useful. * When some breakpoints have been defined for a function, *and* the function is then updated (exec(), redefined with deff() or with lib(), etc), its former breakpoints are not removed. Is this behavior implemented on purpose? IMO, it could be useful as is, when the modification of the function did not change the number and order of its lines. But quite often it won't be the case: we will wish to cancel former breakpoints and redefine new ones for this function. Unfortunately, there is no way to easily remove all breakpoints of a function in a once: We have to remove them one by one. This is very unhandy. Knowing what are the expected behaviors will help in reporting wishes or bugs. Thanks Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Wed Aug 24 12:41:32 2016 From: sgougeon at free.fr (Samuel Gougeon) Date: Wed, 24 Aug 2016 12:41:32 +0200 Subject: [Scilab-Dev] vector^scalar allowed again in Scilab 6? In-Reply-To: <9a72a94d-5715-178f-2b70-6cc4558a7849@scilab-enterprises.com> References: <57A4AF93.7000301@free.fr> <57AB6C27.9000102@free.fr> <9a72a94d-5715-178f-2b70-6cc4558a7849@scilab-enterprises.com> Message-ID: <57BD79DC.3000202@free.fr> Le 11/08/2016 10:27, Pierre-Aim? Agnel a ?crit : > > Hi Samuel, > > Le 10/08/2016 ? 20:02, Samuel Gougeon a ?crit : >> .../... >> Thanks for your answer. >> I understand that the reversion of the vector^scalar change was done >> when fixing #14316, >> but as far as i understand, things are not connected. This reversion >> was not mandatory to fix #14346. >> >> IMO, what was planed for Scilab 6 was great. This was as well pointed by Calixte in http://bugzilla.scilab.org/14079 Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: