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

  ViewVC Help
Powered by ViewVC 1.1.5