NSSpeechSynthesizer / DarkWake interaction

2012-08-15 Thread Jay Reynolds Freeman
search but not found anything useful. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://JayReynoldsFreeman.com (personal web site) ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: NSSpeechSynthesizer / DarkWake interaction

2012-08-15 Thread Jay Reynolds Freeman
-- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://JayReynoldsFreeman.com (personal web site) On Aug 15, 2012, at 20:31, Jens Alfke j...@mooseyard.com wrote: On Aug 14, 2012, at 11:30 PM, Jay Reynolds Freeman jay_reynolds_free...@mac.com wrote: I suspect

Re: NSSpeechSynthesizer / DarkWake interaction

2012-08-15 Thread Jay Reynolds Freeman
down, all else running). My concern is as described -- what will NSSpeechSynthesizer do when my app is placed in that state outside of my control. But I may be very confused; there is indeed little documentation on the matter. -- Jay Reynolds Freeman - jay_reynolds_free

Re: [NSSound isPlaying] fails to indicate sound termination in Lion

2012-07-23 Thread Jay Reynolds Freeman
10.6.8, I now have an app in the field that will break when users run it under Lion. Apple changed functionality in a non-backward compatible manner without even documenting the new behavior.) -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http

Design issue related to my problem with NSSound -isPlaying

2012-07-23 Thread Jay Reynolds Freeman
call-back on the main event loop isn't fast enough? It is probably not a matter of great consequence for my situation, but it might matter more to others, and it is an interesting design challenge in any case. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http

[NSSound isPlaying] fails to indicate sound termination in Lion

2012-07-22 Thread Jay Reynolds Freeman
the two lines of instrumentation -- from http://jayreynoldsfreeman.com/My/Wraith_Scheme_%2864-bit_version%29.html Thank you ... -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://JayReynoldsFreeman.com (personal web site

Re: [NSSound isPlaying] fails to indicate sound termination in Lion

2012-07-22 Thread Jay Reynolds Freeman
The sleep was only for instrumentation; without the sleep and the NSLog, the code exhibits the problem described. And [NSSound play] is supposed to run asynchronously ... -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://JayReynoldsFreeman.com (personal web

Re: [NSSound isPlaying] fails to indicate sound termination in Lion

2012-07-22 Thread Jay Reynolds Freeman
nothing to do while waiting for the sound to play, a polling loop on isPlaying is actually a good deal less code (only two lines) than setting up a delegate with -sound:didFinishPlaying implemented. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http

Re: [NSSound isPlaying] fails to indicate sound termination in Lion

2012-07-22 Thread Jay Reynolds Freeman
I guess my main problem with all this is that Apple provides [NSSound isPlaying] with no indication that the method is not general-purpose; reading the documentation would have you think that it would return a correct answer no matter when and how used. -- Jay Reynolds Freeman

Re: [Q] Why is the threading and UI updating designed to be done only on a main thread?

2012-03-13 Thread Jay Reynolds Freeman
illustrates the kind of deadlock that can happen if you do not think carefully about how things interact. The original intended use of applicationWillTerminate: is indeed a setup for deadlock to happen. One should be on the lookout for similar situations with other iOS or MacOS methods. -- Jay Reynolds

How to force launch of new instance of application?

2011-05-24 Thread Jay Reynolds Freeman
that the system knows about it at mouse-the-document time, and thus can do what is necessary without my intervention. Details as to why I want this behavior are long and probably irrelevant, contact me privately if you would like to know ... Thanks! -- Jay Reynolds Freeman

How can I set tab stops in a UITextView?

2010-12-18 Thread Jay Reynolds Freeman
this in the forums, and I have of course googled the usual suspects. Thanks. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) ___ Cocoa-dev mailing list (Cocoa-dev

Need specialized keyboard for iPad app

2010-08-31 Thread Jay Reynolds Freeman
-- but with a couple of custom punctuation keys substituted for one of the numeric shift keys on the letter keyboard.) -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) ___ Cocoa-dev

A new flavor of the this class is not key value coding-compliant for ... error

2010-08-20 Thread Jay Reynolds Freeman
UIToolbar *toolBar; And then in the .mm file for the class I have @synthesize toolBar; Does anyone have any clues? -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site

Re: A new flavor of the this class is not key value coding-compliant for ... error

2010-08-20 Thread Jay Reynolds Freeman
Addendum: I should also have said that my implementation's didReceiveMemoryWarning contains nothing at present but the canonical call to [super didReceiveMemoryWarning], and that the crash occurs even when I comment out the entire overwrite of didReceiveMemoryWarning. -- Jay Reynolds Freeman

