-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Josh Williams wrote: > Although the code might > suck for those trying to read it, I think it could be very great with > a little regular maintenance.
Oh, I think it's probably already earned a reputation for greatness at this point. But yeah, it needs some maintenance work. Which is, of course, what I volunteered for in the first place :) > There still remains the question, though, of whether version 2 will > require a complete rewrite. Considering how fundamental these changes > are, I don't think we would have much of a choice. Right. The idea I... thought I had settled on, was to refactor what we have, until it is sufficiently pliable to start adding some of the version 2 features. If, OTOH, we're going to have two separate projects, there's less motivation to try to slowly rework everything under the sun; though there are obviously still sections that would benefit from refactoring (gethttp and http_loop are currently still right in my crosshairs). > You mentioned that > they could share code for recursion, but I don't see how. IIRC, the > code for recursion in the current version is very dependent on the > current methods of operation. It would probably have to be rewritten > to be shared. Yeah, the shared codebase would probably be pretty small. But the actual logic about how to parse HTML, or whether or not to descend, or comparing Web timestamps to local ones, should be sharable. But yes, after a rewrite of the relevant code. I don't think we'd have to "make" it happen, in particular; as we discover common logic that can be factored, we'll just... do it. > As for libcurl, I see no reason why not. Also, would these be two > separate GNU projects? Would they be packaged in the same source code, > like finch and pidgin? Probably not packaged together. People who want the traditional Wget are not gonna want to download the JavaScript and MetaLink support code. :\ We should keep it as tight as possible. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer... http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHKARG7M8hyUobTrERCGHUAJ9a8KP5QV05mZqy1PHhNU0WEjkp7wCbBiG1 qohy2y3OjJZnPT1ErfkkVHw= =XXre -----END PGP SIGNATURE-----
