/[meta-cvs]/meta-cvs/F-0C9187C87304A15BD59A42657A3BE5A3
ViewVC logotype

Diff of /meta-cvs/F-0C9187C87304A15BD59A42657A3BE5A3

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.157 by kaz, Sat Aug 17 19:26:26 2002 UTC revision 1.157.2.4 by kaz, Sun Aug 25 18:20:44 2002 UTC
# Line 1  Line 1 
1    2002-08-25  Kaz Kylheku  <kaz@ashi.footprints.net>
2    
3            * code/add.lisp (mcvs-add): Change to new mapping-entry data structure
4            and handle symbolic links.
5    
6            * code/types.lisp (types-remove-ignores, types-make-cvs-adds):
7            Change to new mapping-entry data structure.
8    
9            * code/mapping.lisp (mapping-generate-name): Renamed to
10            mapping-generate-id. Interface changes slightly.
11            (mapping-extract-kind): New function, factored out from mcvs-generic.
12            (mapping-update): Unlink existing symbolic link before
13            re-linking it.
14    
15            * code/convert.lisp (mcvs-convert): Use new name and interface
16            of mapping-generate-name function.
17    
18            * code/create.lisp (mcvs-create): Likewise.
19    
20            * code/generic.lisp (mcvs-generic): Code to extract :file
21            entries from map factored out to mapping-extract-kind.
22    
23    
24    2002-08-25  Kaz Kylheku  <kaz@ashi.footprints.net>
25    
26            * code/generic.lisp (mcvs-generic): Use new mapping-entry data structure.
27            Filter out mapping entries which are other than of the :file type, so
28            we don't pass to CVS things it doesn't know about, like symbolic
29            links.
30    
31    2002-08-24  Kaz Kylheku  <kaz@ashi.footprints.net>
32    
33            Support for symbolic links added to the mapping module.  The format of
34            the map file has changed to accomodate this.  The new format of the
35            list entries is (:keyword "id" "path" ...) where the keyword is either
36            :file or :symlink (for now, extensible obviously), "id" is a unique
37            identifier (for regular files, it is their MCVS/F-* name) and "path" is
38            the sandbox path. Other things can follow; for symlinks, there is a
39            string representing the symlink target.  Internally, a new data type
40            called mapping-entry is used; this is a struct. So the functions which
41            read and write maps now convert between the struct format and the above
42            format.
43    
44            * code/unix-bindings/unix.lisp (unix-funcs:readlink): New function.
45    
46            * code/unix-bindings/impl.c (impl_readlink): New function.
47    
48            * code/clisp-unix.lisp (readlink-error): New condition.
49            (initialize-instance readlink-error): New method for
50            initialize-instance generic function, specialized for readlink-error.
51            (readlink): New function.
52    
53            * code/mapping.lisp (mapping-entry): New struct, with slots
54            file, id, path and target.
55            (mapping-same-object-p): Renamed to mapping-same-id-p.
56            (mapping-object-lookup, mapping-moved-p): Unused functions removed.
57            (mapping-extract-paths, mapping-lookup, mapping-prefix-lookup,
58            mapping-prefix-matches, mapping-same-path-p, mapping-rename-files,
59            mapping-removed-files): Functions updated to use the new data
60            structure.
61            (mapping-dupe-checks): Rewritten for new data structure, and to
62            use hashes rather than silly sorting.
63            (mapping-convert-old-style-in, mapping-convert-in,
64            mapping-convert-out): New functions.
65            (mapping-read): Handle new and old style representations,
66            handle conversion to internal representation.
67            (mapping-write): Convert to new-style external representation
68            before writing out.
69            (mapping-synchronize): Handle symbolic links. If a link is missing,
70            create it. If it's present but different from what it should be,
71            erase it and re-create it.
72            (mapping-update): Use new data structure. Handle symbolic links.
73    
74            * code/remove.lisp (mcvs-remove): Refer to new function
75            name, mapping-same-id-p.
76    
77    2002-08-23  Kaz Kylheku  <kaz@ashi.footprints.net>
78    
79            * code/clisp-unix.lisp (link-error): New slot, kind. Holds
80            the string "symbolic" or "hard".
81            (initialize-instance link-error): Use new slot in constructing
82            message.
83            (link): Specify "hard" value for :kind slot of condition.
84            (symlink): New function.
85    
86            * code/clisp-linux.lisp: Likewise.
87    
88  2002-08-17  Kaz Kylheku  <kaz@ashi.footprints.net>  2002-08-17  Kaz Kylheku  <kaz@ashi.footprints.net>
89    
90          * posix.lisp (execute-program): Function removed.          * code/posix.lisp (execute-program): Function removed.
91          * clisp-linux.lisp (execute-program): Function added. Works          * code/clisp-linux.lisp (execute-program): Function added. Works
92          in terms of CLISP's run-program function rather than the shell          in terms of CLISP's run-program function rather than the shell
93          function, thus eliminating the need to build a command string          function, thus eliminating the need to build a command string
94          and escape shell characters.          and escape shell characters.
# Line 9  Line 96 
96    
97  2002-08-17  Kaz Kylheku  <kaz@ashi.footprints.net>  2002-08-17  Kaz Kylheku  <kaz@ashi.footprints.net>
98    
99          * posix.lisp (edit-file): Function renamed to invoke-file-on,          * code/posix.lisp (edit-file): Function renamed to invoke-file-on,
100          because this name clashes with a standard Common Lisp symbol.          because this name clashes with a standard Common Lisp symbol.
101          * types.lisp (types-let-user-edit): Updated to use new name.          * code/types.lisp (types-let-user-edit): Updated to use new name.
102    
103  2002-08-05  Kaz Kylheku  <kaz@ashi.footprints.net>  2002-08-05  Kaz Kylheku  <kaz@ashi.footprints.net>
104    

Legend:
Removed from v.1.157  
changed lines
  Added in v.1.157.2.4

  ViewVC Help
Powered by ViewVC 1.1.5