| Subcribe via RSS

EOG Champlain plugin is now merged

October 12th, 2008 | No Comments | Posted in Gnome, Technologie, libchamplain

The code to display maps in EOG for you geotagged photos is now merged into EOG Plugins.

You can grabe the code there:

svn co http://svn.gnome.org/svn/eog-plugins/trunk eog-plugin

To build it, you will need libchamplain and libchamplain 0.2.2 or later.

You can find 2 sample geotagged images on the bugzilla.

Libchamplain 0.2.2

October 7th, 2008 | No Comments | Posted in Gnome, Technologie, libchamplain

In this release of your favorite Gtk+ Map Widget you get:

  • Bug fixes:
    • zoom-level property changes are notified if changed when setting a new map-source;
    • Markers are now ordered from top to bottom instead of first added, first drawn using ChamplainLayer.  This is more natural to the eye.
  • Less exported symbols;
  • A less error prone library (data passed as parameter is now validated); — thanks to Marco for pointing out my Engrish lol

Grab the 0.2.2 release here!

Since I forgot to blog abour libchamplain 0.2.1, here is what was improved:

  • Bug fixes:
    • Markers’ position wasn’t updated when the map was recentered;
    • Build fixes for packagers;
  • A more standard API: (lat, lon) is now used instead of (lon, lat);
  • There is now libchamplain and libchamplain-gtk.  libchamplain can be used alone in a pure Clutter applications, where libchamplain-gtk is obviously a Gtk+ widget that wraps libchamplain.

EOG Map Plugin is now public

With this release, I am also happy to announce that I have published the code for the EOG Map plugin. You can grab it here in the Gnome Buzilla.  Download it, try it and test it, there has to be some bugs left over hehe (although I did my best to polish it!).

Welcome to pierlux.com

October 6th, 2008 | No Comments | Posted in Technologie

As of now, squidy.info will cease to be used for pierlux.com! All links to squidy.info will be redirected toward pierlux.com with HTTP code 301, meaning that your browsers and applications should update the URL on their own.  Sorry if this made my posts bump on some planets.

I decided to change my domain name to better reflect my on-line personality and because quite frankly, squidy.info was hard to spell.  More over, some of the letters in squidy sound the same over the phone.  While I will have to spell pierlux when giving my email, it should be less difficult.

By the way, here is my new email address: pierre-luc@pierlux.com.

squidy.info should remain in back-up for the next 5 years.

Spending some time in Cambridge

September 25th, 2008 | No Comments | Posted in Gnome, Voyages

Cambridge

I am currently having a nice week working remotely from the Collabora’s Cambridge office.  They are enjoying a vast and cozy work place (compared to Montréal’s office), which makes me jealous.  Never the less, things should improve in the next months. :)  Cambridge is really nice, I am a big fans of pedestrian only cities.

Marco's cooking

Last night, we had dinner at Guillaume, Géraldine, Will and Sjoerd’s.  Marco was the actual cook.  We had wine, camembert, salame sotto grasso, salame d’asino, bread and Risotto flans (pictured above).  Quite a nice evening.

So far, life in Cambridge seems really nice but I’ll have to devote a post to English oddities.

10 days before Maemo Summit 2008

September 9th, 2008 | No Comments | Posted in Technologie, Travel, WebKit

As it has already been pointed out, there are only 10 days left before the opening of Maemo Summit 2008. I’ll be attending this first summit with Marco Barisione, one of my colleagues from Collabora. We’ll both be presenting.

On Saturday September 20th at 15:30 for half an hour, Marco will introduce you to Telepathy, the framework used in the maemo platform for instant messaging and audio/video conferencing.

On Saturday September 20th at 16:30 for half an hour, I will introduce you to WebKit, the open source web engine. I’ll be explaining part of the internals and demonstrate how to use it in your Gtk or Qt application today (therefore this talk is oriented towards Gtk+ and Qt, which are toolkits  you can use to build applications for the maemo platform).

The summit is right after OSiM World, at headquarter of c-base in Berlin, Germany.  I hope to see you in great numbers at both our talks!

Schedule subject to changes, see the official wiki page for times and details.

I see progress

September 8th, 2008 | 2 Comments | Posted in Gnome, Technologie, libchamplain

I’ve been very busy in the last 2 weeks (with my brother’s emergency surgery and the work), but I did manage to work on libchamplain and code new features.

