Genny Test v0.28 released, Tue, 24 Apr 2001 21:53:15

Greetings all,
Fixed and changed:
I think I have finally decided in an import format. Everything is imported by name on the top of each function. It makes for a lot of importting lines, but I think it is clearest to the programmer.
I have changed the file service to delimit search results with null zeros instead of newlines. This is saner.
Some code has been marked as nonportable to make life easier for would be porters to non-Unix.
File transfers are tagged with the URL they are attempting to download,
and the exit status is reported with the URL when the getting process returns. You can know if your get succeeded or failed.
The identifiers dictionary has been made into a saner struct, which makes the code less line noisy and easier to read.
I wrote a couple library functions for switching around IP address strings and their raw form. Also, the configuration dictionary keeps IP addresses in their raw form as opposed a string, now.
I fixed a small bug in the user interface that would cause a crash when you managed to send it an empty string, or something like that.
The code now ignores non-connection related packets from connections that are not fully connected.
Miscellaneous other changes.
The Foo and Bar connection-checking thing has been changed to make disconnections due to dropped packets less likely. Foos are now sent every thirty seconds, and four bars in a row have to be dropped.
I changed the arguments of gennylib.control so you can send the routing header (first ten bytes of the header) to it as an argument, and it will send that. That is so it can use the 0.8 version of the Control Service's way of Foo and Barring. I put the foo/bar random data in the header since it wasn't being used, aren't I smart.
Not much changed in chat land, except for the way I like doing imports now.
I wrote a search() in genny_file which is just compares a search query with a pathname, and returns a bool according to whether or not it matches.
I split handle_genny_file into three functions, two more being handle_genny_file_search and handle_genny_file_hits, and boy does that look nicer.
And misc. other changes in the file service.
I have uploaded the new protocol documents.
Plans and news:
To document the file service!
To implement my PUSHREQ ideas and then document them with the file service when they work.
Write channels and /msg into the chat service.
Write /ignore into the chat service. That'll be some work, I think.
If no critical bugs are found pretty soon, I am going to release this as an alpha release. I am going to encourage publicity about this alpha release as well. I'm nervous. :-/
TomG

Home: Genny: Posts