Re: shouldAutorotateToInterfaceOrientation not being called ...

2010-07-26 Thread Jay Reynolds Freeman
, shouldAutorotateToInterfaceOrientation still is not getting called. Any further suggestions or observations? And anyone who has read through all this deserves my heartfelt thanks just for doing so ... :-) -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman

Re: shouldAutorotateToInterfaceOrientation not being called ...

2010-07-26 Thread Jay Reynolds Freeman
the connections between top-level objects in the nib files look the same. Go figure ... I may well be missing something, of course. If this turns out to be a stupid beginner error on my part -- as is likely -- I promise to eat lots of crow ... :-) -- Jay Reynolds Freeman jay_reynolds_free

shouldAutorotateToInterfaceOrientation not being called ...

2010-07-25 Thread Jay Reynolds Freeman
probably chase down a problem with delegates or the responder chain if I know where to start.) There is a lot of stuff on the web and in archives dealing with problems with this method, but nothing that seems relevant to my particular problem. Thanks. -- Jay Reynolds Freeman

Re: shouldAutorotateToInterfaceOrientation not being called ...

2010-07-25 Thread Jay Reynolds Freeman
to send it? I suspect that information might help a lot in figuring out what the problem is. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) On 25-Jul-2010, at 4:35 PM, Jay Reynolds Freeman wrote: I posted

Scrolling not working ...

2010-07-07 Thread Jay Reynolds Freeman
problems. Any suggestions? -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Possible hardware-platform-dependent bug in NSTextView?!?

2009-11-13 Thread Jay Reynolds Freeman
application. Any advice? Any folks from Apple listening? -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) [...] The bug occurs when a user is typing into an instance of a subclass of NSTextView that I have

Possible hardware-platform-dependent bug in NSTextView?!?

2009-11-12 Thread Jay Reynolds Freeman
if it continues to look like something weird in NSTextView. Thank you very much. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) ___ Cocoa-dev mailing list (Cocoa

Re: Possible hardware-platform-dependent bug in NSTextView?!?

2009-11-12 Thread Jay Reynolds Freeman
. This is most confusing, not what is wanted, and not what happens in my own Macintoshes. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) On Nov 12, 2009, at 3:37 PM, Kyle Sluder wrote: On Thu, Nov 12, 2009 at 3:31 PM

Re: How to use Uniform Type Identifiers for this ... ?

2009-10-26 Thread Jay Reynolds Freeman
of document-opens-on-launch frequently, to be sure I have not messed things up. I thank the group for advice, I think I am on top of this one for the moment. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site

How to use Uniform Type Identifiers for this ... ?

2009-10-25 Thread Jay Reynolds Freeman
) com.Jay_Reynolds_Freeman.MyApp.plist. I have a feeling that this is easy and that I am just being slow today. This isn't really an XCode issue, but it might help to know that I am running XCode 3.2.1 on MacOS 10.6.1. Any suggestions? -- Jay Reynolds Freeman - jay_reynolds_free

Re: How to use Uniform Type Identifiers for this ... ?

2009-10-25 Thread Jay Reynolds Freeman
. Thanks to the group for good suggestions. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) On Oct 25, 2009, at 7:20 PM, Greg Guerin wrote: Jay Reynolds Freeman wrote: Rather than trying to trick the system

Re: Circular references

2009-09-13 Thread Jay Reynolds Freeman
. #endif SNIP This mechanism ensures that the statements inside the #ifndef ... #endif will be included only once in any file that goes through the preprocessor. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com

llvm-gcc-4.2 link-time error seen from command line but not in Xcode 3.2

2009-08-29 Thread Jay Reynolds Freeman
. I suspect there is something simple that I need to link in, but I can't find documentation ... Can anyone provide advice? -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site

Re: [OT] Re: llvm-gcc-4.2 link-time error seen from command line but not in Xcode 3.2

2009-08-29 Thread Jay Reynolds Freeman
be that my problem falls through the cracks between the list topics. I do not actually have an Xcode problem; the code I enquired about links successfully under Xcode; notwithstanding, I just did repost to the Xcode list, based on Alastair's advice. -- Jay Reynolds Freeman

Re: Format not a string literal and no format arguments

2009-08-29 Thread Jay Reynolds Freeman
in question. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: SOLVED -- llvm-gcc-4.2 link-time error seen from command line but not in Xcode 3.2

2009-08-29 Thread Jay Reynolds Freeman
documentation in the Apple Xcode documentation or in the man pages, that llvm-g++ was installed, and have filed a bug report requesting some. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site

