3rd party framework crashes with invalid code sign

2015-08-18 Thread NavaCarmon
We have a weird problem after upgrading to Yosamite: We use a 3rd party framework and codesign it on copying in Build Phases. When we run the application (which is LSUIElement - agent application) sometimes after it crashes with the following crash report and the user cannot run it again

NPAPI plugin get NPP_Destroy right NPAPI_New in Safari 7.0.2

2014-05-12 Thread Nava Carmon
started with the new version of Safari 7.0.2 on Mavericks 10.9.2. Additional reload of the pages solves the problem and the plugin does its work. Thanks in advance for any clues Thanks in advance, Nava Carmon ___ Cocoa-dev mailing list (Cocoa

NPAPI plugin get NPP_Destroy right NPAPI_New in Safari 7.0.2

2014-05-12 Thread Nava Carmon
started with the new version of Safari 7.0.2 on Mavericks 10.9.2. Additional reload of the pages solves the problem and the plugin does its work. Thanks in advance for any clues Thanks in advance, Nava Carmon, Moshiach Times Ltd., e-mail: ncar...@mac.com Skype: navacarmon Phone

Re: Problem posting to this list?

2014-05-12 Thread Nava Carmon
in Safari 7.0.2 Date: May 12, 2014 at 7:41:56 PM GMT+3 To: cocoa-dev@lists.apple.com List cocoa-dev@lists.apple.com the body of the message Whom should I notify about it? Best Regards, Nava Carmon, Moshiach Times Ltd., e-mail: ncar...@mac.com Skype: navacarmon Phone: +972.52.8157770 On May 12

Re: How to calculate NSToolbar height in fullscreen mode

2012-09-26 Thread Nava Carmon
, at 5:07 AM, Nava Carmon wrote: It's good to know that I'm not alone in this ordeal :), though it doesn't solve the problem. The height of toolbar (as it returned by the function, that I took from Apple's example) before entering the FS is some 50 pix. Measured height of the same toolbar in FS

Re: How to calculate NSToolbar height in fullscreen mode

2012-09-25 Thread Nava Carmon
bar), which I want to prevent. Best Regards, Nava Carmon, Moshiach Times Ltd., e-mail: ncar...@mac.com Skype: navacarmon Phone: +972.52.8157770 On Sep 24, 2012, at 9:07 PM, Lee Ann Rucker wrote: On Sep 24, 2012, at 5:50 AM, Nava Carmon wrote: Hi, I have to perform custom animation

How to calculate NSToolbar height in fullscreen mode

2012-09-24 Thread Nava Carmon
is not the same as in regular mode (not including title). Thanks Best Regards, Nava Carmon, ___ 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

customize NSOutlineView right-click context menu row selection

2012-07-02 Thread Nava Carmon
Hi, I have a contextual menu appears on right-click in my NSOutlineView. When it appears it selects the table row. I want to customize the selection. It's not a usual selection, rather kind of highlighted frame. How do I override it? Thanks! Nava

Re: willDisplayOutlineCell of view-based NSOutlineView is not called

2012-06-26 Thread Nava Carmon
Thanks for pointing this out. I added it. Best Regards, Nava Carmon, Moshiach Times Ltd., e-mail: ncar...@mac.com Skype: navacarmon Phone: +972.52.8157770 On Jun 25, 2012, at 11:32 PM, Corbin Dunn wrote: You really want to call [super didAddSubview:] in that code snippet. corbin

Re: willDisplayOutlineCell of view-based NSOutlineView is not called

2012-06-26 Thread Nava Carmon
to super. M Larsen On 25 Jun 2012, at 22:32, Corbin Dunn wrote: You really want to call [super didAddSubview:] in that code snippet. corbin On Jun 23, 2012, at 2:29 PM, Nava Carmon ncar...@mac.com wrote: Just for those who need to customize their outline view disclosure arrow

Re: willDisplayOutlineCell of view-based NSOutlineView is not called

