1Thu Sep 15 08:20:23 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
2 
3	* subr.c (run_setup, run_args): Check USE_PROTOTYPES if defined
4	instead of __STDC__, just like cvs.h does.
5
6Thu Sep 15 00:14:58 1994  david d `zoo' zuhn  <zoo@monad.armadillo.com>
7
8	* main.c: rename nocvsrc to use_cvsrc, don`t read ~/.cvsrc when -H
9	  has been seen
10
11Wed Sep 14 21:55:17 1994  david d `zoo' zuhn  <zoo@monad.armadillo.com>
12
13	* cvs.h, subr.c: use size_t for xmalloc, xrealloc, and xstrdup
14	  parameters
15
16	* cvsrc.c: optimize away two calls of getenv
17
18	* commit.c, subr.c: use mode_t for file mode values (Thanks to jtc@cygnus.com)
19
20	* main.c: update copyrights in -v message
21
22Tue Sep  6 10:29:13 1994  J.T. Conklin  (jtc@rtl.cygnus.com)
23
24	* hash.c (hashp): Replace hash function with one from p436 of the
25	  Dragon book (via libg++'s hash.cc) which has *much* better
26	  behavior.
27
28Wed Aug 17 09:37:44 1994  J.T. Conklin  (jtc@cygnus.com)
29
30	* find_names.c (find_dirs): Use 4.4BSD filesystem feature (it
31	  contains the file type in the dirent structure) to avoid
32	  stat'ing each file.
33
34Tue Aug 16 11:15:12 1994  J.T. Conklin  (jtc@cygnus.com)
35
36	* rcs.h (struct rcsnode): add symbols_data field.
37	* rcs.c (RCS_parsercsfile_i): store value of rcs symbols in
38	  symbols_data instead of parsing it.
39	  (RCS_symbols): New function used for lazy symbols parsing.
40	  Build a list out of symbols_data and store it in symbols if it
41	  hasn't been done already, and return the list of symbols.
42	  (RCS_gettag, RCS_magicrev, RCS_nodeisbranch, RCS_whatbranch):
43	  Use RCS_symbols.
44	* status.c: (status_fileproc): Use RCS_symbols.
45
46Thu Jul 14 13:02:51 1994  david d `zoo' zuhn  (zoo@monad.armadillo.com)
47
48	* src/diff.c (diff_fileproc): add support for "cvs diff -N" which
49	  allows for adding or removing files via patches. (from
50	  K. Richard Pixley <rich@cygnus.com>)
51
52Wed Jul 13 10:52:56 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
53
54	* cvs.h: Add macro CVSRFLPAT, a string containing a shell wildcard
55	  expression that matches read lock files.
56	* lock.c (readers_exist): Reorganized to use CVSRFLPAT and to not
57	  compute the full pathname unless the file matches.
58
59	* rcs.h: Add macro RCSPAT, a string containing a shell wildcard
60	  expression that matches RCS files.
61	* find_names.c (find_rcs, find_dirs): Use RCSPAT.
62
63Fri Jul  8 07:02:08 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
64
65	* entries.c (Register): Pass two arguments to write_ent_proc, in
66	accordance with its declaration.
67
68Thu Jun 30 09:08:57 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
69
70	* logmsg.c (do_editor): Fix typo ("c)continue" -> "c)ontinue").
71
72Thu Jun 23 18:28:12 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
73
74        * find_names.c (find_rcs, find_dirs): use fnmatch instead of
75        re_comp/re_exec for wildcard matching.
76        * lock.c (readers_exist): Likewise.
77
78Fri May 20 08:13:10 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
79
80	* modules.c (do_module): If something is aliased to itself, print
81	an error message rather than recursing.
82
83Fri May  6 19:25:28 1994  david d zuhn  (zoo@monad.armadillo.com)
84
85	* cvsrc.c (read_cvsrc): use open_file for error checking
86
87Sat Feb 26 10:59:37 1994  david d zuhn  (zoo@monad.armadillo.com)
88
89        * import.c: use $TMPDIR if available, instead of relying on /tmp
90
91Mon Jan 24 19:10:03 1994  david d zuhn  (zoo@monad.armadillo.com)
92
93	* update.c (joining): compare join_rev1 with NULL instead of
94	  casting pointer to an int
95
96	* options.h: remove S_IWRITE, S_IWGRP, S_IWOTH macros
97
98	* logmsg.c: #if 0 around gethostbyname prototype
99
100	* hash.c (printnode), find_names.c (add_entries_proc),
101	  entries.c (write_ent_proc): correct declaration for function
102	  (added void *closure)
103
104	* cvs.h: header include order reorganization: First include the
105	  program config headers (config.h, options.h).  Then include any
106	  system headers (stdio.h, unistd.h).  Last, get the program
107	  headers and any cvs supplied library support
108
109	* commit.c: use xstrdup instead of strdup
110
111	* cvs.h: redefined USE(var) macro; comment after an #endif
112
113	* all .c files: remove the semicolon from after the USE(var)
114
115Sat Dec 18 00:17:27 1993  david d zuhn  (zoo@monad.armadillo.com)
116
117	* cvs.h: include errno.h if available, otherwise declare errno if
118	  it's not somehow else defined
119
120	* commit.c (checkaddfile): remove unused file argument from
121	  RCS_nodeisbranch call
122
123	* rcs.c (RCS_nodeisbranch): remove file from arguments (was unused)
124
125	* rcs.h (RCS_nodeisbranch): remove file from prototype
126
127	* main.c: don't use rcsid when printing version number (the CVS
128	  version number is independent of the repository that it comes
129	  from)
130
131	* hash.c (printlist, printnode): use %p to print pointers, not %x
132	  (avoids gcc format warnings)
133
134	* cvs.h: define USE if GCC 2, to avoid unused variable warning
135
136	* all .c files: use USE(rcsid)
137
138	* Makefile.in (VPATH): don't use $(srcdir), but @srcdir@ instead
139	  (COMMON_OBJECTS): define, and use in several places
140	  (OBJECTS): reorder alphabetically
141
142	* hash.c (nodetypestring): handle default return value better
143
144	* modules.c (do_module): remove extra argument to ign_dir_add
145
146	* main.c (main): initialize cvs_update_env to 0 (zero)
147
148	* modules.c (do_module): return error code when ignoring directory
149	  (instead of a bare return).  error code should be zero here
150
151	* cvs.h: add prototypes for ignore_directory, ign_dir_add
152
153	* ignore.c: add comments about ignore_directory
154
155	* root.c (Name_Root): remove unused variables has_cvsadm and path
156
157	* checkin.c (Checkin): only use -m<message> when message is non-NULL
158
159	* cvsrc.c (read_cvsrc): make sure homeinit is never used while
160	  uninitialized (could have happened if getenv("HOME") had failed)
161
162	* cvs.h: include unistd.h if available
163
164Fri Dec 17 23:54:58 1993  david d zuhn  (zoo@monad.armadillo.com)
165
166	* all files: now use strchr, strrchr, and memset instead of index,
167	  rindex, and bzero respectively
168
169Sat Dec 11 09:50:03 1993  david d zuhn  (zoo@monad.armadillo.com)
170
171	* version.c (version_string): bump to +104z
172
173	* Makefile.in: set standard directory variables, CC, and other
174	  variables needed to be able to do 'make all' in this directory
175
176	* import.c: implement -k<subst> options, for setting the RCS
177	  keyword expansion mode
178
179	* all files: use PROTO() macro for ANSI function prototypes
180	  instead of #ifdef __STDC__/#else/#endif around two sets of
181	  declarations
182
183Thu Nov 18 19:02:51 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
184
185	* add.c (add), import.c (import), commit.c (commit): change
186	  xmalloc & strcpy to xstrdup.
187
188	* commit.c (remove_file): correct another static buffer problem.
189
190Wed Nov 10 15:01:34 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
191
192	* recurse.c (start_recursion): directories in repository but not
193	  in working directory should be added to dirlist.  Fixes "update
194	  -d dir" case.
195
196	* version.c (version_string): bump to +103r.
197
198	* commit.c (checkaddfile): mkdir attic only if it does not already
199	  exist.  comment changes.  changed diagnostic about adding on a
200	  branch.  if a file is added on a branch, remove and replace the
201	  internal representation of that rcs file.
202
203Tue Nov  9 18:02:01 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
204
205	* add.c (add): if a file is being added on a branch, then say so;
206	  add quotes around file names in error messages.
207
208Thu Nov  4 16:58:33 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
209
210	* version.c (version_string): bump to +102r.
211
212	* recurse.c (unroll_files_proc, addfile): new files, forward
213	  decls, and prototypes.
214	  (recursion_frame): new struct.
215	  (start_recursion): rewrite to handle the case of "file1 file2
216	  dir1/file3".
217
218	* rcs.c (RCS_parsercsfile): trap and error out on the case where
219	  getrcskey tells us it hit an error while reading the file.
220
221	* commit.c (lock_filesdoneproc): add comment about untrapped error
222	  condition.
223
224	* hash.c (addnode): comment change.
225
226	* subr.c: add comment about caching.
227
228	* sanity.sh: updated copyright.
229
230Wed Nov  3 14:49:15 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
231
232	* version.c (version_string): bump to +101r.
233
234	* hash.c (walklist): add a closure for called routines.  All
235	  callers, callees, and prototypes changed.
236
237	* hash.c (nodetypestring, printnode, printlist): new functions for
238	  dumping lists & nodes.
239
240	* tag.c (tag_fileproc): fatal out on failure to set tag.
241
242Tue Nov  2 14:26:38 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
243
244	* version.c (version_string): bump version to +99.
245
246Mon Nov  1 15:54:51 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
247
248	Change buffer allocation for check in messages from static to
249	dynamic.
250	* add.c (add): dynamically allocate message.
251	  (build_entry): check (message != NULL) now that message is a
252	  pointer.
253	* commit.c (got_message, commit, commit_fileproc,
254	  commit_filesdoneproc, commit_direntproc): removed.  Replaced by
255	  (message != NULL).  Dynamically allocate message.
256	* cvs.h: adjust do_editor prototype and forward decl.
257	  (MAXMESGLEN): removed.
258	* import.c (import): dynamically allocate message.
259	* logmsg.c (do_editor): change return type to char *.  Remove
260	  message parameter.  Slight optimization to algorythm for
261	  removing CVSEDITPREFIX lines.  Add comment about fgets lossage.
262
263	* subr.c (xmalloc): change error message to print number of bytes
264	  we were attempting to allocate.
265
266Fri Oct 29 14:22:02 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
267
268	* add.c (add): prevent adding a directory if there exists a dead
269	  file of the same name.
270
271	* sanity.sh: update argument to diff from "+ignore-file" to
272	  "--exclude=".
273
274	* Makefile.in (TAGS): extend to work from an objdir.
275
276Mon Oct 18 18:45:45 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
277
278	*  tag.c, rtag.c: change the default actions to make writing over
279	existing tags harder (but not impossible)
280
281Thu Oct 14 18:00:53 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
282
283        CVS/Root changes from Mark Baushke (mdb@cisco.com)
284
285	* Makefile.in: added new file called root.c
286
287	* create_adm.c: will create CVS/Root at the same time that the
288        other CVS files are being created
289
290	* cvs.h: new CVSADM_ROOT define plus new function externs
291
292	* main.c: default to using CVS/Root contents for CVSROOT 
293	if neither the environment variable or the command line 
294	"-d" switch is given. If either are given, perform a
295	sanity check that this directory belongs to that repository.
296
297	* update.c: if CVS/Root does not exist, then create it
298	during an update -- this may be removed if CVS/Root becomes a
299	standard feature
300
301	* root.c: implement new functions to manipulate CVS/Root
302	[this may be integrated with other utility functions in
303	a future revision if CVS/Root becomes a standard feature.]
304
305Wed Sep 29 17:01:40 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
306
307	* patch.c (patch_fileproc): output an Index: line for each file
308
309Mon Sep  6 18:40:22 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
310
311	* cvs.h: wrap definition of PATH_MAX in #ifndef PATH_MAX/#endif
312
313Tue Aug  9 21:52:10 1994  Mark Eichin  (eichin@cygnus.com)
314
315	* commit.c (remove_file): actually allocate space for the
316	filename, not just the directory.
317
318Tue Jul  6 19:05:37 1993  david d `zoo' zuhn  (zoo@cygnus.com)
319
320	* diff.c: patches to print an Index: line 
321
322Mon Jun 14 12:19:35 1993  david d `zoo' zuhn  (zoo at rtl.cygnus.com)
323
324	* Makefile.in: update install target
325
326Tue Jun  1 17:03:05 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
327
328	* Makefile.in: link cvs against libiberty
329
330Wed May 19 14:10:34 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
331
332	* ignore.c: add code for keeping lists of directories to ignore.
333
334	* modules.c: new syntax for modules file, !dirname is added to
335	the list of directories to ignore
336	
337	* update.c: don't process directories on the ignore list
338
339Tue Apr  6 14:22:48 1993  Ian Lance Taylor  (ian@cygnus.com)
340
341	* cvs.h: Removed gethostname prototype, since it is unnecessary
342	and does not match prototype in <unistd.h> on HP/UX.
343
344Mon Mar 22 23:25:16 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
345
346	* Makefile.in: rename installtest to installcheck
347
348Mon Feb  1 12:53:34 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
349
350	* Makefile.in (check, installtest): set RCSBIN so that we
351	  explicitly test the appropriate version of rcs as well.
352
353Fri Jan 29 13:37:35 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
354
355	* version.c: bump version to +2.
356
357Thu Jan 28 18:11:34 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
358
359	* import.c (update_rcs_file): if a file was dead, be sure to check
360	  in the new version.
361
362	* update.c (checkout_file): if file_is_dead and we *did* have an
363	  entry, scratch it.
364
365Tue Jan 26 16:16:48 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
366
367	* sanity.sh: parcel into pieces for easier truncation when
368	  debugging.
369
370	* update.c (checkout_file): print the "no longer pertinent"
371	  message only if there was a user file.
372
373Wed Jan 20 17:08:09 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
374
375	* update.c (checkout_file): remove unused variable s.
376	  (join_file): remove unused variables rev & baserev.  Fix a typo.
377
378	* commit.c (commit_fileproc): remove unused variable magicbranch.
379
380	* sanity.sh: bring back test 45 even though it fails.  Update
381	  tests against imported files.
382
383	* add.c (add_directory): move declaration of unused variable.
384
385	* Makefile.in (xxx): when building in this directory, pass CC for
386	  the recursion.
387
388Mon Jan 18 13:48:33 1993  K. Richard Pixley  (rich@cygnus.com)
389
390	* commit.c (remove_file): fix for files removed in trunk
391	  immediately after import.
392
393	* commit.c (remove_file): initialize some variables.  Otherwise we
394	  end up free'ing some rather inconvenient things.
395
396Wed Jan 13 15:55:36 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
397
398	* Makefile.in (check, install, installtest): use the sanity test.
399
400	* sanity.el: make into real functions and bind to sun keys.
401
402	* sanity.sh: bring back to working order.  Add test for death
403	  after import.
404
405Tue Dec 22 17:45:19 1992  K. Richard Pixley  (rich@cygnus.com)
406
407	* commit.c (remove_file): when checking in a dead revision to a
408	  branch as we are creating the branch, do not lock the underlying
409	  revision.  Also free some malloc'd memory.
410
411Wed Dec  2 13:09:48 1992  K. Richard Pixley  (rich@cygnus.com)
412
413	* RCS-patches: new file.
414
415Fri Nov 27 20:12:48 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
416
417	Added support for adding previously removed files, as well as
418	adding and removing files in branches.
419
420	* add.c (build_entry): add new argument, tag, so as to store in
421	  Entries the per directory sticky tag under which a file is
422	  added.  Changed prototype and caller.
423	  (build_entry): Do not prevent file additions if the file exists
424	  in the Attic.
425	  (add): if the file being adding was previously dead, say so, and
426	  mark the Entries file with the addition.
427	* checkin.c (Checkin): adding with a tag no longer means to add,
428	  then tag.  Hence, remove the tagging operation.
429	* classify.c (Classify_File): if the base RCS version is dead,
430	  then the file is being added.  If a file being added already
431	  exists in the attic, and the base RCS version is NOT dead, then
432	  we have a conflict.
433	* commit.c (checkaddfile): add the list of srcfiles to calling
434	  convention.  Change prototype and callers.
435	  (remove_file): add message and list of srcfiles to calling
436	  convention.  Change prototype and callers.  When removing a file
437	  with a tag, remove the tag only when the tag does not represent
438	  a branch.  Remove files by committing dead revisions in the
439	  appropriate branch.  When removing files from the trunk, also
440	  move the RCS file into the Attic.
441	  (check_fileproc): when adding, and looking for previously
442	  existing RCS files, do not look in the Attic.
443	  (commit_fileproc): adding files with tags now implies adding the
444	  file on a branch with that tag.
445	  (checkaddfile): When adding a file on a branch, in addition to
446	  creating the rcs file in the Attic, also create a dead, initial
447	  revision on the trunk and stub in a magic branch tag.
448	* cvs.h (joining, gca): added prototypes.
449	* rcs.c (RCS_getbranch): now global rather than static.
450	  remove prototype and forward decl.
451	  (parse_rcs_proc): use RCS_addnode.
452	  (RCS_addnode): new function.
453	  (RCS_parsercsfile): recognize the new RCS revision
454	  newphrase, "dead".  Mark the node for the revision.
455	  (RCS_gettag): requesting the head of a file in the attic now
456	  returns the head of the file in the attic rather than NULL.
457	  (RCS_isbranch): use RCS_nodeisbranch.
458	  (RCS_nodeisbranch): new function.
459	  (RCS_isdead): new function.
460	* rcs.h (RCSDEAD): new macro for new rcs keyword.
461	  (struct rcsversnode): new field to flag dead revisions.
462	  (RCS_nodeisbranch, RCS_isdead, RCS_addnode): new functions,
463	  new prototypes, new externs.
464	  (RCS_getbranch): now global, so prototype and extern moved
465	  to here.
466	* subr.c (gca): new function.
467	* update.c (join_file): add entries list to calling
468	  convention.  Caller changed.
469	  (update): also search the Attic when joining. 
470	  (checkout_file): when joining, checkout dead revisions too.  If
471	  a file has died across an update then say so.
472	  (join_file): support joins of dead files against live ones, live
473	  files against dead ones, and added files.  Change the semantic
474	  of a join with only rev specified to mean join specified rev
475	  against checked out files via the greatest common ancestor of
476	  the specified rev and the base rev of the checked out files.
477	  (joining): new function.
478	* vers_ts.c (Version_TS): ALWAYS get the rcs version number.
479
480	* update.c (update): write the 'C' letter for conflicts.
481
482	* cvs.h (ParseTag): remove duplicate extern.
483
484	* add.c (add_directory): do not prompt for interactive
485	  verification before adding a directory.  Doing so prevents
486	  scripted testing.
487
488Wed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
489
490	* Makefile.in, configure.in: removed traces of namesubdir,
491	  -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
492	  copyrights to '92, changed some from Cygnus to FSF.
493
494Tue Dec 10 01:24:40 1991  K. Richard Pixley  (rich at cygnus.com)
495
496	* diff.c: do not pass an empty -r option to rcsdiff.
497
498	* update.c: fix bug where return code from rcsmerge wasn't being
499	  handled properly.
500
501	* main.c: "rm" and "delete" now synonyms for "remove".
502
503	* commit.c: abort if editor session fails, but remember to clear
504	  locks.
505
506	* Makefile.in: remove conf.h and checkin.configured on clean.
507	  infodir belongs in datadir.
508
509Thu Dec  5 22:46:03 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
510
511	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
512	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
513	  and mandir now keyed off datadir by default.
514
515Wed Nov 27 02:47:13 1991  K. Richard Pixley  (rich at sendai)
516
517	* brought Makefile.in's up to standards.text.
518
519	* fresh changelog.
520
521
522For older changes, there might be some relevant stuff in the bottom of
523the NEWS file, but I'm afraid probably a lot of them are lost in the
524mists of time.
525