glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] alpha 19 and network retwrite


From: Leo Wandersleb
Subject: Re: [glob2-devel] alpha 19 and network retwrite
Date: Sun, 19 Feb 2006 11:44:09 +0100
User-agent: Mozilla Thunderbird 1.0.7 (X11/20050923)

hi Stéphane

can you please explain what exactly you want to change!
if I got you right you're talking about code like this one:
Uint8 * getData() {
        addSint32(data, wDec, 0);
        addSint32(data, hDec, 4);
        return data;
}
bool setData(const Uint8 *data, int dataLength) {
        wDec=getSint32(data, 0);
        hDec=getSint32(data, 4);
        return (true);
}
how would it look like after your modification?

As I most likely will not have too much time to work on glob2 (my new job is more of a 50h job plus 2h to get there and back each day.) it will not affect me, but why will cvs be broken? why don't you just branch for that?

Greetings, Leo Wandersleb




Stéphane Magnenat wrote:
Hi everyone,

Nuage and me plan to partially rewrite the network layer of glob2 next week. The idea is to have a cleaner, more documented, easier to use and maintain network.

In the process we will also change the serialization from libgag so that readType() and writeType() are more symetrical, i.e. :
        bool readType(Type *type, const char *name);
        bool writeType(Type type, const char *name);
We had a long discussion and we finally agreed on this choice.
The new network will thus use this serialization, which will lower the entry curve for new developers as well as improve the dumpability of packets.

But, the CVS might be broken for a while. I suggest we release alpha19 before beginning to make changes. As far as I've understood, the only problem right now is the one about map creation and new script ? I'll have a look at this when I've time. In the meantime, if you can test CVS and report bugs that will be welcome.

Have a nice day,

Steph


_______________________________________________
glob2-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/glob2-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]