/[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.205 by kaz, Thu Oct 10 05:56:15 2002 UTC revision 1.205.2.57 by kaz, Sun Mar 2 07:22:31 2003 UTC
# Line 1  Line 1 
1    2003-03-01  Kaz Kylheku  <kaz@ashi.footprints.net>
2    
3            * code/restart.lisp (super-restart-case-expander): Roll the
4            functionality of :report-format into :report.
5            (super-restart-case): Slight rearrangement of the tagbody
6            to eliminate the skip around the out-code.
7    
8    2003-03-01  Kaz Kylheku  <kaz@ashi.footprints.net>
9    
10            * code/restart.lisp (super-restart-case-expander): New function.
11            (super-restart-case): New macro.
12    
13            * code/create.lisp (mcvs-create): Rewrite a restart-bind
14            construct more succinctly using super-restart-case.
15    
16    2003-02-26  Kaz Kylheku  <kaz@ashi.footprints.net>
17    
18            * code/create.lisp (mcvs-create): After the TYPES file is
19            edited, scan the MCVS directory for unexpected files.
20            The intent is to detect text editor backups. If any are
21            found, some interactive error handling lets the user acknowledge
22            their deletion. If they are not deleted, then cvs import will
23            bring them into the repository. This behavior was discovered
24            by Johannes Grødem who suggested that it could be handled.
25    
26    2003-02-25  Kaz Kylheku  <kaz@ashi.footprints.net>
27    
28            * code/unix-bindings/wrap.c (mcvs_spawn): One more waitpid() bug!
29            The SIGCHLD signal handler was being set in the child process only,
30            so although we fixed the waitpid() behavior in the CVS child
31            process, we did not fix it in the Meta-CVS process. The ECHILD
32            problem was sporadically reproduced by Johannes Grødem on a fast
33            Athlon machine; it requires CVS to exit before Meta-CVS reaches
34            the waitpid() call.
35    
36    2003-02-24  Kaz Kylheku  <kaz@ashi.footprints.net>
37    
38            * code/options.lisp (format-opt): Some one-argument options of
39            CVS must appear as one command parameter, with no separation
40            between the option letter and the argument characters.
41            For example, ``cvs log -r foo::bar'' is invalid, it must
42            be ``cvs log -rfoo::bar''.  The format-opt function now
43            formats *all* one-letter options that have one argument
44            as one string.
45    
46    2003-02-23  Kaz Kylheku  <kaz@ashi.footprints.net>
47    
48            * code/mcvs-main.lisp (*usage*): Add help text for --up option.
49    
50    
51    2003-02-20  Kaz Kylheku  <kaz@ashi.footprints.net>
52    
53            Fix remaining occurences of SIG_IGN action for SIGCHLD being
54            passed to child processes.
55    
56            * code/unix-bindings/unix.lisp (unix-funcs:default-sigchld): New call
57            out function.
58    
59            * code/clisp-unix.lisp (with-input-from-program,
60            with-output-to-program): Call the new default-sigchild function
61            to set SIGCHILD signal handler to SIG_DFL just before creating
62            the pipe.
63    
64            * code/unix-bindings/wrap.c (mcvs_default_sigchld): New function.
65    
66    2003-02-12  Kaz Kylheku  <kaz@ashi.footprints.net>
67    
68            New --up option added for escaping out of nested sandboxes.
69    
70            * code/mcvs-main.lisp (*cvs-options*): Added "up" 1 arg option.
71    
72            * code/options.lisp (*nesting-escape-option*): New global,
73            default value 0.
74            (filter-mcvs-options): Filter new option, parse out and validate
75            integer argument.
76    
77            * code/mapping.lisp (mcvs-locate): When searching for MCVS
78            directory, skip N matches, where N is the value of
79            *nesting-escape-option*.
80    
81    2003-02-12  Kaz Kylheku  <kaz@ashi.footprints.net>
82    
83            * code/mcvs-main.lisp (*cvs-options*): Constant renamed
84            to *global-options*.
85    
86    2003-02-12  Kaz Kylheku  <kaz@ashi.footprints.net>
87    
88            * code/unix-bindings/wrap.c (mcvs-spawn): In the child process,
89            reset the signal handler for SIGCHLD to SIG_DFL before exec-ing
90            the new image. This is needed because CLISP set it to SIG_IGN,
91            which causes child reaping problems in spawned programs.
92            This should fix the ``No child processes'' problem when running
93            CVS from Meta-CVS.
94    
95    2003-02-11  Kaz Kylheku  <kaz@ashi.footprints.net>
96    
97            * code/memoize.lisp (remove-key-aux-rest, strip-lambda-list,
98            extract-tests, remove-tests, memoize-expander, factor-memo-labels,
99            define-memoized-function, memoized-labels): Documentation strings
100            added to this cryptic code.
101    
102    2003-02-02  Kaz Kylheku  <kaz@ashi.footprints.net>
103    
104            Make tag command work on whole tree if no arguments are given,
105            just like commit.
106    
107            * code/generic.lisp (mcvs-generic): no-fix-empty-filelist keyword
108            parameter renamed to global-if-empty-file-list, which more closely
109            reveals the purpose.
110            (mcvs-commit-wrapper): Use new keyword name.
111            (mcvs-tag-wrapper): Specify T value for :global-if-empty-filelist
112            argument, so the whole project is tagged by default if no arguments
113            are given.
114    
115    2003-02-01  Kaz Kylheku  <kaz@ashi.footprints.net>
116    
117            * code/unix-bindings/wrap.c (impl_spawn): Try waitpid again in a loop
118            while it returns -1, and errno is EINTR.
119            Reported by Johannes Grødem <johs@copyleft.no>.
120    
121    2003-01-30  Kaz Kylheku  <kaz@ashi.footprints.net>
122    
123            * code/posix.lisp: Move some (declaim inline) to the correct
124            location, before the function to be inlined.
125    
126            * code/clisp-unix.lisp: Likewise.
127            * code/cmucl-unix.lisp: Likewise.
128            * code/mapping.lisp: Likewise.
129    
130    2003-01-25  Kaz Kylheku  <kaz@ashi.footprints.net>
131    
132            * code/unix-bindings/wrap.c (mcvs_getcwd): If getcwd() returns
133            NULL, it only means that the buffer is too small if errno is also
134            set to ERANGE. This second condition was not being tested.
135            Reported by Johannes Grødem <johs@copyleft.no>.
136    
137            * code/clisp-unix.lisp (getcwd-error): New condition.
138            (initialize-instance (getcwd-error)): New method.
139            (getcwd): Raise getcwd-error condition if unix-funcs::getcwd
140            returns NIL.
141    
142    2003-01-15  Kaz Kylheku  <kaz@ashi.footprints.net>
143    
144            * code/unix-bindings/impl.c: File renamed to wrap.c.
145            (impl_null_pointer_p, impl_get_errno, impl_set_errno, impl_readdir,
146            impl_readlink, impl_stat, impl_lstat, impl_fstat, impl_getcwd,
147            impl_spawn): Prefix changed from ``impl_'' to ``mcvs_''.
148    
149            * code/unix-bindings/link.sh, code/unix-bindings/Makefile,
150            code/unix-bindings/unix.lisp: Updated accordingly.
151    
152    2003-01-13  Kaz Kylheku  <kaz@ashi.footprints.net>
153    
154            Support -k CVS option in merge and remerge commands.
155            Reported by Jamie Wellnitz.
156    
157            * code/mcvs-main.lisp (*merge-options*, *remerge-options*): Add
158            one argument -k option.
159    
160            * code/merge.lisp (mcvs-merge): Support extra argument for passing
161            command options. Pass them down to mcvs-update.
162            (mcvs-merge-wrapper, mcvs-remerge-wrapper): Don't ignore command
163            options but pass them to mcvs-merge.
164    
165    2003-01-13  Kaz Kylheku  <kaz@ashi.footprints.net>
166    
167            * code/install.sh: More fail-safe way to locate library directory;
168            works even when clisp executable is a symlink.  Thanks to Sam
169            Steingold, CLISP maintainer, for tip.
170    
171    2003-01-12  Kaz Kylheku  <kaz@ashi.footprints.net>
172    
173            Hard link sync optimization.
174    
175            * code/mapping.lisp (mapping-synchronize): New optional parameter,
176            specifies map to use instead of reading *map-local*.
177    
178            * code/mcvs-generic.lisp (mcvs-generic): Pass extra parameter to
179            mapping-synchronize to only sync the selected subset of files.
180    
181    2003-01-01  Kaz Kylheku  <kaz@ashi.footprints.net>
182    
183            * code/unix-bindings/impl.c (impl_spawn): For Cygwin, re-implemented
184            this function as a wrapper for the spawnvp function. The combination
185            of fork + execvp + waitpid does not work because waitpid is broken;
186            it waits for thep rocess, but then returns -1 and sets errno
187            to ECHILD.
188    
189    2002-12-27  Kaz Kylheku  <kaz@ashi.footprints.net>
190    
191            * code/options.lisp (process-cvs-options): The version number
192            now has three components.
193    
194    2002-12-13  Kaz Kylheku  <kaz@ashi.footprints.net>
195    
196            * code/install.sh: Now works under CLISP installations which
197            call the CLISP executable lisp.exe rather than lisp.run.
198            This is the case under Cygwin as of CLISP 2.30 or so.
199    
200    2002-12-03  Kaz Kylheku  <kaz@ashi.footprints.net>
201    
202            * code/sync.lisp (synchronize-files): Call exec-check using
203            file info object, rather than file name. This cuts in half
204            the number of calls to stat().
205    
206    2002-12-03  Kaz Kylheku  <kaz@ashi.footprints.net>
207    
208            Discontinuing use of CLISP's ext:run-program function in favor
209            of a new workalike which doesn't rely on the shell interpreter.
210    
211            * code/unix-bindings/unix.lisp (unix-funcs:spawn): New C call out
212            function (unix-funcs:run-program): New function, implemented using
213            spawn.
214    
215            * code/unix-bindings/impl.c (impl_spawn): New function; wraps
216            up fork, execvp and waitpid.
217    
218            * code/clisp-unix.lisp: Switch from ext:run-program to
219            unix-funcs:run-program.
220    
221    2002-11-20  Kaz Kylheku  <kaz@ashi.footprints.net>
222    
223            Some security fixes.  Funny I didn't think of this sooner!
224    
225            * code/types.lisp (types-read): Make sure *read-eval* is bound to
226            nil when calling READ.
227    
228            * code/mapping.lisp (mapping-read-raw-map, displaced-path-read):
229            Likewise.
230    
231    
232    2002-11-16  Kaz Kylheku  <kaz@ashi.footprints.net>
233    
234            * code/posix.lisp (invoke-editor-on): Honor the CVSEDITOR and VISUAL
235            environment variables, not just EDITOR.
236    
237    2002-11-09  Kaz Kylheku  <kaz@ashi.footprints.net>
238    
239            * code/link.lisp (mcvs-link): Revamped link command to behave properly
240            when the destination object is a directory. It must create the link in
241            that directory, rather than try to create a link with that name.
242            Plus handles various tricky cases. Trailing slash in destination name,
243            destination that is a directory within target directory, attempted
244            link creation in MCVS etc.
245    
246    2002-11-03  Kaz Kylheku  <kaz@ashi.footprints.net>
247    
248            More support for -n option.
249    
250            * code/mcvs-main.lisp (*usage*): Document -n option.
251    
252            * code/move.lisp (mcvs-move-wrapper): Remove bogus error check
253            for presence of global options.
254    
255            * code/options.lisp (honor-dry-run): New macro for conditionally
256            not executing some forms if it's a dry run, and logging some
257            debugging information.
258    
259            * code/sync.lisp (synchronize-files): Honor dry run.
260    
261            * code/mapping.lisp (mapping-synchronize, mapping-update): Likewise.
262    
263    2002-11-03  Kaz Kylheku  <kaz@ashi.footprints.net>
264    
265            Start of support for global option -n (dry run).
266    
267            * code/options.lisp (*dry-run-option*): New boolean variable.
268            (process-cvs-options): Look for -n and set *dry-run-option*.
269    
270            * code/types.lisp (types-write): Do not write file if *dry-run-option*
271            is true.
272    
273            * code/types.lisp (mapping-write): Likewise.
274    
275            * code/add.lisp (mcvs-add): When calling types-let-user-edit,
276            temporarily disable the dry run option, so that TYPES-NEW can
277            be written. When the dry run option is in effect, do not try
278            to cvs add the TYPES file.
279    
280    2002-11-03  Kaz Kylheku  <kaz@ashi.footprints.net>
281    
282            * code/branch.lisp (*branch-help*): New string constant.
283    
284            * code/mcvs-main.lisp (*mcvs-command-table*): *branch-help* hooked in.
285    
286    2002-11-02  Kaz Kylheku  <kaz@ashi.footprints.net>
287    
288            * code/mcvs-main (*args*, *options*): Unused variables removed.
289            (mcvs-execute): Global option processing code removed.
290    
291            * code/options.lisp (*print-usage*): New boolean variable; tells
292            mcvs-execute to print usage and terminate.
293            (filter-mcvs-options): New function. Does the job that
294            filter-global-options did.
295            (process-cvs-options): Does the global option processing that
296            was previously in mcvs-execute.
297            (filter-global-options): Now just calls filter-mcvs-options,
298            process-cvs-options.
299    
300    2002-11-02  Kaz Kylheku  <kaz@ashi.footprints.net>
301    
302            * INSTALL: Include caveat about GCC 3 problems.
303    
304    2002-10-30  Kaz Kylheku  <kaz@ashi.footprints.net>
305    
306            * code/prop.lisp (mcvs-prop): If there are no options specified,
307            don't do anything.
308    
309    2002-10-30  Kaz Kylheku  <kaz@ashi.footprints.net>
310    
311            * code/unix-bindings/unix.lisp: Rewrote defpackage to take only
312            selected symbols from CLISP's FFI package rather using the whole
313            thing. FFI, and the packages it uses, are moving targets.
314            The symbol def-c-call-out is interned in unix-funcs.
315            (unix-funcs:def-c-call-out): New internal macro. CLISP says that
316            ffi:def-c-call-out is obsolescent.
317    
318            * code/unix-bindings/Makefile: The ``clean'' target removes
319            unix.lib, not only unix.fas.
320    
321    2002-10-27  Kaz Kylheku  <kaz@ashi.footprints.net>
322    
323            Bugfix to the directory restructuring code. A clobbering
324            file add was not actually removing the clobbered file, but leaving
325            it up to the synchronization algorithm, so the time-stamp would
326            decide whether the local file gets clobbered by the repository one,
327            or whether it wins.
328    
329            * code/mapping.lisp (mapping-update): Logic for handling added
330            file ensures that a clobbered local file is removed first.
331    
332    2002-10-26  Kaz Kylheku  <kaz@ashi.footprints.net>
333    
334            New link command for creating symlinks.
335    
336            * mcvs-main.lisp (*link-options*): New option constant.
337            (*mcvs-command-table*): Entries for new command added.
338            (*usage*): Help text added.
339    
340            * link.lisp: New file.
341            (mcvs-link, mcvs-link-wrapper): New functions.
342    
343    2002-10-26  Kaz Kylheku  <kaz@ashi.footprints.net>
344    
345            * code/grab.lisp (*grab-help*): Rewritten.
346    
347            * code/checkout.lisp (*export-help*): Formatted for 80 columns.
348    
349    2002-10-26  Kaz Kylheku  <kaz@ashi.footprints.net>
350    
351            * code/mcvs-main.lisp (*usage*): Expand tabs to spaces.
352    
353            * code/add.lisp (*add-help*): Likewise.
354    
355            * code/remove.lisp (*remove-help*): Likewise.
356    
357            * code/create.lisp (*create-help*): Likewise.
358    
359    2002-10-26  Kaz Kylheku  <kaz@ashi.footprints.net>
360    
361            * code/purge.lisp (mcvs-purge): Get rid the processing of the
362            nonexistent -n option from purge code.  The global option -n does an
363            adequate job of implementing a dry run.
364    
365    2002-10-26  Kaz Kylheku  <kaz@ashi.footprints.net>
366    
367            * code/mapping.lisp (mapping-removed-files): Skip over the MCVS/CVS
368            directory, which can contain CVS-generated files with F- names and a ,t
369            suffix. These trip up the algorithm.
370    
371    2002-10-21  Kaz Kylheku  <kaz@ashi.footprints.net>
372    
373            Add help to move command.
374    
375            * code/mcvs-main.lisp (*mcvs-command-table*): Added *move-help*.
376    
377            * code/move.lisp (*mcvs-help*): New constant.
378    
379    2002-10-20  Kaz Kylheku  <kaz@ashi.footprints.net>
380    
381            Fix broken ``filt -r''.
382    
383            * code/mapping.lisp (mapping-read-raw-map): New function; reads
384            map from stream and does sanity check.
385            (mapping-read): Argument can be a filename or stream. Call to
386            mapping-read-raw-map to factor out common code for both cases.
387    
388            * code/filt.lisp (filt-select-map): This was still just
389            reading the raw structure from the cvs coprocess, which worked under
390            the old map format, when the internal and external representations
391            were the same. Now it calls mapping-read on the stream.
392    
393    2002-10-19  Kaz Kylheku  <kaz@ashi.footprints.net>
394    
395            * UPGRADE-EXISTING: New file.
396    
397    2002-10-19  Kaz Kylheku  <kaz@ashi.footprints.net>
398    
399            * code/mcvs-main.lisp: Clear out *modules* list before requiring
400            modules. This is needed so that mcvs-upgrade works, because there
401            is already a populated list in the Lisp image.
402    
403    2002-10-17  Kaz Kylheku  <kaz@ashi.footprints.net>
404    
405            Detect failure to start text editor.
406    
407            * code/posix.lisp (*editor*): Change name to *mcvs-editor*, due
408            to name-clash with a CLISP extension!
409    
410            * code/mcvs-main.lisp: Likewise.
411    
412            * code/types.lisp (types-let-user-edit): Provide an individual
413            restart-case block around the invocation of the text editor,
414            which lets the user re-try the editor.
415    
416    2002-10-14  Kaz Kylheku  <kaz@ashi.footprints.net>
417    
418            Compiler warning fix.
419    
420            * code/posix.lisp (*argument-limit*): Constant moved here.
421    
422            * code/clisp-unix.lisp (*argument-limit*): Constant removed.
423    
424            * code/cmucl-unix.lisp (*argument-limit*): Likewise.
425    
426    2002-10-13  Kaz Kylheku  <kaz@ashi.footprints.net>
427    
428            * code/install.sh: generate a script called mcvs-upgrade.
429    
430    2002-10-13  Kaz Kylheku  <kaz@ashi.footprints.net>
431    
432            * code/prop.lisp (mcvs-prop): Read *mcvs-map*, not *mcvs-map-local*.
433    
434    2002-10-13  Kaz Kylheku  <kaz@ashi.footprints.net>
435    
436            * code/mcvs-main.lisp (*watchers-options*): New constant.
437            (*edit-options*): Likewise.
438            (*unedit-options*): Likewise.
439            (*editors-options*): Likewise.
440            (*mcvs-command-table*): Added watchers, edit unedit, and editors
441            commands.
442            (*usage*): Updated.
443    
444            * code/generic.lisp (mcvs-watchers-wrapper, mcvs-edit-wrapper,
445            mcvs-unedit-wrapper, mcvs-editors-wrapper): New functions.
446    
447    2002-10-13  Kaz Kylheku  <kaz@ashi.footprints.net>
448    
449            * code/mcvs-main.lisp (*usage*): Describe export and watch commands.
450    
451    2002-10-13  Kaz Kylheku  <kaz@ashi.footprints.net>
452    
453            * code/mcvs-main.lisp (*watch-options*): New constant.
454            (*mcvs-command-table*): New entry for watch command.
455    
456            * code/watch.lisp: New file.
457    
458    2002-10-13  Kaz Kylheku  <kaz@ashi.footprints.net>
459    
460            * code/mcvs-main.lisp (*export-options*): New constant.
461            (*mcvs-command-table*): New entries for export command.
462    
463            * code/checkout.lisp (mcvs-checkout): New keyword to specify export
464            behavior.  This causes cvs export to be run instead of checkout,
465            and the MCVS directory to be deleted after.
466            (mcvs-checkout-wrapper): Common function factored out into a flet.
467            (mcvs-export-wrapper): New function. Verifies that one of -D and -r
468            options is present, then runs mcvs-checkout, specifying export
469            behavior.
470    
471    2002-10-12  Kaz Kylheku  <kaz@ashi.footprints.net>
472    
473            * code/mcvs-main.lisp (*update-options*): Added -C option.
474    
475            * code/update.lisp (mcvs-update): Fall back on the mcvs-generic
476            if --metaonly or --nometa is specified to run CVS on specific
477            files.
478    
479    2002-10-12  Kaz Kylheku  <kaz@ashi.footprints.net>
480    
481            * code/filt.lisp (mcvs-filt): Do not filter F- names if
482            immediately preceded by MCVS/ prefix.
483    
484    2002-10-12  Kaz Kylheku  <kaz@ashi.footprints.net>
485    
486            * code/clisp-unix.lisp (execute-program): Provide debug traces
487            for command execution.
488    
489  2002-10-09  Kaz Kylheku  <kaz@ashi.footprints.net>  2002-10-09  Kaz Kylheku  <kaz@ashi.footprints.net>
490    
491          * code/add.lisp (*add-help*): Remove spurious text cut and pasted from          * code/add.lisp (*add-help*): Remove spurious text cut and pasted from

Legend:
Removed from v.1.205  
changed lines
  Added in v.1.205.2.57

  ViewVC Help
Powered by ViewVC 1.1.5