gedit OS X opening files

Finally sat down and took the time to solve the issue of opening files on OS X. Since OS X uses IPC for opening files on existing processes, some special care had to be taken to make this work. Anyway, gedit now properly opens files when opened from for instance the finder, and also supports dropping files in the dock on the gedit icon. It also now registers itself as a recommended application for opening most known text files. Hurray!

Posted in gedit. 1 Comment »

gedit 2.28.0, OS X

Lagging a bit behind, but it is there, gedit 2.28.0 for OS X. There wasn’t much time during this cycle for fixing some of the reported bugs on OS X, I especially wanted to have the issue resolved with gedit not being able to open files when opening them from for instance finder. Implementing this turned out to not be as trivial as a few hours (at least not for me, I don’t really know any objective-c).

So, not so much OS X goodies in this release, but at least you get the latest and the greatest in terms of gedit. The most notable change in this release is probably the ‘Quick Open’ plugin which you can use to quickly open documents (similar, but not quite, to textmate’s snap open).

Update: you can download the dmg at the usual location: ftp://ftp.gnome.org/pub/GNOME/binaries/mac/gedit/2.28/

Posted in gedit. 3 Comments »

gitg 0.0.4

I thought it might be a good time to blog about gitg a little. Basicly, gitg is a clone of GitX (a git gui client for OS X written by Pieter de Pie) for GNOME. I initially started to develop it just because it was fun and I needed to learn about git (and writing a gui application for it seemed like a good way to learn it). After having finished the basics like loading and displaying the history, I lost interest a bit. But, with the migration of GNOME from svn to git, I picked it up again and I think by now it has become a really useful application (I use it daily).

gitg was always meant to be fast, and I think it’s pretty decent in loading the history and calculating all the tracks, and it’s pretty too :) . It features two distinct areas, the first being the history view where you browse the history, look at the diff of a specific commit, etc.

gitg history showing git history

gitg history showing git history

The other view is the commit view where you can easily stage changes in files, or hunks by simply clicking in the diff view.

gitg commit view

gitg commit view

So, just released 0.0.4, which includes really cool stuff that enables you to merge, rebase, apply items from the stash by drag and drop, or by context menu. You can manage your remotes, fecth the latest objects. Create a new local branch from a remote branch, or push a local branch to a remote branch. You can now also create and remove tags. gitg is maintained on git.gnome.org and GNOME bugzilla. So please give it a try and let me know what you think :)

For some more screenshots: http://www.icecrew.nl/files/gitg/
Git: http://git.gnome.org/cgit/gitg
Downloads: ftp://ftp.gnome.org/pub/gnome/sources/gitg/0.0/

Posted in Uncategorized. Comments Off

gedit 2.26.3

Just released gedit 2.26.3. A small number of bugfixes, but worth a release nevertheless. Needless to say, there is also a dmg for OS X. No windows installer yet, but that’s sure to follow. From the NEWS:

New Features and Fixes
======================
- Avoid sync stat for icon of remote bookmarks
- Hide fullscreen control when minimizing gedit
- Only apply modelines when strictly necessary

New and updated translations
============================
- cs (Marek Cernocky)

Downloads: http://ftp.gnome.org/pub/GNOME/sources/gedit/2.26/
Mac OS X: http://ftp.gnome.org/pub/GNOME/binaries/mac/gedit/2.26/

Posted in gedit. 4 Comments »

gedit OS X for realz

My first ever blog post on gnome blogs, and about time. Today I ‘finished’ my earlier porting of gedit to OS X. Although we did the initial port some time ago, it was more a proof-of-concept than actually something usable. That is, I was the only one who could use it. Not any more though! I finally sat down to make it into an actual OS X App Bundle (using the excellent ige-mac-bundler). We include everything that we need in there, so it should be entirely standalone. That also means that the full thing is about 100 MB :(

I was pretty impressed by how well OS X is supported by gtk+ and friends already, but I did hit some snags on the way. One of them was gconf. We decided that it would be simpler for now not to involve dbus, so we went with gconf 2.22. Unfortunately, gconf has hardcoded install paths, and since we want to put everything in a single bundle, this was causing some problems. In the end I patched it to replace the compile time prefix with a prefix set as an environment variable. Other than that I had some issues with python modules installing in the wrong place, and I had to patch ige-mac-integration in some places to get a bit nicer menu integration (especially accelerators). All in all pretty smooth, but still about a days work to get it all done.

So, what do you get? If you’re the proud owner of a Mac (running OS X 10.4 intel), feel free to download the installer for gedit 2.26.2. After downloading, you should be prompted with the following:

After launching gedit, you should be prompted with something like this:

 

So there it is, gedit nicely running on OS X natively. It features:

  • Menu integration (including appropriate shortcuts)
  • Full support for plugins (both C and Python)
  • Everything else you expect from gedit

Of course there are still some things to be done:

  • There is no help yet (somehow, building the help eats all of my 4G of mem, crashing python for xmlpo)
  • More and more integration (proxy icon, dock menu)
  • Translations do not seem to be working at the moment

Update:
There is a new dmg 
including help, translations, better integration (proxy icon, closing/quitting) and most of the plugins in gedit-plugins.

    Posted in gedit. 26 Comments »