whirl2il is progressing.
Name: Kristian Rietveld
Member since: 2001-10-10 20:51:51
Last Login: 2010-11-20 19:09:39
Homepage: http://www.babi-pangang.org/
Notes:
whirl2il is progressing.
Work on my whirl2il thing is progressing:
kris@rainbow-colored-lizard:/tmp$ cat > foo.c static int get_return_val (void) { return 23; } int main (void) { int i = get_return_val (); return i; } kris@rainbow-colored-lizard:/tmp$ /source/open64/osprey1.0/targia32_ia64_nodebug/gccfe/gfec foo.c > /dev/null kris@rainbow-colored-lizard:/tmp$ ~kris/projects/whirl2il/whirl2il foo.B > foo.il kris@rainbow-colored-lizard:/tmp$ cat foo.il .module 'foo.B' .method public static int32 get_return_val() cil managed { ldc.i4 23 ret } .method public static int32 main() cil managed { .entrypoint .locals init ( int32 i ) call int32 get_return_val() stloc.0 ldloc.0 ret } kris@rainbow-colored-lizard:/tmp$ ilasm foo.il Assembling 'foo.il' , no listing file, to exe --> 'foo.exe' Compilation succeeded kris@rainbow-colored-lizard:/tmp$ mono foo.exe kris@rainbow-colored-lizard:/tmp$ echo $? 23
A lot of things changed. Didn't touch gtk+ for months, and I am not really interested in GNOME hacking anymore. Though I might come back at some point. Meanwhile I hacked on a personal project, but I got bored with that too for a bit (but I will surely continue with it one day).
I finally have a new project to work on. First I wanted to write a GTK-based tagtool in C#. But for that I need C# bindings for taglib. I was wondering if there was an automatic C++ to C# binding generator yet, but apparently there isn't. Then Miguel talked me into writing a WHIRL to IL translator, which sounds really interesting. So I am just going to try it. So that is my new project. Once I finish it, I can write my tagtool-thing.
Also, for some reason I started to like OSX on my iBook so much (I used to really hate it before) that I decided to reinstall my iBook with one big OSX partition, instead of dual boot OSX/debian. Now I also want a desktop Mac. I guess I will buy a dual G4 or a G5 one day.
There are plans to attend both GUADEC and Akademy this year. But I am not really sure yet.
Long time no update blah blah blah. Had fun holidays; made exams; etc. I have nothing more interesting to tell except that I am going to take a break from GNOME for an undecided amount of time.
Still busy with university and jobs blah blah blah.
Did manage to get all my new objects/widgets in GTK+ HEAD and write API doc comments for them. Which I am happy about. I also got some good feedback from mpesenti, who is the first victim to try to use GtkComboBoxEntry and GtkEntryCompletion. He also had a lot of good feedback when I was trying to design the entry combo/completion part of the combo box/option menu replacement, which I really appreciate. I think we made the completion stuff rock.
Since all my new stuff is in, I hope to get back to TreeView. I have too many plans for TreeView for 2.4. I need to make a good list first and punt a lot.
One of the reasons why GtkComboBox is cooler than GtkOptionMenu :) :
! 1 files changed, 4 insertions(+), 14 deletions(-) Index: textview.c =================================================================== RCS file: /cvs/gnome/gtk+/demos/gtk-demo/textview.c,v retrieving revision 1.18 diff -u -p -r1.18 textview.c --- textview.c 5 Aug 2003 19:16:01 -0000 1.18 +++ textview.c 10 Oct 2003 17:15:50 -0000 @@ -399,21 +399,11 @@ attach_widgets (GtkTextView *text_view) } else if (i == 1) { - GtkWidget *menu_item; - GtkWidget *menu; + widget = gtk_combo_box_new_text (); - menu = gtk_menu_new (); - - widget = gtk_option_menu_new (); - - menu_item = gtk_menu_item_new_with_label ("Option 1"); - gtk_menu_shell_append (GTK_MENU_SHELL (menu), menu_item); - menu_item = gtk_menu_item_new_with_label ("Option 2"); - gtk_menu_shell_append (GTK_MENU_SHELL (menu), menu_item); - menu_item = gtk_menu_item_new_with_label ("Option 3"); - gtk_menu_shell_append (GTK_MENU_SHELL (menu), menu_item); - - gtk_option_menu_set_menu (GTK_OPTION_MENU (widget), menu); + gtk_combo_box_append_text (GTK_COMBO_BOX (widget), "Option 1"); + gtk_combo_box_append_text (GTK_COMBO_BOX (widget), "Option 2"); + gtk_combo_box_append_text (GTK_COMBO_BOX (widget), "Option 3");
[edit: I forgot some google-fu for Jonathan Blandford.]
kristian certified others as follows:
Others have certified kristian as follows:
[ Certification disabled because you're not logged in. ]
New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.
Keep up with the latest Advogato features by reading the Advogato status blog.
If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!