Author |
Message |
Topic: Where's Derelict being developed now? |
salamander
Replies: 2
Views: 17438
|
Forum: Derelict Posted: Sun Feb 12, 2012 4:55 pm Subject: Where's Derelict being developed now? |
I think that the Big Changes Afoot entry
http://www.dsource.org/forums/viewtopic.php?t=6214
should be made a sticky topic since it's very important -- perhaps also on the main project page, which se ... |
Topic: Bug: DerelictSDL on Mac OS X 10.6.8 segfault upon exit |
salamander
Replies: 19
Views: 102451
|
Forum: Derelict Posted: Sun Feb 12, 2012 4:33 pm Subject: Bug: DerelictSDL on Mac OS X 10.6.8 segfault upon exit |
I've been thinking some more on this issue. I'm wondering if it has anything to do with what the documentation for NSAutoreleasePool says:
Code:
You should always drain an autorelease pool in the s ... |
Topic: Working on a fork of ddmd |
salamander
Replies: 0
Views: 44044
|
Forum: ddmd Posted: Sun Jan 15, 2012 6:10 am Subject: Working on a fork of ddmd |
I downloaded ddmd and found myself making some major changes. Before I go further, I'd like to ask how I might keep y'all informed of the changes.
Should I merely maintain a private fork and come o ... |
Topic: Bug: DerelictSDL on Mac OS X 10.6.8 segfault upon exit |
salamander
Replies: 19
Views: 102451
|
Forum: Derelict Posted: Sat Jan 14, 2012 9:44 am Subject: Bug: DerelictSDL on Mac OS X 10.6.8 segfault upon exit |
So far the fix works for me. If it stops working, or if your NSApplication is leaking massively then we'll have to reexamine. |
Topic: Bug: DerelictSDL on Mac OS X 10.6.8 segfault upon exit |
salamander
Replies: 19
Views: 102451
|
Forum: Derelict Posted: Mon Jan 09, 2012 10:58 pm Subject: Bug: DerelictSDL on Mac OS X 10.6.8 segfault upon exit |
Here's the thing. The docs for NSApplications say that the new Mac systems are garbage collected and that the release methods are supposed to be do-nothing operations. But obviously they are doing thi ... |
Topic: Bug: DerelictSDL on Mac OS X 10.6.8 segfault upon exit |
salamander
Replies: 19
Views: 102451
|
Forum: Derelict Posted: Sun Jan 08, 2012 4:19 pm Subject: Bug: DerelictSDL on Mac OS X 10.6.8 segfault upon exit |
OK... new fix for this bug!
Go to DerelictSDL/derelict/sdl/macinit/SDLMain.d and search for all calls to any ".release" method and comment them out.
Searching the internet revealed th ... |
Topic: Bug: DerelictSDL on Mac OS X 10.6.8 segfault upon exit |
salamander
Replies: 19
Views: 102451
|
Forum: Derelict Posted: Sat Jan 07, 2012 11:04 pm Subject: Bug: DerelictSDL on Mac OS X 10.6.8 segfault upon exit |
I tried:
shared static this(){...}
shared static ~this(){...}
They both segfault instantly - program doesn't even get started when ctor is shared.
This problem is pretty sucky. Everytime the a ... |
Topic: Bug: DerelictSDL on Mac OS X 10.6.8 segfault upon exit |
salamander
Replies: 19
Views: 102451
|
Forum: Derelict Posted: Wed Dec 07, 2011 2:12 pm Subject: Bug: DerelictSDL on Mac OS X 10.6.8 segfault upon exit |
Hey, aldacron! I found a solution, but I had to modify this file:
Derelict2/DerelictSDL/derelict/sdl/macinit/SDLMain.d
and remake Derelict2.
In the static destructor, (line ~111):
static ~ ... |
Topic: Bug: DerelictSDL on Mac OS X 10.6.8 segfault upon exit |
salamander
Replies: 19
Views: 102451
|
Forum: Derelict Posted: Wed Dec 07, 2011 1:30 pm Subject: Bug: DerelictSDL on Mac OS X 10.6.8 segfault upon exit |
Yes, the Bus Error/Segmentation Fault continues to be interspersed with actually successful runs:
imac:zd zach$ ./test
Test point number one
Made it THIS far
imac:zd zach$ ./test
Test point nu ... |
Topic: Bug: DerelictSDL on Mac OS X 10.6.8 segfault upon exit |
salamander
Replies: 19
Views: 102451
|
Forum: Derelict Posted: Tue Dec 06, 2011 3:59 pm Subject: Bug: DerelictSDL on Mac OS X 10.6.8 segfault upon exit |
Trying to got DerelictSDL working for Mac. I'm not sure what to do about this bug.
Mac OS X 10.6.8
Derelict2 (version... not sure.. downloaded ~Jun 2011)
dmd 2.052 (I don't think which dmd matters ... |
Topic: Just beginning - Getting some text onto the screen |
salamander
Replies: 2
Views: 9144
|
Forum: Derelict Posted: Mon Jun 06, 2011 4:13 pm Subject: Just beginning - Getting some text onto the screen |
I'm just starting out programming with Derelict2 (and D in general), and I've used the sample code above along with the one I found here...
http://blog.fedora-fr.org/bioinfornatics/post/D-Programmi ... |
|