On Sun, Jan 23, 2011 at 8:40 PM, evil.phillip <[email protected]> wrote: > I've spent my free time over the last two weeks hacking away at the > cocoa-port started by Tristam MacDonald and Richard Thomas. Here's > what I've added so far: > > * Wrote a quartz-based image loader. (needs testing to make sure all > formats work) > > * Rewrote the font code so that it can use fonts that are added with > pyglet.font.add_file. As far as I can tell, there is no way to > register a font that gets loaded from memory, so I had to change quite > a bit here. As a side-effect also fixed a bug that garbled fonts when > running 64-bit. > > * Fixed the key input handler. Can now receive key events for the > modifier keys (shift, control, etc). Also fixed problems where multi > key presses were translated into key equivalents, preventing proper > on_key_release messages from being sent. > > * Removed spurious release messages being sent to the NSAutoRelease > pools.
Sounds promising! Thanks! > Still left to do: > > * Switching to fullscreen from windowed mode doesn't work. I plan on > looking at this next, but I think the approved method for doing this > has changed in Mac OS 10.6. > > * vsync doesn't work. I'm not sure that this is currently possible to > fix, since the necessary function is exposed incorrectly due to a > PyObjC bug, and I'm not very optimistic about the state of PyObjC > improving any time soon. It doesn't look like the project is dead. Have you talked to the devs about the problem? > In the meantime, what do I need to do to get the changes commited? The source repository is at http://code.google.com/p/pyglet/source/checkout - I'll need to know your Google Code login to grant commit privs. Richard Thomas' code is in the cocoa-port branch of the repository. It's probably best to keep the cocoa work there (or in a new branch if you like) until it's solid. Richard -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
