Parent Directory | Revision Log
|Links to HEAD:||(view) (annotate)|
|Links to old-convert-hacking-branch:||(view) (annotate)|
Found some old uncommited sources dating back to 2002-03-20, which appear to make progress in mcvs-convert. I'm stuffing them into this branch. * tree-map.lisp: New file. (tree-mapcar, tree-mapcan): New functions. * rcs-utils.lisp (rcs-file): Struct extended with some new slots. (rcs-extract-id-or-sym): Convert a version number to a vector, and store this as the lexeme slot of the token. (rcs-make-delta-hash): Construct the hash over the version slot rather than the next slot of each delta node. (rcs-make-sym-rev-hash): New function, to create new kind of hash. (rcs-parse): Make the new type of hash too, and add it to the rcs-file struct. (cvs-branch-number): New function. (rcs-build-version-tree, rcs-condense-version-tree, rcs-build-tag-tree, rcs-composite-tag-trees): New functions. * MCVS/MAP: File is being upgraded to new format.
* rcsparse.lisp: File renamed to rcs-utils.lisp. (rcs-delta): New slot, delta-hash. (rcs-make-delta-hash): New function. (rcs-parse): Calls rcs-make-delta-hash to set up new slot. * convert.lisp: require changed to match file rename.
Some new macros for slot access. * slot-refs.lisp: New file. (with-slot-refs): New macro. (with-multi-slot-refs): New macro. * rcsparse.lisp (rcs-parse-newphrases, rcs-parse-admin, rcs-parse-delta): Replace uses of symbol-macrolet by with-slot-refs and with-multi-slot-refs.
* rcsparse.lisp (rcs-delta): New struct. (rcs-file): New slot, deltas. (rcs-parse-newphrases): New function, factors out parsing of ``newphrases'' syntactic element out of rcs-parse-admin. (rcs-parse-admin): Use rcs-parse-newphrases. (rcs-parse-delta, rcs-parse-deltas): New functions. (rcs-parse): Parse both admin and deltas; store deltas in new rcs-file slot.
* posix.lisp (parse-posix-namestring): New function. Converts POSIX path to CL Path object. * rcsparse.lisp: New file (rcs-admin, rcs-file, rcs-token, rcs-token-stream): New structs. (rcs-peek-token, rcs-read-token): New generic functions. (rcs-extract-id-sym-or-num, rcs-extract-string, rcs-match-optional, rcs-match-token, rcs-parse, rcs-parse-admin, rcs-special-p): New functions. * convert.lisp (classify-tags): Work with association list rather than raw strings. (mcvs-convert): Use rcs-parse to extract tags. Fix call to mapping-generate name. Use parse-posix-namestring when opening version file. Generate informative chatter.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
|Powered by ViewVC 1.1.5|