Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Open Turing -- Fixed double click crash.
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
ttm




PostPosted: Mon Nov 28, 2011 11:18 pm   Post subject: Open Turing -- Fixed double click crash.

There was a bug in the old Turing that always bugged me: sometimes, when you double clicked, it would crash.

(For example, open new file, type any letter, double click in editor window, crash!)

Anyways. I fixed it. Wink http://dl.dropbox.com/u/17181264/package.zip.

My TortoiseGit is currently uploading it to the OT dev branch on GitHub (which is taking forever).
Sponsor
Sponsor
Sponsor
sponsor
mirhagk




PostPosted: Tue Nov 29, 2011 8:46 am   Post subject: RE:Open Turing -- Fixed double click crash.

Nice, good job. That is an annoying bug.
[Gandalf]




PostPosted: Wed Nov 30, 2011 12:24 am   Post subject: RE:Open Turing -- Fixed double click crash.

What on earth was causing this, pray tell!

I described something very similar in this topic a while back.
Tony




PostPosted: Wed Nov 30, 2011 12:50 am   Post subject: RE:Open Turing -- Fixed double click crash.

Apparently this was it https://github.com/Open-Turing-Project/OpenTuring/commit/1bf11d2dd293c6151fe837e418af404862a8fd89#ready/src/edtext.c

Now if the editor gets into
Quote:

// We've got a real problem here... We're in an infinite loop!

the function just returns arbitrary line/column values instead of throwing fatal exceptions.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: