> On 9 Mar 2015, at 20:56, Torsten Curdt wrote:
>
> This seems to work!
Nice catch indeed.
I have confirmed that this works with the HockeyApp SDK (which uses
PLCrashReporter).
However the user experience is rather barren.
The app simply dies.
As well as posting the report ReportCrash(8) als
> On 9 Mar 2015, at 8:58 pm, Dragan Milić wrote:
>
> Sure, no problem. Since it’s a bit long, I attached it as a separate ObjC
> source file. A few notes:
>
> * It’s rather old code (not made by me) that I haven’t looked into for years
> until this problem appeared.
> * I rearranged it a bit
I have a Core Data entity with a file attribute that is a path to a file on
disk. Eventually, that entity gets deleted on a private MOC.
I want to defer deleting the associated file until the main MOC is saved, so in
-prepareForDeletion, I check to see if the MOC has a parent MOC, and if not, I
This seems to work!
void exitCallback(siginfo_t *info, ucontext_t *uap, void *context)
{
exit(-1);
}
- (void) setupCrashReporting
{
PLCrashReporter *crashReporter = [PLCrashReporter sharedReporter];
...
PLCrashReporterCallbacks callbacks;
callbacks.version = 0;
callbacks
>
> I guess it might be worth opening bug reports for the crash reporters to
> use "exit" if they don't.
>
>
> Or just find the exit point to PLCrashReporter’s signal handler, add an
> “exit” there, and send a patch to the developers. I can’t imagine it’d be
> much work.
>
Touché :)
Actually it s
On Mar 9, 2015, at 2:46 PM, Torsten Curdt wrote:
>
> I guess it might be worth opening bug reports for the crash reporters to
> use "exit" if they don't.
Or just find the exit point to PLCrashReporter’s signal handler, add an “exit”
there, and send a patch to the developers. I can’t imagine it’
>
> If you read the man page for abort() it says use exit() to avoid the
> ReportCrash daemon.
>
Ah, nice. Need to try that.
Adium does this after launching their crash report helper app.
>
> How do they get there?
> Simple.
> Unix signals handling.
> Right there in the really nice Adium code yo
On Mon, Mar 9, 2015, at 03:58 AM, Dragan Milić wrote:
> Thanks for looking into this, as I really hit a dead end with it.
I'd start by looking at that -[NSView(NTExtensions) drawFocusRing]
method. If you comment it out, what happens?
For safety, you really ought to be prefixing all of your catego
On pon 09.03.2015., at 16.33, Motti Shneor wrote:
>> Date: 9 במרץ 2015 בשעה 11:58:11 GMT+2
>> From: Dragan Milić
>> Subject: Re: All buttons lost focus ring on Yosemite
>> To: Cocoa-dev
>>
>> On pet 06.03.2015., at 18.37, Kyle Sluder wrote:
>>
>>> On Fri, Mar 6, 2015, at 10:49 AM, Dragan Milić
> Il giorno 09/mar/2015, alle ore 16:53, dangerwillrobinsondan...@gmail.com ha
> scritto:
> Right there in the really nice Adium code you linked to.
> You could copy and paste verbatim almost.
The Adium code (and this one for sure, check the starting comment) is licensed
under the GPL, you sho
If you read the man page for abort() it says use exit() to avoid the
ReportCrash daemon.
Adium does this after launching their crash report helper app.
How do they get there?
Simple.
Unix signals handling.
Right there in the really nice Adium code you linked to.
You could copy and paste verb
>
> Date: 9 במרץ 2015 בשעה 11:58:11 GMT+2
> From: Dragan Milić
> Subject: Re: All buttons lost focus ring on Yosemite
> To: Cocoa-dev
>
>
> On pet 06.03.2015., at 18.37, Kyle Sluder wrote:
>
>> On Fri, Mar 6, 2015, at 10:49 AM, Dragan Milić wrote:
>>
>>> Thanks for the suggestion. A bad cat
Hi Torsten,
This is of interest to me, as well. I haven't had a chance to look into it, but
I will over the next few days.
Bob
Sent from my iPhone
> On Mar 9, 2015, at 15:54, Torsten Curdt wrote:
>
> I could not find the prefs app
>
>
> https://developer.apple.com/library/mac/technotes/tn2
I could not find the prefs app
https://developer.apple.com/library/mac/technotes/tn2004/tn2123.html#FIGCRASHREPORTERPREFS
but seems like it's just a fancy way of switching the global state.
http://cocoadev.com/HowToAvoidSendToAppleWindow
has some further suggestions.
Apparently Adium works
> On 7 Mar 2015, at 12:55, Torsten Curdt wrote:
>
> Is there a way to disabled the Apple crash reporter dialog?
I know why you want to do this (I do too) but I don’t think you can on a per
app basis.
An info.plist key could provide the necessary token but ReportCrash(8) is not
documented to
On Mar 9, 2015, at 04:53, Roland King wrote:
>
>
>> On 9 Mar 2015, at 15:38, Patrick J. Collins
>> wrote:
>>
>> Hi everyone,
>>
>> It was recently suggested to me that my app should be a document based
>> architecture design since I want File -> Open -> to bring up a
>> new
>> "document" w
On pet 06.03.2015., at 18.37, Kyle Sluder wrote:
> On Fri, Mar 6, 2015, at 10:49 AM, Dragan Milić wrote:
>
>> Thanks for the suggestion. A bad category was something I also thought could
>> be the reason for this behaviour, but it looks like it isn’t. There are no
>> NSButton, NSButtonCell, nor
> On 9 Mar 2015, at 15:38, Patrick J. Collins
> wrote:
>
> Hi everyone,
>
> It was recently suggested to me that my app should be a document based
> architecture design since I want File -> Open -> to bring up a
> new
> "document" window. Googling this topic has been a bit frustrating... I
Hi everyone,
It was recently suggested to me that my app should be a document based
architecture design since I want File -> Open -> to bring up a new
"document" window. Googling this topic has been a bit frustrating... I
see lots of references in apple's documentation saying things like "The
X
On 09/03/15 00:12, Patrick J. Collins wrote:
[_image lockFocus];
[[NSColor blueColor] set];
NSBezierPath *line = [NSBezierPath bezierPath];
NSPoint pointA = NSMakePoint(0, 0);
NSPoint pointB = NSMakePoint(self.bounds.size.width, 0);
20 matches
Mail list logo