NSWindow with a NSTableView redraws incorrectly with autolayout on 10.8

2012-08-05 Thread Marcus Karlsson
Hello. I'm experiencing some window redrawing issues on 10.8 when I'm using NSTableViews and autolayout. I have created an application from the standard Cocoa application template in Xcode and set it to use automatic reference counting. All I've added is a toolbar and a table view to the window i

Re: +underPageBackgroundColor

2012-08-04 Thread Marcus Karlsson
On Sat, Aug 04, 2012 at 08:48:20AM +1000, Graham Cox wrote: > > On 04/08/2012, at 6:55 AM, "Gary L. Wade" > wrote: > > > That "color" is actually a pattern. What are you doing that gives you the > > unexpected result? > > I'm expecting it to be a pattern, with a fairly obvious linen texture.

Re: +underPageBackgroundColor

2012-08-03 Thread Marcus Karlsson
On Aug 3, 2012, at 3:00 PM, Graham Cox wrote: > Hi all, > > ML introduces +[NSColor underPageBackgroundColor]; > > I had thought this was to be the grey linen texture as used in Mail, etc but > instead I'm getting a sort of flat pale cream colour. Is that right? > > > --Graham Hello. I do

Re: 32-bit on 10.8

2012-08-02 Thread Marcus Karlsson
On Aug 2, 2012, at 8:11 PM, koko wrote: > I have a number of BSD Static Libraries that support my application. These > are 'iffy' on 64-bit compatibility due to the effort required to get them > there. > > If I build a 32-bit app to run on 10.8 does this present any > problems/resource issu

Re: searching through all user accounts

2012-08-01 Thread Marcus Karlsson
On Sun, Jul 29, 2012 at 06:23:14PM +0800, Rick C. wrote: > Hi, > > I have a search app which normally searches through the current users home > directory using NSTask and find command. If I wanted to make it search > through all user accounts could I ask some advice on what is the best way to

Re: [Q] including omp.h?

2011-08-06 Thread Marcus Karlsson
--On August 6, 2011 6:01:46 AM -0400 Jeffrey Walton wrote: On Sat, Aug 6, 2011 at 5:45 AM, Marcus Karlsson wrote: --On August 6, 2011 5:25:53 AM -0400 Jeffrey Walton wrote: On Sat, Aug 6, 2011 at 5:20 AM, Marcus Karlsson wrote: --On August 5, 2011 11:32:09 AM -0400 Sean McBride

Re: [Q] including omp.h?

2011-08-06 Thread Marcus Karlsson
--On August 6, 2011 5:25:53 AM -0400 Jeffrey Walton wrote: On Sat, Aug 6, 2011 at 5:20 AM, Marcus Karlsson wrote: --On August 5, 2011 11:32:09 AM -0400 Sean McBride wrote: On Sun, 31 Jul 2011 16:49:34 -0700, JongAm Park said: Because gcc now supports OpenMP, we can use pragmas for

Re: [Q] including omp.h?

2011-08-06 Thread Marcus Karlsson
--On August 5, 2011 11:32:09 AM -0400 Sean McBride wrote: On Sun, 31 Jul 2011 16:49:34 -0700, JongAm Park said: Because gcc now supports OpenMP, we can use pragmas for OpenMP without doing any special steps except for setting "Enable OpenMP" and "-fopenmp". I don't have an answer for you

Re: [Q] including omp.h?

2011-08-06 Thread Marcus Karlsson
--On July 31, 2011 4:49:34 PM -0700 JongAm Park wrote: Hello, Because gcc now supports OpenMP, we can use pragmas for OpenMP without doing any special steps except for setting "Enable OpenMP" and "-fopenmp". However, when I tried to use OpenMP functions like : int omp_get_max_threads(void)

Re: Menu Title Icon in Cocoa

2011-06-28 Thread Marcus Karlsson
On Jun 28, 2011, at 10:00 PM, Bernard Desgraupes wrote: > Hi, > > I'd like to know if there is a way of inserting an icon instead of a menu > title in the menu bar. I'm not speaking of the system status bar, but simply > of my application's menus. In Carbon, I used to use SetMenuTitleIcon(): s

Re: After Autoreleasing Still Getting Leaked

2011-06-17 Thread Marcus Karlsson
On Jun 16, 2011, at 12:33 PM, Bing Li wrote: > Dear Conrad, Jens, Tony, Scott, Wade and all, > > I appreciate so much for your replies. I learn a lot from the interactions > with you. Since I am new, your patience is so valuable to me! > > I just got the problem. At least, right now, there is n

Re: BSD TCP Programming on iPad

2011-04-25 Thread Marcus Karlsson
Dear all, I am planning to program with BSD TCP on iPad. The motivation to do that is that a P2P model is expected. I think the network techniques, such as Web Services and Push Notification, supported by Cocoa do not meet the requirements. My experiences on iPad are not sufficient. I am not sur

Partially release NSMutableData

2010-08-05 Thread Marcus Karlsson
Hello. The subject of this thread is probably somewhat weird at first but let me explain. Let's say that I'm receiving data from the network and need to store it in a buffer. I need to store it until enough data has been collected, where what is considered "enough" is impossible to know befo