/[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.158 by kaz, Sat Aug 24 22:32:35 2002 UTC revision 1.159 by kaz, Sat Aug 31 20:53:13 2002 UTC
# Line 1  Line 1 
1    2002-08-31  Kaz Kylheku  <kaz@ashi.footprints.net>
2    
3            Merging new symbolic link support from symlink-branch.
4    
5            * mapping.lisp (mapping-update): Resolve merge conflict.
6            The branch fixed the 2002-08-24 bug also.
7    
8    2002-08-31  Kaz Kylheku  <kaz@ashi.footprints.net>
9    
10            * code/grab.lisp (move-candidates): Function renamed to
11            determine-moved-files.
12            (determine-moved-symlinks): New function, doesn't do anything
13            yet.
14            (mcvs-grab): Updated to process symlinks and use new
15            mapping-entry structure.
16    
17    2002-08-26  Kaz Kylheku  <kaz@ashi.footprints.net>
18    
19            * code/remap.lisp (mcvs-remap): Use new mapping entry structure.
20            For now, preserve symbolic link entries as they are, processing only
21            files.
22    
23            * code/mapping.lisp (equal-mapping-entries, equal-mappings): New
24            functions.
25    
26    2002-08-25  Kaz Kylheku  <kaz@ashi.footprints.net>
27    
28            * code/clisp-unix.lisp (initialize-instance link-error): Make
29            error message less confusing about which path refers to the
30            object being created, and which path refers to what it links to.
31    
32            * code/mapping.lisp (mapping-rename-files): Bugfix: destructuring-bind
33            appeared in place of with-slots.
34            (mapping-synchronize): When creating symbolic link, ensure that
35            its directory exists.
36            (mapping-update): Likewise.
37    
38    2002-08-25  Kaz Kylheku  <kaz@ashi.footprints.net>
39    
40            * code/add.lisp (mcvs-add): Change to new mapping-entry data structure
41            and handle symbolic links.
42    
43            * code/create.lisp (mcvs-create): Likewise.
44    
45            * code/filt.lisp (make-filt-hash, mcvs-filt): Change to new
46            mapping-entry data structure. Filt does not care about symlinks.
47    
48            * code/types.lisp (types-remove-ignores, types-make-cvs-adds):
49            Change to new mapping-entry data structure.
50    
51            * code/mapping.lisp (mapping-generate-name): Renamed to
52            mapping-generate-id. Interface changes slightly.
53            (mapping-extract-kind): New function, factored out from mcvs-generic.
54            (mapping-update): Unlink existing symbolic link before
55            re-linking it.
56    
57            * code/convert.lisp (mcvs-convert): Use new name and interface
58            of mapping-generate-name function.
59    
60            * code/create.lisp (mcvs-create): Likewise.
61    
62            * code/generic.lisp (mcvs-generic): Code to extract :file
63            entries from map factored out to mapping-extract-kind.
64    
65    
66    2002-08-25  Kaz Kylheku  <kaz@ashi.footprints.net>
67    
68            * code/generic.lisp (mcvs-generic): Use new mapping-entry data structure.
69            Filter out mapping entries which are other than of the :file type, so
70            we don't pass to CVS things it doesn't know about, like symbolic
71            links.
72    
73    2002-08-24  Kaz Kylheku  <kaz@ashi.footprints.net>
74    
75            Support for symbolic links added to the mapping module.  The format of
76            the map file has changed to accomodate this.  The new format of the
77            list entries is (:keyword "id" "path" ...) where the keyword is either
78            :file or :symlink (for now, extensible obviously), "id" is a unique
79            identifier (for regular files, it is their MCVS/F-* name) and "path" is
80            the sandbox path. Other things can follow; for symlinks, there is a
81            string representing the symlink target.  Internally, a new data type
82            called mapping-entry is used; this is a struct. So the functions which
83            read and write maps now convert between the struct format and the above
84            format.
85    
86            * code/unix-bindings/unix.lisp (unix-funcs:readlink): New function.
87    
88            * code/unix-bindings/impl.c (impl_readlink): New function.
89    
90            * code/clisp-unix.lisp (readlink-error): New condition.
91            (initialize-instance readlink-error): New method for
92            initialize-instance generic function, specialized for readlink-error.
93            (readlink): New function.
94    
95            * code/mapping.lisp (mapping-entry): New struct, with slots
96            file, id, path and target.
97            (mapping-same-object-p): Renamed to mapping-same-id-p.
98            (mapping-object-lookup, mapping-moved-p): Unused functions removed.
99            (mapping-extract-paths, mapping-lookup, mapping-prefix-lookup,
100            mapping-prefix-matches, mapping-same-path-p, mapping-rename-files,
101            mapping-removed-files): Functions updated to use the new data
102            structure.
103            (mapping-dupe-checks): Rewritten for new data structure, and to
104            use hashes rather than silly sorting.
105            (mapping-convert-old-style-in, mapping-convert-in,
106            mapping-convert-out): New functions.
107            (mapping-read): Handle new and old style representations,
108            handle conversion to internal representation.
109            (mapping-write): Convert to new-style external representation
110            before writing out.
111            (mapping-synchronize): Handle symbolic links. If a link is missing,
112            create it. If it's present but different from what it should be,
113            erase it and re-create it.
114            (mapping-update): Use new data structure. Handle symbolic links.
115    
116            * code/remove.lisp (mcvs-remove): Refer to new function
117            name, mapping-same-id-p.
118    
119  2002-08-24  Kaz Kylheku  <kaz@ashi.footprints.net>  2002-08-24  Kaz Kylheku  <kaz@ashi.footprints.net>
120    
121          * mapping.lisp (mapping-update): Bugfix          * mapping.lisp (mapping-update): Bugfix
122          in logic which prints clobbering moves. The functions          in logic which prints clobbering moves. The functions
123          abstract-to-real-path and second were applied in the wrong order.          abstract-to-real-path and second were applied in the wrong order.
124    
125    2002-08-23  Kaz Kylheku  <kaz@ashi.footprints.net>
126    
127            * code/clisp-unix.lisp (link-error): New slot, kind. Holds
128            the string "symbolic" or "hard".
129            (initialize-instance link-error): Use new slot in constructing
130            message.
131            (link): Specify "hard" value for :kind slot of condition.
132            (symlink): New function.
133    
134            * code/clisp-linux.lisp: Likewise.
135    
136  2002-08-17  Kaz Kylheku  <kaz@ashi.footprints.net>  2002-08-17  Kaz Kylheku  <kaz@ashi.footprints.net>
137    
138          * posix.lisp (execute-program): Function removed.          * code/posix.lisp (execute-program): Function removed.
139          * clisp-linux.lisp (execute-program): Function added. Works          * code/clisp-linux.lisp (execute-program): Function added. Works
140          in terms of CLISP's run-program function rather than the shell          in terms of CLISP's run-program function rather than the shell
141          function, thus eliminating the need to build a command string          function, thus eliminating the need to build a command string
142          and escape shell characters.          and escape shell characters.
# Line 15  Line 144 
144    
145  2002-08-17  Kaz Kylheku  <kaz@ashi.footprints.net>  2002-08-17  Kaz Kylheku  <kaz@ashi.footprints.net>
146    
147          * posix.lisp (edit-file): Function renamed to invoke-file-on,          * code/posix.lisp (edit-file): Function renamed to invoke-file-on,
148          because this name clashes with a standard Common Lisp symbol.          because this name clashes with a standard Common Lisp symbol.
149          * types.lisp (types-let-user-edit): Updated to use new name.          * code/types.lisp (types-let-user-edit): Updated to use new name.
150    
151  2002-08-05  Kaz Kylheku  <kaz@ashi.footprints.net>  2002-08-05  Kaz Kylheku  <kaz@ashi.footprints.net>
152    

Legend:
Removed from v.1.158  
changed lines
  Added in v.1.159

  ViewVC Help
Powered by ViewVC 1.1.5