gedit 2.28.2 released for OS X

Just a quick post to inform that gedit 2.28.2 has been release for OS X. This release includes the work to make it possible to open files with gedit from other parts of OS X (such as with finder, or using the command line ‘open’ utility). There has also been a fix in the automatic updates plugin so that it now actually works on OS X. Also, gtk+ has been updated to 2.18 in this release. Enjoy!

Download: http://ftp.acc.umu.se/pub/GNOME/binaries/mac/gedit/2.28/

Posted in gedit. 8 Comments »

New gedit plugin: multi edit

We recently landed a new gedit plugin in the gedit-plugins module named ‘multi-edit’. This plugin allows you to create multiple edit points in the document by which you can simultaneously edit your document at multiple places. I myself found the plugin very helpful in many, otherwise tedious, editing tasks. Although the plugin was written from scratch, credits should go to Jon Walsh who wrote a similar plugin and on which the ideas for this plugin were based.

The new plugin introduces a new ‘mode’ in which you can do multi editing. You enter this mode by Ctrl+Shift+C, and once enabled you can start inserting edit points manually by pressing Ctrl+E at any point in the document. Additionally, you can use Ctrl+Home and Ctrl+End to respectively insert edit points at the beginning or end of the line automatically (it will also skip to the previous/next line so you can quickly insert edit points at the beginning or end of some lines). When you start typing the inserts/deletes will be replicated in all the edit points. You can then press Escape to remove the additional edit points, and press Escape again to finally quit multi edit mode.

In addition to inserting multi edit points, it also features column editing when you are in multi edit mode. This means you can select a part of the text, and press Enter to make the selection into a column selection. When you then start editing, it will edit the whole column (just as if you would have inserted multiple edit points manually and removed the text in the column).

You can watch a short (somewhat lame :) ) movie showing this new plugin: http://www.icecrew.nl/files/gedit/multiedit.ogv

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 »