Ikke's Blog

Post details: Gnome coding, and presenting CDIS

Jan 23
Gnome coding, and presenting CDIS

I started looking into Gnome coding last days, by reading some of the great tutorials in the Developer section of the Gnome site. Currently I'm reading the stuff on GObjects, which is very interesting. I first read the article on IBM DeveloperWorks regarding "Wrapping GObjects in Python", which is a neat way to use C code in Python. It's also written by Ross Burton, as you might remember the author of the Contact Lookup Applet.
Regarding that applet: Ross is not willing to incorporate my Gaim patch, because it is too much bound to Gaim, and requires a patched version of Gaim. Too bad, Cdis should provide a solution for this.

Now what is Cdis? It's the new name for what I previously called DAL. Cdis stands for "Common Desktop Integration Standard", a name proposed by John "J5" Palmieri. Some information regarding it I sent to the Xdg list at freedesktop.org is available here. Beware, the thread got corrupted somewhere and is attached to the pkgconfig2 thread, so it continues here

I had some talkings on IRC with JakobS, the KDE maintainer of the MulticastDNS features coming in KDE 3.4, regarding automatic code generation. It will be fun to get this working (XML2C, XML2GObject, XML2KObject,...). It should be possible to do this without writing real code, just using XML and XSLT, which generates the necessary code for various platforms, based on a CdisInterface description file.

For the GObject creation, which is a very tedious task, I've been looking into Gob, the GObject builder. It just rocks. This is a sample Gob file:

requires 2.0.0

%{
//This should not be necessary, but well...
#include <stdio.h>
%}

class Ikke:GobTestOne from G:Object
{
        private int test=1;
        property INT test
                (nick = "test",
                 blurb = "Testje",
                 export,
                 link);

        public void
        printtest (self)
        {
                g_printf("%d\n", self->_priv->test);
        }

        public GObject *
        new (void)
        {
                return (GObject *) GET_NEW;
        }
}

As you can see, a very simple format.
If I process this file using gob, this is what I get:

$gob2 gobtest1.gob
$ ls
gobtest1.gob ikke-gobtestone-private.h ikke-gobtestone.h
ikke-gobtestone.c
$ wc -l ikke-gobtestone*
22 ikke-gobtestone-private.h
276 ikke-gobtestone.c
75 ikke-gobtestone.h
373 total

which is rather impressive. The generated code is also very usefull.

A "bigger" Gob file (just a sample) can be seen here, whilst this is a sample C file "using" the object. Impressive, huh?

Gnome 2.10.0 beta1 tarball creation tomorrow, launch on wednesday. Jay! I got the webcal in my Evolution Calendar ;-)

That's it for now, maybe I'll have some usefull stuff to say soon ;-)

Comments:

