fragile ABI and PPC64

2012-08-19 Thread Dale Miller
to put them in memory on the stack even in 32-bit mode. So can anyone let me know specific problems so I can avoid them? I have a personal use for a 64-bit application that I've been thinking of writing and I don't want to run it on my 10.6 Macbook. Dale Miller

NSStepper

2012-02-25 Thread Dale Miller
is set for Autorepeat) the value does not increase above the max or decrease below the min, although it may be defined to wraparound from the max to the min or vice-versa. Dale Miller ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: Unnecessary Boolean Warning

2011-08-03 Thread Dale Miller
late into the wee hours. - Dale Miller On Aug 2, 2011, at 23:43 , Charles Srstka wrote: On Aug 2, 2011, at 7:57 PM, Dale Miller wrote: It is disconcerting that if A = 0x'0110' and B = '1001' then A B returns true but A B returns 0, so if (A B)' is executed, the 'true' leg is not taken

Unnecessary Boolean Warning

2011-08-02 Thread Dale Miller
of hubris in his statement, and was totally out of line. Pride in being facile with a crummy language does not justify denigrating people who have finger-checks or memory lapses in dealing with some of C's dumber constructs. Dale Miller ___ Cocoa-dev

Re: Unnecessary Boolean Warning

2011-08-02 Thread Dale Miller
Conrad Shultz notified me that I had misinterpreted Greg Parker's post. I will recant my accusation of hubris and apologize. Dale Miller ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Nib loading cycle

2011-07-09 Thread Dale Miller
inadvertently used the same object which owned the nib when it was loaded. I ultimately found doc that said each instance had to have a unique owner, but no reason was given. My owning object got multiple awakeFromNib calls. Eventually, I pieced the two together. Dale Miller

Re:Boolean values in a plist - resolved

2010-05-24 Thread Dale Miller
Thanks to Ken Thomases and James Walker for the information that I can use: if (CFGetTypeID(someObject) == CFBooleanGetTypeID()) Dale Miller ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Boolean Values in a plist

2010-05-23 Thread Dale Miller
for using an undocumented class. If so, please enlighten me. Regards, Dale Miller dalelmil...@comcast.net ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: advancementForGlyph problem

2010-04-30 Thread Dale Miller
: CGContextShowGlyphsWithAdvancements and CGContextShowGlyphsAtLocations. Dale Miller dalelmil...@comcast.net ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins

Attributes set in NSTextStorage ignored/overridden

2010-03-29 Thread Dale Miller
[] (0x0018a470) fobj=0x00189e20, spc=5.42 = NSFont; 0 = NSUnderline; } btext = { BitstreamVeraSansMono-Bold 9.00 pt. P [] (0x0018a470) fobj=0x0018a180, spc=5.42 = NSFont; 1 = NSUnderline; } Dale Miller dalelmil...@comcast.net

Re:Attributes set in NSTextStorage ignored/overridden (solved)

2010-03-29 Thread Dale Miller
Solved by Gideon King (Thank you!). One of my rookie tricks invoked by working past my bedtime. I had the keys and objects reversed in the attribute dictionaries creations. Dale Miller dalelmil...@comcast.net ___ Cocoa-dev mailing list (Cocoa

Re: beginner question, NSNumber, NSDecimalAsNumber

2009-11-13 Thread Dale Miller
PPC has the cntlzw and cltlzd hardware instructions (count leading zeros word/doubleword). Subtracting the result from 32 or 64 would give the bit number of the leading 1-bit (or 32/64 for no 1-bits). Dale Miller dalelmil...@comcast.net

Re: Missing vertical scroll bar - resolved

2009-07-21 Thread Dale Miller
not be entered with enough precision using results from our slide rules. We should have used a different technique in this case, but we were bent on using that wondrous tool - the slide rule. Dale Miller dalelmil...@cableone.net ___ Cocoa-dev mailing

Re:missing vertical scroll bar

2009-07-18 Thread Dale Miller
)There is a bug in the framework 4)I have missed or misunderstood something, or did a boo-boo in my code (I'll accept that as the most likely). In any case, something needs to be fixed, or I need to be shown what I'm doing wrong. Dale Miller dalelmil...@cableone.net

missing vertical scroll bar

2009-07-17 Thread Dale Miller
see what I'm missing? Dale Miller dalelmil...@cableone.net ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com

scrollers display malfunction in scroll view

2009-02-20 Thread Dale Miller
- no scroller problems. But... There is no balancing restoreGraphicsState call in the program. I don't understand why it didn't work, why it now works, and why the unbalanced save call does not cause a problem. Dale Miller dalelmil...@cableone.net

Cocoa / OC exception handling

2008-10-17 Thread Dale Miller
function. t appears (another assumption) that a return will exit the current method. Can anyone clear me up on this? Regards, Dale Miller [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Cocoa / OC exception handlng - answered

2008-10-17 Thread Dale Miller
Thanks to Kyle Sluder for answering my questions. Dale Miller [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins

re:tracking area pending install and disabled

2008-09-30 Thread Dale Miller
The code I excerpted is located in my updateCursorRects method. Regards, Dale Miller [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Tracking area pending install and disabled

2008-09-29 Thread Dale Miller
? Regards, Dale Miller [EMAIL PROTECTED] ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update

Re: Tracking area pending install and disabled

2008-09-29 Thread Dale Miller
Thanks for your reply. Unfortunately, I forgot to indicate that the code snippet I showed is in my updateTrackingAreas method, as it is in my previous project which is working. Regards, Dale Miller [EMAIL PROTECTED] ___ Cocoa-dev mailing list

Transparent colors

2008-07-28 Thread Dale Miller
with the attribute NSBackgroundColorAttributeName set to [NSColor clearColor] (or to a color with an alpha of 0. regardless of the red/green/blue components) the background of the text draws as black. What is it that I don't understand? Dale Miller [EMAIL PROTECTED