Writings Photos Code Contact Resume Me
Fun

Got married!

Submitted by msameer on Tue, 09/03/2010 - 12:40pm

Exactly 1 month ago ;-)


MMS support development to be suspended until the end of February.

Submitted by msameer on Wed, 03/02/2010 - 8:11pm

The gitorious repository now contains a broken mms-manager, a non functional mms-ui (because I changed the DBus interface ;-)), a preliminary mms viewer and a broken network connection manager. How pretty is that ? ;-)

I've been redesigning the DBus interfaces and I think I reached something. The UI can be easily adapted after that.

However, I'll be on vacation until the end of February. I can't work on mms until I'm back.

I'll try to commit and push the code I have on my laptop but the stuff will still be broken.

This is just a quick status.

Good wishes for the newly married couple ;-)


mms-support progress

Submitted by msameer on Sat, 09/01/2010 - 6:42pm

Hi again!

I'm still working on the MMS support for fremantle.


mkmms available.

Submitted by msameer on Mon, 04/01/2010 - 3:29am

As promised yesterday, I'll start cleaning up my code a bit preparing to post it here.


Not First MMS sent via N900 (Fremantle)

Submitted by msameer on Sun, 03/01/2010 - 6:27am

I've spent the past few days trying to get MMS to work on the N900.

EDIT: Seems frals has managed to beat me!


Booked my tickets (Summer 2009) :-)

Submitted by msameer on Sat, 16/05/2009 - 9:04pm

To Cairo and beyond (-:

Too bad I'll transit for one hour in Charles De Gaulle again. I'd rather be prepared to lose my bags :-)

And did I say from 10.07.09 to 09.08.09 ?


Katoob, the baby has a new father.

Submitted by msameer on Mon, 12/05/2008 - 9:31pm

This post has a bit of my history and emotions. It can be skipped!

The summary is: Katoob has a new maintainer.

...


Automatically insert a statement in each function in C++

Submitted by msameer on Fri, 08/02/2008 - 4:16pm

And I thought I'll never do such things again ?
I wanted to insert a debugging statement at the beginning of each function.

for i in *.cc *.c; do sed -i -e 's/\([a-zA-Z0-9 _*:~]*([^).]*) *{\)/\1 \nprintf("%s\\n", __PRETTY_FUNCTION__); /g' $i; done

It can probably be used to insert anything too.

It's dirty but it worked for me. Just keep a backup or make sure the latest code is in any RCS just in case.

It only failed with a function that was commented using C++ style comments "//".
I didn't try it with class methods defined inside header files


Katoob 0.5.9 is out

Submitted by msameer on Fri, 11/01/2008 - 1:59am

This is a recommended update.

tarball, md5sum and gpg signed md5sum file
ChangeLog:


hildon input method and new languages...

Submitted by msameer on Fri, 14/12/2007 - 7:25pm

I noticed this because of my work on him-arabic.

If your plugin provides a language other than the 16 "known" languages, It will be displayed as " ()".

Ideally, The fix should be somewhere else but not all of the components are open so even if I can fix it, I won't be able to publish patches or packages.

It seems that the source provided with the SDK is a bit outdated so I had to grab the latest trunk: https://stage.maemo.org/svn/maemo/projects/haf/trunk/hildon-input-method/

And here's a patch. It'll return the language code if it fails to get the language description. (I know it's a bit hackish :|):

diff -Naur him.orig/src/hildon-im-languages.c him/src/hildon-im-languages.c
--- him.orig/src/hildon-im-languages.c  2007-12-14 19:09:29.000000000 +0200
+++ him/src/hildon-im-languages.c       2007-12-14 19:12:31.000000000 +0200
@@ -82,7 +82,18 @@
   }
   if (translate_function)
   {
-    return (*translate_function) (lang);
+    gchar *res = (*translate_function) (lang);
+    if (!res) {
+      return res;
+    }
+    else if (!strcmp(res, " ()")) {
+      g_free(res);
+      res = g_strdup(lang);
+      return res;
+    }
+    else {
+      return res;
+    }
   } else
   {
     gchar path [sizeof(GCONF_TRANSLATION_STATIC_PATH) + MAX_LANG_LENGTH];

Apply, build the packages and install hildon-input-method_1.99.33-2_armel.deb and libhildon-im-ui3_1.99.33-2_armel.deb

I hope it will be fixed otherwise I'll be providing packages soon. I know I promised to provide a lot of things (-:

Have a nice weekend.