2012-06-23 Thread Nava Carmon
Just for those who need to customize their outline view disclosure arrow: Here's the answer from SO, that worked perfectly for me. http://stackoverflow.com/questions/11127764/how-to-customize-disclosure-cell-in-view-based-nsoutlineview Best Regards, Nava Carmon, Moshiach Times Ltd., e-mail

willDisplayOutlineCell of view-based NSOutlineView is not called

2012-06-21 Thread Nava Carmon
Hi, I want to customize the disclosure arrow appearance in my view-based NSOutlineView. I overrode the willDisplayOutlineCell delegate method, but it's not called. The willDisplayCell delegate method - is not called either. Is it known issue or I'm missing something? (The isItemExpandable

Re: willDisplayOutlineCell of view-based NSOutlineView is not called

2012-06-21 Thread Nava Carmon
is not invoked when outlineView is about to display a non-expandable cell. So the cell has to be expandable to get this call - Original Message - From: Nava Carmon ncar...@mac.com To: cocoa-dev@lists.apple.com Sent: Thursday, June 21, 2012 12:27:02 AM Subject

Re: willDisplayOutlineCell of view-based NSOutlineView is not called

2012-06-21 Thread Nava Carmon
, at 1:22 AM, Nava Carmon ncar...@mac.com wrote: And this is what apple documentation says on this: outlineView:willDisplayOutlineCell:forTableColumn:item: Informs the delegate that an outline view is about to display a cell used to draw the expansion symbol. _There are no cells_

recalculateKeyViewLoop doesn't work

2012-03-29 Thread Nava Carmon
] setAutorecalculatesKeyViewLoop:NO]; [[[self view] window] recalculateKeyViewLoop]; where the nextKeyView for the self.view is set to the first subview I want to appear in key order. Nothing helps and the the key ordering stays default. How to resolve it? Thanks Best Regards, Nava Carmon

Re: Problem with NSAppleScript execution

2011-09-13 Thread Nava Carmon
They want services as an option, not as main workflow. What about simulating keyboard events? Should it work better than apple script? On Sep 13, 2011, at 4:48 PM, Jerry Krinock wrote: On 2011 Sep 12, at 22:01, Nava Carmon wrote: My application intercepts clicks/key down events and brings

Re: Problem with NSAppleScript execution

2011-09-13 Thread Nava Carmon
? IMKit On Sep 13, 2011, at 9:03 AM, Nava Carmon wrote: They want services as an option, not as main workflow. What about simulating keyboard events? Should it work better than apple script? On Sep 13, 2011, at 4:48 PM, Jerry Krinock wrote: On 2011 Sep 12, at 22:01, Nava Carmon wrote

Problem with NSAppleScript execution

2011-09-12 Thread Nava Carmon
doesn't work there and the script isn't performed. More than that, when I run same script from Script editor, it works perfect. Is it a known problem or do I do something wrong? Thanks, Nava Nava Carmon ncar...@mac.com Think good and it will be good

Re: Problem with NSAppleScript execution

2011-09-12 Thread Nava Carmon
Thanks for answering, Jerry. On Sep 13, 2011, at 3:55 AM, Jerry Krinock wrote: On 2011 Sep 12, at 08:50, Nava Carmon wrote: I'm trying to run a simple Apple script, that gets the text from the frontmost application. Simple is the way people who have never done this would describe

Safari 5.1 update

2011-07-26 Thread Nava Carmon
Hi New Safari 5.1 doesn't run WebKit plugins! I read that it's supposed to happen from 10.7, I'm running 10.6.8. Apple recommends using netscape style plugins. Did somebody bump into this already? Nava Carmon ncar...@mac.com Think good and it will be good

Hiding/Showing UIAgent application window

2011-06-16 Thread Nava Carmon
Hi, I have an UIAgent application with one window. I want to hide/show it from another application.How do I do it with cocoa? Seems like hide/unhide methods of NSRunningApplication doesn't affect UIAgent processes. Thanks Nava Carmon ncar...@mac.com Think good and it will be good

NSConnection - both ways

2011-06-16 Thread Nava Carmon
, but it didn't work for some reason. Thanks Nava Carmon ncar...@mac.com Think good and it will be good! ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: NSConnection - both ways

