DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Distance From Command

 
Post new topic   Reply to topic    DPlot Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
jsc



Joined: 02 Dec 2005
Posts: 222

PostPosted: Sun Apr 09, 2006 10:51 pm    Post subject: Distance From Command Reply with quote

With 2.0.47, I was working on a plot and used the Info>Distance from command. With the input dialog box up, I tried to type the date and time into X1. As soon as I typed "2/" for the date, DPlot "disappeared", ie, crashed and blew up with no error message or complaint.

Seems to work fine with mouse input. It just didn't like the slash character when I started typing the date.
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Mon Apr 10, 2006 9:59 am    Post subject: Reply with quote

Well that's certainly rude, isn't it? Thanks for pointing out the problem, will fix this as soon as possible.
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Mon Apr 10, 2006 11:36 pm    Post subject: Reply with quote

Fixed. You can get the fixed version using Help>Check for Updates.

There were two separate problems here:
1) Updating the display every time a text box changed (as in typing a single key), as opposed to waiting until the text box lost focus. I can't think of a good reason for doing this and am not sure why it was written that way to start with, other than I was just having a bad day. Dates are an obvious problem, but any sort of multi-digit entry would normally result in nonsense initial answers. In the case of dates, DPlot saw your "2/", knew it wasn't a valid date, so tried to evaluate it as an equation. And that led to the second, worse problem:

2) The function parser crashed if an operator was not followed by an operand. I'm surprised this one hasn't been caught before, as it has been there from the start. In any case it is now fixed. "2/" as an equation now results in an error message.

Thanks for pointing out the problem(s).
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jsc



Joined: 02 Dec 2005
Posts: 222

PostPosted: Tue Apr 11, 2006 7:05 am    Post subject: Reply with quote

Thanks!

Jon
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Tue Apr 11, 2006 2:51 pm    Post subject: Reply with quote

Uh-oh. The "fix" to the function parser ended up invalidating many perfectly legal equations along with those it was trying to catch, like "Y=X/". Anybody who installed 2.0.4.8 using Help>Check for Updates prior to 11 Apr, 14:50 US CDT will need to do it again. Sorry for the inconvenience.
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> Bug Reports All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group