Friday, May 01, 2009

Worker's day update

Today I had time to code emesene 2, this are the results:

  • fixed the problem getting notifications on login
  • now all the contacts are displayed on the contact list (you don't need to refresh to make some change the status)
  • the emoticon window is closed when the mouse leaves the window for more than a half second
  • the tabs now have widgets that look better (check the code quiz below to help me fix the close button!)
  • the input box on the conversation window is smaller now
  • implemented a dummy e3 protocol to be able to test emesene 2 without the need to login and wait.


The most interesting of all the new features is the last one, using the e3 architecture that allows to add support to new protocols easily I implemented a dummy protocol that basically returns succeed events on all the requests, it contains a userlist with dummy contacts and groups and when you chat with someone some random contact replies you with the same message.
This dummy protocol is nice because of two things:
1) it let me test the gui without login in in msn or gtalk (that means no waiting for login), I can also code when I have no internet connection or I'm behind a closed network (like the one from my university).
2) it shows how easy is to start implementing a new protocol and can help people to understand e3 and make it easy to start hacking the msn or jabber implementations.

if you want to test the dummy protocol, on the login window open the preference dialog (on the bottom right corner) and select the dummy session, then login with some random user and password and start pressing all the buttons to make the bugs appear.

16 comments:

Anonymous said...

Ya hay alguna fecha tentatia para una release Beta, o RC?

luismarianoguerra said...

cuando tenga todas las funcionalidades basicas, todavia falta un poco

DragaO~ said...

everyday i came here to read new posts
keep the good work :)

gogogo emesene2 :D

Pablo said...

De visita por aquí.
Saludos.

=)

Marcio said...

Great job!!!

Anonymous said...

Finaly someone who do emesene 2.
Do you know where it will finish?
Plz answer me @ : tiestox3[AT]gmail.com

Cya

Dominic said...

I can't wait for the 2nd version. Keep the good work, emesene is awesome, but have some incompatibilities with WLM 9. Hope that will be fixed in 2.0! Ciao!

Cyanotic said...

I LOVE PORTISHEAD ;)

:Brunito! said...

Espero la version 2! alguna BETA o RC por lo menos!
Gracias por tu esfuerzo y colaboracion a la comunidad!

Anonymous said...

Encontré un error en la ventana de notificación, y es que cuando aparece y uno la cierra o simplemente da un click sobre la ventana, aparece un mensaje algo así: on_notify_close() takes exactly 2 arguments (3 given) y eso por cada notifiación que se de... Y sinceramente no he consultado en el foro, pero busqué en internet y encontré esto:

Sólo se tiene que localizar el archivo /usr/share/emesene/plugins_base/LibNotify.py, o para emesene-crazy:/usr/share/python-support/emesene/plugins_base/NotifyOsdImproved.py

luego buscamos la línea:
def on_notify_close(self, n):

Y la cambiamos por:
def on_notify_close(self, n, unused):

Después de esto, reinicié el emesene y ya no me botó más este error, esa puede ser una solución temporal...

Los créditos originales van para: http://blog.reflectiv.net/2008/12/09/bug-de-emesene-libnotify-on_notify_close/

Cyanotic said...

Hi There mariano!
I've noticed that in emesene 1.x when you reduce the size of input box in conversation window personal image was reduced too...
In Emesene 2 this doesn't happenz, nice JOB ;)
When you'll move the project to another repos?

Cyanotic said...

Still a debug message to report

/home/otacon/emesene2/e3common/play_sound.py:30: DeprecationWarning: os.popen4 is deprecated. Use the subprocess module.
os.popen4('aplay ' + path)
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
self.run()
File "/home/otacon/emesene2/e3/Worker.py", line 158, in run
self._process(data)
File "/home/otacon/emesene2/e3/Worker.py", line 199, in _process
self._process_normal(message)
File "/home/otacon/emesene2/e3/Worker.py", line 215, in _process_normal
handler(message)
File "/home/otacon/emesene2/e3/Worker.py", line 522, in _on_challenge
out = challenge.do_challenge(message.params[0][:-2])
File "/home/otacon/emesene2/e3/challenge.py", line 13, in do_challenge
md5digest = md5.md5(challenge_data + _PRODUCT_KEY).digest()
NameError: global name 'md5' is not defined

Always same error under Jaunty Jackalope: md5 library ;)

Pete said...

Hello guys i have some thoughts and questions regarding the conversation window. I have made a mockup that pretty much explains my thoughts http://img300.imageshack.us/img300/1015/emesene2.png

Unknown said...

I love Portishead tooooo! :D. Por otro lado, ya vamos a ver qué onda la versión 2... A mi me interesa mucho, está muy bueno el proyecto.

Harold said...

Excelente software, adelante con el buen trabajo.

KING SABRI said...

grate I wait new Version , I user it from more than year and I'm fight for it to be In all my friends machine , Good Luck and show as the deadline for new version