I finally fixed the limited zoom bug I had (it did take me more than one try!). There were some glitches with small zoom levels (where the map was smaller than the window), but these are history.  I also had to patch clutter-gtk (see bug #1114) to generate [the missing] scroll events to have mouse wheel zooming.

Different map sources are now available. You currently have 3 sources built-in: OpenStreetMap Mapnik, OpenArialMap and Maps For Free Relief.  You can change the map source at run time!  I’ve attempted to write support for other non free sources but their usage terms prevents their use, so I stopped.

Markers (pins on the map) were planned for 0.3, but I figured they were so important that I wrote them earlier. ChamplainMarkers are nothing more than ClutterActors placed at the right position on the map. You are free to draw anything (or load an image) as a marker. I also created a default marker for simple text markers. In the first screenshot, all markers are different because I wanted to demonstrate the parameters you can change (text, font, marker color and font color).  Markers can even be translucient!

Little fixes to the installed files, small animations and complete doc are also in. I think it is now usable in a real-life application. That is why I wrote EOG Map plugin (a very good idea of vuntz).

It is is a plugin for Eye of Gnome that adds a sidebar that displays the geolocation of the image on a map. I even toyed with the champlain API and created an annoying but yet cool throbbing marker.

I’d like to thank the people who helped me put this together. Their early reviews, comments and their help were key to keep me progressing when I was actually growing out gray hair on problems (like getting gtk-doc working).

Now, could your app benefit from a map? Think about it :)  In the mean time, someone wants to package it?

Introducing libchamplain

August 22nd, 2008 | 2 Comments | Posted in Gnome, Technologie, libchamplain

I was planning to announce this on Monday, after a week-end to clean things up, but since another widget with similar features have been announced today, I think I should announce mine as well!

So libchamplain is a Gtk+ widget that aims to display rasterized maps (OpenStreetMap, Google Maps and others) using Clutter to have nice animations.  It is in a workable state (only zooming is limited for now, and that’s what I was planning to iron out this week-end).  See the web site for detailed feature and planned features.

You can grab the LGPLed code on gitorious.  Comments, reviews and patches/branches are welcome :)

Update: I created a screencast to demo it, but we can’t really see the nice animations here.  How do we do a nice screencast of a Clutter based app?

Update: I pushed the missing marshal file, thanks bpeel.

Gtalk problems?

August 21st, 2008 | No Comments | Posted in Technologie

I’ve been having issues with Google Talk for some days now.  At first, I didn’t bother to look for the source of the problem, but right now I can’t event see all my online contacts (and that’s no mater which Open Source IM client I use).

I’ve started telepathy-gabble with debug to get the right error message:

<error code=”500″ type=”wait”><resource-constraint xmlns=”urn:ietf:params:xml:ns:xmpp-stanzas”/><text xmlns=”urn:ietf:params:xml:ns:xmpp-stanzas”>Too many stanzas sent per day.</text></error></iq>’

It all looks like my account had been suspended for sending too many messages but it isn’t the case.  It is funny because empathy was giving me “Messages is too long” error messages and pidgin was saying “Unauthorized”.

So where’s the problem? Did my account get high jacked to send spam? are there issues with the Google Talk XMPP servers (I recall people having issues yesterday)?

I think the utilmate solution will be to just create an account on a real XMPP server and drop Google Talk at once.

Update: problem solved, the service is back to normal.  Go figure what happened!

NPAPI plugins are supported

August 18th, 2008 | No Comments | Posted in Technologie, WebKit

This Arstechnica article is quite interesting…

Also, NPAPI support is already in the Gecko web rendering engine.

I’d like to correct a perception here: NPAPI plugins are supported in QtWebKit (current SVN and future releases) and WebKitGtk.  In fact, Marc Ordinas i Llopis made it work months ago!

A new font dialog

August 14th, 2008 | 3 Comments | Posted in Technologie

Alberto, starting from your prototype UI, I let my mind free.  I think the flow feels simpler, and it is less cluttered to the eye.  Since all lists are searchable, I removed the search area.  I moved the buttons under the font list because I think that we always select a font in this order: Font face, font weight and style, then size.

I still think we might need more labels to explicitly tell the user what is listed in the font list.  This version also has the advantage that if a font name is too large, you can always resize the window.

Anyway, that was my 2 cents :) I am no HIG specialist.