1 |
|
2005-10-19 Derek Price <derek@ximbiot.com> |
2 |
|
|
3 |
|
* sanity.sh: $GPG == `gpg' now when no gpg was found. |
4 |
|
|
5 |
|
* sanity.sh: Cause GPG to create its option file with a noop command. |
6 |
|
Allow secret key import during setup. |
7 |
|
|
8 |
|
2005-10-18 Derek Price <derek@ximbiot.com> |
9 |
|
|
10 |
|
* sign.c: #include "wait.h" from GNULIB. |
11 |
|
|
12 |
|
* filesubr.h: #include <sys/types.h> for ssize_t. |
13 |
|
* filesubr.c (islink): Add FIXME. |
14 |
|
|
15 |
|
2005-10-16 Derek Price <derek@ximbiot.com> |
16 |
|
|
17 |
|
* sign.c (sign_commits): Base defaults on new HAVE_OPENPGP macro rather |
18 |
|
than obsolete GPG_PROGRAM. |
19 |
|
|
20 |
|
* client.c (send_signature, send_fileproc, client_process_import_file): |
21 |
|
Use new APIs. |
22 |
|
* cvs.h: Move function prototypes into... |
23 |
|
* filesubr.h: ...this new header. |
24 |
|
* hash.c (nodetypestring): Add RCSSTRING. |
25 |
|
* hash.h (Ntype): Add RCSSTRING. |
26 |
|
(Node): Add data len field. |
27 |
|
* rcs.c: Verify interface. |
28 |
|
(rcsbuf_get_node_type): New function. |
29 |
|
(RCS_reparsercsfile, RCS_fully_parse, getdelta, RCS_getdeltatext): |
30 |
|
Handle new RCSSTRING newphrase node type. |
31 |
|
(RCS_checkin): Generate and save OpenPGP signature when needed. |
32 |
|
(putrcsfield_proc): Remove FIXME. Handle new Node type. Use Node len |
33 |
|
when available. |
34 |
|
* server.c (serve_modified): Get sig file name via new API. |
35 |
|
* sign.c (get_sign_commits): Return false in serve_mode. |
36 |
|
(get_sigfile_name, have_sigfile, read_signature): New functions. |
37 |
|
(gen_signature): New function with content originally from... |
38 |
|
(get_signature): ...this function, which now also handles loading from |
39 |
|
a sigfile when required. |
40 |
|
* sign.h (get_sign_commits, get_signature): Add server_active arg. |
41 |
|
(gen_signature, have_sigfile): New function protos. |
42 |
|
|
43 |
|
* sign.h (DEFAULT_SIGN_PROGRAM, DEFAULT_SIGN_TEXTMODE): Move to |
44 |
|
configure.in. |
45 |
|
|
46 |
|
* cvs.h (BAKPREFIX): Move to... |
47 |
|
* subr.h (BAKPREFIX): ...this more appropriate location. |
48 |
|
|
49 |
|
* sanity.sh (crerepos): Remove CVS_CLIENT_LOG set while debugging. |
50 |
|
|
51 |
|
2005-10-14 Derek Price <derek@ximbiot.com> |
52 |
|
|
53 |
|
* sign.h: Protos for new signature API. |
54 |
|
* sign.c (init_signatures, set_sign_commits, set_sign_template, |
55 |
|
set_sign_textmode, add_sign_arg, get_sign_commits, get_signature): New |
56 |
|
signing API. |
57 |
|
(sign_args_list_to_args_proc, get_signature): Move from... |
58 |
|
* client.c (sign_args_list_to_args_proc): ...here... |
59 |
|
(send_signature): ...and here. |
60 |
|
(send_files): Only accept SEND_SIGNATURES flag to differentiate commit |
61 |
|
from other callers. |
62 |
|
(send_signature): Use new signing interface. |
63 |
|
(client_send_import_file): Send signatures. |
64 |
|
* client.h (send_files): Update proto. |
65 |
|
* add.c, admin.c, annotate.c, client.c, diff.c, edit.c, log.c, ls.c, |
66 |
|
remove.c, status.c, tag.c, update.c, watch.c: Change all callers. |
67 |
|
* commit.c (commit): Move sign arg handling to... |
68 |
|
* main.c (main): ...here. |
69 |
|
* server.c (serve_modified): Save signatures to a temp file. |
70 |
|
(serve_signature): Send error message on receipt of multiple sigs. |
71 |
|
|
72 |
|
* rcs.c: Test interface. |
73 |
|
* rcs.h: Protect against double-inclusion. |
74 |
|
(struct file_info): Move from... |
75 |
|
* cvs.h: ...here. #include "run.h". |
76 |
|
* subr.c, subr.h: Include "rcs.h" to imporve interface. |
77 |
|
* run.c: #include "run.h". |
78 |
|
* run.h: New file. |
79 |
|
|
80 |
|
* gpg.c: Remove unsightly comments. |
81 |
|
|
82 |
|
* Makefile.am (cvs_SOURCES): Add gpg.c & gpg.h. |
83 |
|
* gpg.c, gpg.h: New files. |
84 |
|
* server.c (sig_buf): New global. |
85 |
|
(serve_signature): Extract signature correctly & store it. |
86 |
|
* buffer.c, root.c: #include buffer.h first, to test interface. |
87 |
|
* buffer.c (buf_read_data): Handle input from nonio (memory) buffers. |
88 |
|
* buffer.h, root.h: Protect against double inclusion. #include enough |
89 |
|
headers to make interface standalone. |
90 |
|
|
91 |
|
2005-10-11 Derek Price <derek@ximbiot.com> |
92 |
|
|
93 |
|
* commit.c (commit_usage), main.c (opt_usage): Describe OpenPGP related |
94 |
|
options. |
95 |
|
|
96 |
|
* Makefile.am (cvs_SOURCES): Add sign.c & sign.h. |
97 |
|
* client.c (sign_args_list_to_args_proc, send_signature): New |
98 |
|
functions. |
99 |
|
(struct send_data): Add sign mode and template. |
100 |
|
(send_fileproc): Send signature. |
101 |
|
(send_files): Accept sign mode and sign template. |
102 |
|
* client.h (send_files): Update proto. |
103 |
|
* add.c, admin.c, annotate.c, client.c, diff.c, edit.c, log.c, ls.c, |
104 |
|
remove.c, status.c, tag.c, update.c, watch.c: Change all callers. |
105 |
|
* commit.c (commit): Accept and handle new sign options. |
106 |
|
* hash.h: Avoid double-inclusion. |
107 |
|
* main.c (main): Handle new sign options. |
108 |
|
* root.c (new_cvsroot_t, free_cvsroot_t, parse_cvsroot_t), sign.h |
109 |
|
(cvsroot_t): Handle new sign method options. |
110 |
|
* server.c (serve_signature): New stub function. |
111 |
|
(requests): Add `Signature' request. |
112 |
|
* sign.c, sign.h: New files. |
113 |
|
* subr.c (format_cmdline): Handle NULL data. |
114 |
|
* sanity.config.sh: Set $GPG. |
115 |
|
* sanity.sh: Set up gpg keys for tests when $GPG is set. |
116 |
|
(writeproxy*): Compensate for new server requests. |
117 |
|
|
118 |
2005-10-18 Derek Price <derek@ximbiot.com> |
2005-10-18 Derek Price <derek@ximbiot.com> |
119 |
|
|
120 |
Include "wait.h" only as needed. |
Include "wait.h" only as needed. |