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

  ViewVC Help
Powered by ViewVC 1.1.5