2011-06-16 Thread Nava Carmon
I tried to pass my client object as is but it didn't work for some reason. Should I wrap it somehow? Thanks On Jun 16, 2011, at 3:20 PM, Ken Thomases wrote: On Jun 16, 2011, at 3:40 AM, Nava Carmon wrote: I'd like to establish connection between two processes. I'm using NSConnection from

Re: NSConnection - both ways

2011-06-16 Thread Nava Carmon
foo]; ... // In the client - (void) foo { NSLog(@%@, @foo was called); } foo wasn't called. On Jun 16, 2011, at 4:20 PM, Ken Thomases wrote: On Jun 16, 2011, at 7:26 AM, Nava Carmon wrote: I tried to pass my client object as is but it didn't work for some reason. Didn't work

Intercepting click on send in Mail.app

2011-05-30 Thread Nava Carmon
Hi, Is it possible to intercept click on Send in Mac OS X Mail application? Thanks Nava Carmon ncar...@mac.com Think good and it will be good! ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

How to intercepting click on send in Mail.app

2011-05-30 Thread Nava Carmon
Hi, Is it possible to intercept click on Send in Mac OS X Mail application? I'm writing a client that on click on Send in Mail client should perform certain action Thanks ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: How to intercepting click on send in Mail.app

2011-05-30 Thread Nava Carmon
Actually the client is supposed to get a text from the mail message when the user clicks send. This client is not a mail client and not is supposed to send mail. Is there some programmatic solution? Thanks On May 30, 2011, at 5:12 PM, Joanna Carter wrote: Le 30 mai 2011 à 15:02, Nava Carmon

problem with web view scrolling

2010-08-30 Thread Nava Carmon
there and how to prevent the scrolling of underlying doc? Thanks, Nava Carmon ncar...@mac.com Think good and it will be good! ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

How to set focus on NSMenu (make it get key events)?

2010-08-27 Thread Nava Carmon
the menu to become a key responder? Thanks, Nava Nava Carmon ncar...@mac.com Think good and it will be good! ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

invoke menu tracking programmatically

2010-08-26 Thread Nava Carmon
Hi, Is it possible to invoke NSMenu tracking programmatically? Thanks, Nava Carmon ___ 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

Re: invoke menu tracking programmatically

2010-08-26 Thread Nava Carmon
will be able to move with arrow keys between menu items. I can catch moveUp and moveDown selectors. How can I cause the menu to become a key responder? Thanks, Nava On Aug 26, 2010, at 5:46 PM, Nava Carmon wrote: Hi, Is it possible to invoke NSMenu tracking programmatically? Thanks

Changing frame and title color of HUD window

2010-08-02 Thread Nava Carmon
Hi, Is there a way to change the color of frame title of HUD window without drawing them by myself? Thanks Nava Carmon ncar...@mac.com Think good and it will be good! ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

How to force NSMenu to redraw its menu items?

2010-07-21 Thread Nava Carmon
Hi, I'm implementing a custom status bar menu, which has a custom view with NSSearchField. I'm updating number of menu items according to search results. The number of menu items is changed as user types in the NSSearchField. I've noticed, that if number of results stays the same, items titles

Re: How to force NSMenu to redraw its menu items?

2010-07-21 Thread Nava Carmon
is not being updated. You mean I need to update my menu with new search results in menuNeedsUpdate? I tried this, it didn't work On Jul 21, 2010, at 6:33 PM, Jerry Krinock wrote: On 2010 Jul 21, at 05:27, Nava Carmon wrote: I'm implementing a custom status bar menu ... How do I force them to redraw

Re: How to force NSMenu to redraw its menu items?

2010-07-21 Thread Nava Carmon
Thanks guys for the advice, I'll definitely look into window approach. The can NOT be updated is Apple's guideline or real technical limitation? Thanks again, Nava On Jul 22, 2010, at 3:26 AM, Graham Cox wrote: On 22/07/2010, at 7:14 AM, Jerry Krinock wrote: NSMenu can NOT be updated

