On Fri, Jan 27, 2012 at 03:56:50PM -0800, Alan Irwin wrote:
> On 2012-01-27 14:59-0500 Chris Marshall wrote:
>
>> Is there some reason that split cannot be used
>> for Octave releases and strsplit for more recent
>> ones rather than abandoning support for older
>> Octaves?
>
> Hi Chris:
>
> I think split is the way we should go since it doesn't compromise our
> current Octave 3.2.4 support and removes a roadblock for later Octave
> versions where the long-deprecated strsplit is no longer available.
> Also, 3.2.4 is already pretty old; 3.4.3 (!) is the recommended stable
> version of octave according to
> http://www.gnu.org/software/octave/download.html, and Orion is already
> using 3.6.0!  Thus, our support is already pretty far behind the
> recommended version and way behind Orion's cutting-edge version. The
> problem is you are asking us to stand pat so that _we might_ (since
> we have no comprehensive testing for older Octave platforms) be able
> to support versions of Octave older than 3.2.4, rather than making a
> simple change that is compatible with 3.2.4 and which should allow us
> to support the Octave recommended version and from what Orion reports
> maybe even the cutting edge version as well.
>
> In sum, my attitude is I am happy that we have been able to support
> Octave 3.2.4 pretty well considering our limited Octave resources, and
> I don't really trust versions of Octave earlier than 3.2.4 since we
> are unable to do comprehensive tests of such platforms any longer.
> (For example, my Debian Squeeze platform provides octave 3.2.4 but no
> version earlier than that.) In addition, if a small change like moving
> from strsplit to split also allows us to support everything up to
> Orion's cutting-edge Octave-3.6.0 that would be a tremendous bonus.
> After all, Orion has a long track record of testing PLplot for
> cutting-edge Fedora platforms for us, and we should continue to
> encourage that cutting-edge testing whenever possible.

Orion - the changes were committed to svn last week. Have you tried since then?
If so and it still fails, can you provide details?

Chris / Alan - supporting multiple versions in the same script is not an
option since octave parses the file to interpret it before running. Even
if an undefined command is within an if ... end block which won't be
used it will still cause the script to fail. One could make these files
configurable, but this is a lot of work to support version octave 3.0 
and earlier which are rather old now. Do you have a good reason for requiring
this support?

Alan - I think you mean strsplit not split. We used split up until last
week because that worked on newer versions as well as old versions, 
however according to Orion split has now been removed (it has been 
marked obsolete for some time causing warnings in the octave scripts). 
Getting rid of the warnings is another advantage of making 3.2 the minimum
supported version.

Andrew

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to