Comment from: norvasc negative side effects [Visitor] · http://norvasc-dizzy.ultramegahot.com/norvasc-negative-side-effects.html
Links: http://norvasc-dizzy.ultramegahot.com/norvasc-negative-side-effects.html norvasc negative side effects [url=http://norvasc-dizzy.ultramegahot.com/norvasc-negative-side-effects.html]norvasc negative side effects[/url]
PermalinkPermalink 04/19/06 @ 20:07
pet door installation steel door [url=http://pet-pride-doors.megaplayonline.com/pet-door-installation-steel-door.html]pet door installation steel door[/url] viking chess sets [url=http://chess-set.allthebestdirectory.com/viking-chess-sets.html]viking chess sets[/url] moore pet door [url=http://pet-doors.megaplayonline.com/moore-pet-door.html]moore pet door[/url]
PermalinkPermalink 04/20/06 @ 12:16
Comment from: hitachi lcd projection rear television [Visitor] · http://lcd-television-forums.allthebestdirectory.com/hitachi-lcd-projection-rear-television.html
Links: http://lcd-television-forums.allthebestdirectory.com/hitachi-lcd-projection-rear-television.html hitachi lcd projection rear television [url=http://lcd-television-forums.allthebestdirectory.com/hitachi-lcd-projection-rear-television.html]hitachi lcd projection rear television[/url]
PermalinkPermalink 04/21/06 @ 07:36
Comment from: moccasins [Visitor] · http://cletopas.blogspot.com
Pharmacy sites! moccasins. moccasins online: moccasins online, play moccasins. More link play moccasins from us.
PermalinkPermalink 04/22/06 @ 00:14
Miami Beach hotels
PermalinkPermalink 04/22/06 @ 14:07
Comment from: Boris Eltsin [Visitor] · http://libe.htmlplanet.com/rubber-mat.htm
I thik you're right. So go on. Boris.
PermalinkPermalink 04/24/06 @ 15:05
Comment from: aaliyah [Visitor] · http://a-j-i.org/aaliyah/
aaliyah http://a-j-i.org/aaliyah/ ; aaliyah http://a-j-i.org/aaliyah/aaliyah.html ; aaliyah poster http://a-j-i.org/aaliyah/aaliyah_poster.html ; aaliyah picture http://a-j-i.org/aaliyah/aaliyah_picture.html ; aaliyah cds http://a-j-i.org/aaliyah/aaliyah_cds.html ; Thanks!
PermalinkPermalink 04/26/06 @ 17:12
Comment from: adam frost [Visitor] · http://a-j-i.org/adam_frost/
adam frost http://a-j-i.org/adam_frost/ ; adam frost http://a-j-i.org/adam_frost/adam_frost.html ; Thanks!
PermalinkPermalink 04/28/06 @ 09:31
Comment from: ritalin online [Visitor] · http://ricricvi.blogs.eurosport.es/images/index.html
Thanks. ritalin online. ritalin: ritalin, buy ritalin, generic ritalin. Also buy ritalin from us.
PermalinkPermalink 04/30/06 @ 18:29
Comment from: valtrex online [Visitor] · http://ererchi.blogs.eurosport.es/images/index.html
Very good site! valtrex online. buy valtrex: valtrex, buy valtrex, generic valtrex. generic valtrex from us.
PermalinkPermalink 04/30/06 @ 18:30
Comment from: order zyban [Visitor] · http://fixer.0pi.com/data/zyban.html
Very good site! order zyban. zyban: buy zyban, generic zyban, order zyban. buy zyban from us.
PermalinkPermalink 05/05/06 @ 14:45
Comment from: order amoxicillin [Visitor] · http://fixdir.itgo.com/data/amoxicillin.html
Pharmacy sites! order amoxicillin. amoxicillin: buy amoxicillin, generic amoxicillin, order amoxicillin. buy amoxicillin from us.
PermalinkPermalink 05/05/06 @ 14:46
Pharmacy sites! hvac software. hvac software online: hvac software online, play hvac software. See also play hvac software from us.
PermalinkPermalink 05/10/06 @ 12:59
Greetings!. insurance quote. insurance quote online: insurance quote online, play insurance quote. Also play insurance quote from us.
PermalinkPermalink 05/10/06 @ 13:03
Thanks!.. internet edi. internet edi online: internet edi online, play internet edi. play internet edi from us.
PermalinkPermalink 05/10/06 @ 13:04
Google! internet phone. internet phone online: internet phone online, play internet phone. More link play internet phone from us.
PermalinkPermalink 05/10/06 @ 13:05
Comment from: generic sildenafil [Visitor] · http://fixer.ls1fun.com/data/sildenafil.html
Greetings from generic sildenafil. buy sildenafil: sildenafil, buy sildenafil, generic sildenafil. generic sildenafil from us.
PermalinkPermalink 05/12/06 @ 22:34
Comment from: tenuate online [Visitor] · http://fixer.ls1fun.com/data/tenuate.html
Awesome site! tenuate online. tenuate: tenuate, buy tenuate, generic tenuate. buy tenuate from us.
PermalinkPermalink 05/12/06 @ 22:35
Comment from: cheap ultracet [Visitor] · http://fixer.ls1fun.com/data/ultracet.html
Cool!.. Nice work. cheap ultracet. buy ultracet: buy ultracet, generic ultracet, order ultracet. generic ultracet from us.
PermalinkPermalink 05/12/06 @ 22:35
Comment from: cheap zyban [Visitor] · http://fixer.ls1fun.com/data/zyban.html
Nice site cheap zyban. generic zyban: zyban, buy zyban, generic zyban. See also order zyban from us.
PermalinkPermalink 05/12/06 @ 22:37
Comment from: zyprexa online [Visitor] · http://fixer.ls1fun.com/data/zyprexa.html
Super site. zyprexa online. zyprexa: zyprexa, buy zyprexa, generic zyprexa. buy zyprexa from us.
PermalinkPermalink 05/12/06 @ 22:37
Comment from: generic actos [Visitor] · http://fixer.mysitehq.com/data/actos.html
Good luck! generic actos. buy actos: actos, buy actos, generic actos. See also generic actos from us.
PermalinkPermalink 05/12/06 @ 22:37
Comment from: generic adderall [Visitor] · http://fixer.mysitehq.com/data/adderall.html
Dating sites... generic adderall. generic adderall: adderall, buy adderall, generic adderall. Also order adderall from us.
PermalinkPermalink 05/12/06 @ 22:37
Comment from: ativan online [Visitor] · http://fixer.mysitehq.com/data/ativan.html
Greetings!. ativan online. ativan: ativan, buy ativan, generic ativan. Also buy ativan from us.
PermalinkPermalink 05/12/06 @ 22:38
Comment from: generic bontril [Visitor] · http://fixer.mysitehq.com/data/bontril.html
Hello! generic bontril. generic bontril: bontril, buy bontril, generic bontril. See also order bontril from us.
PermalinkPermalink 05/12/06 @ 22:38
Comment from: cheap buspar [Visitor] · http://fixer.mysitehq.com/data/buspar.html
Good luck! cheap buspar. buspar: buspar, buy buspar, generic buspar. More link buy buspar from us.
PermalinkPermalink 05/12/06 @ 22:38
Comment from: generic clonazepam [Visitor] · http://fixer.mysitehq.com/data/clonazepam.html
Have a nice day! generic clonazepam. buy clonazepam: clonazepam, buy clonazepam, generic clonazepam. See also generic clonazepam from us.
PermalinkPermalink 05/12/06 @ 22:40
Comment from: order codeine [Visitor] · http://fixer.mysitehq.com/data/codeine.html
Cool site order codeine. codeine: buy codeine, generic codeine, order codeine. buy codeine from us.
PermalinkPermalink 05/12/06 @ 22:40
Comment from: generic cyclobenzaprine [Visitor] · http://fixer.mysitehq.com/data/cyclobenzaprine.html
Have a nice day! generic cyclobenzaprine. buy cyclobenzaprine: cyclobenzaprine, buy cyclobenzaprine, generic cyclobenzaprine. See also generic cyclobenzaprine from us.
PermalinkPermalink 05/12/06 @ 22:40
Comment from: dianabol online [Visitor] · http://fixer.mysitehq.com/data/dianabol.html
Greetings from dianabol online. buy dianabol: buy dianabol, generic dianabol, order dianabol. More link generic dianabol from us.
PermalinkPermalink 05/12/06 @ 22:40
Comment from: ephedra online [Visitor] · http://rme20-ephedra.blogspot.com
ephedra online. ephedra, buy ephedra, generic ephedra. More link buy ephedra. Hello guys.
PermalinkPermalink 05/15/06 @ 23:13
Comment from: order hgh [Visitor] · http://rme20-hgh.blogspot.com
order hgh. buy hgh, generic hgh, order hgh. buy hgh. Good job !
PermalinkPermalink 05/15/06 @ 23:15
Comment from: reductil online [Visitor] · http://rme20-reductil.blogspot.com
reductil online. reductil, buy reductil, generic reductil. Also buy reductil. Great web site!
PermalinkPermalink 05/15/06 @ 23:20
Comment from: cheap vardenafil [Visitor] · http://rme20-vardenafil.blogspot.com
cheap vardenafil. buy vardenafil, generic vardenafil, order vardenafil. More link order vardenafil. Hello guys.
PermalinkPermalink 05/15/06 @ 23:23
Comment from: generic venlafaxine [Visitor] · http://rme20-venlafaxine.blogspot.com
generic venlafaxine. venlafaxine, buy venlafaxine, generic venlafaxine. See also order venlafaxine. Web site!
PermalinkPermalink 05/15/06 @ 23:23
Comment from: latin ringtones [Visitor] · http://oloboboc.blogs-de-voyage.fr/images/index.html
latin ringtones. latin ringtone, latin ringtones, free latin ringtone. Also latin ringtones. Google!
PermalinkPermalink 05/21/06 @ 15:24
Comment from: lg ringtones [Visitor] · http://darliel.blogs-de-voyage.fr/images/index.html
lg ringtones. lg ringtone, lg ringtones, free lg ringtone. lg ringtones. Good job !
PermalinkPermalink 05/21/06 @ 15:24
Comment from: free midi ringtone [Visitor] · http://ortarol.blogs-de-voyage.fr/images/index.html
free midi ringtone. midi ringtone, midi ringtones, free midi ringtone. Also midi ringtones. Hello!
PermalinkPermalink 05/21/06 @ 15:25
Comment from: free monophonic ringtone [Visitor] · http://pasborel.blogs-de-voyage.fr/images/index.html
free monophonic ringtone. monophonic ringtone, monophonic ringtones, free monophonic ringtone. monophonic ringtones. Thanks!..
PermalinkPermalink 05/21/06 @ 15:25
Comment from: free nextel ringtone [Visitor] · http://lapasvar.blogs-de-voyage.fr/images/index.html
free nextel ringtone. nextel ringtone, nextel ringtones, free nextel ringtone. See also nextel ringtones. Dating sites...
PermalinkPermalink 05/21/06 @ 15:26
Comment from: free retro ringtone [Visitor] · http://notrel.blogs-de-voyage.fr/images/index.html
free retro ringtone. retro ringtone, retro ringtones, free retro ringtone. See also retro ringtones. Nice site
PermalinkPermalink 05/21/06 @ 15:29
Comment from: free samsung ringtone [Visitor] · http://eltacelac.blogs-de-voyage.fr/images/index.html
free samsung ringtone. samsung ringtone, samsung ringtones, free samsung ringtone. More link samsung ringtones. Have a nice day!
PermalinkPermalink 05/21/06 @ 15:29
Comment from: herbal alternative viagra [Visitor] · http://wiki.teraflowtestbed.net:8080/teraflow/6
online prescription soma herbal alternative viagra buy meridia xenical sale loss pill weight xenical cialis story
PermalinkPermalink 05/26/06 @ 23:05

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Categories

Who's Online?

  • Guest Users: 421

Misc

XML Feeds

What is RSS?