Guttershark Updates
It’s been a while since I’ve made any significant updates to guttershark - I’ve got some in the pipeline.
The most significant problem with guttershark has been that it’s really hard to create more than one guttershark application. Loading them in the same swf was not straightforward because of the Model class being a singleton.
I’ve also taken out the DocumentController and replaced it with an App class that is somewhat similar, but simplified.
Here’s an example of how you create a document class with these updates:
package { import gs.core.*; import gs.display.*; import gs.support.events.*; public class Main extends CoreSprite { override protected function initApp():void { app=new App("default",stage,utils.player.getFlashvars(this,flashvarsForStandalone)); app.addEventListener(AppEvent.MODEL_LOADED,onModelReady); app.loadModel(app.flashvars.model); } protected function flashvarsForStandalone():Object { return {model:"model.xml"}; } private function onModelReady(e:AppEvent):void { app.removeEventListener(AppEvent.MODEL_LOADED,onModelReady); //everything's ready to kick off the site } } }
There are only a few classes that you should look through; which should indicate the changes coming.
- gs.core.App
- gs.display.CoreClip
- gs.display.CoreSprite
I also changed guttershark to use a newer release of TweenMax (the com.greensock package).
I’m waiting to commit the new version until I get the examples in the repo updated - I’m about half way through. Until then, here’s a zip file of the new version that you can snoop through.
2 commentsGity Update
Just a quick update, I’ve been slow on the trigger to release History browsing in Gity. It’s getting really close to done. I recently left my job to start freelancing; it’s been a somewhat stressful / anxious month. It’s primarily why I have slowed down a bit on Gity. But now that the transition is over I’ll be back fullspeed with Gity. So hang in there folks, I appreciate everyone’s patience.
1 commentGity History View Preview
I’ve been hard at work again on Gity; working on the next set of features. My next release will have history browsing and a tree browser in it. It’s getting pretty close to being done, I’m shooting for next weekend to have a release out. I fell behind by about a week, but I’m back on track. Until then, I thought I’d put up a few screenshots.
Here’s 1
Here’s 2
Here’s 3
Here’s 4
There are minor differences in the screenshots - trying to show some different states.
No commentsGDKit: A Cocoa Framework
As I’ve been writing Gity, I’ve been extracting pieces from it for a Cocoa app framework. It ended up being really nice. It’s kind of an equivalent Guttershark framework, but kind of not.
It’s pretty early right now, so there aren’t many utilities, or those types of general classes. But what is in here - and this is the good stuff - is the core for writing Cocoa apps, keeping them simple, logical, and organized. I’ve simplified and provided a pattern for writing maintainable cocoa apps, as well as a pattern for making your app Grand Central Dispatch friendly (see the docs for GDOperationsController).
It will compile for 10.5+ in XCode 3+. I haven’t tested all configurations of Mac OS / XCode, but there shouldn’t be anything in it that would cause problems. It’s all memory managed and should fit in fine with garbage collection.
It’s available on the gitweb page. Documentation is here. Examples are included in the repository.
So if you want to see how Gity is built, take a look at the examples in the repo. They only show the bare (really bare) minimum setup but you can probably see how to continue on from there. And make sure you inspect nibs in the example projects.
No commentsMacStories Apps Tree Giveaway
Check out this sweet opportunity to grab some good apps - MacStories App Tree
It includes 5 licenses for Breeze and Gity. And obviously a ton of other great apps.
No commentsGity 0.2
Just posted Gity 0.2.
I’ve added some Textmate features:
-Open your project with Textmate.
-(From Textmate Bundle) Open project with Gity.
Read the release notes for details.
No commentsGity 0.1.9
Just posted Gity 0.1.9. Some minor updates and bug fixes. I left out line numbering in diffing still; I’m not sold yet - it looks ugly so I’m trying to come up with a better solution (IE leaving it out for now).
No commentsGity 0.1.8 - Initial Diff Support
I just released Gity 0.1.8 with diff support. This is my first round with diff support; I intentionally left line numbers out of the diffs. I have line numbers implemented in a couple different ways and couldn’t make up my mind about which was better. Line numbers will be in the next release.
For now, if anyone has any problems with the diff view, or if it doesn’t render correctly. Please put a post with screenshot on the mac endeavor forum and I’ll take a look. I’ll have another error reporting mechanism to report wrongful diff’s in the next version.
I’ll have another update out later this week with those two additions (line numbers, diff error reporting). Then I’ll be back in hiding for a couple more weeks adding more features.
Here’s another screenshot.
Enjoy
No commentsGity Diffing Preview
It’s been a little over a week since I released Gity 0.1.7. I’m working on the next set of features. Most notably diffing. It was definitely the number one requested feature. Here’s a preview screenshot.
To begin with, diffing will be context sensitive - the diff view will update based on what is selected (or not) in the file list view, as well as updating based on what status buttons are toggled. It’s coming along really well; I’m trying to get a base version with diffing in it released in at least a couple weeks. Might be sooner than that. We’ll see ;).
Also, I should definitely say thanks to anyone who has submitted a bug, or used the bug reporter UI in the application to send me errors. Definitely helps a lot.
Enjoy!
No commentsAlpha Release For Gity - A New Git App For Mac
I’m really excited to share this news. I’ve been working on a git app for OS X for about 3 months. And this is to announce the first alpha release; it’ll be free during alpha and beta. It requires Mac OS X Snow Leopard - it uses Grand Central Dispatch, and some other new API’s that are only available on 10.6.
My schedule is tentative right now. The bug and features list before a final release is very small, so I’m crossing my fingers for two months for a final release. My timeline will also expand or contract based off of feedback and bug reports I get. So make sure to try it, break it, and ask about features. Just don’t swear at me please.
You’ll notice that there are three menu items that are always disabled, and the submodule feature is completely taken out. I had to disable those because I couldn’t complete them in time. I needed a break, and am really excited to get this out. It’s one of those situations that I’m sure some of you have run into - I could have continued working on this for three more months before showing anyone. But it’s time to let it out and start getting feedback.
I should also note that some other features you won’t see in Gity yet are “inspecting” features; most notably diff, or even looking at what the contents of the file is. I purposefully left this out for now. Gity will have two “final” releases. The first one mentioned above, the second sometime in the future. It will include diff tools, and hunk/line tools. But hold on to your panties that release is further away.
You should be pretty familiar with using git from command-line; Gity uses the same terminology - so the more familiar you are the better. If you have questions about what certain things do, the best reference is the man pages.
I just put up the new site here. And I’ve also got a forum in place for feedback and communication.
15 comments