Change size of NSMenuItem (offset from the top of status menu)

2010-07-19 Thread Nava Carmon
to cancel this offset? I couldn't find the relevant API. Thanks Nava Carmon ncar...@mac.com Think good and it will be good! ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: setting focus on NSSearchField in status bar menu item

2010-07-08 Thread Nava Carmon
Can somebody answer this please? On Jul 8, 2010, at 8:41 AM, Nava Carmon wrote: Hi, I added a custom view with a NSSearchField as a first menu item to a status bar menu. When I run the application from debugger I can click and write in the NSSearchField. After I go to another application

Re: setting focus on NSSearchField in status bar menu item

2010-07-08 Thread Nava Carmon
. What is the best practice to implement it anyway? Thanks, Nava On Jul 8, 2010, at 11:25 PM, augusto callejas wrote: when you click again on your status menu, try making your app the active app: [NSApp activateIgnoringOtherApps:YES]; augusto. On Jul 8, 2010, at 12:26 PM, Nava Carmon

Re: setting focus on NSSearchField in status bar menu item

2010-07-08 Thread Nava Carmon
for a sec and unhighlights it. How to get rid of flickering at all? Thank you very much! On Jul 8, 2010, at 11:59 PM, augusto callejas wrote: [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(showPopupMenu:) name:NSApplicationDidBecomeActiveNotification object:nil] Nava

Re: setting focus on NSSearchField in status bar menu item

2010-07-08 Thread Nava Carmon
So what is the best and by-the-book approach? Spotlight does it so smooth... On Jul 9, 2010, at 12:12 AM, augusto callejas wrote: not sure how to prevent flickering, this entire approach is hack-ish anyhow :) On Jul 8, 2010, at 2:09 PM, Nava Carmon wrote: Tried it, In awakwFromNib I

Re: setting focus on NSSearchField in status bar menu item

2010-07-08 Thread Nava Carmon
Can you point me on this thread please? Thanks a lot! On Jul 9, 2010, at 12:36 AM, Kyle Sluder wrote: On Thu, Jul 8, 2010 at 2:29 PM, Nava Carmon ncar...@mac.com wrote: So what is the best and by-the-book approach? Spotlight does it so smooth... As was discussed in the other thread

setting focus on NSSearchField in status bar menu item

2010-07-07 Thread Nava Carmon
disabled and can't get focus. The question is how to cause the NSSearchField to get focus each time, the user clicks to show the menu? Thanks, Nava Nava Carmon ncar...@mac.com Think good and it will be good! ___ Cocoa-dev mailing list (Cocoa-dev

Clicking links in webview does nothing

2010-05-30 Thread Nava Carmon
them in default browser window. What is the way to do that? Thanks for your help. Nava Carmon ncar...@mac.com Think good and it will be good! ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: NSURLConnection weirdiness

2010-05-29 Thread Nava Carmon
? Each time I need to get xml file I create another NSURLConnection. I read somewhere that it's not a good practice... Again, thanks for the help. On May 29, 2010, at 5:04 AM, Jerry Krinock wrote: On 2010 May 28, at 02:58, Nava Carmon wrote: When I enter same link in Safari it takes

Re: NSURLConnection weirdiness

2010-05-29 Thread Nava Carmon
On May 29, 2010, at 10:12 PM, Jens Alfke wrote: On May 29, 2010, at 11:53 AM, Nava Carmon wrote: When I initialize the NSURLConnection I define a timeout in my NSURLMutableRequest in order not to stuck the GUI and let the user to work with application. On timeout I get didFailWithError

NSURLConnection weirdiness

2010-05-28 Thread Nava Carmon
access the link. What might be the reason for such a weird behavior? How can I improve it? What is the role of cache policy with NSURLConnection? Thanks, Nava Nava Carmon ncar...@mac.com Think good and it will be good! ___ Cocoa-dev mailing list

Logging in ad-hoc builds

