A Problem with HUD Panel as the Main App's Window

2008-12-25 Thread Oleg Krupnov
I'm writing a small app whose main window is a HUD panel. In my XIB file I changed the class of the Window object from NSWindow to NSPanel and checked the HUD box that appeared. The problem is that after the program starts, sometimes (e.g. half of times, not always) the window disappears

Merry Christmas

2008-12-25 Thread John Love
A very Merry and Blessed! Christmas to all of you and your families and friends John Love Touch the Future! Teach! ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list.

RE: Merry Christmas

2008-12-25 Thread Luca Ciciriello
Thank you very much.A Merry Christmas to all the list members. May the knowledge, the meaning and the light be with you.Luca. From: jote...@charter.net To: cocoa-dev@lists.apple.com; xcode-us...@lists.apple.com Date: Thu, 25 Dec 2008 07:24:54 -0500 CC: Subject: Merry Christmas A very Merry

Re: Messaging framework

2008-12-25 Thread Lorenzo Thurman
I've heard good things about pantomime though haven't used it myself (and I understand it has a few gotchas related to international characters). It might also be worth looking into solutions accessible via the scripting bridge as my experience has been that languages such as Python offer

Re: Cocoa Apple Script Problem

2008-12-25 Thread Matt Neuburg
On Fri, 19 Dec 2008 10:11:19 -0800, John Nairn j...@geditcom.com said: This does work as expected tell front document make new family at end tell last family set properties to {husband:@I5@} end tell end tell This creates the object but does NOT set the properties tell front

Re: Modal Session not stopping main thread.

2008-12-25 Thread Keary Suska
On Dec 24, 2008, at 11:40 PM, Sandro Noel wrote: Followup. I have also tried... - (void) showHostPasswordWindow:(MountDefinition *) mount{ NSInteger response = [NSApp runModalForWindow:hostPasswordWindow]; [hostPasswordWindow orderOut:self]; } But that just seems to lock

Memory Management question

2008-12-25 Thread Scott Wilson
I have an odd case. I've got a NSTextView delegate method which looks like this: - (BOOL) textView: (NSTextView *) textView clickedOnLink: (id) link atIndex: (unsigned) charIndex { ... NSURL *desiredURL; // is it a NSURL link or a

Re: Merry Christmas

2008-12-25 Thread Gustavo Pizano
Merry Xmas to all of you guys. Make your wishes come true, as mine so far, DEvelop for a Mac developing Company. :P.. Health, happiness, love and of course why no, some money :P. Gustavo On 25.12.2008, at 13:24, John Love wrote: A very Merry and Blessed! Christmas to all of you and your

Adding items to low level context menus

2008-12-25 Thread Aaron Wallis
Hi there, I'm working on a small application which is meant to help users track notes research data and I was wondering if there's any way of adding items to context menus system wide? As an example, whenever someone has text selected and opens the context menu, I want the user to be able

Re: Adding items to low level context menus

2008-12-25 Thread mmalc Crawford
On Dec 25, 2008, at 12:16 PM, Aaron Wallis wrote: As an example, whenever someone has text selected and opens the context menu, I want the user to be able to send the selected text to my app... Is that possible? If so, any pointers on where to start looking?

renderer CALayer via CARenderer into CGLContext (off screen)

2008-12-25 Thread John Clayton
Hi All, I've got a question re: CARenderer and rendering. Its probably best to express first what I want to achieve, and then what I'm doing to try and get there - maybe someone has a better idea and can point me in the correct direction. What I want to achieve: - render each frame of a

Verify that only one launchd-started process runs at a time

2008-12-25 Thread Per Ohlson
I have a small daemon which i scheduled to run at different times of the day by using launchd-plists with StartCalendarInterval. This daemon is using a USB-device which only handles one call at a time. Sometimes, the daemon is scheduled to run twice at the same time. I would like to make

Re: Verify that only one launchd-started process runs at a time

2008-12-25 Thread Jerry Krinock
On 2008 Dec, 25, at 15:29, Per Ohlson wrote: I would like to make shure that the second daemon started will wait for the first daemon to finish before the second starts. Can this somehow be done with SIGTERM signaling or something? Any other suggestions? Well, what would send the SIGTERM?

Re: Verify that only one launchd-started process runs at a time

2008-12-25 Thread Ken Thomases
On Dec 25, 2008, at 6:22 PM, Jerry Krinock wrote: On 2008 Dec, 25, at 15:29, Per Ohlson wrote: I would like to make shure that the second daemon started will wait for the first daemon to finish before the second starts. Can this somehow be done with SIGTERM signaling or something? Any

processPendingChanges and disableUndoRegistration

2008-12-25 Thread christophe mckeon gonzalez de leon
hi, in the NSPersistentDocument Core Data tutorial, apple includes the below code. my question is whether there should not also be another call to processPendingChanges before the call to disableUndoRegistration? i have seen several examples of code online which do call it twice, and it would

Re: processPendingChanges and disableUndoRegistration

2008-12-25 Thread Jerry Krinock
I asked almost the same question a couple months ago. Read the replies to this: http://www.cocoabuilder.com/archive/message/cocoa/2008/10/25/220970 and let us know if that does not answer your question. ___ Cocoa-dev mailing list

Re: processPendingChanges and disableUndoRegistration

2008-12-25 Thread christophe mckeon gonzalez de leon
thanks for the pointer. please pardon the rambling, but i'm just trying to wrap my head around the semantics involved here. according to Quincey Morris who answered your question, the way that apple has it in their tutorial: dur (disable undo registration) mmoc (somehow mutate managed object

Re: processPendingChanges and disableUndoRegistration

2008-12-25 Thread Quincey Morris
On Dec 25, 2008, at 18:52, christophe mckeon gonzalez de leon wrote: please pardon the rambling, but i'm just trying to wrap my head around the semantics involved here. I think it's simpler than you're assuming it to be. All processPendingChanges does (as far as undo is concerned) is to

[Moderator] Re: Merry Christmas

2008-12-25 Thread Scott Anguish
Please don't follow-up to this thread, or post such messages. It isn't appropriate for this list, and these to messages cause 16000+ messages to go out. thanks scott [moderator/grinch] On 25-Dec-08, at 3:06 PM, Gustavo Pizano wrote: Merry Xmas to all of you guys. Make your wishes come

Re: Memory Management question

2008-12-25 Thread Robert Marini
Indeed, you have no way of guaranteeing that link still exists as you are not explicitly claiming ownership to it. In the first case of your if, you receive an autoreleased NSURL instance (a new object created by using the contents of the link object). In the second, all your code is

Re: Crash as NSPersistentDocument creates its persistence stack

2008-12-25 Thread Jerry Krinock
On 2008 Dec, 24, at 0:03, mmalc Crawford wrote: http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSPersistentDocument_Class/Reference/Reference.html#//apple_ref/doc/uid/TP30001179-CJBJBIHA Thank you, mmalc. Indeed it was explained further down in the

shareware licensing, aquatic prime?

2008-12-25 Thread aaron smith
hey all, I've been looking around for different licensing techniques, I've come across aquatic prime which looks pretty secure. but after reading quite a few debates about it, it makes me skeptical. is there anyone out there who uses it, or can vouch for it? I am also thinking that it's probably