On 12-Oct-09, at 8:14 PM, Charles Srstka wrote:
On Oct 11, 2009, at 9:46 PM, Ben Haller wrote:
Most of the bugs I had to fix were related to either using long
instead of int, or needing a -finalize method.
You should actually probably be using NSInteger instead of either of
those these
On Oct 13, 2009, at 7:44 AM, Ben Haller wrote:
Yes, but NSInteger is 10.5 or later; I'm keeping 10.4 compatibility
for now. Anyhow, those uses were all in my own internal logic,
which can stay using 32-bit ints.
NSInteger is just a typedef defined in the 10.5+ SDKs. It doesn't
On Oct 11, 2009, at 7:46 PM, Ben Haller wrote:
Besides that, I just needed to change a few retains and releases
around, because I was mixing CF calls and Cocoa calls in an
inconsistent way in a few places. And that was it; as far as I can
tell, it now runs nicely on all the target
On Oct 11, 2009, at 9:46 PM, Ben Haller wrote:
Most of the bugs I had to fix were related to either using long
instead of int, or needing a -finalize method.
You should actually probably be using NSInteger instead of either of
those these days.
There's actually a ConvertCocoa64 script
Hi folks. So my screensaver broke on 10.6, along with everybody
else's, and I'm told that's because it has to be compiled for the 64-
bit architecture, because System Prefs is a 64-bit app on 10.6. So I
set up a conditional compilation thing where it compiles three versions:
- ppc
So I guess System Preferences doesn't like my garbage collection setting
(which is set to Unsupported). Do I really need to turn GC on to get my
screensaver to work?
Yes, your screensaver must be GC-supported to support Snow Leopard.
This bit me recently too - I wasn't expecting it either.
On Sun, Oct 11, 2009 at 12:23 PM, Dave Keck davek...@gmail.com wrote:
So I guess System Preferences doesn't like my garbage collection setting
(which is set to Unsupported). Do I really need to turn GC on to get my
screensaver to work?
Yes, your screensaver must be GC-supported to support
On 11-Oct-09, at 3:28 PM, Clark Cox wrote:
On Sun, Oct 11, 2009 at 12:23 PM, Dave Keck davek...@gmail.com
wrote:
So I guess System Preferences doesn't like my garbage collection
setting
(which is set to Unsupported). Do I really need to turn GC on
to get my
screensaver to work?
Yes,
On Oct 11, 2009, at 12:44 PM, Ben Haller
bhcocoa...@sticksoftware.com wrote:
OK, makes sense. My only question: what's the best way to switch
at compile time based on whether GC is enabled for the build? I.e.
what do I #if or #ifdef? I could do it based on the arch or the
SDK, but if
On 11-Oct-09, at 3:52 PM, Kyle Sluder wrote:
On Oct 11, 2009, at 12:44 PM, Ben Haller
bhcocoa...@sticksoftware.com wrote:
OK, makes sense. My only question: what's the best way to switch
at compile time based on whether GC is enabled for the build? I.e.
what do I #if or #ifdef? I
On Sun, Oct 11, 2009 at 1:06 PM, Ben Haller
bhcocoa...@sticksoftware.com wrote:
On 11-Oct-09, at 3:52 PM, Kyle Sluder wrote:
On Oct 11, 2009, at 12:44 PM, Ben Haller bhcocoa...@sticksoftware.com
wrote:
OK, makes sense. My only question: what's the best way to switch at
compile time based
On Oct 11, 2009, at 1:06 PM, Ben Haller bhcocoa...@sticksoftware.com
wrote:
Yes, but my code also needs to compile as GC-unsupported against
the 10.4 SDK, where any GC-specific calls that I might need to make
will not compile. Am I missing something?
Do you really need to compile
On 11-Oct-09, at 4:11 PM, Kyle Sluder wrote:
On Oct 11, 2009, at 1:06 PM, Ben Haller
bhcocoa...@sticksoftware.com wrote:
Yes, but my code also needs to compile as GC-unsupported against
the 10.4 SDK, where any GC-specific calls that I might need to make
will not compile. Am I missing
On Sun, Oct 11, 2009 at 1:55 PM, Ben Haller
bhcocoa...@sticksoftware.com wrote:
On 11-Oct-09, at 4:11 PM, Kyle Sluder wrote:
On Oct 11, 2009, at 1:06 PM, Ben Haller bhcocoa...@sticksoftware.com
wrote:
Yes, but my code also needs to compile as GC-unsupported against the 10.4
SDK, where any
On 11-Oct-09, at 5:28 PM, Clark Cox wrote:
On Sun, Oct 11, 2009 at 1:55 PM, Ben Haller
bhcocoa...@sticksoftware.com wrote:
Well, I imagine I'm going to need to use *something* GC-specific --
strong/weak declarations,
Not likely.
finalize methods, whatever.
Implementing finalize methods
On Sun, Oct 11, 2009 at 2:57 PM, Ben Haller
bhcocoa...@sticksoftware.com wrote:
On 11-Oct-09, at 5:28 PM, Clark Cox wrote:
On Sun, Oct 11, 2009 at 1:55 PM, Ben Haller
bhcocoa...@sticksoftware.com wrote:
Well, I imagine I'm going to need to use *something* GC-specific --
strong/weak
On Sun, Oct 11, 2009 at 4:08 PM, Clark Cox clarkc...@gmail.com wrote:
On Sun, Oct 11, 2009 at 1:06 PM, Ben Haller
bhcocoa...@sticksoftware.com wrote:
On 11-Oct-09, at 3:52 PM, Kyle Sluder wrote:
On Oct 11, 2009, at 12:44 PM, Ben Haller bhcocoa...@sticksoftware.com
wrote:
OK, makes sense.
On Oct 11, 2009, at 7:05 PM, Michael Ash michael@gmail.com wrote:
Now, I *think* that 10.4 actually has stub versions of all these calls
which work correctly for the non-GC case which will always be found on
10.4, but it's manifestly not the case that there aren't any
GC-specific calls to
On Oct 11, 2009, at 2:44 PM, Ben Haller wrote:
My only question: what's the best way to switch at compile time
based on whether GC is enabled for the build? I.e. what do I #if or
#ifdef? I could do it based on the arch or the SDK, but if there's
a flag specifically for GC I'd rather use
On Sun, 11 Oct 2009 15:02:22 -0400, Ben Haller bhcocoa...@sticksoftware.com
wrote:
Hi folks. So my screensaver broke on 10.6, along with everybody
else's, and I'm told that's because it has to be compiled for the 64-
bit architecture, because System Prefs is a 64-bit app on 10.6. So I
20 matches
Mail list logo