Archive for October, 2007

Backgrounds support in htmltextview

Tuesday, October 30th, 2007

Since revision 967 htmltextview has this kewl feature:

screenshot

To test it, you have to enable the /eval plugin and type in this:

/eval import gtk
pixbuf = gtk.gdk.pixbuf_new_from_file(”/path/to/image.jpg”)
conversation.ui.textview.set_background(pixbuf)

..And what does this mean? Background sharing support! And no, don’t think that we were losing our time with this. The idea was to add background image support with CSS styles in htmltextview, to be a step nearer to adium styles :D.

We have been working in this for weeks, without getting “decent” solutions. [technical]The ScrolledWindow was scrolling the background too, in an ugly way[/technical]. We’ve tried lots of things, even asked the pygtk mailing list — without getting replies of course. (TODO: reply to myself with the solution)

One day, alencool read that mail, tried to find the solution with cairo, and came up with a cool transparent window+textview that requires compiz. The problem was that we had to make all the window transparent to get it working, something quite impossible. But he introduced a new idea, [technical]connecting the ScrolledWindow expose-event to the child htmltextview queue_draw[/technical]. Yesterday I tried it with one of my old solutions, and surprise, it worked fine.

“Background sharing” is “a protocol feature that extends file transfer to send images and set them automatically as backgrounds”. That means that WLM can share the background you choose for the window with your contacts. Pretty stupid feature, but people like it.

This is just the first step, and the hardest one (because we thought it was impossible). Now roger should update his FTContext to identify better background sharing file transfers, and someone else code the GUI part (an icon in the toolbar).

And yes, we can add background images to the user list too. Who said that qt is better?

Trac migrated to mysql

Saturday, October 27th, 2007

…because sqlite was starting to suffer those four thousand hits per day. I can’t code without trac, so maybe this was a lost saturday.

By the way, jan fixed pygif, so we’ll have ink for 1.0!

Messages not received bug — fixed!

Thursday, October 18th, 2007

A quick note, if you were affected with this bug, it should be fixed now in revision 947. Update, and if it isn’t, reopen that ticket.

Remember 1.0?

Monday, October 15th, 2007

Some of you may have noticed the massive ticket-closing in the last week. That could be because… we are trac addikts, like the pidgin guys.

Anyway, we want to release 1.0 as soon as possible. But we still have some “blocking” tickets, the first five: #99, #106, #26, #27 and #32.

The “major priority” ones are bugs, but we couldn’t reproduce them yet, and we can’t fix; the “normal priority” ones are features — big features.

File transfer and Direct connect may be easy, but they require lots of time and concentration — because they are big.

Ink, sadly, is “at risk”. The last time I worked with pygif, I just got corrupt images everywhere. Finding the bug there will be hard, so if 1.0 is ready before pygif, we’ll leave it for 1.1.

BTW, we are always looking how to implement exciting new features for 1.1. Webcam, for example, doesn’t seem that hard now… but with this I don’t mean that it is going to be in 1.1.

First Post

Thursday, October 11th, 2007

Original title…

You know how all first post goes, just explain the idea of the blog.

Well, the idea, is to make this blog, a place like emesene-im.blogspot.com where you can read non-tech updates of what is going on on our road to conquer the world, nice screenshots, nice descriptions, so you don’t need to read criptic svn commits and stuff, also tech stuff will be available, and, sice dx will be around, some crazy stuff also :P.

If you don’t know what emesene is, then :

  • emesene.org
  • emesene.svn.sf.net
  • sourceforge.net/projects/emesene
  • getdeb.net
  • google it!

have a nice day