libgit2-glib

Another important thing coming along in the gedit channel is the resurrection of the GObject bindings for libgit2. The good thing about this bindings is that as we added support for GObject introspection they come for free with support for vala, python and javascript.

Jesse has been doing a great job here, updating the bindings and adding the missing API, probably he will point you out at some point his new pet project but for now it is kind of top secret :)

If you are interested on helping out with the bindings, testing them or writing the so boring unit tests you can find the repository in my github. Once they are ready or we have a serious user for them, we will probably move them to the gnome infrastructure and make a release.

Posted in Uncategorized | Comments Off

gedit hackfest

I think after so long without posting anything it is time to put some of the cool stuff we were doing lately.

One of the side effects of staying in Italy last month for a couple of weeks was that I had the weekend without anything productive to do. So Paolo Borelli and I decided to make a mini gedit hackfest where to decide the next directions to take for your favorite Text Editor of the GNOME desktop. The cool thing about staying in Italy and not having anything to do was that we autoinvited ourselves to Lapo Calamadrei’s home to discuss about some gedit’s design problems, to fix some bugs and mainly to eat, drink and enjoy of the cool views from Tuscany :) Thanks Lapo for the great hospitaly that you gave us :)

If anybody is interested we have also updated the roadmap that you can find here. The main taskes to be done are:

  • Port to GtkApplcation
  • Make use of the new GMenu
  • Use GResources (this will be great for the Windows port)
  • Finish the new sidepane (currently a work in process in the branch: wip/newpnael)

If anybody is interested on helping here will be much appreciated.

Apart from this, I also invested some time resurrecting the Win32 port of gedit. Thanks to Dieter I managed to get it working again but there are still a few problems in Gtk+ 3 in order to get an stable release. At least I would like to see the theming working on Windows XP correctly. For those interested, Dieter passed a really great startup tutorial for those who also would like to try out Gtk+ 3 in win32. I hope he will finish it and publish it soon with some great scripts to make our life easier.

Posted in Uncategorized | 3 Comments

gedit-code-assistance in f16

As you may know gedit-code-assistance is a gedit plugin that provides right now real-time error highlighting for languages supported by CLang, that is C, C++ and Objective-C. You can see how it looks in jesse’s post. I just want to indicate in this post that gedit-code-assistance has finally landed on fedora 16. So if you felt lazy before to try it out now it should be just a matter of yum install gedit-code-assistance. I am pretty sure that you will like it if you try it. ;)

Posted in Uncategorized | 1 Comment

Nice to be NICE

Quite a lot of changes in my life lately, I finally moved back to Poland and I have got also a contract with NICE. In this company I will be working with some known gedit developers as the past maintainer Paolo Maggi and one of the actives right now Paolo Borelli. I am really exciting about this opportunity and I hope everything will go fine. The only side effect is that I will not have that much time to invest on gedit and the other modules that I maintain but I will still be around.

Posted in Uncategorized | 2 Comments

[announce] gedit-latex 3.3.1 released

Just a quick announce that I just released a new version of gedit-latex. This new version has got a lot of clean up and it is now using the snippet plugins to insert the latex templates, this will improve the usability. You can also check the NEWS file.

PS: like usually already packaged for fedora ;)

Posted in Uncategorized | 1 Comment

[announce] pygobject 3.0.1 released

I am pleased to announce version 3.0.1 of the Python bindings for GObject.

The new release is available from ftp.gnome.org:

http://ftp.acc.umu.se/pub/GNOME/sources/pygobject/3.0/

What’s new since PyGObject 3.0.0?
  • when checking instances union members are same type as parent
  • add a floating flag to pygobjects
  • Revert “Fix refcount bug by not creating python wrapper during gobject init stage”

Blurb:

GObject is a object system library used by GTK+ and GStreamer.

PyGObject provides a convenient wrapper for the GObject library for use in Python programs, and takes care of many of the boring details such as managing memory and type casting.

Like the GObject library itself PyGObject is licensed under the GNU LGPL, so is suitable for use in both free software and proprietary applications. It is already in use in many applications ranging from small single purpose scripts up to large full featured applications.

PyGObject requires glib >= 2.22.4 and Python >= 2.5.1 to build.

Introspection/Python 2 bindings requires gobject-introspection >= 0.9.5 and pycairo >=1.0.2 or py2cairo >=1.8.10

Introspection/Python 3 bindings requires gobject-introspection >= 0.9.5, pycairo >=1.8.10 and Python >= 3.1

