From fprog26 at hotmail.com Thu Apr 1 20:23:20 2004 From: fprog26 at hotmail.com (Fred P.) Date: Thu Apr 1 20:27:18 2004 Subject: [Y-devel] Y-Windows code based will be merge with the FreeDesktop X Server environment! Message-ID: An HTML attachment was scrubbed... URL: http://www.y-windows.org/pipermail/y-devel/attachments/20040401/d96cffa0/attachment.htm From nofx_3 at softhome.net Thu Apr 1 21:21:44 2004 From: nofx_3 at softhome.net (Andrew Kaplan) Date: Thu Apr 1 21:18:14 2004 Subject: [Y-devel] Y-Windows code based will be merge with the FreeDesktop X Server environment! In-Reply-To: References: Message-ID: <200404011221.45291.nofx_3@softhome.net> Notice the reply line, "On Thursday 01 April 2004", you could have at least attempted to make it something believeable. Sorry to ruin your fun, but the way this mailing list goes you probably won't see this email until the second anyhow. -kaplanfx nofx_3@softhome.net On Thursday 01 April 2004 11:23 am, Fred P. wrote: > The author of Y-Windows, Mark Thomas, officially announced on the IRC > channel today that: "Y-Windows code based will be merge with the > FreeDesktop X Server environment". "I've talked with Keith Packard > yesterday on the channel and it seems just more convenient to merge our > projects and to form a new XY protocol using XFree86 drivers." "Currently, > both projects are using Cairo and therefore, the steps to create an SVG > desktop based on Cairo is completely trivial." Resulting from that > suggestion, Keith Packard wrote a thesis draft about the idea of using the > XY protocol using Cairo, it's available here. Bandwidth is limited so > please provide more mirrors! NVidia and ATI was contacted, they said they > were glad that they won't have to provide new drivers for Linux and > continue on releasing Binary XFree86 drivers. > _________________________________________________________________ Free > yourself from those irritating pop-up ads with MSn Premium. Get 2months > FREE* > http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=ht >tp://hotmail.com/enca&HL=Market_MSNIS_Taglines From durin at sbcglobal.net Thu Apr 1 21:18:17 2004 From: durin at sbcglobal.net (Augie Fackler) Date: Thu Apr 1 21:18:24 2004 Subject: [Y-devel] Y-Windows code based will be merge with the FreeDesktop X Server environment! In-Reply-To: References: Message-ID: That pdf description is a 403 forbidden for me..... AF --- main(){char ch[7];ch[1]=(ch[4]=((ch[3]=(ch[2]=103)^14)^12))^16; ch[5]=(ch[6]=(ch[0]=(ch[1]>>1)+7)&42)+10;printf(ch);} > The author of Y-Windows, Mark Thomas, officially announced on the IRC > channel today that: "Y-Windows code based will be merge with the > FreeDesktop X Server environment". "I've talked with Keith Packard > yesterday on the channel and it seems just more convenient to merge > our projects and to form a new XY protocol using XFree86 drivers." > "Currently, both projects are using Cairo and therefore, the steps to > create an SVG desktop based on Cairo is completely trivial." Resulting > from that suggestion, Keith Packard wrote a thesis draft about the > idea of using the XY protocol using Cairo, it's available here. > Bandwidth is limited so please provide more mirrors! NVidia and ATI > was contacted, they said they were glad that they won't have to > provide new drivers for Linux and continue on releasing Binary XFree86 > drivers. > _________________________________________________________________ Free > yourself from those irritating pop-up ads with MSn Premium. Get > 2months FREE* > http://join.msn.com/?pgmarket=en-ca&page=byoa/ > prem&xAPID=1994&DI=1034&SU=http://hotmail.com/ > enca&HL=Market_MSNIS_Taglines From james at grickle.org Thu Apr 1 21:27:52 2004 From: james at grickle.org (James Harr) Date: Thu Apr 1 21:28:08 2004 Subject: [Y-devel] Y-Windows code based will be merge with the FreeDesktop X Server environment! In-Reply-To: References: Message-ID: <200404011427.52341.james@grickle.org> I will gladly host a copy on a mirror I have, however the link provided doesn't seem to be working for me. If someone could send me a copy, I'd greatly appreciate it. Thanks, James Harr On Thu April 1 2004 1:23 pm, Fred P. wrote: > The author of Y-Windows, Mark Thomas, officially announced on the IRC channel today that: "Y-Windows code based will be merge with the FreeDesktop X Server environment". "I've talked with Keith Packard yesterday on the channel and it seems just more convenient to merge our projects and to form a new XY protocol using XFree86 drivers." "Currently, both projects are using Cairo and therefore, the steps to create an SVG desktop based on Cairo is completely trivial." Resulting from that suggestion, Keith Packard wrote a thesis draft about the idea of using the XY protocol using Cairo, it's available here. Bandwidth is limited so please provide more mirrors! NVidia and ATI was contacted, they said they were glad that they won't have to provide new drivers for Linux and continue on releasing Binary XFree86 drivers. _________________________________________________________________ Free yourself from those irritating pop-up ads with MSn Premium. Get 2months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines -- -- James Harr PS - This is what part of the alphabet would look like if Q and R were eliminated. From james at grickle.org Thu Apr 1 21:37:22 2004 From: james at grickle.org (James Harr) Date: Thu Apr 1 21:37:28 2004 Subject: [Y-devel] Y-Windows code based will be merge with the FreeDesktop X Server environment! In-Reply-To: References: Message-ID: <200404011437.22477.james@grickle.org> I'm so gullable :p I really need to refrain from impulse reply emails I should just burrow off into a corner and cut off all forms of contact on April 1st to keep from the embarrassment :) That or I could make myself a pin cussion and go around and help raise people's self esteem falling for EVERY JOKE no matter how much it is exaggerated. Later, James Harr On Thu April 1 2004 1:23 pm, Fred P. wrote: > The author of Y-Windows, Mark Thomas, officially announced on the IRC channel today that: "Y-Windows code based will be merge with the FreeDesktop X Server environment". "I've talked with Keith Packard yesterday on the channel and it seems just more convenient to merge our projects and to form a new XY protocol using XFree86 drivers." "Currently, both projects are using Cairo and therefore, the steps to create an SVG desktop based on Cairo is completely trivial." Resulting from that suggestion, Keith Packard wrote a thesis draft about the idea of using the XY protocol using Cairo, it's available here. Bandwidth is limited so please provide more mirrors! NVidia and ATI was contacted, they said they were glad that they won't have to provide new drivers for Linux and continue on releasing Binary XFree86 drivers. _________________________________________________________________ Free yourself from those irritating pop-up ads with MSn Premium. Get 2months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines -- -- James Harr PS - This is what part of the alphabet would look like if Q and R were eliminated. From jerome at gandalf.fraca7.homeunix.net Fri Apr 2 17:01:37 2004 From: jerome at gandalf.fraca7.homeunix.net (Jerome Laheurte) Date: Fri Apr 2 17:11:06 2004 Subject: [Y-devel] Y mentionned in French magazine Message-ID: Hi, just a bit of news; I recently purchased a copy of 'Login:', a French magazine focusing on FOSS, because of an article series titled 'Must we abandon X Window ?', and sure enough, Y is mentionned, along Xouvert, X.org, Freedesktop, DirectFB and Fresco :) Nice to see we're not ignored :) -- J?r?me Laheurte Leibowitz's Rule: When hammering a nail, you will never hit your finger if you hold the hammer with both hands. From aeby at tiscali.ch Fri Apr 2 23:26:25 2004 From: aeby at tiscali.ch (aeby) Date: Fri Apr 2 23:26:34 2004 Subject: [Y-devel] font problem Message-ID: <1080944785.16885.62.camel@aeby> Hi, I've installed Y-Windows 0.2 on Fedora Core 1 and everything is working fine except the fonts. When I start for example the ycalculator, there are no labels (or perhaps very small ones) on the buttons. I saw there was a problem with the font selection which is solved by patch 22, but no for me this patch has no effect. i use freetype-2.1.3, gcc 3.3.2. Any help on this is much appreciated! Greets Reto From tcfelker at mtco.com Fri Apr 2 23:56:43 2004 From: tcfelker at mtco.com (Tom Felker) Date: Fri Apr 2 23:54:36 2004 Subject: [Y-devel] Y-Windows code based will be merge with the FreeDesktop X Server environment! In-Reply-To: References: Message-ID: <200404021656.44049.tcfelker@mtco.com> On Thursday 01 April 2004 1:23 pm, Fred P. wrote: > The author of Y-Windows, Mark Thomas, officially announced on the IRC > channel today that: "Y-Windows code based will be merge with the > FreeDesktop X Server environment". "I've talked with Keith Packard > yesterday on the channel and it seems just more convenient to merge our > projects and to form a new XY protocol using XFree86 drivers." "Currently, > both projects are using Cairo and therefore, the steps to create an SVG > desktop based on Cairo is completely trivial." Resulting from that > suggestion, Keith Packard wrote a thesis draft about the idea of using the > XY protocol using Cairo, it's available here. Bandwidth is limited so > please provide more mirrors! NVidia and ATI was contacted, they said they > were glad that they won't have to provide new drivers for Linux and > continue on releasing Binary XFree86 drivers. You're playing with fire. Last time two projects made an April Fool's Day joke like that, they went ahead and implemented it. Long live Parrot! -- Tom Felker, - Stop fiddling with the volume knob. The ability to monopolize a market is insignificant next to the power of the source. From red_alert at the-psychiatry.ch Sat Apr 3 02:38:07 2004 From: red_alert at the-psychiatry.ch (red_alert) Date: Sat Apr 3 02:38:13 2004 Subject: [Y-devel] font problem In-Reply-To: <1080944785.16885.62.camel@aeby> References: <1080944785.16885.62.camel@aeby> Message-ID: <406E157F.9050207@the-psychiatry.ch> hi reto do you have installed the bitstream vera fonts? i'm not sure if they are still in use...but i think you should give it a try (if you don't have them already). you can get them from: ftp://sunsite.cnlab-switch.ch/mirror/fedora/linux/core/1/i386/os/Fedora/RPMS/bitstream-vera-fonts-1.10-2.noarch.rpm it's an official fedora core 1 package (you'll find it on your installation discs too). if this doesn't help, check your syslog for error-messages (/var/log/messages) and post them to this list... regards red_alert aeby schrieb: > Hi, > I've installed Y-Windows 0.2 on Fedora Core 1 and everything is working > fine except the fonts. When I start for example the ycalculator, there > are no labels (or perhaps very small ones) on the buttons. I saw there > was a problem with the font selection which is solved by patch 22, but > no for me this patch has no effect. > i use freetype-2.1.3, gcc 3.3.2. > Any help on this is much appreciated! > > Greets > Reto > > > From ankar at homodigitalis.net Sat Apr 3 10:52:36 2004 From: ankar at homodigitalis.net (Andreas Karafyllis) Date: Sat Apr 3 10:42:23 2004 Subject: [Y-devel] Unable to compile patch-33 Message-ID: <200404031152.36712.ankar@homodigitalis.net> Hi everyone, I get the following error ?after executing ./configure in the latest version(patch-33): ./configure: line 23506: syntax error near unexpected token `LIBSIGC,' ./configure: line 23506: `PKG_CHECK_MODULES(LIBSIGC, sigc++-1.2 >= 1.2)' "PKG_CHECK_MODULES" seems to be a macro that is not replaced. I did not manage to find where this macro is defined. I have installed the following build-tools under SuSE 9.0: autoconf 2.59 automake 1.8.3 libtool 1.5.2 I have also installed the latest version of libsigc++: libsigc++ 1.2.5 Any ideas? Thanks Andreas Karafyllis From mr.lex at free.fr Sat Apr 3 14:22:56 2004 From: mr.lex at free.fr (=?iso-8859-1?Q?Alexandre_Sauv=E9?=) Date: Sat Apr 3 14:23:52 2004 Subject: [Y-devel] Unable to compile patch-33 In-Reply-To: <200404031152.36712.ankar@homodigitalis.net> References: <200404031152.36712.ankar@homodigitalis.net> Message-ID: <20040403132256.GA29077@milou.empire> On Sat, Apr 03, 2004 at 11:52:36AM +0200, Andreas Karafyllis wrote: > ./configure: line 23506: syntax error near unexpected token `LIBSIGC,' > ./configure: line 23506: `PKG_CHECK_MODULES(LIBSIGC, sigc++-1.2 >= 1.2)' Have you the pkg-config package installed? It provides this file : /usr/share/aclocal/pkg.m4 Regards -- Alexandre Sauv? From ankar at homodigitalis.net Sat Apr 3 17:55:46 2004 From: ankar at homodigitalis.net (Andreas Karafyllis) Date: Sat Apr 3 17:45:19 2004 Subject: [Y-devel] Unable to compile patch-33 In-Reply-To: <20040403132256.GA29077@milou.empire> References: <200404031152.36712.ankar@homodigitalis.net> <20040403132256.GA29077@milou.empire> Message-ID: <200404031855.46568.ankar@homodigitalis.net> On Saturday 03 April 2004 15:22, Alexandre Sauv? wrote: > On Sat, Apr 03, 2004 at 11:52:36AM +0200, Andreas Karafyllis wrote: > > ./configure: line 23506: syntax error near unexpected token `LIBSIGC,' > > ./configure: line 23506: `PKG_CHECK_MODULES(LIBSIGC, sigc++-1.2 >= 1.2)' > > Have you the pkg-config package installed? > > It provides this file : > /usr/share/aclocal/pkg.m4 Problem solved! Many thanks Andreas From russ at ashlandhome.net Sun Apr 4 10:29:54 2004 From: russ at ashlandhome.net (Russell Whitaker) Date: Sun Apr 4 10:33:10 2004 Subject: [Y-devel] patch-33: autogen.sh Message-ID: Hi Downloaded patch level 33 and ran autogen.sh. Below is a copy of what i got. At this point should I just wait for patch-34 ? Russ /usr/local/share/aclocal/sigc++.m4:8: warning: underquoted definition of AM_PATH_SIGC run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal libYc++/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined libYc++/Makefile.am:5: libYc++/Makefile.am:5: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' libYc++/Makefile.am:5: to `configure.ac' and run `aclocal' and `autoconf' again. modules/drivers/input/evdev/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined modules/drivers/input/evdev/Makefile.am:5: modules/drivers/input/evdev/Makefile.am:5: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' modules/drivers/input/evdev/Makefile.am:5: to `configure.ac' and run `aclocal' and `autoconf' again. modules/drivers/ipc/tcp/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined modules/drivers/ipc/tcp/Makefile.am:5: modules/drivers/ipc/tcp/Makefile.am:5: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' modules/drivers/ipc/tcp/Makefile.am:5: to `configure.ac' and run `aclocal' and `autoconf' again. modules/drivers/ipc/unix/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined modules/drivers/ipc/unix/Makefile.am:5: modules/drivers/ipc/unix/Makefile.am:5: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' modules/drivers/ipc/unix/Makefile.am:5: to `configure.ac' and run `aclocal' and `autoconf' again. modules/drivers/video/fbdev/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined modules/drivers/video/fbdev/Makefile.am:5: modules/drivers/video/fbdev/Makefile.am:5: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' modules/drivers/video/fbdev/Makefile.am:5: to `configure.ac' and run `aclocal' and `autoconf' again. modules/drivers/video/sdl/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined modules/drivers/video/sdl/Makefile.am:5: modules/drivers/video/sdl/Makefile.am:5: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' modules/drivers/video/sdl/Makefile.am:5: to `configure.ac' and run `aclocal' and `autoconf' again. modules/themes/basic/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined modules/themes/basic/Makefile.am:5: modules/themes/basic/Makefile.am:5: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' modules/themes/basic/Makefile.am:5: to `configure.ac' and run `aclocal' and `autoconf' again. modules/wm/default/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined modules/wm/default/Makefile.am:5: modules/wm/default/Makefile.am:5: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' modules/wm/default/Makefile.am:5: to `configure.ac' and run `aclocal' and `autoconf' again. From m.heinz at gmx.net Sun Apr 4 11:43:05 2004 From: m.heinz at gmx.net (Matthias Heinz) Date: Sun Apr 4 11:43:43 2004 Subject: [Y-devel] patch-33: autogen.sh In-Reply-To: References: Message-ID: <1081075384.1426.1.camel@enterprise> Which version auf automake do you have? Upgrade to automake 1.8 and try again -Matthias From russ at ashlandhome.net Sun Apr 4 19:31:25 2004 From: russ at ashlandhome.net (Russell Whitaker) Date: Sun Apr 4 20:34:39 2004 Subject: [Y-devel] patch-33: autogen.sh In-Reply-To: <1081075384.1426.1.camel@enterprise> References: <1081075384.1426.1.camel@enterprise> Message-ID: On Sun, 4 Apr 2004, Matthias Heinz wrote: > Which version auf automake do you have? Upgrade to automake 1.8 and try > again > automake version 1.8.3 incidently, ran aclocal and it only complained about the first error on that list. Russ From richard at balliol.ox.ac.uk Thu Apr 8 02:19:18 2004 From: richard at balliol.ox.ac.uk (Richard Hills) Date: Thu Apr 8 02:38:08 2004 Subject: [Y-devel] libYc-0.2.4 Message-ID: <1081387157.628.16.camel@localhost.localdomain> Hey, The latest version of libYc is available for those wanting to write pure C applications for Y. Simply visit: https://sourceforge.net/projects/ywin-extralib/ This version supports the new protocol, and while working on it I decided to clean up a lot of the internal stuff. All libYc apps should compile as before without problem. Richard Hills From jonathan.harper at softhome.net Fri Apr 9 03:53:29 2004 From: jonathan.harper at softhome.net (Jonathan Harper) Date: Fri Apr 9 03:50:30 2004 Subject: [Y-devel] libYc-0.2.4 Message-ID: <200404082153.29569.jonathan.harper@softhome.net> Yeay! Progress! It's been so quiet around here lately. Off topic, but how can we drum up some more support for Y? The mailing list activity's dropped off a lot, and I don't want to see a project with this much potential slip away quietly. - Jonathan Harper From ankar at homodigitalis.net Fri Apr 9 13:03:28 2004 From: ankar at homodigitalis.net (Andreas Karafyllis) Date: Fri Apr 9 12:51:22 2004 Subject: [Y-devel] libYc-0.2.4 In-Reply-To: <200404082153.29569.jonathan.harper@softhome.net> References: <200404082153.29569.jonathan.harper@softhome.net> Message-ID: <200404091403.28864.ankar@homodigitalis.net> On Friday 09 April 2004 04:53, Jonathan Harper wrote: > Yeay! Progress! > > It's been so quiet around here lately. Off topic, but how can we drum up > some more support for Y? The mailing list activity's dropped off a lot, and > I don't want to see a project with this much potential slip away quietly. Me too. The best way to keep this project alive is keep working :) I do not post to often messages here but this does not mean that I am not interested on Y. I hope there are other people like me too... To cheer you up, I tell you that I started to implement Eiffel-bindings for Y. I hope that I will make the first release soon. Any contributors are of course welcomed but wait first until I have something usable. Afterwards, I plan to join the efforts to bring more functionality to the Y-Server... I think, the most important at this point is to attract developers/testers (BTW, how big is the core team at the moment?). An important condition to suceed on this, is to document everything very good. You support something if you are in position to undestand it first. The best example here is the paper of Mark Thomas. I was very happy to see that documentation improvement is a target of the next release. Other suggestion that could help the exististing or candidate contributors to have better feeling what's going on and to improve the coordination could be: 1) to produce status reports (every second week for example) where it will be reported what is implemented, what's not, for what a decision should be made, who are the active developers on what etc. 2) to have regular IRC meetings (twice a month for example) whith a specific topics that will be announced in the mainiling list some days before. Everyone should be allowed to take part, developers or enthousiasts. For both above suggestions, a person is needed who will organize this. The best canditate is of course Mark, the question is if it has time. I could volunteer for the first but with support of you, that means to send me emails with evreything that in your opinions should be in the report. Ok, this email became too big, I stop here Have a nice time Andreas From rogelio at smsglobal.net Fri Apr 9 13:14:55 2004 From: rogelio at smsglobal.net (Rogelio Serrano) Date: Fri Apr 9 13:15:10 2004 Subject: [Y-devel] libYc-0.2.4 In-Reply-To: <200404091403.28864.ankar@homodigitalis.net> Message-ID: <22db3b3541a2e50e834fe4fb4e760ba5@debian> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2004-04-09 20:03:28 +0800 Andreas Karafyllis wrote: > On Friday 09 April 2004 04:53, Jonathan Harper wrote: >> Yeay! Progress! >> >> It's been so quiet around here lately. Off topic, but how can >> we drum up >> some more support for Y? The mailing list activity's dropped >> off a lot, and >> I don't want to see a project with this much potential slip >> away quietly. > > Me too. The best way to keep this project alive is keep > working :) > I do not post to often messages here but this does not mean > that I am not > interested on Y. I hope there are other people like me too... > > To cheer you up, I tell you that I started to implement > Eiffel-bindings for > Y. I hope that I will make the first release soon. Any > contributors are of > course welcomed but wait first until I have something usable. > Afterwards, I > plan to join the efforts to bring more functionality to the > Y-Server... > > I think, the most important at this point is to attract > developers/testers > (BTW, how big is the core team at the moment?). An important > condition to > suceed on this, is to document everything very good. You > support something if > you are in position to undestand it first. The best example > here is the paper > of Mark Thomas. I was very happy to see that documentation > improvement is a > target of the next release. > > Other suggestion that could help the exististing or candidate > contributors to > have better feeling what's going on and to improve the > coordination could be: > 1) to produce status reports (every second week for example) > where it will be > reported what is implemented, what's not, for what a decision > should be made, > who are the active developers on what etc. > 2) to have regular IRC meetings (twice a month for example) > whith a specific > topics that will be announced in the mainiling list some days > before. > Everyone should be allowed to take part, developers or > enthousiasts. > > For both above suggestions, a person is needed who will > organize this. The > best canditate is of course Mark, the question is if it has > time. I could > volunteer for the first but with support of you, that means to > send me emails > with evreything that in your opinions should be in the report. > > Ok, this email became too big, I stop here > > Have a nice time > > Andreas > Same here. My plans are more invasive though. Im developing on a system without c++. only c and objective-c. its a uclibc based system on an selinux kernel. im going to port cairo on top of Y and gnustep on top of cairo. the ui design is very radical too. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using the GPG bundle for GNUMail.app iD8DBQFAdpO+yihxuQOYt8wRAgqEAJ4z+2Om0x7PzBk8XGwzLKfUZK/MNgCfWftk Ficp2J9Ze+rjXTnCVgokoU8= =Gm6U -----END PGP SIGNATURE----- From casey at cwinans.com Fri Apr 9 13:29:43 2004 From: casey at cwinans.com (Casey Winans) Date: Fri Apr 9 13:30:02 2004 Subject: [Y-devel] libYc-0.2.4 In-Reply-To: <200404091403.28864.ankar@homodigitalis.net> References: <200404082153.29569.jonathan.harper@softhome.net> <200404091403.28864.ankar@homodigitalis.net> Message-ID: <1081513783.6524.27.camel@localhost> > Me too. The best way to keep this project alive is keep working :) > I do not post to often messages here but this does not mean that I am not > interested on Y. I hope there are other people like me too... > > To cheer you up, I tell you that I started to implement Eiffel-bindings for Y. > I hope that I will make the first release soon. Any contributors are of > course welcomed but wait first until I have something usable. Afterwards, I > plan to join the efforts to bring more functionality to the Y-Server... > > I think, the most important at this point is to attract developers/testers > (BTW, how big is the core team at the moment?). An important condition to > suceed on this, is to document everything very good. You support something if > you are in position to undestand it first. The best example here is the paper > of Mark Thomas. I was very happy to see that documentation improvement is a > target of the next release. > > Other suggestion that could help the exististing or candidate contributors to > have better feeling what's going on and to improve the coordination could be: > 1) to produce status reports (every second week for example) where it will be > reported what is implemented, what's not, for what a decision should be made, > who are the active developers on what etc. > 2) to have regular IRC meetings (twice a month for example) whith a specific > topics that will be announced in the mainiling list some days before. > Everyone should be allowed to take part, developers or enthousiasts. > > For both above suggestions, a person is needed who will organize this. The > best canditate is of course Mark, the question is if it has time. I could > volunteer for the first but with support of you, that means to send me emails > with evreything that in your opinions should be in the report. I think we'll see another surge of interest as soon as 0.3 is released. Richard Hills has been active throughout; first with his libYc effort and the help he was giving me on my libYsharp effort. I've since scrapped my implementation for one created by Ulrik Mikaelsson; we've been working together on it for several weeks now and are nearing our first release. Also, there have been a lot of changes going on under the hood that have made it difficult for the casual user to keep up and no new apps released (the sample apps are boring to look at for more than just a few seconds)... anyone interested in porting or creating apps or games should speak up on the mailing list so others know what is going on. -- Casey Winans From casey at cwinans.com Fri Apr 9 13:38:29 2004 From: casey at cwinans.com (Casey Winans) Date: Fri Apr 9 13:38:50 2004 Subject: [Y-devel] Widget set progress Message-ID: <1081514309.6524.36.camel@localhost> Is there a more complete list of proposed Widgets with methods and properties outlined somewhere than the vague outline shown on www.y-windows.org? Is there going to be a design doc published? If so, will it be edittable on the Wiki? I've heard in the past that the widget set was going to use the idea that everything is a container. Can anyone clarify this? -- Casey Winans From sfaubel at gmx.de Fri Apr 9 15:39:09 2004 From: sfaubel at gmx.de (Sebastian Faubel) Date: Fri Apr 9 13:44:09 2004 Subject: [Y-devel] libYc-0.2.4 In-Reply-To: <200404091403.28864.ankar@homodigitalis.net> References: <200404082153.29569.jonathan.harper@softhome.net> <200404091403.28864.ankar@homodigitalis.net> Message-ID: <1081521525.6417.29.camel@localhost> > > It's been so quiet around here lately. Off topic, but how can we drum up > > some more support for Y? The mailing list activity's dropped off a lot, and > > I don't want to see a project with this much potential slip away quietly. > > Me too. The best way to keep this project alive is keep working :) > I do not post to often messages here but this does not mean that I am not > interested on Y. I hope there are other people like me too... same goes with me. Mark told me that he is going to implement facilities for hardware accelerated surfaces and my pixelbuffer this weekend. I really hope this works out as Y could use some activity again. > To cheer you up, I tell you that I started to implement Eiffel-bindings for Y. > I hope that I will make the first release soon. Any contributors are of > course welcomed but wait first until I have something usable. Afterwards, I > plan to join the efforts to bring more functionality to the Y-Server... very good, whatever eiffel bindings are ;) > I think, the most important at this point is to attract developers/testers > (BTW, how big is the core team at the moment?). An important condition to > suceed on this, is to document everything very good. Thats a point where Y REALLY needs improvement, at least at source code ducumentation. I think the best would be if mark could agree on some code documentation system we all can use ( i.e doxygen.... ), then i think we could find some volounteers to do documentation. > You support something if > you are in position to undestand it first. The best example here is the paper > of Mark Thomas. I was very happy to see that documentation improvement is a > target of the next release. > > Other suggestion that could help the exististing or candidate contributors to > have better feeling what's going on and to improve the coordination could be: > 1) to produce status reports (every second week for example) where it will be > reported what is implemented, what's not, for what a decision should be made, > who are the active developers on what etc. I also go with that. In my opinion it would also be nice to have a official "whish" list somewhere for which parts of code/functionality is currently needed/accepted. This should prevent people from writing something that mark in the end does not accept/integrate. This can be a very disencouraging thing for people... > 2) to have regular IRC meetings (twice a month for example) whith a specific > topics that will be announced in the mainiling list some days before. > Everyone should be allowed to take part, developers or enthousiasts. Good. > For both above suggestions, a person is needed who will organize this. The > best canditate is of course Mark, the question is if it has time. I could > volunteer for the first but with support of you, that means to send me emails > with evreything that in your opinions should be in the report. I don't want to run down mark, but in my opinion it would be better to leave this to someone different, who has time and fun about doing this. I haven't seen mark for a while now in the IRC and in the mailing list, which is in my point of view a bad thing - as people get the feeling that development has stalled. I think this kind of public relations is essential for the surviving and coordinated development of a project. Obviously this has been neglected in the past. Due to that I had to watch how some really good developers have left the project. Please mark, don't get me wrong, but i think we need some action in this direction very soon. cheers, sebastian From robert at unicraft.nu Fri Apr 9 13:38:40 2004 From: robert at unicraft.nu (robert) Date: Fri Apr 9 13:55:48 2004 Subject: [Y-devel] libYc-0.2.4 In-Reply-To: <1081513783.6524.27.camel@localhost> References: <200404082153.29569.jonathan.harper@softhome.net> <200404091403.28864.ankar@homodigitalis.net> <1081513783.6524.27.camel@localhost> Message-ID: <40769950.30000@unicraft.nu> Casey Winans wrote: >>Me too. The best way to keep this project alive is keep working :) >>I do not post to often messages here but this does not mean that I am not >>interested on Y. I hope there are other people like me too... >> >>To cheer you up, I tell you that I started to implement Eiffel-bindings for Y. >>I hope that I will make the first release soon. Any contributors are of >>course welcomed but wait first until I have something usable. Afterwards, I >>plan to join the efforts to bring more functionality to the Y-Server... >> >>I think, the most important at this point is to attract developers/testers >>(BTW, how big is the core team at the moment?). An important condition to >>suceed on this, is to document everything very good. You support something if >>you are in position to undestand it first. The best example here is the paper >>of Mark Thomas. I was very happy to see that documentation improvement is a >>target of the next release. >> >>Other suggestion that could help the exististing or candidate contributors to >>have better feeling what's going on and to improve the coordination could be: >>1) to produce status reports (every second week for example) where it will be >>reported what is implemented, what's not, for what a decision should be made, >>who are the active developers on what etc. >>2) to have regular IRC meetings (twice a month for example) whith a specific >>topics that will be announced in the mainiling list some days before. >>Everyone should be allowed to take part, developers or enthousiasts. >> >>For both above suggestions, a person is needed who will organize this. The >>best canditate is of course Mark, the question is if it has time. I could >>volunteer for the first but with support of you, that means to send me emails >>with evreything that in your opinions should be in the report. >> >> > >I think we'll see another surge of interest as soon as 0.3 is released. >Richard Hills has been active throughout; first with his libYc effort >and the help he was giving me on my libYsharp effort. I've since >scrapped my implementation for one created by Ulrik Mikaelsson; we've >been working together on it for several weeks now and are nearing our >first release. > >Also, there have been a lot of changes going on under the hood that have >made it difficult for the casual user to keep up and no new apps >released (the sample apps are boring to look at for more than just a few >seconds)... anyone interested in porting or creating apps or games >should speak up on the mailing list so others know what is going on. > > > I believe that the organisation of the different parts is a little confusing. To find out where the new widgets are I had to search the mail-archive to get the archive from florian. This is not a very well organized thing. Maybe a clean-up of this would help new people to get inot the development a lot easier (at least that is true for myself). I suggest that you try to move the archive to a central place instead so that I get all updates from the same server. If this would be impossible I suppose that at least a clear documentation on the y-homepage would point to the different parts. /From a guy who is looking around to see where he can help Robert From ankar at homodigitalis.net Fri Apr 9 14:23:06 2004 From: ankar at homodigitalis.net (Andreas Karafyllis) Date: Fri Apr 9 14:10:28 2004 Subject: [Y-devel] libYc-0.2.4 In-Reply-To: <1081521525.6417.29.camel@localhost> References: <200404082153.29569.jonathan.harper@softhome.net> <200404091403.28864.ankar@homodigitalis.net> <1081521525.6417.29.camel@localhost> Message-ID: <200404091523.06772.ankar@homodigitalis.net> On Friday 09 April 2004 16:39, Sebastian Faubel wrote: > > > It's been so quiet around here lately. Off topic, but how can we drum > > > up some more support for Y? The mailing list activity's dropped off a > > > lot, and I don't want to see a project with this much potential slip > > > away quietly. > > > > Me too. The best way to keep this project alive is keep working :) > > I do not post to often messages here but this does not mean that I am not > > interested on Y. I hope there are other people like me too... > > same goes with me. Mark told me that he is going to implement facilities > for hardware accelerated surfaces and my pixelbuffer this weekend. I > really hope this works out as Y could use some activity again. > > > To cheer you up, I tell you that I started to implement Eiffel-bindings > > for Y. I hope that I will make the first release soon. Any contributors > > are of course welcomed but wait first until I have something usable. > > Afterwards, I plan to join the efforts to bring more functionality to the > > Y-Server... > > very good, whatever eiffel bindings are ;) Eiffel is probably the best staticaly typed object oriented languange. I do not intend to start a "programing language war" here. It is purely my personal oponion! ;-). The wonderful thing with Y is that is object oriented but language independent. > > > I think, the most important at this point is to attract > > developers/testers (BTW, how big is the core team at the moment?). An > > important condition to suceed on this, is to document everything very > > good. > > Thats a point where Y REALLY needs improvement, at least at source code > ducumentation. I think the best would be if mark could agree on some > code documentation system we all can use ( i.e doxygen.... ), then i > think we could find some volounteers to do documentation. > I agree. I spent a lot of time trying to figure out what's heppening in these C++ classes. I was able to understand the protocol changes only after I got the latest libYc implementation. I could be much more faster if they were better documented. > > You support something if > > you are in position to undestand it first. The best example here is the > > paper of Mark Thomas. I was very happy to see that documentation > > improvement is a target of the next release. > > > > Other suggestion that could help the exististing or candidate > > contributors to have better feeling what's going on and to improve the > > coordination could be: 1) to produce status reports (every second week > > for example) where it will be reported what is implemented, what's not, > > for what a decision should be made, who are the active developers on what > > etc. > > > For both above suggestions, a person is needed who will organize this. > > The best canditate is of course Mark, the question is if it has time. I > > could volunteer for the first but with support of you, that means to send > > me emails with evreything that in your opinions should be in the report. > > I don't want to run down mark, but in my opinion it would be better to > leave this to someone different, who has time and fun about doing this. I > haven't seen mark for a while now in the IRC and in the mailing list, which > is in my point of view a bad thing - as people get the feeling that > development has stalled. I think this kind of public relations is > essential for the surviving and coordinated development of a project. > Obviously this has been neglected in the past. Due to that I had to > watch how some really good developers have left the project. > > Please mark, don't get me wrong, but i think we need some action in this > direction very soon. I believe, it is clear that everone has a good intension... We are trying to become more efficient! And it is very normal to have organizational problems at the start of a project like this. This thread is starting to grow very fast which is a good indication that some actions should be taken in this direction. Cheers Andreas From robert at unicraft.nu Fri Apr 9 14:23:31 2004 From: robert at unicraft.nu (robert) Date: Fri Apr 9 14:40:41 2004 Subject: [Y-devel] arch In-Reply-To: <1081521525.6417.29.camel@localhost> References: <200404082153.29569.jonathan.harper@softhome.net> <200404091403.28864.ankar@homodigitalis.net> <1081521525.6417.29.camel@localhost> Message-ID: <4076A3D3.5000706@unicraft.nu> Hi, I have had quite a bit of a fuzz with just trying to retrieve the newest widget-set that is out there. I have tried not to be asking stupid questions and reading the manual and all that (I have never used arch before.. used to old normal cvs..), but still have not made it. So I have decided to ask here anyway. Anyone knows what I am doing wrong here? bacon@bejkon ywin $ tla archives fraca7@free.fr--2004 http://fraca7.free.fr/Arch/ markbt@efaref.net--2004 http://www.efaref.net/arch/2004/ robert@unicraft.nu--2004 ./archives bacon@bejkon ywin $ tla my-default-archive fraca7@free.fr--2004 bacon@bejkon ywin $ tla versions Y--widgets webdav error: 404 Not Found bacon@bejkon ywin $ tla categories webdav error: 404 Not Found bacon@bejkon ywin $ This is how I did with the Y-windows download, and that worked just fine (taken right from the WIKI..). Please point me in the right direction! Thanks! Kind regards Robert From mkurjano at cc.gatech.edu Fri Apr 9 15:24:27 2004 From: mkurjano at cc.gatech.edu (Matthew David Kurjanowicz) Date: Fri Apr 9 15:24:37 2004 Subject: [Y-devel] Widget set progress In-Reply-To: <1081514309.6524.36.camel@localhost> References: <1081514309.6524.36.camel@localhost> Message-ID: <50408.199.77.205.187.1081520667.squirrel@webmail.cc.gatech.edu> There is a pseudo-todo list on the wiki (http://y-win-wiki.jciteassist.org/y-win-wiki/), which is much more atomic than on y-windows.org. Check there for some design docs too. -Matt > Is there a more complete list of proposed Widgets with methods and > properties outlined somewhere than the vague outline shown on > www.y-windows.org? > > Is there going to be a design doc published? If so, will it be edittable > on the Wiki? > > I've heard in the past that the widget set was going to use the idea > that everything is a container. Can anyone clarify this? > > -- > Casey Winans From jcsnvu at free.fr Fri Apr 9 15:34:25 2004 From: jcsnvu at free.fr (jcsnvu@free.fr) Date: Fri Apr 9 15:34:31 2004 Subject: [Y-devel] libYc-0.2.4 In-Reply-To: <200404091403.28864.ankar@homodigitalis.net> References: <200404082153.29569.jonathan.harper@softhome.net> <200404091403.28864.ankar@homodigitalis.net> Message-ID: <1081521265.4076b47164890@imp6-q.free.fr> Selon Andreas Karafyllis : > To cheer you up, I tell you that I started to implement Eiffel-bindings for > Y. > I hope that I will make the first release soon. Any contributors are of > course welcomed but wait first until I have something usable. Afterwards, I > plan to join the efforts to bring more functionality to the Y-Server... I also planned to port the libY to Eiffel and I was wondering if anyone had the same idea. Well you answered my question before I asked it. I'm looking forward to the first release. Regards -- Jean-Christophe Sirot From ankar at homodigitalis.net Fri Apr 9 16:37:28 2004 From: ankar at homodigitalis.net (Andreas Karafyllis) Date: Fri Apr 9 16:27:22 2004 Subject: [Y-devel] libYc-0.2.4 In-Reply-To: <1081521265.4076b47164890@imp6-q.free.fr> References: <200404082153.29569.jonathan.harper@softhome.net> <200404091403.28864.ankar@homodigitalis.net> <1081521265.4076b47164890@imp6-q.free.fr> Message-ID: <200404091737.28835.ankar@homodigitalis.net> On Friday 09 April 2004 16:34, jcsnvu@free.fr wrote: > Selon Andreas Karafyllis : > > To cheer you up, I tell you that I started to implement Eiffel-bindings > > for Y. > > I hope that I will make the first release soon. Any contributors are of > > course welcomed but wait first until I have something usable. Afterwards, > > I plan to join the efforts to bring more functionality to the Y-Server... > > I also planned to port the libY to Eiffel and I was wondering if anyone had > the same idea. Well you answered my question before I asked it. I'm looking > forward to the first release. > I implemented completly in Eiffel using SmartEiffel. Thanks to the ePosix library, I do not have to use directly C code. I have finished the design at the moment (I decided what classes to implement) and about 30% of the classes. This includes a signal/slot library (In a Qt-fashion, I am quite affected from QT). A hello-world program with a button, will look like this: class Y_HELLO_WORLD inherit Y_CONNECTOR creation make feature make is local app: Y_APPLICATION win: Y_WINDOW but: Y_BUTTON do create app.make create win.make(app.connection) create but.make(app.connection) but.set_text("Hello, World") win.add_child(but) y_connect_0(win.signal_close, app.quit) win.show app.exec_loop end end Cheers Andreas From ankar at homodigitalis.net Fri Apr 9 18:15:46 2004 From: ankar at homodigitalis.net (Andreas Karafyllis) Date: Fri Apr 9 18:04:16 2004 Subject: [Y-devel] arch In-Reply-To: <4076A3D3.5000706@unicraft.nu> References: <200404082153.29569.jonathan.harper@softhome.net> <1081521525.6417.29.camel@localhost> <4076A3D3.5000706@unicraft.nu> Message-ID: <200404091915.46463.ankar@homodigitalis.net> On Friday 09 April 2004 15:23, robert wrote: > Hi, > > I have had quite a bit of a fuzz with just trying to retrieve the newest > widget-set that is out there. I have tried not to be asking stupid > questions and reading the manual and all that (I have never used arch > before.. used to old normal cvs..), but still have not made it. So I > have decided to ask here anyway. Anyone knows what I am doing wrong here? > > bacon@bejkon ywin $ tla archives > fraca7@free.fr--2004 > http://fraca7.free.fr/Arch/ > markbt@efaref.net--2004 > http://www.efaref.net/arch/2004/ > robert@unicraft.nu--2004 > ./archives > bacon@bejkon ywin $ tla my-default-archive fraca7@free.fr--2004 > bacon@bejkon ywin $ tla versions Y--widgets > webdav error: 404 Not Found > bacon@bejkon ywin $ tla categories > webdav error: 404 Not Found > bacon@bejkon ywin $ > > > This is how I did with the Y-windows download, and that worked just fine > (taken right from the WIKI..). Please point me in the right direction! > Perhaps > tla abrowse will help you to find out where the problem is. I I would suggest you to mirror localy the repositories as described here (See section "Mirroring a remote archive localy): http://www.gnu.org/software/gnu-arch/tutorial/ shared-and-public-archives.html#Shared_and_Public_Archives Good luck Andreas From james at grickle.org Fri Apr 9 19:08:03 2004 From: james at grickle.org (James Harr) Date: Fri Apr 9 19:08:14 2004 Subject: [Y-devel] libYc-0.2.4 In-Reply-To: <200404082153.29569.jonathan.harper@softhome.net> References: <200404082153.29569.jonathan.harper@softhome.net> Message-ID: <200404091308.03701.james@grickle.org> I think what Y lacks right now is a bunch of basic tutorial lessons. We need an organized website that has a series of lessons that start with the most basic lessons, a single widget window, then move onto things like binding to events. After there should be a section with a small tutorial on how to create a basic widget. There should also be documentation on how to use the data structure code properly in Y. In this widget creation tutorial, there should be at least help on how to create a libY++ binding as well. The current wiki page is nice and all, but it lacks one thing: A step by step process. New users will want to look for a place to start. A set of tutorials is an excellent place. You also need to organize it for them in a linear fashion. Don't give them an option to split two directions, have it go through each one like chapters in a book. Of course they can always skip ahead a ways, but that's up to them if they already know it, but generally humans like to view things in a very linear format. I can setup a page on wiki where we can have some tutorials organized by chapter, but right now I am not a person to be writing these tutorials because in terms of C code, I'm like a 16 year old with a brand new driver's license. I do know Y's general architecture enough to organize documentation and generally keep it up. We could almost make this into an online book if we wanted to. Instead of the general conglomeration of reference material we have. Who's in? Here's a simple chapter outline I've been thinking of: 1. Getting Started a. Getting the source b. Compiling c. Installing 2. Your first Y gui program in C++ a. Writing the code b. Compiling 3. Using bindings to receive signals. a. Exit button code. b. Buttons c. Checkboxes d. Labels 4. The Y server overview a. Y's basic architecture (IE - explain server side widgets and maybe link to a page explaining why they're so cool) b. Some basic useful data structures 5. Writing your own widget a. Maybe write a basic container widget (IE, a simplified gridlayout) On Thu April 8 2004 9:53 pm, Jonathan Harper wrote: > Yeay! Progress! > > It's been so quiet around here lately. Off topic, but how can we drum up some > more support for Y? The mailing list activity's dropped off a lot, and I > don't want to see a project with this much potential slip away quietly. > > - Jonathan Harper -- -- James Harr PS - This is what part of the alphabet would look like if Q and R were eliminated. From james at grickle.org Fri Apr 9 19:20:30 2004 From: james at grickle.org (James Harr) Date: Fri Apr 9 19:20:36 2004 Subject: [Y-devel] libYc-0.2.4 In-Reply-To: <200404091308.03701.james@grickle.org> References: <200404082153.29569.jonathan.harper@softhome.net> <200404091308.03701.james@grickle.org> Message-ID: <200404091320.30305.james@grickle.org> Ok, so I'm retarded and accidentally hit ctrl+enter in kmail and sent that unfinished. I will find a way to disable that... It's been screwing me over. Anyway... In continuation: ------------------------------- 5. Writing your own widget ? a. Maybe write a basic container widget (IE, a simplified gridlayout) b. A gradient widget which will draw a simple two-color gradient. c. ???? 6. Making a libY++ binding for it (perhaps integrate into chapter 5). ???? c. Other languages. 7. Making your own theme. a. Basic theme (no gradients, just color. b. Adding flair c. Using images d. Compatibility (IE font size, other widgets, etc, etc). Let me know if any of you are interested in making small tutorials, if enough people like the idea, I'll start a page on wiki for an online book or something. Thanks, James Harr -- PS - This is what part of the alphabet would look like if Q and R were eliminated. From eric at sandall.us Fri Apr 9 19:48:27 2004 From: eric at sandall.us (Eric Sandall) Date: Fri Apr 9 19:42:21 2004 Subject: [Y-devel] libYc-0.2.4 In-Reply-To: <200404091308.03701.james@grickle.org> References: <200404082153.29569.jonathan.harper@softhome.net> <200404091308.03701.james@grickle.org> Message-ID: <1081536507.4076effb20308@horde.sandall.us> Quoting James Harr : > I think what Y lacks right now is a bunch of basic tutorial lessons. We need > > an organized website that has a series of lessons that start with the most > basic lessons, a single widget window, then move onto things like binding to > > events. > > After there should be a section with a small tutorial on how to create a > basic > widget. There should also be documentation on how to use the data structure > code properly in Y. In this widget creation tutorial, there should be at > least help on how to create a libY++ binding as well. > > The current wiki page is nice and all, but it lacks one thing: A step by step > > process. New users will want to look for a place to start. A set of tutorials > > is an excellent place. You also need to organize it for them in a linear > fashion. Don't give them an option to split two directions, have it go > through each one like chapters in a book. Of course they can always skip > ahead a ways, but that's up to them if they already know it, but generally > humans like to view things in a very linear format. > > I can setup a page on wiki where we can have some tutorials organized by > chapter, but right now I am not a person to be writing these tutorials > because in terms of C code, I'm like a 16 year old with a brand new driver's > > license. > > I do know Y's general architecture enough to organize documentation and > generally keep it up. We could almost make this into an online book if we > wanted to. Instead of the general conglomeration of reference material we > have. > > Who's in? > > Here's a simple chapter outline I've been thinking of: > 1. Getting Started > a. Getting the source > b. Compiling > c. Installing > 2. Your first Y gui program in C++ > a. Writing the code > b. Compiling > 3. Using bindings to receive signals. > a. Exit button code. > b. Buttons > c. Checkboxes > d. Labels > 4. The Y server overview > a. Y's basic architecture (IE - explain server side widgets and maybe link > to a page explaining why they're so cool) > b. Some basic useful data structures > 5. Writing your own widget > a. Maybe write a basic container widget (IE, a simplified gridlayout) As a lurker I think this is a good idea and initial layout to get things going. ;) Y currently seems fairly disorganized and that's discouraging for "outsiders" like myself to get interested (though my interest was peaked in the beginning). -sandalle -- PGP Key Fingerprint: FCFF 26A1 BE21 08F4 BB91 FAED 1D7B 7D74 A8EF DD61 http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA8EFDD61 -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS/E/IT$ d-- s++:+>: a-- C++(+++) BL++++VIS>$ P+(++) L+++ E-(---) W++ N+@ o? K? w++++>-- O M-@ V-- PS+(+++) PE(-) Y++(+) PGP++(+) t+() 5++ X(+) R+(++) tv(--)b++(+++) DI+@ D++(+++) G>+++ e>+++ h---(++) r++ y+ ------END GEEK CODE BLOCK------ Eric Sandall | Source Mage GNU/Linux Developer eric@sandall.us | http://www.sourcemage.org/ http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU http://counter.li.org/ #196285 | http://www.shock.wsu.edu/ ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From mlatiolais at carrollsweb.com Sat Apr 10 00:19:38 2004 From: mlatiolais at carrollsweb.com (Michael Latiolais) Date: Sat Apr 10 00:19:46 2004 Subject: [Y-devel] libYc-0.2.4 In-Reply-To: <1081513783.6524.27.camel@localhost> References: <200404082153.29569.jonathan.harper@softhome.net> <200404091403.28864.ankar@homodigitalis.net> <1081513783.6524.27.camel@localhost> Message-ID: <40772F8A.10708@carrollsweb.com> I am working on porting gdk. I also have 2 video drivers that I am planning out, but I don't want to talk about those yet. Casey Winans wrote: >>Me too. The best way to keep this project alive is keep working :) >>I do not post to often messages here but this does not mean that I am not >>interested on Y. I hope there are other people like me too... >> >>To cheer you up, I tell you that I started to implement Eiffel-bindings for Y. >>I hope that I will make the first release soon. Any contributors are of >>course welcomed but wait first until I have something usable. Afterwards, I >>plan to join the efforts to bring more functionality to the Y-Server... >> >>I think, the most important at this point is to attract developers/testers >>(BTW, how big is the core team at the moment?). An important condition to >>suceed on this, is to document everything very good. You support something if >>you are in position to undestand it first. The best example here is the paper >>of Mark Thomas. I was very happy to see that documentation improvement is a >>target of the next release. >> >>Other suggestion that could help the exististing or candidate contributors to >>have better feeling what's going on and to improve the coordination could be: >>1) to produce status reports (every second week for example) where it will be >>reported what is implemented, what's not, for what a decision should be made, >>who are the active developers on what etc. >>2) to have regular IRC meetings (twice a month for example) whith a specific >>topics that will be announced in the mainiling list some days before. >>Everyone should be allowed to take part, developers or enthousiasts. >> >>For both above suggestions, a person is needed who will organize this. The >>best canditate is of course Mark, the question is if it has time. I could >>volunteer for the first but with support of you, that means to send me emails >>with evreything that in your opinions should be in the report. >> >> > >I think we'll see another surge of interest as soon as 0.3 is released. >Richard Hills has been active throughout; first with his libYc effort >and the help he was giving me on my libYsharp effort. I've since >scrapped my implementation for one created by Ulrik Mikaelsson; we've >been working together on it for several weeks now and are nearing our >first release. > >Also, there have been a lot of changes going on under the hood that have >made it difficult for the casual user to keep up and no new apps >released (the sample apps are boring to look at for more than just a few >seconds)... anyone interested in porting or creating apps or games >should speak up on the mailing list so others know what is going on. > > > From GUtopiste at free.fr Sat Apr 10 02:27:28 2004 From: GUtopiste at free.fr (=?ISO-8859-1?Q?Ga=EBl_Deest?=) Date: Sat Apr 10 01:22:44 2004 Subject: [Y-devel] libYc-0.2.4 In-Reply-To: <200404091308.03701.james@grickle.org> References: <200404082153.29569.jonathan.harper@softhome.net> <200404091308.03701.james@grickle.org> Message-ID: <40774D80.3010700@free.fr> James Harr wrote: >I think what Y lacks right now is a bunch of basic tutorial lessons. We need >an organized website that has a series of lessons that start with the most >basic lessons, a single widget window, then move onto things like binding to >events. > > A friend of mine and I are really interested in writing such tutorials. We already have a hosting, and should be able to provide a dedicated website with some examples and lessons sometime next week. - Ga?l Deest From robert at unicraft.nu Sat Apr 10 14:18:42 2004 From: robert at unicraft.nu (Robert Karlsson) Date: Sat Apr 10 15:03:45 2004 Subject: [Y-devel] arch In-Reply-To: <200404091915.46463.ankar@homodigitalis.net> References: <200404082153.29569.jonathan.harper@softhome.net> <1081521525.6417.29.camel@localhost> <4076A3D3.5000706@unicraft.nu> <200404091915.46463.ankar@homodigitalis.net> Message-ID: <4077F432.7010704@unicraft.nu> Hi! thanks for giving me a few tips Andreas, but here I believe that I have found the real issue (at last!..:)) looking at the strace from y-windows arch (strace -s 255 tla abrowse) you get this: write(3, "HEAD /arch/2004/.listing HTTP/1.1\r\nHost: www.efaref.net\r\nUser-Agent: arch-client/0.1neon/0.24.0\r\nConnection: TE\r\nTE: trailers\r\n\r\n", 130) = 130 select(4, [3], NULL, NULL, {120, 0}) = 1 (in [3], left {119, 942000}) read(3, "HTTP/1.1 200 OK\r\nDate: Sat, 10 Apr 2004 13:44:44 GMT\r\nServer: Apache/2.0.48 (Debian GNU/Linux) mod_ that is just fine.. it finds the .listing file that seems to describe the different directories there are. Here is the output from the otherone with the widgets: write(3, "HEAD /Arch/.listing HTTP/1.1\r\nHost: fraca7.free.fr\r\nUser-Agent: arch-client/0.1 neon/0.24.0\r\nConnection: TE\r\nTE: trailers\r\n\r\n", 125) = 125 select(4, [3], NULL, NULL, {120, 0}) = 1 (in [3], left {119, 942000}) read(3, "HTTP/1.1 404 Not Found\r\nDate: Sat, 10 Apr 2004 13:49:50 GMT\r\nServer: Apache1.3.29 - ProXad [Apr 1 2004 16:04:23]\r\nConnection: close\r\nContent-Type: text/html; charset=iso-8859-1\r\n\r\n", 4096) = 181 This shows us that there is no .listing file. I have been looking around on all his pages and have still not found one.. Maybe this is not a very complete setup? Maybe there is a way to get over this little hurdle, but I would find it much more pleasing to be able to get it without getting over a hurdle..:) If I am wrong please tell me! Thanks! Kind regards Robert Andreas Karafyllis wrote: > On Friday 09 April 2004 15:23, robert wrote: > >>Hi, >> >>I have had quite a bit of a fuzz with just trying to retrieve the newest >>widget-set that is out there. I have tried not to be asking stupid >>questions and reading the manual and all that (I have never used arch >>before.. used to old normal cvs..), but still have not made it. So I >>have decided to ask here anyway. Anyone knows what I am doing wrong here? >> >>bacon@bejkon ywin $ tla archives >>fraca7@free.fr--2004 >> http://fraca7.free.fr/Arch/ >>markbt@efaref.net--2004 >> http://www.efaref.net/arch/2004/ >>robert@unicraft.nu--2004 >> ./archives >>bacon@bejkon ywin $ tla my-default-archive fraca7@free.fr--2004 >>bacon@bejkon ywin $ tla versions Y--widgets >>webdav error: 404 Not Found >>bacon@bejkon ywin $ tla categories >>webdav error: 404 Not Found >>bacon@bejkon ywin $ >> >> >>This is how I did with the Y-windows download, and that worked just fine >>(taken right from the WIKI..). Please point me in the right direction! >> > > Perhaps > >>tla abrowse > > will help you to find out where the problem is. > I I would suggest you to mirror localy the repositories as described here (See > section "Mirroring a remote archive localy): > http://www.gnu.org/software/gnu-arch/tutorial/ > shared-and-public-archives.html#Shared_and_Public_Archives > > Good luck > > Andreas > > > From eviliivari at saunalahti.fi Sun Apr 11 10:58:35 2004 From: eviliivari at saunalahti.fi (Niko Iivari) Date: Sun Apr 11 10:55:41 2004 Subject: [Y-devel] arch In-Reply-To: <4077F432.7010704@unicraft.nu> References: <200404082153.29569.jonathan.harper@softhome.net> <1081521525.6417.29.camel@localhost> <4076A3D3.5000706@unicraft.nu> <200404091915.46463.ankar@homodigitalis.net> <4077F432.7010704@unicraft.nu> Message-ID: <20040411125835.01eedc6c.eviliivari@saunalahti.fi> On Sat, 10 Apr 2004 15:18:42 +0200 Robert Karlsson wrote: > Hi! > > thanks for giving me a few tips Andreas, but here I believe that I have > found the real issue (at last!..:)) [...snip...] > This shows us that there is no .listing file. I have been looking around > on all his pages and have still not found one.. Maybe this is not a very > complete setup? Maybe there is a way to get over this little hurdle, but > I would find it much more pleasing to be able to get it without getting > over a hurdle..:) > > If I am wrong please tell me! > > Thanks! > Kind regards > Robert [...snip...] You can get Y--eviliivari--0.2--patch-1 from archive: eviliivari@saunalahti.fi--2004 at: http://www.saunalahti.fi/niiiv/arch/2004 Its continuation of fraca7@free.fr--2004/Y--widgets--0.2--patch-23 and has that cached. the patch-1 only removes two compilation warnings and nothing else. the rest of the patches I've added are a bit buggy - I'm still working on it. -Niko -- http://www.saunalahti.fi/niiiv/eviliivari_pubkey.txt Key fingerprint = 02AB 7262 3531 D531 DBA8 9E0E 79AD C2E1 18D6 92B0 From jerome at gandalf.fraca7.homeunix.net Sun Apr 11 13:04:46 2004 From: jerome at gandalf.fraca7.homeunix.net (Jerome Laheurte) Date: Sun Apr 11 13:06:16 2004 Subject: [Y-devel] arch (fwd) Message-ID: Can't believe I made it again... fscking Reply-to... ---------- Forwarded message ---------- Date: Sun, 11 Apr 2004 12:03:12 +0000 (UTC) From: Jerome Laheurte Reply-To: Jerome Laheurte To: robert Subject: Re: [Y-devel] arch On Fri, 9 Apr 2004, robert wrote: > [snip] Hello. The problem is now fixed. Thanks for reporting it. -- J?r?me Laheurte I cannot conceive that anybody will require multiplications at the rate of 40,000 or even 4,000 per hour ... -- F. H. Wales (1936) From ankar at homodigitalis.net Sun Apr 11 13:51:30 2004 From: ankar at homodigitalis.net (Andreas Karafyllis) Date: Sun Apr 11 13:37:50 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol Message-ID: <200404111451.30615.ankar@homodigitalis.net> Hi everybody, If am currently implementing Eiffel-bindings for Y and I noticed thet the way string are serialized as message-members can be improved. Currently (I am talking about the latest version after patch 33), a string is serialized as following: 00 - 03: Member length without this field 04 - 07: Type information (0 for strings) 08 - XX: The string including the 0 character. XX is the value of "Member length" + 3 Example: The string "Hello" will be serialized as following: 00 - 03: 10 00 - 07: 0 08 - 12: 'H', 'e', 'l', 'l' 13 - 14: 'o', '\0' In the comments in the libYc is written thet the '\0' may be not used in the future. I go for it. The '\0' is not needed. You should depend to "member length" field find how big the string is. And null terminated strings are a bad idea anyway. A very nice article about this topic is the following: http://www.joelonsoftware.com/articles/fog0000000319.html With or without the null character there is still a small problem. The next field could start in an address which is not 4-byte aligned. If the next member is for example an integer, all its field wills be stored in no 4-bytes aligend addresses. There are to reason I do not like it: 1) It is ugly :-) 2) Most modern RISC processors do not work very happily with not-aligned values. We should try to make serialization - deserialization as fast as possible Therefore, I suggest the following format: 00 - 03: Member length without this field 04 - 07: Type information (0 for strings) 08 - 12: String length 08 - XX: The string padded with zeros in case string_length modulo 4 not equal to zero XX in like before "Member length" + 3 Using this format the above example will be serialized like this: 00 - 03: 16 00 - 07: 0 08 - 12: 5 12 - 15: 'H', 'e', 'l', 'l' 16 - 19: 'o', '\0', \0','\0' I suggest that a similar approach is followed in the future for all fields that have a variable size Bye Andreas From ankar at homodigitalis.net Sun Apr 11 16:03:47 2004 From: ankar at homodigitalis.net (Andreas Karafyllis) Date: Sun Apr 11 15:50:02 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol In-Reply-To: <200404111451.30615.ankar@homodigitalis.net> References: <200404111451.30615.ankar@homodigitalis.net> Message-ID: <200404111703.47412.ankar@homodigitalis.net> Damn, I have a lot of errrors in the examples. Sorry about this... Here is the email again with the errors (hopefully) corrected: On Sunday 11 April 2004 14:51, Andreas Karafyllis wrote: > Hi everybody, > > If am currently implementing Eiffel-bindings for Y and I noticed thet the > way strings are serialized as message-members can be improved. > > Currently (I am talking about the latest version after patch 33), a string > is serialized as following: > 00 - 03: Member length without this field > 04 - 07: Type information (0 for strings) > 08 - XX: The string including the 0 character. > > XX is the value of "Member length" + 3 > Example: The string "Hello" will be serialized as following: > > 00 - 03: 10 > 04 - 07: 0 > 08 - 11: 'H', 'e', 'l', 'l' > 12 - 13: 'o', '\0' > > In the comments in the libYc is written thet the '\0' may be not used in > the future. I go for it. The '\0' is not needed. You should depend to > "member length" field find how big the string is. And null terminated > strings are a bad idea anyway. A very nice article about this topic is the > following: http://www.joelonsoftware.com/articles/fog0000000319.html > > With or without the null character there is still a small problem. The next > field could start in an address which is not 4-byte aligned. If the next > member is for example an integer, all its field wills be stored in no > 4-bytes aligend addresses. There are to reason I do not like it: > 1) It is ugly :-) > 2) Most modern RISC processors do not work very happily with not-aligned > values. We should try to make serialization - deserialization as fast as > possible > > Therefore, I suggest the following format: > 00 - 03: Member length without this field > 04 - 07: Type information (0 for strings) > 08 - 11: String length > 12 - XX: The string padded with zeros in case string_length modulo 4 not > equal to zero > > XX in like before "Member length" + 3 > Using this format the above example will be serialized like this: > 00 - 03: 16 > 04 - 07: 0 > 08 - 11: 5 > 12 - 15: 'H', 'e', 'l', 'l' > 16 - 19: 'o', '\0', \0','\0' > > I suggest that a similar approach is followed in the future for all fields > that have a variable size > > Bye > > Andreas From mark at y-windows.org Sun Apr 11 18:54:47 2004 From: mark at y-windows.org (Mark Thomas) Date: Sun Apr 11 18:54:49 2004 Subject: [Y-devel] libYc-0.2.4 In-Reply-To: <1081521525.6417.29.camel@localhost> References: <200404082153.29569.jonathan.harper@softhome.net> <200404091403.28864.ankar@homodigitalis.net> <1081521525.6417.29.camel@localhost> Message-ID: On Fri, 9 Apr 2004, Sebastian Faubel wrote: > Thats a point where Y REALLY needs improvement, at least at source code > ducumentation. I think the best would be if mark could agree on some > code documentation system we all can use ( i.e doxygen.... ), then i > think we could find some volounteers to do documentation. I will happily accept patches that improve the documentation. I'm adding doxygen-style comments to most of the new parts that I am writing. I also need someone to volunteer to autotoolsify the making of some doxygen documentation in a doc/ directory in the source tree. I've never touched doxygen and don't have the time to learn how it works at the moment. > > You support something if > > you are in position to undestand it first. The best example here is the paper > > of Mark Thomas. I was very happy to see that documentation improvement is a > > target of the next release. > > > > Other suggestion that could help the exististing or candidate contributors to > > have better feeling what's going on and to improve the coordination could be: > > 1) to produce status reports (every second week for example) where it will be > > reported what is implemented, what's not, for what a decision should be made, > > who are the active developers on what etc. > > I also go with that. In my opinion it would also be nice to have a > official "whish" list somewhere for which parts of code/functionality is > currently needed/accepted. This should prevent people from writing > something that mark in the end does not accept/integrate. This can be a > very disencouraging thing for people... If someone wants to maintain a queue of extra things to be added to Y, I'll link it from the main Y site. It'd help me, too, as most of my Y work is done in bursts, and I tend to miss things that come along in between bursts. Remember, it's best if the patches are kept small, separate and independent. I review everything that goes into Y, and I can't do that if I have an uber-patch. Regards, Mark. -- || Mark Thomas || efaref.net || || Blood flows down one leg and up the other. From richard.hills at balliol.ox.ac.uk Sun Apr 11 20:24:45 2004 From: richard.hills at balliol.ox.ac.uk (Richard Hills) Date: Sun Apr 11 21:19:48 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol In-Reply-To: <200404111703.47412.ankar@homodigitalis.net> References: <200404111451.30615.ankar@homodigitalis.net> <200404111703.47412.ankar@homodigitalis.net> Message-ID: <1081711484.27851.6.camel@localhost.localdomain> Hey, > > In the comments in the libYc is written thet the '\0' may be not used in > > the future. I go for it. The '\0' is not needed. You should depend to > > "member length" field find how big the string is. And null terminated > > strings are a bad idea anyway. A very nice article about this topic is the > > following: http://www.joelonsoftware.com/articles/fog0000000319.html As far as I understand the \0 isn't needed, but when I was writing that part of libYc it was easier at the time to just include it. Neither the server nor libYc clients rely on it. > 4-bytes aligend addresses. There are to reason I do not like it: > 1) It is ugly :-) > 2) Most modern RISC processors do not work very happily with not-aligned > values. We should try to make serialization - deserialization as fast as > possible I don't really think it's that ugly. And although we want deserialization to go fast, I don't think this will have a significant effect on speed. If you can point out a protocol which does align everything to the nearest 4 bytes for this reason I'd be interested to see it. Richard Hills From richard.hills at balliol.ox.ac.uk Sun Apr 11 21:17:50 2004 From: richard.hills at balliol.ox.ac.uk (Richard Hills) Date: Sun Apr 11 21:19:51 2004 Subject: [Y-devel] libYc-0.2.5 Message-ID: <1081714670.27849.12.camel@localhost.localdomain> hey, New libYc release, which updates YObject_SetProperty so clients can work with the new protocol in Y--devel--0.2-patch41. Download from: https://sourceforge.net/projects/ywin-extralib/ Thanks for the support I've received, I hope people continue to find this lib useful. Richard Hills From ankar at homodigitalis.net Sun Apr 11 22:52:08 2004 From: ankar at homodigitalis.net (Andreas Karafyllis) Date: Sun Apr 11 22:38:17 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol In-Reply-To: <1081711484.27851.6.camel@localhost.localdomain> References: <200404111451.30615.ankar@homodigitalis.net> <200404111703.47412.ankar@homodigitalis.net> <1081711484.27851.6.camel@localhost.localdomain> Message-ID: <200404112352.08296.ankar@homodigitalis.net> On Sunday 11 April 2004 21:24, Richard Hills wrote: > Hey, > > > > In the comments in the libYc is written thet the '\0' may be not used > > > in the future. I go for it. The '\0' is not needed. You should depend > > > to "member length" field find how big the string is. And null > > > terminated strings are a bad idea anyway. A very nice article about > > > this topic is the following: > > > http://www.joelonsoftware.com/articles/fog0000000319.html > > As far as I understand the \0 isn't needed, but when I was writing that > part of libYc it was easier at the time to just include it. Neither the > server nor libYc clients rely on it. Ok, nice to hear this... > > > 4-bytes aligend addresses. There are to reason I do not like it: > > 1) It is ugly :-) > > 2) Most modern RISC processors do not work very happily with > > not-aligned > > > values. We should try to make serialization - deserialization as fast > > as > > > possible > > I don't really think it's that ugly. And although we want > deserialization to go fast, I don't think this will have a significant > effect on speed. If you can point out a protocol which does align > everything to the nearest 4 bytes for this reason I'd be interested to > see it. > No, I do not have a specific protocol in mind. I would investigate it if I find time. Perhaps in recent protocols is taken into account. I only know that processors like ARM need more cycles to read/write not aligned 32-bit values. I assume the same happens with PowerPC. In x86 should not make any difference I think. I agree that the speed improvement will be small. The amount of time to serialize/deserialize must be relatively small compared to the time a socket transaction needs. The reasons I made the proposal are more "aesthetic" than functional. It is of course subjective, if something is ugly or not, and I will not argue further :-) Andreas From rogelio at smsglobal.net Mon Apr 12 02:14:29 2004 From: rogelio at smsglobal.net (Rogelio Serrano) Date: Mon Apr 12 02:14:57 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol In-Reply-To: <200404112352.08296.ankar@homodigitalis.net> Message-ID: On 2004-04-12 05:52:08 +0800 Andreas Karafyllis wrote: > On Sunday 11 April 2004 21:24, Richard Hills wrote: >> Hey, >> >>> > In the comments in the libYc is written thet the '\0' may >>> be not used >>> > in the future. I go for it. The '\0' is not needed. You >>> should depend >>> > to "member length" field find how big the string is. And >>> null >>> > terminated strings are a bad idea anyway. A very nice >>> article about >>> > this topic is the following: >>> > http://www.joelonsoftware.com/articles/fog0000000319.html >> >> As far as I understand the \0 isn't needed, but when I was >> writing that >> part of libYc it was easier at the time to just include it. >> Neither the >> server nor libYc clients rely on it. > > Ok, nice to hear this... > >> >>> 4-bytes aligend addresses. There are to reason I do not like >>> it: >>> 1) It is ugly :-) >>> 2) Most modern RISC processors do not work very happily with >> >> not-aligned >> >>> values. We should try to make serialization - >>> deserialization as fast >> >> as >> >>> possible >> >> I don't really think it's that ugly. And although we want >> deserialization to go fast, I don't think this will have a >> significant >> effect on speed. If you can point out a protocol which does >> align >> everything to the nearest 4 bytes for this reason I'd be >> interested to >> see it. >> > No, I do not have a specific protocol in mind. I would > investigate it if I > find time. Perhaps in recent protocols is taken into account. > I only know that processors like ARM need more cycles to > read/write not > aligned 32-bit values. I assume the same happens with PowerPC. > In x86 should > not make any difference I think. > I agree that the speed improvement will be small. The amount > of time to > serialize/deserialize must be relatively small compared to the > time a socket > transaction needs. The reasons I made the proposal are more > "aesthetic" than > functional. It is of course subjective, if something is ugly > or not, and I > will not argue further :-) > > Andreas > > > I think osf rpc and dce rpc does this exactly for the same reason. all my netwroking does this because if i dont a cast of the data in a buffer to an int on a big endian machine like the dragonball will cause a bus error or a segfault. From benfarrell at zoom.co.uk Mon Apr 12 12:21:40 2004 From: benfarrell at zoom.co.uk (Ben Farrell) Date: Mon Apr 12 12:33:07 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol In-Reply-To: <1081711484.27851.6.camel@localhost.localdomain> References: <200404111451.30615.ankar@homodigitalis.net> <200404111703.47412.ankar@homodigitalis.net> <1081711484.27851.6.camel@localhost.localdomain> Message-ID: <407A7BC4.5090203@zoom.co.uk> Richard Hills wrote: >Hey, > > >>>In the comments in the libYc is written thet the '\0' may be not used in >>>the future. I go for it. The '\0' is not needed. You should depend to >>>"member length" field find how big the string is. And null terminated >>>strings are a bad idea anyway. A very nice article about this topic is the >>>following: http://www.joelonsoftware.com/articles/fog0000000319.html >>> >>> > > As far as I understand the \0 isn't needed, but when I was writing that >part of libYc it was easier at the time to just include it. Neither the >server nor libYc clients rely on it. > > > >>4-bytes aligend addresses. There are to reason I do not like it: >>1) It is ugly :-) >>2) Most modern RISC processors do not work very happily with >> >> >not-aligned > > >>values. We should try to make serialization - deserialization as fast >> >> >as > > >>possible >> >> > > I don't really think it's that ugly. And although we want >deserialization to go fast, I don't think this will have a significant >effect on speed. If you can point out a protocol which does align >everything to the nearest 4 bytes for this reason I'd be interested to >see it. > >Richard Hills > > > If your reading each property in sequence then theres no not to pad out the data, since you can just handle it one byte at a time, and you don't need to worry about endianess (is that even a word ?). However, if you wanted to do something sneaky and overlay a structure onto the data to read properties out of sequence then you would need to worry about byte alignment and padding :o) Ben Farrell From ankar at homodigitalis.net Mon Apr 12 13:41:12 2004 From: ankar at homodigitalis.net (Andreas Karafyllis) Date: Mon Apr 12 13:27:03 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol In-Reply-To: References: Message-ID: <200404121441.12505.ankar@homodigitalis.net> On Monday 12 April 2004 03:14, Rogelio Serrano wrote: > On 2004-04-12 05:52:08 +0800 Andreas Karafyllis > > wrote: > > No, I do not have a specific protocol in mind. I would > > investigate it if I > > find time. Perhaps in recent protocols is taken into account. > > I only know that processors like ARM need more cycles to > > read/write not > > aligned 32-bit values. I assume the same happens with PowerPC. > > In x86 should > > not make any difference I think. > > I agree that the speed improvement will be small. The amount > > of time to > > serialize/deserialize must be relatively small compared to the > > time a socket > > transaction needs. The reasons I made the proposal are more > > "aesthetic" than > > functional. It is of course subjective, if something is ugly > > or not, and I > > will not argue further :-) > > > > Andreas > > I think osf rpc and dce rpc does this exactly for the same > reason. all my netwroking does this because if i dont a cast of > the data in a buffer to an int on a big endian machine like the > dragonball will cause a bus error or a segfault. I do not know ?exactly what osf rpc and dce rpc is. Could you send a link with some specs of these protocols? Google did not help... Thanks Andreas From ankar at homodigitalis.net Mon Apr 12 13:54:26 2004 From: ankar at homodigitalis.net (Andreas Karafyllis) Date: Mon Apr 12 13:40:14 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol In-Reply-To: <407A7BC4.5090203@zoom.co.uk> References: <200404111451.30615.ankar@homodigitalis.net> <1081711484.27851.6.camel@localhost.localdomain> <407A7BC4.5090203@zoom.co.uk> Message-ID: <200404121454.26568.ankar@homodigitalis.net> On Monday 12 April 2004 13:21, Ben Farrell wrote: > Richard Hills wrote: > >Hey, > > > >>>In the comments in the libYc is written thet the '\0' may be not used in > >>>the future. I go for it. The '\0' is not needed. You should depend to > >>>"member length" field find how big the string is. And null terminated > >>>strings are a bad idea anyway. A very nice article about this topic is > >>> the following: > >>> http://www.joelonsoftware.com/articles/fog0000000319.html > > > > As far as I understand the \0 isn't needed, but when I was writing that > >part of libYc it was easier at the time to just include it. Neither the > >server nor libYc clients rely on it. > > > >>4-bytes aligend addresses. There are to reason I do not like it: > >>1) It is ugly :-) > >>2) Most modern RISC processors do not work very happily with > > > >not-aligned > > > >>values. We should try to make serialization - deserialization as fast > > > >as > > > >>possible > > > > I don't really think it's that ugly. And although we want > >deserialization to go fast, I don't think this will have a significant > >effect on speed. If you can point out a protocol which does align > >everything to the nearest 4 bytes for this reason I'd be interested to > >see it. > > > >Richard Hills > > If your reading each property in sequence then theres no not to pad out > the data, since you can just handle it one byte at a time, and you don't > need to worry about endianess (is that even a word ?). > > However, if you wanted to do something sneaky and overlay a structure > onto the data to read properties out of sequence then you would need to > worry about byte alignment and padding :o) Exactly, but it hasn't to be something sneaky :-). With the proposed format, both soltions are possile. BTW, this "member length" neither describes the length of the whole member or the length of the member-value. What does it desribe? (Thanks Jost for pointing this out) Andreas From rogelio at smsglobal.net Mon Apr 12 15:41:39 2004 From: rogelio at smsglobal.net (Rogelio Serrano) Date: Mon Apr 12 15:42:20 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol Message-ID: <20040412144139.E87CE3966@sitemail.everyone.net> --- Andreas Karafyllis wrote: On Monday 12 April 2004 03:14, Rogelio Serrano wrote: > On 2004-04-12 05:52:08 +0800 Andreas Karafyllis > > wrote: > > No, I do not have a specific protocol in mind. I would > > investigate it if I > > find time. Perhaps in recent protocols is taken into account. > > I only know that processors like ARM need more cycles to > > read/write not > > aligned 32-bit values. I assume the same happens with PowerPC. > > In x86 should > > not make any difference I think. > > I agree that the speed improvement will be small. The amount > > of time to > > serialize/deserialize must be relatively small compared to the > > time a socket > > transaction needs. The reasons I made the proposal are more > > "aesthetic" than > > functional. It is of course subjective, if something is ugly > > or not, and I > > will not argue further :-) > > > > Andreas > > I think osf rpc and dce rpc does this exactly for the same > reason. all my netwroking does this because if i dont a cast of > the data in a buffer to an int on a big endian machine like the > dragonball will cause a bus error or a segfault. I do not know exactly what osf rpc and dce rpc is. Could you send a link with some specs of these protocols? Google did not help... Thanks Andreas Try: http://www.faqs.org/rfcs/rfc1014.html http://www.faqs.org/rfcs/rfc1050.html its a remote procedure protocol. xdr is external data representation. its a way of marshalling data. a way to send the parameters of a function call across a ntwork. a modified version of DCE RPC is what windows is using for their RPC. From ankar at homodigitalis.net Mon Apr 12 22:31:44 2004 From: ankar at homodigitalis.net (Andreas Karafyllis) Date: Mon Apr 12 22:17:23 2004 Subject: [Y-devel] Y-Protocol proposal, again :-) Message-ID: <200404122331.44704.ankar@homodigitalis.net> This is an updated, more complete, proposal for changes in the Y protocol using the XDR language. (See RFC 1014 http://www.faqs.org/rfcs/rfc1014.html for a description of XDR) It is based on the latest version of the protocol, I hope :-). It tries to be better in the following areas: 1. Clear and more complete definition independent of a programming language 2. Padding of member values so that all values are 4-byte aligned 3. Removal of superfluous fields in members Please have in mind that I first learned about the existence of XDR before some hours. In case I have some errors, please correct them and repost the message to the mailing list. Switch to fixed fonts with no wordwrap if you did not already... Thanks to Rogelio Serano for sending the RFC link of the XDR Bye Andreas Karafyllis /* Proposal for Y-Protocol */ /**********************************/ /* Constants and type definitions */ /**********************************/ enum member_type { Y_STRING = 0, Y_UINT32 = 1, Y_INT32 = 2, Y_UNDEFINED = 256} /* Currently, there is no distiction between opcodes sent from ? ?a client application to the server and vice-versa. ? ?I propose the following: ? ?All opcodes that have as destination the server are named OP_SERVER_* and ? ?are in the range 0x00000000 - 0x0000FFFF ? ?All opcodes that have as destination the client are named OP_CLENT_* and ? ?are in the range 0x00010000 - 0x7FFFFFFF */ enum opcode { ? ? OP_SERVER_SOMETHING_0 = 0x00000001, ? ? OP_SERVER_SOMETHING_1 = 0x00000002, ? ? OP_SERVER_SOMETHING_1 = 0x00000003, ? ? ... ? ? OP_CLIENT_SOMETHING_0 = 0x00010000, ? ? OP_CLIENT_SOMETHING_1 = 0x00010002, ? ? OP_CLIENT_SOMETHING_2 = 0x00010003, ? ? ... } /* The type "member" is used to represent arguments of operations */ typedef union switch (member_type mt) { ? ? case Y_STRING: ? ? ? ? string string_data<>; ? ? case Y_UINT32: ? ? ? ? unsigned int uint_data; ? ? case Y_INT32: ? ? ? ? int int_data; ? ? case Y_UNDEFINED: ? ? ? ? opaque undefined_data<>; } member; /**************************/ /* A complete Y-messsage ?*/ /**************************/ struct { ? ? unsigned int len; ? ? ? ? ?/* The complete length of the message including this field. */ ? ? unsigned int seq; ? ? ? ? ?/* sequential number */ ? ? unsigned int from; ? ? ? ? /* source */ ? ? unsigned int to; ? ? ? ? ? /* destination */ ? ? unsigned int id; ? ? ? ? ? /* client id */ ? ? unsigned int ext1; ? ? ? ? /* for future extensions.., */ ? ? union switch (opcode op) { /* opcode followed by a variable member array */ ? ? ? ? case OP_WITH_NO_ARGUMENTS ? ? ? ? ? ? /* This is equivelant with a zero */ ? ? ? ? ? ? member no_args<0>; ? ? ? ? case OP_WITH_1_ARGUMENT ? ? ? ? ? ? member op_1_member<1>; ? ? ? ? case OP_WITH_2_ARGUMENT ? ? ? ? ? ? member op_2_members<2>; ? ? ? ? case OP_WITH_VARIABLE_NUMBER_OF_ARGUMENTS: ? ? ? ? ? ? member op_n_members<> ? ? } members; } y_message; /* The above spec does not specify what kind of arguments each operation has ? ?I suggest that we will describe this information like this: ? ?OP_WITH_NO_ARGUMENTS ? ? ? ? ? ? ? ?: - ? ?OP_WITH_1_ARGUMENT ? ? ? ? ? ? ? ? ?: Y_STRING arg1 ? ?OP_WITH_2_ARGUMENTS ? ? ? ? ? ? ? ? : Y_INT32 arg1, Y_STRING arg2 ? ?OP_WITH_VARIABLE_NUMBER_OF_ARGUMENTS: Y_STRING list_of_args<> */ From griffon26 at kfk4ever.com Tue Apr 13 10:33:21 2004 From: griffon26 at kfk4ever.com (Maurice van der Pot) Date: Tue Apr 13 10:33:58 2004 Subject: [Y-devel] Y-Protocol proposal, again :-) In-Reply-To: <200404122331.44704.ankar@homodigitalis.net> References: <200404122331.44704.ankar@homodigitalis.net> Message-ID: <20040413093320.GY8511@kfk4ever.com> While we're on the subject of protocol changes, can anyone tell me why you would want text strings to identify types of events/messages instead of something like an unsigned 32-bit value? So far I have heard the argument that it would prevent recompilation of sources each time a new message type is added. Although this might be true, I don't think having to do some recompilation of only a small part of the total source and only when message types change, should be a reason to opt for something that has a negative impact on performance. Of course I know that the impact is minimal, but you don't say "let's take this thing that's slightly slower, because it is only slightly slower." Based on this, I'd say use fixed size, fast and easy to convert fields like an unsigned 32-bit integer. Just one remark about use of 32-bit values: they don't have to be human readable and you don't have to do math with it, so don't reorder them when you receive them if they don't match your architecture's endianness. It's faster and just as easy to have a macro swap the bytes in the header file during compilation. All you are allowed to do with the values is comparing equality and writing them to messages anyway. Maurice. From aedil-y-devel at alchar.org Tue Apr 13 16:23:41 2004 From: aedil-y-devel at alchar.org (Kris Van Hees) Date: Tue Apr 13 16:23:48 2004 Subject: [Y-devel] Y-Protocol proposal, again :-) In-Reply-To: <20040413093320.GY8511@kfk4ever.com>; from griffon26@kfk4ever.com on Tue, Apr 13, 2004 at 11:33:21AM +0200 References: <200404122331.44704.ankar@homodigitalis.net> <20040413093320.GY8511@kfk4ever.com> Message-ID: <20040413112341.C19633@alchar.org> The one major disadvantages to using values for events/messages is that you make the assumption that both server and client will indeed *NEVER* renumber anything. That is all fine, if you work with definition files that associate the values with meanings *AND* put the rule in place that no value will ever be reused. That usually results in a very messy file that needs a text editor search if you look for the code for a certain message because, well, you cannot depend on any order. No big deal, though. Until someone decides that cleaning up that file really should be done (but it won't be possible), or when someone feels that (either for easthetic reasons, or for actual design reasons) a block of values should be set aside for a certain module, to be used at will. Which means you will lose in the end, because assigning actual semantic meaning to arbitrary values is *BAD*. I'm not saying that going with pure values is a bad idea, but we need to have a total commitment that values will be assigned from either 0 or UINTMAX, with no gaps, and whenever a value is no longer needed, the value is *LOST*, so that it is guaranteed that values will never, ever be reused. Even if it seems a good idea, or what e.g. with a major release, clients and servers should be back in sync, and thus renumbering seems possible. Just never do it :) Kris On Tue, Apr 13, 2004 at 11:33:21AM +0200, Maurice van der Pot wrote: > While we're on the subject of protocol changes, > can anyone tell me why you would want text strings > to identify types of events/messages instead > of something like an unsigned 32-bit value? > > So far I have heard the argument that it would > prevent recompilation of sources each time a new > message type is added. Although this might be true, > I don't think having to do some recompilation of > only a small part of the total source and only > when message types change, should be a reason to > opt for something that has a negative impact on > performance. Of course I know that the impact is > minimal, but you don't say "let's take this thing > that's slightly slower, because it is only slightly > slower." > > Based on this, I'd say use fixed size, fast and easy > to convert fields like an unsigned 32-bit integer. > > Just one remark about use of 32-bit values: they don't > have to be human readable and you don't have to do > math with it, so don't reorder them when you receive > them if they don't match your architecture's endianness. > It's faster and just as easy to have a macro swap > the bytes in the header file during compilation. > All you are allowed to do with the values is comparing > equality and writing them to messages anyway. From griffon26 at kfk4ever.com Tue Apr 13 16:53:38 2004 From: griffon26 at kfk4ever.com (Maurice van der Pot) Date: Tue Apr 13 16:54:16 2004 Subject: [Y-devel] Y-Protocol proposal, again :-) In-Reply-To: <20040413112341.C19633@alchar.org> References: <200404122331.44704.ankar@homodigitalis.net> <20040413093320.GY8511@kfk4ever.com> <20040413112341.C19633@alchar.org> Message-ID: <20040413155338.GA8511@kfk4ever.com> On Tue, Apr 13, 2004 at 11:23:41AM -0400, Kris Van Hees wrote: > The one major disadvantages to using values for events/messages is that you > make the assumption that both server and client will indeed *NEVER* renumber > anything. Correct. The same holds for strings, they shouldn't change names. > That is all fine, if you work with definition files that associate > the values with meanings *AND* put the rule in place that no value will ever > be reused. That usually results in a very messy file that needs a text editor > search if you look for the code for a certain message because, well, you cannot > depend on any order. You can reshuffle the messages in that file around as much as you like as long as the value is determined by the line itself and not its position (so use #define's or use explicit values if you use an enum). > No big deal, though. Until someone decides that cleaning > up that file really should be done (but it won't be possible), Why wouldn't that be possible with explicit values? > or when someone > feels that (either for easthetic reasons, or for actual design reasons) a block > of values should be set aside for a certain module, to be used at will. Which > means you will lose in the end, because assigning actual semantic meaning to > arbitrary values is *BAD*. If you want to group messages, use group numbers in addition to message numbers. Don't force them into one value and you'll be fine. > I'm not saying that going with pure values is a bad idea, but we need to have > a total commitment that values will be assigned from either 0 or UINTMAX, with > no gaps, and whenever a value is no longer needed, the value is *LOST*, so > that it is guaranteed that values will never, ever be reused. Even if it seems > a good idea, or what e.g. with a major release, clients and servers should be > back in sync, and thus renumbering seems possible. Just never do it :) If you have 4G message values to choose from, losing some is acceptable. Maurice. From aedil-y-devel at alchar.org Tue Apr 13 17:07:45 2004 From: aedil-y-devel at alchar.org (Kris Van Hees) Date: Tue Apr 13 17:07:55 2004 Subject: [Y-devel] Y-Protocol proposal, again :-) In-Reply-To: <20040413155338.GA8511@kfk4ever.com>; from griffon26@kfk4ever.com on Tue, Apr 13, 2004 at 05:53:38PM +0200 References: <200404122331.44704.ankar@homodigitalis.net> <20040413093320.GY8511@kfk4ever.com> <20040413112341.C19633@alchar.org> <20040413155338.GA8511@kfk4ever.com> Message-ID: <20040413120745.D19633@alchar.org> I'm replying to all in one chunk, since ultimately everything boils down to the same thing (the concept - I am not implying that you are repeating yourself). The problem I have always seen happening with representing things like this with numeric values is that someone tends to come along who feels that it is 'ugly' to have non-monotonously increasing values in the file, where line L+1 should only have value V+1 if line L has value V (and recurse). I agree that with proper management, using values can work and can work well. You just need a system in place that ensures uniqueness throughout time, with care for the borderline cases, like a new last value is assigned, then removed for some reason before any new numbers are assigned, and a new value needs to be assigned. It gets tempting to reuse the value there, but again you cannot do that. The part that always fascinates me about switching from strings to values, is that the Bell Labs people (in Plan9) went the opposite way, without really much concerns for performance loss. It was a bold move, and somehow it seems to work out nicely. Kris On Tue, Apr 13, 2004 at 05:53:38PM +0200, Maurice van der Pot wrote: > On Tue, Apr 13, 2004 at 11:23:41AM -0400, Kris Van Hees wrote: > > The one major disadvantages to using values for events/messages is that you > > make the assumption that both server and client will indeed *NEVER* renumber > > anything. > > Correct. The same holds for strings, they shouldn't change names. > > > That is all fine, if you work with definition files that associate > > the values with meanings *AND* put the rule in place that no value will ever > > be reused. That usually results in a very messy file that needs a text editor > > search if you look for the code for a certain message because, well, you cannot > > depend on any order. > > You can reshuffle the messages in that file around as much as you like > as long as the value is determined by the line itself and not its > position (so use #define's or use explicit values if you use an enum). > > > No big deal, though. Until someone decides that cleaning > > up that file really should be done (but it won't be possible), > > Why wouldn't that be possible with explicit values? > > > or when someone > > feels that (either for easthetic reasons, or for actual design reasons) a block > > of values should be set aside for a certain module, to be used at will. Which > > means you will lose in the end, because assigning actual semantic meaning to > > arbitrary values is *BAD*. > > If you want to group messages, use group numbers in addition to message > numbers. Don't force them into one value and you'll be fine. > > > I'm not saying that going with pure values is a bad idea, but we need to have > > a total commitment that values will be assigned from either 0 or UINTMAX, with > > no gaps, and whenever a value is no longer needed, the value is *LOST*, so > > that it is guaranteed that values will never, ever be reused. Even if it seems > > a good idea, or what e.g. with a major release, clients and servers should be > > back in sync, and thus renumbering seems possible. Just never do it :) > > If you have 4G message values to choose from, losing some is acceptable. > > Maurice. > -- Never underestimate a Mage with: - the Intelligence to cast Magic Missile, - the Constitution to survive the first hit, and - the Dexterity to run fast enough to avoid being hit a second time. From asuffield at debian.org Wed Apr 14 09:01:38 2004 From: asuffield at debian.org (Andrew Suffield) Date: Wed Apr 14 09:01:42 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol In-Reply-To: <200404111451.30615.ankar@homodigitalis.net> References: <200404111451.30615.ankar@homodigitalis.net> Message-ID: <20040414080137.GA3308@suffields.me.uk> On Sun, Apr 11, 2004 at 02:51:30PM +0200, Andreas Karafyllis wrote: > If am currently implementing Eiffel-bindings for Y and I noticed thet the way > string are serialized as message-members can be improved. > > Currently (I am talking about the latest version after patch 33), a string is > serialized as following: > 00 - 03: Member length without this field > 04 - 07: Type information (0 for strings) > 08 - XX: The string including the 0 character. This is simply wrong. There are no terminators in wire strings. You just sent a string that has a \0 as the last character. > With or without the null character there is still a small problem. The next > field could start in an address which is not 4-byte aligned. If the next > member is for example an integer, all its field wills be stored in no 4-bytes > aligend addresses. There are to reason I do not like it: > 1) It is ugly :-) > 2) Most modern RISC processors do not work very happily with not-aligned > values. We should try to make serialization - deserialization as fast as > possible And this is insane. The protocol would change depending on hardware architecture, and it's pointless anyway, since none of the code in Y or libYc++ has alignment issues. -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | `. `' | `- -><- | -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://www.y-windows.org/pipermail/y-devel/attachments/20040414/3f7cb9b8/attachment-0001.bin From ankar at homodigitalis.net Wed Apr 14 18:42:03 2004 From: ankar at homodigitalis.net (Andreas Karafyllis) Date: Wed Apr 14 18:27:14 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol In-Reply-To: <20040414080137.GA3308@suffields.me.uk> References: <200404111451.30615.ankar@homodigitalis.net> <20040414080137.GA3308@suffields.me.uk> Message-ID: <200404141942.03280.ankar@homodigitalis.net> On Wednesday 14 April 2004 10:01, Andrew Suffield wrote: > On Sun, Apr 11, 2004 at 02:51:30PM +0200, Andreas Karafyllis wrote: > > If am currently implementing Eiffel-bindings for Y and I noticed thet the > > way string are serialized as message-members can be improved. > > > > Currently (I am talking about the latest version after patch 33), a > > string is serialized as following: > > 00 - 03: Member length without this field > > 04 - 07: Type information (0 for strings) > > 08 - XX: The string including the 0 character. > > This is simply wrong. There are no terminators in wire strings. You > just sent a string that has a \0 as the last character. I did not know this when I wrote the email and some things are hard to guess if they are not documented. This is already kindly explained from Richard Hills in a previous email. > > > With or without the null character there is still a small problem. The > > next field could start in an address which is not 4-byte aligned. If the > > next member is for example an integer, all its field wills be stored in > > no 4-bytes aligend addresses. There are to reason I do not like it: > > 1) It is ugly :-) > > 2) Most modern RISC processors do not work very happily with not-aligned > > values. We should try to make serialization - deserialization as fast as > > possible > > And this is insane. The protocol would change depending on hardware > architecture, and it's pointless anyway, since none of the code in Y > or libYc++ has alignment issues. I cannot follow you here. Firstly, alignment does not make the protocol hardware depedent. Secondly, I know that there are no alignement issues in the current implementation. The whole idea was that they could be considered in the future. Finally, I hope you don't mean the word "insane" seriously. Even if the whole thing is bad or wrong, this is not the right way to say it. Andreas From asuffield at debian.org Wed Apr 14 21:36:19 2004 From: asuffield at debian.org (Andrew Suffield) Date: Wed Apr 14 21:36:24 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol In-Reply-To: <200404141942.03280.ankar@homodigitalis.net> References: <200404111451.30615.ankar@homodigitalis.net> <20040414080137.GA3308@suffields.me.uk> <200404141942.03280.ankar@homodigitalis.net> Message-ID: <20040414203619.GA9200@suffields.me.uk> On Wed, Apr 14, 2004 at 07:42:03PM +0200, Andreas Karafyllis wrote: > > > With or without the null character there is still a small problem. The > > > next field could start in an address which is not 4-byte aligned. If the > > > next member is for example an integer, all its field wills be stored in > > > no 4-bytes aligend addresses. There are to reason I do not like it: > > > 1) It is ugly :-) > > > 2) Most modern RISC processors do not work very happily with not-aligned > > > values. We should try to make serialization - deserialization as fast as > > > possible > > > > And this is insane. The protocol would change depending on hardware > > architecture, and it's pointless anyway, since none of the code in Y > > or libYc++ has alignment issues. > I cannot follow you here. Firstly, alignment does not make the protocol hardware depedent. What are you smoking? Alignment is as hardware-dependent as endianness. Your suggestion is approximately equivalent to "Let's always send host-endianness integers over the wire to avoid swabbing on each end" (including the part about breaking cross-platform compatibility). > Secondly, I know that there are no alignement issues in the current implementation. > The whole idea was that they could be considered in the future. "Let's break the protocol on platforms without 4-byte memory alignment to work around the possibility of code being written by morons in the future"? That's not a very compelling argument. You have to be really stupid to write socket code with alignment issues. > Finally, I hope you don't mean the word "insane" seriously. Of course I do, it's an insane idea. -- .''`. ** Debian GNU/Linux ** | Andrew Suffield : :' : http://www.debian.org/ | `. `' | `- -><- | -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://www.y-windows.org/pipermail/y-devel/attachments/20040414/f928fef0/attachment.bin From ankar at homodigitalis.net Wed Apr 14 23:00:26 2004 From: ankar at homodigitalis.net (Andreas Karafyllis) Date: Wed Apr 14 22:45:41 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol In-Reply-To: <20040414203619.GA9200@suffields.me.uk> References: <200404111451.30615.ankar@homodigitalis.net> <200404141942.03280.ankar@homodigitalis.net> <20040414203619.GA9200@suffields.me.uk> Message-ID: <200404150000.26430.ankar@homodigitalis.net> On Wednesday 14 April 2004 22:36, Andrew Suffield wrote: > What are you smoking? Alignment is as hardware-dependent as > endianness. Your suggestion is approximately equivalent to "Let's > always send host-endianness integers over the wire to avoid swabbing > on each end" (including the part about breaking cross-platform > compatibility). > > > Secondly, I know that there are no alignement issues in the current > > implementation. The whole idea was that they could be considered in the > > future. > > "Let's break the protocol on platforms without 4-byte memory alignment > to work around the possibility of code being written by morons in the > future"? That's not a very compelling argument. You have to be really > stupid to write socket code with alignment issues. Well, the only think you managed with your answers, is to conveince me that to work in a project where you also have some role, does not worth the effort. If this was your target, congratulations! And do not worry about me, I can spend much better my time. A, and a friendly advice: check your dictionary to see what "dignity" means. I can help you: It is something that you will never have. I wish Mark Thomas and the rest good luck. I am sorry, but I stop the development of the Eiffel library. Bye Andreas From jeff2619 at uidaho.edu Wed Apr 14 23:12:39 2004 From: jeff2619 at uidaho.edu (Keith Jeffery) Date: Wed Apr 14 23:00:55 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol In-Reply-To: <200404150000.26430.ankar@homodigitalis.net> References: <200404111451.30615.ankar@homodigitalis.net> <200404141942.03280.ankar@homodigitalis.net> <20040414203619.GA9200@suffields.me.uk> <200404150000.26430.ankar@homodigitalis.net> Message-ID: <407DB757.5090305@uidaho.edu> Andreas Karafyllis wrote: >On Wednesday 14 April 2004 22:36, Andrew Suffield wrote: > > >>What are you smoking? Alignment is as hardware-dependent as >>endianness. Your suggestion is approximately equivalent to "Let's >>always send host-endianness integers over the wire to avoid swabbing >>on each end" (including the part about breaking cross-platform >>compatibility). >> >> >> >>>Secondly, I know that there are no alignement issues in the current >>>implementation. The whole idea was that they could be considered in the >>>future. >>> >>> >>"Let's break the protocol on platforms without 4-byte memory alignment >>to work around the possibility of code being written by morons in the >>future"? That's not a very compelling argument. You have to be really >>stupid to write socket code with alignment issues. >> >> >Well, the only think you managed with your answers, is to conveince me that to work in a project where you also have some role, does not worth the effort. >If this was your target, congratulations! And do not worry about me, I can spend much better my time. >A, and a friendly advice: check your dictionary to see what "dignity" means. >I can help you: It is something that you will never have. > >I wish Mark Thomas and the rest good luck. >I am sorry, but I stop the development of the Eiffel library. > >Bye > >Andreas > > > > > I don't blame you Andreas. Sometimes Andrew Suffield can seem like a mostly intelligent guy, but he shouldn't be allowed to speak to people. He was a big turn-off for me on this project as well, even though I'm still on the list. From brandon at tryplec.com Wed Apr 14 23:35:14 2004 From: brandon at tryplec.com (Brandon Black) Date: Wed Apr 14 23:35:59 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol In-Reply-To: <407DB757.5090305@uidaho.edu> References: <200404111451.30615.ankar@homodigitalis.net> <200404141942.03280.ankar@homodigitalis.net> <20040414203619.GA9200@suffields.me.uk> <200404150000.26430.ankar@homodigitalis.net> <407DB757.5090305@uidaho.edu> Message-ID: <407DBCA2.1040609@tryplec.com> Keith Jeffery wrote: > Andreas Karafyllis wrote: > >> On Wednesday 14 April 2004 22:36, Andrew Suffield wrote: >> >> >>> What are you smoking? Alignment is as hardware-dependent as >>> endianness. Your suggestion is approximately equivalent to "Let's >>> always send host-endianness integers over the wire to avoid swabbing >>> on each end" (including the part about breaking cross-platform >>> compatibility). >>> >>> >>> >>>> Secondly, I know that there are no alignement issues in the current >>>> implementation. The whole idea was that they could be considered in >>>> the >>>> future. >>>> >>> >>> "Let's break the protocol on platforms without 4-byte memory alignment >>> to work around the possibility of code being written by morons in the >>> future"? That's not a very compelling argument. You have to be really >>> stupid to write socket code with alignment issues. >>> >> >> Well, the only think you managed with your answers, is to conveince >> me that to work in a project where you also have some role, does not >> worth the effort. >> If this was your target, congratulations! And do not worry about me, >> I can spend much better my time. >> A, and a friendly advice: check your dictionary to see what "dignity" >> means. >> I can help you: It is something that you will never have. >> >> I wish Mark Thomas and the rest good luck. >> I am sorry, but I stop the development of the Eiffel library. >> >> Bye >> >> Andreas >> >> >> >> >> > I don't blame you Andreas. Sometimes Andrew Suffield can seem like a > mostly intelligent guy, but he shouldn't be allowed to speak to > people. He was a big turn-off for me on this project as well, even > though I'm still on the list. Well, I don't personally know Andrew Suffield, but my judgement on him from the postings I've seen from him here and elsewhere in the past are that he is a very intelligent guy, and an asset to any project on a technical level. He meets a fairly high standard in my book of "getting it". Obviously, he completely lacks people skills at times, and says things the wrong way. I do that myself all the time (which is why I'm only grudgingly tolerated at my day job). Nobody's perfect, and not everyone is good at dealing with other people in a nice way. :) From jonathan.harper at softhome.net Wed Apr 14 23:38:36 2004 From: jonathan.harper at softhome.net (Jonathan Harper) Date: Thu Apr 15 00:37:38 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol In-Reply-To: <407DBCA2.1040609@tryplec.com> References: <200404111451.30615.ankar@homodigitalis.net> <407DB757.5090305@uidaho.edu> <407DBCA2.1040609@tryplec.com> Message-ID: <200404141838.36230.jonathan.harper@softhome.net> On Wednesday 14 April 2004 06:35 pm, Brandon Black wrote: > Keith Jeffery wrote: > > Andreas Karafyllis wrote: > >> On Wednesday 14 April 2004 22:36, Andrew Suffield wrote: > [snip] > > Well, I don't personally know Andrew Suffield, but my judgement on him > from the postings I've seen from him here and elsewhere in the past are > that he is a very intelligent guy, and an asset to any project on a > technical level. He meets a fairly high standard in my book of "getting > it". Obviously, he completely lacks people skills at times, and says > things the wrong way. I do that myself all the time (which is why I'm > only grudgingly tolerated at my day job). Nobody's perfect, and not > everyone is good at dealing with other people in a nice way. :) Well, it seems that we've had our first mini-flame war and lost a good person because of it. I hope you the best, Andreas. Andrew, on the other hand, does seem to "get it" and will likely be a great asset; however, that said, either we need to remind ourselves to let his attitude roll of our backs or, preferably, urge him to join our postings using the same language as the rest of us. This English plus ad hominem critiquing can take its toll on the mailing list, and is sad to think the mis-spoken good intentions of one could cause that. --------- Jonathan Harper jonathan.harper@softhome.net From richard.hills at balliol.ox.ac.uk Thu Apr 15 00:13:48 2004 From: richard.hills at balliol.ox.ac.uk (Richard Hills) Date: Thu Apr 15 01:09:00 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol In-Reply-To: <200404150000.26430.ankar@homodigitalis.net> References: <200404111451.30615.ankar@homodigitalis.net> <200404141942.03280.ankar@homodigitalis.net> <20040414203619.GA9200@suffields.me.uk> <200404150000.26430.ankar@homodigitalis.net> Message-ID: <1081984427.27859.51.camel@localhost.localdomain> Hey Andreas, > > "Let's break the protocol on platforms without 4-byte memory alignment > > to work around the possibility of code being written by morons in the > > future"? That's not a very compelling argument. You have to be really > > stupid to write socket code with alignment issues. > Well, the only think you managed with your answers, is to conveince me that to work in a project where you also have some role, does not worth the effort. > If this was your target, congratulations! And do not worry about me, I can spend much better my time. > A, and a friendly advice: check your dictionary to see what "dignity" means. > I can help you: It is something that you will never have. > > I wish Mark Thomas and the rest good luck. > I am sorry, but I stop the development of the Eiffel library. Ah, now, please don't let one person put you off helping with Y. If Suffield uses deliberately emotive language to provoke others ("insane" and "broken" in odd contexts), simply ignore him. If he lacks people skills then that is entirely *his* problem. Please don't also make it yours. The reason he has an important role is because he is quite good at programming and has lots of free time to devote to Y, which we are grateful for - not because of his ability to settle disputes or promote discussion. Regardless, your contribution will be valued by other people, so please reconsider your decision. I've found working on Y a real pleasure, and I hope you do too. Richard Hills From jpd at dsb.tudelft.nl Thu Apr 15 13:18:25 2004 From: jpd at dsb.tudelft.nl (JP Dinger) Date: Thu Apr 15 13:18:33 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol In-Reply-To: <407DBCA2.1040609@tryplec.com> References: <200404111451.30615.ankar@homodigitalis.net> <200404141942.03280.ankar@homodigitalis.net> <20040414203619.GA9200@suffields.me.uk> <200404150000.26430.ankar@homodigitalis.net> <407DB757.5090305@uidaho.edu> <407DBCA2.1040609@tryplec.com> Message-ID: <20040415121825.GA42207@dsb.tudelft.nl> On Wed, Apr 14, 2004 at 05:35:14PM -0500, Brandon Black wrote: > > Well, I don't personally know Andrew Suffield, but my judgement on him > from the postings I've seen from him here and elsewhere in the past are > that he is a very intelligent guy, and an asset to any project on a > technical level. He meets a fairly high standard in my book of "getting > it". IMAO ``getting it'' also includes being able to explain why something is or is not a good idea. Just calling whatever somebody else says names without a good reason is Not Good Enough. Not explaining is Right Out. > Obviously, he completely lacks people skills at times, and says > things the wrong way. That was obvious (to me at least) right from the start. Now that we all know it, it would be very nice if andrew would pick up the hint and refrain from commenting if he can't think of at least a reasonable way to say it. People leaving because other people are loud potty mouths is completely unnecessairy. I'm not saying I'm supporting the ``if you can't say anything nice, don't say anything at all''; mainly because that is usually abused by the clueless. I do mean, basic politeness on a technical level does include not throwing mud when not strictly necessairy, and discussing on a list means also explaining why you think something is not a good idea. Of that I've been missing a lot, lately. It would be nice if we all could improve there. > I do that myself all the time (which is why I'm > only grudgingly tolerated at my day job). Nobody's perfect, and not > everyone is good at dealing with other people in a nice way. :) We're all human, which means we make errors, but which also is supposed to mean we learn from them. This seems like an excellent opportunity. So. For a final and direct note: Andrew, please pick up the fscking hint and don't fscking chase people away for no fscking good reason. This was unnecessairy. It would be nice if you could apologize for the wording, in email if you must. I haven't really followed the thread on protocol altough I was planning to look into that RSN, but from what I've read it wasn't clear why the idea was bad enough to be called insane. Please do explain. -- j p d (at) d s b (dot) t u d e l f t (dot) n l . From durin at sbcglobal.net Thu Apr 15 01:54:52 2004 From: durin at sbcglobal.net (Augie Fackler) Date: Thu Apr 15 14:47:34 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol (Modified by Augie Fackler) Message-ID: <6B95B9F8-8EE3-11D8-ACCF-000D93676FC4@sbcglobal.net> Stupid me can't use my mailer....didn't get this to the list on the first try. > > "Let's break the protocol on platforms without 4-byte memory alignment > to work around the possibility of code being written by morons in the > future"? That's not a very compelling argument. You have to be really > stupid to write socket code with alignment issues. Pardon my potential ignorance here, but *how* does this break the protocol on platforms w/o 4-byte alignment versus having no alignment at all? Perhaps I don't fully understand what you mean by alignment... >> Finally, I hope you don't mean the word "insane" seriously. > > Of course I do, it's an insane idea. Can you people please keep the temp. below 50C? Thanks. AF --- main(){char ch[7];ch[1]=(ch[4]=((ch[3]=(ch[2]=103)^14)^12))^16; ch[5]=(ch[6]=(ch[0]=(ch[1]>>1)+7)&42)+10;printf(ch);} From tim at flamingpenguin.co.uk Thu Apr 15 16:43:26 2004 From: tim at flamingpenguin.co.uk (Tim Wood) Date: Thu Apr 15 16:44:02 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol (Modified by Augie Fackler) In-Reply-To: <6B95B9F8-8EE3-11D8-ACCF-000D93676FC4@sbcglobal.net> References: <6B95B9F8-8EE3-11D8-ACCF-000D93676FC4@sbcglobal.net> Message-ID: <407EAD9E.8050704@flamingpenguin.co.uk> Hi, Augie Fackler wrote: >> >> "Let's break the protocol on platforms without 4-byte memory alignment >> to work around the possibility of code being written by morons in the >> future"? That's not a very compelling argument. You have to be really >> stupid to write socket code with alignment issues. > > Pardon my potential ignorance here, but *how* does this break the > protocol on platforms w/o 4-byte alignment versus having no alignment at > all? Perhaps I don't fully understand what you mean by alignment... Seems to me, the main point is that not all platforms align on 4byte boundarys. Some processors have different alignment requirements, for instance, 64bit address pointers on an AMD-64 should be aligned on an 8byte boundary (only example I can think of right now). I expect more examples could be found, especially in the case of 64bit processors. Alignments should really be left to the compiler, as far as possible - that way they will automatically be correct on all platforms, /after/ the data is unpacked from the message. Considering alignment in the messages would introduce a hardware dependency (i.e. non-4-byte-aligned processors would get mis-aligned data, and have to behave differently than 4-byte-aligned processors). However the same is true for endianess, one of the two types will have to fix the endianess - the other won't. Of course it doesn't /break/ the protocol, since non-4-byte-aligned platforms could just work around it, presumably at some degraded performance - they would have had to do that with the un-aligned protocol anyway. But it seems to me, that it doesn't buy that much either - and might lead to people writing code which doesn't fix the alignment (or incorrectly "fixes" the alignment) when compiled on an unexpected processor (i.e less portable code). Perhaps it is better to keep it simple? I don't think its equivalent to sending in host endianess, since no one suggested sending host alignment. But some fixed guess at the most probable alignment - the same from all hosts. Still, how good is the guess - especially if you take the long view of the protocol (what will alignment be like in 10 years time?). However, some protocols do pad, for instance I think IP headers are padded to end on a 4-byte boundary, and none of its fields cross a 4-byte boundary (except options). It also provides a mechanism to align option fields on 4-byte boundaries (the no-op option 00000001). But alignment of options seems to be optional ;-). *shrugs* /goes back to lurking Tim From jswensen at intergate.com Thu Apr 15 19:37:55 2004 From: jswensen at intergate.com (jswensen@intergate.com) Date: Thu Apr 15 19:37:59 2004 Subject: [Y-devel] Is doxygen documentation wanted? Message-ID: <1082054275.407ed68315b7d@webmail.intergate.com> A few days ago, Sebastian Faubel mentioned the need for API documentation via a tool like doxygen. Is this the tool of choice for everyone? If the current major implementations of the libY are for C, C++, and C#(mono), I would recommend using doxygen. If someone who has the power to declare doxygen (or some other tool) as the project standard from here on out, I will begin to work on it right away. I would do it in the following order: C++ C C# whatever other language with its associated self-doc tool I know from my past experience that APIs documented with these types of tools are my APIs of choice (e.g. Java API and the .NET API). They are easy to read, easy to search, and easier to navigate. So whoever (individual or group) has the power to make a decision like that, please respond and let me know if this is acceptable and if I have the go-ahead. I also agree that the weekly or bi-weekly IRC meeting is a good idea. I have dabbled with Blender the past couple of months and I learn more at their Sunday morning (UAS-MST) meetings that digging through code for an entire week. John And usually my first post to a list is a simple hello :) ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From jonathan.harper at softhome.net Fri Apr 16 01:12:40 2004 From: jonathan.harper at softhome.net (Jonathan Harper) Date: Fri Apr 16 02:11:28 2004 Subject: [Y-devel] Is doxygen documentation wanted? In-Reply-To: <1082054275.407ed68315b7d@webmail.intergate.com> References: <1082054275.407ed68315b7d@webmail.intergate.com> Message-ID: <200404152012.40235.jonathan.harper@softhome.net> On Thursday 15 April 2004 02:37 pm, jswensen@intergate.com wrote: > A few days ago, Sebastian Faubel mentioned the need for API documentation > via a tool like doxygen. Is this the tool of choice for everyone? If the > current major implementations of the libY are for C, C++, and C#(mono), I > would recommend using doxygen. If someone who has the power to declare > doxygen (or some other tool) as the project standard from here on out, I > will begin to work on it right away. I would do it in the following order: > C++ > C > C# > whatever other language with its associated self-doc tool I believe someone has already made a ylibC++ doxygen documentation, but I don't have the link handy and don't know if it's still current. > So whoever (individual or group) has the power to make a decision like > that, please respond and let me know if this is acceptable and if I have > the go-ahead. We're pretty free-wheeling here right now. Do what you please, throw it in the mix and we'll be grateful for the help. =) --------- Jonathan Harper jonathan(dot)harper(at)softhome(dot)net From rogelio at smsglobal.net Fri Apr 16 01:20:02 2004 From: rogelio at smsglobal.net (Rogelio Serrano) Date: Fri Apr 16 08:20:08 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol (Modified by Augie Fackler) In-Reply-To: <407EAD9E.8050704@flamingpenguin.co.uk> Message-ID: <420ce07ea89e87d6165ab16a8e081ee7@debian> On 2004-04-15 23:43:26 +0800 Tim Wood wrote: > > Seems to me, the main point is that not all platforms align on > 4byte > boundarys. Some processors have different alignment > requirements, for > instance, 64bit address pointers on an AMD-64 should be > aligned on an 8byte > boundary (only example I can think of right now). I expect > more examples > could be found, especially in the case of 64bit processors. > That will not be a problem we dont need to send pointers anyway. Just 4 byte integers. And all processors i know of dont have a problem with 4 byte alignment. From mtenhagen at quicknet.nl Fri Apr 16 14:49:39 2004 From: mtenhagen at quicknet.nl (Michiel ten Hagen) Date: Fri Apr 16 12:50:18 2004 Subject: [Y-devel] Is doxygen documentation wanted? In-Reply-To: <1082054275.407ed68315b7d@webmail.intergate.com> References: <1082054275.407ed68315b7d@webmail.intergate.com> Message-ID: <200404161349.39385.mtenhagen@quicknet.nl> On Thursday 15 April 2004 18:37, jswensen@intergate.com wrote: > A few days ago, Sebastian Faubel mentioned the need for API documentation > via a tool like doxygen. Is this the tool of choice for everyone? If the > current major implementations of the libY are for C, C++, and C#(mono), I > would recommend using doxygen. If someone who has the power to declare > doxygen (or some other tool) as the project standard from here on out, I > will begin to work on it right away. I would do it in the following order: > C++ > C > C# > whatever other language with its associated self-doc tool > > I know from my past experience that APIs documented with these types of > tools are my APIs of choice (e.g. Java API and the .NET API). They are > easy to read, easy to search, and easier to navigate. > > So whoever (individual or group) has the power to make a decision like > that, please respond and let me know if this is acceptable and if I have > the go-ahead. Mark Thomas already requested someone to volunteer for this. So go ahead. Doxygen seems the way to go. From casey at cwinans.com Fri Apr 16 15:18:23 2004 From: casey at cwinans.com (Casey Winans) Date: Fri Apr 16 15:30:13 2004 Subject: [Y-devel] libYsharp: a C# binding Message-ID: <1082125103.6248.79.camel@localhost> I began developing a C# binding right about the time that libYc was announced. I had made some progress using the original c lib and then ported to the new libYc. I then heard Ulrik Mikaelsson was creating a C# binding. I contacted him to get a peak at the code. He chose not to use libYc, insteading going with the native approach. It was more interesting to both of us and lets us create our own API instead of just wrapping the c functions. I offered to help in his effort instead of carrying on with mine. We've made a lot of progress and the API is almost fully documented now and will be released soon (hopefully when 0.3 is released or sooner if it takes too long). We will release our code at: https://sourceforge.net/projects/ywin-extralib/. -- Casey Winans From casey at cwinans.com Fri Apr 16 15:19:03 2004 From: casey at cwinans.com (Casey Winans) Date: Fri Apr 16 15:31:38 2004 Subject: [Y-devel] Widget set progress In-Reply-To: <1081514309.6524.36.camel@localhost> References: <1081514309.6524.36.camel@localhost> Message-ID: <1082125143.6248.82.camel@localhost> > Is there a more complete list of proposed Widgets with methods and > properties outlined somewhere than the vague outline shown on > www.y-windows.org? > > Is there going to be a design doc published? If so, will it be edittable > on the Wiki? > > I've heard in the past that the widget set was going to use the idea > that everything is a container. Can anyone clarify this? I haven't received much response to my inquery so I'm going to follow-up on it now. I've looked over the ToDo list posted on the Wiki. I'm looking for more than that; I want to know what properties, events and methods will be added to the existing Widgets as well as what new Widgets to expect to be included in 0.3. I'd like to recommend the following be added at a bear minimum: Widget ================================================ Events: FocusRequested, MouseEntered, MouseExitted, MouseMoved, MousePressed (all passing the x,y coordinates [relative to the Widget not the Desktop] as well as the button state) Properties: Enabled (boolean), Focussed (boolean), Parent (Widget), Visible (boolean) Methods: RequestFocus Window ================================================ Events: requestClose changed to closeRequested (for consistency ... use past tense like 'clicked' in the Button and CheckBox widgets) Properties: Child (Widget), FocussedWidget (Widget), Location (uint x,uint y), WindowState (enum -- Normal,Minimized,Maximized,etc) Methods: Close (just calls destroy internally), Hide * replace SetChild method with Child property (returning 0 for the object Id if none) ** replace SetFocussedWidget method with FocussedWidget property (returning 0 for the object Id if none) I'm definitely looking forward to comments. I think the Widget API discussion is long overdue so if you have any annoyances with the current API please speak up now rather later. -- Casey Winans From mtenhagen at quicknet.nl Fri Apr 16 19:09:57 2004 From: mtenhagen at quicknet.nl (mtenhagen@quicknet.nl) Date: Fri Apr 16 19:10:49 2004 Subject: [Y-devel] Widget set progress Message-ID: <33c6a34177.3417733c6a@quicknet.nl> We should use doxygen to create xml documentation of the widgets. We could then design/plan changes in a new set of xml documents. Then it would be easy to compare the current arch version to the planned functionality. Maybe we shouldnt do this for the widgets only but for the entire arch tree. If there will be several widgetsets in the future this might be different. > > Is there a more complete list of proposed Widgets with methods and > > properties outlined somewhere than the vague outline shown on > > www.y-windows.org? > > > > Is there going to be a design doc published? If so, will it be > edittable> on the Wiki? > > > > I've heard in the past that the widget set was going to use the idea > > that everything is a container. Can anyone clarify this? > > I haven't received much response to my inquery so I'm going to > follow-up > on it now. > > I've looked over the ToDo list posted on the Wiki. I'm looking for > morethan that; I want to know what properties, events and methods > will be > added to the existing Widgets as well as what new Widgets to > expect to > be included in 0.3. > > I'd like to recommend the following be added at a bear minimum: > > Widget > ================================================ > Events: FocusRequested, MouseEntered, MouseExitted, MouseMoved, > MousePressed (all passing the x,y coordinates [relative to the Widget > not the Desktop] as well as the button state) > Properties: Enabled (boolean), Focussed (boolean), Parent (Widget), > Visible (boolean) > Methods: RequestFocus > > > Window > ================================================ > Events: requestClose changed to closeRequested (for consistency > ... use > past tense like 'clicked' in the Button and CheckBox widgets) > Properties: Child (Widget), FocussedWidget (Widget), Location (uint > x,uint y), WindowState (enum -- Normal,Minimized,Maximized,etc) > Methods: Close (just calls destroy internally), Hide > > * replace SetChild method with Child property (returning 0 for the > object Id if none) > ** replace SetFocussedWidget method with FocussedWidget property > (returning 0 for the object Id if none) > > > I'm definitely looking forward to comments. I think the Widget API > discussion is long overdue so if you have any annoyances with the > current API please speak up now rather later. > > -- > Casey Winans > > > From t_w_ at freenet.de Fri Apr 16 07:20:25 2004 From: t_w_ at freenet.de (Thorsten Wilms) Date: Fri Apr 16 19:19:03 2004 Subject: [Y-devel] Widget set progress In-Reply-To: <1082125143.6248.82.camel@localhost> References: <1081514309.6524.36.camel@localhost> <1082125143.6248.82.camel@localhost> Message-ID: <20040416062025.GA5750@charly> On Fri, Apr 16, 2004 at 10:19:03AM -0400, Casey Winans wrote: > Widget > ================================================ > Events: FocusRequested, MouseEntered, MouseExitted, MouseMoved, > MousePressed (all passing the x,y coordinates [relative to the Widget > not the Desktop] as well as the button state) > Properties: Enabled (boolean), Focussed (boolean), Parent (Widget), > Visible (boolean) > Methods: RequestFocus Well, shouldn't there be a little more abstraction? The mouse is not the only pointing device ... However, (Mouse)Pressed is not enough, there should be (Mouse)Down and Up. Then you usualy have three mouse buttons, but it might be nice for left handed people to switch roles of R and L button, so it might be better to deal with them in terms of 'roles'. Standard modifier keys could be defined for simulating the missing buttons on those mice (click with modifier key directly translated to the 'role'). Maybe support an arbitrary number of buttons on pointing devices. And don't forget the mouse wheel. --- Thorsten Wilms From mark at y-windows.org Sat Apr 17 09:49:47 2004 From: mark at y-windows.org (Mark Thomas) Date: Sat Apr 17 09:49:53 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol (Modified by Augie Fackler) In-Reply-To: <407EAD9E.8050704@flamingpenguin.co.uk> References: <6B95B9F8-8EE3-11D8-ACCF-000D93676FC4@sbcglobal.net> <407EAD9E.8050704@flamingpenguin.co.uk> Message-ID: On Thu, 15 Apr 2004, Tim Wood wrote: > Of course it doesn't /break/ the protocol, since non-4-byte-aligned > platforms could just work around it, presumably at some degraded > performance - they would have had to do that with the un-aligned > protocol anyway. But it seems to me, that it doesn't buy that much > either - and might lead to people writing code which doesn't fix the > alignment (or incorrectly "fixes" the alignment) when compiled on an > unexpected processor (i.e less portable code). Perhaps it is better to > keep it simple? This really is the key: *simple* code is (more frequently) *correct* code. Several of the optimisations given recently are in non-critical sections of the code (decoding the message, for example, will take a tiny fraction of the time it takes to perform the action the message requested). There is no significant advantage to using the optimisation. However, they do make the code more complicated and thus more error prone and harder to maintain. "Premature optimisation is the root of all evil" -- D. Knuth. Regards, Mark. -- || Mark Thomas || efaref.net || || "I'm so cool you can store meat in me." - Zaphod From mark at y-windows.org Sat Apr 17 09:53:06 2004 From: mark at y-windows.org (Mark Thomas) Date: Sat Apr 17 09:53:13 2004 Subject: [Y-devel] Is doxygen documentation wanted? In-Reply-To: <1082054275.407ed68315b7d@webmail.intergate.com> References: <1082054275.407ed68315b7d@webmail.intergate.com> Message-ID: On Thu, 15 Apr 2004 jswensen@intergate.com wrote: > A few days ago, Sebastian Faubel mentioned the need for API documentation via a > tool like doxygen. Is this the tool of choice for everyone? If the current > major implementations of the libY are for C, C++, and C#(mono), I would > recommend using doxygen. If someone who has the power to declare doxygen (or > some other tool) as the project standard from here on out, I will begin to work > on it right away. Ooh.. power :) Doxygen looks good to me. > I also agree that the weekly or bi-weekly IRC meeting is a good idea. I have > dabbled with Blender the past couple of months and I learn more at their Sunday > morning (UAS-MST) meetings that digging through code for an entire week. Unfortunately, I don't have a stable enough time-table to agree to a regular session. If you do organise one, I'll drop by whenever I can (try and make it a sane time in GMT, please). Regards, Mark. -- || Mark Thomas || efaref.net || || Professor: one who talks in someone else's sleep. From jpd at dsb.tudelft.nl Sat Apr 17 13:43:14 2004 From: jpd at dsb.tudelft.nl (JP Dinger) Date: Sat Apr 17 13:43:22 2004 Subject: [Y-devel] Widget set progress In-Reply-To: <20040416062025.GA5750@charly> References: <1081514309.6524.36.camel@localhost> <1082125143.6248.82.camel@localhost> <20040416062025.GA5750@charly> Message-ID: <20040417124314.GB48368@dsb.tudelft.nl> [I'm seriously contemplating moving the `L' to the `r', now] On Fri, Apr 16, 2004 at 08:20:25AM +0200, Thorsten Wilms wrote: > > Well, shouldn't there be a little more abstraction? The mouse > is not the only pointing device ... And then, there are mice with a looking glass, and with twenty buttons, and... (At least there used to be) Oh and what about spaceballs? Maybe a joystick isn't too far out for moving around the mouse cursor? How does one intergrate a tablet? > However, (Mouse)Pressed is not enough, there should be (Mouse)Down > and Up. Then you usualy have three mouse buttons, but it might > be nice for left handed people to switch roles of R and L button, > so it might be better to deal with them in terms of 'roles'. While I think rolification is basically a good idea, what (standard) roles do we have for mouse buttons? We have standard _functions_, as well as even more non-standard functions, but no fixed role ``per click''. FreeBSDs moused (and net- and openbsds too, I think, and the linux equivalent probably as well) allows one to swap mouse button numbers. That is much more of a hack but probably easier both to implement and to explain to users. Then again, Y is the perfect vehicle to experiment with this, so don't let my comments get in the way of that. > Standard modifier keys could be defined for simulating the missing > buttons on those mice (click with modifier key directly translated > to the 'role'). > Maybe support an arbitrary number of buttons on pointing devices. > And don't forget the mouse wheel. Or a mouse-mini-joystick instead of the wheel, and an extra wheel on the side, and... Most of these are short-lived fads, but since they all have something or other in common, abstraction seems indeed the way to go. -- j p d (at) d s b (dot) t u d e l f t (dot) n l . From t_w_ at freenet.de Fri Apr 16 18:23:08 2004 From: t_w_ at freenet.de (Thorsten Wilms) Date: Sat Apr 17 14:24:18 2004 Subject: [Y-devel] Widget set progress In-Reply-To: <20040417124314.GB48368@dsb.tudelft.nl> References: <1081514309.6524.36.camel@localhost> <1082125143.6248.82.camel@localhost> <20040416062025.GA5750@charly> <20040417124314.GB48368@dsb.tudelft.nl> Message-ID: <20040416172308.GC7550@charly> On Sat, Apr 17, 2004 at 02:43:14PM +0200, JP Dinger wrote: > > Oh and what about spaceballs? Maybe a joystick isn't too far out for > moving around the mouse cursor? How does one intergrate a tablet? Well, taking any and all possible pointing devices into account will be too hard, I think. But the most common options besides mice have to be considered. For the tablett the only extra that has to be dealt with is pressure. > While I think rolification is basically a good idea, what (standard) > roles do we have for mouse buttons? We have standard _functions_, > as well as even more non-standard functions, but no fixed role ``per > click''. FreeBSDs moused (and net- and openbsds too, I think, and > the linux equivalent probably as well) allows one to swap mouse > button numbers. That is much more of a hack but probably easier both > to implement and to explain to users. Well, I think that role-names for the 3 common mouse buttons would underline consistency. It are just names, but handling a MouseLeftClick event that realy is from a right button because of remapping on another level ... Even just numbering (primary, secondary, tertiary) would be more elegant. > > Standard modifier keys could be defined for simulating the missing > > buttons on those mice (click with modifier key directly translated > > to the 'role'). > > Maybe support an arbitrary number of buttons on pointing devices. > > And don't forget the mouse wheel. > > Or a mouse-mini-joystick instead of the wheel, and an extra wheel on > the side, and... > > Most of these are short-lived fads, but since they all have something > or other in common, abstraction seems indeed the way to go. Yes, best is to concentrate on what is common between pointing devices. But at least mousewheels, maybe the Microsoft 2 direction thingy and for sure pressure (tabletts) should be dealt with right from start. --- Thorsten Wilms From spiralman at softhome.net Sat Apr 17 15:00:46 2004 From: spiralman at softhome.net (Thomas) Date: Sat Apr 17 15:04:55 2004 Subject: [Y-devel] Widget set progress In-Reply-To: <20040416172308.GC7550@charly> References: <1081514309.6524.36.camel@localhost> <20040417124314.GB48368@dsb.tudelft.nl> <20040416172308.GC7550@charly> Message-ID: <200404171000.46728.spiralman@softhome.net> On Friday 16 April 2004 01:23, Thorsten Wilms wrote: > Well, taking any and all possible pointing devices into account > will be too hard, I think. > But the most common options besides mice have to be considered. > For the tablett the only extra that has to be dealt with is > pressure. > Not true at all. In addition to pressure, newer tablets will also provide information such as the "tilt" of the pen (ie, the angle between the pen and the tablet, in the x and y dimensions). the pen on my intuos has 6 axes. plus, different parts of the pen correspond to different devices. for example, there is a "pen" part and an "eraser" part, so i could select one tool in the gimp with the pen part, and select another tool with the eraser part, when i flip the pen around to use the eraser, the gimp automatically switches to the eraser's tool. Linux is making a lot of progress in the computer graphics field, and ruling out anything that is too far from a mouse would certainly hinder Y's adoption when the time comes. Also, adding a common joystick interface would make it easier to write cross platform Y programs which need a joystick. Thomas Stephens spiralman@softhome.net From james at grickle.org Sat Apr 17 16:53:51 2004 From: james at grickle.org (James Harr) Date: Sat Apr 17 16:53:58 2004 Subject: [Y-devel] Y tutorials Message-ID: <200404171053.51071.james@grickle.org> Hi everyone, When I proposed a section in wiki with tutorials, Ga?l Deest said he and a friend were planning a separate website. I contacted him and asked him about it, but I haven't heard back. I was planning on going ahead and starting an outline for tutorials in wiki, unless anyone has objections to doing this in wiki or objections to me doing it :) It would basically be a simple book we'd work on that would start from the basics. Maybe title it "Programming Y" or something... If no one argues within a day or so I'll go ahead and start a section on wiki dedicated to that. -- James Harr PS - This is what part of the alphabet would look like if Q and R were eliminated. From aedil-y-devel at alchar.org Sat Apr 17 16:54:15 2004 From: aedil-y-devel at alchar.org (Kris Van Hees) Date: Sat Apr 17 16:54:23 2004 Subject: [Y-devel] Widget set progress In-Reply-To: <200404171000.46728.spiralman@softhome.net>; from spiralman@softhome.net on Sat, Apr 17, 2004 at 10:00:46AM -0400 References: <1081514309.6524.36.camel@localhost> <20040417124314.GB48368@dsb.tudelft.nl> <20040416172308.GC7550@charly> <200404171000.46728.spiralman@softhome.net> Message-ID: <20040417115415.F425@alchar.org> I know I am kind of jumping in the midst of this discussion, but can we simply provide a way to retrieve how many buttons and axes there are? Then the client (or library) code can simply request those it wants based on what pointing device is known to be in use. It is needed anyway, because in order to do what you describe below with Gimp, the client application needs to be know that you are using a pointing device that has the capability to do that. So it needs to get that information from the Y windows server somehow. In that sense, you might as well implement some form of 'configuration request' that tells you e.g. how many pointing devices there are, and then you can request the config of each pointing device, which could return things like name, number of buttons, number of axes (and whatever else is needed to identify it as something specific). The application then requests data about the state of the pointing device where needed. Pressure is obviously an axis value, whereas buttons truly are a real switch value (up or down). Does that make sense? A value is either discrete or not, so switches and axes ought to cover it all. Specific 'device modules' can deal with the interpretation of it all. Kris On Sat, Apr 17, 2004 at 10:00:46AM -0400, Thomas wrote: > On Friday 16 April 2004 01:23, Thorsten Wilms wrote: > > > Well, taking any and all possible pointing devices into account > > will be too hard, I think. > > But the most common options besides mice have to be considered. > > For the tablett the only extra that has to be dealt with is > > pressure. > > > > Not true at all. In addition to pressure, newer tablets will also provide > information such as the "tilt" of the pen (ie, the angle between the pen and > the tablet, in the x and y dimensions). the pen on my intuos has 6 axes. > > plus, different parts of the pen correspond to different devices. for > example, there is a "pen" part and an "eraser" part, so i could select one > tool in the gimp with the pen part, and select another tool with the eraser > part, when i flip the pen around to use the eraser, the gimp automatically > switches to the eraser's tool. > > Linux is making a lot of progress in the computer graphics field, and ruling > out anything that is too far from a mouse would certainly hinder Y's adoption > when the time comes. > > Also, adding a common joystick interface would make it easier to write cross > platform Y programs which need a joystick. > > Thomas Stephens > spiralman@softhome.net > -- Never underestimate a Mage with: - the Intelligence to cast Magic Missile, - the Constitution to survive the first hit, and - the Dexterity to run fast enough to avoid being hit a second time. From t_w_ at freenet.de Fri Apr 16 21:21:02 2004 From: t_w_ at freenet.de (Thorsten Wilms) Date: Sat Apr 17 17:22:12 2004 Subject: [Y-devel] Widget set progress In-Reply-To: <200404171000.46728.spiralman@softhome.net> References: <1081514309.6524.36.camel@localhost> <20040417124314.GB48368@dsb.tudelft.nl> <20040416172308.GC7550@charly> <200404171000.46728.spiralman@softhome.net> Message-ID: <20040416202102.GA6535@charly> On Sat, Apr 17, 2004 at 10:00:46AM -0400, Thomas wrote: > On Friday 16 April 2004 01:23, Thorsten Wilms wrote: > > But the most common options besides mice have to be considered. > > For the tablett the only extra that has to be dealt with is > > pressure. > > > > Not true at all. In addition to pressure, newer tablets will also provide > information such as the "tilt" of the pen (ie, the angle between the pen and > the tablet, in the x and y dimensions). the pen on my intuos has 6 axes. Oops, I'm sorry. Good that there are people on this list that know what they're talking about :-) > plus, different parts of the pen correspond to different devices. for > example, there is a "pen" part and an "eraser" part, so i could select one > tool in the gimp with the pen part, and select another tool with the eraser > part, when i flip the pen around to use the eraser, the gimp automatically > switches to the eraser's tool. > Linux is making a lot of progress in the computer graphics field, and ruling > out anything that is too far from a mouse would certainly hinder Y's adoption > when the time comes. Year, that was part of what I was talking about. Anybody around here who can give some input about 3d controlers? Trying to generalize: Pointing devices can have: - n (at least 1) buttons (up/down) - pressure for some or all buttons (the tip of a pen would have to be considered a button) - options, like with the pen that can be turned around. Not restricted to 2 states. There might be a need for an OptionChanged Event, if something needs to watch an option. - 2 main axes, but any number additional axes (a controler could come with an extra trackball or joystick or whatever, so I don't see an upper limit) Tabletts can come with several pens, each one tied to a certain tool (or tools for using both ends) -> (Pointing) Device IDs Then there's velocity, not only for the main axes. Basicaly ther should be a mapping system for every input all attached devices provide. And a minimal set of things to map 2 (basic mouse usage), as well additinal sets for common 2d, 3d and audio setups. 'Things to map to' leading to what kind of events should be send to apps/widgets. Would it help to think of pressure as axis, with 0 meaning button not pressed at all? It should be possible to do things like attaching 2 mice to the pc. Use one as pointing device, use the other to control some values (many possibilites in multimedia use). Maybe the same system could be used to deal with stuff like midi-controlers/ fader boxes (being no pointing devices, but having buttons and channels(=axes)). --- Thorsten Wilms From mark at y-windows.org Sat Apr 17 18:08:11 2004 From: mark at y-windows.org (Mark Thomas) Date: Sat Apr 17 18:08:13 2004 Subject: [Y-devel] Widget set progress In-Reply-To: <20040417115415.F425@alchar.org> References: <1081514309.6524.36.camel@localhost> <20040417124314.GB48368@dsb.tudelft.nl> <20040416172308.GC7550@charly> <200404171000.46728.spiralman@softhome.net> <20040417115415.F425@alchar.org> Message-ID: I was thinking of two interfaces to pointer-type objects: 1) The Simple Pointer Interface This is provided by a set of methods in the Widget class that subclasses can override to handle particular event types, i.e.: widgetPointerButtonDown (..., buttonId) widgetPointerButtonUp (..., buttonId) widgetPointerClick (..., buttonId) widgetPointerMotion (..., int32_t x, int32_t y) And provide some global features for probing the current pointer status: pointerGetPosition (...) pointerGetButtonState (buttonId) Here the button IDs are logical buttons, i.e. 0 corresponds to the primary pointer button (left on my mouse, maybe another button for other people). This would handle 95% of applications' needs. 2) The Detailed Input Device Interface This would be a way of probing and getting notification for a series of input devices, one that talks in terms of button and axes. We might want to look to how linux handles generic pointer devices to see what we should and shouldn't do. Applications that specifically want information like pressure and tilt can look through this interface. To tie these together, input drivers should actually generate only detailed input device events, and some part of the Y server should monitor these events and generate the corresponding simple events. This part of the server would need to be configurable (and would presumably be the place to provide things like button ID and axis remapping). Regards, Mark. -- || Mark Thomas || efaref.net || || "I'm so cool you can store meat in me." - Zaphod From aedil-y-devel at alchar.org Sat Apr 17 18:13:30 2004 From: aedil-y-devel at alchar.org (Kris Van Hees) Date: Sat Apr 17 18:13:35 2004 Subject: [Y-devel] Widget set progress In-Reply-To: <20040416202102.GA6535@charly>; from t_w_@freenet.de on Fri, Apr 16, 2004 at 10:21:02PM +0200 References: <1081514309.6524.36.camel@localhost> <20040417124314.GB48368@dsb.tudelft.nl> <20040416172308.GC7550@charly> <200404171000.46728.spiralman@softhome.net> <20040416202102.GA6535@charly> Message-ID: <20040417131330.G425@alchar.org> I agree we need to generalize, but perhaps not too far (yet). If we implement something that is easily extensible, we ought to be safe. Say you build an exchange (using my previous message to this list as base): - Client requests which input devices exist - Server responds with pair list (id, type) where type defines things like keyboard, pointing device, ... - Client requests configuration for each input device (by id) - Server responds for a given input device what the configuration is (device type specific), using a mechanism similar to the following high level example: 1. Number of characteristics 2. For each characteristic: 2.a Id 2.b Type of characteristic (switch, axis, ...) 2.c Size of type specific data (can be 0) 2.d Type specific data (if any) The general idea is that you can always define new device types along the way, and define type specific data where needed. Right now this could implement nothing more than 2 and 3 button mice, and it would be very easy to add mice with a mouse wheel later, and so on... It doesn't lock us in to a specific set of input elements for a device. If an application doesn't know how to do deal with a certain device type yet, still no problem. It just won't be able to use it. If you want to abstract the characteristics more in a way where you do not have to deal with new ones being added (which I'd actually prefer), you can just stick to discrete and continuous (along with a range), since everything will fall in one of those two categories. In that case 2.b can only have two values. Kris On Fri, Apr 16, 2004 at 10:21:02PM +0200, Thorsten Wilms wrote: << Skipping down to the relevant portion. >> > Trying to generalize: > Pointing devices can have: > - n (at least 1) buttons (up/down) > - pressure for some or all buttons (the tip of a pen would have to be considered > a button) > - options, like with the pen that can be turned around. Not restricted to 2 states. > There might be a need for an OptionChanged Event, if something needs to watch an > option. > - 2 main axes, but any number additional axes (a controler could come with an extra > trackball or joystick or whatever, so I don't see an upper limit) > > Tabletts can come with several pens, each one tied to a certain tool (or tools > for using both ends) -> (Pointing) Device IDs > > Then there's velocity, not only for the main axes. > Basicaly ther should be a mapping system for every input all attached devices > provide. And a minimal set of things to map 2 (basic mouse usage), as well > additinal sets for common 2d, 3d and audio setups. 'Things to map to' leading > to what kind of events should be send to apps/widgets. > > Would it help to think of pressure as axis, with 0 meaning button not pressed at > all? > > It should be possible to do things like attaching 2 mice to the pc. Use one > as pointing device, use the other to control some values (many possibilites > in multimedia use). > > Maybe the same system could be used to deal with stuff like midi-controlers/ > fader boxes (being no pointing devices, but having buttons and channels(=axes)). From jswensen at intergate.com Sat Apr 17 19:21:36 2004 From: jswensen at intergate.com (jswensen@intergate.com) Date: Sat Apr 17 19:21:52 2004 Subject: [Y-devel] Widget set progress Message-ID: <1082226096.408175b0ce440@webmail.intergate.com> This would be a great use of polymorphism. Any type of manipulator should have a base class that contains some basic info (as suggested in another post) about the number of axes, buttons, and other manipulators. A reference to the manipulator should be included in the event parameters. Then the reference to the device itself can provide the developer with the capabilities and button mapping. Usually when there are a lot of additional buttons and features(like detecting the angle of the pen on a tablet or the pressure on the tablet) they are handled in an application specific manner with standard mapping provided by the manufacturer or driver developer. The real key is to identify those that are not application specific and make them part of the base class. It is easy enough at a later time to move items from the derived class into the base class, if an when they appear to be more standard than initially thought. I think that this thread has identified a lot of the more standard ones, and those that are not. This is how it is done in C# with DirectX 9 and joysticks. They require you to derive from the base joystick class and then allow you to create properties to access the buttons and axes with different names, or you can continue to use them by the names Button1 through Button1kadjillion. Some hardware vendors (like Logitech) ship the class already derived with names for their buttons like TopLeft, LeftPad, RightStick, etc. This won't work directly for non-OO languages like C, but it can be done easy enough using some sort of device enumeration rather than derived classes. As an aside, I always thought it would be cool to have multiple pointer devices. Especially when running dual or triple displays. Maybe this is already possible in X, but lets make it possible in Y. John Quoting Thorsten Wilms : > On Sat, Apr 17, 2004 at 02:43:14PM +0200, JP Dinger wrote: > > > > Oh and what about spaceballs? Maybe a joystick isn't too far out for > > moving around the mouse cursor? How does one intergrate a tablet? > > Well, taking any and all possible pointing devices into account > will be too hard, I think. > But the most common options besides mice have to be considered. > For the tablett the only extra that has to be dealt with is > pressure. > > > While I think rolification is basically a good idea, what (standard) > > roles do we have for mouse buttons? We have standard _functions_, > > as well as even more non-standard functions, but no fixed role ``per > > click''. FreeBSDs moused (and net- and openbsds too, I think, and > > the linux equivalent probably as well) allows one to swap mouse > > button numbers. That is much more of a hack but probably easier both > > to implement and to explain to users. > > Well, I think that role-names for the 3 common mouse buttons > would underline consistency. It are just names, but handling a > MouseLeftClick event that realy is from a right button because > of remapping on another level ... > Even just numbering (primary, secondary, tertiary) would be > more elegant. > > > > Standard modifier keys could be defined for simulating the missing > > > buttons on those mice (click with modifier key directly translated > > > to the 'role'). > > > Maybe support an arbitrary number of buttons on pointing devices. > > > And don't forget the mouse wheel. > > > > Or a mouse-mini-joystick instead of the wheel, and an extra wheel on > > the side, and... > > > > Most of these are short-lived fads, but since they all have something > > or other in common, abstraction seems indeed the way to go. > > Yes, best is to concentrate on what is common between pointing devices. > But at least mousewheels, maybe the Microsoft 2 direction thingy and for > sure pressure (tabletts) should be dealt with right from start. > > > --- > Thorsten Wilms > > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From jonathan.harper at softhome.net Sat Apr 17 19:39:43 2004 From: jonathan.harper at softhome.net (Jonathan Harper) Date: Sat Apr 17 20:38:36 2004 Subject: [Y-devel] Project Roll Call Message-ID: <200404171439.13344.jonathan.harper@softhome.net> I'm setting up a little less confusing web page than the Wiki for Those Interested In Developing with a list of links to various projects, resources, et cetera. To complete the page, though, I need a link to the external add-on projects that others are doing (notably language bindings). If you're secretly working on something that you don't see at http://ywindows.white-walls.net, please let me know so I can add you in. Many thanks. --------- Jonathan Harper jonathan(dot)harper(at)softhome(dot)net From durin at sbcglobal.net Sat Apr 17 21:21:31 2004 From: durin at sbcglobal.net (Augie Fackler) Date: Sat Apr 17 21:21:33 2004 Subject: [Y-devel] Project Roll Call In-Reply-To: <200404171439.13344.jonathan.harper@softhome.net> References: <200404171439.13344.jonathan.harper@softhome.net> Message-ID: I am secretly working on FreeBSD support. I am not actually getting much done right now though, as my schoolwork has to take priority over hacking for fun. On Apr 17, 2004, at 1:39 PM, Jonathan Harper wrote: > I'm setting up a little less confusing web page than the Wiki for Those > Interested In Developing with a list of links to various projects, > resources, > et cetera. To complete the page, though, I need a link to the external > add-on > projects that others are doing (notably language bindings). If you're > secretly working on something that you don't see at > http://ywindows.white-walls.net, please let me know so I can add you > in. > > Many thanks. > > --------- > Jonathan Harper > jonathan(dot)harper(at)softhome(dot)net > > AF --- main(){char ch[7];ch[1]=(ch[4]=((ch[3]=(ch[2]=103)^14)^12))^16; ch[5]=(ch[6]=(ch[0]=(ch[1]>>1)+7)&42)+10;printf(ch);} From jonathan.harper at softhome.net Sat Apr 17 21:44:09 2004 From: jonathan.harper at softhome.net (Jonathan Harper) Date: Sat Apr 17 22:42:39 2004 Subject: [Y-devel] Project Roll Call In-Reply-To: References: <200404171439.13344.jonathan.harper@softhome.net> Message-ID: <200404171644.09756.jonathan.harper@softhome.net> I am primarily looking for web sites to link to, although I hope things work out well with Y on FreeBSD. =) On Saturday 17 April 2004 04:21 pm, you wrote: > I am secretly working on FreeBSD support. I am not actually getting > much done right now though, as my schoolwork has to take priority over > hacking for fun. > > On Apr 17, 2004, at 1:39 PM, Jonathan Harper wrote: > > I'm setting up a little less confusing web page than the Wiki for Those > > Interested In Developing with a list of links to various projects, > > resources, > > et cetera. To complete the page, though, I need a link to the external > > add-on > > projects that others are doing (notably language bindings). If you're > > secretly working on something that you don't see at > > http://ywindows.white-walls.net, please let me know so I can add you > > in. > > > > Many thanks. > > > > --------- > > Jonathan Harper > > jonathan(dot)harper(at)softhome(dot)net > > AF > --- > main(){char ch[7];ch[1]=(ch[4]=((ch[3]=(ch[2]=103)^14)^12))^16; > ch[5]=(ch[6]=(ch[0]=(ch[1]>>1)+7)&42)+10;printf(ch);} -- --------- Jonathan Harper jonathan(dot)harper(at)softhome(dot)net From rogelio at smsglobal.net Sat Apr 17 19:45:31 2004 From: rogelio at smsglobal.net (Rogelio Serrano) Date: Sun Apr 18 02:45:45 2004 Subject: [Y-devel] Project Roll Call In-Reply-To: <200404171439.13344.jonathan.harper@softhome.net> Message-ID: <77e90d954c838a57efa41148e6b652d8@debian> On 2004-04-18 02:39:43 +0800 Jonathan Harper wrote: > I'm setting up a little less confusing web page than the Wiki > for Those > Interested In Developing with a list of links to various > projects, resources, > et cetera. To complete the page, though, I need a link to the > external add-on > projects that others are doing (notably language bindings). If > you're > secretly working on something that you don't see at > http://ywindows.white-walls.net, please let me know so I can > add you in. > > Many thanks. > > --------- > Jonathan Harper > jonathan(dot)harper(at)softhome(dot)net > > Im porting Y to a new linux distro. X can not work on it and it soes not have c++. From rogelio at smsglobal.net Sat Apr 17 19:52:20 2004 From: rogelio at smsglobal.net (Rogelio Serrano) Date: Sun Apr 18 02:52:30 2004 Subject: [Y-devel] Project Roll Call In-Reply-To: <77e90d954c838a57efa41148e6b652d8@debian> Message-ID: On 2004-04-18 02:45:31 +0800 Rogelio Serrano wrote: > On 2004-04-18 02:39:43 +0800 Jonathan Harper > > wrote: > >> I'm setting up a little less confusing web page than the Wiki >> for Those >> Interested In Developing with a list of links to various >> projects, >> resources, et cetera. To complete the page, though, I need a >> link to the >> external add-on projects that others are doing (notably >> language bindings). >> If you're secretly working on something that you don't see at >> http://ywindows.white-walls.net, please let me know so I can >> add you in. >> >> Many thanks. >> >> --------- >> Jonathan Harper >> jonathan(dot)harper(at)softhome(dot)net >> >> > > Im porting Y to a new linux distro. X can not work on it and > it soes not have > c++. > It only has objective-c. > > From sseses02 at hotmail.com Sun Apr 18 08:16:16 2004 From: sseses02 at hotmail.com (Matthew Elder) Date: Sun Apr 18 08:16:24 2004 Subject: [Y-devel] Widget set progress References: <1081514309.6524.36.camel@localhost><20040417124314.GB48368@dsb.tudelft.nl><20040416172308.GC7550@charly><200404171000.46728.spiralman@softhome.net> <20040416202102.GA6535@charly> Message-ID: I think the best approach for different devices in y-windows would be to go for the modular approach. Theres no way of knowing what type of input devices will be developed in the future. We don't want to stifle that type of development by making a "cookie cutter" of what an input device has to be. We could have a module for mouse input devices, keyboards etc.. and maybe perhaps we can develop some sort of gui config menu that you can use to "map" different functions to the buttons on your device. I think this is the most flexible solution. For instance with the example of touchpads, the module created for it could provide for the different input parameters the device has. i.e. axis u,v,w,x,y etc etc. and you could map each one of these to a general "window function." It would also be cool to provide an api for client applications to access the extended functions of a device you would not use for most "desktop browsing." For instance when your manipulating a typical desktop, perhaps only the x and y access parameters of the touchpad would be used, and then the pressure of it would be used for clicking. these would be fully configurable, you could map them differently if you want. If you were using gimp, there would be an extended api to access the devices under the general umbrella of "touchpads" (which would be developed, respectively by the creator of the module). The gimp would be able to implement event handling for the other input received from the touchpad.. Just my two cents, sorry if it not clear :) -Matt Elder (hifidelity on irc) From GUtopiste at free.fr Sun Apr 18 13:59:41 2004 From: GUtopiste at free.fr (=?ISO-8859-1?Q?Ga=EBl_Deest?=) Date: Sun Apr 18 12:54:12 2004 Subject: [Y-devel] Y tutorials In-Reply-To: <200404171053.51071.james@grickle.org> References: <200404171053.51071.james@grickle.org> Message-ID: <40827BBD.7060501@free.fr> James Harr wrote: >Hi everyone, > >When I proposed a section in wiki with tutorials, Ga?l Deest said he and a >friend were planning a separate website. I contacted him and asked him about >it, but I haven't heard back. > >I was planning on going ahead and starting an outline for tutorials in wiki, >unless anyone has objections to doing this in wiki or objections to me doing >it :) > >It would basically be a simple book we'd work on that would start from the >basics. Maybe title it "Programming Y" or something... > >If no one argues within a day or so I'll go ahead and start a section on wiki >dedicated to that. > > > Ok, as Jeremy told you in a private mail, we had some problems in compiling Y on his computer and couldn't get them fixed. I didn't have the time to answer your mail before going, but I am now back home now. I apologize for the delay. An outline on the wiki would be nice, for other people interested in developing tutorials, but I really think the documentation should be put on a separate, clean website. Even in its early-state. Of course, feel free to do whatever you think is good ;-) I'm starting heavily working on these tutorials right *now* From nico-linux-y at schottelius.org Mon Apr 19 22:04:27 2004 From: nico-linux-y at schottelius.org (Nico Schottelius) Date: Mon Apr 19 22:02:49 2004 Subject: [Y-devel] Y tutorials In-Reply-To: <40827BBD.7060501@free.fr> References: <200404171053.51071.james@grickle.org> <40827BBD.7060501@free.fr> Message-ID: <20040419210427.GD229@schottelius.org> Ga?l Deest [Sun, Apr 18, 2004 at 01:59:41PM +0100]: > [documentation / tutorial writing] > I'm starting heavily working on these tutorials right *now* What do you think of dividing the work (for instance into sections), so you two can work together on it? Nico -- Keep it simple & stupid, use what's available. pgp: 8D0E E27A | Nico Schottelius http://nerd-hosting.net | http://linux.schottelius.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.y-windows.org/pipermail/y-devel/attachments/20040419/86beb691/attachment.bin From nico-linux-y at schottelius.org Mon Apr 19 22:05:59 2004 From: nico-linux-y at schottelius.org (Nico Schottelius) Date: Mon Apr 19 22:04:26 2004 Subject: [Y-devel] Is doxygen documentation wanted? In-Reply-To: References: <1082054275.407ed68315b7d@webmail.intergate.com> Message-ID: <20040419210559.GI229@schottelius.org> Mark Thomas [Sat, Apr 17, 2004 at 09:53:06AM +0100]: > On Thu, 15 Apr 2004 jswensen@intergate.com wrote: > > [doxygen stripped] > > I also agree that the weekly or bi-weekly IRC meeting is a good idea. I have > > dabbled with Blender the past couple of months and I learn more at their Sunday > > morning (UAS-MST) meetings that digging through code for an entire week. > > Unfortunately, I don't have a stable enough time-table to agree to a > regular session. If you do organise one, I'll drop by whenever I can (try > and make it a sane time in GMT, please). I would really like to have this regular meeting in irc. Please choose a time at the weekend most people can participate in: WEST(like west of usa)= morning GMT=evening/afternoon EAST(like russia/japan)=late evening Sorry, got no timezone description here, but I think you understood what I mean. Nico -- Keep it simple & stupid, use what's available. pgp: 8D0E E27A | Nico Schottelius http://nerd-hosting.net | http://linux.schottelius.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.y-windows.org/pipermail/y-devel/attachments/20040419/97499f17/attachment.bin From pitrp at wg78.de Mon Apr 19 23:32:36 2004 From: pitrp at wg78.de (Peter Prohaska) Date: Mon Apr 19 23:34:54 2004 Subject: [Y-devel] Proposal for a minor change in the Y-protocol Message-ID: <20040419223236.GB17911@wg78.homeunix.net> On Thu, Apr 15, 2004 at 12:13:48AM +0100, Richard Hills wrote: > Hey Andreas, > > > > "Let's break the protocol on platforms without 4-byte memory alignment > > > to work around the possibility of code being written by morons in the > > > future"? That's not a very compelling argument. You have to be really > > > stupid to write socket code with alignment issues. > > Well, the only think you managed with your answers, is to conveince me that to work in a project where you also have some role, does not worth the effort. > > If this was your target, congratulations! And do not worry about me, I can spend much better my time. > > A, and a friendly advice: check your dictionary to see what "dignity" means. > > I can help you: It is something that you will never have. > > > > I wish Mark Thomas and the rest good luck. > > I am sorry, but I stop the development of the Eiffel library. > > Ah, now, please don't let one person put you off helping with Y. If > Suffield uses deliberately emotive language to provoke others ("insane" > and "broken" in odd contexts), simply ignore him. If he lacks people > skills then that is entirely *his* problem. Please don't also make it > yours. The reason he has an important role is because he is quite good > at programming and has lots of free time to devote to Y, which we are > grateful for - not because of his ability to settle disputes or promote > discussion. Well, i do not agree in that it is *his* problem. By design of Y, the protocol is one of the very central aspects and if discussion about that always is ended in rude words and ends without proper explanations for the brief of route or people have to wait for some announcement without getting informed about what to expect, then it is not a problem you can narrow down to a single person. Of course, i think it is unfair to judge people just by their words but i also believe that open source development is essentially about communication. So if you try to keep a set of developpers working together, you have to take that into account or it should better not matter. Actually, though i am still following what is going on, i stopped development because it feels like praying for reasonable response and waiting for someonoe to give you a hint if your work will be worth anything in a few days or not. I was interrested in a lot of the lower lever details but it seems that those are controlled by a voiceless entity that i do not know. So fiddling around with that is like tracking what some magic miystery does. That breaks down to reacting instead of inproving and that is daunting. regards, peter. From GUtopiste at free.fr Tue Apr 20 03:07:24 2004 From: GUtopiste at free.fr (=?ISO-8859-1?Q?Ga=EBl_Deest?=) Date: Tue Apr 20 02:01:20 2004 Subject: [Y-devel] Y tutorials In-Reply-To: <20040419210427.GD229@schottelius.org> References: <200404171053.51071.james@grickle.org> <40827BBD.7060501@free.fr> <20040419210427.GD229@schottelius.org> Message-ID: <408485DC.3020202@free.fr> Nico Schottelius wrote: >Ga?l Deest [Sun, Apr 18, 2004 at 01:59:41PM +0100]: > > >>[documentation / tutorial writing] >>I'm starting heavily working on these tutorials right *now* >> >> > >What do you think of dividing the work (for instance into sections), >so you two can work together on it? > >Nico > > > Ok, here is just a beginning of my work : http://gutopiste.free.fr/tuto/ The tutorial is written in DocBook, which should make translations in other formats easy ;-) I will give the source soon, probably tomorrow. There is nothing really relevant yet ; I wanted to write an introduction of GridLayout tonight but people had the bad idea to make my phone ring. Sad. I know my english isn't perfect, so any comment regarding to the syntax and/or grammar of my text is more than welcome. I just hope I didn't make too many technical errors. This tutorial is *work-in-progress* (and even "just-started" work). Many things need to be clarified, and much more are still to be written. As it is in a more advanced state, it will be transferred on another server. This one is a the free hosting of my ISP. Dividing the work would be a good thing. I would think of several tutorials working closely together. For example, the beginning of this document could have a link to a "Installing Y" tutorial, and to a more user-friendly explanation of the project. This tutorial will probably also take advantage of the doxygen documentation, to give readers access to a complete reference all along their "study". Y aims to be consistant ; I think its documentation should be too :-) From John.M.Olsson at ericsson.com Tue Apr 20 09:11:16 2004 From: John.M.Olsson at ericsson.com (John Olsson) Date: Tue Apr 20 09:11:33 2004 Subject: [Y-devel] Is doxygen documentation wanted? In-Reply-To: <20040419210559.GI229@schottelius.org> References: <1082054275.407ed68315b7d@webmail.intergate.com> <20040419210559.GI229@schottelius.org> Message-ID: <4084DB24.6070002@ericsson.com> > I would really like to have this regular meeting in irc. Please choose a > time at the weekend most people can participate in: > > WEST(like west of usa)= morning > GMT=evening/afternoon > EAST(like russia/japan)=late evening Time zones are funny. :) In 1970 ITU (International Telecommunucation Union) defined a concept called Coordinated Universal Time. However there were lots of political stuff involved. There were arguments about how this concept should be abbreviated, CUT (Coordinated Universal Time) or TUC (Temps Universel Coordonn?). The final agreement was UTC which then is defined to be the abbreviation for "Coordinated Universal Time" and "Temps Universel Coordonn?". :) You can read more about this here http://en.wikipedia.org/wiki/UTC UTC is not adjusted for summer/winter time. GMT is almost the same thing as UTC (no leap seconds if I remember correctly since GMT is based on earths rotation around its own axis.) A time zone is often given as an offset to GMT or UTC, like GMT-8 hours and there is a convention of giving different time zones a three letter acronym like PST, GMT or CST. However the same three letter acronym can be used to designate several different timezones at the same time. For instance EST (Eastern Standard Time) is both defined to be GMT-5 hours in North America, but it is also defined as GMT+10 hours in Australia... The time zone PST (Pacific Standard Time) is defined as GMT-8 hours. But this time zone (PST) is not adjusted for summer time and thus you have PDT (Pacific Daylight Time) which is defined as GMT-7 hours. There also exists "half hour" time zones, like CST (Central Standard Time) in Australia which is defined as GMT+10:30 hours. Some countries like Japan (GMT+9 hours) does not use summer time at all. http://www.timeanddate.com/library/abbreviations/timezones/ lists some common time zones and their definitions. /John From james at grickle.org Wed Apr 21 19:31:47 2004 From: james at grickle.org (James Harr) Date: Wed Apr 21 19:31:57 2004 Subject: [Y-devel] Y tutorials In-Reply-To: <408485DC.3020202@free.fr> References: <200404171053.51071.james@grickle.org> <20040419210427.GD229@schottelius.org> <408485DC.3020202@free.fr> Message-ID: <200404211331.48045.james@grickle.org> I don't have a lot of time on my hands right now, but over the summer I'd be happy to help. I could help setup a revision control thing (I'm personally a fan of subversion over arch). I could also set it up to write html for it every night or something. I could host the subversion archive. That or I could try to learn arch. From what I know about these two tools is that subversion is best for where you have people working on one source, and arch is best for projects that need to be highly distributed and have multiple branches (each person has their own branches). I think for the documentation, we won't need several versions floating around since it is documentation... When you release the sources I'll go through and setup some sort of structure for the book, if you would like to discuss this on IRC or some IM service, just let me know where/when :) Thanks, James Harr On Mon April 19 2004 9:07 pm, Ga?l Deest wrote: > Nico Schottelius wrote: > >Ga?l Deest [Sun, Apr 18, 2004 at 01:59:41PM +0100]: > >>[documentation / tutorial writing] > >>I'm starting heavily working on these tutorials right *now* > > > >What do you think of dividing the work (for instance into sections), > >so you two can work together on it? > > > >Nico > > Ok, here is just a beginning of my work : > http://gutopiste.free.fr/tuto/ > > The tutorial is written in DocBook, which should make translations in > other formats easy ;-) I will give the source soon, probably tomorrow. > > There is nothing really relevant yet ; I wanted to write an introduction > of GridLayout tonight but people had the bad idea to make my phone ring. > Sad. > > I know my english isn't perfect, so any comment regarding to the syntax > and/or grammar of my text is more than welcome. I just hope I didn't > make too many technical errors. > This tutorial is *work-in-progress* (and even "just-started" work). Many > things need to be clarified, and much more are still to be written. As > it is in a more advanced state, it will be transferred on another > server. This one is a the free hosting of my ISP. > > Dividing the work would be a good thing. I would think of several > tutorials working closely together. For example, the beginning of this > document could have a link to a "Installing Y" tutorial, and to a more > user-friendly explanation of the project. This tutorial will probably > also take advantage of the doxygen documentation, to give readers access > to a complete reference all along their "study". Y aims to be consistant > ; I think its documentation should be too :-) -- -- James Harr PS - This is what part of the alphabet would look like if Q and R were eliminated. From fret at memecode.com Fri Apr 23 03:42:21 2004 From: fret at memecode.com (Matthew Allen) Date: Fri Apr 23 03:42:56 2004 Subject: [Y-devel] How do I... Message-ID: <20040423024221.22B5E568F@ivory.research.canon.com.au> ...close my top level Y::Window without quiting the application? Currently I catch the close request event with: Y::Window *w = ...; w->requestClose.connect (slot (this, &YWindow::OnRequestExit)); Where YWindow is my own wrapper class. But what to do in OnRequestExit? I ask the app whether it wants to quit (i.e. Do you want to save 'xyz'?) and then what? deleting the Y::Window doesn't remove it from the screen, just stops my app from receiving events about the window... I think basically the client side object disappears but not the server side. There is a nice "show" function to put it on the screen but no "hide" to quit it. I'm still waiting for some way of sending bitmap image data to a Y::Canvas as well. Is that going to happen soon? Currently I'm storing all my images in a chuck of my own memory (although I can't put them on to the screen). Until such time as Y has it's own client read/writable image store (think DIB section or XImage). regards -- Matthew Allen From mark at y-windows.org Fri Apr 23 19:27:06 2004 From: mark at y-windows.org (Mark Thomas) Date: Fri Apr 23 19:27:09 2004 Subject: [Y-devel] How do I... In-Reply-To: <20040423024221.22B5E568F@ivory.research.canon.com.au> References: <20040423024221.22B5E568F@ivory.research.canon.com.au> Message-ID: On Fri, 23 Apr 2004, Matthew Allen wrote: > ...close my top level Y::Window without quiting the application? > [...] > There is a nice "show" function to put it on the screen but no "hide" to > quit it. This (as well as object deletion), is yet to be implemented. There's a slight caveat with object deletion in that other things (be they part of the server, or later on other clients) may have references to that object. We need to notify them of the objects demise and keep its data around long enough so that they can do things with it if they need to. Thoughts? > I'm still waiting for some way of sending bitmap image data to a > Y::Canvas as well. Is that going to happen soon? Currently I'm storing > all my images in a chuck of my own memory (although I can't put them on > to the screen). Until such time as Y has it's own client read/writable > image store (think DIB section or XImage). This won't be written until I've finished overhauling the buffer system with s.faubel's PixelBuffer work. I've been pressed for time lately, so no Y development :( It is next on my list though. Regards, Mark. -- || Mark Thomas || efaref.net || || Blood flows down one leg and up the other. From jimis at gmx.net Sun Apr 25 01:05:53 2004 From: jimis at gmx.net (Dimitrios Apostolou) Date: Sun Apr 25 00:57:10 2004 Subject: [Y-devel] more frequent source snapshots Message-ID: <408B00E1.9070507@gmx.net> hello, would it be difficult to auto generate nightly source snapshots for whoever wanting to take a look at source? If it is, then why don't you make releases more frequently, I think 0.2.1 could be released. Thanks, Dimitris From scottie7 at tpg.com.au Mon Apr 26 15:31:13 2004 From: scottie7 at tpg.com.au (Scott Smedley) Date: Mon Apr 26 14:34:59 2004 Subject: [Y-devel] Re: font problem Message-ID: <20040426143113.GA10838@hamlet.denmark.org> Hi all, > I've installed Y-Windows 0.2 on Fedora Core 1 and everything is working > fine except the fonts. I'm on a FC1 system & I get the same problem too. See screenshot: http://users.tpg.com.au/users/scottie7/tmp/y.png I changed "FontDirectory" in default.conf to /usr/X11R6/lib/X11/fonts, but I still get the same problem. (bitstream vera fonts are installed) There's nothing suspicious in /var/log/messages. Packages installed: Y v0.2 iterm v0.5 tla v1.2 libSDL v1.2.7 libfreetype v2.1.8 libsigc++ v1.0.4 Any pointers/help muchly appreciated. SCoTT. :) From scottie7 at tpg.com.au Mon Apr 26 16:51:57 2004 From: scottie7 at tpg.com.au (Scott Smedley) Date: Mon Apr 26 15:55:39 2004 Subject: [Y-devel] Re: font problem In-Reply-To: <20040426143113.GA10838@hamlet.denmark.org> References: <20040426143113.GA10838@hamlet.denmark.org> Message-ID: <20040426155157.GA31481@hamlet.denmark.org> Please ignore my last e-mail. I got Y to work using the current version from arch. My only hiccup was needing to append -lpthread to several make lines in the libYc++ directory. SCoTT. :) From casey at cwinans.com Mon Apr 26 15:58:52 2004 From: casey at cwinans.com (Casey Winans) Date: Mon Apr 26 16:10:29 2004 Subject: [Y-devel] Re: font problem In-Reply-To: <20040426143113.GA10838@hamlet.denmark.org> References: <20040426143113.GA10838@hamlet.denmark.org> Message-ID: <1082991532.28765.32.camel@localhost> On Mon, 2004-04-26 at 10:31, Scott Smedley wrote: > Hi all, > > > I've installed Y-Windows 0.2 on Fedora Core 1 and everything is working > > fine except the fonts. > > I'm on a FC1 system & I get the same problem too. See screenshot: > > http://users.tpg.com.au/users/scottie7/tmp/y.png > > I changed "FontDirectory" in default.conf to /usr/X11R6/lib/X11/fonts, > but I still get the same problem. (bitstream vera fonts are installed) > > There's nothing suspicious in /var/log/messages. > > Packages installed: > > Y v0.2 > iterm v0.5 > tla v1.2 > libSDL v1.2.7 > libfreetype v2.1.8 > libsigc++ v1.0.4 > > Any pointers/help muchly appreciated. > > SCoTT. :) My FontDirectory directives look like: FontDirectory "/usr/share/fonts" recursive FontDirectory "/usr/X11R6/lib/X11/fonts/TTF" (might need to replace TTF with truetype) -- Casey Winans From fret at memecode.com Tue Apr 27 01:42:08 2004 From: fret at memecode.com (Matthew Allen) Date: Tue Apr 27 01:42:47 2004 Subject: [Y-devel] How do I... References: Message-ID: ---------- Original Message ---------- To: Matthew Allen (matthew@cisra.canon.com.au) From: Mark Thomas (mark@y-windows.org) Subject: Re: [Y-devel] How do I... Date: 24/4/2004 5:27:06a >On Fri, 23 Apr 2004, Matthew Allen wrote: > >> ...close my top level Y::Window without quiting the application? >> [...] >> There is a nice "show" function to put it on the screen but no "hide" to >> quit it. > >This (as well as object deletion), is yet to be implemented. There's a >slight caveat with object deletion in that other things (be they part of >the server, or later on other clients) may have references to that object. >We need to notify them of the objects demise and keep its data around long >enough so that they can do things with it if they need to. Thoughts? As long as the reference ID for the window isn't reused any time soon. Dangling references to it should be ok. Any request for that windows properties/methods should just fail with a "doesn't exist" error code. Generally the shutdown of a window is an async sort of thing. The application "quits" or "hides" the window and several events along the lines of "about to delete this window?" and then "deleting now!" should get sent through which should give the client side a chance to clean up it's references to the Y::Window object. Then the Y::Window instance should be deleted on the delete last message from the server, after the client has processed the message. But thats based on the Linux / Windows sort of event model. I'm not aware of the internals of Y enough to comment on whether it maps or not. Although I'd be nice to have a "quit" separate from "hide" so that making the window disappear for a while and then "show" it again is possible without having to setup all the widgets and events again. Quit should hide and then delete a window. I'm just a widget set writer, but I know what I like in an API. So as I get furthur into implementing support for things I'll let people know where the API is difficult to use. If the Y coders were a company I'd be a "customer" :) >> I'm still waiting for some way of sending bitmap image data to a >> Y::Canvas as well. Is that going to happen soon? Currently I'm storing >> all my images in a chuck of my own memory (although I can't put them on >> to the screen). Until such time as Y has it's own client read/writable >> image store (think DIB section or XImage). > >This won't be written until I've finished overhauling the buffer system >with s.faubel's PixelBuffer work. I've been pressed for time lately, so >no Y development :( It is next on my list though. Ok great. I'll work on text output and my own client side widget layout and drawing in the mean time. -- Matthew Allen From jonathan.harper at softhome.net Tue Apr 27 16:25:47 2004 From: jonathan.harper at softhome.net (Jonathan Harper) Date: Tue Apr 27 17:22:16 2004 Subject: [Y-devel] the new api Message-ID: <200404271125.47260.jonathan.harper@softhome.net> Could we get a new look at the new API for 0.3? I realize a lot of work is going on under the hood, but I'd like to get a feel for what's changing and what to expect, even if it isn't final. Gratzi, jharper --------- Jonathan Harper jonathan(dot)harper(at)softhome(dot)net From matthew.brown at cordata.com Fri Apr 30 16:08:27 2004 From: matthew.brown at cordata.com (Matthew Brown) Date: Fri Apr 30 16:09:03 2004 Subject: [Y-devel] Sigc++ not recognized Message-ID: <20040430150827.RSGQ1773.imf22aec.mail.bellsouth.net@BLUGLO> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 2476 bytes Desc: not available Url : http://www.y-windows.org/pipermail/y-devel/attachments/20040430/683564a4/attachment.gif From becker at lug-amberg.de Fri Apr 30 16:20:58 2004 From: becker at lug-amberg.de (Florian Becker) Date: Fri Apr 30 16:20:08 2004 Subject: [Y-devel] Sigc++ not recognized In-Reply-To: <20040430150827.RSGQ1773.imf22aec.mail.bellsouth.net@BLUGLO> References: <20040430150827.RSGQ1773.imf22aec.mail.bellsouth.net@BLUGLO> Message-ID: <200404301720.59708.becker@lug-amberg.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Matt, you need sigc++ 1.2 for that Cheers Am Freitag, 30. April 2004 17:08 schrieb Matthew Brown: > I installed the sigc++ 1.04 as requested on the site, but cannot get > ./configure to get past the sigc+= checks. It says it is failing on > LIBSIGC. Any ideas? > > (I had also tried sigc++-2.X, but that failed, too.) > > Best Regards, > > Matthew Brown > matthew.brown@cordata.com > > > > > (888) 681-2262 . (770) 795-0089 . > http://www.cordata.com > > > > * Windows and Linux Networks > > * Anti-virus > > * Security > > * Email > > * Web Development & Hosting > > * Application Development & Hosting -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAkm7btdIR2yXuDwERAoI8AJ0eqUvLMFdlDoe64MOjpaTaO2a9/gCguHjt e3g4ysn+fzATg1KlhtiuNzw= =AeZu -----END PGP SIGNATURE-----