REALbasic
Maybe a diary of REALbasic app development. Maybe just stuff about REALbasic. Maybe nothing :)


@ Sunday, April 28, 2002
 

Two More Radio Poster Bugs

I found two more Radio Poster bugs. It's a good thing I'm using it before I release it tomorrow :) The first bug is a bug in REALbasic. It has a TextConverter class that I'm using to convert my MacLatin text to Latin-1 text. But it only converts 1k of text. Anything more than that and it just returns an empty string. So if your post is too long it gets sent as an empty post. Fortunately, I save all of my posts locally, so it was easy to repost after I had fixed the bug.

The second bug was that I wasn't correctly encoding quotes in the XML I save as a document file. So Radio Poster's XML parser (which I wrote) barfed on the file. Fixed that too.

comment ()  10:43:23 AM  #  


Radio Poster's Compose Field

Anybody who uses Radio Poster, knows that the typing in the compose field slows down the more stuff you type. The REALbasic guys claim that's a problem with Apple's text engine and that Apple is working on it. Perhaps. But I can do something about it myself. I can use WASTEfield instead of REALbasic's EditField. WASTEfield is a plugin by Doug Holton that wraps WASTE, a replacement text engine for Mac OS. WASTE is used in a number of applications on the Mac (including REALbasic itself) and is quite mature. It doesn't have a problem with slowdowns when typing, but it also doesn't use ATSUI, which is Apple's going-forward text engine on Carbon. Unfortunately, there are problems with using WASTEfield with REALbasic 4.0.2, the current version. The problems appear to be solved in REALbasic 4.5, but I'm not ready to build Radio Poster with an alpha version of REALbasic. As soon as I can start using WASTEfield, however, I should be able to do quite a few interesting things. WYSIWIG editing is one thing I'd like to add to Radio Poster. Then you could just make things bold, or italic, or whaterver, and Radio Poster will figure out the tags for you.

comment ()  9:19:17 AM  #  


Click here to visit the Radio UserLand website. © Copyright 2002 Will Leshner.
Last update: 4/28/02; 9:19:19 AM.
April 2002
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        
Mar   May

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~