[Vm-dev] Re: Mac + Cog - mouse clicks
John M McIntosh
johnmci at smalltalkconsulting.com
Fri Dec 24 01:16:35 UTC 2010
Historically I had not put the defaults in the binary because people sometimes would grab the binary and toss all the other parts of the bundle. Later no one understood how to change a default because the plist hint was missing.
On 2010-12-23, at 5:12 PM, Esteban Lorenzano wrote:
> yeah, but we should have some defaults... application shouldn't crash just because some guy removed parameters from pInfo... I'm going to check this in Cocoa Cog :P
> El 23/12/2010, a las 9:49p.m., Igor Stasenko escribió:
>> On 24 December 2010 01:40, Igor Stasenko <siguctua at gmail.com> wrote:
>>> Okay, apparently its because i didn't bundled binary into '.app' thingy
>>> and so, it doens't have an associated .pinfo file where some settings
>>> related to mouse buttons (i think) are provided. There are some
>>> 'SqueakMouseXXXButtonYY' values, which seems like responsible for mouse clicks.
>>> (Hmm, why binary doesn't carry a default ones, when values in .pinfo
>>> is missing?)
>>> I found the way how to tell cmake to create a bundle,
>>> and now even worse. It assumes that it budled , and tries to read
>>> missing keys and use them,
>>> causing NULL-pointer exception..
>>> Because i didn't provided correct .plist yet, but using default one,
>>> which cmake generates.
>> .. and after borrowing 'correct' .pinfo from other cog app, and image
>> starts and everything working normally.
>> Best regards,
>> Igor Stasenko AKA sig.
John M. McIntosh <johnmci at smalltalkconsulting.com> Twitter: squeaker68882
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
More information about the Vm-dev