Posted in Uncategorized | Comments Off

gedit LaTeX: a powerful plugin to work with LaTex

Some of you may or may not know about an incredible plugin to convert gedit in an incredible LaTeX editor. This plugin was developed for a few years already by Michael Zeising, providing a lot of features, some of them are:

  • LaTeX/BibTex code completion.
  • Templates, it allows to easily insert latex snippets.
  • Quick building of documents.
  • Outline viewer, to have quick access to all parts of the document.
  • Tools manager.
  • etc etc etc.
Some months ago José Aliste came to me to try to resurrect the project, port it to GTK+ 3 and all our beloved new libraries and try to sanitize it and fix the crashers. Once we moved the project to the gnome server, John Stowers joined us and all together we started to work like crazy. Now, we are proud to say that we have a working latex plugin for gedit that it is quite cleaned up and that can make your life easier.
Also say that it is already packaged for fedora and if you are brave enough to test it and report bugs, and even better provide patches for it would be great. Have fun with it!! ;)
Posted in Uncategorized | 14 Comments

Things to improve in GtkTextView

For the past few years we have got a lot of people asking us (the gedit team) why we did not provide a way to split a document and visualize it with several GtkTextViews. In this post I will point out the three problems that stop us from doing it.

  • The cursor follows the insert mark from the TextBuffer.
  • The selection is managed in relation to the insert mark and the selection-bound mark.
  • The invisible tags are managed per document.
Why is this a problem?
  • Well right now the invisible tags are not a big problem as we don’t support code folding yet, but probably we will do it soon, although in relation to the inser and the selection it is pointless to split a document and use it from several views if you are editing a document and both views are following the cursor no matter if you are in one view or another.
What would be the way to fix this?
  • To manage the insert and selection-bound marks the GtkTextView should a per view-insert and view-selction-bound marks and follow only the ones set by it. The view should also modify the insert and selection-bound marks from the TextBuffer so this ones follow the ones from the view.
  • In relation to the invisible tags, I am not totally sure how the best way would be for this. Probably doing something similar as with the marks.
With this post I just wanted to point out these problems in case somebody wants to fix them :)
Posted in Uncategorized | 2 Comments

New things in gedit-cossa

Maybe this is not as awesome as the post from jesse, but I think it is worth to tell about it. With the new addition in GTK+ for reporting the position of the parsing error in the CSS provider, we can now edit the file and check the errors when we save the file or when we reload the theme preview. By the way, this has been already released and it is packed for fedora 16.

Posted in Uncategorized | 2 Comments

[announce] pygobject 2.90.3 released

I am pleased to announce version 2.90.3 of the Python bindings for GObject.

The new release is available from ftp.gnome.org:

http://download.gnome.org/sources/pygobject/2.90/

What’s new since PyGObject 2.90.2?

  • support skip annotation for return values (John (J5) Palmieri)
  • Test GPtrArray regression (Xavier Claessens)
  • Drop support for old constructor style. (Steve Frécinaux)
  • Drop support for sink functions. (Steve Frécinaux)
  • Reinstate copying of in-line structs in arrays (Mike Gorse)
  • fix inline struct array handling (John (J5) Palmieri)
  • fix on demos (Dieter Verfaillie)
  • Added support for __setitem__ to TreeModel and support for slices to TreeModelRow (Sebastian Pölsterl)
  • Convert ACCEL_* constants into Gtk.AccelFlags. (Olav Vitters)
  • Convert TREE_VIEW_DROP_* constants into Gtk.TreeViewDropPosition (Olav Vitters)
WARNING: This release has broken the ABI so any library like libpeas must be rebuilt.

Blurb:

GObject is a object system library used by GTK+ and GStreamer.

PyGObject provides a convenient wrapper for the GObject library for use in Python programs, and takes care of many of the boring details such as managing memory and type casting.

Like the GObject library itself PyGObject is licensed under the GNU LGPL, so is suitable for use in both free software and proprietary applications. It is already in use in many applications ranging from small single purpose scripts up to large full featured applications.

PyGObject requires glib >= 2.22.4 and Python >= 2.5.1 to build.

Introspection/Python 2 bindings requires gobject-introspection >= 0.9.5 and pycairo >=1.0.2 or py2cairo >=1.8.10

Introspection/Python 3 bindings requires gobject-introspection >= 0.9.5, pycairo >=1.8.10 and Python >= 3.1

Posted in Uncategorized | 1 Comment