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 »

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 »