EXC_BAD_ACCESS when migrating a store, but only sometimes...

2009-10-28 Thread Daniel Kennett
Hi list, I've come across a rather perplexing problem which is driving me nuts. I'm attempting to migrate a core data SQLite store to the current model version, and most of the time it works fine. However, sometimes I get an EXC_BAD_ACCESS in the following stack: objc_assign_strongCast +

[ANN] KNAppGuide - an open source in-app tutorial framework

2009-05-19 Thread Daniel Kennett
I'm pleased to announce the first release of KNAppGuide - an in-app tutorial framework inspired by Apple Guide of the System 7 era. The framework was written because, well, Apple Guide was awesome. The ability to guide your users through specific tasks in your application actually *IN*

Re: [ANN] KNAppGuide - an open source in-app tutorial framework

2009-05-19 Thread Daniel Kennett
paragraph after paragraph of plain text. Allowing the developer to embed images or even videos (i.e. YouTube) would really enhance this experience. -Mic 2009/5/19 Daniel Kennett li...@kennettnet.co.uk: I'm pleased to announce the first release of KNAppGuide - an in-app tutorial framework inspired

Re: Crashing resetting or releasing an NSManagedObjectContext [SOLVED]

2009-05-06 Thread Daniel Kennett
...@kennettnet.co.uk http://www.kennettnet.co.uk Please include previous messages in any reply you send. On 5 May 2009, at 09:46, Daniel Kennett wrote: Thank you again for your helpful replies! On a different note, when you comment out the for (VetVisit code, does it still crash

Re: Crashing resetting or releasing an NSManagedObjectContext

2009-05-05 Thread Daniel Kennett
include previous messages in any reply you send. On 4 May 2009, at 23:44, Keary Suska wrote: On May 1, 2009, at 2:24 AM, Daniel Kennett wrote: Thanks for your reply. Yes, I have code that triggers relationship faults, and removing that code solves the problem. However, I need that code to work

Re: Crashing resetting or releasing an NSManagedObjectContext

2009-05-04 Thread Daniel Kennett
29.04.2009 um 10:59 schrieb Daniel Kennett: Hi list, I'm hoping you guys can help me. I'm loading up a Core Data store, copying some data out and attempting to clear it all up. I use this code for my Quicklook plugin, and in parts of my app for previewing documents in a more advanced manner than

Re: Crashing resetting or releasing an NSManagedObjectContext

2009-04-30 Thread Daniel Kennett
:(NSURL *)url inContext:(NSManagedObjectContext *)aManagedObjectContext Or copy the pet into something like an NSDictionary and return that. atze Am 29.04.2009 um 10:59 schrieb Daniel Kennett: Hi list, I'm hoping you guys can help me. I'm loading up a Core Data store, copying some

Re: Crashing resetting or releasing an NSManagedObjectContext

2009-04-30 Thread Daniel Kennett
that. atze Am 29.04.2009 um 10:59 schrieb Daniel Kennett: Hi list, I'm hoping you guys can help me. I'm loading up a Core Data store, copying some data out and attempting to clear it all up. I use this code for my Quicklook plugin, and in parts of my app for previewing documents

Crashing resetting or releasing an NSManagedObjectContext

2009-04-29 Thread Daniel Kennett
Hi list, I'm hoping you guys can help me. I'm loading up a Core Data store, copying some data out and attempting to clear it all up. I use this code for my Quicklook plugin, and in parts of my app for previewing documents in a more advanced manner than Quicklook provides. This is how I

Re: Convert GWorldPtr into a NSImage

2009-01-07 Thread Daniel Kennett
On 7 Jan 2009, at 15:24, Graham Cox wrote: However if you need to flip each pixel's byte order you might not have much choice but to iterate over the buffer and do it by hand. It's still going to be much simpler than creating a data provider, etc. You've already got the data, all that

Serial port over Bluetooth or not?

2008-10-15 Thread Daniel Kennett
Hey list, I'm writing a framework that'll communicate with the Lego Mindstorms NXT brick [1] over a serial port, which is created either over Bluetooth or a USB connection (using the Bluetooth serial profile and a USB-Serial driver respectively). The protocol dictates that messages sent

__memcpy crash with [NSData -getBytes:range:]

2008-10-10 Thread Daniel Kennett
Hi list, I'm having trouble reproducing (and fixing) a rare bug that I sometimes get reports about. Here's the code that causes the crash. streamPosition and length are checked to make sure they're within the range of the NSData object: // Allocate a buffer. void *buffer =

Re: GetMonitorFromWindow

2008-03-07 Thread Daniel Kennett
Try and make DVD Player span multiple screens - it simply won't. Since DVD Player is hardware accelerated, I was going to suggest that hardware accelerating across multiple screens is hard (especially when said screens are connected to different cards), but World of Warcraft manages just