Re: From Panther to Tiger
Re: From Panther to Tiger
- Subject: Re: From Panther to Tiger
- From: Andreas Mayer <email@hidden>
- Date: Tue, 17 May 2005 03:50:53 +0200
Am 16. Mai 2005 um 21:14 Uhr schrieb Matt Neuburg:
I certainly didn't find anything in the release notes or in the
reference that explained why one of my apps broke.
I did.
This is a developer list
and developers make apps, so one expects that not a few people on
this list
had their apps break due to Tiger, and I think that a lot of us would
benefit from hearing how.
Of course.
That's what I took the OP to be asking for
Really? I thought he was asking about a list of issues. So I posted a
link to the release notes 'cause I think a lot of those changes could
possibly break an app if the developer made wrong assumptions before.
OK, the problems.
I wrote a method to colorize an image. That method iterated over the
pixels of a bitmap and wrote the altered values to a destination
bitmap. Since 10.4 there is more than one possible format for
bitmaps. That was not true before Tiger, which might count as an
excuse that I did not check the layout of the bitmap I generated. So
the format was wrong and I was writing the values into the wrong
location in memory. Tiger adds a way to specify the bitmap format
when generating an NSBitmapImageRep and that is what I am doing now.
In another app (a rather old one) I did mess up my lock/unlock calls
when drawing inside a view. No idea why that code worked at all
before Tiger - but it certainly didn't any more after the upgrade. :)
Oh - and I heard about a flaw in VLC (I guess it's a Carbon app):
Apparently before Tiger whenever a menu (in the main menu bar) was
opened, *all* menus would get notified. So the VLC guys were using
the help menu for triggering updates for *all* menu entries. With
Tiger only those menus that actually get opened will be notified and
so VLC's menu entries won't update until the user opens the help
menu ...
Andreas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden