From phil at y-windows.org Sun Feb 6 02:00:31 2005 From: phil at y-windows.org (Phil) Date: Sun Feb 6 01:59:11 2005 Subject: [Y-devel] Patches, patches, patches Message-ID: <42057A3F.4020603@y-windows.org> Hi all, In my tla archive, which you can get at with: tla register-archive phil@y-windows.org--2005-kalimdor \ http://willerz.org/arch/2005-kalimdor You'll find a couple of patch levels. The first one, Y--phil--0.2--patch-1, adds a tracing framework to Y which is going to need a lot more code changes before it's truly useful; read the change log for that patch for more info. It has zero runtime cost until you need to use it. The second one, Y--phil--0.2--patch-2, fixes some build errors I found on my desktop box. There are still runtime problems on my system, but as I add more tracing it should get easier to isolate them. Have fun, Phil From phil at y-windows.org Sun Feb 6 13:02:54 2005 From: phil at y-windows.org (Phil) Date: Sun Feb 6 13:01:29 2005 Subject: [Y-devel] Logs, logs, logs In-Reply-To: <42057A3F.4020603@y-windows.org> References: <42057A3F.4020603@y-windows.org> Message-ID: <4206157E.7060609@y-windows.org> For the lazy, here are the patch logs: Revision: Y--phil--0.2--patch-1 Archive: phil@y-windows.org--2005-kalimdor Creator: Phil Date: Sun Feb 6 01:17:45 GMT 2005 Standard-date: 2005-02-06 01:17:45 GMT New-files: Y/trace/.arch-ids/=id Y/trace/.arch-ids/trace.c.id Y/trace/.arch-ids/trace.h.id Y/trace/.arch-ids/tracetest.c.id Y/trace/trace.c Y/trace/trace.h Y/trace/tracetest.c New-directories: Y/trace Y/trace/.arch-ids Modified-files: Y/Makefile.am Y/main/y.c Y/y.h clients/tools/startY.in startY.devel.in New-patches: phil@y-windows.org--2005-kalimdor/Y--phil--0.2--patch-1 Summary: Add the framework for trace support and a few tracepoints Keywords: trace traceY Y/trace/trace.c contains the tracing logic. Y/trace/trace.h has macros to make tracing easier to use and disable. Y/trace/tracetest.c simple tests for the above code. make check to run. Added new target to Y/Makefile.am named traceY. This is the version of Y with trace support built in. The original Y program does not have trace support, and there is therefore no overhead to this change unless you use traceY instead of Y as the server. Both are built and installed to ${prefix}/bin by default. To enable trace, set the environment variable Y_TRACE to 1 and run traceY as the server. startY and startY.devel have been altered to accept a -trace argument which selects traceY instead of Y. You still need to set the environment variable yourself. traceY without the environment variable set is liekly to be a fair bit slower than Y. I chose to do it this way to allow future tracing to be switched on once the server has started to reduce the amount of output. By default, trace information is printed to stderr. You can instead save it to a file of your choice by naming that file in the Y_TRACE_FILE environment variable. Tracing to stderr will probably break if the server detaches from the console, so expect tracing to imply nodetach in the near future. So far there are only 3 tracepoints, more will be added as soon as I get time. Since tracepoints have the same runtime cost as comments in the main Y server, I suggest using a tracepoint anywhere you would have used a comment -- if the code is complex enough to need explanation it's probably worth being able to trace it. Anyway, tracing costs nothing. ==and== Revision: Y--phil--0.2--patch-2 Archive: phil@y-windows.org--2005-kalimdor Creator: Phil Date: Sun Feb 6 01:47:27 GMT 2005 Standard-date: 2005-02-06 01:47:27 GMT Modified-files: Y/main/config.c clients/clock/clock.cc libYc++/Y/c++/value.cc New-patches: phil@y-windows.org--2005-kalimdor/Y--phil--0.2--patch-2 Summary: Fix build errors on linux/amd64/gcc-3.4.3 Keywords: amd64 Y/main/config.c: isspace was being called on the wrong pointer, which caused a fatal type mismatch on 64-bit platforms. On other platforms it was a silent bug. libYc++/Y/c++/value.cc: namespace error with gcc-3.4.3. Not sure if this is the right fix, but everything now builds and links OK. clients/clock/clock.cc: needed for sin() cos() and M_PI. How did this ever work? From asuffield at debian.org Sun Feb 6 14:11:22 2005 From: asuffield at debian.org (Andrew Suffield) Date: Sun Feb 6 14:11:30 2005 Subject: [Y-devel] Patches, patches, patches In-Reply-To: <42057A3F.4020603@y-windows.org> References: <42057A3F.4020603@y-windows.org> Message-ID: <20050206141122.GA9429@suffields.me.uk> On Sun, Feb 06, 2005 at 02:00:31AM +0000, Phil wrote: > In my tla archive, which you can get at with: > > tla register-archive phil@y-windows.org--2005-kalimdor \ > http://willerz.org/arch/2005-kalimdor This is signed with key E642EB09, but that key doesn't appear to be on any of the usual keyservers. -- .''`. ** 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/20050206/35a075d1/attachment.bin From asuffield at debian.org Sun Feb 6 14:23:50 2005 From: asuffield at debian.org (Andrew Suffield) Date: Sun Feb 6 14:23:57 2005 Subject: [Y-devel] Logs, logs, logs In-Reply-To: <4206157E.7060609@y-windows.org> References: <42057A3F.4020603@y-windows.org> <4206157E.7060609@y-windows.org> Message-ID: <20050206142350.GB9429@suffields.me.uk> On Sun, Feb 06, 2005 at 01:02:54PM +0000, Phil wrote: > clients/clock/clock.cc: needed for sin() cos() and M_PI. How > did this ever work? Via , which previously sucked in in order to use ceil() somewhere in the middle of its inlined locale facet logic. Unfortunately there's no easy way to detect missing #includes of this form just yet. -- .''`. ** 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/20050206/d546f568/attachment.bin From phil at y-windows.org Sun Feb 6 17:19:16 2005 From: phil at y-windows.org (Phil) Date: Sun Feb 6 17:17:43 2005 Subject: [Y-devel] Patches, patches, patches In-Reply-To: <20050206141122.GA9429@suffields.me.uk> References: <42057A3F.4020603@y-windows.org> <20050206141122.GA9429@suffields.me.uk> Message-ID: <42065194.6010605@y-windows.org> Andrew Suffield wrote: > On Sun, Feb 06, 2005 at 02:00:31AM +0000, Phil wrote: > >>In my tla archive, which you can get at with: >> >>tla register-archive phil@y-windows.org--2005-kalimdor \ >> http://willerz.org/arch/2005-kalimdor > > > This is signed with key E642EB09, but that key doesn't appear to be on > any of the usual keyservers. Oops, I've now put it on wwwkeys.eu.pgp.net which should synchronise throughout the whole pgp.net hierarchy. I'll try and hassle Mark into signing it at some point this coming week. For those who have an unfounded trust in the security of email, the key info and fingerprint is: pub 2048R/E642EB09 2005-02-05 Phil W (Signing key for my arch changesets) Key fingerprint = 53EB 70C6 0755 F2F9 DCF8 62F1 7B3A 9DFF E642 EB09 Cheers, Phil From phil at y-windows.org Sun Feb 6 17:21:12 2005 From: phil at y-windows.org (Phil) Date: Sun Feb 6 17:19:38 2005 Subject: [Y-devel] Logs, logs, logs In-Reply-To: <20050206142350.GB9429@suffields.me.uk> References: <42057A3F.4020603@y-windows.org> <4206157E.7060609@y-windows.org> <20050206142350.GB9429@suffields.me.uk> Message-ID: <42065208.10100@y-windows.org> Andrew Suffield wrote: > Via , which previously sucked in I'll change my to to keep it in the C++ style. Phil From phil at y-windows.org Sun Feb 6 20:31:49 2005 From: phil at y-windows.org (Phil) Date: Sun Feb 6 20:30:17 2005 Subject: [Y-devel] Patches, patches, patches In-Reply-To: <42057A3F.4020603@y-windows.org> References: <42057A3F.4020603@y-windows.org> Message-ID: <42067EB5.8040805@y-windows.org> Phil wrote: > Hi all, > > In my tla archive, which you can get at with: > > tla register-archive phil@y-windows.org--2005-kalimdor \ > http://willerz.org/arch/2005-kalimdor New today: Y--phil--0.2--patch-3. In this release: ymalloc() and yfree() will detect _some_ buffer under- and over-runs. I plan to add to improve this shortly, --patch-4 should detect more under-run conditions. Overrun conditions tend to be more common, so I felt I should release it now. ymalloc() will return data aligned on a malloc()-alignment + 16 boundary. Previous behaviour was to align on a malloc()-alignment + 4 boundary, which was incorrectly aligned on my machine if you wanted to store double, size_t, uint64_t, int64_t, or pointer types. ymalloc() and yfree() are now traced. You can now trace size_t variables. Tracing buffers now works properly. ystrdup() is a bit cleaner, and is now traced. The #include lines in the clock application have been C++-ified. Phil From phil at y-windows.org Sun Feb 6 20:54:41 2005 From: phil at y-windows.org (Phil) Date: Sun Feb 6 20:53:12 2005 Subject: [Y-devel] Patches, patches, patches In-Reply-To: <42067EB5.8040805@y-windows.org> References: <42057A3F.4020603@y-windows.org> <42067EB5.8040805@y-windows.org> Message-ID: <42068411.1030209@y-windows.org> Phil wrote: > ymalloc() and yfree() will detect _some_ buffer under- and over-runs. I > plan to add to improve this shortly, --patch-4 should detect more > under-run conditions. Overrun conditions tend to be more common, so I > felt I should release it now. It turned out to be easier than I thought, so patch-4 is now good to go. It should detect buffer under- or over-runs of as little as one byte (unless you're unlucky enough to write the magic number in there). I also changed the check programs to use ymalloc() and yfree(), as this will allow us to trace their memory usage if there is ever a problem in the code they test. This'll probably be it for a while, as I'll be too tired to do anything much in the week and I have plans for the weekend... Cheers, Phil From phil at y-windows.org Sun Feb 6 22:01:47 2005 From: phil at y-windows.org (Phil) Date: Sun Feb 6 22:00:13 2005 Subject: [Y-devel] Patches, patches, patches In-Reply-To: <42068411.1030209@y-windows.org> References: <42057A3F.4020603@y-windows.org> <42067EB5.8040805@y-windows.org> <42068411.1030209@y-windows.org> Message-ID: <420693CB.3010102@y-windows.org> Phil wrote: > This'll probably be it for a while, as I'll be too tired to do anything > much in the week and I have plans for the weekend... Y--phil--0.2--patch-5 is now live. Highlights: ystrdup() cleaned up to use memcpy instead of strncpy (thanks to Andy for pointing this one out). pointerLoadImages() cleaned up to remove a buffer over-run and eliminate another two strncpy() calls (again, thanks to Andy for a suggested fix). Y can now be reliably started on amd64 provided the font path in server.conf contains only TTF files. Previously it would sometimes start but more often fail, presumably one of the bugs we fixed recently was the problem before. I shan't go looking for a fix for the non-TTF font problem just yet, as there are things which annoy me more. This really is it for today, as I am now too tired to code coherently. Have fun, Phil From phil at y-windows.org Sun Feb 6 22:20:48 2005 From: phil at y-windows.org (Phil) Date: Sun Feb 6 22:19:12 2005 Subject: [Y-devel] Patches, patches, patches In-Reply-To: <420693CB.3010102@y-windows.org> References: <42057A3F.4020603@y-windows.org> <42067EB5.8040805@y-windows.org> <42068411.1030209@y-windows.org> <420693CB.3010102@y-windows.org> Message-ID: <42069840.1040600@y-windows.org> Phil wrote: > This really is it for today, as I am now too tired to code coherently. Proof of this of course is the memory leak I introduced and then had to fix in patch-6. G'nite, Phil From y-windows.org at spider007.net Mon Feb 7 21:44:19 2005 From: y-windows.org at spider007.net (Spider.007) Date: Mon Feb 7 21:44:32 2005 Subject: [Y-devel] Setup of a new wiki - the beginning of a stronger userbase? In-Reply-To: <42069840.1040600@y-windows.org> References: <42057A3F.4020603@y-windows.org> <42067EB5.8040805@y-windows.org> <42068411.1030209@y-windows.org> <420693CB.3010102@y-windows.org> <42069840.1040600@y-windows.org> Message-ID: <4207E133.8030701@spider007.net> Hi all, Since the link to the wiki is dead for a long time now I wonder if it would be usefull to setup a new wiki. I have some experience with Mediawiki and am able to setup a wiki quickly. Does anyone have ideas if this will might the boost that Y-Windows needs? Users would be enabled to add documentation to the project more easy using a Wiki :) Regards, Sjon / Spider.007 From asuffield at debian.org Mon Feb 7 21:58:26 2005 From: asuffield at debian.org (Andrew Suffield) Date: Mon Feb 7 21:58:33 2005 Subject: [Y-devel] Setup of a new wiki - the beginning of a stronger userbase? In-Reply-To: <4207E133.8030701@spider007.net> References: <42057A3F.4020603@y-windows.org> <42067EB5.8040805@y-windows.org> <42068411.1030209@y-windows.org> <420693CB.3010102@y-windows.org> <42069840.1040600@y-windows.org> <4207E133.8030701@spider007.net> Message-ID: <20050207215826.GA25440@suffields.me.uk> On Mon, Feb 07, 2005 at 10:44:19PM +0100, Spider.007 wrote: > Does anyone have ideas if > this will might the boost that Y-Windows needs? It won't. > Users would be enabled > to add documentation to the project more easy using a Wiki There is not a need for users to write low-grade documentation. There shouldn't *be* any users, and there's nothing worth documenting right now. -- .''`. ** 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/20050207/2a4b3547/attachment.bin From phil at y-windows.org Mon Feb 7 23:51:06 2005 From: phil at y-windows.org (Phil) Date: Mon Feb 7 23:52:19 2005 Subject: [Y-devel] Setup of a new wiki - the beginning of a stronger userbase? In-Reply-To: <20050207215826.GA25440@suffields.me.uk> References: <42057A3F.4020603@y-windows.org> <42067EB5.8040805@y-windows.org> <42068411.1030209@y-windows.org> <420693CB.3010102@y-windows.org> <42069840.1040600@y-windows.org> <4207E133.8030701@spider007.net> <20050207215826.GA25440@suffields.me.uk> Message-ID: <4207FEEA.9050701@y-windows.org> Andrew Suffield wrote: > There is not a need for users to write low-grade documentation. There > shouldn't *be* any users, and there's nothing worth documenting right > now. If there are any users, I'm very very surprised. Before I can use Y as a desktop host to write more Y we need: * to review and refine most of the existing code (this is why there is nothing which is currently worth documenting) * a fully-working terminal (this may just be a keymap problem, but Ctrl doesn't work for me at the moment). * gvim * an mp3/ogg player * a DVD player * firefox * irc/IM client * thunderbird * a Y video driver that renders to a Y widget (a la Xnest) * accelerated drivers for my video card So, only ten things. Should be easy enough... I wouldn't suggest that anyone else starts to use Y before at least one of the developers does -- until then there are going to be a _lot_ of bugs. There are some things which I think could usefully be put on the web if someone feels like doing the work: * A page with instructions on how to pull the latest version of Y from arch, including the locations of the main repositories. * An archive of the tla logs and diffs from the main repositories. You'll need local mirrors of the archives to do this efficiently. * It would be cool to have a tla archive explorer, to show the latest versions of the various Y files in the core repositories and the relationships/differences between them. tla users can do all this from the command-line, but a good web interface might be easier to use for new users/developers. Again, you'll need local mirrors of the archives to do this efficiently. I agree with Andy that there is nothing much worth writing down at the moment -- every line of code is probably going to change before Y becomes usable. That said, I would like to know of any bugs in either the trace engine code I added over the weekend or the new buffer-checking ymalloc/yfree. If someone with time on their hands would like to write a more comprehensive automatic test suite for those functions I would appreciate it. Cheers, Phil From aedil-y-devel at alchar.org Tue Feb 8 00:08:14 2005 From: aedil-y-devel at alchar.org (Kris Van Hees) Date: Tue Feb 8 00:08:24 2005 Subject: [Y-devel] Setup of a new wiki - the beginning of a stronger userbase? In-Reply-To: <4207FEEA.9050701@y-windows.org> References: <42057A3F.4020603@y-windows.org> <42067EB5.8040805@y-windows.org> <42068411.1030209@y-windows.org> <420693CB.3010102@y-windows.org> <42069840.1040600@y-windows.org> <4207E133.8030701@spider007.net> <20050207215826.GA25440@suffields.me.uk> <4207FEEA.9050701@y-windows.org> Message-ID: <20050208000814.GF13075@alchar.org> Ok, I simply have to ask... Why do you need an mp3/ogg player, a DVD player, firefox, and thunderbird before you can use Y as a desktop host to write more Y? I wouldn't think that any of those are considered to be development tools? I would agree if you mean "before [you] can use Y as a desktop host", but the "to write more Y" limits it to a level where multimedia tools really do not seem relevant :) Kris On Mon, Feb 07, 2005 at 11:51:06PM +0000, Phil wrote: > Andrew Suffield wrote: > >There is not a need for users to write low-grade documentation. There > >shouldn't *be* any users, and there's nothing worth documenting right > >now. > > If there are any users, I'm very very surprised. Before I can use Y as > a desktop host to write more Y we need: > > * to review and refine most of the existing code (this is why there is > nothing which is currently worth documenting) > * a fully-working terminal (this may just be a keymap problem, but Ctrl > doesn't work for me at the moment). > * gvim > * an mp3/ogg player > * a DVD player > * firefox > * irc/IM client > * thunderbird > * a Y video driver that renders to a Y widget (a la Xnest) > * accelerated drivers for my video card > > So, only ten things. Should be easy enough... > > I wouldn't suggest that anyone else starts to use Y before at least one > of the developers does -- until then there are going to be a _lot_ of bugs. > > There are some things which I think could usefully be put on the web if > someone feels like doing the work: > > * A page with instructions on how to pull the latest version of Y from > arch, including the locations of the main repositories. > * An archive of the tla logs and diffs from the main repositories. > You'll need local mirrors of the archives to do this efficiently. > * It would be cool to have a tla archive explorer, to show the latest > versions of the various Y files in the core repositories and the > relationships/differences between them. tla users can do all this > from the command-line, but a good web interface might be easier to use > for new users/developers. Again, you'll need local mirrors of the > archives to do this efficiently. > > I agree with Andy that there is nothing much worth writing down at the > moment -- every line of code is probably going to change before Y > becomes usable. > > That said, I would like to know of any bugs in either the trace engine > code I added over the weekend or the new buffer-checking ymalloc/yfree. > If someone with time on their hands would like to write a more > comprehensive automatic test suite for those functions I would > appreciate it. > > Cheers, > > Phil > -- 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 Tue Feb 8 00:37:04 2005 From: asuffield at debian.org (Andrew Suffield) Date: Tue Feb 8 00:37:10 2005 Subject: [Y-devel] Setup of a new wiki - the beginning of a stronger userbase? In-Reply-To: <4207FEEA.9050701@y-windows.org> References: <42057A3F.4020603@y-windows.org> <42067EB5.8040805@y-windows.org> <42068411.1030209@y-windows.org> <420693CB.3010102@y-windows.org> <42069840.1040600@y-windows.org> <4207E133.8030701@spider007.net> <20050207215826.GA25440@suffields.me.uk> <4207FEEA.9050701@y-windows.org> Message-ID: <20050208003704.GA29300@suffields.me.uk> On Mon, Feb 07, 2005 at 11:51:06PM +0000, Phil wrote: > Andrew Suffield wrote: > >There is not a need for users to write low-grade documentation. There > >shouldn't *be* any users, and there's nothing worth documenting right > >now. > > If there are any users, I'm very very surprised. Before I can use Y as > a desktop host to write more Y we need: > * a fully-working terminal (this may just be a keymap problem, but Ctrl > doesn't work for me at the moment). I know why it doesn't work, since I (deliberately) broke it. yiterm is basically a dead loss; it needs doing over from scratch. I didn't care enough to rewrite the keyboard engine for ykb; it's non-trivial and would be a waste of time since yiterm sucks anyway and will die in a great deal of pain as soon as something better is ready. So I just replaced it with a really cheap hack, but (as you noticed) it's grossly incomplete. I can go into excruciating detail if anybody actually needs to implement it, but I kinda expect I'll have to do that one myself. ykb is arranged to make real Y applications easier and more flexible; a side-effect of this is that it makes terminal emulation a bit more involved (unlike xkb, which feels like a terminal, making everything else harder). In the absence of any examples, the way to approach it is not obvious. > * an mp3/ogg player mpd client, please. Took me bloody years to find something less agonising than xmms, and now I'm firmly convinced it's the right way. My audio player should not be slaved to the user interface, it should survive the restart of the rendering server. Which actually means this is trivial. I could whip one up in a couple of days, except that I'd have to write a dozen or so new widgets and this is entirely the wrong time to be writing new widgets. > * a DVD player Gah, the list of prerequisites boggles the mind. This is *really* heavy on the obscure stuff. That'll most likely be the last thing that happens, with the possible exception of: > * firefox > * thunderbird I am not touching the mozilla code. Under any circumstances. I would rather port xnest. > * accelerated drivers for my video card On it, kinda. Assuming you buy an ATI card. It's gonna take a few months. > * It would be cool to have a tla archive explorer, to show the latest > versions of the various Y files in the core repositories and the > relationships/differences between them. tla users can do all this > from the command-line, but a good web interface might be easier to use > for new users/developers. Again, you'll need local mirrors of the > archives to do this efficiently. archzoom or so. Not that we'll need it for a long time yet. -- .''`. ** 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/20050208/802c101b/attachment.bin From phil at y-windows.org Tue Feb 8 01:33:36 2005 From: phil at y-windows.org (Phil) Date: Tue Feb 8 01:34:54 2005 Subject: [Y-devel] Setup of a new wiki - the beginning of a stronger userbase? In-Reply-To: <20050208000814.GF13075@alchar.org> References: <42057A3F.4020603@y-windows.org> <42067EB5.8040805@y-windows.org> <42068411.1030209@y-windows.org> <420693CB.3010102@y-windows.org> <42069840.1040600@y-windows.org> <4207E133.8030701@spider007.net> <20050207215826.GA25440@suffields.me.uk> <4207FEEA.9050701@y-windows.org> <20050208000814.GF13075@alchar.org> Message-ID: <420816F0.4090508@y-windows.org> Kris Van Hees wrote: > Ok, I simply have to ask... Why do you need an mp3/ogg player, a DVD player, > firefox, and thunderbird before you can use Y as a desktop host to write more > Y? I wouldn't think that any of those are considered to be development tools? You don't understand my development methodology... 1: I'm not going to use Y for development if I have to keep quitting and starting X every time I want to check the docs for a library on the web or post a patch summary to the mailing list. 2: My usual development practice at home is to have a movie playing in one corner of the screen and write code during the boring bits. Code output is generally inversely proportional to the number of fight and car-chase scenes in the film. 3: Occasionally I get bored of films and play music instead. Phil From phil at y-windows.org Tue Feb 8 01:58:36 2005 From: phil at y-windows.org (Phil) Date: Tue Feb 8 01:59:56 2005 Subject: [Y-devel] Bitching about terminals In-Reply-To: <20050208003704.GA29300@suffields.me.uk> References: <42057A3F.4020603@y-windows.org> <42067EB5.8040805@y-windows.org> <42068411.1030209@y-windows.org> <420693CB.3010102@y-windows.org> <42069840.1040600@y-windows.org> <4207E133.8030701@spider007.net> <20050207215826.GA25440@suffields.me.uk> <4207FEEA.9050701@y-windows.org> <20050208003704.GA29300@suffields.me.uk> Message-ID: <42081CCC.8070701@y-windows.org> Andrew Suffield wrote: >>* a fully-working terminal (this may just be a keymap problem, but Ctrl >> doesn't work for me at the moment). > > I can go into excruciating detail if anybody actually needs to > implement it, but I kinda expect I'll have to do that one myself. ykb > is arranged to make real Y applications easier and more flexible; a > side-effect of this is that it makes terminal emulation a bit more > involved (unlike xkb, which feels like a terminal, making everything > else harder). In the absence of any examples, the way to approach it > is not obvious. I assume that part of the problem is that you can't use structured data for communication across the terminal interface -- you're stuck with using the obscure sequences of ascii characters at timed intervals which are required to communicate the difference between and Esc [ A. The control sequences you get back to do line drawing etc weren't any better either the last time I looked. It ain't easy. It's actually probably easier to port xnest and use xterm. *ducks* >>* accelerated drivers for my video card > > On it, kinda. Assuming you buy an ATI card. It's gonna take a few > months. I have an original Radeon. Whether I still have a motherboard that will take it is another question entirely. From nofx_3 at softhome.net Tue Feb 8 09:27:14 2005 From: nofx_3 at softhome.net (Andrew Kaplan) Date: Tue Feb 8 09:27:23 2005 Subject: [Y-devel] Setup of a new wiki - the beginning of a =?iso-8859-1?q?stronger=09userbase=3F?= In-Reply-To: <20050208003704.GA29300@suffields.me.uk> References: <42057A3F.4020603@y-windows.org> <4207FEEA.9050701@y-windows.org> <20050208003704.GA29300@suffields.me.uk> Message-ID: <200502080127.14594.nofx_3@softhome.net> > happens, with the possible exception of: > > * firefox > > * thunderbird > > I am not touching the mozilla code. Under any circumstances. I would > rather port xnest. I know this is a very preliminary suggestions, but why not port dillo as an interim browser. It'll do enough of the basics to get you by and the code can be read and understood in a few hours, Its C++ IIRC so the networking code should come over clean and only the rendering engine and interface will need porting, but the interface is pretty simple so it shouldn't take much. -kaplanfx From matt at matt-land.com Wed Feb 9 03:18:49 2005 From: matt at matt-land.com (Matthew A. Nicholson) Date: Wed Feb 9 03:18:16 2005 Subject: [Y-devel] Setup of a new wiki - the beginning of a stronger userbase? In-Reply-To: <200502080127.14594.nofx_3@softhome.net> References: <42057A3F.4020603@y-windows.org> <4207FEEA.9050701@y-windows.org> <20050208003704.GA29300@suffields.me.uk> <200502080127.14594.nofx_3@softhome.net> Message-ID: <42098119.3060002@matt-land.com> Andrew Kaplan wrote: >>happens, with the possible exception of: >> >>>* firefox >>>* thunderbird >> >>I am not touching the mozilla code. Under any circumstances. I would >>rather port xnest. > > > I know this is a very preliminary suggestions, but why not port dillo as an > interim browser. It'll do enough of the basics to get you by and the code > can be read and understood in a few hours, Its C++ IIRC so the networking > code should come over clean and only the rendering engine and interface will > need porting, but the interface is pretty simple so it shouldn't take much. > > -kaplanfx > Dillo is written in C and GTK. -- Matthew A. Nicholson Matt-land.com From y-windows.org at spider007.net Wed Feb 9 08:44:22 2005 From: y-windows.org at spider007.net (Sjon) Date: Wed Feb 9 08:44:43 2005 Subject: [Y-devel] Setup of a new wiki - the beginning of a stronger userbase? In-Reply-To: <20050207215826.GA25440@suffields.me.uk> References: <42057A3F.4020603@y-windows.org> <42067EB5.8040805@y-windows.org> <42068411.1030209@y-windows.org> <420693CB.3010102@y-windows.org> <42069840.1040600@y-windows.org> <4207E133.8030701@spider007.net> <20050207215826.GA25440@suffields.me.uk> Message-ID: <4209CD66.2030508@spider007.net> Andrew Suffield wrote: > On Mon, Feb 07, 2005 at 10:44:19PM +0100, Spider.007 wrote: > >>Users would be enabled >>to add documentation to the project more easy using a Wiki > > > There is not a need for users to write low-grade documentation. There > shouldn't *be* any users, and there's nothing worth documenting right > now. > Maybe the way I formulated my mail was not correct; I know that Y-Windows will not have any end-users soon; however, there are developers / testers / alpha-users also who might find it interesting to setup Y-Windows for testing purpose. I have tried finding any useful information on the website regarding the installation of a recent CVS checkout; but couldn't find any. Therefore I proposed a Wiki, which I think is a simple way to have 'users' contributing to the information available :) Sjon From mtenhagen at quicknet.nl Wed Feb 9 18:34:34 2005 From: mtenhagen at quicknet.nl (Michiel ten Hagen) Date: Wed Feb 9 18:32:59 2005 Subject: [Y-devel] Setup of a new wiki - the beginning of a stronger userbase? In-Reply-To: <4209CD66.2030508@spider007.net> References: <42057A3F.4020603@y-windows.org> <42067EB5.8040805@y-windows.org> <42068411.1030209@y-windows.org> <420693CB.3010102@y-windows.org> <42069840.1040600@y-windows.org> <4207E133.8030701@spider007.net> <20050207215826.GA25440@suffields.me.uk> <4209CD66.2030508@spider007.net> Message-ID: <420A57BA.6040702@quicknet.nl> I believe that anyone who documents something contributes, but it can be a useless contribution (like this email). If you wanna setup a wiki I say good luck Michiel Sjon wrote: > Andrew Suffield wrote: > >> On Mon, Feb 07, 2005 at 10:44:19PM +0100, Spider.007 wrote: >> >>> Users would be enabled to add documentation to the project more easy >>> using a Wiki >> >> >> >> There is not a need for users to write low-grade documentation. There >> shouldn't *be* any users, and there's nothing worth documenting right >> now. >> > > Maybe the way I formulated my mail was not correct; I know that > Y-Windows will not have any end-users soon; however, there are > developers / testers / alpha-users also who might find it interesting to > setup Y-Windows for testing purpose. > I have tried finding any useful information on the website regarding the > installation of a recent CVS checkout; but couldn't find any. Therefore > I proposed a Wiki, which I think is a simple way to have 'users' > contributing to the information available :) > > Sjon > > From asuffield at debian.org Wed Feb 9 20:09:00 2005 From: asuffield at debian.org (Andrew Suffield) Date: Wed Feb 9 20:09:30 2005 Subject: [Y-devel] Setup of a new wiki - the beginning of a stronger userbase? In-Reply-To: <4209CD66.2030508@spider007.net> References: <42057A3F.4020603@y-windows.org> <42067EB5.8040805@y-windows.org> <42068411.1030209@y-windows.org> <420693CB.3010102@y-windows.org> <42069840.1040600@y-windows.org> <4207E133.8030701@spider007.net> <20050207215826.GA25440@suffields.me.uk> <4209CD66.2030508@spider007.net> Message-ID: <20050209200900.GA13276@suffields.me.uk> On Wed, Feb 09, 2005 at 09:44:22AM +0100, Sjon wrote: > Andrew Suffield wrote: > >On Mon, Feb 07, 2005 at 10:44:19PM +0100, Spider.007 wrote: > > > >>Users would be enabled > >>to add documentation to the project more easy using a Wiki > > > > > >There is not a need for users to write low-grade documentation. There > >shouldn't *be* any users, and there's nothing worth documenting right > >now. > > > > Maybe the way I formulated my mail was not correct; I know that > Y-Windows will not have any end-users soon; however, there are > developers / testers / alpha-users also who might find it interesting to > setup Y-Windows for testing purpose. I can't imagine anybody who can't figure this out on their own being able to do anything useful. It's not exactly complicated. -- .''`. ** 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/20050209/0f8e7c19/attachment.bin From jpd at dsb.tudelft.nl Wed Feb 9 21:45:41 2005 From: jpd at dsb.tudelft.nl (JP Dinger) Date: Wed Feb 9 21:45:54 2005 Subject: [Y-devel] Setup of a new wiki - the beginning of a stronger userbase? In-Reply-To: <20050209200900.GA13276@suffields.me.uk> References: <42057A3F.4020603@y-windows.org> <42067EB5.8040805@y-windows.org> <42068411.1030209@y-windows.org> <420693CB.3010102@y-windows.org> <42069840.1040600@y-windows.org> <4207E133.8030701@spider007.net> <20050207215826.GA25440@suffields.me.uk> <4209CD66.2030508@spider007.net> <20050209200900.GA13276@suffields.me.uk> Message-ID: <20050209214541.GA34420@dsb.tudelft.nl> On Wed, Feb 09, 2005 at 08:09:00PM +0000, Andrew Suffield wrote: > On Wed, Feb 09, 2005 at 09:44:22AM +0100, Sjon wrote: > > Andrew Suffield wrote: > > >On Mon, Feb 07, 2005 at 10:44:19PM +0100, Spider.007 wrote: > > > > > >>Users would be enabled > > >>to add documentation to the project more easy using a Wiki > > > > > >There is not a need for users to write low-grade documentation. There > > >shouldn't *be* any users, and there's nothing worth documenting right > > >now. > > > > Maybe the way I formulated my mail was not correct; I know that > > Y-Windows will not have any end-users soon; however, there are > > developers / testers / alpha-users also who might find it interesting to > > setup Y-Windows for testing purpose. > > I can't imagine anybody who can't figure this out on their own being > able to do anything useful. It's not exactly complicated. Trying to drive that message home this way isn't helping, and it isn't working, either. I think that a wiki could be useful. For example to pass on and work on larger text, or even to just store the entire body of information that we have so one can stand back and look at it all in once, as well as bring both people fresh and longer involved up to speed. This can even help convey the fact that the state this project is in means that it is _not_ ready for prime time, despite ending up on /. twice. This is a point you like to hammer home every way you can, understandably so, but doing so on every opporunity can get a bit tedious. As you'll agree, writing something should preferably be done right once, then easily accessible many times. And that includes documenting good ideas and less-than-ideal facts alike. This _can_ be done nicely through a wiki, altough it isn't the only tool that could. It would be even better if such a wiki could be pointed to from the y-windows.org domain, even if it is just a wiki.y-windows.org CNAME my-y-wiki.freehosting.yahoo.50megs.com. If only to prevent the little that there is to fragment. This cuts both ways. Not only can enthousiasts float their balloons, the balloons can also be shown to not be realistic, to defy the laws of physics, or to need shelving until there is enough groundwork done. I'm sure there'll be enough people on this list that can help out here; it doesn't all have to come down on the poor few people with @y-windows.org email addresses. It comes down on harnessing what you have into what little and seemingly unuseful can be done now, instead of throwing it all out with lots of noise and losing goodwill and support through that. In short, yes, a wiki could be useful, even if it isn't a panacea. But it can also be agressively killed dead *again*, and with no substitute tools, doing that will certainly not help advance anything. And that includes not helping drive home the message that y needs lots of work by competent low-level hackers before ye average slashdotter will see something vaguely working because, it's not the /. crowd that writes. -- j p d (at) d s b (dot) t u d e l f t (dot) n l . From jpd at dsb.tudelft.nl Wed Feb 9 21:57:59 2005 From: jpd at dsb.tudelft.nl (JP Dinger) Date: Wed Feb 9 21:58:04 2005 Subject: [Y-devel] Setup of a new wiki - the beginning of a stronger userbase? In-Reply-To: <20050209214541.GA34420@dsb.tudelft.nl> References: <42057A3F.4020603@y-windows.org> <42067EB5.8040805@y-windows.org> <42068411.1030209@y-windows.org> <420693CB.3010102@y-windows.org> <42069840.1040600@y-windows.org> <4207E133.8030701@spider007.net> <20050207215826.GA25440@suffields.me.uk> <4209CD66.2030508@spider007.net> <20050209200900.GA13276@suffields.me.uk> <20050209214541.GA34420@dsb.tudelft.nl> Message-ID: <20050209215759.GA34562@dsb.tudelft.nl> On second reading, I see that a bit too much[1] sarcasm slipped in there. Apologies for that, try to read around it foiks. :-] [1] There shouldn't be any, really. Keeping it out entirely seems a bit impossible for me these days, but it could still have been less here. -- j p d (at) d s b (dot) t u d e l f t (dot) n l . From fprog26 at hotmail.com Thu Feb 10 05:13:55 2005 From: fprog26 at hotmail.com (Fred P.) Date: Thu Feb 10 05:14:40 2005 Subject: [Y-devel] Setup of a new wiki - the beginning of a stronger userbase? Message-ID: Hi there, Following Phil email, he asked for the following: " If there are any users, I'm very very surprised. Before I can use Y as a desktop host to write more Y we need: * to review and refine most of the existing code (this is why there is nothing which is currently worth documenting) * a fully-working terminal (this may just be a keymap problem, but Ctrl doesn't work for me at the moment). * gvim * an mp3/ogg player * a DVD player * firefox * irc/IM client * thunderbird * a Y video driver that renders to a Y widget (a la Xnest) * accelerated drivers for my video card So, only ten things. Should be easy enough... " Okay, let's assume you want KDE -unaccelerated- to work on Y, so you get all of the above for free, except KMail, Konqueror and KVim instead of Thunderbird, FireFox and gvim. I did some research and here's mostly, what have to be coded in Qt-3.3: For interests: http://cvs.sourceforge.net/viewcvs.py/kde-cygwin/qt-3/src/kernel/ QPainter - The class using QPaintDevice QPaintDevice - Every QWidget derivated inherits from this QWidget QApplication - startup routines and event handling QInputcontext - If you want keyboard QEventLoop - If you want mouse/kbd/tablet QFont - If you want fonts QFontDatabase QFontEngine QSound - If you want sound QClipBoard - clipboard QColor - color wrapper QCursor QDesktopWidget QDND QScriptEngine Simply just grep x11 from qt-copy. Basically, you just have to replace those files with Y protocol, instead of X, Win32 or MacOS X. Unless you don't like KDE and prefer Gnome, Xfce, fvwm95, Metacity, Fluxbox, IceWM or similar then Xnest could be a better choice or to write a full blown Desktop Environment in Y itself. Another point is that, if you just need an mp3 player, you could use mpg123 in console. Samething for vim, bitchX, lynx or pine/mutt instead of gvim, irc client, firefox or thunderbird. Another solution is VMWare and similar. Have a nice day. Sincerely yours, Fred. From blblack at gmail.com Thu Feb 10 12:59:36 2005 From: blblack at gmail.com (Brandon Black) Date: Thu Feb 10 13:00:21 2005 Subject: [Y-devel] Setup of a new wiki - the beginning of a stronger userbase? In-Reply-To: References: Message-ID: <84621a6050210045930fe485c@mail.gmail.com> On Thu, 10 Feb 2005 00:13:55 -0500, Fred P. wrote: > Hi there, > > Following Phil email, he asked for the following: > > " > If there are any users, I'm very very surprised. Before I can use Y as > a desktop host to write more Y we need: > > * to review and refine most of the existing code (this is why there is > nothing which is currently worth documenting) > * a fully-working terminal (this may just be a keymap problem, but Ctrl > doesn't work for me at the moment). > * gvim > * an mp3/ogg player > * a DVD player > * firefox > * irc/IM client > * thunderbird > * a Y video driver that renders to a Y widget (a la Xnest) > * accelerated drivers for my video card > > So, only ten things. Should be easy enough... > " > > Okay, let's assume you want KDE -unaccelerated- to work on Y, > so you get all of the above for free, except KMail, Konqueror and KVim > instead of Thunderbird, FireFox and gvim. > > I did some research and here's mostly, > what have to be coded in Qt-3.3: > > For interests: > http://cvs.sourceforge.net/viewcvs.py/kde-cygwin/qt-3/src/kernel/ > > QPainter - The class using QPaintDevice > QPaintDevice - Every QWidget derivated inherits from this > QWidget > QApplication - startup routines and event handling > QInputcontext - If you want keyboard > QEventLoop - If you want mouse/kbd/tablet > > QFont - If you want fonts > QFontDatabase > QFontEngine > > QSound - If you want sound > QClipBoard - clipboard > QColor - color wrapper > QCursor > QDesktopWidget > QDND > QScriptEngine > > Simply just grep x11 from qt-copy. > > Basically, you just have to replace those files with Y protocol, > instead of X, Win32 or MacOS X. > > Unless you don't like KDE and > prefer Gnome, Xfce, fvwm95, Metacity, Fluxbox, IceWM or similar > then Xnest could be a better choice > or to write a full blown Desktop Environment in Y itself. > > Another point is that, > if you just need an mp3 player, you could use mpg123 in console. > Samething for vim, bitchX, lynx or pine/mutt > instead of gvim, irc client, firefox or thunderbird. > > Another solution is VMWare and similar. > > Have a nice day. > > Sincerely yours, > Fred. > > Y != X, and the long term plan I don't believe involves porting KDE or Gnome (or QT or GTK) onto it in any permanent/mainstream way. I think at some stage we'll want a GTK and/or QT compatibility layer just to make transition easier, but it would always be just a transitional aid to help bring more users and applications over to native Y. At this early stage, porting all of QT onto Y probably isn't the best direction to expend effort. From asuffield at debian.org Thu Feb 10 22:30:13 2005 From: asuffield at debian.org (Andrew Suffield) Date: Thu Feb 10 22:30:19 2005 Subject: [Y-devel] Setup of a new wiki - the beginning of a stronger userbase? In-Reply-To: <84621a6050210045930fe485c@mail.gmail.com> References: <84621a6050210045930fe485c@mail.gmail.com> Message-ID: <20050210223013.GB7220@suffields.me.uk> On Thu, Feb 10, 2005 at 06:59:36AM -0600, Brandon Black wrote: > At this > early stage, porting all of QT onto Y probably isn't the best > direction to expend effort. At this stage it would be a waste of time. There's half a dozen major blockers before any reasonable subset of the Qt and GTK+ functionality can reasonably be implemented; anything before that would be dead code. -- .''`. ** 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/20050210/4ea790cc/attachment.bin From vanag at telecom.ntua.gr Thu Feb 24 15:24:13 2005 From: vanag at telecom.ntua.gr (Vasileios Anagnostopoulos) Date: Thu Feb 24 14:47:23 2005 Subject: [Y-devel] Question on Developer Message-ID: <200502241724.13265.vanag@telecom.ntua.gr> Why consider Gnome/KDE when Gnustep/Windowmaker is enough in this respect. And they are in almost early/accesible stages. I think this would be a more easy to reach developer environment. On the other hand I am not an expert and maybe I am bull...ting you. I am very sorry if something like this happens. But what would be the drawback ? Can you explain me? Of course if and only if you have time. Thank you very much. Vasileios From xfurious at gmail.com Thu Feb 24 21:25:49 2005 From: xfurious at gmail.com (William Lahti) Date: Thu Feb 24 21:26:09 2005 Subject: [Y-devel] Question on Developer In-Reply-To: <200502241724.13265.vanag@telecom.ntua.gr> References: <200502241724.13265.vanag@telecom.ntua.gr> Message-ID: <925b3e0005022413252c66960d@mail.gmail.com> We're not really considering Gnome or KDE because as Andrew pointed out (in his grumbly way) it wouldnt have much of a point with the current state of Y. It may be more beneficial to work on other parts which are more needy. A friendly reminder to those who want to use Y as a desktop system now: it's really not one yet. We can't just try to hack it into one by porting Qt/Gtk/GnuStep to Y. Because that's what Y would be: one big hack. More time would be spent on keeping Qt/Gtk ports up to speed with the latest release than getting Y's widget set properly filled out. That is definitely the wrong path to travel down. On Thu, 24 Feb 2005 17:24:13 +0200, Vasileios Anagnostopoulos wrote: > Why consider Gnome/KDE when Gnustep/Windowmaker is enough in this respect. And > they are in almost early/accesible stages. I think this would be a more easy > to reach developer environment. On the other hand I am not an expert and > maybe I am bull...ting you. I am very sorry if something like this happens. > But what would be the drawback ? Can you explain me? Of course if and only if > you have time. > > Thank you very much. > Vasileios > > From xfurious at gmail.com Thu Feb 24 21:34:46 2005 From: xfurious at gmail.com (William Lahti) Date: Thu Feb 24 21:34:56 2005 Subject: [Y-devel] My Three Cents Message-ID: <925b3e0005022413341e266721@mail.gmail.com> Although I don't see much progress with this project lately, those complaining about it must realize that Mark's, Andrew's, Phil's and any other developers who are participating choose to volunteer their time to work on it, and they have every right to choose if they want to spend their time on it. A lot of vitality came from people interested in the eye candy Y initially made available, but then Keith's Kdrive server and later X.Org 6.8 introduced support for translucency on a platform that everyone had and used. That most certainly helped cause the current incubation of Y. There's also the fact that if people want something done, the open source philosophy is: do it yourself. I'm very much aware that many complainees don't have the technical skill or whatever, but the solution then if they want to help is to bring interested developers _here_. And I don't ever want to see a complainee quote "being too busy" as a reason they aren't helping themselves. Because *real* developers are allowed to be busy too. From dustinn at gmail.com Sun Feb 27 05:54:18 2005 From: dustinn at gmail.com (Dustin Norlander) Date: Sun Feb 27 05:54:28 2005 Subject: [Y-devel] Bug Message-ID: <25a36d28050226215438ad94d5@mail.gmail.com> Hi all, I found a memory problem in the protocal handling code. Problem: Invoking a getProperty method from the client frees the memory for the property in the server. The problem function (messageDespatchInvokeInstanceMethod in message.c) calls classInvokeInstanceMethod () which returns a *Tuple. Then the message is sent and the Tuple is destroyed. If you want to see this bug in action add this line into sample.cc: samplecheckbox->text.get(); I have been thinking about solutions, but I think most simple fixes are going to raise similar problems in other situations. Maybe someone out there who knows the code a little better can suggest a good fix? thanks, Dustin Norlander From asuffield at debian.org Sun Feb 27 13:04:34 2005 From: asuffield at debian.org (Andrew Suffield) Date: Sun Feb 27 13:04:41 2005 Subject: [Y-devel] Bug In-Reply-To: <25a36d28050226215438ad94d5@mail.gmail.com> References: <25a36d28050226215438ad94d5@mail.gmail.com> Message-ID: <20050227130434.GA12436@suffields.me.uk> On Sun, Feb 27, 2005 at 12:54:18AM -0500, Dustin Norlander wrote: > I found a memory problem in the protocal handling code. > > Problem: > Invoking a getProperty method from the client frees the memory for the > property in the server. The problem function > (messageDespatchInvokeInstanceMethod in message.c) calls > classInvokeInstanceMethod () which returns a *Tuple. Then the > message is sent and the Tuple is destroyed. > > If you want to see this bug in action add this line into sample.cc: > samplecheckbox->text.get(); > > I have been thinking about solutions, but I think most simple fixes > are going to raise similar problems in other situations. > > Maybe someone out there who knows the code a little better can suggest > a good fix? Allocation error in object.c, can't use tb_value there. Fixed it. -- .''`. ** 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/20050227/33b4930f/attachment.bin