forked from ArchiveTeam/wget-lua
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog-2014-12-10
21536 lines (13784 loc) · 667 KB
/
ChangeLog-2014-12-10
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
2014-12-11 Tim Ruehsen <[email protected]>
* src/Makefile.am: Support older versions of flex
2014-12-10 Tim Ruehsen <[email protected]>
* configure.ac: Check for pcre.h
2014-12-08 Giuseppe Scrivano <[email protected]>
* cfg.mk (local-checks-to-skip): Add sc_cast_of_argument_to_free.
2014-12-05 Tim Ruehsen <[email protected]>
* src/Makefile.am: Removed reference to cmpt.c
2014-12-05 Tim Ruehsen <[email protected]>
* configure.ac: Fix message for when GnuTLS has not been found.
2014-12-05 Tim Ruehsen <[email protected]>
* bootstrap.conf: Add modules fnmatch, memrchr, strcase, strptime,
strtoll, timegm
Remove module strcasecmp
Use module spawn-pipe instead of deprecated module pipe
2014-12-04 Darshit Shah <[email protected]>
* src/wget.h: Define MIX and MAX macros globally for all files
* src/gnutls.c, retr.c: Delete declaration of MIN macro
* src/http.c, progress.c: Delete declaration of MIN and MAX macros
2014-12-04 Darshit Shah <[email protected]>
* src/ftp.c (getftp): Remove a call to assert(1) and replace with error message.
Also fix indentation
2014-12-03 Jérémie Courrèges-Anglas <[email protected]> (tiny change)
* src/openssl.c (ssl_init): Allow pfs to be used with protocols other than
TLSv1.
2014-12-03 Gisle Vanem <[email protected]>
* src/openssl.c (ssl_init): Fix C89 warning
2014-12-03 Gisle Vanem <[email protected]>
* src/mswindows.c (ws_cleanup): Fix compiler error
2014-12-01 Tim Ruehsen <[email protected]>
* src/connect.c, iri.c, url.c, warc.c: Fix issues reported
by static code analysis tool 'parfait'.
Closes: #41235
Reported-by: Jiri Kukacka
2014-11-29 Tim Ruehsen <[email protected]>
* src/utils.h: xfree() sets argument to NULL after freeing,
removed xfree_null()
* src/connect.c, cookies.c, ftp-basic.c, ftp-ls.c, ftp.c hash.c,
host.c, html-url.c, http.c, init.c, iri.c, log.c, main.c,
mswindows.c, netrc.c, openssl.c, recur.c, res.c, retr.c,
url.c, warc.c: Replaced xfree_null() by xfree()
2014-11-28 Tim Ruehsen <[email protected]>
* src/main.c: Fix length of program_argstring,
fix regression introduced with commit
9217b864d865cf1766e1589d138c8fc17d3d3d5c.
2014-11-28 Tim Ruehsen <[email protected]>
* src/gettext.h: Removed this file
* src/wget.h: Do not include gettext.h, include libintl.h directly,
define _() as gettext() shortcut.
The header file gettext.h is simply not needed.
2014-11-28 Tim Ruehsen <[email protected]>
* src/Makefile.am: Removed gettext.h
2014-11-27 Darshit Shah <[email protected]>
* src/cookies.c, gettext.h, init.c, retr.c, url.c, warc.c: Replace usage of
free() with xfree() macro.
2014-11-26 Tim Ruehsen <[email protected]>
* tests/HTTPServer.pm: Substitue server port in HTTP headers
This allows us to use references like
"Location" => "http://localhost:{{port}}/whatever
in test cases.
2014-11-26 Tim Ruehsen <[email protected]>
* testenv/Makefile.am: Removed Test-auth-both.py from XFAIL_TESTS
2014-11-26 Tim Ruehsen <[email protected]>
* src/recur.c: Fix blacklisting of URLs to download
Fixes a reported crash and prevents multiple downloads of the
same file in case the URL is escaped in different ways.
The crash has been
Reported-by: Frédéric <[email protected]>
2014-11-26 Tim Ruehsen <[email protected]>
* src/recur.c: Add space after function names
2014-11-26 Tim Ruehsen <[email protected]>
* src/http.c: Select strongest challenge from WWW-Authenticate,
support multiple challenges per header line.
2014-11-26 Tim Ruehsen <[email protected]>
* src/gnutls.c (ssl_connect_wget): Implement missing code for
--secure-protocol=TLSv1_1|TLSv1_2, print message before abort()
for missing protocol implementations.
* src/openssl.c (ssl_init): Print message before abort() for
missing protocol implementations.
2014-11-26 Giuseppe Scrivano <[email protected]>
* testenv/Makefile.am (TESTS): Add Test-redirect-crash.py.
* testenv/Test-redirect-crash.py: New File.
2014-11-25 Pär Karlsson <[email protected]>
* src/Makefile.am: Added missing version.h to wget_SOURCES
2014-11-25 Darshit Shah <[email protected]>
* bootstrap.conf: Add flex as a prerequisite to building Wget from the
repository sources
2014-11-24 Tim Ruehsen <[email protected]>
* src/wget.h, test.c, main.c: Make program_name and program_argstring const
2014-11-24 Tim Ruehsen <[email protected]>
* src/warc.c: Fix C89 compile errors using ./configure --without-libuuid
2014-11-24 Tim Ruehsen <[email protected]>
* src/warc.c, warc.h, http.c: Add size of buffer to warc_timestamp()
2014-11-24 Tim Ruehsen <[email protected]>
* src/retrc.c: Fix possibly uninitialized variable
2014-11-22 Darshit Shah <[email protected]>
* src/wget.h: Make extern declaration for program_name
2014-11-22 Darshit Shah <[email protected]>
* src/wget.h: Make extern declaration for program_argstring.
* src/warc.c: Remove extern declaration
* src/test.c: Make program_argstring a char *, instead of const char *.
2014-11-22 Darshit Shah <[email protected]>
* src/version.h: New file. Add extern declarations for globally shared strings
* src/Makefile.am: Have version.c import version.h
* src/main.c: Import version.h and remove old extern declarations
* src/http.c: Same
* src/warc.c: Same
2014-11-22 Darshit Shah <[email protected]>
* src/version.h: Add extern for compilation_string
* src/main: Remove declaration for compilation_String
2014-11-22 Darshit Shah <[email protected]>
* src/utils.c (abort_run_with_timeout): The sig parameter is not used. Mark it
as such.
(abort_run_with_timeout): One implementation of this function did not
specify _Noreturn. Add it.
2014-11-22 Darshit Shah <[email protected]>
* src/retr.h: Declare extern variable numurls
* src/http.c: Remove extern declaration for numurls
* src/ftp.c: Same
2014-11-22 Darshit Shah <[email protected]>
* src/hosts.c (address_list_set_faulty): Add a helpful error message for when a
logical assumption fails
2014-11-22 Darshit Shah <[email protected]>
* src/cookies.c (discard_matching_cookie): Replace defensive assert with a
logical check and error message
2014-11-22 Darshit Shah <[email protected]>
* build-aux/build_info.pl: Include version.h in the final C file generated
by the script.
2014-11-21 Tim Ruehsen <[email protected]>
* testenv/server/http/http_server.py: Fixed typo Blackisted to Blacklisted
2014-11-21 Daniel Stenberg <[email protected]>
* src/iri.c (remote_to_utf8): Fix compiler warning
2014-11-20 Tim Ruehsen <[email protected]>
* src/progress.c: Fix code for undefined USE_NLS_PROGRESS_BAR
Reported-by: Gisle Vanem
2014-11-20 Tim Ruehsen <[email protected]>
* src/cookies.c, ftp-basic.c, ftp-ls.c, ftp.c, html-url.c,
http.c, init.c, iri.c, main.c, progress.c, res.c, url.c,
utils.c, wget.h: Replaced strcasecmp and strncasecmp by
c_strcasecmp and c_strncasecmp where only ASCII string
comparison is wanted (instead of locale dependent).
Fixes possible issues with Wget running in a turkish locale.
2014-11-20 Tim Ruehsen <[email protected]>
* src/Removed form feeds (\014) from *.c and *.h
2014-11-20 Tim Ruehsen <[email protected]>
* configure.ac: Fix libpsl<0.6.0 detection
2014-11-20 Tim Ruehsen <[email protected]>
* NEWS: remove form feeds
2014-11-20 Tim Ruehsen <[email protected]>
* src/cookies.c, ftp-basic.c, ftp.c, gnutls.c, host.c,
html-url.c, http.c, main.c, progress.c, retr.c, warc.c:
Trivial fixes for C89 compliancy.
2014-11-20 Gisle Vanem <[email protected]>
* src/http.c (parse_content_disposition): Fix C89 issue found by MSVC 16
2014-11-20 Gisle Vanem <[email protected]>
* src/build_info.c.in: Assume large file for WINDOWS
2014-11-20 Darshit Shah <[email protected]>
* configure.ac: Use pkg-config for libpsl detection
config status for libpsl is reflected by $with_libpsl
2014-11-20 Darshit Shah <[email protected]>
* configure.ac: Use autoconf macros where available
2014-11-20 Darshit Shah <[email protected]>
* configure.ac: Change option to --enable-assert. Assertions are disabled by
default.
* NEWS: Edit to reflect default option.
* README.checkout: Document --enable-assert for developers
2014-11-20 Darshit Shah <[email protected]>
* configure.ac: Add the -Wextra flag when no CFLAGS are set
2014-11-20 Darshit Shah <[email protected]>
* .gitignore: po/stamp-po should be ignored
2014-11-19 Tim Ruehsen <[email protected]>
* configure.ac: Check for random()
2014-11-19 Tim Ruehsen <[email protected]>
* src/utils.c (random_float, random_number): Use random() and
srandom() if available.
Reported-by: Coverity scanner
2014-11-19 Tim Ruehsen <[email protected]>
* src/openssl.c (ssl_check_certificate): Fix memory leak
2014-11-19 Tim Ruehsen <[email protected]>
* src/gnutls.c (ssl_init): Report load failure of cert files from
cert directory only with --debug. Fixes #41331.
2014-11-19 Tim Ruehsen <[email protected]>
* src/ftp-basic.c (ftp_epsv): Fix loop check
Reported-by: Coverity scanner
2014-11-19 Darshit Shah <[email protected]>
* testenv/Test-504.py: Add new test case to show how Wget handles 504 Gateway
Timeouts
* testenv/Makefile.am: Add Test-504.py to TESTS
2014-11-19 Darshit Shah <[email protected]>
* src/utils.c (compile_posix_regex): Fix memory leak due to unfreed regex
pointer
2014-11-19 Darshit Shah <[email protected]>
* src/progress.c (create_image): Do not scroll filename if amount of scrolling
is less than MIN_SCROLL_TEXT
* src/retr.c (fd_read_body): Do not print the directory prefix in the progress
bar
2014-11-19 Darshit Shah <[email protected]>
* src/main.c (format_and_print_line): Fix potential memory leak
2014-11-19 Darshit Shah <[email protected]>
* src/exits.c (get_status_for_err): GATEWAYTIMEOUT is a Server Error and Wget's
exit code should reflect that
* src/wget.h: Add GATEWAYTIMEOUT as an error
* src/http.c (http_loop): Gateway timeout errors should be non-fatal
2014-11-18 Tim Ruehsen <[email protected]>
* src/Fix warnings from clang-analyzer 3.6
gnutls.c:457:3: warning: Value stored to 'err' is never read
err = 0;
http-ntlm.c:477:5: warning: Value stored to 'size' is never read
size = (size_t) snprintf (ntlmbuf, sizeof(ntlmbuf),
http.c:1479:3: warning: Attempt to free released memory
xfree_null (hs->error);
2014-11-17 Tim Ruehsen <[email protected]>
* testenv/server/http/http_server.py: allow case-insensitive auth-type,
send BasIc and DIgest to provoke Wget failures with turkish locales
2014-11-17 Tim Ruehsen <[email protected]>
* bootstrap.conf (gnulib_modules): Add module c-strcase
2014-11-17 Tim Ruehsen <[email protected]>
* src/main.c: code cleanup for redirect_output_signal()
2014-11-17 Tim Ruehsen <[email protected]>
* src/http.c: use c_strncasecmp() in BEGINS_WITH macro
and in STARTS macro
2014-11-17 Tim Ruehsen <[email protected]>
* src/ftp.h: removed unused variable ftp_last_respline
* src/init.c, test.c, warc.c: removed 'make check'compiler warnings
2014-11-16 Tom Li <[email protected]>
* src/progress.c (create_image): Ensure that the last character of the filename
is scrolled to
2014-11-16 Darshit Shah <[email protected]>
* po/stamp-po: Remove autogenerated file from checked out sources
2014-11-16 Darshit Shah <[email protected]>
* gnulib: Update submodule
* bootstrap: Update script from latest gnulib
2014-11-16 Darshit Shah <[email protected]>
* .gitignore: Sort gitignore file based on directories
2014-11-15 Darshit Shah <[email protected]>
* testenv/certs/README: Remove trailing whitespaces
2014-11-15 Darshit Shah <[email protected]>
* src/progress.c (create_image): Fix assertion that checks progress bar length
Should fix bug #43593
2014-11-15 Darshit Shah <[email protected]>
* configure.ac: Add AC_HEADER_ASSERT. Enables --disable-assert option
2014-11-12 Witchakorn Kamolpornwijit <[email protected]> (tiny change)
* src/html-parse.c (map_html_tags): Fix range check
2014-11-12 Tim Ruehsen <[email protected]>
* src/openssl.c (ssl_init): Fix error handling for CRL loading
2014-11-11 Tim Ruehsen <[email protected]>
* testenv/recreated the certs and the CRL file, also amended certs/README
2014-11-11 Tim Ruehsen <[email protected]>
* src/openssl.c (ssl_init): Load CRL file given by --crl-file
2014-11-11 Tim Ruehsen <[email protected]>
* src/main.c: Fix missing _Noreturn declaration specifiers
Reported-by: Gisle Vanem <[email protected]>
2014-11-11 Tim Ruehsen <[email protected]>
* src/http.c (gethttp): Always add Accept-Encoding: identity
Fixes bug #40819
Reported-by: Noël Köthe <[email protected]>
2014-11-10 Tim Ruehsen <[email protected]>
* testenv/removed certs/wget-cert.pem
* testenv/added certs/ca-cert.pem, certs/ca-key.pem, certs/server-cert.pem,
certs/server-key.pem and certs/server-crl.pem
* testenv/added certs/README for description how to generate the certs and keys
* testenv/server/http/http_server.py: amended to work with new certs/ files
* testenv/added Test--https-crl.py to test --crl-file
* testenv/Makefile.am: added Test--https-crl.py
* testenv/Test--https.py: use --ca-certificate of --no-check-certificates
2014-11-10 Tim Ruehsen <[email protected]>
* src/openssl.c: Fix compile-time check for TLSv1.1 and TLSv1.2
Reported-by: Velemas Vosak <[email protected]>
2014-11-09 Darshit Shah <[email protected]>
* src/http.c (gethttps): Honour keep-alive when server responds with a 416 Range
not Satisfiable
2014-11-09 Darshit Shah <[email protected]>
* src/http.c (gethttp): Remove redundant condition evaluation
2014-11-06 Tim Ruehsen <[email protected]>
* src/init.c, main.c, options.h: added new option --crl-file
for specifying a CRL (Certificate Revocation List) file.
* src/gnutls.c: load CRL file given by --crl-file
Reported-by: Noël Köthe <[email protected]>
2014-11-06 Tim Ruehsen <[email protected]>
* doc/wget.texi: added description for --crl-file
2014-11-05 Tim Ruehsen <[email protected]>
* tests/Test-stdouterr.px: fix skip exit code to 77
2014-11-05 Tim Ruehsen <[email protected]>
* tests/Makefile.am: added $(LIB_CLOCK_GETTIME) to unit test linkage
Reported-by: [email protected]
2014-11-05 Tim Ruehsen <[email protected]>
* configure.ac: check for python3
* Makefile.am: only use python test suite if python3 found
2014-11-05 Giuseppe Scrivano <[email protected]>
* contrib/tsocked-wget (TSOCKS_CONF_FILE): Remove empty new-line.
2014-11-04 Tim Ruehsen <[email protected]>
* src/iri.c (do_conversion): fix quote() misuse
* src/iri.c (remote_to_utf8): fix segfault on do_conversion() error
Reported-by: Mikael Magnusson <[email protected]>
2014-11-04 Darshit Shah <[email protected]>
* README.checkout: Bootstrap script is ./bootstrap not ./bootstrap.sh
2014-11-03 Tim Ruehsen <[email protected]>
* tests/added new test Test-proxied-https-auth-keepalive.px
2014-11-03 Tim Ruehsen <[email protected]>
* tests/Test-proxied-https-auth.px: add valgrind support,
sync parent / child (client / server)
2014-11-03 Tim Ruehsen <[email protected]>
* src/log.c: turn on automatic format check for log_vprintf_internal()
2014-11-03 Pär Karlsson <[email protected]>
* tests/WgetFeature.pm: Fixed finding of WgetFeature.cfg when using separate
build dirs.
* tests/WgetFeature.pm: Fixed warning from BLOCK eval, made it indo EXPR eval
2014-11-03 Jakub Čajka <[email protected]>
* src/iri.c (remote_to_utf8): Fixed assumption that char is signed. Fixes
fellowing test case failures idn-cmd-utf8, idn-robots-utf8, if char is
unsigned.
2014-11-01 Mike Frysinger <[email protected]>
* configure.ac: Use pkg-config to check for zlib presence and
fallback to the previous code if that doesn't work.
* configure.ac: Use pkg-config to check for libuuid presence and
fallback to the previous code if that doesn't work.
* configure.ac: Use pkg-config to check for pcre presence and
fallback to the previous code if that doesn't work.
* configure.ac: Use pkg-config to check for openssl presence and
fallback to the previous code if that doesn't work.
* configure.ac: Use pkg-config to check for gnutls presence and
fallback to the previous code if that doesn't work.
2014-11-01 Giuseppe Scrivano <[email protected]>
* src/http.c (gethttp): Do not check for "Connection: close" header
only when the Content-Length is specified.
2014-11-01 Darshit Shah <[email protected]>
* src/progress.c (create_image): Extra padding for size_grouped_diff has already
been added. Do not add that again.
(create_image): Assert that the progress bar being drawn is lesser than the
size of the screen.
2014-11-01 Darshit Shah <[email protected]>
* configure.ac: Fix check for libpsl
2014-10-31 Tim Ruehsen <[email protected]>
* src/openssl.c: make _get_rfc2253_formatted() static
2014-10-31 Pär Karlsson <[email protected]>
* tests/WgetTests.pm: Proper conditional operators, tidied up code, idiomatic
improvements as per modern Perl best practices.
* tests/WgetFeature.pm: Tidied up code, idiomatic improvements for readability
* tests/FTPServer.pm: Tidied up code (perltidy -gnu)
* tests/FTPTest.pm: Likewise
* tests/HTTPServer.pm: Likewise
* tests/HTTPTest.pm: Likewise
2014-10-30 Mike Frysinger <[email protected]>
* tests/WgetFeature.pm: fix skip exit code to 77
2014-10-30 Mike Frysinger <[email protected]>
* src/openssl.c: fix implicit decl warning
2014-10-29 Tim Ruehsen <[email protected]>
* src/openssl.c: print cert subject and issuer RFC2253 compliant
* src/openssl.c (ssl_check_certificate): removed memory leak
2014-10-29 Tim Ruehsen <[email protected]>
* src/http.c (gethttp): use CLOSE_INVALIDATE instead of fd_close
2014-10-29 Tim Ruehsen <[email protected]>
* src/http.c (gethttp): fix memory leak
2014-10-29 Tim Ruehsen <[email protected]>
* src/http.c (CLOSE_FINISH): always set fd invalid after close
2014-10-29 Peter Meiser <[email protected]> (tiny change)
* src/openssl.c (ssl_init) [! OPENSSL_NO_SSL3]: Add guard for OpenSSL
without SSLv3.
2014-10-28 Tim Ruehsen <[email protected]>
* tests/Test-proxied-https-auth.px: synchronize client and server
2014-10-28 Tim Ruehsen <[email protected]>
* configure.ac: check for strlcpy()
2014-10-28 Tim Ruehsen <[email protected]>
* configure.ac: add --enable-valgrind-tests
2014-10-28 Tim Ruehsen <[email protected]>
* src/utils.c: added strlcpy(), concat_strings() rewritten
* src/utils.h: added strlcpy()
2014-10-28 Tim Ruehsen <[email protected]>
* src/ftp.c (ftp_loop_internal): Fix memory leak
* src/http.c (gethttp): Fix two memory leaks
* src/init.c (cleanup): Fix compile errors and warnings
* src/init.c (cleanup): Free more opt variables
* src/main.c (main): Fix two memory leaks
* src/retr.c (retrieve_url): Fix two memory leaks
* src/retr.c (retrieve_url): Add iri to call to url_parse()
* src/url.c (url_parse): Fix memory leak
2014-10-28 Giuseppe Scrivano <[email protected]>
* tests/Makefile.am: Replace $FOO with @VAR@.
2014-10-28 Giuseppe Scrivano <[email protected]>
* src/Makefile.am: Replace $FOO with @VAR@.
2014-10-28 Giuseppe Scrivano <[email protected]>
* doc/Makefile.am: Replace $FOO with @VAR@.
2014-10-28 Giuseppe Scrivano <[email protected]>
* cfg.mk (local-checks-to-skip): Add sc_makefile_at_at_check.
* Makefile.am: Replace $FOO with @VAR@.
2014-10-25 Tim Ruehsen <[email protected]>
* tests/WgetTests.pm (run): generate valgrind command line if requested
* tests/Makefile.am: set/export VALGRIND_TESTS
2014-10-25 Tim Ruehsen <[email protected]>
* testenv/test/base_test.py (gen_cmd_line): generate valgrind command line if requested
* testenv/README: amend description of VALGRIND_TESTS
* testenv/Makefile.am: set/export VALGRIND_TESTS
2014-10-22 Ángel González <[email protected]>
* src/css-url.c (get_uri_string): Honor the specified length argument.
2014-10-21 Matthew Atkinson <[email protected]> (tiny change)
* src/http.c (gethttp): Always send Content-Length header when method is POST,
PUT, or PATCH even with no post body, as some servers will reject the
request otherwise.
2014-10-16 Tim Ruehsen <[email protected]>
* src/url.c (url_parse): little code cleanup
* src/html-url.c (get_urls_html): HTTP header Content-Type charset preceeds http-equiv
* src/iri.c (do_conversion): moved iconv code completely into the function
* src/iri.c (do_conversion): call url_unescape to fix charset conversion
* src/iri.c (remote_to_utf8): use strcasecmp to compare encoding
* src/gnutls.c (ssl_connect_wget): do not use SSLv3 except explicitely requested
* src/openssl.c (ssl_init): do not use SSLv3 except explicitely requested
2014-10-16 Tim Ruehsen <[email protected]>
* doc/wget.texi (Download Options): update --secure-protocol description
2014-10-08 Nikolay Morozov <[email protected]>
Sergey Lvov <[email protected]>
* src/init.c (cmd_spec_secure_protocol): Add support for
TLS v1.1 and TLS v1.2 protocols
* src/openssl.c (ssl_init): Add support for OpenSSL engines
2014-10-08 Darshit Shah <[email protected]>
* testenv/Makefile.am: Fix EXTRA_DIST variable for make distcheck
* testenv/server/http/http_server.py (HTTPServer.__init__): Fix how CERTFILE is
found when running make dist / make distcheck.
2014-10-06 Tim Ruehsen <[email protected]>
* tests/Test-iri.px: fixed encodings
* tests/Test-iri-forced-remote.px: fixed encodings
* tests/Test-iri-percent.px: fixed encodings
* tests/Test-idn-meta.px: fixed encodings
2014-10-02 Tim Ruehsen <[email protected]>
* tests/tests/WgetTests.pm: use filename as default test name
* tests/tests/Test-*.px: removed redundant 'name => ...'
2014-10-01 Tim Ruehsen <[email protected]>
* tests/tests/Makefile.am: remove run-px, fixing dist-check
2014-10-01 Tim Ruehsen <[email protected]>
* tests/Test--post-file.px: name => "Test--post-file", fixing race
condition.
* tests/Test-N-no-info.px: name => "Test-N-no-info", fixing race
condition.
* tests/Test-N-smaller.px: name => "Test-N-smaller", fixing race
condition.
* tests/Test-c-shorter.px: name => "Test-c-shorter", fixing race
condition.
* tests/Test-proxy-auth-basic.px: name => "Test-proxy-auth-basic",
fixing race condition.
* tests/Test-proxied-https-auth.px: removed debug print line.
2014-10-01 Darshit Shah <[email protected]>
* testenv/Makefile.am: Run the tests in Python's Optimizedmode
* testenv/conf/__init__.py (gen_hook): Use try..except instead of if..else
* testenv/misc/color_terminal.py: System and check will not change while a test is
run. Do not test for them on every invocation of printer()
* testenv/server/http/http_server.py: The ssl and re modules are required by
specific functions. Load them lazily
(HTTPSServer.__init__): Lazy load ssl module here
(_handler.parse_range_header): Lazy load re module here
(_Handler.get_rule_list): get() can return a default value. Use it
(_Handler.guess_type): Same
(_Handler.is_authorized): Unused function artefact. Remove
(_Handler.reject_headers): Unused function artefact. Remove
2014-09-30 Tim Ruehsen <[email protected]>
* testenv/test/base_test.py: Add --track-origins=yes to valgrind testing
2014-09-25 Tim Ruehsen <[email protected]>
* tests/Makefile.am: Modified to use parallel test harness
* tests/Test-proxied-https-auth.px: get $top_srcdir from ENV
* tests/run-px: removed
* tests/WgetTest.pm.in: removed
* tests/WgetTest.pm: get $top_srcdir from ENV
2014-09-25 Tim Ruehsen <[email protected]>
* configure.ac: removed WgetTest.pm.in
* .gitignore: removed WgetTest.pm
2014-09-12 Darshit Shah <[email protected]>
* bootstrap.conf: Add GNULib module mbiter
2014-09-08 Darshit Shah <[email protected]>
* src/init.c (defaults): Set retr-symlinks to true by default. This changes a
default setting of wget. Fixes security bug CVE-2014-4877
2014-09-08 Darshit Shah <[email protected]>
* src/ftp.c (ftp_retrieve_glob): Also check for invalid entries along with
harmful filenames
(is_valid_entry): New function. Check if the provided node is a valid entry
in a listing file.
2014-09-08 Darshit Shah <[email protected]>
* doc/wget.texi (symbolic links): Update documentation of retr-symlinks to
reflect the new default. Add warning about potential security issues with
--retr-symlinks=yes.
2014-08-08 Darshit Shah <[email protected]>
* testenv/conf/__init__.py: Add extra newline according to PEP8
* testenv/conf/{authentication,expect_header,expected_files,expected_ret_code,
files_crawled,hook_sample,local_files,reject_header,response,send_header,
server_files,urls,wget_commands}.py: Add docstrings explaining the conf file
and how it should be used
* testenv/server/http/http_server (InvalidRangeHeader): Clear TODO and eliminate
this exception. Use ServerError for all such purposes.
(_Handler): Remove reference to InvalidRangeHeader
(_handler.parse_range_header): User ServerError instead of InvalidRangeHeader
(_Handler.do_GET): Add docstring
(_Handler.do_POST): Add docstring. Also create an empty dict for rules if
no rules are supplied. Send the Location header as suggested in RFC 7231
(_Handler.do_PUT): Don't pop the server file already. Push it to later in ..
(_Handler.send_put): .. Here. If the file exists respond with a 204 No
Content message and pop the file for replacement. Do not send the
Content-Length, Content-Type headers since PUT requests should not respond
with data.
(_Handler.parse_auth_header): Fit line within 80 chars
(_Handler.check_response): Better visual indent
(_Handler.authorize_digest): Better visual indent.
(_Handler.expect_headers): Remove unused function
(_Handler.guess_type): Fix indentation
(HTTPd): Add newline according to PEP8 guidelines
(HTTPSd): Fix indentation
(StoppableHTTPServer): Add docstring
(HTTPSServer): Fix indentation
(WgetHTTPRequestHandler): Merge class into _handler.
(_Handler): Add docstring
(_Handler.parse_range_header): Fix indentation
(ServerError): Split exception into separate file ...
* testenv/exc/server_error.py: ... Here
* testenv/misc/colour_terminal.py: Add docstring, fix indentation
* testenv/test/base_test.py: Fix visual indent
* testenv/test/http_test.py: Fit within 80 char lines
2014-08-04 Darshit Shah <[email protected]>
* testenv/conf/server_conf.py: Delete file. Server configuration is now done via the
server_conf() method.
* testenv/server/http/http_server.py (StppableHTTPServer.server_sett): Delete
method required by the above hook
(HTTPd.server_sett): Same
2014-08-03 Giuseppe Scrivano <[email protected]>
* doc/wget.texi (Download Options): Fix texinfo warning.
2014-07-28 Ángel González <[email protected]>
* contrib: Created contrib folder.
* contrib/tsocked-wget: Added wrapper for usage with socks proxy.
2014-07-26 Darshit Shah <[email protected]>
* testenv/Test-*.py: Remove the '-d' switch from WGET_OPTIONS.
* testenv/test/base_test (BaseTest.gen_cmd_line): Add --debug and --no-config to the
list of switches passed to wget unconditionally.
2014-07-25 Darshit Shah <[email protected]>
* .gitignore: Add a gitignore file for the project.
2014-07-23 Darshit Shah <[email protected]>
* testenv/test/base_test.py (BaseTest.gen_cmd_line): Add support for running all
tests through valgrind if the relevant environment variable is set
* testenv/conf/expected_ret_code (ExpectedRetCode.__call__): Valgrind returns error
code 45 when it detects a memory leak.
* testenv/Readme: Update with details about valgrind tests
2014-07-23 Darshit Shah <[email protected]>
* src/http.c (gethttp): Fix a memory leak when retrying authorization
(gethttp): Fix memory leak when trying to parse content disposition headers
(http_loop): Assigning a new value to *local)file without freeing the old
one causes a memory leak
(http_loop): Free the HTTP message and error strings before continuing loop
2014-07-22 Darshit Shah <[email protected]>
* testenv/(README): Remove old TODO and document SERVER_WAIT variable
2014-07-22 Darshit Shah <[email protected]>
* configure.ac: Fix broken code for detecting libpsl
2014-07-21 Darshit Shah <[email protected]>
* src/cookies.c (check_domain_match): Fix a potential memory leak when checking
cookie domain names
2014-07-21 Darshit Shah <[email protected]>
* configure.ac: Fix check for Libpsl
2014-07-21 Daniel Stenberg <[email protected]>
* src/main.c (print_help): HTTP Method is a part of the Request not Header
2014-07-07 Tomas Hozza <[email protected]>
* src/iri.c (locale_to_utf8): Fix checking of iconv_open return code.
2014-07-05 Darshit Shah <[email protected]>
* src/http.c (gethttp): Fix indentation of conditional block
(gethttp): Remove unneeded variable
2014-07-05 Darshit Shah <[email protected]>
* src/cookies.c (check_domain_match): Libpsl requires that all domain names
passed to it be in utf8 lower case.
2014-07-03 Darshit Shah <[email protected]>
* src/wget.h (uerr_t): Remove unused error codes
* src/http.c: (http_loop): Remove reference to unused error code
2014-06-30 Giuseppe Scrivano <[email protected]>
* src/convert.c (local_quote_string): Initialize newname.
2014-06-29 Giuseppe Scrivano <[email protected]>
* src/warc.c (warc_write_date_header): Avoid out-of-scope variable usage.
2014-06-28 Giuseppe Scrivano <[email protected]>
* src/Makefile.am (wget_SOURCES): Remove space-tab indentation.
2014-06-28 Giuseppe Scrivano <[email protected]>
* cfg.mk (local-checks-to-skip): Remove some checks.
2014-06-27 Giuseppe Scrivano <[email protected]>
* cfg.mk (VC_LIST_ALWAYS_EXCLUDE_REGEX): Ignore msdos/* and vms/* from
syntax-check.
2014-06-22 Giuseppe Scrivano <[email protected]>
* src/warc.c [HAVE_UUID_CREATE]: Include <uuid.h>
(warc_uuid_str) [HAVE_UUID_CREATE]: Use uuid_create and
uuid_to_string to generate the UUID.
Reported by: Alex Zimnitsky <[email protected]>
2014-06-22 Giuseppe Scrivano <[email protected]>
* configure.ac: Add check for uuid_create.
2014-06-22 Darshit Shah <[email protected]> (tiny change)
* src/progress.c (create_image): Align percentage download output better.
2014-06-22 Darshit Shah <[email protected]>
* testenv/(conf.files_crawled): diff is a set object and needs explicit str
conversion.
2014-06-21 Nikita Vetrov <[email protected]> (tiny change)
* src/openssl.c: Add one-time call OPENSSL_config in ssl_init.
2014-06-21 Giuseppe Scrivano <[email protected]>
* src/mswindows.c (fake_fork_child): Fix build error.
Reported by: Gisle Vanem <[email protected]>.
2014-06-19 Giuseppe Scrivano <[email protected]>
* src/mswindows.c (fake_fork_child): Revert dinamic allocation of
info->lfilename.
Reported by: Gisle Vanem <[email protected]>.
2014-06-16 Giuseppe Scrivano <[email protected]>
* src/http.c (gethttp): Set "Connection: Keep-Alive" with keep-alive
connections when using a proxy too.
Reported by: Thorsten Schroeteler <[email protected]>.
2014-06-16 Darshit Shah <[email protected]>
* src/test.c: Include locale.h header for gettext.
2014-06-16 Darshit Shah <[email protected]>
* src/main.c (print_help, print_version): Mark as noreturn.
* src/utils.c (memfatal, abort_run_with_timout): Same
2014-06-11 Giuseppe Scrivano <[email protected]>
* tests/Makefile.am: Remove @VAR@ with $FOO.
* tests/FTPTest.pm: Remove terminating empty lines.
* tests/HTTPServer.pm: Likewise.
* tests/HTTPTest.pm: Likewise.
* tests/Test--httpsonly-r.px: Likewise.
* tests/Test--no-content-disposition-trivial.px: Likewise.
* tests/Test--no-content-disposition.px: Likewise.
* tests/Test--spider-fail.px: Likewise.
* tests/Test--spider-r--no-content-disposition-trivial.px: Likewise.
* tests/Test--spider-r--no-content-disposition.px: Likewise.
* tests/Test--spider-r-HTTP-Content-Disposition.px: Likewise.
* tests/Test--spider-r.px: Likewise.
* tests/Test--spider.px: Likewise.
* tests/Test--start-pos--continue.px: Likewise.
* tests/Test--start-pos.px: Likewise.
* tests/Test-E-k-K.px: Likewise.
* tests/Test-E-k.px: Likewise.
* tests/Test-HTTP-Content-Disposition-1.px: Likewise.
* tests/Test-HTTP-Content-Disposition-2.px: Likewise.
* tests/Test-HTTP-Content-Disposition.px: Likewise.
* tests/Test-N--no-content-disposition-trivial.px: Likewise.
* tests/Test-N--no-content-disposition.px: Likewise.
* tests/Test-N-HTTP-Content-Disposition.px: Likewise.
* tests/Test-N-current.px: Likewise.
* tests/Test-N-no-info.px: Likewise.
* tests/Test-N-old.px: Likewise.
* tests/Test-N-smaller.px: Likewise.