forked from zmanda/amanda
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathChangeLog
13817 lines (11302 loc) · 590 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
2011-12-24 Dustin J. Mitchell <dustin@mozilla.com>
Patch by Nathan Stratton Treadway.
* man/xml-source/amgetconf.8.xml: a typo in the amgetconf.8 man page
2011-12-24 Dustin J. Mitchell <dustin@mozilla.com>
Patch by Nathan Stratton Treadway.
* common-src/conffile.c: minor problem with an error message in
conffile.c, this time in the read_confline() function. It's just a
mention of "APPLICATION-TOOL"/"SCRIPT-TOOL" that was missed in SVN
revision 2028/git commit d0d9425b5d1e5a535719e754243c8f9f12a0ecf1 (in
which those names were changed to "APPLICATION" and "SCRIPT" instead).
2011-12-23 Jean-Louis Martineau <martineau@zmanda.com>
Patch by Nathan Stratton Treadway.
* common-src/conffile.c (read_int_or_str): Fix error message.
2011-12-22 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/planner.c: Fix force-bump with overdue filesystem.
2011-12-22 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amlabel.pl: --asign require --meta or --barcode.
2011-12-20 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/amserverconfig.pl: Remove holding disk and vtapes.
2011-12-14 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Amanda_Xfer.pl: Load Amanda::Changer only with server
component.
2011-12-14 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Installcheck/Run.pm (load_vtape): Use $sbindir to
execute amtape.
2011-12-14 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c (s3_is_bucket_exists): Set max-keys=1.
2011-12-14 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Recovery/Scan.pm (new): Return changer error.
2011-12-12 Jean-Louis Martineau <martineau@zmanda.com>
* Makefile.am (SERVER_SUBDIRS): Remove changer-src.
* changer-src: Remove subdirectoy.
* configure.in (AC_CONFIG_FILES): Remove changer-src/Makefile.
* man/xml-source/amanda-changers.7.xml: Remove all older changer api.
* perl/Amanda/Changer.pm: Remove check for older changer api.
* perl/Amanda/Changer/compat.pm: Remove file.
* perl/Makefile.am (AmandaChanger_DATA): Remove Amanda/Changer/compat.pm
* installcheck/Amanda_Changer.pl: Remove test of older changer api.
* installcheck/Amanda_Changer_compat.pl: Remove file.
* installcheck/Amanda_DB_Catalog.pl: Fix typo.
* installcheck/Amanda_Recovery_Planner.pl: Fix typo.
* installcheck/Amanda_Recovery_Scan.pl: Use new changer api.
* installcheck/Amanda_Xfer.pl: Use new changer api.
* installcheck/Installcheck/Run.pm: Remove code to create older vtapes.
* installcheck/Makefile.am (server_tests): Remove Amanda_Changer_compat.
* installcheck/amdevcheck.pl: Use new changer api.
* installcheck/amlabel.pl: Use new changer api.
* installcheck/amtape.pl: Use new changer api.
* installcheck/amtapetype.pl: Use new changer api.
* installcheck/taper.pl: Use new changer api.
2011-12-12 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/amdevcheck.pl: Use current slot.
2011-12-12 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/amfeatures.c: Add fe_dumptype_property.
* common-src/amfeatures.h: Add fe_dumptype_property.
* common-src/amxml.c: Parse dumptype properties.
* common-src/amxml.h (dle_t): Add property field.
* perl/Amanda/Disklist.swg: Add clean_dle_str_for_client.
* perl/Amanda/Feature.pod: Add fe_dumptype_property.
* perl/Amanda/Feature.swg: Add Amanda::Feature::Set::features
* server-src/amidxtaped.pl: Call clean_dle_str_for_client.
* server-src/diskfile.c (xml_dumptype_properties): New function toi
return dumptype propertyes.
* server-src/diskfile.h (xml_dumptype_properties) Add prototype.
* server-src/driverio.c: Add xml_dumptype_properties to dumper cmd.
* server-src/dumper.c: Call clean_dle_str_for_client.
2011-12-09 Jean-Louis Martineau <martineau@zmanda.com>
* config/config.guess config/config.sub: new updates from FSF.
2011-12-08 Jean-Louis Martineau <martineau@zmanda.com>
* example/template.d/amanda-harddisk.conf.in: fix for installcheck.
2011-12-08 Jean-Louis Martineau <martineau@zmanda.com>
* NEWS, ReleaseNotes: Update for 3.3.1
2011-12-08 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amindex.c (getheaderfname): New function.
* server-src/amindex.h (getheaderfname): New prototype.
* server-src/dumper.c: Wrtie header to a file in indexdir.
2011-12-07 Jean-Louis Martineau <martineau@zmanda.com>
* example/template.d/amanda-S3.conf.in,
example/template.d/amanda-harddisk.conf.in,
example/template.d/amanda-single-tape.conf.in,
example/template.d/amanda-tape-changer.conf.in: Use new changer api.
* server-src/amserverconfig.pl: Use new changer api.
2011-12-07 Jean-Louis Martineau <martineau@zmanda.com>
* man/xml-source/amvault.8.xml: Improve.
2011-12-07 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/ScanInventory.pm (volume_is_labelable): New method.
* perl/Amanda/Taper/Scan/lexical.pm, perl/Amanda/Taper/Scan/oldest.pm:
Use volume_is_labelable from ScanInventory.
* perl/Amanda/Taper/Scan/traditional.pm: Fix bad logging.
* perl/Amanda/Taper/Scribe.pm: Print "autolabel disabled".
* perl/Amanda/Taper/Worker.pm: Add debugging.
* server-src/amvault.pl: Quit both changer, add debugging.
2011-12-07 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amcleanup.pl, server-src/amcleanupdisk.pl: use
Amanda::Debug.
2011-12-05 Jean-Louis Martineau <martineau@zmanda.com>
Fix for previous patch.
* application-src/amlog-script.pl, application-src/ampgsql.pl,
application-src/amraw.pl, application-src/amsamba.pl,
application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
application-src/amzfs-snapshot.pl,
application-src/script-email.pl: Undo previous patch,
* perl/Amanda/Script_App.pm: Do it here instead.
server-src/amlogroll.pl, server-src/amvault.pl
server-src/chunker.pl,
server-src/taper.pl: Import the debug method.
* server-src/amoverview.pl, server-src/amserverconfig.pl,
server-src/amstatus.pl: Undo previous patch, they do not use the
debug file.
2011-12-05 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/amlog-script.pl, application-src/ampgsql.pl,
application-src/amraw.pl, application-src/amsamba.pl,
application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
application-src/amzfs-snapshot.pl, application-src/script-email.pl,
client-src/amdump_client.pl, common-src/amgetconf.pl,
device-src/amdevcheck.pl, device-src/amtapetype.pl,
server-src/amcheckdump.pl, server-src/amcleanup.pl,
server-src/amcleanupdisk.pl, server-src/amdump.pl,
server-src/amfetchdump.pl, server-src/amlabel.pl,
server-src/amlogroll.pl, server-src/amoverview.pl,
server-src/amreport.pl, server-src/amrestore.pl,
server-src/amrmtape.pl, server-src/amserverconfig.pl,
server-src/amstatus.pl, server-src/amtape.pl,
server-src/amvault.pl, server-src/chunker.pl,
server-src/taper.pl: Print command line arguments to debug file.
2011-12-05 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/device.c, device-src/ndmp-device.c,
device-src/tape-device.c: Call device_set_error if setting a
property fail.
* perl/Amanda/Changer.pm: Use device error message.
2011-12-02 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-device.c, device-src/vfs-device.c (*_device_erase):
set the device state to unlabeled.
* perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/multi.pm
(set_label): works with undefined label.
* perl/Amanda/Changer/robot.pm: small cleanup.
* server-src/amrmtape.pl: Call reservation set_label method to remove
the label from the state.
2011-12-02 Jean-Louis Martineau <martineau@zmanda.com>
* man/xml-source/amanda.conf.5.xml (autolabel): Document it must match
labelstr.
2011-12-01 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-device.c (delete_file): Use multiple threads.
2011-11-30 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/xfer-dest-taper-splitter.c: Set the xmsg even if the xfer
is cancelled.
* perl/Amanda/Taper/Scribe.pm: result is PARTIAL|FAILED if
!last_part_successful.
2011-11-30 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/xfer-source-recovery.c (pull_buffer_impl): Release lock
before calling wait_until_xfer_cancelled.
2011-11-28 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amfetchdump.pl: Fix usage.
* man/xml-source/amfetchdump.8.xml: Fix synopsis.
2011-11-25 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Makefile.am: Fix typo.
2011-11-25 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/gnutar.pl: Change expectations to an array that can be
scanned in order, fix for tar-1.25 on fc15.
2011-11-22 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Makefile.am: rm with '-f'.
2011-11-22 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c (build_url): curl is G_GNUC_UNUSED.
2011-11-21 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amtape.pl: Fix 'amtape show' with one slot.
* installcheck/amtape.pl: Test it.
2011-11-21 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amreport.pl: Check if executable before open3().
* installcheck/amreport.pl: Fix for new message.
2011-11-21 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amtape.pl: Add [slots] argument to amtape show.
* man/xml-source/amtape.8.xml: Document it.
2011-11-21 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: Disable the service_path if it is set to an empty
string or '/', also remove trailing slash.
2011-11-21 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amdump.pl: Log a 'START planner date' line on error'.
2011-11-15 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: Use curl_easy_escape.
2011-11-15 Jean-Louis Martineau <martineau@zmanda.com>
* amplot/Makefile.am, application-src/Makefile.am,
client-src/Makefile.am, common-src/Makefile.am,
device-src/Makefile.am, server-src/Makefile.am: Add $(SCRIPTS_PERL)
$(SCRIPTS_SHELL) and $(SCRIPTS_AWK) to CLEANFILES.
Add config.log to DISTCLEANFILES.
* installcheck/Makefile.am: Add $(all_tests) $(mocks)
$(noinst_SCRIPTS) to CLEANFILES. Add config.log to DISTCLEANFILES
(installcheck-local): Remove $(CONFIG_DIR)/amanda-client.conf,
$(CONFIG_DIR)/template.d/dumptypes and
$(CONFIG_DIR)/template.d/tapetypes is they were not present.
2011-11-14 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/gnutar.pl: Fix for fc16.
2011-11-10 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/mock/mtx.pl: Fix qw.
2011-11-10 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amstatus.pl: Use Getopt::Long
2011-11-10 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: Use CURLOPT_MAX_RECV_SPEED_LARGE.
2011-11-10 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Logfile.pod: Remove match_* functions
* perl/Amanda/Logfile.swg: Remove match_* functions
* perl/Amanda/Util.pod: Add match_* functions
* perl/Amanda/Util.swg: Add match_* functions
* client-src/amdump_client.pl, perl/Amanda/DB/Catalog.pm,
server-src/amdumpd.pl, server-src/amidxtaped.pl,
server-src/amvault.pl: Use match_* functions for Amanda::Util
2011-11-10 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Report.pm: Always report the first 100 strange lines.
* installcheck/catalogs/longstrange.cat: Fix test.
2011-11-09 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amreport.pl: Fix for perl-5.14
* installcheck/amreport.pl: Add test.
2011-11-09 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Installcheck/Changer.pm: Fix warnign for perl 5.14.
2011-11-09 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/ampgsql.pl: Print state filename to debug file.
2011-11-07 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-device.c: Add S3_SERVER_SIDE_ENCRYPTION property.
* device-src/s3.c: Add server_side_encryption.
* device-src/s3.h: Add server_side_encryption.
* man/xml-source/amanda-devices.7.xml: Document
S3_SERVER_SIDE_ENCRYPTION property
2011-11-07 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer.pm (release): Always call finished_cb.
* installcheck/amcheck-device.pl: Add a check.
2011-10-12 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/driverio.c (update_info_dumper): Set date to 0 if
datestamp is 0.
2011-10-07 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/ampgsql.pl: If datadir is not set, use the disk
argument.
2011-10-07 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/conffile.c: Do not free cwd.
* common-src/amgetconf.pl: Allow to get one property.
* installcheck/amgetconf.pl: Test it.
2011-10-05 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: Retry in case of CURLE_SSL_CONNECT_ERROR error.
2011-10-04 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/gnutar.pl: Add support for fc14 and fc15.
2011-10-04 Jean-Louis Martineau <martineau@zmanda.com>
* recover-src/extract_list.c: Do not crahs if amidxtaped close the
connection.
2011-10-04 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: Correctly set thunk->next_marker.
2011-09-30 Dan Locks <dwlocks@zmanda.com>
* packaging/common/substitute.pl: fix PKG_REV missing message.
* packaging/sun-pkg/buildpkg, packaging/deb/buildpkg,
packaging/rpm/buildpkg: create PKG_REV file until the machinery to
process svn tags for PKG_REV is in place
2011-09-29 Dan Locks <dwlocks@zmanda.com>
* packaging/sun-pkg: sun package subdirectories
* packaging/sun-pkg/buildpkg: sun package building script
* packaging/common/mock_utils.sh: mocked utilities used by pre/post
scripts
* packaging/common/post_inst_functions.sh,
packaging/common/post_rm_functions.sh,
packaging/common/pre_inst_functions.sh,
packaging/common/common_functions.sh: shared shell functions for
pre/post scripts.
* packaging/common/substitute.pl: update to handle sun packages and
shell functions
* packaging/common/test_sh_libs.sh: unit tests for shell functions
* packaging/common/shunit2: unit test framework
* packaging/Makefile.am: add sun package to dist tarball.
* note: S3 device is not enabled; solaris compilation has me stumped.
2011-09-21 Jean-Louis Martineau <martineau@zmanda.com>
Patch by Sam Stuck
* man/xml-source/amanda-changers.7.xml: Typo.
2011-09-20 Jean-Louis Martineau <martineau@zmanda.com>
* man/Makefile.am (SERVER_MAN_PAGES): Add amcleanupdisk.8
* man/xml-source/amcleanup.8.xml:Add -r option.
* man/xml-source/amcleanupdisk.8.xml: New man page.
* perl/Amanda/Holding.pm (all_files, merge_all_files, rename_tmp):
New methods.
* server-src/Makefile.am (amlibexec_PROGRAMS): Remove amcleanupdisk.
* server-src/Makefile.am (sbin_SCRIPTS_PERL): Add amcleanupdisk.
* server-src/amcleanup.pl: Add -r option.
* server-src/amcleanupdisk.c: Remove file
* server-src/amcleanupdisk.pl: New perl version.
* server-src/holding.c: Fix max level to 399.
2011-09-07 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Amanda_Device.pl: Check setting a property with an
invalid name.
2011-09-07 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Device.swg: Do not g_value_unset an uninitialized value.
2011-09-07 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/amzfs-sendrecv.pl: restore works without --device.
2011-09-06 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/amcryptsimple.pl: Do not use gpg-agent if it is not
available.
2011-09-02 Jean-Louis Martineau <martineau@zmanda.com>
* client-src/selfcheck.c (print_platform): Another fix.
2011-09-02 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/amcryptsimple.pl: Use gpg-agent.
2011-09-02 Jean-Louis Martineau <martineau@zmanda.com>
* client-src/selfcheck.c (print_platform): Fix.
2011-09-01 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amadmin.c (export) parse version without patch number.
2011-09-01 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/ScanInventory.pm: Get the meta label before
calling make_new_tape_label.
* perl/Amanda/Taper/Scan/traditional.pm: Get the meta label before
calling make_new_tape_label.
* perl/Amanda/Taper/Scribe.pm: Return the reservation on error.
* server-src/amcheck-device.pl: Release the reservation on error.
* server-src/amtape.pl: Release the reservation on error,
change 'amtape taper' output to be the same as amcheck.
* installcheck/amtape.pl: Fix for new amtape output.
2011-08-31 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/debug.c (debug_printf): Print a thread id.
* device-src/xfer-dest-taper-cacher.c,
device-src/xfer-dest-taper-directtcp.c,
device-src/xfer-dest-taper-splitter.c,
device-src/xfer-source-recovery.c,
server-src/xfer-dest-holding.c: Remove printing of thread id.
2011-08-31 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/dumper.c: filter stderr make result strange,
filter exit_code != 0 make it fail.
2011-08-31 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/amgtar.c: Do not rename gnutar-list if record is not
set.
2011-08-31 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/tapefile.h (struct tape_s): Add blocksize.
* server-src/tapefile.c: Print and parse blocksize in tapelist file.
* perl/Amanda/Tapelist.swg: Print and parse blocksize in tapelist file.
* perl/Amanda/Taper/Scribe.pm: Add blocksize argument to add_tapelabel.
* server-src/amlabel.pl: Add blocksize argument to add_tapelabel.
* installcheck/Amanda_Tapelist.pl: Fix for tapelist file format.
* installcheck/amlabel.pl: Fix for tapelist file format.
2011-08-31 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/device.h (struct Device): Add header_block_size.
* device-src/null-device.c, device-src/rait-device.c,
device-src/s3-device.c, device-src/tape-device.c,
device-src/vfs-device.c: Set header_block_size.
* perl/Amanda/Device.swg: Swig header_block_size.
2011-08-31 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Amanda_Device.pl: Fix number of skipped test for S3.
2011-08-31 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/planner.c: Print why a disk is skip if DS_NOINC.
2011-08-30 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Amanda_Device.pl: Check invalid location on s3 device.
2011-08-30 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c (s3_is_bucket_exists): Do not retry if bucket do
not exists.
2011-08-30 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c (s3_is_bucket_exists): New function to check if a
bucket exists.
* device-src/s3.h (s3_is_bucket_exists): Prototype.
* device-src/s3-device.c: Call s3_is_bucket_exists before
s3_make_bucket.
2011-08-29 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/multi.pm: Keep the device_error in the state file.
* perl/Amanda/Changer/robot.pm: Keep the device_error in the state file.
* server-src/amtape.pl (inventory): Print inventory device error.
* installcheck/Amanda_Changer_multi.pl,
installcheck/Amanda_Changer_ndmp.pl,
installcheck/Amanda_Changer_robot.pl: Fix for device_error in
state file.
2011-08-29 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer.pm: Fix warning.
2011-08-29 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Amanda_Changer_ndmp.pl,
installcheck/Amanda_Changer_robot.pl: Fix for previous patch.
2011-08-29 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/robot.pm: return a reservation even on error.
2011-08-29 Jean-Louis Martineau <martineau@zmanda.com>
Patch by Gunar Gunnarsson
* server-src/amvault.pl: Cast $dump->{'kb'} to int.
2011-08-24 Jean-Louis Martineau <martineau@zmanda.com>
* man/xml-source/amanda-devices.7.xml: Update S3 location url.
2011-08-24 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/match.c: Fix for 'Trailing backslash' error
* common-src/match-test.c: Add test
2011-07-27 Jean-Louis Martineau <martineau@zmanda.com>
* amandad-src/amandad.c, client-src/calcsize.c,
client-src/killpgrp.c, client-src/noop.c,
client-src/rundump.c, client-src/runtar.c,
client-src/selfcheck.c, client-src/sendbackup.c,
client-src/sendsize.c, ndmp-src/amndmjob_main.c,
server-src/amcleanupdisk.c, server-src/amindexd.c,
server-src/amtrmidx.c, server-src/amtrmlog.c,
server-src/driver.c, server-src/dumper.c,
server-src/planner.c: Add a --version argument.
2011-07-27 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/amservice.c, recover-src/amrecover.c,
server-src/amflush.c: #include "getopt.h"
2011-07-27 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/ampgsql.pl: add ARCHIVEDIR, CLEANUPWAL, DB,
HOST, MAX-WAL-WAIT, PASSFILE, PORT, PSQL-PATH and USER
properties.
* man/xml-source/ampgsql.8.xml: Document them.
2011-07-27 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/amservice.c, recover-src/amrecover.c,
server-src/amcheck.c, server-src/amflush.c: Add a --version argument.
2011-07-27 Jean-Louis Martineau <martineau@zmanda.com>
* client-src/selfcheck.c: Check return value of fgets.
2011-07-27 Jean-Louis Martineau <martineau@zmanda.com>
* many */*.pl: add --version option.
2011-07-27 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/ampgsql.pl: print to debug file and server if unlink
fail.
2011-07-25 Jean-Louis Martineau <martineau@zmanda.com>
* man/xml-source/amgtar.8.xml, man/xml-source/amraw.8.xml,
man/xml-source/amsamba.8.xml, man/xml-source/amstar.8.xml,
man/xml-source/amsuntar.8.xml,
man/xml-source/amzfs-sendrecv.8.xml: Document the diskdevice.
2011-07-25 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amcheck.c: new '--client-verbose' option.
* man/xml-source/amcheck.8.xml: Document --client-verbos
* config/amanda/progs.m4 (AMANDA_PROG_UNAME): new macro to find uname
path.
* configure.in: call AMANDA_PROG_UNAME.
* client-src/client_util.c (check_access, check_file, check_dir,
check_suid): return a gboolean.
* client-src/client_util.h: Change prototypes.
* client-src/selfcheck.c: Print the platform.
* common-src/util.c (get_first_line): new function to return the first
output line of a command.
* common-src/util.h (get_first_line): add prototype.
* application-src/amgtar.c, application-src/ampgsql.pl,
application-src/amraw.pl, application-src/amsamba.pl,
application-src/amstar.c, application-src/amsuntar.pl,
application-src/amzfs-sendrecv.pl: print version of program.
2011-07-22 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer.pm: Fix warning if $s is not used.
2011-07-22 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer.pm: Support minimun number of digit in $3s
autolabel template.
* man/xml-source/amanda.conf.5.xml: Document it.
2011-07-21 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/multi.pm (do_release): Support eject params.
* perl/Amanda/Changer/single.pm (do_release): Do the eject correctly.
2011-07-21 Jean-Louis Martineau <martineau@zmanda.com>
* man/xml-source/amanda-taperscan.7.xml: Typo.
2011-07-20 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/conffile.h: Add CONF_EJECT_VOLUME
* common-src/conffile.c: Add CNF_EJECT_VOLUME
* man/xml-source/amanda.conf.5.xml: Document eject-volume.
* perl/Amanda/Config.swg: Add CNF_EJECT_VOLUME.
* perl/Amanda/Changer/single.pm: Eject the device if the eject
params is set in $res->release()
* perl/Amanda/Taper/Scribe.pm (new): Get eject_volume params.
* perl/Amanda/Taper/Scribe.pm (_release_reservation): Call
$res->release with the eject params if needed.
* perl/Amanda/Taper/Worker.pm: Make the Scribe with the eject_volume
params set to $CNF_EJECT_VOLUME
2011-07-20 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer.pm (make_error): callback is optional.
* perl/Amanda/Changer/disk.pm: Check if disk is mounted before locking.
* perl/Amanda/ScanInventory.pm (_scan): fail only on fatal error.
* perl/Amanda/Taper/Controller.pm: Put error message in double quote.
* perl/Amanda/Taper/Worker.pm: Put message in double quote.
2011-07-19 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/driver.c (tape_action): consider number of dle on volume
and max-dle-by-volume for allowing use of new volume.
2011-07-15 Jean-Louis Martineau <martineau@zmanda.com>
* man/xml-source/amanda-changers.7.xml: Add chg-single documentation.
2011-07-14 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-device.c:Increase S3_DEVICE_MAX_BLOCK_SIZE to 3GiB.
2011-07-14 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-device.c:Increase S3_DEVICE_MAX_BLOCK_SIZE to 5TiB.
2011-07-13 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/conffile.c: Add CONF_MAX_DLE_BY_VOLUME.
* common-src/conffile.h: Add CNF_MAX_DLE_BY_VOLUME.
* man/xml-source/amanda.conf.5.xml: Document max-dle-by-volume.
* perl/Amanda/Config.swg: Add CNF_MAX_DLE_BY_VOLUME.
* perl/Amanda/Taper/Controller.pm: Add msg_CLOSE_VOLUME method.
* perl/Amanda/Taper/Protocol.pm: Add CLOSE_VOLUME.
* perl/Amanda/Taper/Scribe.pm: Add close_volume method, call
_get_new_volume() is close_volume was called.
* perl/Amanda/Taper/Worker.pm: Add CLOSE_VOLUME method.
* server-src/driver.c: Send CLOSE_VOLUME command to taper if the
number of dle on a volume is larger than max-dle-by-volume
* server-src/driverio.c: Send CLOSE_VOLUME command.
* server-src/driverio.h: Add nb_dle to taper_t.
* server-src/server_util.c: Add "CLOSE-VOLUME" to cmdstr.
* server-src/server_util.h: Add CLOSE_VOLUME.
2011-07-12 Jean-Louis Martineau <martineau@zmanda.com>
* config/amanda/libs.m4: Fix use of AC_LINK_IFELSE.
2011-07-12 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/match.c (match_word): better matching for anchored
expression.
* common-src/match-test.c: Add new tests.
2011-07-11 Jean-Louis Martineau <martineau@zmanda.com>
Add '$s' substitution to autolabel.
* perl/Amanda/Changer.pm (make_new_tape_label): Handle $s.
* perl/Amanda/Taper/Scan/lexical.pm, perl/Amanda/Taper/Scan/oldest.pm,
perl/Amanda/Taper/Scribe.pm: Call make_new_tape_label with the slot.
* man/xml-source/amanda.conf.5.xml: Document $s substitution.
2011-07-08 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer.pm: Fix compuation of npercents and
nexclamations.
2011-07-07 Jean-Louis Martineau <martineau@zmanda.com>
* config/ltmain.sh, config/lt~obsolete.m4, config/ltoptions.m4,
config/ltsugar.m4, config/ltversion.m4: Upgrade libtool to 2.4
2011-07-07 Jean-Louis Martineau <martineau@zmanda.com>
* config/amanda/libs.m4: Fix for newer aclocal
* config/libtool.m4: Upgrade for compatibility with newwe aclocal
2011-07-07 Jean-Louis Martineau <martineau@zmanda.com>
* Many *.c files: Fix for gcc-4.6.0 warning: variable ‘NAME’ set but
not used.
2011-07-07 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Taper/Scribe.pm: Keep the barcode when relabeling a tape
2011-07-05 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/robot.pm: Retry up to 120 seconds if the sense
key is 'Not Ready'
2011-07-05 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer.pm: Add letter based sequence to autolabel
and meta-autolabel.
* man/xml-source/amanda.conf.5.xml: Document them.
2011-06-29 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/amstar.c: s/stralloc/g_strdup/
2011-06-29 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/amstar.c: typo.
2011-06-29 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/driver.c: Call short_dump_state on all state change.
2011-06-29 Jean-Louis Martineau <martineau@zmanda.com>
Patch by p_michalczyk
* application-src/amstar.c: Place command_options at the and of
command line.
2011-06-29 Jean-Louis Martineau <martineau@zmanda.com>
Replace semaphore by amsemaphore.
* common-src/Makefile.am: Remove semaphore.*, add amsemaphore.*
* common-src/amsemaphore-test.c: New copy of semaphore-test.c
* common-src/amsemaphore.c: New copy of semaphore.c
* common-src/amsemaphore.h: New copy of semaphore.h
* common-src/semaphore-test.c: Removed file.
* common-src/semaphore.c: Removed file.
* common-src/semaphore.h: Removed file.
* device-src/rait-device.c: s/semaphore_/amsemaphore_/g
* xfer-src/element-glue.c: s/semaphore_/amsemaphore_/g
* xfer-src/element-glue.h: s/semaphore_/amsemaphore_/g
2011-06-28 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/driver.c: Check holding file is in a holding directory.
2011-06-27 Jean-Louis Martineau <martineau@zmanda.com>
* man/xml-source/amanda-devices.7.xml: s/Witout/Without/
2011-06-27 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/xfer-dest-holding.c: Check return value of ftruncate.
* perl/Amanda/Logfile.swg: Remove debugging statement.
2011-06-21 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/amanda.h: Remove KAMANDA_SERVICE_NAME, SERVICE_SUFFIX,
AMANDA_SERVICE_DEFAULT and KAMANDA_SERVICE_DEFAULT.
* common-src/bsd-security.c: Use AMANDA_SERVICE_NAME.
* common-src/bsdtcp-security.c: Use AMANDA_SERVICE_NAME.
* common-src/bsdudp-security.c: Use AMANDA_SERVICE_NAME.
* common-src/util.c: Use AMANDA_SERVICE_NAME.
* config/amanda/debugging.m4: Remove AMANDA_WITH_TESTING
* configure.in: Remove AMANDA_WITH_TESTING.
* oldrecover-src/amrecover.c: Remove SERVICE_SUFFIX.
* oldrecover-src/extract_list.c: Remove SERVICE_SUFFIX.
* client-src/patch-system.sh: Set SERVICE_SUFFIX to "".
2011-06-21 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/chunker.c: Remove file.
* server-src/chunker.pl: New perl chunker.
* perl/Amanda/Chunker/Controller.pm,
perl/Amanda/Chunker/Protocol.pm,
perl/Amanda/Chunker/Scribe.pm: Perl object for chunker.
* perl/Amanda/Logfile.swg (make_chunker_stats): New function.
* perl/Amanda/XferServer.swg: Add Amanda::Xfer::Dest::Holding.
* perl/Amanda/Xfer.pod: Document Amanda::Xfer::Dest::Holding.
* perl/Amanda/Xfer.swg: Add XMSG_CHUNK_DONE and new xmsg arguments.
* perl/Makefile.am: Add Amanda::Chunker::*
* server-src/Makefile.am (amlibexec_PROGRAMS): Remove chunker.
* server-src/Makefile.am (amlibexec_SCRIPTS_PERL): Add chunker.
* server-src/driver.c: Fix for new protocol with chunker.
* server-src/driverio.c: Fix for new protocol with chunker.
* server-src/driverio.h: Add sendresult in chunker_t.
* server-src/xfer-dest-holding.c: New xfer destination for holding disk
* server-src/xfer-server.h: Add function for xfer_dest_holding.
* xfer-src/xmsg.h: Add XMSG_CHUNK_DONE in xmsg_type.
Add header_size, data_size and no_room in XMsg.
* installcheck/chunker.pl: Check new chunker protocol.
2011-06-21 Jean-Louis Martineau <martineau@zmanda.com>
* man/xml-source/amanda-client.conf.5.xml: Add amdump-server.
* man/xml-source/amdump_client.8.xml: Fix doc.
2011-06-21 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Taper/Scribe.pm: Fix add_tapelabel call.
2011-06-20 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Taper/Scribe.pm: Correcly make label with meta and barcode
2011-06-20 Jean-Louis Martineau <martineau@zmanda.com>
* man/xml-source/amrecover.8.xml: Document new settranslate command.
* recover-src/amrecover.c: Add disk_tpath,
* recover-src/amrecover.c (translate_octal): New function.
* recover-src/amrecover.h: Add tpath to DIR_ITEM.
* recover-src/display_commands.c: Set and use tpath.
* recover-src/extract_list.c: Use tpath
* recover-src/help.c: Add settranslate command.
* recover-src/set_commands.c: Set and tpath.
* recover-src/uparse.y: Parse settranslate command.
* recover-src/uscan.l: Add SETTRANSLATE keyword.
2011-06-17 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/robot.pm, perl/Amanda/Recovery/Planner.pm,
perl/Amanda/Recovery/Clerk.pm,
perl/Amanda/Taper/Scribe.pm: Fix for qw syntax in perl 5.14.
2011-06-13 Francis Galiegue <fgaliegue@gmail.com>
* common-src/match.c: implement regex caching with two mutex-protected
GHashTables (one for REG_NEWLINE, one for !REG_NEWLINE)
2011-06-13 Francis Galiegue <fgaliegue@gmail.com>
* common-src/match.c: rename do_validate_regex() to do_regex_compile()
2011-06-13 Francis Galiegue <fgaliegue@gmail.com>
* common-src/match.c: match_word(): earlier init of static data
2011-06-13 Francis Galiegue <fgaliegue@gmail.com>
* common-src/match.c: static corner case regex definitions for
match_word()
2011-06-13 Francis Galiegue <fgaliegue@gmail.com>
* common-src/match.c: match_word(): push down nglob variable, rename it
to glob_copy
2011-06-13 Francis Galiegue <fgaliegue@gmail.com>
* common-src/match.c: move word wrapping out of match_word() into new
helper wrap_word()
2011-06-13 Francis Galiegue <fgaliegue@gmail.com>
* common-src/match.c: ambloc_to_regex(): calculate worst case expansion
dynamically
2011-06-13 Francis Galiegue <fgaliegue@gmail.com>
* common-src/match.c: ambloc_to_regex(): pass beginning and end of regex
as arguments
2011-06-13 Francis Galiegue <fgaliegue@gmail.com>
* common-src/match.c: group functions logically together, add comments
2011-06-13 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Taper/Worker.pm: s/messsage/message/.
2011-06-09 Dustin J. Mitchell <dustin@mozilla.com>
* client-src/selfcheck.c: Push down tmpbuf and remove some duplicate
code; fixes compiles with SAMBA_VERSION not defined
2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
* gnulib/*: revert blind perl one-liner replacement of alloc to
g_malloc, by doing the reverse transform exactly
2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
* oldrecover-src/amrecover.c: fix one more wrong g_str_has_prefix()
usage
2011-06-09 Jean-Louis Martineau <martineau@zmanda.com>
* oldrecover-src/extract_list.c,
recover-src/extract_list.c: Fix g_str_has_prefix.
* server-src/amtrmlog.c: Revert g_str_has_prefix. fix.
2011-06-09 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amindexd.c: Fix g_str_has_prefix.
2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
* Many files (77): use g_str_equal() insteadl of strcmp(...) == 0 (and
reverse),use g_str_has_prefix() instead of strncmp(...) == 0 (and
reverse)
2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
* common-src/alloc.c, common-src/amanda.h: goodbye vstrextend() and
internal_vstralloc()
2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
* server-src/tapefile.c: list_new_tapes(): replace vstrextend() usage
with a GString; rework exit paths
2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
* server-src/dumper.c: delay_one_dump(): replace vstrextend() with a
GPtrArray/GString combination; create one local variable
2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
* server-src/dumper.c: startup_dump(): replace vstrextend() with a
GString; fix boolean usage
2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
* server-src/driverio.c: dumper_cmd(): replace vstrextend() usage with a
GPtrArray, and replace some g_strjoin() usages with g_strdup_printf()
2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
* server-src/diskfile.c: match_disklist(): replace vstrextend() with a
GString; fix spelling mistake
* installcheck/amadmin.pl: account for spelling mistake
2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
* server-src/diskfile.c: xml_scripts(): replace vstrextend() with a
GString
2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
* server-src/diskfile.c: xml_application(): replace vstrextend() with a
GString
2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
* server-src/diskfile.c: xml_property(): replace vstrextend() with a
GString
2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
* server-src/diskfile.c: xml_estimate(): replace vstrextend() with a
GString
2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
* server-src/diskfile.c: xml_optionstr(): replace vstrextend() with a
GPtrArray and a GString
2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
* server-src/diskfile.c: optionstr(): replace vstrextend() with a
GPtrArray
2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
* server-src/amindexd.c: main(): replace vstrextend() with a GString
2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
* server-src/amcheck.c: start_host(): replace vstrextend() with a
GString
2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
* recover-src/extract_list.c: read_amidxtaped_data(): replace
vstrextend() with g_strdup_printf()
2011-06-07 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/amgtar.c: Do not check optarg, we know it is not null
* common-src/conffile.c: Do not check key_ovr, we know it is not null
2011-06-06 Satya Ganga <gsat@zmanda.com>
* perl/Amanda/Application/Zfs.pm: Use correct device name, we have to
use user provided Disk device name.
2011-06-06 Jean-Louis Martineau <martineau@zmanda.com>
* client-src/rundump.c: Fix cast of g_ptr_array_free to (gchar **).
2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
* common-src/util.c: remove usage of vstrextend() by using a GString. No
choice here, we have to peek into the GPtrArray.
2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
* common-src/tapelist.c: remove usages of vstrextend() with a
GPtrArray/GString combination
2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
* common-src/pipespawn.c: remove usage of vstrextend() with a GPtrArray
2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
* common-src/fileheader.c: remove usage of vstrextend() with a GPtrArray
2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
* common-src/conffile.c: replace the third and final usage of vstrextend()
in exinclude_display_str()
2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
* common-src/conffile.c: replace the second usage of vstrextend() in
proplist_display_str_foreach_fn() using a GPtrArray
2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
* common-src/conffile.c: replace one usage of vstrextend() in
val_t_display_strs() with a GString
2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
* common-src/amservice.c: use a GString in replacement of vstrextend()
2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
* server-src/planner.c: use a GPtrArray to collect client estimate
strings
2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
* server-src/planner.c: shortcut when no client estimates are to be done
- one less indendation level
2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
* server-src/planner.c: get text-based estimate string generation out of
getsize()
2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
* server-src/planner.c: remove variables qname and qdevice
2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
* server-src/planner.c: push down variables qname and qdevice
2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
* server-src/planner.c: use the previously create GString all along to
append to the request
2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
* server-src/planner.c: check for the number of estimates available
rather than the string concatenation of them
2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
* server-src/planner.c: push up optionstr() check
2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
* server-src/planner.c: rework DLE estimate string generation in the non
XML case
2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
* server-src/planner.c: extripate XML DLE estimate generation out of
getsize() into a new helper function
2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
* client-src/sendsize.c: remove the second usage of vstrextend() by
using g_ptr_array_free(..., FALSE) and g_strjoinv() on an existing
GPtrArray; avoid accessing its ->ptr member: you shouldn't do that
2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
* client-src/sendsize.c: remove one usage of vstrextend() by using
g_ptr_array_free(..., FALSE) and g_strjoinv() on an existing GPtrArray;
avoid accessing its ->ptr member: you shouldn't do that
2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
* client-src/selfcheck.c: build the command line using a GPtrArray
instead of vstrextend(); don't peek into the original GPtrArray
2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
* client-src/runtar.c: build the command line using a GPtrArray
instead of vstrextend()
2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
* client-src/rundump.c: build the command line using a GPtrArray
instead of vstrextend()
2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
* client-src/client_util.c: don't peek into the GPtrArray directly, but
use g_ptr_array_free(..., FALSE) and g_strjoinv() instead; this
removes a usage of vstrextend()
2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
* application-src/amgtar.c: use a GString to build the error buffer
instead of vstrextend()
2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
* amandad-src/amandad.c: replace vstrextend() usage by using a GString
2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
* server-src/planner.c: variable renaming and type change: "time_t
estimates" is now "int total_estimates"; new local variable
"estimates_for_client" as placeholder for "i" when appropriate
2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
* server-src/planner.c: use g_strdup_printf() instead of g_strjoin() to
build various strings; remove 4 local variables in the process
2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
* server-src/planner.c: write the beginning of a request using a GString
instead of using g_strjoin()
2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
* server-src/planner.c: deal with noop first, jump to a new label
"send", and reindent - one less indentation level
2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
* server-src/planner.c: Define nb_client, nb_server and has_* earlier.
This is a preparation for the next commit.
2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
* server-src/planner.c: remove two unused variables
2011-06-02 Francis Galiegue <fgaliegue@gmail.com>
* client-src/sendbackup-dump.c: fix compile error due to undeclared
tmpbuf, remove tmpbuf entirely
2011-06-02 Francis Galiegue <fgaliegue@gmail.com>
* Many files (12): remove unndeeded uses of the temporary variable
tmpbuf in the g_strdup_printf(e1, e2, ..., NULL) case
2011-06-02 Francis Galiegue <fgaliegue@gmail.com>
* Many files (15): remove unndeeded uses of the temporary variable
tmpbuf in the g_strconcat(e1, e2, ..., NULL) case
2011-06-02 Francis Galiegue <fgaliegue@gmail.com>
* Many files (14): remove unndeeded uses of the temporary variable
tmpbuf in the g_strconcat(e1, e2, NULL) case