forked from codyps/cadaver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
2280 lines (1345 loc) · 70.4 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Thu Jan 8 20:57:28 2004 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (supply_creds_server): Only use credentials from
netrc on first attempt to authenticate.
Thu Jul 31 20:52:01 2003 Joe Orton <joe@manyfish.co.uk>
* configure.in: Fix included getopt build.
Tue Jul 1 22:32:21 2003 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (execute_mkcol): Cleanup.
(execute_get): Handle close() failure.
Tue Jul 1 22:12:19 2003 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (out_start):
Tue Jul 1 22:08:53 2003 Joe Orton <joe@manyfish.co.uk>
* src/ls.c (fetch_resource_list): Update for final neon 0.24 API.
Tue Jul 1 22:07:21 2003 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (multi_mput): Use resolve_path not clever_path;
fix mput into collection with escaped URI.
Sun Jun 22 20:53:25 2003 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (cert_verify): Update for neon final 0.24 SSL API.
(read_command): Unescape path before printing in prompt.
Sun Jun 22 20:50:33 2003 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (resolve_path): Fix URI-escaping for path=".".
Wed Apr 23 14:38:29 2003 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (privkey_prompt): Removed.
(cert_verify, setup_ssl): Adapt for new neon 0.24 SSL API.
(provide_clicert): New function.
* src/options.c: Replace opt_cert, opt_certkey with opt_clicert.
Wed Apr 23 14:35:54 2003 Joe Orton <joe@manyfish.co.uk>
Temporarily disable DeltaV and DASL code until ported to new XML
API.
* src/commands.c (commands): Disable DeltaV and DASL commands
until ported to new XML API.
* Makefile.in (OBJECTS): Remove search.o and version.o.
Wed Apr 23 14:34:01 2003 Joe Orton <joe@manyfish.co.uk>
Update `ls' code for new XML API:
* src/ls.c (ls_idmap): Replaces complex_elms.
(ls_startelm): New function, replaces end_element and
check_context.
(ls_props): Remove displayname.
(free_resource): Remove displayname.
(fetch_resource_list
Wed Apr 23 14:07:53 2003 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (main): Call init_rcfile last.
Tue Feb 11 20:53:14 2003 Joe Orton <joe@manyfish.co.uk>
* src/options.c (find_option, execute_describe): New functions.
Sun Jan 12 14:34:59 2003 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (clever_path): When appending basename of src to
a dest collection, escape the basename first. (fixes 'mput' of
filenames which contain spaces).
Fri Aug 30 23:48:59 2002 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (privkey_prompt, supply_creds_server): Use
strnzcpy.
* src/cmdline.c (davglob_readdir): Use ne_strnzcpy.
Wed Aug 21 15:57:11 2002 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (open_connection): Use session error string for
NE_CONNECT and NE_LOOKUP errors too.
Mon Aug 12 13:13:17 2002 Joe Orton <joe@manyfish.co.uk>
* src/edit.c (execute_edit): Don't include extension in temporary
file name if there is a slash after the dot.
Sat Aug 3 22:37:25 2002 Joe Orton <joe@manyfish.co.uk>
* Makefile.in (all): Add before .PHONY to prevent problems with
non-GNU makes.
(.PHONY): Also include install, again, clean.
Wed Jul 31 23:32:23 2002 Joe Orton <joe@manyfish.co.uk>
* configure.in: Use jm_PREREQ_TEMPNAME for lib/tempname.c checks.
Wed Jul 31 23:27:09 2002 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (init_options): Set 'quiet' option to on by
default.
Wed Jul 31 23:25:46 2002 Joe Orton <joe@manyfish.co.uk>
* m4/prereq.m4 (jm_PREREQ_TEMPNAME): Require jm_AC_TYPE_UINTMAX_T.
Fri Jul 26 22:42:42 2002 Joe Orton <joe@manyfish.co.uk>
* src/commands.c: Don't declare commands[] array as static;
fix non-GCC build.
Sun Jul 14 18:14:35 2002 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (execute_less, execute_cat): Use ne_get in favour
of ne_read_file.
Sun May 26 11:44:30 2002 Joe Orton <joe@manyfish.co.uk>
* src/edit.c (ed_valid, ed_startelm, ed_endelm, free_srclist,
this_server, examine): New functions.
(is_lockable): Removed.
(execute_edit): Edit the source resource if one is defined, using
the {DAV:}source-set property proposal. Drop support for editing
non-LOCK-able resources.
Thu May 23 19:41:07 2002 Joe Orton <joe@manyfish.co.uk>
* src/options.c (do_debug): Update for neon 0.21 ne_token API.
Sun May 19 18:30:03 2002 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (main): Update for neon 0.21 socket API; use
ne_sock_init. Also call ne_sock_exit() before returning.
Drop redirect support.
Thu May 16 20:19:24 2002 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (cad_utf8_encode, cad_utf8_decode): Add back this
hack in a difference place, compensating for disappearance of
ne_utf8_{encode,decode}.
(utf8_encode, utf8_decode): Use them.
Wed May 15 20:50:42 2002 Joe Orton <joe@manyfish.co.uk>
* configure.in: Use AC_LIBOBJ; check for __secure_getenv for
lib/tempname.c, don't generate intl/Makefile.
Wed May 15 20:49:33 2002 Joe Orton <joe@manyfish.co.uk>
* lib/tempname.c: Fix all the warnings: s/_LIBC/defined(_LIBC),
prototype __path_search, __gen_tempname.
(__gen_tempname): Remove unused variable.
Thu May 2 07:51:54 2002 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (out_result): Replace NE_AUTHPROXY with
NE_PROXYAUTH for neon 0.20.
Wed May 1 22:05:38 2002 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (cert_verify): Don't prompt if !isatty(stdin).
(open_connection): Adjust for neon 0.20 default port from
ne_uri_parse.
Thu Mar 28 10:58:30 2002 Joe Orton <joe@manyfish.co.uk>
* configure.in: Always enable checks for mkstemp replacement.
Thu Mar 14 22:14:03 2002 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (execute_cd): Disallow "cd -" when no previous
collection is set.
Thu Mar 14 22:10:01 2002 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (choose_pager): Allow pager option to over-ride
env vars.
* src/options.h, src/options.c: Add opt_pager.
Sun Mar 10 12:11:00 2002 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (execute_lock, execute_unlock): Use
ne_lock_create, ne_lock_destroy, and fix leaks.
Sun Mar 10 12:09:21 2002 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (remote_completion): Remove double-malloc.
Sat Mar 9 13:36:15 2002 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (execute_version): Include readline version.
Sat Mar 9 08:48:24 2002 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (print_lock): Don't use print_uri, unparse
directly.
Thu Mar 7 21:27:51 2002 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (open_connection): Better error handling for
NE_CONNECT and NE_LOOKUP errors.
Thu Mar 7 20:06:06 2002 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (execute_pwd): Print current collection URL.
Fri Mar 1 23:05:46 2002 Joe Orton <joe@manyfish.co.uk>
* src/edit.c: New file.
* src/commands.c (getowner): Make public.
(run_editor, is_lockable, execute_edit): Split out from
commands.c.
* src/cadaver.h (execute_edit): Add prototype.
* src/commands.h (getowner): Add prototype.
Fri Mar 1 23:04:26 2002 Joe Orton <joe@manyfish.co.uk>
* lib/mkstemp.c (cad_mkstemp): Renamed from rpl_mkstemp.
Fri Mar 1 23:03:27 2002 Joe Orton <joe@manyfish.co.uk>
* lib/tempname.c (__gen_tempname): Allow XXXXXX's to appear
somewhere other than the end of the filename.
Fri Mar 1 22:43:27 2002 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (do_discover): Factored out from execute_steal,
execute_discover.
(execute_steal, execute_discover): Use do_discover.
Sat Feb 23 15:22:44 2002 Joe Orton <joe@manyfish.co.uk>
Update for neon 0.19 API:
* src/cadaver.c (privkey_prompt): Remove filename argument.
(make_dn_string, cert_verify): New functions.
(setup_ssl, open_connection): Adjust for API changes.
(init_rcfile, readline): Use ne_shave rather than STRIP_EOL.
Tue Feb 19 21:41:49 2002 Joe Orton <joe@manyfish.co.uk>
* configure.in: Comment NLS section to remove dubious quoting.
Sat Jan 26 15:48:27 2002 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (completion): Only do remote completion when
connection is established.
Sun Jan 20 20:16:09 2002 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (execute_delete): Remove locks if delete
succeeds.
2002-01-19 Joe Orton <joe@monolith.fishnet>
* src/options.c (do_debug): Clear debug mask if unset given with
no arguments.
Tue Jan 15 00:57:39 2002 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (close_connection, open_connection): Use lockstore
option.
(init_options): Fix initialization of lockscope option.
(main): Initialize lockstore option.
Tue Jan 15 00:51:33 2002 Joe Orton <joe@manyfish.co.uk>
* src/options.c (options): Add lockstore option.
(display_options): Vertically align.
Mon Jan 14 22:54:14 2002 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (init_locking, finish_locking): Moved to and made
private here.
Mon Jan 14 22:48:16 2002 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.h: Don't export execute_*, multi_*.
* src/cadaver.c: Made execute_*, multi_* static.
Mon Jan 14 22:40:15 2002 Joe Orton <joe@manyfish.co.uk>
* src/commands.c: Move commands[] array here. For GCC, add
type-safety in initialization.
(execute_version): Moved here.
* src/cadaver.h (struct command): Add union for command functions.
* src/cadaver.c (execute_command): Eliminate casts of function
pointers.
(open_connection, close_connection): Made public.
Mon Jan 14 20:45:56 2002 Joe Orton <joe@manyfish.co.uk>
* src/options.c: Add `quiet' option.
* src/cadaver.c (connection_status): If quiet is set, do nothing.
Mon Jan 14 20:38:43 2002 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (print_lock): Print depth on the second line.
(get_timeout): Print 'seconds' for a seconds value.
(execute_lock): In-line true_path; use lockdepth setting for
any non-collection resource.
Mon Jan 14 20:00:47 2002 Joe Orton <joe@manyfish.co.uk>
* Makefile.in (OBJECTS): Add utils.o.
(Makefile): New target.
(install): Install man page.
Mon Jan 14 19:59:11 2002 Joe Orton <joe@manyfish.co.uk>
* src/utils.c: New file. (getrestype): Moved from
src/commands.c:is_collection; returns resource type.
* src/commands.c, src/cadaver.c, src/cmdline.c: All callers
changed.
Tue Jan 8 20:57:27 2002 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (execute_get): Fix local file permissions.
Sun Jan 6 21:23:47 2002 Joe Orton <joe@manyfish.co.uk>
* src/options.c: Add overwrite, lockdepth, lockscope options.
Tue Jan 1 22:38:05 2002 Joe Orton <joe@manyfish.co.uk>
* Makefile.in: Cleanups, fixes for VPATH builds, use CPPFLAGS
properly.
Tue Jan 1 14:03:09 2002 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (propop): Factored out from execute_propset.
(execute_propset): Use propop. (execute_propdel): New function.
Sat Nov 24 11:41:37 2001 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (remote_completion): New function (from Sean
Treadway). (completion): Fixes for readline 4.2.
Mon Nov 12 15:53:48 2001 Joe Orton <joe@manyfish.co.uk>
* src/ls.c (execute_ls): Resolve path to a collection.
Tue Oct 30 20:23:07 2001 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (discover_results, steal_result, execute_steal,
execute_discover): Count number of locks found, and adjust output
accordingly.
Wed Jun 20 21:49:41 2001 Joe Orton <joe@manyfish.co.uk>
* src/ls.c (results): Fix detecting the 'executable' property.
Sun Jun 3 23:39:54 2001 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (execute_edit): Adjust for FILE * -> int fd
change of ne_put/get.
Sun Jun 3 23:31:51 2001 Joe Orton <joe@manyfish.co.uk>
* src/options.c (do_debug): Use ne_token.
Sat Jun 2 23:32:28 2001 Joe Orton <joe@manyfish.co.uk>
* lib/glob.h: Kill -Wundef warning from '#if _FILE_OFFSET_BITS !=
64' conditional.
Sat Jun 2 23:30:02 2001 Joe Orton <joe@manyfish.co.uk>
* src/options.c, src/ls.c, src/commands.c, src/cadaver.c:
s/http_/ne_/g etc for neon 0.15 API.
Sun Apr 22 16:50:42 2001 Joe Orton <joe@manyfish.co.uk>
* src/ls.c (fetch_resource_list, results): Updated for neon 0.14
properties API.
Mon Apr 2 21:12:52 2001 Joe Orton <joe@manyfish.co.uk>
* src/ls.c (check_context): Fix return codes: decline everything
we don't like.
Tue Mar 20 23:11:02 2001 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (execute_propget, execute_propset, pget_results,
all_iterator): Perform utf8_encode/decode on property names too.
Tue Mar 20 23:10:07 2001 Joe Orton <joe@manyfish.co.uk>
* src/ls.c (display_ls_line): Unescape URI since neon doesn't do
it for us any more.
Tue Mar 20 22:39:31 2001 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (utf8_decode, utf8_encode): Perform UTF8
decoding/encoding if utf8 option is set. (execute_propset,
all_iterator, pget_results): Use utf8_encode/decode.
Tue Mar 20 22:37:39 2001 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (resolve_path): Escape paths too.
Tue Mar 20 20:31:59 2001 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (init_options): Turn on utf8 option if the string
"UTF-8" is found in one of the locale environment variables, in
accordance with the Markus Kahn Unicode Unicode FAQ.
Tue Mar 20 20:30:48 2001 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c: Adjust for neon 0.13 connection status/progress
API.
Mon Mar 19 18:41:59 2001 Joe Orton <joe@manyfish.co.uk>
* src/options.c (get_bool_option): New function.
Mon Mar 19 18:41:53 2001 Joe Orton <joe@manyfish.co.uk>
* src/options.c: Add utf8 option.
Mon Mar 19 18:28:22 2001 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (execute_propnames, propname_results,
propname_iterator): New functions.
Mon Mar 5 00:24:05 2001 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (supply_creds_proxy, supply_creds_server): Removed
hostname argument as per neon 0.13 change.
Mon Mar 5 00:05:04 2001 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (execute_logout): New function.
Tue Feb 27 09:22:14 2001 Joe Orton <joe@manyfish.co.uk>
* configure.in: Bumped version to 0.17.1.
Tue Feb 27 09:18:31 2001 Joe Orton <joe@manyfish.co.uk>
* configure.in: Add -lintl to LIBS if using included libintl.
Turn off NLS.
Mon Feb 26 22:08:14 2001 Joe Orton <joe@manyfish.co.uk>
* configure.in: Bumped version to 0.17.0.
Mon Feb 26 22:02:39 2001 Joe Orton <joe@manyfish.co.uk>
* configure.in: Remove checks duplicated with neon.m4.
Sun Feb 25 18:11:23 2001 Joe Orton <joe@manyfish.co.uk>
* src/options.c: Added 'opt_namespace' string option.
* src/cadaver.c (DEFAULT_NAMESPACE): New macro. (init_options):
Set default for namespace.
* src/commands.c (execute_propset, execute_propget): Use
opt_namespace as default namespace.
Sun Feb 25 17:51:37 2001 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (execute_propset): New command.
* src/cadaver.c: Added 'propset' command.
Fri Feb 23 23:02:19 2001 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c: Allow one or two argument to propget to allow
allprop requests.
Fri Feb 23 22:59:50 2001 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (pget_results): If NULL list of propnames is
given, use the allprop iterator. (execute_propget): Use
dav_simple_propfind.
Fri Feb 23 22:35:14 2001 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (close_connection): Call finish_locking to avoid
leaking the locking session.
Thu Feb 22 21:22:28 2001 Joe Orton <joe@manyfish.co.uk>
* src/commands.c (pget_results): Handle NULL return from
dav_propset_status. (execute_propget): Fail if the property name
has a ':' in it, until namespace support is there.
Thu Feb 22 21:16:55 2001 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c: Fix netrc support. (supply_creds_server): Check
whether server_username and server_password are set, if so, pass
creds straight back.
Thu Feb 15 23:03:24 2001 Joe Orton <joe@manyfish.co.uk>
* configure.in: Add AC_C_BIGENDIAN.
Sun Feb 4 14:34:47 2001 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (give_creds): Handle fm_getpassword returning
NULL. Zero out password buffer after copying it.
Sun Feb 4 14:33:34 2001 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (privkey_prompt): New function. (setup_ssl): New
function, split down from open_connection. Sets privkey_prompt as
private key password callback.
Sun Feb 4 14:14:51 2001 Joe Orton <joe@manyfish.co.uk>
* lib/getpass.c (fm_getpassword): If EOF is encountered, return
NULL.
Sun Feb 4 11:49:22 2001 Joe Orton <joe@manyfish.co.uk>
* configure.in: Now require neon 0.11.
Sun Feb 4 11:45:47 2001 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c: Make nssl_context live as long as an
http_session.
Sun Feb 4 10:57:44 2001 Joe Orton <joe@manyfish.co.uk>
* src/cadaver.c (open_connection): Create an SSL context. If cert
option set, set the client cert, and pass the SSL context through
the the HTTP session.
Sun Feb 4 10:56:05 2001 Joe Orton <joe@manyfish.co.uk>
* src/options.c: Added 'cert' and 'certkey' options.
Sun Feb 4 10:50:09 2001 Joe Orton <joe@manyfish.co.uk>
* src/cmdline.c (davglob_opendir): Store the length of the root
collection in the context. (davglob_readdir): Don't put the root
collection in the d_name of the returned dirent object.
Sun Jan 28 22:53:00 2001 Joe Orton <joe@manyfish.co.uk>
* Makefile.in: Remove obsoleted NLS stuff.
Sun Jan 28 22:52:24 2001 Joe Orton <joe@manyfish.co.uk>
* configure.in: Add intl and po to SUBDIRS for NLS builds, use
NEON_REQUIRE to require neon 0.10 or later.
Sun Jan 28 22:51:12 2001 Joe Orton <joe@manyfish.co.uk>
* lib/getpass.c: Include stdlib.h to fix 'exit undefined' warning.
Thu Jan 18 00:05:16 2001 Joe Orton <joe@light.plus.com>
* configure.in: Use top_builddir prefix in bundled expat path.
Thu Jan 18 00:03:39 2001 Joe Orton <joe@light.plus.com>
* po/Makefile.in.in: Make cat-id-tbl.c and stamp-cat-id target
names always have $(srcdir) prefix.
Thu Jan 18 00:02:30 2001 Joe Orton <joe@light.plus.com>
* Makefile.in (clean): Recurse into SUBDIRS too.
Wed Jan 17 23:39:21 2001 Joe Orton <joe@light.plus.com>
* configure.in: Don't check for getlogin_r at all, it's not
portable.
Wed Jan 17 23:22:49 2001 Joe Orton <joe@light.plus.com>
* Makefile.in: Modified for neon 0.10 recursive make.
Wed Jan 17 23:17:01 2001 Joe Orton <joe@light.plus.com>
* src/ls.c (results): Don't leak the private structure when
skipping the target resource.
Wed Jan 17 23:01:15 2001 Joe Orton <joe@light.plus.com>
* lib/glob.c (glob): Only use sysconf if _SC_LOGIN_NAME_MAX is
defined, else default the buffer size to 20 chars.
Wed Jan 17 20:00:01 2001 Joe Orton <joe@light.plus.com>
* src/commands.c (execute_edit): Don't give up if the edit fails,
allowing edit to create new content. (Tres Seaver
<tseaver@digicool.com>)
Wed Jan 17 19:59:33 2001 Joe Orton <joe@light.plus.com>
* src/commands.c (execute_edit): Use mkstemp() to create temporary
file (so the security warning goes away).
Wed Jan 17 19:45:32 2001 Joe Orton <joe@light.plus.com>
* src/ls.c (create_private): New function. (fetch_resource_list):
Change for dav_propfind_set_complex from neon 0.10.
Thu Jan 11 20:41:24 2001 Joe Orton <joe@light.plus.com>
* configure.in: Use even newer NEON_VPATH_BUNDLED macro to build
neon.
Sun Jan 7 21:31:33 2001 Joe Orton <joe@light.plus.com>
* configure.in: Use new NEON_BUNDLED macro for building. Moved
readline stuff into the CHECK_READLINE macro in
macros/readline.m4.
Sun Jan 7 00:04:04 2001 Joe Orton <joe@light.plus.com>
* src/cadaver.c (execute_propget): New command.
Sat Jan 6 23:52:23 2001 Joe Orton <joe@light.plus.com>
* src/cadaver.c: Don't cast the command function to (void *)
everywhere, since this is incorrect.
Sat Jan 6 23:49:40 2001 Joe Orton <joe@light.plus.com>
* src/ls.c: Ported to neon 0.9 dav_propfind_* API.
Sat Jan 6 22:55:50 2001 Joe Orton <joe@light.plus.com>
* src/commands.c (steal_result, discover_result): New
functions. (execute_discover, execute_steal): Ported to neon 0.9
lock discovery API.
Sat Jan 6 22:46:41 2001 Joe Orton <joe@light.plus.com>
* src/cadaver.h (struct command): Make the handler function a
void (*handler)() - a function pointer, so should be compatible.
Sun Nov 5 20:34:36 2000 Joe Orton <joe@light.plus.com>
* configure.in: Bumped version to 0.15.4.
Sun Nov 5 20:34:05 2000 Joe Orton <joe@light.plus.com>
* src/cadaver.c: 'showlocks' command only allowed when connected.
Sun Nov 5 14:45:33 2000 Joe Orton <joe@light.plus.com>
* configure.in: Bumped version to 0.15.3.
Thu Oct 26 22:51:08 2000 Joe Orton <joe@light.plus.com>
* configure.in: Bumped version to 0.15.2.
Thu Oct 26 22:40:58 2000 Joe Orton <joe@light.plus.com>
* src/cadaver.c (open_connection): Only use the scheme-default
port if a specific port is not given (Jeff Costlow
<j.costlow@f5.com>).
Sat Oct 14 20:00:53 2000 Joe Orton <joe@light.plus.com>
* src/cadaver.c (parse_args): Fix proxy option (Sunny Gulati
<sunny@eai.com>).
Sun Sep 17 18:49:15 2000 Joe Orton <joe@light.plus.com>
* src/cadaver.c (supply_creds_server, supply_creds_proxy): Switch
messages round.
Mon Sep 11 20:24:36 2000 Joe Orton <joe@light.plus.com>
* configure.in: Bumped version to 0.15.1.
Mon Sep 11 20:22:11 2000 Joe Orton <joe@light.plus.com>
* src/cadaver.c (readline): Don't print prompt if it is NULL.
Mon Sep 11 20:19:17 2000 Joe Orton <joe@light.plus.com>
* src/cadaver.c (open_connection): Un-#if 0 out the trailing slash
test.
Mon Sep 11 17:50:55 2000 Joe Orton <joe@light.plus.com>
* configure.in: Bumped version to 0.15.0.
Mon Sep 11 17:42:42 2000 Joe Orton <joe@light.plus.com>
* src/cadaver.c (supply_creds): Use fm_getpassword rather than
getpass.
* src/cadaver.c (redirect_notify): Notify user of a redirect.
(open_connection): Register redirect notify callback, and allow
automatic redirections.
* src/cadaver.c (usage): Updated, you have to pass a whole URL on
the command-line now.
Mon Sep 11 17:42:07 2000 Joe Orton <joe@light.plus.com>
* src/commands.c (execute_delete): Only remove locks after use if
the DELETE succeeds.
Mon Sep 11 17:40:25 2000 Joe Orton <joe@light.plus.com>
* src/ls.c (compare_alpha): Removed function.
* src/ls.c (fetch_resource_list): Call dav_propfind_destroy to
destroy PROPFIND handler.
Mon Sep 11 17:37:54 2000 Joe Orton <joe@light.plus.com>
* configure.in: Add extra headers to AC_CHECK_HEADERS for
getpass.o build.
* lib/strftime.c: New file.
* configure.in: Call jm_FUNC_STRFTIME() to see whether strftime
needs replacing.
Mon Sep 11 17:34:59 2000 Joe Orton <joe@light.plus.com>
* Makefile.in (NEONOBJS): Added http_redirect.o. (LIBOBJS): Added
lib/getpass.o. (lib/getpass.o): Added deps.
Mon Sep 11 17:32:15 2000 Joe Orton <joe@light.plus.com>
* lib/glob.c (glob): Patch to enable BeOS build (from David Reid
<david@jetnet.co.uk>)
Mon Sep 11 17:27:37 2000 Joe Orton <joe@light.plus.com>
* lib/getpass.c (fm_getpassword): const the prompt parameter.
Mon Sep 11 17:27:05 2000 Joe Orton <joe@light.plus.com>
* lib/getpass.c: New file, Carl Harris's getpass replacement, from
fetchmail.
Sat Aug 5 00:32:23 2000 Joe Orton <joe@orton.demon.co.uk>
* src/commands.c (execute_delete): Only forget the locks if the
delete succeeds.
Thu Aug 3 10:34:14 2000 Joe Orton <joe@orton.demon.co.uk>
* configure.in: Bump version to 0.14.1.
Thu Aug 3 10:07:31 2000 Joe Orton <joe@orton.demon.co.uk>
* Makefile.in: Replace xalloc.h with ne_alloc.o in NEONOBJS.
Thu Aug 3 09:55:42 2000 Joe Orton <joe@orton.demon.co.uk>
* src/*.c: Use ne_* allocation functions rather than x*.
Thu Aug 3 09:47:17 2000 Joe Orton <joe@orton.demon.co.uk>
* configure.in: Add check for 'filename_completion_function'. Only
checks for readline headers if readline is enabled.
Wed Aug 2 23:40:28 2000 Joe Orton <joe@orton.demon.co.uk>
* src/ls.c: Include string.h for strrchr prototype.
Wed Aug 2 02:17:42 2000 Joe Orton <joe@orton.demon.co.uk>
* src/cadaver.c: Remove cookie hooks. (transfer_progress): Use
'off_t' not 'size_t'. (completion): Conditionally compile if
HAVE_FILENAME_COMPLETION_FUCNCTION.
Wed Aug 2 02:16:47 2000 Joe Orton <joe@orton.demon.co.uk>
* src/commands.c (execute_edit): Fixed.
Wed Aug 2 01:55:30 2000 Joe Orton <joe@orton.demon.co.uk>
* src/commands.c (execute_lock): Use exclusive lock not shared.
Fri Jul 28 12:23:30 2000 Joe Orton <joe@orton.demon.co.uk>
* configure.in: Bump version to 0.14.0.
Fri Jul 28 12:22:44 2000 Joe Orton <joe@orton.demon.co.uk>
* configure.in: Substitute SDEFS.
* Makefile.in: Add @SDEFS@ to CFLAGS.
Fri Jul 28 12:21:53 2000 Joe Orton <joe@orton.demon.co.uk>
* src/commands.c (execute_edit): Zero-out lock structure.
Fri Jul 28 11:48:04 2000 Joe Orton <joe@orton.demon.co.uk>
* src/cadaver.c (main): Call bindtextdomain/textdomain if NLS is
enabled.
Fri Jul 28 11:45:56 2000 Joe Orton <joe@orton.demon.co.uk>
* configure.in: Bumped version to 0.14.0.
Fri Jul 28 11:45:05 2000 Joe Orton <joe@orton.demon.co.uk>
* Makefile.in: Changes for intl/ build.
Fri Jul 28 11:41:21 2000 Joe Orton <joe@orton.demon.co.uk>
* src/cadaver.c (parse_args): Allow passing no argumemts again.
Fri Jul 28 11:40:29 2000 Joe Orton <joe@orton.demon.co.uk>
* src/common.h: Always define DEBUG_FILES.
Fri Jul 28 11:34:43 2000 Joe Orton <joe@orton.demon.co.uk>
* configure.in: Added gettext stuff, and build configuration
message.
Thu Jul 27 17:00:57 2000 Joe Orton <joe@orton.demon.co.uk>
* src/i18n.h: New file.
Thu Jul 27 16:22:00 2000 Joe Orton <joe@orton.demon.co.uk>
* src/cmdline.c (davglob_closedir): Free resource list after use.
Thu Jul 27 16:20:48 2000 Joe Orton <joe@orton.demon.co.uk>
* configure.in: Use NEON_WARNINGS macro for --enable-warnings.
Added --disable-readline option.
Thu Jul 20 15:28:35 2000 Joe Orton <joe@orton.demon.co.uk>
* src/cadaver.c (completion): Free command name after use.
Thu Jul 20 15:23:01 2000 Joe Orton <joe@orton.demon.co.uk>
* configure.in: Pass correct parameters for new NEON_LIBRARY.
Sun Jul 16 16:30:55 2000 Joe Orton <joe@orton.demon.co.uk>
* src/common.c (debug): Removed function.
Sun Jul 16 16:29:28 2000 Joe Orton <joe@orton.demon.co.uk>
* src/commands.c (execute_lock, execute_discover,
execute_showlocks, execute_unlock): Ported to new neon locking
code.
* src/davlocks.[ch]: Moved into neon.
Sun Jul 16 16:26:32 2000 Joe Orton <joe@orton.demon.co.uk>
* Makefile.in: Update for neon builds.
* configure.in: Mostly moved into neon macros.
Tue May 23 20:50:51 2000 Joe Orton <joe@orton.demon.co.uk>
* src/cadaver.c, src/commands.c, cmdline.c, src/options.c: Ported
to neon.
* src/ls.c: New file.
* src/davfetch.c, src/protocol.h, src/frontend.h,
src/davprops.[ch], src/socket.[ch], src/httpdav.[ch]: Removed
files.
Tue Mar 21 15:17:21 2000 Joe Orton <joe@orton.demon.co.uk>
* src/options.c: Fix options initializer.
Tue Mar 21 15:15:42 2000 Joe Orton <joe@orton.demon.co.uk>
* configure.in: Added --enable-libxml option to skip expat check.
Tue Mar 21 14:11:10 2000 Joe Orton <joe@orton.demon.co.uk>
* configure.in: Bumped version to 0.13.0.
Tue Mar 21 14:06:24 2000 Joe Orton <joe@orton.demon.co.uk>
* src/cmdline.c (davglob_opendir): Set errno to EACCES for auth
failures, else ENOENT.
Tue Mar 21 14:04:12 2000 Joe Orton <joe@orton.demon.co.uk>
* src/davfetch.c (dav_fetch): Return errors from http_request
as-is.
Tue Mar 21 13:48:33 2000 Joe Orton <joe@orton.demon.co.uk>
* src/socket.c: Use ssize_t appropriately. Don't call perror().
Tue Mar 21 13:43:09 2000 Joe Orton <joe@orton.demon.co.uk>
* src/httpdav.c (http_response_read): Use strtol not sscanf for
reading chunk size. (http_request): Ripped out "can authenticate"
state. Handle dead connections better. Read Proxy-Auth.-Info
header. Authenticate server response before reading challenges.
Mon Mar 20 19:05:22 2000 Joe Orton <joe@orton.demon.co.uk>
* lib/string_utils.c (split_string_c, pair_string): Return NULL on
malloc failure.
Wed Mar 15 18:50:42 2000 Joe Orton <joe@orton.demon.co.uk>
* src/httpdav.c (http_response_read): Display response body blocks
using DEBUG_HTTPBODY channel.
Wed Mar 15 18:49:35 2000 Joe Orton <joe@orton.demon.co.uk>
* src/options.c: Added "proxy" and "proxy-port" options. Added
"httpbody" debug channel.
Wed Mar 15 18:41:15 2000 Joe Orton <joe@orton.demon.co.uk>
* src/httpdav.c (http_request_init): Store abs_path and
absoluteURI separately. (http_request) Use absoluteURI for proxy
authentication, and abs_path for server authentication. Send
absoluteURI as Request-URI to proxy, or abs_path to server.
Wed Mar 15 18:37:11 2000 Joe Orton <joe@orton.demon.co.uk>
* src/davfetch.c: Use DEBUG_XML debugging channel not DEBUG_HTTP.
Wed Mar 15 18:33:57 2000 Joe Orton <joe@orton.demon.co.uk>
* src/cadaver.c (open_connection): Support proxy server.
(set_proxy): New function. (fe_login): Support new authentication
interface. (parse_args): Support --proxy option.
(fe_connection): Minor cosmetics.
Mon Mar 13 15:06:06 2000 Joe Orton <joe@orton.demon.co.uk>
* src/httpdav.c (http_request): Use an sbuffer for reading request
headers (unlimited length possible). Close the connection if the
server is < HTTP/1.1 compliant and doesn't send a Keep-Alive.
Added proxy authentication. Send no-cache directive if sending a
If: header. [USE_BROKEN_PROPFIND]: Removed all code.
Mon Mar 13 14:26:03 2000 Joe Orton <joe@orton.demon.co.uk>
* lib/string_utils.c (pair_string, pair_string_free): Fix the leaks.
Mon Mar 13 14:24:53 2000 Joe Orton <joe@orton.demon.co.uk>
* lib/string_utils.c (sbuffer_grow): Made public.
(sbuffer_create_sized): New function. (sbuffer_create): Use it.
Wed Mar 8 20:39:43 2000 Joe Orton <joe@orton.demon.co.uk>
* configure.in: Bumped versio to 0.12.2.
Wed Mar 8 20:37:35 2000 Joe Orton <joe@orton.demon.co.uk>
* src/davlocks.c, src/httpdav.h: Renamed 'lock_list' ->
'submit_locks'.
src/davlocks.c (dav_submit_lock): Take request target URI.
(dav_lock_ifheader): Use request target URI not lock URI in
tagged-list.
Wed Mar 8 20:29:26 2000 Joe Orton <joe@orton.demon.co.uk>
* lib/dates.c: Relicensed LGPL/GPL dual.
Wed Mar 8 20:27:23 2000 Joe Orton <joe@orton.demon.co.uk>
* lib/string_utils.c: Relicensed LGPL/GPL dual.
Wed Mar 8 20:24:51 2000 Joe Orton <joe@orton.demon.co.uk>
* lib/base64.c: Relicensed LGPL/GPL dual.
Wed Mar 8 14:33:17 2000 Joe Orton <joe@orton.demon.co.uk>
* src/davlocks.c (dav_submit_lock): Renamed from dav_locklist_add.
Wed Mar 8 14:30:45 2000 Joe Orton <joe@orton.demon.co.uk>