2010-05-27 Thread Nava Carmon
Hi, I have a problem with NSURLConnection in my ad-hoc build and I'd like to log the problematic url. In debug version i can just output it to console. The question is how do i track it in ad-hoc? It's not about crashing, so crash logs will not help. Any ideas? Thanks in advance Nava

Custom view as a menu item

2010-05-05 Thread Nava Carmon
Anyone? On May 4, 2010, at 10:18 AM, Nava Carmon wrote: Hi, I need to implement a menu that looks and feels like that of spotlight: with a search field as a first item and other items will be filled from some xml file on fly. Are there some examples/ideas on how to do it? Thanks

Re: Custom view as a menu item

2010-05-05 Thread Nava Carmon
, Nava Carmon wrote: Anyone? On May 4, 2010, at 10:18 AM, Nava Carmon wrote: Hi, I need to implement a menu that looks and feels like that of spotlight: with a search field as a first item and other items will be filled from some xml file on fly. Are there some examples/ideas on how

custom view as a menu item

2010-05-04 Thread Nava Carmon
Hi, I need to implement a menu that looks and feels like that of spotlight: with a search field as a first item and other items will be filled from some xml file on fly. Are there some examples/ideas on how to do it? Thanks a lot, Nava Carmon ncar...@mac.com Think good and it will be good

Re: Three odd iPhone dev problems

2010-03-23 Thread Nava Carmon
-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/ncarmon%40mac.com This email sent to ncar...@mac.com Nava Carmon ncar...@mac.com Think good and it will be good! ___ Cocoa-dev

Re: EXC_BAD_ACCESS mystery

2009-11-11 Thread Nava Carmon
, but just in case, may be you can help with it? There is no RubyCocoa list on apple, although RubyCocoa is a part of OS X. Official RubyCocoa forum almost is not alive... Thanks again, Nava On Nov 11, 2009, at 6:05 PM, Corbin Dunn wrote: On Nov 10, 2009, at 8:56 PM, Nava Carmon wrote

Obtaining selected text from the frontmost application

2009-11-10 Thread Nava Carmon
Hi, How do I approach to this task? Which technologies to use and whether there are example of something similar. Thanks a lot for the guidance, Nava ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

autorelease pool crash

2009-11-10 Thread Nava Carmon
My application is RubyCocoa based. Sometimes I'm getting the following message, which precedes the crash: *** attempt to pop an unknown autorelease pool What situation can cause this message? Thanks, Nava ___ Cocoa-dev mailing list

Re: Obtaining selected text from the frontmost application

2009-11-10 Thread Nava Carmon
Nava Carmon: Hi, How do I approach to this task? Which technologies to use and whether there are example of something similar. Thanks a lot for the guidance, Nava ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: EXC_BAD_ACCESS mystery

2009-11-10 Thread Nava Carmon
Thank you Corbin for your great post. How do I track the following issue with instruments: *** attempt to pop an unknown autorelease pool ObjectAllocator with NSZombieEnabled doesn't react on this. I could track the same case you explained in your post, but it doesn't work for pool

objectAtIndex

2009-11-01 Thread Nava Carmon
Hi, When I ran Build and Analyze on my code, it has pointed as a possible leak the following statement: NSObject *anObject = [anArray objectAtIndex:i]; anObject wasn't released and here's the question: whether anObject is a copy of actual object, that is a member of anArray or it's the

Re: objectAtIndex

2009-11-01 Thread Nava Carmon
Thank you, that answers my question, Nava On Nov 1, 2009, at 10:24 PM, Sherm Pendley wrote: On Sun, Nov 1, 2009 at 2:44 PM, Nava Carmon ncar...@mac.com wrote: NSObject *anObject = [anArray objectAtIndex:i]; ... Should I release it? No. You didn't create anObject with +alloc or a method

API for show event time as free/busy (iCal)

2009-10-31 Thread Nava Carmon
Hi, A new feature was introduced in iCal for Snow Leopard - show time as free/busy. I CANNOT find the according API in CalendarStore framework. DOES anybody know about the existence of such an API? Seems headers weren't updated from 10.5 to 10.6. If there another list, that might know the