Solution: Dynamically creating an image with transparent portions.

2009-08-23 Thread Jay Reynolds Freeman
/Cocoa/AppKitOlderNotes.html Within it, scan for NSView Drawing Redirection API (Section added since WWDC). I haven't tried it yet, but it looks like exactly what I was asking for in the first place. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com

Re: I need a milder application badge (solution #2)

2009-07-26 Thread Jay Reynolds Freeman
/Jay_Reynolds_Freeman/BadgedIconView.h http://web.mac.com/Jay_Reynolds_Freeman/BadgedIconView.m http://web.mac.com/Jay_Reynolds_Freeman/WSTrueColors.png Thanks once again to all. Any remaining mistakes or clumsiness in the implementation are of course nobody's fault but mine. -- Jay Reynolds

Re: I need a milder application badge (solution)

2009-07-25 Thread Jay Reynolds Freeman
bitmap and copy or make-transparent; the captured bitmap did not have an alpha plane.) That did work, but it is not a very graceful technique or a very general one. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site

Re: I need a milder application badge (solution)

2009-07-25 Thread Jay Reynolds Freeman
and NSAPP:setApplicationIconImage: So there I am, back messing with bit maps to modify an image. I would welcome a better way. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) On Jul 25, 2009, at 12:30 AM, Rob Keniger wrote: On 25/07

Re: I need a milder application badge (solution)

2009-07-25 Thread Jay Reynolds Freeman
-time, while preserving as transparent any transparent areas it may have to begin with? The best I have got at the moment is outrageous hackery at the pixel level in the bit map; there ought to be something better ... -- Jay Reynolds Freeman - jay_reynolds_free

Fwd: I need a milder application badge (solution)

2009-07-25 Thread Jay Reynolds Freeman
is the color of off-screen portions of the Mac console.) -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) On Jul 25, 2009, at 11:25 AM, Sherm Pendley wrote: On Sat, Jul 25, 2009 at 1:54 PM, Jay Reynolds

Re: I need a milder application badge (solution)

2009-07-25 Thread Jay Reynolds Freeman
. --Kyle Sluder -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: I need a milder application badge (solution)

2009-07-25 Thread Jay Reynolds Freeman
On Jul 25, 2009, at 3:14 PM, Kyle Sluder provided a variety of extremely helpful and pertinent comments: I'm also pretty sure you don't want to use -setApplicationIconImage:. That will cause all occasions of your app icon, including places that use +[NSImage imageNamed:] with an

I need a milder application badge

2009-07-20 Thread Jay Reynolds Freeman
them hard-coded into the source for whatever class or category I end up using. I *do* need run-time control over the text of the label. Thanks. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site

Optimizing writes of big files for specific hardware?

2009-07-03 Thread Jay Reynolds Freeman
done. And FWIW, I am building using Xcode 3.1.3, and using the LLVM GCC 4.2 compiler, to run on MacOS 10.5. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site

Re: Optimizing writes of big files for specific hardware?

2009-07-03 Thread Jay Reynolds Freeman
it. If there is a better way, I would love to hear about it; I am by no means an mmap wizard. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site) ___ Cocoa-dev mailing list (Cocoa-dev

Re: 10.4.x install for testing...

2009-04-27 Thread Jay Reynolds Freeman
versions of the OS a particular machine would support, and to be able to get them from somewhere, for backward compatibility support. -- Jay Reynolds Freeman - jay_reynolds_free...@mac.com http://web.mac.com/jay_reynolds_freeman (personal web site

Re: Fast dictionary with integer keys?

2009-03-15 Thread Jay Reynolds Freeman
is really there. It is not hard to arrange to switch to a new, larger array, if you suddenly find yourself dealing with a new object whose key is outside the assumed range. This approach is wasteful of memory if keys are scarce in the allowed range, but it is quite fast. -- Jay Reynolds Freeman

Re: Create command from string

2008-12-01 Thread Jay Reynolds Freeman
If the command you seek can be accomplished by a Unix shell, you can always create a string and then call the Unix system function to perform it. This approach has perils, however. -- Jay Reynolds Freeman - [EMAIL PROTECTED] http://web.mac.com/jay_reynolds_freeman (personal

Interface to shut down cores and/or processors?

2008-03-06 Thread Jay Reynolds Freeman
hampered in searching the usual references in that I do not quite know what keywords to use. Thanks very much ... -- Jay Reynolds Freeman - [EMAIL PROTECTED] http://web.mac.com/jay_reynolds_freeman (personal web site) ___ Cocoa-dev