I would like to start officially working on 10.6. :) At this moment, I'm just scanning through shoes/native/cocoa.m for everything that needs to be changed. So far, so good. I encourage all of you cool cats with shiny new macs to help me :P -- ~devyn
Okay, so from my research: - All of the Apple Type Services (the ATS* functions) need to be replaced with Core Text functions - GetWindowPort is used in this case to manage the WM features (change window position, hide, show) We should be able to find a replacement for GetWindowPort fairly easily. Migrating ATS to Core Text will be difficult, we will have to apply a special patch to Pango first to make it use Core Text, and then change our code. I don't think CoreText is in 10.4 though, so we will have to find some way to be backward-compatible with 10.4 using Pango+ATS (a compile-time switch?) Anyhow, I found the CoreText-Pango patch here: http://old.nabble.com/attachment/27597273/0/patch-coretext.diff, supposedly it's fairly stable, just not backward-compatible. On Wed, Mar 24, 2010 at 12:53 AM, Devyn Cairns <devyn.cairns@gmail.com>wrote: > I would like to start officially working on 10.6. :) At this moment, I'm > just scanning through shoes/native/cocoa.m for everything that needs to be > changed. So far, so good. > > I encourage all of you cool cats with shiny new macs to help me :P > > -- > ~devyn > -- ~devyn
> > I encourage all of you cool cats with shiny new macs to help me :P I'm in. My weekend plans got kinda messed up, so I didn't start yet, but it's on the agenda for this week. We should be able to find a replacement for GetWindowPort fairly easily. > Sounds good. > Migrating ATS to Core Text will be difficult, we will have to apply a > special patch to Pango first to make it use Core Text, and then change our > code. I don't think CoreText is in 10.4 though, so we will have to find some > way to be backward-compatible with 10.4 using Pango+ATS (a compile-time > switch?) > Sounds like the jobs of an #ifdef to me. > Anyhow, I found the CoreText-Pango patch here: > http://old.nabble.com/attachment/27597273/0/patch-coretext.diff, > supposedly it's fairly stable, just not backward-compatible. > Cool.
Tomorrow I'm going to attempt to replace GetWindowPort. I'm a little timid about taking on the ATS -> Core Text migration, as I am quite new to Objective-C (I know the syntax, and how everything works, I just don't know much of even the standard library, never mind Cocoa). On Wed, Mar 24, 2010 at 5:38 AM, Steve Klabnik <steve@steveklabnik.com>wrote: > I encourage all of you cool cats with shiny new macs to help me :P > > > I'm in. My weekend plans got kinda messed up, so I didn't start yet, but > it's on the agenda for this week. > > We should be able to find a replacement for GetWindowPort fairly easily. >> > > Sounds good. > > >> Migrating ATS to Core Text will be difficult, we will have to apply a >> special patch to Pango first to make it use Core Text, and then change our >> code. I don't think CoreText is in 10.4 though, so we will have to find some >> way to be backward-compatible with 10.4 using Pango+ATS (a compile-time >> switch?) >> > > Sounds like the jobs of an #ifdef to me. > > >> Anyhow, I found the CoreText-Pango patch here: >> http://old.nabble.com/attachment/27597273/0/patch-coretext.diff, >> supposedly it's fairly stable, just not backward-compatible. >> > > Cool. > -- ~devyn
Something came up, so hopefully today. Also, I have discovered that the 32-bit pre-built dmg of Raisins runs on Snow Leopard just fine. So, in the mean time, we can attempt building in 32-bit compatibility mode. On Fri, Mar 26, 2010 at 1:56 AM, Devyn Cairns <devyn.cairns@gmail.com>wrote: > Tomorrow I'm going to attempt to replace GetWindowPort. I'm a little timid > about taking on the ATS -> Core Text migration, as I am quite new to > Objective-C (I know the syntax, and how everything works, I just don't know > much of even the standard library, never mind Cocoa). > > > On Wed, Mar 24, 2010 at 5:38 AM, Steve Klabnik <steve@steveklabnik.com>wrote: > >> I encourage all of you cool cats with shiny new macs to help me :P >> >> >> I'm in. My weekend plans got kinda messed up, so I didn't start yet, but >> it's on the agenda for this week. >> >> We should be able to find a replacement for GetWindowPort fairly easily. >>> >> >> Sounds good. >> >> >>> Migrating ATS to Core Text will be difficult, we will have to apply a >>> special patch to Pango first to make it use Core Text, and then change our >>> code. I don't think CoreText is in 10.4 though, so we will have to find some >>> way to be backward-compatible with 10.4 using Pango+ATS (a compile-time >>> switch?) >>> >> >> Sounds like the jobs of an #ifdef to me. >> >> >>> Anyhow, I found the CoreText-Pango patch here: >>> http://old.nabble.com/attachment/27597273/0/patch-coretext.diff, >>> supposedly it's fairly stable, just not backward-compatible. >>> >> >> Cool. >> > > > > -- > ~devyn > -- ~devyn
Any progress on building? That Rakefile is a freaking maze. On Sat, Mar 27, 2010 at 12:34 PM, Devyn Cairns <devyn.cairns@gmail.com>wrote: > Something came up, so hopefully today. Also, I have discovered that the > 32-bit pre-built dmg of Raisins runs on Snow Leopard just fine. So, in the > mean time, we can attempt building in 32-bit compatibility mode. > > On Fri, Mar 26, 2010 at 1:56 AM, Devyn Cairns <devyn.cairns@gmail.com>wrote: > >> Tomorrow I'm going to attempt to replace GetWindowPort. I'm a little timid >> about taking on the ATS -> Core Text migration, as I am quite new to >> Objective-C (I know the syntax, and how everything works, I just don't know >> much of even the standard library, never mind Cocoa). >> >> >> On Wed, Mar 24, 2010 at 5:38 AM, Steve Klabnik <steve@steveklabnik.com>wrote: >> >>> I encourage all of you cool cats with shiny new macs to help me :P >>> >>> >>> I'm in. My weekend plans got kinda messed up, so I didn't start yet, but >>> it's on the agenda for this week. >>> >>> We should be able to find a replacement for GetWindowPort fairly easily. >>>> >>> >>> Sounds good. >>> >>> >>>> Migrating ATS to Core Text will be difficult, we will have to apply a >>>> special patch to Pango first to make it use Core Text, and then change our >>>> code. I don't think CoreText is in 10.4 though, so we will have to find some >>>> way to be backward-compatible with 10.4 using Pango+ATS (a compile-time >>>> switch?) >>>> >>> >>> Sounds like the jobs of an #ifdef to me. >>> >>> >>>> Anyhow, I found the CoreText-Pango patch here: >>>> http://old.nabble.com/attachment/27597273/0/patch-coretext.diff, >>>> supposedly it's fairly stable, just not backward-compatible. >>>> >>> >>> Cool. >>> >> >> >> >> -- >> ~devyn >> > > > > -- > ~devyn > -- ~devyn
No progress yet here. :-\
Steve & Devyn, I may or may not have stumbled onto (remembered) something. As you may know, I've had a tackle at this task before but never actually got it to build. Now, our second compiler command (that builds dist/libshoes.dylib) might have fixed some of these things, but before when I was trying to get the rake to build, there was an exchange with i5m where he suggested I change the Rakefile in some specific places having to do with the MACOSX_DEPLOYMENT_TARGET environment variable, and also the one about "UNIVERSAL" which doesn't exist anymore either. In fact, I've noticed that in the particular environment in which I was able to build the dynamic library, a lot of the environment variables that the Rakefile checks for (in if and case statements) aren't defined. So ... doesn't that mean that a lot of the Rakefile isn't actually executing? In short, I think we need to defined a few more environment variables, and go through and fix the Rakefile where I had before (which of course I didn't keep because I'm awesome) - all of these changes are in an older email. I don't have a link for it, but I'll post what I did after I do it and what happens. If you can find that email (it is titled "mac osx glib error" and involves me, Steve, and i5m) feel free to try some of those things too. I'm going to hack away at it right now, but the reason I'm posting this is that I may give up and go to bed until tomorrow. So just in case someone else wants to try this before I get to posting results... ML